:root{font-family:Inter,"Segoe UI","Microsoft YaHei",Arial,sans-serif;color:#202124;background:#f5f6f8;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100vh;font-size:13px}.hidden{display:none!important}
button,input{font:inherit}.admin-topbar{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,4vw);border-bottom:1px solid #dedfe2;background:#fff}
.admin-brand{display:flex;align-items:center;gap:16px}.admin-brand .admin-wordmark{display:block;width:auto;height:auto;border-radius:0;background:transparent;color:#ed8b22;font-size:27px;font-weight:800;letter-spacing:-1.5px;line-height:1}
.admin-wordmark sup{position:relative;top:-.65em;margin-left:2px;font-size:8px;letter-spacing:0}.admin-brand div{display:grid;gap:2px}.admin-brand b{font-size:15px}.session-tools{display:flex;align-items:center;gap:14px;color:#666}
.admin-shell{width:min(1440px,calc(100% - 40px));margin:34px auto 60px}.eyebrow{color:#888;font-size:10px;letter-spacing:.12em}.auth-layout{display:grid;grid-template-columns:1.15fr .85fr;gap:24px;max-width:1060px;margin:70px auto}
.auth-intro,.auth-card,.panel{border:1px solid #d8dade;border-radius:12px;background:#fff}.auth-intro{padding:52px}.auth-intro h1,.dashboard-head h1{margin:10px 0 12px;font-size:30px;font-weight:650}.auth-intro p,.dashboard-head p{color:#71747a;line-height:1.7}
.auth-features{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:30px}.auth-features div{padding:16px;border-radius:8px;background:#f6f8fb}.auth-features b,.auth-features span{display:block}.auth-features span{margin-top:5px;color:#7b7d82}
.auth-card{padding:34px}.auth-card h2{margin:8px 0;font-size:23px}.auth-card>p{margin:0 0 24px;color:#777}.auth-card label,.contact-form label,.action-dialog label,.dashboard-filter label{display:grid;gap:7px;margin-bottom:16px;color:#555}
input{height:42px;padding:0 12px;border:1px solid #b9bdc3;border-radius:5px;background:#fff}input:focus{outline:3px solid rgba(240,124,0,.14);border-color:#f07c00}
.button{height:40px;padding:0 17px;border:1px solid #b9bdc3;border-radius:5px;background:#fff;color:#333;cursor:pointer}.button.primary{border-color:#e27000;background:#f07c00;color:#fff;font-weight:700}.button.secondary{border-color:#1d6cc7;color:#155ea9}.button.ghost{background:#fff}.button.wide{width:100%}.button:disabled{opacity:.65;cursor:wait}
.message{display:none;margin-top:14px;padding:11px 13px;border:1px solid;border-radius:5px}.message.show{display:block}.message.error{border-color:#e1b4b4;background:#fff2f2;color:#990d0d}.message.good{border-color:#b9d9c4;background:#eff9f2;color:#166033}
.password-card{max-width:520px;margin:70px auto}.dashboard-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}.dashboard-filter{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.dashboard-filter label{margin:0}.dashboard-filter input{width:148px}.date-separator{align-self:center;color:#888}
.admin-tabs{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:2px;margin-bottom:18px;padding:4px;border:1px solid #dddfe3;border-radius:9px;background:#fff}.admin-tabs button{min-width:0;width:100%;height:40px;border:0;border-radius:6px;background:transparent;color:#60636a;cursor:pointer}.admin-tabs button.active{background:#f07c00;color:#fff;font-weight:700}
.tab-panel{display:none}.tab-panel.active{display:block}.stats-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.stats-grid article{padding:18px;border:1px solid #dddfe3;border-radius:9px;background:#fff}.stats-grid span,.stats-grid small{display:block;color:#787b81}.stats-grid b{display:block;margin:7px 0 4px;font-size:24px}
.overview-grid{display:grid;grid-template-columns:1.6fr .8fr;gap:16px;margin-top:16px}.panel{overflow:hidden}.panel-title{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;padding:20px;border-bottom:1px solid #e0e1e4}.panel-title h2{margin:5px 0 0;font-size:19px}.panel-title>span{color:#7a7d83;font-size:12px}
.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:12px 14px;border-bottom:1px solid #e5e6e8;text-align:left;vertical-align:middle}th{background:#fafafa;color:#666;font-size:11px;font-weight:600}tbody tr:hover{background:#fffaf3}td b,td small{display:block}td small{margin-top:4px;color:#85888e}.wide-table{min-width:940px}.country-table{min-width:720px}.country-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.country-detail-table{table-layout:fixed;min-width:0}.country-detail-table th:first-child,.country-detail-table td:first-child{width:34%}.country-detail-table th:last-child,.country-detail-table td:last-child{width:24%;text-align:right}.country-detail-table .detail-value{overflow-wrap:anywhere}.break{max-width:260px;word-break:break-word}.empty{padding:44px;color:#888;text-align:center}.stat-list{max-width:270px;white-space:normal;line-height:1.45;word-break:break-word}
.detail-panel-title{align-items:center;flex-wrap:wrap}.detail-tools{display:flex;align-items:flex-end;justify-content:flex-end;gap:8px;flex-wrap:wrap}.detail-tools label{display:grid;gap:5px;margin:0;color:#777;font-size:10px}.detail-tools select{width:148px;height:36px;padding:0 9px;border:1px solid #c7c9cd;border-radius:5px;background:#fff}.detail-tools .button{height:36px;white-space:nowrap}.detail-tools select:focus{outline:3px solid rgba(240,124,0,.14);border-color:#f07c00}
.system-panel dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0}.system-panel dl div{min-height:74px;padding:17px 20px;border-right:1px solid #ececef;border-bottom:1px solid #ececef}.system-panel dt{color:#85888e}.system-panel dd{margin:5px 0 0;font-weight:700}.system-panel dd small{display:block;margin-top:3px;color:#85888e;font-weight:400}
.status{display:inline-block;padding:4px 8px;border-radius:999px;font-size:11px}.status.ok{background:#eaf7ee;color:#1c7337}.status.blocked{background:#fff0f0;color:#b42323}.row-actions{display:flex;gap:6px}.row-actions button{height:30px;padding:0 9px;border:1px solid #a9bdd6;border-radius:4px;background:#fff;color:#155ea9;cursor:pointer}.row-actions button.danger{border-color:#dfaaaa;color:#ac2222}.row-actions button.allow{border-color:#a6d0b3;color:#176b31}
.filter-toolbar{display:grid;grid-template-columns:1fr 1fr 1fr 1.2fr .8fr auto;gap:10px;align-items:end;padding:14px 18px;border-bottom:1px solid #e1e2e4;background:#fbfbfc}.filter-toolbar.compact{grid-template-columns:1.2fr 1.2fr 1fr auto}.filter-toolbar label{display:grid;gap:6px;color:#666;font-size:11px}.filter-toolbar input,.filter-toolbar select{width:100%;height:38px;padding:0 10px;border:1px solid #c7c9cd;border-radius:5px;background:#fff}.filter-toolbar .button{height:38px}
.contact-panel{max-width:1040px;border:2px solid #f2a65a;box-shadow:0 12px 30px rgba(194,100,0,.08)}.default-contact-title{background:linear-gradient(135deg,#fffaf3,#fff);border-bottom:1px solid #f5d4ad}.default-contact-title p,.contact-profile-panel .panel-title p{margin:5px 0 0;color:#777;font-size:12px}.default-contact-badge{padding:7px 12px;border:1px solid #efb36f;border-radius:999px;background:#fff4e6;color:#a85300;font-weight:650}.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:24px}.contact-form label{margin:0}.contact-form label small{color:#888}.contact-form .button,.contact-form .message{align-self:end}.default-contact-save{min-height:44px}.contact-toggle{align-content:end;min-height:42px;display:flex!important;align-items:center;gap:9px}.contact-toggle input{width:17px;height:17px}.contact-referral{display:grid;gap:7px;color:#555}.contact-referral>div{display:grid;grid-template-columns:1fr auto;gap:8px}.contact-referral input{background:#fff}.contact-preview{grid-row:span 2;display:grid;justify-items:center;gap:8px;padding:14px;border:1px solid #e1e2e4;border-radius:8px;background:#fafafa;color:#666}.contact-preview img{width:150px;height:150px;object-fit:contain;background:#fff}.file-picker{position:relative;display:flex;align-items:center;justify-content:center;height:42px;border:1px dashed #ee8a24;border-radius:6px;background:#fff8f0;color:#b85d00;cursor:pointer;overflow:hidden}.file-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.file-picker b{font-weight:650}.advanced-path{opacity:.82}.contact-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.contact-profile-panel{min-width:0}.contact-profile-panel .panel-title{align-items:flex-start}.compact-button{height:38px;padding:0 15px;white-space:nowrap}.contact-profile-list{display:grid}.contact-profile-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px 20px;border-top:1px solid #ececef}.contact-profile-item:first-child{border-top:0}.contact-profile-item>div:first-child{display:grid;gap:4px;min-width:0}.contact-profile-item span,.contact-profile-item small{color:#777;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contact-profile-item.is-disabled{opacity:.62}.contact-profile-actions{display:flex;align-items:center;gap:8px}.contact-profile-actions .button{height:34px;padding:0 12px}.contact-profile-list .empty-state{padding:34px 20px;text-align:center;color:#999}.contact-profile-dialog{width:min(760px,calc(100vw - 32px))}.contact-profile-dialog form{max-height:min(820px,calc(100vh - 44px));overflow:auto}.extra-contact-meta,.extra-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.extra-contact-meta{margin-bottom:4px}.extra-contact-grid label{margin:0}.contact-profile-dialog .contact-toggle{margin:12px 0}.contact-profile-dialog .contact-referral{margin:0 0 16px}.contact-profile-dialog .contact-preview{grid-row:auto}.contact-profile-dialog footer{margin-top:20px}
.referral-stats-panel{margin-top:18px}.referral-stats-title{align-items:center}.referral-stats-title p{margin:5px 0 0;color:#777;font-size:12px}.referral-agent-selector{margin:18px;padding:14px 16px 16px;border:1px solid #dedfe2;border-radius:8px;background:#fafbfc}.referral-agent-selector legend{padding:0 7px;color:#555;font-size:12px;font-weight:700}.referral-agent-selector-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px;color:#73767c;font-size:12px}.referral-agent-selector-head>div{display:flex;gap:8px}.referral-agent-selector-head .button{height:32px;padding:0 12px}.referral-agent-options{display:flex;flex-wrap:wrap;gap:8px}.referral-agent-option{display:inline-flex;align-items:center;gap:7px;min-height:36px;margin:0;padding:6px 10px;border:1px solid #d8dade;border-radius:6px;background:#fff;color:#34373c;cursor:pointer}.referral-agent-option:has(input:checked){border-color:#ef9a43;background:#fff7ee}.referral-agent-option input{width:16px;height:16px;margin:0;accent-color:#f07c00}.referral-agent-option small{color:#83868b}.referral-agent-empty{padding:5px 0;color:#96999e}.referral-stats-message{margin:0 18px 16px}.referral-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0 18px 18px}.referral-summary-grid article{padding:16px;border:1px solid #e0e2e5;border-radius:8px;background:#fffaf4}.referral-summary-grid span{display:block;color:#74777c;font-size:12px}.referral-summary-grid b{display:block;margin-top:6px;color:#a65300;font-size:24px}.referral-stats-table{min-width:1120px}.referral-stats-table th:first-child,.referral-stats-table td:first-child{width:190px}.referral-stats-table th:not(:first-child),.referral-stats-table td:not(:first-child){text-align:right}.referral-stats-table td:first-child small{overflow-wrap:anywhere}
.action-dialog{width:min(660px,calc(100% - 32px));max-height:calc(100vh - 48px);padding:0;overflow-x:hidden;overflow-y:auto;border:1px solid #d7d9dc;border-radius:14px;box-shadow:0 26px 80px rgba(15,22,35,.3)}.action-dialog::backdrop{background:rgba(20,25,34,.48)}.action-dialog form{min-width:0;padding:26px}.action-dialog header,.action-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.action-dialog h2{margin:4px 0 18px}.dialog-close{flex:0 0 34px;width:34px;height:34px;border:1px solid #ccc;border-radius:50%;background:#fff;font-size:20px;cursor:pointer}.quota-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}.quota-fields p{grid-column:1/-1;margin:0 0 4px;color:#777;line-height:1.7}.quota-fields label{min-width:0;margin:0;padding:14px;border:1px solid #e2e4e8;border-radius:9px;background:#fafbfc;color:#45484f;font-weight:600}.quota-fields input{width:100%;min-width:0;background:#fff;font-weight:400}.action-dialog footer{justify-content:flex-end;margin-top:22px;padding-top:18px;border-top:1px solid #ececef}
.translation-stats{margin-bottom:16px}.translation-panel{overflow:visible}.translation-toolbar{grid-template-columns:minmax(260px,1fr) 180px auto auto}.translation-message{margin:14px 18px}.translation-table{min-width:1320px}.translation-table th:first-child{width:240px}.translation-table th:nth-child(2),.translation-table th:nth-child(3),.translation-table th:nth-child(4){width:260px}.translation-cell{max-width:280px;white-space:normal;line-height:1.55}.translation-source{font-size:14px}.translation-context{color:#888}.translation-pagination{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-top:1px solid #e5e6e8;color:#74777d}.translation-pagination>div{display:flex;gap:8px}.translation-dialog{width:min(900px,calc(100vw - 32px))}.translation-dialog textarea,.translation-dialog select{width:100%;padding:10px 12px;border:1px solid #b9bdc3;border-radius:5px;background:#fff;font:inherit;resize:vertical}.translation-dialog select{height:42px;padding-top:0;padding-bottom:0}.translation-dialog textarea:focus,.translation-dialog select:focus{outline:3px solid rgba(240,124,0,.14);border-color:#f07c00}.translation-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.translation-form-grid label{min-width:0}.arabic-field textarea{text-align:right}
.inquiry-toolbar{grid-template-columns:190px 160px minmax(240px,1fr) auto auto auto}.inquiry-toolbar .button{white-space:nowrap}.inquiry-message{margin:14px 18px}.inquiry-table{min-width:1340px}.inquiry-table th:first-child{width:165px}.inquiry-table th:nth-child(2){width:145px}.inquiry-table th:nth-child(3){width:170px}.inquiry-table th:nth-child(4){width:220px}.inquiry-table th:nth-child(6){width:90px}.inquiry-table th:nth-child(7){width:150px}.inquiry-table th:nth-child(8){width:126px}.inquiry-order-number{font-size:13px;overflow-wrap:anywhere}.inquiry-row-toggle{display:flex;align-items:center;gap:7px;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.inquiry-row-toggle>span{flex:0 0 auto;color:#a65300;font-size:10px}.inquiry-agent,.inquiry-customer,.inquiry-contact{display:grid;gap:4px}.inquiry-contact span,.inquiry-contact small{display:block;overflow-wrap:anywhere}.inquiry-products-summary{display:none;color:#666;font-weight:650;white-space:nowrap}.inquiry-row.is-collapsed .inquiry-products-summary{display:inline}.inquiry-row.is-collapsed .inquiry-product-list{display:none}.inquiry-product-list{display:grid;min-width:330px}.inquiry-product-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:8px 0;border-bottom:1px dotted #d8dade}.inquiry-product-item:first-child{padding-top:0}.inquiry-product-item:last-child{padding-bottom:0;border-bottom:0}.inquiry-product-item>b{min-width:0;overflow-wrap:anywhere}.inquiry-product-item>span{grid-column:1/-1;color:#4f5359;overflow-wrap:anywhere}.inquiry-product-item>small{grid-column:1/-1;margin-top:0}.inquiry-product-quantity{white-space:nowrap;color:#a65300;font-weight:700}.inquiry-status-control{display:grid;gap:4px;min-width:118px}.inquiry-status-select{width:132px;height:34px;padding:0 28px 0 9px;border:1px solid #c8cbd0;border-radius:5px;background:#fff;color:#34373c;font:inherit;font-weight:650;cursor:pointer}.inquiry-status-select:focus{outline:3px solid rgba(240,124,0,.14);border-color:#f07c00}.inquiry-status-select.pending{border-color:#efbd74;background:#fff8ec;color:#8d5000}.inquiry-status-select.ok{border-color:#aad1b5;background:#eff9f2;color:#176b31}.inquiry-status-select.quoted{border-color:#e4c27f;background:#fff7e8;color:#8f5200}.inquiry-status-select.closed{border-color:#c9cdd3;background:#f4f5f6;color:#555b63}.inquiry-status-select.blocked{border-color:#e3b2b2;background:#fff3f3;color:#a52424}.inquiry-status-select:disabled{cursor:wait;opacity:.68}.inquiry-status-control small{margin:0;color:#85888e}.inquiry-row-export{width:102px;height:34px;padding:0 10px;white-space:nowrap}.inquiry-row-export[aria-busy="true"]{cursor:wait}.inquiry-pagination{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-top:1px solid #e5e6e8;color:#74777d}.inquiry-pagination>div{display:flex;gap:8px}.status.quoted{background:#fff3dd;color:#9a5700}.status.closed{background:#eef0f3;color:#565b63}
.status.pending{background:#fff5e5;color:#9a5700}
.brand-catalog-panel{display:none}.brand-catalog-panel.active{display:block}
.brand-import-hint{margin:8px 0 0;color:#73767c;font-size:13px;line-height:1.55}
.brand-source-card{display:grid;grid-template-columns:minmax(280px,1.15fr) minmax(640px,2.35fr) auto;gap:24px;align-items:center;padding:22px 24px;border-color:#efb36f;background:linear-gradient(135deg,#fffaf3 0,#fff 55%);box-shadow:0 10px 28px rgba(194,100,0,.07)}.brand-source-copy h2{margin:0;font-size:21px}.brand-source-copy p{max-width:620px;margin:8px 0 0;color:#6f7278;line-height:1.65}.brand-source-heading{display:flex;align-items:center;gap:10px;margin-top:6px}.brand-source-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:0;border:1px solid #ece3d9;border-radius:8px;background:#ece3d9;overflow:hidden}.brand-source-metrics div{min-width:0;padding:13px 15px;background:rgba(255,255,255,.96)}.brand-source-metrics .brand-source-message{grid-column:span 2}.brand-source-metrics dt{color:#85888e;font-size:11px}.brand-source-metrics dd{margin:6px 0 0;overflow-wrap:anywhere;font-weight:700;font-variant-numeric:tabular-nums}
.brand-source-actions{display:flex;flex-direction:column;gap:8px}.brand-source-actions .button{white-space:nowrap}
.brand-catalog-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:16px;margin-top:16px}.brand-editor-panel,.brand-import-panel{min-width:0}.brand-form{display:grid;grid-template-columns:1fr 1.2fr .55fr 1fr;gap:14px;align-items:end;padding:20px}.brand-form label,.brand-import-body>label{display:grid;gap:7px;min-width:0;color:#555}.brand-form label small,.brand-import-body label small{color:#85888e;line-height:1.45}.brand-form input,.brand-import-body select{width:100%}.brand-logo-picker{position:relative;display:grid;grid-template-columns:52px 1fr;gap:10px;align-items:center;height:42px;padding:4px 10px;border:1px dashed #d5a064;border-radius:5px;background:#fffaf4;color:#aa5600;overflow:hidden}.brand-logo-picker img{width:44px;height:32px;object-fit:contain;background:#fff}.brand-logo-picker input{position:absolute;inset:0;opacity:0;cursor:pointer}.brand-logo-picker b{font-size:12px;text-align:center}.brand-form-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:2px}.brand-form .brand-enabled{display:flex;align-items:center;height:42px}.brand-enabled input{width:17px;height:17px}.brand-form-actions{display:flex;gap:8px;align-items:center}.brand-form .message{grid-column:1/-1}.brand-table,.brand-batch-table{min-width:740px}.brand-table-logo{display:block;width:54px;height:34px;object-fit:contain;border:1px solid #e5e6e8;border-radius:4px;background:#fff}.brand-table td:first-child{width:74px}
.brand-import-body{display:grid;gap:16px;padding:20px}.brand-import-body select{height:42px;padding:0 12px;border:1px solid #b9bdc3;border-radius:5px;background:#fff}.brand-import-body select:focus{outline:3px solid rgba(240,124,0,.14);border-color:#f07c00}.brand-template-contract{display:grid;grid-template-columns:auto repeat(4,minmax(75px,1fr));align-items:center;border:1px solid #d9e2ef;border-radius:8px;background:#f7faff;overflow:hidden}.brand-template-contract span,.brand-template-contract b{padding:12px;border-right:1px solid #d9e2ef}.brand-template-contract b:last-child{border-right:0}.brand-template-contract span{color:#617187;font-size:11px}.brand-template-contract b{text-align:center;color:#1b4f86}.brand-import-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:center}.brand-import-actions .button,.brand-file-picker{width:100%;height:42px}.brand-import-filename{grid-column:1/-1;overflow:hidden;color:#73777d;text-overflow:ellipsis;white-space:nowrap}.brand-import-body .message{margin-top:0}
.brand-import-actions .needs-prerequisite,.brand-file-picker.needs-prerequisite{opacity:.72;cursor:help}.brand-file-picker.needs-prerequisite input{cursor:help}.brand-editor-panel.needs-attention{animation:brand-editor-attention 1.8s ease-out}@keyframes brand-editor-attention{0%,35%{border-color:#f07c00;box-shadow:0 0 0 4px rgba(240,124,0,.16)}100%{border-color:#d8dade;box-shadow:none}}@media(prefers-reduced-motion:reduce){.brand-editor-panel.needs-attention{animation:none;border-color:#f07c00;box-shadow:0 0 0 3px rgba(240,124,0,.14)}}
.brand-import-result,.brand-batch-panel{margin-top:16px}.brand-batch-message{margin:0 18px 16px}.brand-batch-table th:last-child,.brand-batch-table td:last-child{width:96px}.brand-batch-table .row-actions{justify-content:flex-end}.brand-batch-table .row-actions button:disabled{cursor:wait;opacity:.6}.import-result-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px}.import-result-stats article{padding:16px;border:1px solid #dce4dc;border-radius:8px;background:#f5fbf6}.import-result-stats article.is-error{border-color:#edcccc;background:#fff5f5}.import-result-stats span{display:block;color:#73777d}.import-result-stats b{display:block;margin-top:5px;font-size:24px;color:#1d6b36}.import-result-stats .is-error b{color:#ad2525}.import-error-table{min-width:860px}.import-error-table th:first-child,.import-error-table td:first-child{width:90px}.import-error-table th:nth-child(2),.import-error-table td:nth-child(2){width:160px}
@media(max-width:1100px){.stats-grid{grid-template-columns:repeat(3,1fr)}.overview-grid,.country-detail-grid,.brand-catalog-grid{grid-template-columns:1fr}.brand-source-card{grid-template-columns:1fr}.brand-source-metrics{grid-template-columns:repeat(2,1fr)}.auth-layout{grid-template-columns:1fr}.auth-intro{padding:34px}.filter-toolbar{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.contact-profile-grid{grid-template-columns:1fr}}
@media(max-width:700px){.admin-shell{width:min(100% - 20px,1440px);margin-top:18px}.dashboard-head{align-items:stretch;flex-direction:column}.dashboard-filter{flex-wrap:wrap}.admin-tabs{grid-template-columns:repeat(2,1fr)}.stats-grid{grid-template-columns:1fr 1fr}.system-panel dl{grid-template-columns:1fr 1fr}.contact-form,.extra-contact-meta,.extra-contact-grid,.translation-form-grid,.brand-form{grid-template-columns:1fr}.brand-source-metrics,.import-result-stats{grid-template-columns:1fr 1fr}.brand-template-contract{grid-template-columns:1fr 1fr}.brand-template-contract span{grid-column:1/-1}.brand-template-contract b:nth-of-type(2),.brand-template-contract b:last-child{border-right:0}.brand-import-actions{grid-template-columns:1fr}.brand-import-filename{grid-column:auto}.filter-toolbar,.filter-toolbar.compact,.translation-toolbar,.inquiry-toolbar{grid-template-columns:1fr 1fr}.inquiry-keyword-filter{grid-column:1/-1}.inquiry-export-button{grid-column:1/-1;width:100%}.detail-tools{justify-content:stretch;width:100%}.detail-tools label{flex:1 1 130px}.detail-tools select{width:100%}.detail-tools .button{flex:1 1 100%}.auth-intro{display:none}.auth-layout{margin:28px auto}.quota-fields{grid-template-columns:1fr}.topbar{padding:0 12px}.contact-profile-item{grid-template-columns:1fr}.contact-profile-actions{justify-content:flex-start}.default-contact-badge{display:none}}
@media(max-width:700px){.referral-stats-title{align-items:flex-start;flex-direction:column}.referral-stats-title .button{width:100%}.referral-agent-selector-head{align-items:flex-start;flex-direction:column}.referral-agent-selector-head>div{width:100%}.referral-agent-selector-head .button{flex:1}.referral-agent-option{flex:1 1 100%}.referral-summary-grid{grid-template-columns:1fr 1fr;padding:0 14px 14px}.referral-stats-message{margin:0 14px 14px}}

.metric-link{display:block;margin-top:5px;padding:0;border:0;background:transparent;color:#155ea9;font-size:11px;cursor:pointer;text-align:left}.metric-link:hover,.metric-link:focus-visible{text-decoration:underline;outline:none}
.product-project-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(640px,1.1fr);gap:16px}.project-editor-panel,.project-products-panel{min-width:0}.project-editor-panel .panel-title,.project-products-panel .panel-title{align-items:flex-start}.project-editor-panel .panel-title p,.project-products-panel .panel-title p{margin:5px 0 0;color:#777;font-size:12px;line-height:1.55}.project-form{display:grid;gap:16px;padding:20px;border-bottom:1px solid #e5e6e8}.project-form label,.project-product-toolbar label{display:grid;gap:7px;min-width:0;color:#555}.project-primary-fields{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1.2fr) 100px;gap:12px}.project-primary-fields input,.project-language-grid input,.project-product-toolbar input,.project-product-toolbar select{width:100%}.project-more-languages{border:1px solid #e1e3e6;border-radius:7px;background:#fafbfc}.project-more-languages summary{padding:12px 14px;color:#555;font-weight:650;cursor:pointer}.project-language-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 14px 14px}.project-image-row{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:14px;align-items:end}.project-image-row label small{color:#777;line-height:1.5}.project-image-picker{position:relative;display:flex;align-items:center;justify-content:center;height:42px;border:1px dashed #ee8a24;border-radius:6px;background:#fff8f0;color:#b85d00;overflow:hidden;cursor:pointer}.project-image-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.project-image-preview{display:grid;width:180px;height:88px;grid-template-rows:60px 28px;overflow:hidden;border:1px solid #e1e3e6;border-radius:7px;background:#fff;color:#999}.project-image-preview-media{display:grid;place-items:center;overflow:hidden;background:#f6f7f8}.project-image-preview img{width:100%;height:100%;object-fit:contain}.project-image-preview span{display:none}.project-image-preview.is-empty img{display:none}.project-image-preview.is-empty span{display:block}.project-image-preview>b{display:flex;align-items:center;min-width:0;padding:0 8px;overflow:hidden;background:#fff8f0;color:#222;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.project-form-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.project-enabled{display:flex!important;align-items:center;gap:8px}.project-enabled input{width:17px;height:17px}.project-form-footer>div{display:flex;gap:8px}.project-table{min-width:680px}.project-table th:first-child,.project-table td:first-child{width:84px}.project-table-image{display:block;width:62px;height:46px;object-fit:cover;border:1px solid #e2e4e7;border-radius:5px;background:#fff}.project-table-name{max-width:220px;overflow-wrap:anywhere}.project-table-name small{direction:ltr}.project-product-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) 160px auto;gap:10px;align-items:end;padding:16px 18px;border-bottom:1px solid #e5e6e8;background:#fbfbfc}.project-product-toolbar select{height:42px;padding:0 10px;border:1px solid #b9bdc3;border-radius:5px;background:#fff}.project-product-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-bottom:1px solid #e5e6e8;color:#777}.project-product-summary label{display:flex;align-items:center;gap:7px}.project-product-summary input,.project-product-select{width:17px;height:17px;accent-color:#f07c00}.project-product-table{min-width:850px}.project-product-table th:first-child,.project-product-table td:first-child{width:64px;text-align:center}.project-product-table th:nth-child(3){width:150px}.project-product-table th:nth-child(4){width:210px}.project-product-table th:last-child{width:160px}.project-product-name{max-width:290px;overflow-wrap:anywhere}.project-product-oe{max-width:220px;overflow-wrap:anywhere}.project-product-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-top:1px solid #e5e6e8}.project-product-footer>div{display:flex;gap:8px}.project-row-active{background:#fff8ed}.project-row-active:hover{background:#fff4df}
@media(max-width:1180px){.product-project-layout{grid-template-columns:1fr}.project-products-panel{min-width:0}}
@media(max-width:700px){.project-primary-fields,.project-language-grid,.project-image-row,.project-product-toolbar{grid-template-columns:1fr}.project-form-footer,.project-product-footer{align-items:stretch;flex-direction:column}.project-form-footer>div,.project-product-footer>div{display:grid;grid-template-columns:1fr 1fr}.project-product-summary{align-items:flex-start;flex-direction:column}.project-editor-panel .panel-title{gap:10px}.project-editor-panel .panel-title .button{flex:0 0 auto}}
.home-video-panel > .panel { padding: 20px; }
.home-video-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.home-video-editor { border: 1px solid #d9dee5; border-radius: 12px; background: #fff; overflow: hidden; }
.home-video-editor > header,
.home-video-editor > footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: #f7f8fa; }
.home-video-editor > header div { display: grid; gap: 3px; }
.home-video-editor > header span { color: #7b8490; font-size: 12px; }
.home-video-enabled { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.home-video-media-row { display: grid; grid-template-columns: minmax(180px, 42%) 1fr; gap: 14px; padding: 16px; }
.home-video-cover-preview { aspect-ratio: 16 / 9; border: 1px solid #e1e4e8; border-radius: 8px; background: #f4f5f6; overflow: hidden; display: grid; place-items: center; color: #8a929c; }
.home-video-cover-preview img { width: 100%; height: 100%; object-fit: cover; }
.home-video-file-fields { display: grid; gap: 10px; align-content: start; }
.home-video-file-fields label,
.home-video-language-row label { display: grid; gap: 5px; color: #4c5662; }
.home-video-file-fields small { color: #89919a; }
.home-video-file-fields input[type="file"] { max-width: 100%; }
.home-video-primary-languages,
.home-video-more-languages { display: grid; gap: 12px; padding: 0 16px 16px; }
.home-video-more-languages { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px 0 0; }
.home-video-language-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px; }
.home-video-language-row textarea { resize: vertical; min-height: 64px; }
.home-video-editor > details { margin: 0 16px 16px; padding: 12px; border: 1px solid #e3e6ea; border-radius: 8px; background: #fafafa; }
.home-video-editor > details summary { cursor: pointer; font-weight: 700; color: #b85b00; }
.home-video-editor > footer span { color: #6f7883; font-size: 13px; }

@media (max-width: 1100px) {
  .home-video-editor-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .home-video-media-row,
  .home-video-language-row,
  .home-video-more-languages { grid-template-columns: 1fr; }
  .home-video-editor > header,
  .home-video-editor > footer { align-items: flex-start; flex-direction: column; }
}
