:root{font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;background:#0e1012;color:#f3f3f3}*{box-sizing:border-box}body{margin:0}header{background:#191b1e;border-bottom:1px solid #34373a;padding:20px 5%;display:flex;align-items:center;justify-content:space-between}.logo{font-weight:850;font-size:27px;letter-spacing:2px}.logo span{color:#f7f7f5}.logo small{display:block;font-size:11px;color:#b0b2b6;letter-spacing:1px;font-weight:400}main{max-width:1150px;margin:30px auto;padding:0 20px}section{background:#1b1e21;border:1px solid #35383b;border-radius:14px;margin:16px 0;padding:22px}h2{margin:0 0 20px}h3{font-size:17px}label{display:block;font-size:13px;color:#d1d1d1}input,select,textarea{width:100%;background:#272a2e;color:white;border:1px solid #555a60;border-radius:7px;padding:12px;margin:6px 0 15px;font:inherit}button{background:#f7f7f5;border:0;color:#191919;font-size:14px;font-weight:750;padding:12px 16px;border-radius:8px;cursor:pointer}button.secondary{background:#363b40;color:#f5f5f5}button:disabled{opacity:.5;cursor:not-allowed}nav{display:flex;gap:10px;flex-wrap:wrap}.hidden{display:none!important}.muted{color:#aeb3b9}#status{min-height:24px;color:#f7f7f5}#status.error{color:#ff8a8a}.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.metric,.subcard{border:1px solid #41454a;border-radius:10px;padding:16px}.metric small{color:#acb0b5;display:block}.metric strong{font-size:26px}.twoCols{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.tableWrap{overflow-x:auto}table{width:100%;min-width:600px;border-collapse:collapse;margin-top:15px}td,th{border-bottom:1px solid #3b3d40;padding:12px;text-align:left}th{font-size:13px;color:#f7f7f5}td{font-size:14px}textarea{min-height:76px}form button{margin-top:5px}@media(max-width:600px){main{margin:12px auto;padding:0 12px}section{padding:14px}.logo{font-size:21px}nav button{flex:1}}

/* HSG identity / black + white; red only for attention */
:root{--hsg-black:#0b0b0b;--hsg-white:#f7f7f5;--hsg-red:#d91f26;background:var(--hsg-black);color:var(--hsg-white)}
header{background:#121212;border-bottom-color:#333}
.logo span{color:var(--hsg-white)}
section{background:#1d1d1d;border-color:#393939}
button:not(.secondary){background:var(--hsg-white);color:var(--hsg-black)}
button:not(.secondary):hover{background:#dedede}
button.secondary{background:#353535;color:white}
button.secondary:hover{background:#484848}
input,select,textarea{background:#111;border-color:#555}
th{color:var(--hsg-white)}
#status{color:var(--hsg-white)}
:focus-visible{outline:2px solid var(--hsg-red);outline-offset:2px}

/* Official HSG logo in private administration */
header .logo{display:flex;align-items:center;gap:12px;text-decoration:none;color:#f3f3f3;font-weight:800;letter-spacing:.04em}
header .admin-logo{width:92px;height:52px;object-fit:contain;filter:invert(1)}
header .admin-brand-copy{display:flex;flex-direction:column;gap:3px}
header .admin-brand-copy>span{font-size:25px;line-height:1}
header .admin-brand-copy small{display:block;font-size:10px;letter-spacing:.03em}
@media(max-width:580px){header .admin-logo{width:70px;height:44px}header .admin-brand-copy>span{font-size:19px}header .admin-brand-copy small{font-size:9px}}

#commercialForm{max-width:560px;margin-bottom:20px}#commercialStatus{min-height:28px}#commercialRows video{max-width:110px;max-height:75px;object-fit:contain;background:#111;border-radius:4px}#commercialRows td{vertical-align:middle}#commercialRows button{margin:3px}
/* Showroom POS & daily sales close */
#posPayment,#cashClose{margin:22px 0;background:#181818}
#posPayment h3,#cashClose h3{margin-top:0}
#cashClose .cashCloseActions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:15px 0}
#cashClose .cashCloseActions button{flex:1;min-width:140px}
#cashClose h4{margin:20px 0 5px}
#cashClose table{min-width:390px}
#cashCloseSummary{margin-top:10px}
#cashCloseStatus{min-height:20px}
@media(max-width:600px){#cashClose .cashCloseActions{padding:0 0 10px}#cashClose .cashCloseActions button{width:100%}}

/* ===== HSG POS / responsive premium interface 2026 ===== */
#sales.pos-section{background:#111;border:1px solid #292929;border-radius:22px;padding:clamp(15px,3vw,30px);overflow:hidden;scroll-margin-top:20px}
#sales .pos-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}
#sales .pos-heading h2{font-size:clamp(28px,4vw,40px);letter-spacing:-.045em;line-height:1.1;margin:9px 0 10px}
#sales .pos-heading p{margin:0;max-width:580px;font-size:14px;line-height:1.5}
#sales .pos-eyebrow{font-size:10px;letter-spacing:.16em;font-weight:800;color:#e5e5e5}
#sales .pos-dot{display:inline-block;background:#e12b31;height:8px;width:8px;border-radius:50%;margin-right:7px;box-shadow:0 0 0 4px #e12b311d}
#sales .pos-live-pill{white-space:nowrap;color:#dadada;border:1px solid #363636;background:#1b1b1b;border-radius:999px;padding:10px 13px;font-size:12px}
#sales .pos-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:20px 0 32px}
#sales .pos-shortcut{display:flex;align-items:center;gap:13px;min-width:0;border:1px solid #343434;text-decoration:none;color:#f8f8f8;background:linear-gradient(160deg,#242424,#181818);padding:17px;border-radius:13px;transition:.15s}
#sales .pos-shortcut:hover{border-color:#9b3437;transform:translateY(-1px)}
#sales .shortcut-icon{background:#332124;color:#f27379;width:42px;height:42px;border-radius:11px;display:grid;place-items:center;font-size:23px;flex-shrink:0}
#sales .pos-shortcut span:nth-child(2){display:flex;flex-direction:column;gap:4px;min-width:0}
#sales .pos-shortcut strong{font-size:14px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
#sales .pos-shortcut small{font-size:11px;color:#a1a1a1}
#sales .shortcut-arrow{margin-left:auto;color:#8f8f8f;font-size:15px}
#sales .pos-step-title{display:flex;align-items:center;gap:12px;margin-bottom:15px;scroll-margin-top:20px}
#sales .pos-step-number{display:grid;place-items:center;background:#d8242b;color:white;width:38px;height:38px;min-width:38px;border-radius:11px;font-size:13px;font-weight:800}
#sales .pos-step-title h3{font-size:20px;letter-spacing:-.025em;margin:0 0 4px}
#sales .pos-step-title p{font-size:12px;color:#aaa;margin:0}
#sales .pos-register-grid{display:grid;grid-template-columns:minmax(0,1.27fr) minmax(280px,.8fr);align-items:start;gap:16px}
#sales .pos-main-column,#sales .pos-side-column{min-width:0;display:flex;flex-direction:column;gap:16px}
#sales .pos-panel{background:#1b1b1b;border:1px solid #343434;border-radius:17px;padding:20px;margin:0;min-width:0}
#sales .pos-panel-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:19px}
#sales .pos-panel-head h4{font-size:17px;line-height:1.2;margin:0 0 6px;letter-spacing:-.02em}
#sales .pos-panel-head p{font-size:12px;color:#a0a0a0;margin:0}
#sales .pos-panel-tag{color:#d1d1d1;font-weight:750;font-size:9px;letter-spacing:.11em;border:1px solid #454545;border-radius:6px;padding:7px}
#sales .pos-product-form{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:10px;align-items:end}
#sales .pos-product-form .pos-add-btn{grid-column:1/-1;min-height:47px;background:#f5f5f5;color:#111}
#sales .pos-add-btn span{font-size:19px;margin-right:5px}
#sales label{font-size:12px;font-weight:650;color:#d5d5d5}
#sales input,#sales select,#sales textarea{font-size:14px;border:1px solid #414141;border-radius:10px;background:#121212;padding:13px 12px;margin:7px 0 0;min-height:46px;max-width:100%}
#sales textarea{min-height:75px;resize:vertical}
#sales .pos-payment-panel label{margin-bottom:17px}
#sales .pos-payment-panel label:last-of-type{margin-bottom:13px}
#sales .pos-currency-note{background:#232024;border:1px solid #403339;color:#c9bfc1;font-size:11px;line-height:1.5;border-radius:9px;padding:11px 13px;margin:14px 0 18px}
#sales .pos-checkout-btn{width:100%;background:#d9272e;color:white;border-radius:11px;min-height:52px;display:flex;align-items:center;justify-content:space-between;font-size:15px;padding:13px 18px}
#sales .pos-checkout-btn:hover{background:#bd1b23}
#sales .pos-checkout-btn span{font-size:22px}
#sales .pos-checkout-hint{font-size:11px;text-align:center;color:#a7a7a7;line-height:1.5;margin:12px 0 0}
#sales .pos-count{font-size:11px;background:#292929;border:1px solid #3f3f3f;padding:7px 10px;border-radius:30px;white-space:nowrap;color:#eee}
#sales .pos-cart-scroll{max-width:100%;overflow-x:auto}
#sales .pos-cart-table{min-width:0;margin:0;width:100%}
#sales .pos-cart-table th{font-size:11px;font-weight:700;color:#989898;padding:10px 8px;border-bottom-color:#303030}
#sales .pos-cart-table td{font-size:12px;padding:13px 8px;vertical-align:middle;overflow-wrap:anywhere}
#sales .pos-cart-table .secondary{font-size:11px;padding:8px;border-radius:8px}
#sales .pos-empty-cart{background:#151515;border:1px dashed #383838;color:#9c9c9c;border-radius:10px;padding:20px;text-align:center;font-size:12px;line-height:1.5;margin:0}
#sales .pos-cart-bottom{border-top:1px solid #373737;margin-top:16px;padding-top:16px}
#sales .pos-promo-note{font-size:12px;margin:0 0 9px;color:#e6bcbd}
#sales .pos-total-line{display:flex;align-items:center;justify-content:space-between;gap:12px}
#sales .pos-total-line>span{font-size:12px;color:#bcbcbc}
#sales .pos-total-line strong{font-size:24px;letter-spacing:-.04em;white-space:nowrap}
#sales .pos-section-break{margin-top:34px}
#sales .pos-close-toolbar{display:flex;align-items:end;gap:13px;flex-wrap:wrap;margin-bottom:14px}
#sales .pos-close-toolbar>label{flex:1;min-width:150px;max-width:270px}
#sales .cashCloseActions{display:flex;gap:10px;padding:0;flex:2;min-width:270px;align-items:center}
#sales .cashCloseActions button{flex:1;min-width:0;padding:14px 13px;min-height:46px}
#sales #loadCashClose{background:#f2f2f2;color:#111}
#sales .pos-report-status{line-height:1.5;font-size:12px}
#sales .pos-close-metrics{margin:14px 0 18px;grid-template-columns:repeat(2,minmax(0,1fr))}
#sales .pos-close-metrics .metric{background:#141414;border-color:#333;padding:18px;border-radius:11px}
#sales .pos-close-metrics .metric strong{font-size:27px;letter-spacing:-.05em;display:block;margin-top:7px}
#sales .pos-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
#sales .pos-report-card{border:1px solid #353535;border-radius:12px;padding:15px;min-width:0;background:#171717}
#sales .pos-report-card h4{font-size:14px;margin:2px 0 9px}
#sales .pos-report-card.pos-report-full{grid-column:1/-1}
#sales .pos-report-card table{min-width:330px;margin:0}
#sales .pos-report-card th,#sales .pos-report-card td{padding:10px 8px;font-size:12px}
#sales .pos-history-panel table{margin-top:12px}
#sales .pos-history-panel th{white-space:nowrap}
#sales .pos-history-tip{background:#252024;border:1px solid #493137;border-radius:9px;padding:12px;font-size:12px;color:#e5c5ca;line-height:1.5}
#sales a:focus-visible,#sales button:focus-visible,#sales input:focus-visible,#sales select:focus-visible{outline:2px solid #ee434a;outline-offset:2px}
@media(max-width:830px){#sales .pos-register-grid{grid-template-columns:1fr}#sales .pos-side-column{order:1}#sales .pos-report-grid{grid-template-columns:1fr}#sales .pos-report-full{grid-column:auto}#sales .pos-heading{flex-wrap:wrap}}
@media(max-width:580px){#sales.pos-section{padding:15px;border-radius:16px}#sales .pos-heading h2{font-size:30px}#sales .pos-live-pill{padding:7px 10px;font-size:11px}#sales .pos-shortcuts{grid-template-columns:1fr 1fr;gap:8px}#sales .pos-shortcut{padding:12px 9px;gap:9px}#sales .pos-shortcut:last-child{grid-column:1/-1}#sales .shortcut-icon{width:34px;height:34px;font-size:17px}#sales .pos-shortcut strong{font-size:12px}#sales .shortcut-arrow{display:none}#sales .pos-panel{padding:15px;border-radius:13px}#sales .pos-close-toolbar{display:block}#sales .pos-close-toolbar>label{display:block;max-width:none}#sales .cashCloseActions{min-width:0;flex-wrap:nowrap;gap:8px;margin-top:12px}#sales .cashCloseActions button{font-size:11px;padding:12px 8px}#sales .pos-cart-table td,#sales .pos-cart-table th{font-size:11px;padding:10px 5px}#sales .pos-cart-table td:first-child{max-width:125px}#sales .pos-cart-table .secondary{padding:6px}#sales .pos-close-metrics .metric{padding:12px}#sales .pos-close-metrics .metric strong{font-size:21px}}

/* ===== HSG ADMIN 2026 / DASHBOARD VISUAL REFRESH ===== */
:root{--hsg-red:#e12b32;--hsg-card:#18191a;--hsg-border:#333436}
body{background:radial-gradient(ellipse 750px 420px at 57% -170px,#272022 0%,transparent 75%),#0d0d0e}
header{min-height:94px;padding:18px max(22px,calc((100vw - 1450px)/2));background:#131314;border-bottom:1px solid #2d2d2e}
header .logo{gap:18px}header .admin-logo{width:88px;height:54px}header .admin-brand-copy>span{font-size:25px;letter-spacing:.09em}
header #logout{border:1px solid #484848;border-radius:10px;padding:13px 20px}
main{max-width:1450px;margin:0 auto;padding:24px 30px 90px}
#workspace{max-width:1340px;margin:auto}
#status:empty{min-height:0;margin:0}
.admin-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 4px 21px}
.admin-topline-label,.dashboard-kicker,.dashboard-card-kicker{font-size:10px;letter-spacing:.17em;font-weight:850;color:#b6b6b9}
.admin-status-dot{display:inline-block;width:8px;height:8px;background:#ed333e;border-radius:50%;margin-right:7px;box-shadow:0 0 0 4px #ed333e1b}
.admin-topline-sep{margin:0 9px;color:#777}.admin-topline #who{font-size:12px;margin:0}
#workspace>nav{background:#19191a;border:1px solid #2e2e30;padding:7px;border-radius:14px;display:flex;gap:5px;margin-bottom:22px;max-width:max-content}
#workspace>nav button{background:transparent;color:#aeb0b3;padding:12px 20px;border-radius:9px;transition:background .15s,color .15s;white-space:nowrap;font-size:13px}
#workspace>nav button:not(.secondary){background:#e7e7e8;color:#121212;box-shadow:0 3px 12px #0005}
#workspace>nav button.secondary:hover{color:#fff;background:#303033}
#workspace section:not(#login){scroll-margin-top:20px}
#summary.dashboard-panel{background:transparent;border:none;padding:0;margin:0;overflow:visible}
.dashboard-intro{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:20px 1px 24px}
.dashboard-intro h2{font-size:clamp(30px,3.4vw,43px);font-weight:830;letter-spacing:-.055em;margin:8px 0 8px;line-height:1.08}
.dashboard-heading-dot{color:#e12b32}
.dashboard-intro p{margin:0;font-size:14px;line-height:1.55}
.dashboard-date{font-size:11px;color:#b4b4b7;background:#1a1a1b;border:1px solid #353537;border-radius:999px;padding:11px 13px;white-space:nowrap}
.dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}
.dashboard-metric{display:flex;flex-direction:column;align-items:stretch;text-align:left;min-width:0;gap:14px;padding:20px 20px 17px;border-radius:16px;background:linear-gradient(155deg,#202021,#161617);border:1px solid #373739;color:#f9f9f9;transition:transform .14s,border-color .14s;box-shadow:0 9px 28px #00000012}
.dashboard-metric:hover{transform:translateY(-2px);border-color:#755054;background:linear-gradient(155deg,#242021,#171719)}
.dashboard-metric-top,.dashboard-metric-bottom{display:flex;justify-content:space-between;align-items:center;gap:6px}
.dashboard-metric-top small{font-size:12px;color:#bfc0c2;line-height:1.4;font-weight:550}
.dashboard-metric-icon{width:34px;height:34px;flex:0 0 34px;background:#372225;border:1px solid #543439;border-radius:10px;display:grid;place-items:center;color:#ff777d;font-size:21px}
.dashboard-metric strong{font-size:clamp(25px,3vw,37px);letter-spacing:-.06em;line-height:1;font-variant-numeric:tabular-nums}
.dashboard-metric-bottom{font-size:10px;color:#88898e;border-top:1px solid #343435;padding-top:12px;margin-top:auto;letter-spacing:.02em}
.dashboard-metric-bottom span{color:#a3a3a6;font-size:14px}
.dashboard-body-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:16px;margin-bottom:17px}
.dashboard-inner-card{background:#19191a;border:1px solid #353536;border-radius:17px;padding:23px;min-width:0}
.dashboard-card-head{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:24px}
.dashboard-card-head h3{font-size:19px;letter-spacing:-.035em;margin:8px 0 5px}
.dashboard-card-head p{font-size:12px;margin:0;line-height:1.5}
.dashboard-chart-legend{display:flex;align-items:center;gap:7px;color:#a5a5a8;font-size:11px;white-space:nowrap}
.dashboard-chart-legend i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#e23037}
.dashboard-trend{height:186px;display:flex;gap:clamp(3px,.55vw,9px);align-items:end;position:relative;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#373738 calc(25% - 1px),#373738 25%);padding:6px 1px 0;border-bottom:1px solid #484849}
.dashboard-trend-column{height:100%;min-width:0;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:4px;position:relative}
.dashboard-trend-number{font-size:9px;height:12px;color:#b8b8ba;white-space:nowrap}
.dashboard-trend-track{height:calc(100% - 32px);width:100%;display:flex;align-items:end;justify-content:center;min-width:0}
.dashboard-trend-bar{width:100%;max-width:30px;display:block;border-radius:5px 5px 0 0;background:linear-gradient(0deg,#831a21,#f0444c);min-height:2px;transition:height .2s}
.dashboard-trend-column:hover .dashboard-trend-bar{background:linear-gradient(0deg,#b01b24,#ff7279)}
.dashboard-trend-column small{font-size:9px;color:#a2a2a3;white-space:nowrap;height:15px}
.dashboard-shortcuts-card .dashboard-card-head{margin-bottom:15px}
.dashboard-quicklinks{display:flex;flex-direction:column;gap:10px}
.dashboard-quicklink{display:flex;align-items:center;gap:13px;text-align:left;min-height:65px;background:#212122!important;border:1px solid #3d3d3f;border-radius:11px;padding:12px 13px;color:#f4f4f4!important}
.dashboard-quicklink:hover{border-color:#a63c43;background:#272325!important}
.dash-quick-icon{width:37px;height:37px;flex:0 0 37px;border-radius:10px;display:grid;place-items:center;background:#382427;color:#ff8b90;font-size:19px}
.dashboard-quicklink>span:nth-child(2){display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}
.dashboard-quicklink strong{font-size:13px}
.dashboard-quicklink small{font-size:10px;color:#999a9e;font-weight:450}
.dash-quick-arrow{font-size:15px;color:#aaa}
.dashboard-leaders-card .dashboard-card-head{margin-bottom:13px}
.dashboard-card-icon{display:grid;place-items:center;background:#322225;border-radius:10px;width:36px;height:36px;color:#f0717a}
.dashboard-leaders-table{margin-top:0;min-width:540px}
.dashboard-leaders-table th{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#8f9093;font-weight:700;padding:13px 12px}
.dashboard-leaders-table td{padding:16px 12px;border-color:#343436;color:#e6e6e6}
.dashboard-leaders-table td:first-child{white-space:nowrap}
.dashboard-leaders-table td:first-child strong{font-size:13px}
.dashboard-rank{display:inline-grid;place-items:center;border:1px solid #484849;border-radius:7px;width:25px;height:25px;margin-right:12px;font-size:11px;color:#cacaca}
.dashboard-size{padding:5px 9px;background:#2a2a2c;border-radius:7px;font-weight:750;font-size:11px}
.dashboard-no-data{padding:30px 10px;text-align:center;color:#a6a7ab;font-size:13px;line-height:1.6}
.dashboard-chart-empty{width:100%;align-self:center;background:#19191a;border-radius:9px;max-width:450px;margin:auto;padding:22px}
#workspace #inventory:not(.hidden),#workspace #orders:not(.hidden),#workspace #commercials:not(.hidden){border-radius:17px;padding:clamp(17px,2.5vw,30px);background:#1a1a1b;border:1px solid #343436}
#workspace #inventory>h2,#workspace #orders>h2,#workspace #commercials>h2{font-size:26px;letter-spacing:-.04em}
#workspace .tableWrap table th{background:#222224;border-color:#353536}
#workspace .tableWrap table tbody tr:hover td{background:#ffffff06}
#workspace #inventory .subcard{background:#161616;border-radius:13px}
@media(max-width:1080px){.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-body-grid{grid-template-columns:1fr 1fr}}
@media(max-width:780px){main{padding:14px 14px 65px}.dashboard-body-grid{grid-template-columns:1fr}.admin-topline{align-items:flex-start;flex-direction:column;gap:7px}#workspace>nav{max-width:100%;overflow-x:auto;flex-wrap:nowrap;width:100%;padding:6px}#workspace>nav button{flex:0 0 auto!important;white-space:nowrap}.dashboard-intro{flex-wrap:wrap;align-items:flex-start}.dashboard-date{font-size:10px}.dashboard-metric{padding:16px}.dashboard-inner-card{padding:17px}}
@media(max-width:520px){header{min-height:75px;padding:12px 14px}header .admin-logo{width:62px;height:42px}header .admin-brand-copy>span{font-size:17px}header #logout{font-size:11px;padding:11px 12px}.dashboard-intro h2{font-size:31px}.dashboard-metrics{gap:10px}.dashboard-metric{gap:13px;padding:14px;border-radius:13px}.dashboard-metric strong{font-size:26px}.dashboard-metric-top small{font-size:11px}.dashboard-metric-icon{width:29px;height:29px;flex-basis:29px;font-size:18px}.dashboard-metric-bottom{font-size:9px}.dashboard-card-head h3{font-size:17px}.dashboard-trend{height:165px}}
