:root{--adm-wine:#671d2b;--adm-deep:#24181b;--adm-bg:#f4f1ed;--adm-line:#e5dfd9;--adm-muted:#7d7270;--adm-green:#377360}.admin-shell{min-height:100vh;display:grid;grid-template-columns:245px 1fr;color:#282022}.admin-sidebar{position:sticky;top:0;background:var(--adm-deep);color:#eee5e3;padding:27px 18px;display:flex;flex-direction:column}.admin-logo{display:flex;align-items:center;gap:13px;padding:0 10px 27px;border-bottom:1px solid #46383b}.admin-logo>span{width:42px;height:42px;border:1px solid #d2ada3;display:grid;place-items:center;transform:rotate(45deg);color:#e1beb3;font-family:Georgia,serif}.admin-logo i{font-style:normal;transform:rotate(-45deg);font-size:13px}.admin-logo div{display:flex;flex-direction:column;gap:4px}.admin-logo b{font-family:Georgia,serif;font-size:13px;letter-spacing:.09em}.admin-logo small{font-size:7px;letter-spacing:.2em;color:#a69496}.admin-sidebar nav{display:flex;flex-direction:column;gap:5px;margin-top:28px}.admin-sidebar nav :is(button,a){height:43px;border:0;background:transparent;color:#bcaeb0;display:flex;align-items:center;gap:13px;padding:0 15px;text-align:left;cursor:pointer;font-size:12px}.admin-sidebar nav :is(button,a) i{font-style:normal;font-size:18px;width:20px;text-align:center}.admin-sidebar nav :is(button,a).active,.admin-sidebar nav :is(button,a):hover{background:#4a2028;color:#fff}.sidebar-foot{margin-top:auto;padding:20px 12px;border-top:1px solid #46383b}.sidebar-foot a{display:block;text-transform:uppercase;letter-spacing:.08em;color:#ad9da0}.sidebar-foot a:hover{color:#fff}.admin-main{min-width:0}.admin-top{height:98px;display:flex;align-items:center;justify-content:space-between;padding:0 42px}.admin-top p{margin:0 0 6px;text-transform:uppercase;font-size:8px;letter-spacing:.18em;color:var(--adm-muted)}.admin-top h1{margin:0;font-family:Georgia,serif;font-size:31px;font-weight:400}.admin-user{display:flex;align-items:center;gap:14px;text-align:right}.admin-user div{display:flex;flex-direction:column;gap:3px}.admin-user small{font-size:9px;color:var(--adm-muted)}.admin-user>span{width:38px;height:38px;border-radius:50%;background:var(--adm-wine);color:#fff;display:grid;place-items:center;font-family:Georgia,serif}.admin-content{padding:32px 38px 55px;max-width:1600px;margin:auto}.admin-alert{margin:18px 38px 0;background:#fff0ec;border-left:3px solid #c34a37;padding:13px 18px;color:#8a2e20;font-size:12px;display:flex;justify-content:space-between}.admin-alert button{border:0;background:transparent;cursor:pointer}.quick-actions{display:flex;align-items:center;gap:8px;margin-bottom:22px}.quick-actions span{text-transform:uppercase;letter-spacing:.12em;color:var(--adm-muted);margin-right:5px}.quick-actions button{border:1px solid var(--adm-line);background:#fff;border-radius:5px;padding:9px 13px;font-size:10px;cursor:pointer}.quick-actions button:first-of-type{background:var(--adm-wine);color:#fff;border-color:var(--adm-wine)}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.kpi-grid article,.report-grid article,.summary-row article{background:#fff;border:1px solid var(--adm-line);border-radius:8px;padding:20px 21px;position:relative;overflow:hidden}.kpi-grid article:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#d8cbc5}.kpi-grid article.accent:before{background:var(--adm-green)}.kpi-grid small,.report-grid small,.summary-row small{font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:var(--adm-muted)}.kpi-grid h2,.report-grid h2{font-family:Georgia,serif;font-size:24px;font-weight:400;margin:10px 0 7px}.kpi-grid p,.report-grid p{font-size:9px;color:var(--adm-muted);margin:0}.overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.admin-panel{background:#fff;border:1px solid var(--adm-line);border-radius:8px;min-width:0;overflow:hidden;margin-bottom:18px}.admin-panel>header{height:57px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--adm-line)}.admin-panel>header h3{font-family:Georgia,serif;font-size:17px;font-weight:400;margin:0}.admin-panel>header span{font-size:9px;text-transform:uppercase;color:var(--adm-wine);letter-spacing:.07em}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:10px}th{text-align:left;padding:11px 15px;background:#faf8f6;color:#877b77;text-transform:uppercase;letter-spacing:.07em;font-size:8px}td,th{white-space:nowrap}td{padding:13px 15px;border-top:1px solid #eee9e5}td span:not(.adm-status){display:flex;flex-direction:column;gap:3px}td span small{color:var(--adm-muted)}.adm-status{display:inline-block;padding:5px 8px;border-radius:20px;background:#e8f3ef;color:#2e6c58;font-size:8px;text-transform:uppercase;letter-spacing:.05em}.adm-status.warn{background:#fff0e4;color:#a45a23}.no-records{text-align:center;color:var(--adm-muted);padding:35px}.finance-bars{padding:20px}.finance-bars>div{margin-bottom:18px}.finance-bars p{display:flex;justify-content:space-between;font-size:10px;margin:0 0 7px}.finance-bars p b{font-size:10px}.finance-bars i{display:block;height:7px;background:#ede9e5;border-radius:8px;overflow:hidden}.finance-bars em{height:100%;display:block;border-radius:8px}.activity{padding:13px 20px}.activity>div{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid #eee9e5}.activity>div>span{width:22px;height:22px;border-radius:50%;background:#e8f3ef;color:var(--adm-green);display:grid;place-items:center;font-size:9px}.activity p{margin:0;display:flex;flex-direction:column;gap:4px;font-size:10px}.activity small{font-size:8px;color:var(--adm-muted)}.muted{color:var(--adm-muted);font-size:11px}.admin-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.admin-toolbar>div{display:flex;align-items:center;gap:12px}.admin-toolbar p{font-family:Georgia,serif;margin:0}.admin-toolbar>button{border:0;background:var(--adm-wine);color:#fff;padding:12px 17px;border-radius:5px;text-transform:uppercase;font-size:9px;letter-spacing:.08em;cursor:pointer}.admin-toolbar input{width:260px;padding:10px 13px;border:1px solid var(--adm-line);background:#fff;border-radius:5px;font-size:10px;outline:0}.secondary-action{border:1px solid var(--adm-line)!important;background:#fff!important;color:#333!important;padding:10px 14px!important;border-radius:5px;cursor:pointer;font-size:9px!important;text-transform:uppercase}.summary-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}.summary-row article{display:flex;flex-direction:column;gap:9px}.summary-row b{font-family:Georgia,serif;font-size:22px;font-weight:400}.partner-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px}.partner-grid article{background:#fff;border:1px solid var(--adm-line);border-radius:8px;padding:24px;display:grid;grid-template-columns:48px 1fr;gap:15px}.partner-grid article>span{width:46px;height:46px;border-radius:50%;background:var(--adm-wine);color:#fff;display:grid;place-items:center;font-family:Georgia,serif;font-size:20px}.partner-grid small{font-size:8px;color:var(--adm-muted);text-transform:uppercase;letter-spacing:.07em}.partner-grid h2{font-family:Georgia,serif;font-size:22px;font-weight:400;margin:6px 0}.partner-grid dl{grid-column:1/-1;margin:8px 0 0;padding-top:13px;border-top:1px solid var(--adm-line)}.partner-grid dl div{display:flex;justify-content:space-between;padding:7px 0;font-size:10px}.partner-grid dt{color:var(--adm-muted)}.partner-grid dd{margin:0;font-weight:700}.report-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.report-grid article.positive{border-top:3px solid var(--adm-green)}.report-grid article.negative{border-top:3px solid #b9483d}.profit-share{padding:20px}.profit-share>div{display:flex;justify-content:space-between;padding:13px;border-bottom:1px solid var(--adm-line);font-size:12px}.profit-share span{display:flex;gap:10px}.profit-share p,.profit-share small{color:var(--adm-muted)}.profit-share p{font-size:9px;margin:18px 0 3px}.entry-wrap{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:15px}.entry-scrim{position:absolute;inset:0;border:0;background:rgba(22,13,15,.67)}.entry-modal{position:relative;background:#fff;width:min(710px,100%);max-height:93vh;overflow:auto;box-shadow:0 25px 90px rgba(0,0,0,.32)}.entry-modal>header{padding:25px 28px;border-bottom:1px solid var(--adm-line);display:flex;justify-content:space-between;align-items:flex-start}.entry-modal>header small{font-size:8px;color:var(--adm-wine);letter-spacing:.14em}.entry-modal h2{font-family:Georgia,serif;font-size:28px;font-weight:400;margin:5px 0 0}.entry-modal>header button{border:0;background:transparent;font-size:27px;cursor:pointer}.entry-fields{display:grid;grid-template-columns:1fr 1fr;gap:17px;padding:26px 28px}.entry-fields label{font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#695d5b}.entry-fields label.wide{grid-column:1/-1}.entry-fields input,.entry-fields select{display:block;width:100%;height:42px;border:1px solid var(--adm-line);border-radius:4px;margin-top:7px;padding:0 11px;background:#fff;font-size:11px;color:#282022;outline:0}.entry-fields input:focus,.entry-fields select:focus{border-color:var(--adm-wine)}.entry-modal>footer{padding:18px 28px;background:#faf8f6;border-top:1px solid var(--adm-line);display:flex;justify-content:flex-end;gap:9px}.entry-modal>footer button{border:1px solid var(--adm-line);background:#fff;padding:11px 18px;border-radius:4px;text-transform:uppercase;font-size:8px;letter-spacing:.08em;cursor:pointer}.entry-modal>footer button.save{background:var(--adm-wine);border-color:var(--adm-wine);color:#fff}.entry-modal>footer button:disabled{opacity:.55}.access-denied,.admin-loading{min-height:100vh;background:#f4f1ed;display:grid;place-items:center;text-align:center}.access-denied span,.admin-loading>span{display:inline-grid;place-items:center;width:70px;height:70px;border:1px solid var(--adm-wine);transform:rotate(45deg);font-family:Georgia,serif;color:var(--adm-wine)}.admin-loading p{margin-top:30px;color:var(--adm-muted);font-size:12px}.access-denied div{max-width:470px;padding:40px}.access-denied h1{font-family:Georgia,serif;font-size:42px;font-weight:400;margin-top:45px}.access-denied p{color:var(--adm-muted);line-height:1.7}.access-denied a{display:inline-block;margin-top:15px;background:var(--adm-wine);color:#fff;padding:13px 20px;text-transform:uppercase;font-size:9px;letter-spacing:.1em}@media(max-width:1100px){.kpi-grid,.report-grid{grid-template-columns:1fr 1fr}.overview-grid,.partner-grid{grid-template-columns:1fr}}@media(max-width:760px){.admin-shell{display:block}.admin-sidebar{position:relative;height:auto;padding:15px}.admin-logo{padding-bottom:15px}.admin-sidebar nav{margin:13px 0 0;display:flex;flex-direction:row;overflow:auto}.admin-sidebar nav :is(button,a){min-width:max-content}.sidebar-foot{display:none}.admin-top{height:80px;padding:0 18px}.admin-top h1{font-size:24px}.admin-user div{display:none}.admin-content{padding:22px 14px}.kpi-grid,.report-grid{grid-template-columns:1fr 1fr;gap:9px}.kpi-grid article{padding:15px}.quick-actions{overflow:auto}.quick-actions button{min-width:max-content}.admin-toolbar{align-items:flex-start;gap:14px}.admin-toolbar>div{align-items:flex-start;flex-direction:column}.admin-toolbar input{width:220px}.entry-fields,.summary-row{grid-template-columns:1fr}.entry-fields label.wide{grid-column:auto}.partner-grid{grid-template-columns:1fr}.admin-alert{margin:10px 14px 0}}@media(max-width:430px){.kpi-grid,.report-grid{grid-template-columns:1fr}.admin-top p{display:none}.admin-user b{font-size:9px}.entry-modal{max-height:97vh}.entry-fields{padding:20px}.entry-modal>footer,.entry-modal>header{padding-left:20px;padding-right:20px}}.admin-logo>img{width:48px;height:48px;object-fit:cover;border-radius:7px;box-shadow:0 3px 15px rgba(0,0,0,.25)}.admin-sidebar nav{padding-right:2px}.admin-sidebar nav::-webkit-scrollbar{width:3px}.admin-sidebar nav::-webkit-scrollbar-thumb{background:#553e43}.analytics-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:22px}.analytics-head small{font-size:8px;letter-spacing:.15em;color:var(--adm-wine)}.analytics-head h2{font-family:Georgia,serif;font-size:30px;font-weight:400;margin:6px 0}.analytics-head p{font-size:10px;color:var(--adm-muted);margin:0}.analytics-head>div:last-child{display:flex;border:1px solid var(--adm-line);background:#fff;border-radius:6px;padding:4px}.analytics-head button{border:0;background:transparent;padding:9px 15px;font-size:9px;text-transform:uppercase;cursor:pointer;border-radius:4px}.analytics-head button.active{background:var(--adm-wine);color:#fff}.analytics-chart{padding:20px}.chart-row{display:grid;grid-template-columns:115px 1fr 60px;align-items:center;gap:12px;margin:12px 0}.chart-row>b{font-size:9px;color:#5e5250}.chart-row span{height:20px;min-width:2px;border-radius:3px;color:#fff;font-size:8px;display:flex;align-items:center;padding-left:8px;white-space:nowrap;overflow:visible}.sale-bar{background:var(--adm-wine)}.expense-bar{background:#d98d79}.chart-row>small{text-align:right;font-size:8px;color:var(--adm-muted)}.chart-legend{display:flex;gap:18px;padding:0 20px 20px;font-size:9px;color:var(--adm-muted)}.chart-legend span{align-items:center;gap:6px}.sale-dot{background:var(--adm-wine)}.expense-dot{background:#d98d79}@media(max-width:760px){.analytics-head{align-items:flex-start;flex-direction:column;gap:16px}.chart-row{grid-template-columns:80px 1fr 45px}.admin-sidebar nav{overflow-x:auto;overflow-y:hidden}}.top-tools{gap:18px}.global-search{width:min(330px,28vw);height:40px;border:1px solid var(--adm-line);border-radius:7px;background:#faf8f6;display:flex;align-items:center;padding:0 12px;gap:8px}.global-search span{color:var(--adm-muted);font-size:15px}.global-search input{border:0;background:transparent;font-size:10px;color:#282022}.admin-notice{margin:18px 38px 0;background:#e9f5f0;border-left:3px solid var(--adm-green);padding:13px 18px;color:#245c4b;font-size:12px;display:flex;justify-content:space-between}.admin-notice button{border:0;background:transparent;cursor:pointer}.kpi-button{appearance:none;border-radius:8px;padding:20px 21px;position:relative;overflow:hidden;color:inherit}.kpi-button:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#d8cbc5}.kpi-button.accent:before{background:var(--adm-green)}.kpi-button:hover{border-color:#c5aaa2;box-shadow:0 7px 22px rgba(54,32,35,.07)}.kpi-button small{text-transform:uppercase;letter-spacing:.1em;color:var(--adm-muted)}.kpi-button h2{font-family:Georgia,serif;font-size:24px;font-weight:400;margin:10px 0 7px}.kpi-button p{font-size:9px;color:var(--adm-muted);margin:0}.kpi-button em{display:block;margin-top:12px;font-style:normal;font-size:8px;color:var(--adm-wine);text-transform:uppercase;letter-spacing:.06em}.finance-bars>button{display:block;width:100%;border:0;background:transparent;text-align:left;margin-bottom:18px;cursor:pointer;padding:0}.finance-bars>button:hover p span{color:var(--adm-wine)}.finance-bars button p{display:flex;justify-content:space-between;font-size:10px;margin:0 0 7px}.finance-bars button>i{display:block;height:7px;background:#ede9e5;border-radius:8px;overflow:hidden}.finance-bars button>i em{height:100%;display:block;border-radius:8px}.admin-toolbar{gap:14px}.admin-toolbar>div{flex-wrap:wrap}.admin-toolbar select{height:36px;border:1px solid var(--adm-line);background:#fff;border-radius:5px;padding:0 10px;font-size:9px;min-width:125px}.filter-strip{display:flex;align-items:flex-end;gap:10px;background:#fff;border:1px solid var(--adm-line);padding:13px 16px;border-radius:8px;margin-bottom:18px}.filter-strip label{font-size:8px;text-transform:uppercase;letter-spacing:.07em;color:var(--adm-muted)}.filter-strip input,.filter-strip select{display:block;margin-top:5px;color:#30272a}.filter-strip input,.filter-strip select,.filter-strip>select{height:36px;border:1px solid var(--adm-line);border-radius:5px;background:#fff;padding:0 10px;font-size:10px}.filter-strip>button{height:36px;border:1px solid var(--adm-line);background:#faf8f6;border-radius:5px;padding:0 12px;font-size:8px;text-transform:uppercase;cursor:pointer}.category-strip{display:flex;gap:9px;overflow:auto;margin:-5px 0 18px;padding:4px 1px}.category-strip>button{min-width:max-content;border:1px solid #dfd4ce;background:#fff;border-radius:20px;padding:8px 11px;font-size:9px;cursor:pointer;color:#514548}.category-strip>button b{display:inline-grid;place-items:center;background:var(--adm-wine);color:#fff;border-radius:12px;padding:3px 6px;margin-right:7px;font-size:7px}.category-strip>button span{margin-left:8px;color:var(--adm-wine)}.category-strip>button:hover{border-color:var(--adm-wine)}.record-link{appearance:none;border:0;background:transparent;color:var(--adm-wine);font:inherit;text-align:left;padding:0;cursor:pointer;text-decoration:underline;text-decoration-color:#d9c4bd;text-underline-offset:3px}.record-link:hover{color:#9a273c}.cell-stack{display:flex!important;flex-direction:column!important;gap:3px}.cell-stack small{color:var(--adm-muted);text-decoration:none}.row-actions{display:flex!important;flex-direction:row!important;align-items:center;gap:5px}.row-actions button{border:1px solid var(--adm-line);background:#fff;border-radius:4px;padding:6px 8px;font-size:8px;cursor:pointer}.row-actions button:hover{border-color:var(--adm-wine);color:var(--adm-wine)}.row-actions button.delete{color:#a43a31}.status-button{border:0;border-radius:20px;padding:6px 9px;background:#e8f3ef;color:#2e6c58;font-size:8px;text-transform:uppercase;cursor:pointer;white-space:nowrap}.status-button.warn{background:#fff0e4;color:#a45a23}.status-button:hover{box-shadow:inset 0 0 0 1px currentColor}.entry-modal{width:min(820px,100%)}.entry-fields input[readonly]{background:#f5f2ef;color:#796e6b}.entry-fields .form-note{margin:0;border-left:3px solid #c9a06a;background:#faf6ef;padding:11px 13px;font-size:9px;line-height:1.55;color:#77655c;text-transform:none;letter-spacing:0;font-weight:400}.mode-switch{display:flex;align-items:center;gap:7px;border:1px solid var(--adm-line);border-radius:6px;padding:8px}.mode-switch span{margin-right:auto;font-size:8px;text-transform:uppercase;letter-spacing:.07em;color:var(--adm-muted)}.mode-switch button{border:1px solid var(--adm-line);background:#fff;padding:8px 10px;border-radius:4px;font-size:8px;cursor:pointer}.mode-switch button.active{background:var(--adm-wine);color:#fff;border-color:var(--adm-wine)}.search-select{position:relative}.search-select>input:not([type]),.search-select>input[type=text]{padding-right:34px}.search-select:after{content:"⌕";position:absolute;right:12px;top:31px;color:#9e8f8c;font-size:14px}.search-results{position:absolute;z-index:20;left:0;right:0;top:55px;max-height:245px;overflow:auto;background:#fff;border:1px solid #cfc2bd;border-radius:6px;box-shadow:0 14px 35px rgba(33,20,23,.18);padding:5px}.search-results button{display:flex;width:100%;flex-direction:column;align-items:flex-start;border:0;border-bottom:1px solid #eee8e4;background:#fff;padding:10px 11px;cursor:pointer;color:#30272a;text-align:left}.search-results button:hover{background:#faf5f3}.search-results button b{font-size:10px}.search-results button small{margin-top:4px;font-size:8px;color:var(--adm-muted);text-transform:none;letter-spacing:0}.search-results button.add-new-option{display:block;background:#f4ebe7;color:var(--adm-wine);font-weight:700;text-transform:uppercase;font-size:8px;letter-spacing:.06em}.search-results p{font-size:9px;color:var(--adm-muted);padding:12px;margin:0}.entry-modal>footer .danger-text{margin-right:auto;color:#a43a31;border-color:#e2c4bf}.partner-grid article.clickable-card{cursor:pointer}.partner-grid article.clickable-card:hover{border-color:#c6aba4;box-shadow:0 6px 20px rgba(50,31,34,.06)}.partner-grid article .row-actions{grid-column:1/-1;justify-content:flex-end;padding-top:8px;border-top:1px solid var(--adm-line)}.purchase-bar,.purchase-dot{background:#8d6f52}.chart-row>div{display:grid;gap:4px}.chart-row span{max-width:100%}.report-intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;background:linear-gradient(135deg,#5a1725,#2b1b1e);color:#fff;border-radius:9px;padding:25px 28px;border-bottom:3px solid #c59a52}.report-intro small{font-size:8px;letter-spacing:.17em;color:#d9ba83}.report-intro h2{font-family:Georgia,serif;font-size:28px;font-weight:400;margin:7px 0}.report-intro p{font-size:10px;color:#d5c9ca;margin:0}.report-intro>button{border:1px solid #c59a52;background:#fff;color:var(--adm-wine);padding:11px 15px;border-radius:5px;font-size:8px;text-transform:uppercase;cursor:pointer;white-space:nowrap}.report-download-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:18px 0}.report-download-grid article{display:grid;grid-template-columns:42px 1fr auto auto;align-items:center;gap:11px;background:#fff;border:1px solid var(--adm-line);border-radius:8px;padding:15px}.report-download-grid article>span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--adm-wine);color:#d8b377;font-family:Georgia,serif;font-size:11px}.report-download-grid h3{font-family:Georgia,serif;font-size:15px;font-weight:400;margin:0 0 4px}.report-download-grid p{font-size:8px;color:var(--adm-muted);margin:0}.report-download-grid button{border:1px solid var(--adm-line);background:#fff;border-radius:4px;padding:8px 9px;font-size:8px;text-transform:uppercase;cursor:pointer}.report-download-grid button:hover{background:var(--adm-wine);border-color:var(--adm-wine);color:#fff}.report-intro-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.report-intro-actions button{border:1px solid #c59a52;background:#fff;color:var(--adm-wine);padding:11px 15px;border-radius:5px;font-size:11px;text-transform:uppercase;cursor:pointer;white-space:nowrap}.report-intro-actions .investor-action{background:#d6b46f;color:#351018;font-weight:800}.report-download-grid article.investor-featured{border:2px solid #c59a52;background:linear-gradient(135deg,#fffdf7,#fff8e8)}.report-download-grid article.investor-featured>span{width:auto;padding:0 8px;border-radius:6px;background:#5a1725;color:#f2d58e;font-family:inherit;font-size:9px;font-weight:800;letter-spacing:.08em}.tone-gold{border-color:#d4b366;background:linear-gradient(135deg,#fffdf8,#fff7df)}.tone-gold .kpi-icon{background:#5a1725;color:#f0cf80}@media(max-width:700px){.report-intro{align-items:stretch;flex-direction:column;gap:16px;padding:20px}.report-intro-actions{justify-content:stretch}.report-intro-actions button{flex:1;min-height:44px}.report-download-grid article.investor-featured>span{min-height:34px}}@media(max-width:1050px){.top-tools .global-search{width:220px}.report-download-grid{grid-template-columns:1fr}}@media(max-width:760px){.admin-top{height:auto;min-height:88px;gap:12px}.top-tools{gap:8px}.global-search{width:44vw}.admin-user>span{display:none}.admin-notice{margin:10px 14px 0}.admin-toolbar{flex-direction:column;align-items:stretch}.admin-toolbar>div{width:100%}.admin-toolbar>button{align-self:flex-start}.filter-strip{align-items:stretch}.filter-strip label{flex:1;min-width:130px}.filter-strip input{width:100%}.report-download-grid article{grid-template-columns:38px 1fr auto}.report-download-grid article button:last-child{grid-column:3}.chart-row{grid-template-columns:70px 1fr 42px}.entry-modal{max-height:96vh}}@media(max-width:470px){.global-search{width:48vw}.global-search input{font-size:8px}.admin-top h1{font-size:20px}.report-download-grid article{grid-template-columns:34px 1fr}.report-download-grid article button{grid-column:auto}.kpi-button{padding:15px}.mode-switch{align-items:stretch;flex-direction:column}.mode-switch span{margin:0}.filter-strip label{min-width:100%}}.product-thumb-button{width:48px;height:58px;border:0;padding:0;background:#f5efeb;overflow:hidden;cursor:pointer;border-radius:4px}.product-thumb-button img{width:100%;height:100%;object-fit:cover}.register-search{display:flex;align-items:center;gap:12px;margin:0 16px 13px;padding:11px 13px;background:#faf6f3;border:1px solid var(--adm-line);font-size:8px;text-transform:uppercase;letter-spacing:.07em;color:var(--adm-muted)}.register-search input{flex:1;border:1px solid var(--adm-line);border-radius:4px;background:#fff;padding:9px 11px;outline:0;text-transform:none;letter-spacing:0}.register-search input:focus{border-color:var(--adm-wine)}.balance-due{color:#a04a24}.balance-clear{color:#2e6c58}.panel-note{font-size:9px;line-height:1.6;color:var(--adm-muted);margin:12px 16px 16px;padding:10px 12px;background:#faf6f3;border-left:3px solid #c59a52}.file-current{display:block;margin-top:6px;color:var(--adm-muted);font-size:8px;text-transform:none;letter-spacing:0;font-weight:400}.admin-loading>span{display:none}.admin-loading>img{width:180px;height:180px;object-fit:contain;filter:drop-shadow(0 16px 30px rgba(74,23,33,.18))}.vendor-ledger-list{display:grid;gap:16px}.vendor-ledger-card{background:#fff;border:1px solid var(--adm-line);border-radius:8px;overflow:hidden}.vendor-ledger-card>summary{list-style:none;cursor:pointer;padding:22px 24px;display:grid;grid-template-columns:1fr minmax(420px,1.2fr);align-items:center;gap:25px}.vendor-ledger-card>summary::-webkit-details-marker{display:none}.vendor-ledger-card summary small{font-size:8px;letter-spacing:.1em;color:var(--adm-wine)}.vendor-ledger-card summary h2{font-family:Georgia,serif;font-weight:400;margin:5px 0;font-size:24px}.vendor-ledger-card summary p{font-size:9px;color:var(--adm-muted);margin:0}.vendor-ledger-card dl{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0}.vendor-ledger-card dl div{padding:12px;background:#faf7f4}.vendor-ledger-card dt{font-size:8px;text-transform:uppercase;color:var(--adm-muted)}.vendor-ledger-card dd{margin:6px 0 0;font-weight:700}.vendor-ledger-card .due{background:#fff1eb;color:#8a341f}.vendor-ledger-card .clear{background:#edf8f3;color:#2e6c58}.vendor-ledger-actions{display:flex;gap:8px;padding:14px 20px;background:#faf7f4;border-top:1px solid var(--adm-line)}.vendor-ledger-actions button{border:1px solid var(--adm-line);background:#fff;padding:9px 12px;font-size:9px;cursor:pointer}.vendor-ledger-card .admin-panel{margin:14px 20px}@media(max-width:800px){.vendor-ledger-card dl,.vendor-ledger-card>summary{grid-template-columns:1fr}.vendor-ledger-actions{flex-wrap:wrap}}.permission-banner{margin:18px 38px 0;padding:12px 16px;border-left:3px solid #8b6f42;background:#fff8e7;color:#5d4829;display:flex;gap:12px;align-items:center;font-size:10px}.permission-banner b{text-transform:uppercase;letter-spacing:.08em}.permission-banner.operational{border-color:#477c6c;background:#eef8f4;color:#315c50}@media(max-width:760px){.permission-banner{margin:10px 14px 0;align-items:flex-start;flex-direction:column;gap:4px}}.master-login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 15% 10%,#7b2838 0,transparent 28%),linear-gradient(135deg,#211619,#4b1722 58%,#1c1315);color:#2b2022}.master-login-card{width:min(470px,100%);background:#fff;border-radius:14px;padding:34px 38px;box-shadow:0 32px 90px rgba(0,0,0,.38);border-top:4px solid #c69b55}.master-login-brand{display:flex;align-items:center;gap:14px;padding-bottom:25px;border-bottom:1px solid #ebe3de;color:#2b2022}.master-login-brand img{width:54px;height:54px;object-fit:cover;border-radius:8px}.master-login-brand span{display:flex;flex-direction:column;gap:5px}.master-login-brand b{font-family:Georgia,serif;font-size:15px;letter-spacing:.09em}.master-login-brand small{font-size:8px;letter-spacing:.2em;color:#8b7773}.master-login-heading{padding:27px 0 18px}.master-login-heading>small{text-transform:uppercase;letter-spacing:.16em;color:#7a2031;font-size:8px}.master-login-heading h1{font-family:Georgia,serif;font-size:38px;font-weight:400;margin:7px 0 10px}.master-login-heading p{font-size:11px;line-height:1.7;color:#776c69;margin:0}.master-login-form{display:grid;gap:15px}.master-login-form label{font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:#5d5050}.master-login-form input{display:block;width:100%;height:47px;margin-top:7px;border:1px solid #ddd2cc;border-radius:6px;padding:0 13px;font-size:12px;outline:0;background:#fcfaf8}.master-login-form input:focus{border-color:#741f31;box-shadow:0 0 0 3px rgba(116,31,49,.08)}.master-login-form button{height:49px;border:0;border-radius:6px;background:#6d1e2e;color:#fff;text-transform:uppercase;letter-spacing:.11em;font-size:9px;cursor:pointer;margin-top:4px}.master-login-form button:disabled{opacity:.6}.master-login-error{margin:0;background:#fff0ed;color:#91342b;border-left:3px solid #b54a3e;padding:10px 12px;font-size:10px;line-height:1.5}.master-login-help{display:flex;justify-content:space-between;gap:16px;margin-top:23px;padding-top:18px;border-top:1px solid #ebe3de}.master-login-help a{font-size:9px;color:#6d1e2e;text-decoration:underline;text-underline-offset:3px}@media(max-width:520px){.master-login-card{padding:28px 23px}.master-login-heading h1{font-size:32px}.master-login-help{flex-direction:column}}.vendor-account-layout{display:grid;grid-template-columns:minmax(220px,275px) minmax(0,1fr);gap:18px;align-items:start}.vendor-account-detail,.vendor-subheads{background:#fff;border:1px solid var(--adm-line);border-radius:8px;overflow:hidden}.vendor-subheads{position:sticky;top:20px}.vendor-subheads>header{display:flex;flex-direction:column;gap:5px;padding:17px 18px;background:#3d151d;color:#fff;border-bottom:3px solid #c39a55}.vendor-subheads>header small{font-size:7px;letter-spacing:.17em;color:#dabf8f}.vendor-subheads>header b{font-family:Georgia,serif;font-size:18px;font-weight:400}.vendor-subheads>button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;padding:14px 15px;border:0;border-bottom:1px solid var(--adm-line);background:#fff;text-align:left;cursor:pointer}.vendor-subheads>button:hover{background:#faf5f2}.vendor-subheads>button.active{background:#f5eae6;box-shadow:inset 4px 0 var(--adm-wine)}.vendor-subheads>button span{display:flex;min-width:0;flex-direction:column;gap:4px}.vendor-subheads>button span b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vendor-subheads>button span small{font-size:7px;color:var(--adm-muted)}.vendor-subheads>button>strong{font-size:9px;white-space:nowrap}.vendor-subheads>p{padding:20px;color:var(--adm-muted);font-size:10px}.vendor-account-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:23px 25px;background:linear-gradient(135deg,#fff,#faf4f1)}.vendor-account-head small{font-size:8px;letter-spacing:.12em;color:var(--adm-wine)}.vendor-account-head h2{font-family:Georgia,serif;font-size:27px;font-weight:400;margin:6px 0}.vendor-account-head p{font-size:9px;color:var(--adm-muted);margin:0}.vendor-head-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.vendor-head-actions button,.vendor-ledger-export button{border:1px solid var(--adm-line);border-radius:4px;background:#fff;padding:9px 11px;font-size:8px;text-transform:uppercase;cursor:pointer}.vendor-head-actions button:first-child{background:var(--adm-wine);border-color:var(--adm-wine);color:#fff}.vendor-account-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--adm-line);border-top:1px solid var(--adm-line);border-bottom:1px solid var(--adm-line)}.vendor-account-kpis article{padding:15px 17px;background:#fff}.vendor-account-kpis article:last-child{background:#fff0ea}.vendor-account-kpis small{display:block;font-size:7px;text-transform:uppercase;letter-spacing:.08em;color:var(--adm-muted)}.vendor-account-kpis b{display:block;margin-top:7px;font-family:Georgia,serif;font-size:17px}.vendor-ledger-export{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 20px}.vendor-ledger-export>div{display:flex;flex-direction:column;gap:4px}.vendor-ledger-export b{font-family:Georgia,serif;font-size:17px;font-weight:400}.vendor-ledger-export small{font-size:8px;color:var(--adm-muted)}.vendor-ledger-export span{display:flex;gap:6px}.vendor-detail-grid{display:grid;gap:0}.vendor-detail-grid .admin-panel{margin:18px 18px 0}.vendor-detail-grid .admin-panel:last-child{margin-bottom:18px}.logistics-summary{grid-template-columns:repeat(6,minmax(0,1fr))}.logistics-performance{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;background:var(--adm-line);border-bottom:1px solid var(--adm-line)}.logistics-performance article{padding:13px 15px;background:#f8fafc}.logistics-aging small,.logistics-performance small{display:block;color:var(--adm-muted);font-size:8px;text-transform:uppercase;letter-spacing:.07em}.logistics-performance b{display:block;margin-top:6px;font-size:15px}.logistics-aging{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:13px 18px;background:#fff}.logistics-aging span{padding:11px 13px;border:1px solid var(--adm-line);border-radius:7px}.logistics-aging b{display:block;margin-bottom:5px}.logistics-aging .overdue{border-color:#efb2ac;background:#fff3f1;color:#9d2f24}.logistics-row-actions{display:flex;gap:8px;align-items:center;white-space:nowrap}.logistics-row-actions .collect{color:#17633a}.tag-print-dialog{position:relative;z-index:2;width:min(760px,100%);max-height:94vh;overflow:auto;background:#fff;border-radius:10px;box-shadow:0 20px 70px rgba(27,15,18,.35)}.tag-print-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 26px;border-bottom:1px solid var(--adm-line)}.tag-print-dialog>header small{font-size:8px;letter-spacing:.15em;color:var(--adm-wine)}.tag-print-dialog>header h2{font-family:Georgia,serif;font-size:27px;font-weight:400;margin:5px 0}.tag-print-dialog>header p{font-size:9px;color:var(--adm-muted);margin:0}.tag-print-dialog>header>button{border:0;background:transparent;font-size:24px;cursor:pointer}.tag-print-preview{display:grid;grid-template-columns:220px 1fr;gap:27px;padding:25px 28px;background:#faf7f4}.mini-hang-tag{position:relative;width:180px;height:320px;margin:auto;padding:31px 15px 14px;border:3px double #d7b24f;border-radius:13px;background:#440014;color:#d7b24f;text-align:center;box-shadow:0 12px 30px rgba(59,4,19,.2)}.mini-hang-tag>i{position:absolute;top:10px;left:50%;transform:translateX(-50%);width:22px;height:22px;border:2px solid #d7b24f;border-radius:50%}.mini-hang-tag>img{display:block;width:100px;height:100px;object-fit:contain;margin:17px auto 3px}.mini-hang-tag>b{display:block;margin:4px 0;font-family:Georgia,serif;font-size:14px;color:#fff}.mini-hang-tag>strong{display:block;margin:8px 0;background:#d7b24f;color:#39000f;padding:8px;border-radius:5px;font-size:18px}.mini-hang-tag>div{background:#fff;border-radius:5px;padding:3px}.mini-hang-tag svg{width:125px;height:62px}.tag-print-options{display:grid;align-content:start;gap:14px}.tag-print-options label{font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#695d5b}.tag-print-options input,.tag-print-options select{display:block;width:100%;height:42px;margin-top:7px;border:1px solid var(--adm-line);border-radius:4px;background:#fff;padding:0 11px;font-size:11px}.tag-print-options p{margin:0;padding:12px 13px;border-left:3px solid #c39a55;background:#fff;font-size:10px;line-height:1.6;color:var(--adm-muted)}.tag-print-dialog>footer{display:flex;justify-content:flex-end;gap:8px;padding:17px 25px;border-top:1px solid var(--adm-line)}.tag-print-dialog>footer button{border:1px solid var(--adm-line);border-radius:4px;background:#fff;padding:11px 17px;text-transform:uppercase;font-size:8px;letter-spacing:.08em;cursor:pointer}.tag-print-dialog>footer button.save{background:var(--adm-wine);border-color:var(--adm-wine);color:#fff}@media(max-width:1050px){.vendor-account-layout{grid-template-columns:1fr}.vendor-subheads{position:static;display:flex;overflow:auto}.vendor-subheads>header{min-width:175px}.vendor-subheads>button{min-width:230px;border-right:1px solid var(--adm-line)}.logistics-summary{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.vendor-account-head{flex-direction:column}.vendor-head-actions{justify-content:flex-start}.vendor-account-kpis{grid-template-columns:1fr 1fr}.vendor-ledger-export{align-items:flex-start;flex-direction:column}.logistics-performance,.logistics-summary{grid-template-columns:1fr 1fr}.logistics-aging{grid-template-columns:1fr}.logistics-row-actions{align-items:flex-start;flex-direction:column}.tag-print-preview{grid-template-columns:1fr}.tag-print-dialog{max-height:97vh}.mini-hang-tag{width:160px;height:285px}.mini-hang-tag>img{width:82px;height:82px}}.product-editor-modal{width:min(1180px,100%);max-height:96vh;background:#f5f3f0}.product-editor-modal>header{position:sticky;top:0;z-index:8;background:#fff;padding:19px 25px;border-bottom:1px solid #ded6d1}.product-editor-modal>header h2{font-size:25px}.product-head-note{margin:5px 0 0;color:var(--adm-muted);font-size:9px}.product-editor-modal>footer{position:sticky;bottom:0;z-index:9;background:#fff;box-shadow:0 -8px 22px rgba(50,28,33,.05)}.product-editor-fields{display:block;padding:0;background:#f5f3f0}.product-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;align-items:start;gap:18px;padding:18px}.product-editor-main{display:grid;gap:15px}.product-editor-aside>article,.product-section{background:#fff;border:1px solid #ded7d2;border-radius:9px;box-shadow:0 2px 8px rgba(47,30,34,.025)}.product-section-title{display:flex;align-items:flex-start;gap:13px;padding:19px 21px;border-bottom:1px solid #ece6e2}.product-section-title>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#f5e8e4;color:var(--adm-wine);font-size:8px;font-weight:800}.product-section-title h3{margin:0;font-family:Georgia,serif;font-size:19px;font-weight:400;color:#271c1f}.product-section-title p{margin:5px 0 0;color:var(--adm-muted);font-size:8px}.product-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:20px 21px}.accordion-fields>label,.product-form-grid>label{font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#695d5b}.product-form-grid>.wide{grid-column:1/-1}.accordion-fields input,.accordion-fields textarea,.product-form-grid input:not([type=checkbox]):not([type=hidden]),.product-form-grid select,.product-form-grid textarea{display:block;width:100%;height:43px;border:1px solid #dcd2cc;border-radius:5px;margin-top:7px;padding:0 11px;background:#fff;font-size:11px;color:#282022;outline:0;text-transform:none;letter-spacing:0}.accordion-fields textarea,.product-form-grid textarea{min-height:110px;height:auto;padding:11px;resize:vertical;line-height:1.55}.accordion-fields input:focus,.accordion-fields textarea:focus,.product-form-grid input:focus,.product-form-grid select:focus,.product-form-grid textarea:focus{border-color:var(--adm-wine);box-shadow:0 0 0 3px rgba(109,30,46,.06)}.product-form-grid label>small{display:block;margin-top:6px;color:var(--adm-muted);font-size:7px;font-weight:400;text-transform:none;letter-spacing:0}.product-media{display:grid;grid-template-columns:1fr 1fr;gap:14px}.product-media>label>span{display:block;margin-bottom:7px;font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#695d5b}.media-drop,.media-gallery{position:relative}.media-drop{height:170px;border:1px dashed #c9bbb5;border-radius:7px;background:#fbf9f7;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;overflow:hidden;cursor:pointer}.media-drop>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.9}.gallery-preview>b,.media-drop>b{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#fff;color:var(--adm-wine);font-size:17px;box-shadow:0 3px 12px rgba(0,0,0,.1);z-index:2}.media-drop>small,.media-drop>strong{z-index:2;background:rgba(255,255,255,.92);padding:4px 7px;border-radius:3px}.media-drop>strong{font-size:9px}.media-drop>small{font-size:7px;color:var(--adm-muted)}.media-drop input{position:absolute!important;inset:0;width:100%!important;height:100%!important;margin:0!important;opacity:0;cursor:pointer}.gallery-preview{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:74px;gap:7px;min-height:156px;padding:8px;border:1px dashed #c9bbb5;border-radius:7px;background:#fbf9f7}.gallery-preview img{width:100%;height:74px;border-radius:4px;object-fit:cover}.gallery-preview>b{align-self:center;justify-self:center}.media-gallery>input{height:auto!important;border:0!important;margin-top:7px!important;padding:0!important;font-size:8px!important}.media-gallery>small{display:block;margin-top:6px;color:var(--adm-muted);font-size:7px;font-weight:400;text-transform:none;letter-spacing:0}.rich-description textarea{min-height:145px}.rich-toolbar{display:flex;align-items:center;gap:4px;margin-top:7px;padding:6px;border:1px solid #dcd2cc;border-bottom:0;border-radius:5px 5px 0 0;background:#f8f5f3}.rich-toolbar+textarea{margin-top:0!important;border-radius:0 0 5px 5px!important}.rich-toolbar button{min-width:28px;height:27px;border:1px solid #ded5d0;background:#fff;border-radius:3px;font-size:8px;font-weight:800;cursor:pointer}.rich-toolbar button:hover{border-color:var(--adm-wine);color:var(--adm-wine)}.rich-toolbar span{margin-left:auto;color:var(--adm-muted);font-size:7px;text-transform:none;letter-spacing:0}.product-switch{display:flex!important;align-items:center;gap:10px;padding:12px 13px;border:1px solid #e1d9d5;border-radius:6px;background:#fbf9f7}.product-switch input[type=checkbox]{appearance:none;width:34px;height:19px;border-radius:12px;background:#cfc5c1;position:relative;flex:0 0 auto;cursor:pointer}.product-switch input[type=checkbox]:after{content:"";position:absolute;width:15px;height:15px;left:2px;top:2px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.2);transition:.15s}.product-switch input[type=checkbox]:checked{background:var(--adm-wine)}.product-switch input[type=checkbox]:checked:after{transform:translateX(15px)}.product-switch span{display:flex;flex-direction:column;gap:3px}.product-switch span b{font-size:8px;color:#3a2d30}.product-switch span small{font-size:7px;color:var(--adm-muted);font-weight:400;text-transform:none;letter-spacing:0}.money-input{display:flex;height:43px;margin-top:7px;border:1px solid #dcd2cc;border-radius:5px;overflow:hidden}.money-input i{display:grid;place-items:center;padding:0 10px;background:#f6f2ef;color:var(--adm-wine);font-style:normal;font-size:8px}.money-input input{height:41px!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}.margin-card{display:flex;flex-direction:column;justify-content:center;padding:12px 14px;border-radius:6px;background:#eef7f2;color:#315e50}.margin-card small{font-size:7px;text-transform:uppercase;letter-spacing:.08em}.margin-card b{font-family:Georgia,serif;font-size:24px;font-weight:400;margin:5px 0 2px}.margin-card span{font-size:8px}.inventory-mode{display:flex;align-items:center;gap:7px}.inventory-mode>span{margin-right:auto;font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#695d5b}.inventory-mode button{border:1px solid #dcd2cc;border-radius:4px;background:#fff;padding:8px 11px;font-size:8px;cursor:pointer}.inventory-mode button.active{background:var(--adm-wine);border-color:var(--adm-wine);color:#fff}.size-stock{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.size-stock label{display:grid;grid-template-columns:30px 1fr 62px;align-items:center;gap:6px;padding:9px;border:1px solid #ded6d1;border-radius:6px;background:#fff;color:#33272a}.size-stock label>b{display:grid;place-items:center;width:29px;height:29px;border-radius:5px;background:#f5e9e5;color:var(--adm-wine);font-size:11px}.size-stock label>span{font-size:8px;color:var(--adm-muted)}.size-stock label>input{height:34px!important;margin:0!important;text-align:center;padding:0 5px!important}.size-stock .total{background:#3d151d;color:#fff;border-color:#3d151d;grid-template-columns:1fr}.size-stock .total b{display:block;width:auto;height:auto;background:transparent;color:#d6b46f;font-family:Georgia,serif;font-size:25px}.size-stock .total span{color:#eadfe1}.size-stock.disabled{opacity:.52}.barcode-note{display:flex;flex-direction:column;gap:5px;padding:12px;border-left:3px solid #c49a52;background:#fbf7ee}.barcode-note b{font-size:8px;text-transform:uppercase;color:#624615}.barcode-note span{font-size:8px;line-height:1.5;color:#77675d}.product-more>details{border-bottom:1px solid #ece6e2}.product-more>details:last-child{border-bottom:0}.product-more summary{list-style:none;display:grid;grid-template-columns:1fr auto;align-items:center;gap:15px;padding:15px 21px;cursor:pointer}.product-more summary::-webkit-details-marker{display:none}.product-more summary span{font-size:10px;font-weight:700;color:#3a2d30}.product-more summary small{font-size:7px;color:var(--adm-muted)}.product-more summary:after{content:"＋";grid-column:3;color:var(--adm-wine)}.product-more details[open] summary:after{content:"−"}.accordion-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:2px 21px 20px;background:#fbf9f7}.accordion-fields>label{display:block}.accordion-fields .wide,.accordion-fields>label:only-child{grid-column:1/-1}.product-editor-aside{display:grid;gap:13px;position:sticky;top:93px}.product-editor-aside>article{padding:17px}.product-editor-aside article>small{display:block;margin-bottom:12px;color:var(--adm-wine);font-size:7px;font-weight:800;letter-spacing:.13em}.product-editor-aside article>label{font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#695d5b}.product-editor-aside select{display:block;width:100%;height:41px;margin-top:7px;border:1px solid #dcd2cc;border-radius:5px;background:#fff;padding:0 10px;font-size:10px}.product-editor-aside article>p{margin:10px 0 0;padding:9px;border-radius:5px;background:#eef7f2;color:#336352;font-size:8px}.product-editor-aside article>p i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#45a27e;margin-right:5px}.product-editor-aside article>p.draft{background:#fff2e6;color:#8b4a22}.product-editor-aside article>p.draft i{background:#d68b4c}.product-quality h4,.product-summary-card h4{font-family:Georgia,serif;font-size:17px;font-weight:400;margin:0 0 10px}.product-quality ul{display:grid;gap:7px;padding:0;margin:0;list-style:none}.product-quality li{font-size:8px;color:#8a7e7a}.product-quality li:before{content:"○";margin-right:8px}.product-quality li.done{color:#315e50}.product-quality li.done:before{content:"✓"}.product-summary-card p{padding:0!important;background:transparent!important;color:var(--adm-muted)!important;line-height:1.5}.product-summary-card b{display:block;margin-top:14px;color:var(--adm-wine);font-family:Georgia,serif;font-size:22px}.product-summary-card span{display:block;margin-top:6px;color:var(--adm-muted);font-size:8px}.product-save-note{margin:0;padding:11px 12px;border-left:3px solid #c49a52;background:#fff9ef;color:#77675d;font-size:8px;line-height:1.5}.product-editor-modal .entry-fields input[readonly]{background:#f4f1ee;color:#776c68}@media(max-width:980px){.product-editor-layout{grid-template-columns:1fr}.product-editor-aside{position:static;grid-template-columns:repeat(3,1fr)}.product-save-note{grid-column:1/-1}.size-stock{grid-template-columns:1fr 1fr}}@media(max-width:700px){.product-editor-layout{padding:10px}.accordion-fields,.product-form-grid{grid-template-columns:1fr;padding:16px}.accordion-fields .wide,.product-form-grid>.wide{grid-column:auto}.product-editor-aside,.product-media,.size-stock{grid-template-columns:1fr}.rich-toolbar{overflow:auto}.rich-toolbar span{display:none}.product-section-title{padding:16px}.product-more summary{grid-template-columns:1fr;gap:4px}.product-more summary:after{grid-column:2;grid-row:1/3}.product-editor-modal>header{padding:15px 18px}.product-head-note{display:none}}:root{--adm-wine:#741f35;--adm-deep:#0f1729;--adm-bg:#f8fafc;--adm-card:#fff;--adm-line:#cbd0d7;--adm-muted:#64748b;--adm-green:#15803d;--adm-amber:#b45309;--adm-rose:#be123c}.admin-shell{grid-template-columns:256px minmax(0,1fr);background:var(--adm-bg);color:#0f0f0f;font-family:Geist Variable,Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;font-size:14px}.admin-sidebar{z-index:50;height:100vh;padding:0;background:#fff;color:#0f1729;border-right:1px solid var(--adm-line);box-shadow:none}.sidebar-brand-row{height:72px;display:flex;align-items:center;border-bottom:1px solid #e2e8f0;padding:0 16px}.admin-logo{flex:1;min-width:0;padding:0;border:0;gap:11px;color:#0f1729}.admin-logo img{width:42px;height:42px;object-fit:contain;border-radius:8px;background:#f8fafc}.admin-logo div{gap:2px}.admin-logo b{font-family:inherit;font-size:14px;letter-spacing:0;font-weight:650}.admin-logo small{font-size:9px;letter-spacing:.08em;color:#64748b;text-transform:uppercase}.sidebar-close{display:none;border:0;background:transparent;font-size:22px;color:#64748b;cursor:pointer}.admin-sidebar nav{gap:0;margin:0;padding:12px 10px;overflow:auto}.admin-sidebar nav section{display:grid;gap:3px;margin-bottom:13px}.admin-sidebar nav section>small{padding:8px 11px 5px;color:#94a3b8;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.11em}.admin-sidebar nav :is(button,a){height:40px;border-radius:7px;padding:0 11px;gap:11px;color:#475569;font-size:13px;font-weight:500}.admin-sidebar nav :is(button,a) i{display:grid;place-items:center;width:22px;height:22px;border-radius:5px;color:#64748b;font-size:15px}.admin-sidebar nav :is(button,a).active,.admin-sidebar nav :is(button,a):hover{background:#f1f5f9;color:#0f1729}.admin-sidebar nav :is(button,a).active{font-weight:650;box-shadow:inset 3px 0 var(--adm-wine)}.admin-sidebar nav :is(button,a).active i{background:#f7e9ed;color:var(--adm-wine)}.sidebar-foot{padding:15px 18px;border-top:1px solid #e2e8f0;background:#fff}.sidebar-foot a{padding:7px 0;color:#64748b;font-size:10px;letter-spacing:.02em;text-transform:none}.sidebar-foot a:hover{color:var(--adm-wine)}.admin-main{min-height:100vh}.admin-top{position:sticky;top:0;z-index:40;height:56px;padding:0 24px;border-bottom:1px solid var(--adm-line);background:#fff}.top-brand{display:flex;align-items:center;gap:12px}.top-brand>span{display:flex;flex-direction:column}.top-brand b{font-size:12px}.top-brand small{font-size:9px;color:var(--adm-muted)}.menu-toggle{display:none;width:34px;height:34px;border:1px solid #e2e8f0;border-radius:7px;background:#fff;color:#475569;cursor:pointer}.top-tools{display:flex;align-items:center;gap:9px}.top-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid #e2e8f0;border-radius:7px;background:#fff;color:#475569;cursor:pointer}.top-icon:hover{background:#f8fafc;color:#0f1729}.global-search{position:relative;width:280px}.global-search span{position:absolute;left:11px;top:8px;color:#94a3b8}.global-search input{width:100%;height:34px;border:1px solid #e2e8f0;border-radius:7px;background:#f8fafc;padding:0 12px 0 32px;font-size:11px;outline:0}.global-search input:focus{border-color:#94a3b8;background:#fff}.admin-user{gap:10px;margin-left:3px}.admin-user b{font-size:11px}.admin-user small{font-size:8px}.admin-user>span{width:32px;height:32px;background:#0f1729;font-family:inherit;font-size:11px}.admin-page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px 0}.admin-page-heading h1{margin:0;font-size:22px;line-height:1.2;font-weight:650}.admin-page-heading p{margin:5px 0 0;color:var(--adm-muted);font-size:10px}.admin-page-heading select{height:36px;min-width:135px;border:1px solid var(--adm-line);border-radius:7px;background:#fff;padding:0 11px;color:#334155;font-size:10px}.admin-content{max-width:none;margin:0;padding:18px 24px 42px}.admin-alert,.admin-notice,.permission-banner{margin-left:24px;margin-right:24px;border-radius:6px;font-size:10px}.dashboard-command-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.dashboard-command-row>small{color:#15803d;background:#dcfce7;border-radius:999px;padding:6px 9px;font-size:8px;font-weight:650;text-transform:uppercase;letter-spacing:.06em}.quick-actions{margin:0;gap:7px}.quick-actions span{font-size:9px;letter-spacing:.07em;text-transform:none}.quick-actions button{height:34px;border-color:#e2e8f0;border-radius:6px;padding:0 11px;font-size:9px}.quick-actions button:first-of-type{background:#0f1729;border-color:#0f1729}.dashboard-kpis{gap:12px;margin-bottom:12px}.kpi-button{display:flex;align-items:flex-start;gap:12px;min-height:100px;border:1px solid var(--adm-line);border-radius:10px;background:#fff;padding:16px;text-align:left;cursor:pointer;transition:border-color .15s,transform .15s}.kpi-button:hover{border-color:#94a3b8;transform:translateY(-1px)}.kpi-button em,.kpi-button:before{display:none}.kpi-icon{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:9px;background:#f1f5f9;color:#0f1729;font-size:18px}.tone-green .kpi-icon{background:#dcfce7;color:#15803d}.tone-amber .kpi-icon{background:#fef3c7;color:#b45309}.tone-rose .kpi-icon{background:#ffe4e6;color:#be123c}.kpi-button>div{min-width:0}.kpi-button small{font-size:9px;text-transform:none;letter-spacing:0;color:#64748b}.kpi-button h2{margin:7px 0 4px;font-family:inherit;font-size:19px;font-weight:680;white-space:nowrap}.kpi-button p{font-size:8px;color:#64748b}.dashboard-analytics-grid{display:grid;grid-template-columns:minmax(280px,1fr) minmax(0,2fr);gap:12px;margin-bottom:12px}.dashboard-analytics-grid>.wide-chart:first-child{grid-column:1/3}.dashboard-register-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:12px}.dashboard-panel{min-width:0;overflow:hidden;border:1px solid var(--adm-line);border-radius:10px;background:#fff}.dashboard-panel>header{min-height:65px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;border-bottom:1px solid var(--adm-line)}.dashboard-panel>header h3{margin:0;font-size:14px;font-weight:650}.dashboard-panel>header p{margin:4px 0 0;color:#64748b;font-size:9px}.dashboard-panel>header>button{border:0;background:transparent;color:#0f1729;font-size:9px;font-weight:650;cursor:pointer}.payment-mix-body{display:grid;grid-template-columns:180px 1fr;align-items:center;gap:20px;min-height:270px;padding:18px}.payment-donut{position:relative;width:170px;height:170px;border-radius:50%;display:grid;place-items:center;margin:auto}.payment-donut:after{content:"";position:absolute;inset:28px;border-radius:50%;background:#fff;border:1px solid #e2e8f0}.payment-donut>span{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center}.payment-donut b{font-size:26px}.payment-donut small{color:#64748b;font-size:9px}.chart-legend{display:grid;gap:5px}.chart-legend button{display:grid;grid-template-columns:9px 1fr auto;align-items:center;gap:8px;border:0;background:transparent;padding:8px;border-radius:6px;text-align:left;cursor:pointer}.chart-legend button:hover{background:#f8fafc}.chart-legend i{width:8px;height:8px;border-radius:50%}.chart-legend span{display:flex;flex-direction:column;font-size:9px}.chart-legend span small{margin-top:2px;color:#64748b}.chart-legend b{font-size:11px}.histogram-wrap{position:relative;padding:10px 13px 5px}.histogram-legend{display:flex;justify-content:flex-end;gap:14px;padding:1px 5px 4px}.histogram-legend span{display:flex;align-items:center;gap:5px;color:#64748b;font-size:8px}.histogram-legend i{width:9px;height:9px;border-radius:2px;background:#0f1729}.histogram-legend i.secondary{background:#94a3b8}.histogram-wrap svg{display:block;width:100%;height:240px;overflow:visible}.histogram-wrap svg line{stroke:#e2e8f0;stroke-width:1}.histogram-wrap svg text{fill:#64748b;font:8px Geist Variable,Inter,system-ui,sans-serif}.histogram-wrap .bar-primary{fill:#0f1729}.histogram-wrap .bar-secondary{fill:#94a3b8}.histogram-wrap .axis-label{font-size:8px}.stock-insight{padding:14px 16px}.stock-insight>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}.stock-insight>div span{padding:12px;border-radius:7px;background:#f1f5f9}.stock-insight>div span.danger{background:#ffe4e6;color:#9f1239}.stock-insight>div b{display:block;font-size:18px}.stock-insight>div small{display:block;margin-top:3px;font-size:8px}.stock-insight>button:not(.panel-link){display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;padding:9px 2px;border:0;border-bottom:1px solid #e2e8f0;background:transparent;text-align:left;cursor:pointer}.stock-insight>button span{display:flex;flex-direction:column;gap:2px}.stock-insight>button span b{font-size:9px}.stock-insight>button span small{font-size:8px;color:#64748b}.stock-insight>button strong{display:grid;place-items:center;min-width:29px;height:24px;border-radius:999px;background:#fef3c7;color:#92400e;font-size:9px}.stock-insight>p{color:#15803d;font-size:9px}.stock-insight .panel-link{border:0;background:transparent;padding:13px 0 2px;color:#0f1729;font-size:9px;font-weight:650;cursor:pointer}.dashboard-activity{padding:3px 16px}.dashboard-activity>div{padding:10px 0}.dashboard-activity>div>span{background:#dcfce7;color:#15803d}.dashboard-activity p{font-size:9px}.dashboard-activity small{font-size:7px}.admin-panel,.partner-grid article,.product-editor-aside>article,.product-section,.report-grid article,.summary-row article,.vendor-account-detail,.vendor-subheads{border-color:var(--adm-line);border-radius:10px;box-shadow:none}.admin-panel>header{height:58px}.admin-panel>header h3,.admin-toolbar p,.product-editor-modal h2,.product-quality h4,.product-section-title h3,.product-summary-card h4,.report-intro h2,.vendor-account-head h2,.vendor-ledger-export b{font-family:inherit}.admin-panel>header h3{font-size:14px;font-weight:650}.admin-toolbar{margin-bottom:14px}.admin-toolbar p{font-size:15px;font-weight:650}.admin-toolbar>button{border-radius:6px;background:#0f1729}.secondary-action{border-color:var(--adm-line)!important;border-radius:6px!important}.summary-row{gap:12px}.report-grid h2,.summary-row b{font-family:inherit;font-weight:680}.table-wrap table{font-size:10px}.table-wrap th{padding:10px 13px;background:#f8fafc;color:#64748b}.table-wrap td{padding:12px 13px;border-color:#e2e8f0}.adm-status{font-weight:650}.entry-modal,.product-editor-modal,.tag-print-dialog{font-family:Geist Variable,Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}.entry-modal h2,.tag-print-dialog>header h2{font-family:inherit;font-weight:650}.entry-modal{border-radius:10px}.entry-scrim{background:rgba(15,23,42,.62)}.mobile-nav-scrim{display:none}@media(max-width:1150px){.dashboard-kpis{grid-template-columns:repeat(2,1fr)}.payment-mix-body{grid-template-columns:1fr}.payment-donut{width:150px;height:150px}.chart-legend{grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){.admin-shell{display:block}.admin-sidebar{position:fixed;left:0;top:0;width:256px;transform:translateX(-102%);transition:transform .2s ease}.admin-shell.nav-open .admin-sidebar{transform:translateX(0)}.admin-shell.nav-open .mobile-nav-scrim{display:block;position:fixed;inset:0;z-index:45;border:0;background:rgba(15,23,42,.5)}.menu-toggle,.sidebar-close{display:block}.admin-sidebar nav{display:flex;flex-direction:column;margin:0}.admin-top{padding:0 14px}.global-search{width:220px}.dashboard-analytics-grid,.dashboard-register-grid{grid-template-columns:1fr}.dashboard-analytics-grid>.wide-chart:first-child{grid-column:auto}.payment-mix-body{grid-template-columns:180px 1fr}.admin-content,.admin-page-heading{padding-left:14px;padding-right:14px}.admin-alert,.admin-notice,.permission-banner{margin-left:14px;margin-right:14px}}@media(max-width:640px){.admin-user>div,.top-brand>span,.top-icon{display:none}.global-search{width:min(54vw,230px)}.admin-page-heading{align-items:flex-start}.admin-page-heading p{display:none}.dashboard-command-row{align-items:flex-start;flex-direction:column}.dashboard-command-row>small{display:none}.quick-actions{width:100%;overflow:auto;padding-bottom:3px}.quick-actions span{display:none}.quick-actions button{white-space:nowrap}.dashboard-kpis{grid-template-columns:1fr}.dashboard-analytics-grid{display:grid}.chart-legend,.payment-mix-body{grid-template-columns:1fr}.histogram-wrap{overflow-x:auto}.histogram-wrap svg{min-width:500px}.dashboard-panel>header{align-items:flex-start}.admin-page-heading select{height:33px;min-width:112px}.kpi-button{min-height:92px}.admin-content{padding-top:14px}.admin-toolbar{align-items:stretch}.admin-toolbar>div{width:100%}.admin-toolbar>button{align-self:flex-start}.report-grid,.summary-row{grid-template-columns:1fr}.entry-modal>header{position:sticky;top:0;z-index:5;background:#fff}}.admin-shell,.entry-modal,.master-login-page,.product-editor-modal,.tag-print-dialog{font-family:InterVariable,Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.admin-shell{grid-template-columns:272px minmax(0,1fr);font-size:16px;line-height:1.5}.admin-shell button,.admin-shell input,.admin-shell select,.admin-shell textarea,.entry-modal button,.entry-modal input,.entry-modal select,.entry-modal textarea,.master-login-page button,.master-login-page input,.product-editor-modal button,.product-editor-modal input,.product-editor-modal select,.product-editor-modal textarea{font-family:inherit;font-size:14px;line-height:1.4}.admin-shell small,.entry-modal small,.master-login-page small,.product-editor-modal small,.tag-print-dialog small{font-size:12px!important;line-height:1.45}.admin-sidebar{width:272px}.admin-logo b{font-size:16px}.admin-logo small,.admin-sidebar nav section>small{font-size:12px}.admin-sidebar nav :is(button,a){height:44px;font-size:14px}.sidebar-foot a{font-size:13px}.top-brand b{font-size:14px}.top-brand small{font-size:12px}.admin-user b,.global-search input{font-size:14px}.admin-user small{font-size:12px}.admin-user>span{font-size:13px}.admin-page-heading h1{font-size:30px}.admin-alert,.admin-notice,.admin-page-heading p,.admin-page-heading select,.permission-banner{font-size:14px}.dashboard-command-row>small{font-size:12px}.quick-actions button,.quick-actions span{font-size:14px}.kpi-button small{font-size:13px}.kpi-button h2{font-size:22px}.kpi-button p{font-size:13px}.dashboard-panel>header{min-height:72px}.dashboard-panel>header h3{font-size:18px}.dashboard-panel>header p,.dashboard-panel>header>button{font-size:13px}.chart-legend b,.chart-legend span,.dashboard-activity p,.dashboard-activity small,.histogram-legend span,.payment-donut small,.stock-insight .panel-link,.stock-insight>button span b,.stock-insight>button span small,.stock-insight>button strong,.stock-insight>div small,.stock-insight>p{font-size:12px}.histogram-wrap svg text{font:12px InterVariable,Inter,system-ui,sans-serif}.histogram-wrap .axis-label{font-size:12px}.admin-panel>header h3,.admin-toolbar p{font-size:18px}.admin-toolbar select,.filter-strip input,.filter-strip select,.filter-strip>select{font-size:14px}.filter-strip label,.filter-strip>button{font-size:13px}.adm-status,.category-strip>button,.category-strip>button b,.row-actions button,.status-button{font-size:12px}.table-wrap table{font-size:14px;line-height:1.5}.table-wrap th{font-size:12px;letter-spacing:.04em}.table-wrap td{font-size:14px}.entry-fields label,.entry-modal label{font-size:13px}.entry-fields input,.entry-fields select,.entry-fields textarea{font-size:15px}.analytics-head button,.analytics-head p,.analytics-head small,.chart-legend,.chart-row span,.chart-row>b,.chart-row>small,.entry-fields .form-note,.finance-bars button p,.mode-switch button,.mode-switch span,.report-download-grid button,.report-download-grid p,.report-intro p,.report-intro small,.report-intro>button,.search-results button b,.search-results button small,.search-results button.add-new-option,.search-results p,.vendor-account-head p,.vendor-account-head small,.vendor-ledger-actions button,.vendor-ledger-card dt,.vendor-ledger-card summary p,.vendor-ledger-card summary small,.vendor-subheads>button span b,.vendor-subheads>button span small,.vendor-subheads>button>strong,.vendor-subheads>header small{font-size:13px}.master-login-brand b{font-size:17px}.master-login-heading p{font-size:15px}.master-login-form label{font-size:13px}.master-login-error,.master-login-form button{font-size:14px}.master-login-help a{font-size:13px}.product-editor-modal>header h2{font-size:30px}.product-head-note{font-size:14px}.product-section-title>span{width:34px;height:34px;font-size:12px}.product-section-title h3{font-size:22px}.product-section-title p{font-size:14px}.accordion-fields>label,.inventory-mode>span,.product-editor-aside article>label,.product-form-grid>label,.product-media>label>span{font-size:13px}.accordion-fields input,.accordion-fields textarea,.product-editor-aside select,.product-form-grid input:not([type=checkbox]):not([type=hidden]),.product-form-grid select,.product-form-grid textarea{height:48px;font-size:15px}.product-form-grid label>small{font-size:13px!important}.media-drop>strong{font-size:14px}.media-drop>small,.media-gallery>input,.media-gallery>small{font-size:14px!important}.rich-toolbar button,.rich-toolbar span{font-size:12px}.barcode-note b,.barcode-note span,.inventory-mode button,.margin-card small,.margin-card span,.money-input i,.product-editor-aside article>p,.product-editor-aside article>small,.product-more summary small,.product-quality li,.product-save-note,.product-summary-card span,.product-switch span b,.product-switch span small,.size-stock label>span{font-size:13px}.product-more summary span,.size-stock label>b{font-size:14px}@media(max-width:900px){.admin-shell{display:block}.admin-sidebar{width:272px}}@media(max-width:640px){.admin-page-heading h1{font-size:26px}.admin-page-heading p{display:block;font-size:13px}.global-search input{font-size:14px}.product-head-note{display:block}.product-editor-modal>header h2{font-size:26px}}.activity p,.activity small,.admin-panel>header span,.admin-top p,.file-current,.finance-bars p,.finance-bars p b,.kpi-grid p,.muted,.panel-note,.partner-grid dl div,.profit-share p,.register-search,.report-grid p,.vendor-subheads>p{font-size:13px}.admin-shell table{font-size:14px}.admin-shell th{font-size:12px}.admin-shell td{font-size:14px}.activity>div>span,.report-download-grid article>span{font-size:12px}.access-denied a,.admin-toolbar>button,.entry-modal>footer button,.tag-print-dialog>footer button,.vendor-head-actions button,.vendor-ledger-export button{font-size:13px}.secondary-action{font-size:13px!important}.expense-import-tools{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;flex-wrap:wrap}.expense-file-input{display:none!important}.expense-import-note{margin:-4px 0 16px;padding:10px 13px;border:1px dashed var(--adm-line);border-radius:7px;background:var(--adm-card);color:var(--adm-muted);font-size:13px}.expense-import-tools button:disabled{opacity:.5;cursor:not-allowed}.tag-print-dialog>header p,.tag-print-options label,.tag-print-options p,.vendor-account-kpis small,.vendor-ledger-export small{font-size:13px}.tag-print-options input,.tag-print-options select{font-size:15px}.admin-shell{font-family:var(--admin-font,"Inter",sans-serif);background:var(--admin-page-bg,var(--adm-bg))}.admin-sidebar nav :is(button,a).active{box-shadow:inset 3px 0 var(--admin-primary,var(--adm-wine))}.adm-status,.admin-sidebar nav :is(button,a).active i{color:var(--admin-primary,var(--adm-wine))}.admin-toolbar>button,.entry-modal .save,.settings-save .save{background:var(--admin-primary,var(--adm-wine))!important}.top-icon{min-width:44px;min-height:44px}.theme-dark{--adm-bg:#111827;--adm-card:#182132;--adm-line:#344155;--adm-muted:#a8b2c2;color:#edf2f7}.theme-dark .admin-content,.theme-dark .admin-main{background:#111827}.theme-dark .admin-panel,.theme-dark .admin-sidebar,.theme-dark .admin-top,.theme-dark .product-editor-aside>article,.theme-dark .product-section,.theme-dark .settings-card,.theme-dark .sidebar-foot,.theme-dark .summary-row article{background:#182132;color:#edf2f7}.theme-dark .admin-page-heading p,.theme-dark .admin-sidebar nav :is(button,a),.theme-dark .sidebar-foot a{color:#c5cfdd}.theme-dark .admin-sidebar nav :is(button,a).active,.theme-dark .admin-sidebar nav :is(button,a):hover,.theme-dark .table-wrap th{background:#263247;color:#fff}.theme-dark input,.theme-dark select,.theme-dark textarea{background:#111827!important;color:#fff;border-color:#46536a!important}.theme-dark .table-wrap td{border-color:#344155}.theme-dark .admin-user>span{background:var(--admin-primary)}.product-mini-dashboard{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.product-mini-dashboard article{min-height:90px;padding:17px;border:1px solid var(--adm-line);border-radius:10px;background:var(--adm-card)}.product-mini-dashboard small{display:block;color:var(--adm-muted);text-transform:uppercase;letter-spacing:.07em}.product-mini-dashboard b{display:block;margin-top:8px;font-size:25px}.admin-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;border-top:1px solid var(--adm-line)}.admin-pagination>span{color:var(--adm-muted);font-size:13px}.admin-pagination>div{display:flex;gap:5px;flex-wrap:wrap}.admin-pagination button{min-width:44px;min-height:44px;border:1px solid var(--adm-line);border-radius:6px;background:var(--adm-card);cursor:pointer}.admin-pagination button.active{background:var(--admin-primary);border-color:var(--admin-primary);color:#fff}.admin-pagination button:disabled{opacity:.4;cursor:not-allowed}.required-mark{font-style:normal;color:#d12337;font-weight:800}.entry-modal input:invalid.field-invalid,.entry-modal select:invalid.field-invalid,.field-invalid{border-color:#d12337!important;background:#fff5f5!important}.entry-modal.has-validation-errors:before,.settings-form.has-validation-errors:before{content:attr(data-validation);display:block;position:sticky;top:0;z-index:12;padding:13px 18px;background:#a61b2b;color:#fff;font-weight:700}.entry-modal.upload-progress:after,.settings-form.upload-progress:after{content:attr(data-upload-status);position:fixed;right:24px;bottom:24px;z-index:100;padding:14px 18px;border-radius:8px;background:#0f1729;color:#fff;box-shadow:0 12px 35px rgba(0,0,0,.3)}.role-permissions{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:16px;border:1px solid var(--adm-line);border-radius:8px;background:#f8fafc}.role-explainer{display:flex;flex-direction:column;justify-content:center;gap:4px}.role-explainer span{color:var(--adm-muted);font-size:13px}.permission-groups{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px}.permission-groups fieldset{padding:12px;border:1px solid var(--adm-line);border-radius:7px;background:#fff}.permission-groups legend{width:100%;display:flex;align-items:center;justify-content:space-between;padding:0 4px}.permission-groups legend button{border:0;background:transparent;color:var(--admin-primary);font-size:12px;cursor:pointer}.permission-groups fieldset>label{display:flex;align-items:center;gap:8px;margin:8px 0}.permission-groups input{width:18px;height:18px}.theme-dark .permission-groups fieldset,.theme-dark .role-permissions{background:#111827}.settings-page{max-width:1220px}.settings-form{display:grid;gap:15px}.settings-card{border:1px solid var(--adm-line);border-radius:12px;background:#fff;overflow:hidden}.settings-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:22px;border-bottom:1px solid var(--adm-line)}.settings-card>header small{color:var(--admin-primary);font-weight:800;letter-spacing:.09em}.settings-card>header h2{margin:4px 0;font-size:22px}.settings-card>header p{margin:4px 0;color:var(--adm-muted)}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:22px}.settings-grid>label{display:grid;gap:7px;font-weight:600}.settings-grid input,.settings-grid select{width:100%;height:48px;padding:10px;border:1px solid var(--adm-line);border-radius:7px;background:#fff}.settings-grid input[type=color]{padding:5px}.settings-grid code{color:var(--adm-muted)}.settings-grid>.wide{grid-column:1/-1}.settings-toggle{display:flex!important;align-items:center;gap:12px}.settings-toggle>input[type=checkbox]{width:22px;height:22px}.settings-toggle span{display:flex;flex-direction:column}.settings-toggle small{color:var(--adm-muted)}.asset-settings{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:22px}.asset-settings>label{display:grid;gap:9px;padding:16px;border:1px solid var(--adm-line);border-radius:8px}.asset-settings img{width:110px;height:110px;object-fit:contain;background:#f8fafc;border:1px solid var(--adm-line)}.asset-settings small{color:var(--adm-muted)}.theme-editor{display:grid;grid-template-columns:1fr 1.2fr;gap:20px;padding:22px}.theme-editor>.settings-grid{padding:0}.reset-theme{min-height:40px;border:1px solid var(--adm-line);border-radius:7px;background:transparent;padding:0 14px}.theme-presets{display:flex;gap:8px;flex-wrap:wrap}.theme-presets button{min-height:44px;border:1px solid var(--adm-line);border-radius:7px;background:#fff;padding:0 12px;display:flex;align-items:center;gap:8px}.theme-presets i{width:18px;height:18px;border-radius:50%}.theme-preview{min-height:320px;display:grid;grid-template-columns:130px 1fr;border:1px solid var(--adm-line);border-radius:10px;overflow:hidden;background:var(--preview-bg)}.theme-preview>aside{display:flex;flex-direction:column;gap:7px;padding:18px;background:#fff}.theme-preview>aside b{margin-bottom:15px}.theme-preview>aside span{padding:8px;border-radius:5px}.theme-preview>aside span.active{background:var(--preview-primary);color:#fff}.theme-preview>main{padding:24px;color:#1f2937}.theme-preview>main>small{color:var(--preview-primary)}.theme-preview>main h3{font-size:24px}.theme-preview>main>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.theme-preview article{padding:15px;background:#fff;border-radius:7px}.theme-preview article b,.theme-preview article span{display:block}.theme-preview article b{font-size:22px;margin-top:5px}.theme-preview main>button{margin-top:16px;min-height:44px;border:0;border-radius:6px;background:var(--preview-primary);color:#fff;padding:0 15px}.theme-preview.dark{background:#111827}.theme-preview.dark>aside{background:#1f2937;color:#fff}.theme-preview.dark>main{color:#fff}.theme-preview.dark article{background:#1f2937}.settings-save{position:sticky;bottom:0;z-index:10;display:flex!important;align-items:center;justify-content:space-between;gap:15px;padding:16px 22px!important;border:1px solid var(--adm-line);border-radius:10px;background:#fff!important;color:#111!important}.settings-save .save{min-height:46px;border:0;border-radius:7px;color:#fff;padding:0 20px}@media(max-width:900px){.product-mini-dashboard{grid-template-columns:1fr 1fr}.asset-settings,.permission-groups,.theme-editor{grid-template-columns:1fr}.admin-pagination{align-items:flex-start;flex-direction:column}.theme-preview{min-height:280px}}@media(max-width:640px){.asset-settings,.product-mini-dashboard,.role-permissions,.settings-grid{grid-template-columns:1fr}.permission-groups{grid-column:1}.settings-card>header{flex-direction:column}.theme-preview{grid-template-columns:95px 1fr}.theme-preview>main{padding:15px}.theme-preview>main>div{grid-template-columns:1fr}.settings-save{align-items:stretch;flex-direction:column}.admin-pagination>div,.settings-save .save{width:100%}.admin-pagination button{flex:1}.entry-modal.upload-progress:after,.settings-form.upload-progress:after{left:12px;right:12px;bottom:12px}}@media(max-width:760px){.expense-import-tools{width:100%}.expense-import-tools button{flex:1;min-width:145px}.expense-import-note{margin-top:0}}.dashboard-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}.dashboard-kpis .kpi-button{min-width:0}.dashboard-kpis .kpi-button h2{white-space:nowrap}.payroll-subheads{max-height:calc(100vh - 150px);overflow-y:auto}.payroll-subheads>header{position:sticky;top:0;z-index:2}.payroll-subheads>header h3{margin:2px 0 8px;font-size:18px}.payroll-subheads>header input{width:100%;height:38px;padding:0 11px;border:1px solid rgba(255,255,255,.32);border-radius:6px;background:rgba(255,255,255,.12);color:#fff}.payroll-subheads>header input::placeholder{color:#dccbd0}.payroll-subheads>button>strong{font-size:12px}.payroll-subheads .payroll-advance{color:#157347}.payroll-subheads .payroll-due{color:#9f1239}.payroll-account-detail>.admin-panel{margin:18px}.payroll-account-detail>.admin-panel+.admin-panel{margin-top:0}.payroll-account-kpis article:last-child{background:#fff7ed}.payroll-account-detail .table-wrap{max-height:420px}.theme-dark .payroll-subheads>button{background:#182132;color:#edf2f7}.theme-dark .payroll-subheads>button.active{background:#34222c}.theme-dark .payroll-account-kpis article{background:#182132}.theme-dark .payroll-account-kpis article:last-child{background:#35271c}@media(max-width:1450px){.dashboard-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1050px){.payroll-subheads{max-height:none;overflow-x:auto;overflow-y:hidden}.payroll-subheads>header{position:sticky;left:0;min-width:250px}.payroll-account-detail>.admin-panel{margin:14px}}@media(max-width:760px){.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.payroll-account-kpis{grid-template-columns:1fr 1fr}}@media(max-width:520px){.dashboard-kpis,.payroll-account-kpis{grid-template-columns:1fr}.payroll-account-detail>.admin-panel{margin:10px}}.variant-inventory{display:grid;gap:11px;padding:14px;border:1px solid #ded6d1;border-radius:8px;background:#fbf9f7}.variant-inventory.disabled{opacity:.55}.variant-inventory-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.variant-inventory-head>div:first-child{display:flex;flex-direction:column;gap:4px}.variant-inventory-head b{font-size:10px;color:#33272a}.variant-inventory-head small{font-size:8px;color:var(--adm-muted);line-height:1.45}.variant-add-colour{display:flex;gap:6px;min-width:250px}.variant-add-colour input{height:36px!important;margin:0!important}.variant-add-colour button{min-width:82px;border:0;border-radius:4px;background:var(--adm-wine);color:#fff;font-size:8px;text-transform:uppercase;letter-spacing:.06em;cursor:pointer}.variant-colour-chips{display:flex;flex-wrap:wrap;gap:6px}.variant-colour-chips span{padding:5px 9px;border:1px solid #dbcfc8;border-radius:999px;background:#fff;color:#5f5050;font-size:8px}.variant-table-wrap{overflow-x:auto;border:1px solid #ddd4cf;border-radius:6px;background:#fff}.variant-table{width:100%;min-width:630px;border-collapse:collapse}.variant-table td,.variant-table th{padding:9px 10px;border-right:1px solid #eee7e3;border-bottom:1px solid #eee7e3;text-align:center}.variant-table th{background:#f5f0ed;color:#6c5c59;font-size:8px;text-transform:uppercase;letter-spacing:.07em}.variant-table td:first-child,.variant-table th:first-child{text-align:left}.variant-table tbody tr:last-child td{border-bottom:0}.variant-table td:last-child,.variant-table th:last-child{border-right:0}.variant-table td:first-child b{display:block;font-size:10px}.variant-table td input{width:76px!important;height:34px!important;margin:0 auto!important;padding:0 6px!important;text-align:center}.variant-table td>strong{color:var(--adm-wine);font-family:Georgia,serif;font-size:17px}.variant-remove{border:1px solid #dfcbc6;border-radius:4px;background:#fff7f5;color:#8a2939;padding:7px 9px;font-size:8px;cursor:pointer}.variant-remove:disabled{opacity:.35;cursor:not-allowed}.variant-total{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:10px 12px;border-radius:5px;background:#3d151d;color:#fff}.variant-total span{font-size:8px;text-transform:uppercase;letter-spacing:.09em}.variant-total b{min-width:40px;color:#d6b46f;font:400 24px Georgia,serif;text-align:right}@media(max-width:700px){.variant-inventory-head{flex-direction:column}.variant-add-colour{width:100%;min-width:0}.variant-add-colour input{min-width:0}.variant-total{justify-content:space-between}}.variant-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.variant-heading>div:first-child{display:flex;flex-direction:column;gap:4px}.variant-heading b{font-size:10px;color:#33272a}.variant-heading span{font-size:8px;color:var(--adm-muted);line-height:1.45}.variant-add{display:flex;gap:6px;min-width:250px}.variant-add input{height:36px!important;margin:0!important}.variant-add button{min-width:82px;border:0;border-radius:4px;background:var(--adm-wine);color:#fff;font-size:8px;text-transform:uppercase;letter-spacing:.06em;cursor:pointer}.variant-chips{display:flex;flex-wrap:wrap;gap:6px}.variant-chips button{display:flex;align-items:center;gap:5px;padding:5px 9px;border:1px solid #dbcfc8;border-radius:999px;background:#fff;color:#5f5050;font-size:8px;cursor:pointer}.variant-chips i,.variant-table td:first-child i{display:inline-block;width:9px;height:9px;margin-right:5px;border-radius:50%;background:#bbb}.variant-chips i[data-colour=red],.variant-table i[data-colour=red]{background:#c62828}.variant-chips i[data-colour=pink],.variant-table i[data-colour=pink]{background:#f06292}.variant-chips i[data-colour=assorted],.variant-table i[data-colour=assorted]{background:linear-gradient(135deg,#c62828 0 33%,#f06292 33% 66%,#7b1fa2 66%)}.variant-chips button>span{color:#8a2939;font-size:10px}@media(max-width:700px){.variant-heading{flex-direction:column}.variant-add{width:100%;min-width:0}.variant-add input{min-width:0}}.backup-page{display:grid;gap:14px;max-width:1320px}.backup-loading{display:flex;flex-direction:column;gap:6px;padding:28px;border:1px solid var(--adm-line);border-radius:12px;background:var(--adm-card)}.backup-loading span{color:var(--adm-muted)}.backup-error{padding:13px 16px;border:1px solid #e7a7aa;border-radius:8px;background:#fff1f2;color:#9f1239;font-weight:700}.backup-hero{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:center;padding:28px;border-radius:14px;background:linear-gradient(130deg,#2c0a12,#681b2b);color:#fff;box-shadow:0 12px 30px rgba(70,15,28,.16)}.backup-card header small,.backup-hero>div>small,.backup-history header small,.github-destination small{font-size:11px;font-weight:800;letter-spacing:.1em}.backup-hero h2{margin:7px 0 8px;font:400 27px Georgia,serif}.backup-hero p{max-width:760px;margin:0;color:#eadde0;line-height:1.6}.backup-hero>button{min-height:86px;display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;align-items:center;gap:2px 10px;padding:16px 18px;border:1px solid #e0bf65;border-radius:9px;background:#fff;color:#351018;text-align:left;cursor:pointer}.backup-hero>button>span{grid-row:1/3;font-size:28px;color:#7a1f37}.backup-hero>button>b{font-size:14px}.backup-hero>button>small{font-size:11px;color:#74656a}.backup-actions button:disabled,.backup-hero>button:disabled{opacity:.58;cursor:wait}.backup-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.backup-kpis article{min-height:106px;padding:17px 18px;border:1px solid var(--adm-line);border-radius:10px;background:var(--adm-card)}.backup-kpis small{display:block;color:var(--adm-muted);font-size:11px;font-weight:800;letter-spacing:.08em}.backup-kpis b{display:block;margin:9px 0 4px;font-size:20px}.backup-kpis span{display:block;color:var(--adm-muted);font-size:12px;overflow-wrap:anywhere}.github-destination{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:17px;align-items:center;padding:20px 22px;border:1px solid #b8c5d6;border-radius:11px;background:#f7f9fc}.github-mark{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:#111827;color:#fff;font-weight:900}.github-destination h3{margin:5px 0 4px;font-size:17px}.github-destination p{margin:0 0 5px}.github-destination a{color:var(--admin-primary);font-weight:800}.github-destination span{display:block;color:#5f6b7c;font-size:12px;line-height:1.5}.github-open{min-height:40px;display:flex;align-items:center;padding:0 14px;border:1px solid #c8d1de;border-radius:7px;background:#fff;text-decoration:none;font-size:12px}.backup-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}.backup-card,.backup-history{border:1px solid var(--adm-line);border-radius:11px;background:var(--adm-card);overflow:hidden}.backup-card>header,.backup-history>header{padding:19px 20px;border-bottom:1px solid var(--adm-line)}.backup-card h3,.backup-history h3{margin:5px 0 0;font-size:18px}.backup-card>p{margin:18px 20px 5px;color:var(--adm-muted)}.backup-card ul{list-style:none;margin:0;padding:4px 20px 18px}.backup-card li{display:grid;grid-template-columns:145px 1fr;gap:12px;padding:13px 0;border-bottom:1px solid var(--adm-line)}.backup-card li:last-child{border-bottom:0}.backup-card li b{font-size:13px}.backup-card li span{color:var(--adm-muted);font-size:12px;line-height:1.5}.backup-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:15px 20px}.backup-actions button{min-height:44px;border:1px solid var(--adm-line);border-radius:7px;background:#fff;color:#2c1520;font-weight:700;cursor:pointer}.backup-warning{display:flex;flex-direction:column;gap:4px;margin:3px 20px 20px;padding:13px;border-left:3px solid #d09a22;background:#fff7dd}.backup-warning b{font-size:12px}.backup-warning span{font-size:11px;line-height:1.5;color:#725b24}.backup-history>header{display:flex;align-items:center;justify-content:space-between}.backup-history>header button{min-height:38px;padding:0 13px;border:1px solid var(--adm-line);border-radius:6px;background:#fff;cursor:pointer}.backup-file{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.theme-dark .github-destination{background:#182132;border-color:#46536a}.theme-dark .github-destination span{color:#a8b2c2}.theme-dark .backup-actions button,.theme-dark .backup-history>header button,.theme-dark .github-open{background:#111827;color:#fff}.theme-dark .backup-warning{background:#493d1c}.theme-dark .backup-warning span{color:#f3dda4}@media(max-width:1050px){.backup-hero{grid-template-columns:1fr}.backup-hero>button{max-width:420px}.backup-kpis{grid-template-columns:1fr 1fr}.backup-grid{grid-template-columns:1fr}}@media(max-width:700px){.backup-hero{padding:20px}.backup-hero h2{font-size:23px}.backup-hero>button{width:100%}.backup-kpis{grid-template-columns:1fr}.github-destination{grid-template-columns:46px 1fr}.github-open{grid-column:1/-1;justify-content:center}.backup-card li{gap:4px}.backup-actions,.backup-card li{grid-template-columns:1fr}}.purchase-entry-modal{width:min(1040px,100%)}.purchase-variant-entry{display:grid;gap:15px;padding:18px;border:1px solid #dacfc9;border-radius:10px;background:#fbf9f7}.purchase-variant-entry>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.purchase-variant-entry>header small{font-size:9px;color:var(--adm-wine);letter-spacing:.1em}.purchase-variant-entry h3{margin:5px 0 3px;font:400 20px Georgia,serif}.purchase-variant-entry header p{margin:0;color:var(--adm-muted);font-size:11px}.logistics-delivery-mode,.purchase-mode{display:flex;gap:6px;padding:5px;border:1px solid var(--adm-line);border-radius:7px;background:#fff}.logistics-delivery-mode button,.purchase-mode button{border:0;border-radius:5px;background:transparent;padding:9px 12px;font-size:10px;cursor:pointer}.logistics-delivery-mode button.active,.purchase-mode button.active{background:var(--adm-wine);color:#fff}.purchase-new-product{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px}.purchase-lines{overflow-x:auto;border:1px solid var(--adm-line);border-radius:8px;background:#fff}.purchase-line,.purchase-line-head{display:grid;grid-template-columns:1.25fr .8fr .8fr 1fr 1fr 38px;gap:10px;align-items:center;min-width:760px;padding:10px 12px}.purchase-line-head{background:#f3eeea;color:var(--adm-muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.purchase-line{border-top:1px solid var(--adm-line)}.purchase-line label span{display:none}.purchase-line input,.purchase-line select{height:38px!important;margin:0!important}.purchase-line>strong{text-align:right;font-size:12px}.purchase-line>button{width:32px;height:32px;border:1px solid #dfcbc6;border-radius:5px;background:#fff7f5;color:#8a2939;cursor:pointer}.purchase-line>button:disabled{opacity:.3;cursor:not-allowed}.purchase-variant-entry>footer{display:flex;align-items:center;justify-content:space-between}.purchase-variant-entry>footer>button{min-height:40px;border:1px solid var(--adm-line);border-radius:6px;background:#fff;padding:0 14px;color:var(--adm-wine);font-weight:700;cursor:pointer}.purchase-variant-entry>footer>span{display:flex;align-items:center;gap:12px}.purchase-variant-entry>footer small{color:var(--adm-muted);text-transform:uppercase}.purchase-variant-entry>footer b{font:400 22px Georgia,serif;color:var(--adm-wine)}.logistics-delivery-mode{align-items:center}.logistics-delivery-mode>span{margin-right:auto;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.logistics-page .summary-row{grid-template-columns:repeat(4,1fr)}.logistics-account-layout .vendor-subheads>button strong{font-size:11px}.order-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.attention-age{display:block;margin-top:6px;color:#a45a23;font-size:10px;font-weight:700}.theme-dark .logistics-delivery-mode,.theme-dark .purchase-lines,.theme-dark .purchase-mode,.theme-dark .purchase-variant-entry{background:#182132}@media(max-width:800px){.purchase-variant-entry>header{flex-direction:column}.logistics-page .summary-row,.purchase-new-product{grid-template-columns:1fr 1fr}}@media(max-width:520px){.purchase-new-product{grid-template-columns:1fr}.logistics-delivery-mode,.purchase-mode{width:100%;flex-wrap:wrap}.logistics-delivery-mode button,.purchase-mode button{flex:1}.purchase-variant-entry>footer{align-items:flex-start;flex-direction:column;gap:12px}.logistics-page .summary-row{grid-template-columns:1fr}}.entry-fields>.wide{grid-column:1/-1;min-width:0}.entry-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-fields>*{min-width:0}.entry-modal.purchase-entry-modal{width:min(1040px,100%);display:flex;flex-direction:column;max-height:calc(100dvh - 30px);overflow:hidden}.purchase-entry-modal>.entry-fields{min-height:0;overflow-y:auto;overflow-x:hidden}.purchase-entry-modal>footer,.purchase-entry-modal>header{flex-shrink:0}.purchase-variant-entry{grid-column:1/-1;min-width:0}.purchase-line,.purchase-line-head{min-width:0;grid-template-columns:minmax(100px,1.2fr) minmax(65px,.7fr) minmax(65px,.7fr) minmax(90px,1fr) minmax(80px,1fr) 38px}.purchase-variant-entry>footer{background:transparent;color:inherit;padding:12px 0}.approval-detail.approval-popup{position:relative;background:#fff;width:min(1040px,100%);max-height:calc(100dvh - 30px);overflow:auto;margin:0!important;padding:24px;border-radius:12px}.approval-close{display:block;margin-left:auto;background:white;border:1px solid #cbd5e1;border-radius:6px;min-width:44px;min-height:44px;font-size:24px}.approval-review-dialog{max-height:calc(100dvh - 30px);overflow:auto}.review-total input{width:100%;min-height:44px;padding:8px;border:1px solid #cbd5e1;border-radius:5px;font-size:16px}.dashboard-date-filter{padding:0 28px}.dashboard-date-filter>small{display:block;margin-bottom:12px;color:#64748b}.filter-strip{flex-wrap:wrap}.filter-strip button{min-height:40px}.order-partner-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;border:1px solid #cbd5e1;border-radius:8px;padding:16px}.order-partner-fields legend{font-size:16px;font-weight:700}.order-partner-fields>label:first-of-type,.order-partner-fields>p{grid-column:1/-1}.order-partner-fields>p{font-size:14px;color:#64748b;margin:0}.histogram-wrap rect:focus,.histogram-wrap rect:hover{filter:brightness(.8);outline:2px solid #7a1f37;outline-offset:2px}@media(max-width:760px){.entry-fields{grid-template-columns:minmax(0,1fr)}.entry-modal.purchase-entry-modal{max-height:calc(100dvh - 20px)}.purchase-line-head{display:none}.purchase-line{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.purchase-line label span{display:block;font-size:14px;margin-bottom:5px}.purchase-line>strong{text-align:left}.purchase-variant-entry{padding:12px}.order-partner-fields{grid-template-columns:minmax(0,1fr)}.dashboard-date-filter{padding:0 14px}}.chart-value{min-height:40px;padding:8px 12px;color:#671d2b;font-weight:700;font-size:14px}.staff-app-shell .entry-modal.purchase-entry-modal{width:min(1040px,100%);height:auto;max-height:calc(100dvh - 20px)}.staff-app-shell .entry-modal.purchase-entry-modal>footer{position:static}.staff-app-shell .entry-modal.purchase-entry-modal>.entry-fields{padding-bottom:20px}.return-order-summary{padding:14px;background:#f3f6fa;border:1px solid #cbd5e1;border-radius:8px}.return-order-summary p{margin:6px 0 0}.return-lines{display:grid;gap:10px}.return-lines article{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(90px,.6fr) minmax(140px,1fr);gap:12px;padding:14px;border:1px solid #cbd5e1;border-radius:8px;align-items:center}.return-lines small{display:block;color:#64748b;font-weight:400}.entry-fields .cash-handover{display:flex;align-items:center;gap:12px;text-transform:none;letter-spacing:0;background:#e8f4ed;padding:14px;font-size:15px}.entry-fields .cash-handover input{width:22px;min-width:22px;height:22px;margin:0}@media(max-width:760px){.return-lines article{grid-template-columns:minmax(0,1fr)}}.master-login-card{box-sizing:border-box;max-width:100%}.master-login-form label,.master-login-heading p,.master-login-help{font-size:14px;line-height:1.5}.master-login-brand small,.master-login-heading>small{font-size:12px}.master-login-form input{box-sizing:border-box;min-width:0;font-size:16px;min-height:48px}.master-login-form button{min-height:48px;font-size:15px;white-space:normal}.master-login-form :is(input,button):focus-visible,.master-login-help a:focus-visible{outline:2px solid #7a1f37;outline-offset:3px}@media(max-width:480px){.master-login-page{padding:16px}.master-login-card{padding:24px}.master-login-heading h1{font-size:32px}}a.admin-module-link{text-decoration:none;font-family:inherit}a.admin-module-link.top-icon{display:inline-grid;place-items:center}a.admin-module-link:focus-visible{outline:2px solid var(--admin-primary,var(--adm-wine));outline-offset:3px}.partner-ledger tfoot td{position:sticky;bottom:0;z-index:2;background:#f4e9ed;border-top:2px solid var(--admin-primary,var(--adm-wine));font-weight:750}.partner-ledger-summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:16px 20px;border-top:1px solid var(--adm-line)}.partner-ledger-summary strong{font-size:14px;overflow-wrap:anywhere}.partner-ledger-summary>span{flex-basis:100%;font-size:12px;color:var(--adm-muted)}.theme-dark .partner-ledger tfoot td{background:#263247}.logistics-ledger-page{display:grid;gap:16px;min-width:0}.logistics-ledger-page .filter-strip,.logistics-ledger-page .module-toolbar{margin-bottom:0}.logistics-subtitle{color:var(--adm-muted);font-size:14px;line-height:1.5}.shipment-partner-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border:1px solid var(--adm-line);border-radius:9px;background:var(--adm-card,#fff)}.shipment-partner-head h2{margin:0 0 7px;font-family:Georgia,serif;font-size:28px}.shipment-partner-head p{margin:0;color:var(--adm-muted);font-size:14px}.shipment-head-actions{display:flex;flex-wrap:wrap;gap:9px}.shipment-entry-filters button,.shipment-head-actions button,.shipment-selected-parcel button{min-height:40px;padding:9px 16px;border:1px solid var(--adm-line);border-radius:6px;background:var(--adm-card,#fff);color:inherit;font-size:14px;cursor:pointer}.shipment-entry-filters button.active,.shipment-head-actions .primary{background:var(--adm-wine);border-color:var(--adm-wine);color:#fff}.shipment-head-actions button:disabled{opacity:.45;cursor:not-allowed}.shipment-summary-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.shipment-summary-cards article{display:flex;flex-direction:column;gap:8px;padding:18px 20px;border:1px solid var(--adm-line);border-top:4px solid #8793a2;border-radius:7px;background:var(--adm-card,#fff)}.shipment-summary-cards article.transit{border-top-color:#eda22c}.shipment-summary-cards article.collected{border-top-color:#599966}.shipment-summary-cards article.due{border-top-color:var(--adm-wine)}.shipment-summary-cards small{font-size:14px;text-transform:uppercase;color:var(--adm-muted)}.shipment-summary-cards strong{font-size:clamp(22px,2vw,32px);font-family:Georgia,serif;overflow-wrap:anywhere}.shipment-summary-cards span{font-size:14px;line-height:1.5;color:var(--adm-muted)}.shipment-collection-alert,.shipment-handover-note{margin:0;padding:12px 17px;border:1px solid #f0cf95;border-radius:7px;background:#fff5e2;color:#784500;font-size:14px;line-height:1.55}.shipment-collection-alert{background:#fff9ee}.shipment-ledger-card{border:1px solid var(--adm-line);border-radius:9px;background:var(--adm-card,#fff);min-width:0;overflow:hidden}.shipment-ledger-card>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 20px 6px}.shipment-ledger-card h3,.shipment-selected-parcel h3{margin:0;font-family:Georgia,serif;font-size:22px}.shipment-ledger-card>header>span{color:var(--adm-muted);font-size:14px}.shipment-ledger-controls{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:12px 20px 16px}.shipment-ledger-controls .register-search{flex:1 1 340px;max-width:650px;min-width:0}.shipment-ledger-controls input{background:var(--adm-card,#fff);color:inherit;font-size:14px!important;min-height:42px}.shipment-entry-filters{display:flex;flex-wrap:wrap;gap:8px}.shipment-result-count{font-size:13px;color:var(--adm-muted);align-self:center}.shipment-running-table{margin:0 12px;max-height:560px;border:1px solid var(--adm-line);border-radius:7px}.shipment-running-table .table-wrap{max-height:none;overflow:visible}.shipment-running-table table{min-width:1000px}.shipment-running-table td,.shipment-running-table th{font-size:14px!important;padding:13px 14px!important}.shipment-running-table :is(th,td):nth-child(n+5):nth-child(-n+7){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.shipment-running-table .record-link{font-size:14px;padding:2px;text-align:left}.shipment-running-table .record-link[aria-pressed=true]{font-weight:750}.shipment-ledger-badge{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:4px 10px;border:1px solid var(--adm-line);border-radius:999px;background:#f1f3f6;color:#344357;font-size:13px;white-space:nowrap}.shipment-ledger-badge.transit{background:#fff1cf;color:#795000;border-color:#efd08c}.shipment-ledger-badge.delivered{background:#e8f3e9;color:#235a30;border-color:#c6dec8}.shipment-ledger-badge.returned{background:#f9e9ed;color:#842342;border-color:#e8c7d1}.shipment-ledger-notes{padding:12px 20px 18px;font-size:14px;color:var(--adm-muted)}.shipment-ledger-notes p{margin:4px 0;line-height:1.55}.shipment-ledger-notes>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:12px;color:var(--adm-text,#172033)}.shipment-selected-parcel{border:1px solid var(--adm-line);border-left:4px solid var(--adm-wine);border-radius:8px;background:var(--adm-card,#fff);padding:20px 24px}.shipment-selected-parcel>header{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.shipment-selected-parcel>header>button{margin-left:auto}.shipment-parcel-amounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:20px}.shipment-parcel-amounts>div{display:flex;flex-direction:column;gap:5px;border-right:1px solid var(--adm-line)}.shipment-parcel-amounts>div:last-child{border:0}.shipment-parcel-amounts span,.shipment-selected-parcel p{font-size:14px;color:var(--adm-muted);line-height:1.55}.shipment-parcel-amounts b{font-family:Georgia,serif;font-size:23px;overflow-wrap:anywhere}.shipment-selected-parcel p{margin:17px 0 0}.shipment-performance .dashboard-analytics-grid{padding-top:10px}.theme-dark .shipment-collection-alert,.theme-dark .shipment-handover-note{background:#352a16;border-color:#775d2c;color:#f5d590}.theme-dark .shipment-ledger-badge{background:#28354a;color:#dfe8f6;border-color:#52617a}.theme-dark .shipment-ledger-badge.transit{background:#493615;color:#ffe0a0}.theme-dark .shipment-ledger-badge.delivered{background:#203f2a;color:#c7ebcf}.theme-dark .shipment-ledger-badge.returned{background:#492638;color:#f8d2df}.theme-dark .shipment-ledger-notes>div{color:#e5edf7}@media(max-width:1100px){.shipment-summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.shipment-partner-head{flex-wrap:wrap}.shipment-ledger-controls .register-search{max-width:none}.shipment-ledger-card>header{align-items:flex-start;flex-wrap:wrap}}@media(max-width:600px){.shipment-summary-cards{gap:10px}.shipment-summary-cards article{padding:13px}.shipment-summary-cards strong{font-size:22px}.shipment-partner-head,.shipment-selected-parcel{padding:17px}.shipment-head-actions{width:100%}.shipment-parcel-amounts{grid-template-columns:1fr;gap:13px}.shipment-parcel-amounts>div{border-right:0;border-bottom:1px solid var(--adm-line);padding-bottom:12px}.shipment-selected-parcel>header>button{margin-left:0}.shipment-entry-filters button{padding:8px 10px}.shipment-ledger-controls{padding:10px 12px}.shipment-ledger-card>header{padding:16px 12px 6px}}@media(max-width:380px){.shipment-summary-cards{grid-template-columns:1fr}}.logistics-compact-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.logistics-compact-actions button{padding:8px 12px;min-height:36px;border:1px solid var(--adm-line);border-radius:6px;background:var(--adm-card,#fff);color:inherit;font-size:14px;cursor:pointer}.logistics-compact-actions button:disabled{opacity:.45;cursor:not-allowed}.logistics-ledger-page .shipment-partner-head{padding:12px 16px;gap:12px}.logistics-ledger-page .shipment-partner-head>div:first-child{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px}.logistics-ledger-page .shipment-partner-head h2{font-family:inherit;font-size:21px;margin:0}.logistics-ledger-page .shipment-head-actions{gap:6px}.logistics-ledger-page .shipment-head-actions button{min-height:36px;padding:7px 12px}.partner-payment-history td{vertical-align:top;padding-top:10px!important;padding-bottom:10px!important}.payment-allocation-detail{max-width:320px;min-width:100px}.payment-allocation-detail summary{cursor:pointer;color:var(--adm-wine);font-weight:600;white-space:nowrap;padding:3px 0}.payment-allocation-detail>div{padding:10px 0 0;line-height:1.5;overflow-wrap:anywhere}.payment-allocation-detail p{margin:4px 0 10px}@media(max-width:600px){.logistics-compact-actions{justify-content:flex-start}.logistics-ledger-page .shipment-head-actions{width:auto}.logistics-ledger-page .shipment-partner-head{padding:12px}}.invoice-preview-wrap{z-index:120}.invoice-preview-dialog{width:min(1150px,96vw);max-height:94dvh}.invoice-preview-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:16px}.invoice-preview-controls label{display:grid;gap:5px;min-width:180px;font-size:14px}.invoice-preview-controls input,.invoice-preview-controls select{padding:10px;color:#192432;background:white;border:1px solid #b9c5d4;border-radius:6px}.invoice-preview-dialog iframe{display:block;width:100%;height:65dvh;border:0;background:#edf0f4}.invoice-error,.invoice-snapshot-note{padding:0 16px;font-size:14px}.invoice-error{color:#a32132}.billing-profile-note{line-height:1.6;color:#526175}.invoice-preview-dialog{position:relative;z-index:2;overflow:auto;background:#fff;color:#192432;border-radius:10px;padding:18px;box-shadow:0 20px 70px #0004;font:14px/1.5 Arial,sans-serif}.invoice-preview-dialog>header{display:flex;justify-content:space-between;gap:16px;align-items:start}.invoice-preview-dialog h2{margin:0;font-size:22px}.invoice-preview-button,.invoice-preview-dialog button{border:1px solid #c5ceda;border-radius:6px;background:#fff;color:#751d36;padding:10px 14px;cursor:pointer;font-size:14px}.invoice-preview-dialog button:disabled{opacity:.55;cursor:wait}.invoice-preview-dialog .live-select{min-width:220px}.invoice-preview-wrap{--adm-line:#c5ceda;--adm-wine:#751d36}.migrated-order-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.migrated-order-totals article{padding:18px;background:var(--admin-card,#fff);border:1px solid var(--admin-border,#ddd);border-radius:8px}.migrated-order-totals small,.migrated-order-totals strong{display:block}.migrated-order-totals strong{font-size:22px;margin-top:8px}.migrated-order{border:1px solid var(--admin-border,#ddd);border-radius:8px;margin:10px 0;background:var(--admin-card,#fff)}.migrated-order summary{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;cursor:pointer;padding:16px;list-style:inside}.migrated-order summary strong{color:var(--admin-primary,#7a1f37)}.migrated-order-body{padding:0 18px 18px;border-top:1px solid var(--admin-border,#ddd)}.migrated-order-table{overflow-x:auto}.migrated-order table{width:100%;border-collapse:collapse;text-align:left}.migrated-order td,.migrated-order th{padding:10px;border-bottom:1px solid var(--admin-border,#ddd)}@media(max-width:640px){.migrated-order-totals{grid-template-columns:1fr}.migrated-order summary{gap:8px 14px}.migrated-order summary span{font-size:13px}.migrated-order table{min-width:480px}}.migrated-record-actions,.migrated-record-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:18px 0}.migrated-record-actions label,.migrated-record-filters label{display:grid;gap:6px}.migrated-record-actions p,.migrated-record-actions small{flex-basis:100%}.migrated-record-actions input,.migrated-record-actions select,.migrated-record-filters select{padding:10px;max-width:100%;border:1px solid var(--admin-border,#ddd);border-radius:5px}.migrated-editor{margin:16px 0}.migrated-editor fieldset{border:1px solid #d6d3d1;padding:16px;margin:12px 0;min-width:0}.migrated-edit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.migrated-editor label{display:flex;flex-direction:column;gap:5px;margin-bottom:10px}.migrated-editor input{width:100%;padding:9px;border:1px solid #aaa;border-radius:4px;background:var(--surface,#fff);color:inherit}.migrated-editor button{margin:8px 8px 8px 0;padding:8px 12px}.migrated-orders{min-width:0}.migrated-grid-scroll{width:100%;max-width:100%;overflow-x:auto;border:1px solid var(--admin-border,#ddd);border-radius:10px;background:var(--admin-card,#fff)}.migrated-grid{width:100%;min-width:1030px;border-collapse:collapse;font-size:13px;text-align:left}.migrated-grid>thead{background:#f5f1ee;color:#514247}.migrated-grid>thead th{padding:13px 10px;white-space:nowrap;border-bottom:2px solid #ded5d6}.migrated-grid>thead button{font:inherit;font-weight:600;color:inherit;padding:0;border:0;background:none;cursor:pointer}.migrated-grid>tbody>tr>td,.migrated-grid>tbody>tr>th{padding:13px 10px;border-bottom:1px solid var(--admin-border,#eee);vertical-align:middle}.migrated-grid>tbody>tr>th{color:#702033;font-weight:600;white-space:nowrap}.migrated-grid>tbody>tr:nth-child(2n){background:#fcfaf8}.migrated-grid>tbody>tr.is-selected,.migrated-grid>tbody>tr:hover{background:#faf1f3}.migrated-grid .number-cell{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.migrated-grid .date-cell{white-space:nowrap;color:#665f61}.migrated-grid small{display:block;color:#777}.history-badge{display:inline-block;padding:5px 8px;border-radius:20px;background:#fff1d5;color:#77510b;font-size:12px;white-space:nowrap}.history-badge.done{background:#e6f4eb;color:#20623b}.history-badge.cancelled{background:#f7e6e8;color:#943b4b}.history-payment{color:#635c60}.history-payment,.history-row-actions{white-space:nowrap}.history-row-actions button{border:1px solid #d5c5c9;background:white;color:#702033;padding:6px 9px;border-radius:5px;cursor:pointer;margin-right:5px}.history-row-actions .history-edit-button{background:#702033;color:white;border-color:#702033}.history-row-actions button:disabled{opacity:.5;cursor:not-allowed}.migrated-grid>tbody>.history-detail-row>td{padding:16px;background:#fff}.history-detail-row .migrated-order-body{border:0;padding:0}.history-detail-row table{width:100%;text-align:left;border-collapse:collapse}.history-detail-row table td,.history-detail-row table th{padding:10px;border-bottom:1px solid #ddd}.migrated-grid .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.order-analytics>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px}.order-analytics>header h3{margin:0;font-size:19px}.order-analytics>header p{margin:4px 0 0;color:#475569;font-size:13px}.order-analytics>header>span{font-size:12px;color:#475569;text-align:right}.order-analytics-body{display:grid;grid-template-columns:minmax(330px,.95fr) minmax(0,1.35fr);align-items:center;gap:24px;padding:22px;min-height:285px}.order-analytics-distribution{display:flex;align-items:center;justify-content:center;gap:26px}.order-analytics-donut{height:190px;width:190px;flex:0 0 190px;border-radius:50%;display:grid;place-items:center;position:relative}.order-analytics-donut:before{content:"";position:absolute;inset:48px;background:white;border-radius:50%}.order-analytics-donut>span{position:relative;display:flex;flex-direction:column;align-items:center;color:#0f172a}.order-analytics-donut small{font-size:12px}.order-analytics-donut b{font-size:24px;line-height:1.2}.order-analytics-legend{display:grid;gap:16px}.order-analytics-legend>div{display:flex;align-items:flex-start;gap:9px}.order-analytics-legend i{width:11px;height:11px;border-radius:50%;flex:none;margin-top:4px}.order-analytics-legend span{font-size:14px;color:#0f172a;font-weight:600}.order-analytics-legend small{display:block;font-size:12px;font-weight:400;margin-top:3px;color:#475569}.order-analytics-volume{min-width:0}.order-analytics .histogram-wrap{padding:0}.order-analytics .histogram-wrap svg{height:auto;min-width:360px;max-height:260px}.order-analytics .histogram-wrap svg line{stroke-dasharray:3 3}.order-analytics .histogram-wrap .bar-primary{fill:#111827;cursor:pointer}.order-analytics .chart-value{font-size:11px;min-height:20px;color:#64748b}@media(max-width:1000px){.order-analytics-body{grid-template-columns:1fr}.order-analytics-volume{width:100%}.order-analytics .histogram-wrap svg{max-height:280px}}@media(max-width:480px){.order-analytics-body{padding:16px;gap:20px}.order-analytics-distribution{gap:18px}.order-analytics-donut{width:145px;height:145px;flex-basis:145px}.order-analytics-donut:before{inset:36px}.order-analytics-legend span{font-size:12px}.order-analytics-legend small{font-size:11px}.order-analytics>header{align-items:flex-start}.order-analytics>header>span{max-width:120px}}.master-login-form .login-password-field{display:block;position:relative}.master-login-form .login-password-field input{padding-right:52px}.master-login-form .login-password-toggle{position:absolute;right:2px;top:2px;bottom:2px;width:44px;height:auto;min-height:0;margin:0;padding:0;display:grid;place-items:center;background:transparent;color:#6d1e2e;border:0}.master-login-form .login-password-toggle:focus-visible{outline:2px solid #741f31;outline-offset:-3px}@media print{.srm-context-help{display:none!important}}