/* v0.2 interaction, loading, and accessibility refinements */
@property --progress{syntax:'<percentage>';inherits:false;initial-value:0%}
.metrics{align-items:stretch}
.metric{height:100%;transition:transform .2s ease,box-shadow .2s ease}
.metric:hover{transform:translateY(-2px);box-shadow:0 9px 25px #1c345b12}
.metric strong{transition:opacity .2s ease,transform .2s ease}
.dash-grid{align-items:stretch}
.dash-grid>.panel{height:100%}
.track>div{animation:progress-in .55s ease-out both;transform-origin:right}
.quota-ring{transition:--progress .5s ease}
.live-indicator{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:5px 10px;border:1px solid #dbe6ef;border-radius:9px;background:#f8fbfd;color:#60748a;white-space:nowrap;font-size:11px}
.live-indicator i{width:7px;height:7px;border-radius:50%;background:#90a0b2;flex:none}
.live-indicator small{padding-right:7px;border-right:1px solid #dce5ed;color:#8795a6;font-size:9px}
.live-indicator.ok i{background:#1d9765;box-shadow:0 0 0 4px #1d976518;animation:live-pulse 1.8s ease-out infinite}
.live-indicator.error{border-color:#efcbd0;background:#fff7f8;color:#a13d4d}.live-indicator.error i{background:#ce4559}
.live-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-8px 0 16px;padding:10px 13px;border:1px solid #cfe2f2;border-radius:10px;background:#f3f9fe;color:#285d86;font-size:12px;animation:notice-in .2s ease-out}
.live-notice>span,.live-notice>div{display:flex;align-items:center;gap:8px}.live-notice .btn{min-height:34px;padding:5px 10px;font-size:11px}.live-notice .icon-btn{width:30px;height:30px;background:transparent}
.table-scroll tr.live-row-new td{animation:row-in .45s ease-out, row-highlight 2.6s ease-out}
.table-scroll td.live-field-updated{animation:field-highlight 2.6s ease-out}
.metric.metric-live strong,.counter-live{animation:counter-pop .45s ease-out}
.enrichment-cell{min-width:220px;max-width:320px;white-space:normal}.enrichment-cell small{display:block;color:#8491a2;font-size:9px;line-height:1.8;margin-top:2px;overflow-wrap:anywhere}.tag.enrichment.pending{background:#fff3d9;color:#906416}.tag.enrichment.retry{background:#fff3d9;color:#906416}.tag.enrichment.active{background:#eaf4ff;color:#1b67a3}.tag.enrichment.complete{background:#e7f7ed;color:#187b55}.tag.enrichment.incomplete{background:#eef2f6;color:#65758a}.tag.enrichment.error{background:#feecef;color:#b52d43}
.quota-live-meta{display:grid;gap:5px}.quota-live-meta>span{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}.worker-state i{width:7px;height:7px;border-radius:50%;background:#9aa7b6}.worker-state.online i{background:#1d9765;box-shadow:0 0 0 3px #1d976518}
.alert-box.temporary{border-color:#efd69e;background:#fffaf0;color:#835d15}.recovery-timer{display:grid;gap:10px}.recovery-timer-head{display:flex;align-items:flex-start;gap:10px}.recovery-timer-head svg{flex:none;margin-top:1px}.recovery-timer-head p{margin:4px 0 0;color:#8b6b35}.recovery-timer-value{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #efd69e;border-radius:9px;background:#fffdf7}.recovery-timer-value>span{font-size:11px}.recovery-timer-value .countdown{margin:0;font-size:28px}.recovery-timer-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#8b6b35;font-size:11px}.recovery-timer-meta b{color:#6f501b}
.modal:focus{outline:none}
.page-enter[aria-busy=true]{opacity:.72}
.table-skeleton{display:grid;gap:10px;padding:18px}
.table-skeleton i{display:block;height:42px;border-radius:8px;background:linear-gradient(90deg,#edf2f6,#f8fafc,#edf2f6);background-size:200% 100%;animation:loading 1.3s infinite}
.table-panel>.loading-line{height:132px;background:repeating-linear-gradient(180deg,#eef3f7 0,#eef3f7 36px,#fff 36px,#fff 46px);background-size:auto;animation:table-pulse 1.2s ease-in-out infinite;opacity:.7}
.table-panel>.loading-line+.table-scroll{opacity:.35}
@keyframes progress-in{from{transform:scaleX(.05);opacity:.4}to{transform:scaleX(1);opacity:1}}
@keyframes table-pulse{50%{opacity:.4}}
@keyframes live-pulse{50%{box-shadow:0 0 0 7px transparent}}
@keyframes notice-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@keyframes row-in{from{opacity:.25;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@keyframes row-highlight{0%,35%{background:#eaf7ff}to{background:transparent}}
@keyframes field-highlight{0%,35%{background:#fff0ad}to{background:transparent}}
@keyframes counter-pop{45%{transform:translateY(-2px);color:var(--primary)}}
.nav-counter{margin-inline-start:auto;min-width:24px;height:24px;padding:0 7px;border-radius:999px;display:inline-grid;place-items:center;background:#c43f48;color:#fff;font-size:10px;line-height:1;box-shadow:0 2px 7px #c43f4830}.restriction-notice{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;animation:notice-in .25s ease-out}.restriction-notice p{margin-bottom:0}.countdown{display:inline-block;margin-top:5px;font:700 22px Arial,sans-serif;letter-spacing:1px;color:#845b10}.schedule-preview{display:grid;gap:9px;padding:13px;border:1px solid var(--line);border-radius:10px;background:#f7fafc}.schedule-preview>strong{font-size:12px}.schedule-preview>div{display:flex;gap:7px;flex-wrap:wrap}.captcha-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}.captcha-stat{display:flex;align-items:center;gap:13px;padding:17px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:var(--shadow);animation:enter .25s ease-out}.captcha-stat>span{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;color:#b52d43;background:#feecef;flex:none}.captcha-stat div{min-width:0}.captcha-stat small,.captcha-stat p{display:block;color:var(--muted);font-size:10px}.captcha-stat strong{display:block;color:var(--text);font-size:24px;line-height:1.35}.captcha-safety{margin-bottom:18px}.restriction-list{display:grid;gap:13px}.restriction-card{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;border:1px solid #efc8ce;border-right:4px solid var(--danger);background:#fffafa;border-radius:12px;padding:14px;animation:enter .22s ease-out}.restriction-card.resolved{border-color:var(--line);border-right-color:#3a9d78;background:#fbfdfc}.restriction-shot-link{display:block;align-self:start}.restriction-shot{display:block;width:100%;aspect-ratio:16/10;object-fit:contain;border:1px solid var(--line);border-radius:9px;background:#eef2f6}.restriction-shot-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#8491a2;font-size:10px}.restriction-shot-empty svg{color:#9aabba}.restriction-content{min-width:0;display:grid;gap:10px}.restriction-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.restriction-content>p{font-size:12px;color:#5d6f84;margin:0}.restriction-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 16px}.restriction-meta>div{min-width:0}.restriction-meta dt{color:var(--muted);font-size:10px}.restriction-meta dd{margin:2px 0 0;font-size:11px;overflow-wrap:anywhere}.restriction-meta a{color:var(--primary);word-break:break-all}.restriction-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.restriction-history .restriction-card{opacity:.92}
.domain-cooldown-card{grid-template-columns:1fr}.domain-cooldown-card .countdown{margin:0;font-size:18px}
@media(max-width:720px){
 .btn,.icon-btn,.nav-item,.segments button,.row-actions .icon-btn,.pagination .btn,.pagination select{min-height:44px}
 .icon-btn,.row-actions .icon-btn{width:44px;height:44px}
 .check{min-height:44px}
 .modal-footer{flex-wrap:wrap}
 .modal-footer .btn{flex:1}
 .head-actions{width:100%}
 .head-actions .btn{flex:1}
 .head-actions .live-indicator{width:100%;justify-content:center;order:-1}
 .live-notice{align-items:flex-start;flex-direction:column}.live-notice>div{width:100%;justify-content:flex-end}
 .restriction-notice{align-items:stretch;flex-direction:column}.captcha-overview{grid-template-columns:1fr}.restriction-card{grid-template-columns:1fr}.restriction-shot-link,.restriction-shot-empty{max-width:320px}.restriction-meta{grid-template-columns:1fr}.restriction-actions{align-items:stretch;flex-direction:column}.restriction-actions .btn{width:100%}
}
@media(prefers-reduced-motion:reduce){.metric:hover{transform:none}.track>div,.live-indicator.ok i,.live-notice,.restriction-notice,.restriction-card,.table-scroll tr.live-row-new td,.table-scroll td.live-field-updated,.metric.metric-live strong,.counter-live{animation:none}.quota-ring{transition:none}}
.shop-table{table-layout:fixed;min-width:1140px}.shop-table th,.shop-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-table th:first-child,.shop-table td:first-child{width:44px}.shop-table th:nth-child(2),.shop-table td:nth-child(2){width:220px}.shop-table th:nth-child(3),.shop-table td:nth-child(3){width:130px}.shop-table th:nth-child(4),.shop-table td:nth-child(4){width:190px}.shop-table th:nth-child(5),.shop-table td:nth-child(5){width:140px}.shop-table th:nth-child(6),.shop-table td:nth-child(6){width:120px}.shop-table th:nth-child(7),.shop-table td:nth-child(7){width:235px;white-space:normal}.shop-table th:nth-child(8),.shop-table td:nth-child(8){width:100px}.shop-table th:nth-child(9),.shop-table td:nth-child(9){width:100px}.shop-table th:nth-child(10),.shop-table td:nth-child(10){width:100px}.shop-table th:last-child,.shop-table td:last-child{width:128px;position:sticky;left:0;z-index:2;background:#fff;box-shadow:-5px 0 9px #173c5d12}.shop-table tr:hover td:last-child,.shop-table tr.selected-row td:last-child{background:#f8fbfe}.shop-table .enrichment-cell{white-space:normal;line-height:1.7}.shop-table .enrichment-cell>small{display:block;max-width:210px;overflow:hidden;text-overflow:ellipsis}.row-error-details{font-size:10px;color:#9a5c19;cursor:pointer}.row-error-details summary{display:inline-block;color:#9a6a12}.row-error-details small{display:block;white-space:normal;overflow-wrap:anywhere}.shop-table td{padding-top:10px;padding-bottom:10px}@media(max-width:720px){.shop-table{min-width:1040px}.shop-table th:last-child,.shop-table td:last-child{position:static}.shop-table td{padding-top:9px;padding-bottom:9px}}
.date-input{position:relative}.date-input>svg{position:absolute;right:11px;top:13px;color:#7e8fa5;pointer-events:none}.date-input input{padding-right:36px;min-height:44px}
.shop-table{table-layout:fixed;width:1830px;min-width:100%;border-collapse:separate;border-spacing:0}.shop-table col.col-select{width:48px}.shop-table col.col-shop{width:245px}.shop-table col.col-phone{width:135px}.shop-table col.col-email{width:220px}.shop-table col.col-cms{width:112px}.shop-table col.col-location{width:190px}.shop-table col.col-method{width:112px}.shop-table col.col-enrichment{width:255px}.shop-table col.col-date{width:180px}.shop-table col.col-contact{width:125px}.shop-table col.col-export{width:105px}.shop-table col.col-actions{width:133px}.shop-table th,.shop-table td{height:58px;padding:10px 12px;vertical-align:middle;line-height:1.65}.shop-table th:first-child,.shop-table td:first-child{padding-right:12px;width:auto}.shop-table th:last-child,.shop-table td:last-child{width:auto;min-width:0;position:sticky;inset-inline-start:0;inset-inline-end:auto;left:auto;right:auto;z-index:3;background:#fff;box-shadow:-7px 0 12px #173c5d18}.shop-table thead th:last-child{z-index:5;background:#f7f9fc}.shop-table tr:hover td:last-child{background:#f8fbfe}.shop-table tr.selected-row td:last-child{background:#eaf4fd}.shop-table .shop-cell,.shop-table .location-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-table .shop-cell{min-width:0}.shop-table .shop-name{min-width:0}.shop-table .shop-name>div{min-width:0}.shop-table .shop-name strong,.shop-table .shop-name a,.shop-table .shop-name small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-table .location-cell{max-width:none}.shop-table .date-cell{white-space:nowrap;overflow:visible;text-overflow:clip;font-size:11px}.shop-table .table-date{display:inline-block;white-space:nowrap}.shop-table .enrichment-cell{white-space:normal;overflow:visible;line-height:1.55}.shop-table .enrichment-cell>small{max-width:100%;white-space:nowrap}.shop-table .tag{max-width:none;overflow:visible;text-overflow:clip}.shop-table .row-actions{display:flex;flex-wrap:nowrap!important;align-items:center;justify-content:flex-start;gap:6px;white-space:nowrap;min-width:108px}.shop-table .row-actions .icon-btn{flex:0 0 32px}.shop-table .row-error-details{max-width:100%}@media(max-width:720px){.shop-table{width:1830px;min-width:1830px}.shop-table th,.shop-table td{height:56px;padding:9px 10px}.shop-table th:last-child,.shop-table td:last-child{position:sticky;inset-inline-start:0;left:auto;right:auto}.shop-table .date-cell{font-size:10px}}
.service-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 22px 16px}.service-status-card{min-width:0;padding:11px 12px;border:1px solid var(--line);background:#f8fafc;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:8px}.service-status-card>span:first-child{font-size:11px;color:var(--muted)}.service-status-card>.status{font-size:10px;padding:4px 7px}.service-status-card>strong{font-size:18px;color:var(--primary);font-variant-numeric:tabular-nums}.scraper-status-grid{margin:0 0 18px}.scraper-status-grid+.control-progress{margin-top:0}@media(max-width:720px){.service-status-grid{grid-template-columns:1fr;margin:0 15px 14px}.scraper-status-grid{margin:0 0 15px}.service-status-card{padding:10px}}
.shop-table th,.shop-table td{overflow:visible;text-overflow:clip}
.shop-table .shop-cell,.shop-table .location-cell{overflow:hidden;text-overflow:ellipsis}
.shop-table .tag{white-space:nowrap;line-height:1.5}
/* In RTL the final actions column is physically on the left; keep it visible while the table scrolls. */
.shop-table th:last-child,.shop-table td:last-child{inset-inline-start:auto;inset-inline-end:auto;left:0;right:auto}
@media(max-width:720px){.shop-table th:last-child,.shop-table td:last-child{left:0;right:auto}}
html,body{overflow-x:hidden}
#root,.app-shell{overflow-x:clip}
@media(max-width:720px){body{min-width:0}}
.manual-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.manual-filter{display:flex;align-items:end;gap:10px;margin-bottom:14px}.manual-filter .field{min-width:240px}.progress-track{height:9px;border-radius:99px;background:#e9eef4;overflow:hidden;margin:18px 0 2px}.progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2675b9,#4ba3d5);transition:width .35s ease}.stats-grid.compact{grid-template-columns:repeat(5,minmax(0,1fr))}.stats-grid.compact .stat-card{min-height:76px}@media(max-width:720px){.manual-filter{align-items:stretch;flex-direction:column}.manual-filter .field{min-width:0}.stats-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}}
