:root{--v1-navy:#082032;--v1-gold:#E7B94B}body{background:#fff;color:var(--v1-navy);font-family:Inter,'Segoe UI',sans-serif}button,input,select{font-family:inherit}button{border-radius:9px}button.primary{background:var(--v1-gold);color:#082032;border-color:var(--v1-gold);font-weight:650}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #9b721c;outline-offset:3px}.v1-shell{padding-left:82px}.v1-rail{position:fixed;inset:0 auto 0 0;width:82px;background:#082032;z-index:30;display:flex;flex-direction:column;align-items:center;gap:14px;padding:26px 8px}.v1-rail button{width:64px;height:62px;padding:8px 0;border:0;background:none;color:#adbdc8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.v1-rail button span{font-size:10px}.v1-rail button.active{background:#e7b94b;color:#082032}.v1-rail button:hover{background:#334756;color:#fff}.v1-header{height:82px;display:flex;align-items:center;gap:22px;padding:16px 30px;border-bottom:1px solid #edf1f5}.v1-header .product-brand{width:178px;height:46px;background-color:#082032;border-radius:6px;background-size:contain}.v1-company{display:flex;flex-direction:column;gap:4px;flex:1;font-size:13px}.v1-company small,.v1-user{font-size:12px;color:#6d8094}.v1-shell>.page{padding:30px;max-width:none;min-height:calc(100vh - 125px)}h1{font-size:25px}h2{font-size:17px}.panel,.card{border:1px solid #e9eef4;box-shadow:0 2px 3px #08203206;border-radius:17px}.v1-drawer{position:fixed;left:82px;top:0;bottom:0;width:310px;background:#fff;z-index:45;padding:24px;box-shadow:12px 0 35px #08203222;overflow:auto}.v1-drawer[hidden]{display:none}.v1-drawer header{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.v1-drawer nav{display:flex;flex-direction:column;gap:8px}.v1-drawer nav button,.v1-drawer>button{width:100%;text-align:left;margin:3px 0}.v1-drawer .nav-menu{display:block}.v1-drawer summary{padding:12px;cursor:pointer}.v1-drawer .nav-menu>div,.v1-drawer .nav-submenu>div{position:static;box-shadow:none;min-width:0;background:#f4f7fa;color:#082032}.v1-drawer details:not([open])>div{display:none}.v1-drawer details button{color:#082032;background:transparent}.v1-dashboard .sales-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.v1-dashboard .card{padding:23px;min-height:137px;border-top:3px solid #e7b94b}.v1-dashboard .number{font-size:29px;margin:12px 0}.v1-dashboard .sales-layout{grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:22px;margin:24px 0}.v1-dashboard .recent-sales-panel{margin-top:24px}.v1-catalog-summary{text-align:center;padding:25px}.v1-catalog-summary h2,.v1-catalog-summary>p:first-of-type{text-align:left}.v1-donut{width:180px;height:180px;margin:35px auto;border-radius:50%;background:conic-gradient(#e7b94b var(--share),#082032 0);position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center}.v1-donut:before{content:'';position:absolute;inset:24px;background:white;border-radius:50%}.v1-donut>*{z-index:1}.v1-donut strong{font-size:30px}.v1-products>input{max-width:450px;margin:18px 0 24px}.v1-product-name{display:flex;align-items:center;gap:15px}.v1-product-name>svg{padding:10px;box-sizing:content-box;background:#f1f5f9;border-radius:10px;color:#71869a}.v1-product-name small{display:block;margin-top:4px}table{border-radius:15px;overflow:hidden}th{background:#f7f9fb;color:#5c7288;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.03em}td{font-size:13px;padding:17px}thead th{padding:16px}dialog{border-radius:18px}button.close-icon-button{display:inline-flex;align-items:center;justify-content:center;line-height:1}.v1-pos{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:25px}.v1-shop{min-width:0}.v1-pos-search{display:flex;gap:12px;margin:24px 0}.v1-pos-search>input{flex:1;min-width:0}.v1-pos-search>label{width:140px;font-size:11px}.v1-chips{display:flex;gap:8px;margin-bottom:24px}.v1-chips button{font-size:12px;padding:10px 17px}.v1-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.v1-product-tile{display:flex;flex-direction:column;gap:8px;text-align:left;border:1px solid #e9eef4;background:white;border-radius:16px;padding:13px;min-width:0}.v1-product-tile:hover{border-color:#e7b94b;background:#fffcf4;box-shadow:0 5px 15px #08203209}.v1-product-art{width:100%;aspect-ratio:1.3;background:#f0f4f8;border-radius:11px;display:grid;place-items:center;color:#91a3b7;margin-bottom:6px}.v1-product-art svg{width:36px;height:36px}.v1-product-tile>strong{font-size:14px}.v1-product-tile>small{font-size:11px}.v1-tile-price{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin-top:8px;flex-wrap:wrap}.v1-tile-price>strong{font-size:14px}.v1-tile-price .badge{font-size:10px}.v1-cart{position:sticky;top:16px;height:calc(100vh - 142px);min-height:500px;display:flex;flex-direction:column;border-left:1px solid #e9eef4;padding-left:24px}.v1-cart>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.v1-cart>label{font-size:12px}.v1-cart-items{flex:1;overflow:auto;margin:15px 0}.v1-cart-line{padding:16px 0;border-bottom:1px solid #edf1f5}.v1-cart-line>strong,.v1-cart-line>small{display:block;font-size:13px;margin-bottom:6px}.v1-cart-controls{display:flex;align-items:center;gap:12px}.v1-cart-controls input{width:72px;padding:8px}.v1-cart-controls>strong{flex:1;font-size:14px}.v1-cart footer{border-top:1px solid #e9eef4;padding-top:14px}.v1-cart footer>button{width:100%;margin-top:12px}.v1-cart footer p{font-size:12px}.v1-total{display:flex;justify-content:space-between;gap:12px;font-size:19px;margin:20px 0}.v1-empty{text-align:center;color:#8b9aab;padding:60px 15px}.v1-empty svg{width:44px;height:44px}.v1-empty small{font-size:12px}@media(min-width:1700px){.v1-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.v1-pos{grid-template-columns:minmax(0,1fr) 370px}}@media(max-width:1100px){.v1-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v1-shell>.page{padding:20px}.v1-header{padding:15px}.v1-user{display:none}}@media(max-width:760px){.v1-rail{width:65px;padding:18px 2px}.v1-rail button{width:55px}.v1-shell{padding-left:65px}.v1-drawer{left:65px;width:calc(100vw - 65px);max-width:310px}.v1-company{display:none}.v1-header .product-brand{width:140px}.v1-pos{grid-template-columns:1fr}.v1-cart{position:static;height:auto;min-height:380px;border-left:0;padding:20px 0}.v1-dashboard .sales-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.v1-dashboard .sales-layout{grid-template-columns:1fr}.v1-pos-search{flex-wrap:wrap}.v1-shell>.page{padding:16px}.v1-product-grid{gap:10px}.v1-product-tile{padding:10px}}

.v1-drawer .dropdown{position:static!important;min-width:0!important;width:100%;box-shadow:none!important;background:#f3f6f9!important;color:#082032}.v1-drawer .nav-menu summary{color:#082032}.v1-drawer .nav-menu:not([open])>.dropdown{display:none!important}.v1-sales .issued-filters{padding:18px;box-shadow:none}.v1-sales h1{font-size:25px}
.v1-rail svg{flex-shrink:0}.v1-pos-search>input{align-self:end;height:44px}.v1-cart-controls button{flex-shrink:0}
.v1-dashboard .v1-donut{min-width:180px;min-height:180px;flex-shrink:0}.v1-dashboard .v1-catalog-summary{display:block}.v1-dashboard .sales-metrics .card{padding:23px}.v1-dashboard .sales-metrics .number{font-size:29px}
.developer-banner{position:sticky;top:0;z-index:60;background:#fff2ce;color:#082032;border-bottom:1px solid #e7b94b;padding:10px 20px;text-align:center;font-size:12px;font-weight:600}.developer-mode .v1-rail{top:37px}.developer-mode .v1-drawer{top:37px}.developer-mode .v1-cart{height:calc(100vh - 180px)}.v1-dashboard .v1-catalog-summary{height:auto;min-height:410px}
.developer-banner{position:fixed;inset:0 0 auto 0;height:37px;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.developer-mode{padding-top:37px}

/* Reference: supplied Products table, outline pencil/trash, discreet row actions. */
.v1-shell .v1-actions-cell{white-space:nowrap;width:1%;text-align:right}
.v1-shell .v1-actions-cell .actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:nowrap}
.v1-shell button.v1-row-action{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-width:34px;min-height:34px;padding:0;margin:0;border:1px solid transparent;background:transparent;color:#70859b;border-radius:8px;box-shadow:none;vertical-align:middle}
.v1-shell button.v1-row-action svg{width:18px;height:18px;flex-shrink:0;pointer-events:none}
.v1-shell button.v1-row-action:hover{background:#f0f4f8;color:#082032;border-color:#e3eaf1}
.v1-shell button.v1-row-action-danger:hover{background:#fff0f0;color:#b33333;border-color:#f4dada}
.v1-shell button.v1-row-action:focus-visible{outline:2px solid #b08425;outline-offset:2px;background:#fff6df;color:#082032}
.v1-shell button.v1-row-action:disabled{opacity:.4;cursor:not-allowed}
.v1-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(pointer:coarse){.v1-shell button.v1-row-action{width:44px;height:44px;min-width:44px;min-height:44px}}
.v1-pos-register{grid-template-columns:minmax(0,1fr) 300px;gap:24px}
.v1-pos-register .v1-shop>input{margin:15px 0;width:100%;height:44px}
.pos-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:25px;max-height:210px;overflow:auto;padding:3px}
.pos-results>button{display:flex;align-items:center;text-align:left;gap:12px;padding:12px;border-color:#e9eef4;background:#fff;min-width:0}
.pos-results>button:hover{border-color:#e7b94b;background:#fffaf0}
.pos-results>button>svg{color:#8599ac;flex-shrink:0}.pos-results>button>span{min-width:0}.pos-results strong,.pos-results small{display:block;font-size:12px}.pos-results small{color:#75889a;margin-top:3px}.pos-results .pos-result-price{font-size:12px;margin-left:auto;white-space:nowrap}
.pos-lines table{min-width:670px}.pos-lines th{font-size:10px;padding:12px}.pos-lines td{padding:12px 9px}.pos-lines th:first-child{width:32%}.pos-lines td input{width:65px;height:38px;padding:8px}.pos-line-name strong{font-size:13px}.pos-line-name small{display:block;font-size:11px;margin-top:5px}.pos-line-total{white-space:nowrap;font-size:13px}
.pos-price-options{display:flex;gap:5px}.pos-price-options button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-width:70px;padding:7px 8px;background:#fff;border:1px solid #e1e8ef}.pos-price-options button span{font-size:10px;color:#718398}.pos-price-options button strong{font-size:11px;font-weight:600}.pos-price-options button[aria-pressed=true]{background:#fff3d0;border-color:#e7b94b;color:#082032}.pos-price-options button[aria-pressed=true] span{color:#735108}
.pos-checkout{position:sticky;top:16px;display:flex;flex-direction:column;gap:18px;height:calc(100vh - 155px);min-height:550px;border-left:1px solid #e9eef4;padding-left:22px}.pos-checkout header{display:flex;justify-content:space-between;align-items:center}.pos-checkout label{font-size:12px}.pos-checkout footer{margin-top:auto;border-top:1px solid #e9eef4;padding-top:12px}.pos-checkout footer>button{width:100%;margin-top:12px}.pos-checkout footer>small{display:block;margin:10px 0;text-align:center;font-size:11px}.pos-checkout footer>button.primary{height:52px;font-size:17px}.pos-checkout-total>p{font-size:12px}.pos-total-value{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:16px 0}.pos-total-value>strong{font-size:25px;letter-spacing:-.5px}.developer-mode .pos-checkout{top:53px;height:calc(100vh - 192px)}
@media(max-width:1150px){.v1-pos-register{grid-template-columns:minmax(0,1fr) 265px}.pos-results{grid-template-columns:1fr}.pos-price-options button{min-width:64px}.pos-lines table{min-width:640px}}@media(max-width:850px){.v1-pos-register{grid-template-columns:1fr}.pos-checkout,.developer-mode .pos-checkout{position:static;min-height:0;height:auto;border-left:0;padding-left:0}.pos-checkout footer{margin-top:15px}.pos-results{max-height:150px}}


/* Register reference: compact rows, client-first workflow, total beside final action. */
.v1-shell [hidden]{display:none!important}
.sale-type-panel,.sale-client-panel{border-bottom:1px solid #e7edf3;padding:4px 0 20px;margin-bottom:20px}
.sale-type-panel h2,.sale-client-panel h2,.sale-product-panel h2{font-size:14px;margin:0 0 12px}
.sale-type-choices{display:flex;flex-wrap:wrap;gap:8px}
.sale-type-choices button{font-size:12px;padding:10px 14px;background:white;border-color:#dce5ed}
.sale-type-choices button[aria-pressed=true]{border-color:#e7b94b;background:#fff4d7;color:#082032;box-shadow:inset 0 0 0 1px #e7b94b}
.sale-client-fields{display:grid;grid-template-columns:minmax(140px,1fr) minmax(170px,1.4fr) 34px 34px;gap:8px;align-items:end}
.sale-client-fields>input,.sale-client-fields select{height:42px;min-width:0;font-size:12px}
.sale-client-fields label{font-size:11px}
.sale-client-status{font-size:12px;margin:12px 0 0;color:#667b8f}
.sale-client-status.error{color:#a52c2c;background:#fff1f1;padding:10px;border-radius:6px}
.sale-product-panel>input{margin:0 0 12px;width:100%;height:42px}
.sale-finish-options{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}
.sale-finish-options>section{border:1px solid #dce5ed;padding:22px;border-radius:12px}
.sale-finish-options p{font-size:13px;line-height:1.6}.sale-finish-options button{width:100%}
.pos-lines .pos-quantity{display:flex;align-items:center;gap:3px;white-space:nowrap}
.pos-lines .pos-quantity input{width:52px;padding:6px;text-align:center;appearance:textfield;-moz-appearance:textfield}
.pos-lines .pos-quantity input::-webkit-inner-spin-button{appearance:none}
.pos-lines .pos-quantity button{width:28px;height:34px;min-width:28px;padding:0;display:flex;align-items:center;justify-content:center;font-size:19px;line-height:1;background:#f5f8fa;border-color:#e2e9ef}
.pos-lines .pos-quantity button:hover{background:#fff4d7;border-color:#e7b94b}
.pos-lines th:first-child{width:26%}.pos-lines td{padding:10px 6px}.pos-lines .actions{gap:0}
.pos-checkout .badge{font-size:10px}.pos-checkout{gap:14px}
.sale-dashboard-actions{display:flex;gap:10px;align-items:center;margin-bottom:20px}.sale-dashboard-actions span{margin-left:auto;color:#60778b;font-size:12px}
@media(max-width:1100px){.sale-client-fields{grid-template-columns:1fr 1fr 34px 34px}.pos-price-options button{min-width:57px;padding:7px 5px}}
@media(max-width:650px){.sale-client-fields{grid-template-columns:1fr 34px 34px}.sale-client-fields>input{grid-column:1/-1}.sale-type-choices button{flex:1 1 45%}.sale-finish-options{grid-template-columns:1fr}.sale-dashboard-actions{flex-wrap:wrap}}
/* Video reference: centered customer journey, compact icon rail and contact editor. */
:root{--ease-out:cubic-bezier(.23,1,.32,1)}
.v1-rail{gap:12px;padding-top:22px}.v1-rail button{width:48px;height:48px;padding:12px;position:relative}.v1-rail button>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.v1-rail svg{width:22px;height:22px}
.v1-header{height:66px;padding:10px 30px}.v1-header .product-brand{width:145px;height:40px}.v1-dashboard .card{border-top:1px solid #e9eef4}.v1-dashboard .card .number{font-size:27px}
.v1-shell:has(.sale-start-page)>.v1-header{display:none}
.v1-shell>.sale-start-page{display:grid;grid-template-columns:1fr;place-items:center;min-height:calc(100dvh - 46px);padding:40px 24px}.developer-mode .v1-shell>.sale-start-page{min-height:calc(100dvh - 83px)}
.sale-start-card{width:min(100%,680px);margin:auto}.sale-start-brand{display:flex;align-items:center;flex-direction:column;gap:10px;margin-bottom:30px}.sale-start-brand .product-brand{width:190px;height:65px;background-color:#082032;border-radius:9px;background-size:contain}.sale-start-brand small{font-size:13px}.sale-start-card>h1{text-align:center;font-size:26px;margin:0 0 10px}.sale-start-card>p{text-align:center;font-size:14px;margin:0 0 30px}
.sale-start-types{display:grid;grid-template-columns:1fr 1fr;gap:14px}.sale-type-card{display:flex;align-items:center;gap:14px;padding:18px;text-align:left;background:white;border:1px solid #e1e8ee;min-height:90px;border-radius:13px}.sale-type-card strong,.sale-type-card small{display:block}.sale-type-card strong{font-size:14px;margin-bottom:6px}.sale-type-card small{font-size:11px;color:#657b8b;line-height:1.5}.sale-type-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:10px;background:#fff5da;color:#896115}.sale-type-icon svg{width:23px;height:23px}
.sale-start-subhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;font-size:13px}.sale-back{border:0;background:transparent;padding:8px 0;font-size:13px}.sale-start-card>input{width:100%;height:46px;font-size:13px}.sale-client-matches{margin:16px 0;max-height:340px;overflow:auto;padding:3px}.sale-client-empty{text-align:center;padding:35px 16px;color:#8294a5;font-size:13px}.sale-client-empty svg{width:36px;height:36px}.sale-client-result-row{display:flex;align-items:center;gap:8px;margin-bottom:8px}.sale-client-result{display:flex;align-items:center;justify-content:space-between;flex:1;text-align:left;padding:14px;background:white;min-width:0}.sale-client-result strong,.sale-client-result small{display:block}.sale-client-result strong{font-size:14px}.sale-client-result small{font-size:12px;color:#657b8b;margin-top:5px}.sale-client-result:disabled{opacity:.6}.sale-start-card>.primary{display:block;margin:20px auto 0;font-size:13px}
.sale-selected-client{display:flex;align-items:center;gap:12px;padding:15px 0;margin:5px 0 22px;border-bottom:1px solid #e7edf3}.sale-selected-client>div{flex:1}.sale-selected-client strong,.sale-selected-client small{display:block}.sale-selected-client strong{font-size:14px}.sale-selected-client small{font-size:12px;margin-top:4px}.sale-selected-client>button{font-size:12px}.v1-clients>input{max-width:450px;margin:18px 0 24px}.rtc-expired{background:#fff0ef;color:#a83232}
dialog.v1-client-editor{width:min(560px,calc(100vw - 32px));max-width:560px;max-height:90dvh;padding:24px}dialog.v1-client-editor .fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}dialog.v1-client-editor .fields>.span{grid-column:1/-1}dialog.v1-client-editor label{font-size:12px;min-width:0}dialog.v1-client-editor input,dialog.v1-client-editor select{font-size:13px;height:40px;padding:8px 10px;min-width:0}dialog.v1-client-editor input[type=checkbox]{height:auto;width:auto}dialog.v1-client-editor h2{font-size:19px}dialog.v1-client-editor .client-extra{font-size:12px}dialog.v1-client-editor summary{padding:12px 0;cursor:pointer;color:#60778b}dialog.v1-client-editor .form-actions{margin-top:20px}dialog.v1-client-editor .fields [hidden]{display:none!important}
@media(hover:hover){.sale-type-card:hover,.sale-client-result:hover{border-color:#e7b94b;background:#fffcf4}.v1-rail button:hover{background:#334756;color:white}}
@media(prefers-reduced-motion:no-preference){.sale-type-card,.v1-rail button{transition:background-color 150ms,border-color 150ms,color 150ms}}
/* Dialogs stay still when switching between keyboard and pointer. */
@media(max-width:650px){.sale-start-types{grid-template-columns:1fr}.sale-start-card>h1{font-size:22px}.sale-start-brand{margin-bottom:22px}.sale-type-card{min-height:75px;padding:14px}.v1-shell>.sale-start-page{padding:24px 16px}.sale-start-subhead{flex-wrap:wrap}.sale-selected-client{flex-wrap:wrap}.sale-selected-client>button{margin-left:34px}dialog.v1-client-editor{padding:20px}dialog.v1-client-editor .fields{grid-template-columns:1fr}dialog.v1-client-editor .fields>*{grid-column:1/-1}}
dialog.v1-client-editor label:has([name=identity]){grid-column:1/-1}dialog.v1-client-editor label:has([name=identity]) button:disabled{display:none}dialog.v1-client-editor label:has([name=identity]) p:empty{display:none}.v1-shell .sales-metrics .number{display:block;margin:12px 0 0}.v1-shell .sales-metrics .muted{font-size:12px}
@media(prefers-reduced-motion:no-preference){html:not(.keyboard-navigation) .sale-start-card{animation:syngpro-stage-in 180ms var(--ease-out)}}@keyframes syngpro-stage-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
/* Locked source: user's 20261004-1908 video. 80px rail, 32px page inset,
   Inter, gold primary actions, pale table headers and compact centered dialogs. */
@font-face{font-family:Inter;src:url('./fonts/Inter-Variable.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
:root{font-family:Inter,'Segoe UI',sans-serif;--v1-navy:#082032;--v1-gold:#e7b94b;font-size:14px}body{font-family:Inter,'Segoe UI',sans-serif;background:white;color:#082032}button,input,select,textarea{font-family:inherit}button{font-size:14px;font-weight:500;border-color:#e0e5ec}button.primary{background:#e7b94b;border-color:#e7b94b;color:#fff;border-radius:6px;box-shadow:0 2px 3px #08203215;font-weight:600;padding:9px 16px}button.primary:hover{background:#d9a932;border-color:#d9a932}input,select,textarea{border-color:#e1e5ec;border-radius:7px;font-size:14px}input:focus,select:focus{border-color:#e2b53e}input:focus-visible,select:focus-visible{outline:1px solid #e2b53e;outline-offset:0}h1{font-size:24px;line-height:1.35;letter-spacing:-.5px;font-weight:700}h2{font-size:16px;letter-spacing:-.25px}.muted{color:#677b8d}.v1-shell{padding-left:80px}.v1-shell>.v1-header{display:none}.v1-shell>.page{padding:32px;min-height:calc(100dvh - 32px)}.developer-mode .v1-shell>.page{min-height:calc(100dvh - 69px)}.heading{margin:0 0 30px;min-height:64px;align-items:flex-start}.heading h1{margin:0 0 5px}.heading p{font-size:16px;font-weight:400}.heading>button{margin-top:12px}
.v1-rail{width:80px;padding:0 15px 0;gap:8px;overflow-y:auto;scrollbar-width:none}.v1-rail-brand{width:80px;height:82px;min-height:82px;display:grid;place-items:center;border-bottom:1px solid #ffffff14;margin-bottom:16px}.v1-rail button{height:48px;min-height:48px;width:48px;padding:13px;border-radius:13px}.v1-rail button svg{width:20px;height:20px}.v1-rail button.active,.v1-rail button.active:hover{background:#e7b94b;color:#fff;box-shadow:0 3px 8px #0002}.v1-rail button{color:#8b9ea8}.v1-rail .v1-rail-exit{margin-top:auto;border-top:1px solid #ffffff14;border-radius:0;width:80px;height:80px;min-height:80px}.v1-drawer{left:80px}.v1-drawer header button{width:32px;height:32px;padding:0}.v1-drawer h2{font-size:18px}
.panel,.card,.table-wrap{border:1px solid #eef0f4;border-radius:16px;box-shadow:0 2px 3px #08203206}.table-wrap table{border-radius:0}.table-wrap th{background:#f7f8fb;font-size:12px;font-weight:500;color:#5f758c;letter-spacing:.025em;padding:14px 24px}.table-wrap td{font-size:14px;padding:12px 24px;border-color:#f5f6f9;height:64px}.table-wrap .empty{height:198px;padding:30px}.v1-product-name{gap:12px}.v1-product-name>svg{width:16px;height:16px;padding:12px;border-radius:9px;background:#f0f4f8;color:#91a3b6}.v1-product-name strong{font-weight:500}.v1-product-name small{font-size:12px;color:#91a1b7;margin-top:3px}.v1-shell .v1-row-action{color:#8b9eb6}.v1-shell .v1-actions-cell .actions{gap:10px}.v1-products>input,.v1-clients>input,.v1-users>input,.v1-employees>input{width:448px;max-width:100%;height:42px;margin:0 0 24px;padding-left:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2392a3ba' stroke-width='1.7'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 5 5'/%3E%3C/svg%3E");background-position:12px center;background-repeat:no-repeat;border-radius:12px}.reference-empty{text-align:center;color:#94a3b8;font-size:16px}.reference-empty svg{width:36px;height:36px}.reference-empty p{margin:14px 0 0}.stock-pill{display:inline-flex;font-size:12px;line-height:1;padding:5px 9px;border-radius:30px;white-space:nowrap}.stock-pill.ok{background:#ecfcf5;color:#07976c}.stock-pill.low{background:#fff0f3;color:#e63160}.stock-pill.warning{background:#fff4c5;color:#a6680b;font-weight:600}.reference-user{display:flex;gap:14px;align-items:center}.reference-user strong{font-weight:500}.reference-avatar{display:grid;place-items:center;background:#faf4e5;color:#cfaa3b;width:36px;height:36px;border-radius:50%;font-weight:600}.v1-users .badge{background:#faf4e5;border:0;color:#bf941e;border-radius:20px}.reference-secondary-actions{display:flex;gap:12px;margin-top:20px}.reference-secondary-actions button{font-size:12px;background:transparent;border:0;color:#75869b}
.reference-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:30px 0 32px}.reference-metric{display:block;text-align:left;border:1px solid #eef0f4;border-radius:16px;box-shadow:0 2px 3px #08203206;padding:24px;height:170px;background:white}.reference-metric:hover{background:#fffdf7;border-color:#e7b94b}.reference-metric-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;color:white;box-shadow:0 5px 8px #08203212;margin-bottom:20px}.reference-metric-icon.gold{background:linear-gradient(135deg,#e2bd50,#cfa52f)}.reference-metric-icon.navy{background:linear-gradient(135deg,#082032,#213744)}.reference-metric-icon.slate{background:linear-gradient(135deg,#334756,#4d6470)}.reference-metric-icon.rose{background:linear-gradient(135deg,#ee6389,#e62d5d)}.reference-metric-icon svg{width:24px;height:24px}.reference-metric-label{display:block;font-size:14px;color:#657b8e;margin-bottom:7px}.reference-metric>strong{font-size:24px;line-height:1.2;font-weight:700}.reference-metric>small{display:block}.reference-chart-layout{display:grid;grid-template-columns:2fr 1fr;gap:24px}.reference-chart-layout>.panel{height:422px;padding:24px}.reference-chart-layout h2,.reference-recent h2{font-size:16px;margin:0 0 6px}.reference-chart-layout p{font-size:14px;margin:0;color:#657b8e}.reference-line-chart{display:block;width:100%;height:300px;margin-top:20px}.reference-composition{display:flex;flex-direction:column}.reference-donut{width:240px;height:240px;max-width:100%;margin:auto;display:block}.reference-legend{display:flex;justify-content:center;gap:10px;font-size:12px;flex-wrap:wrap}.reference-legend span{display:flex;align-items:center;gap:4px}.reference-legend i{display:inline-block;width:12px;height:10px}.reference-recent{margin-top:32px;padding:24px;min-height:182px}.reference-empty-sales{display:grid;place-items:center;min-height:108px;font-size:14px;color:#94a3b8}.reference-stock-dialog{width:448px;max-width:calc(100vw - 32px);padding:24px}.reference-stock-dialog h2{display:flex;align-items:center;gap:8px;font-size:18px}.reference-stock-dialog h2 svg{color:#e62d5d;width:20px;height:20px}.reference-stock-list>div{display:flex;justify-content:space-between;align-items:center;background:#f7f8fb;border-radius:12px;padding:14px 12px;margin-top:8px;gap:12px}.reference-stock-list strong,.reference-stock-list small{display:block}.reference-stock-list strong{font-size:14px;font-weight:500}.reference-stock-list small{font-size:12px;color:#74859a;margin-top:4px}
dialog{border-radius:8px;box-shadow:0 15px 30px #0002;padding:24px;max-height:90dvh}dialog::backdrop{background:#000c}dialog header{margin-bottom:18px}dialog header h2{font-size:18px}dialog header button,dialog button.close-icon-button{width:24px;height:24px;min-width:24px;min-height:24px;padding:0;border:0;background:transparent;box-shadow:none;font-size:20px;color:#65758a}dialog label{font-size:13px}dialog input,dialog select{min-height:36px;padding:8px 12px}dialog .fields{gap:18px}dialog .actions{margin-top:22px}dialog.v1-client-editor{width:512px;max-width:calc(100vw - 32px);padding:24px;border-radius:8px}dialog.v1-client-editor .fields{gap:16px}dialog.v1-client-editor input,dialog.v1-client-editor select{height:36px}dialog.v1-client-editor .actions button{height:36px;font-size:13px;padding:8px 16px}.sale-start-brand{flex-direction:row;justify-content:center;gap:12px;margin-bottom:32px}.sale-monogram{display:grid;place-items:center;width:48px;height:48px;background:#e7b94b;border-radius:16px;color:white;font-size:22px;font-weight:700;box-shadow:0 6px 10px #08203210}.sale-start-brand strong{display:block;font-size:24px;letter-spacing:-.6px}.sale-start-brand small{display:block;font-size:12px;margin-top:2px}.sale-start-card{width:min(100%,672px)}.sale-start-card>input{height:48px;border-radius:12px;padding-left:16px}.sale-start-subhead{margin-bottom:22px}.sale-client-empty{padding:40px 16px 12px}.sale-client-empty svg{display:none}.sale-start-card>.primary{border-radius:12px;padding:10px 18px;margin-top:14px}.sale-type-card{border-radius:12px}.sale-type-card strong{font-weight:600}.sale-type-card small{font-size:12px}
.v1-shell>.page[data-view=dnit],.v1-shell>.page[data-view=fiscal],.v1-shell>.page[data-view=certificate]{max-width:896px;margin:auto;padding:32px}.dnit-groups{display:grid;grid-template-columns:1fr;gap:24px}.dnit-group{padding:24px}.dnit-group h2{font-size:18px}.dnit-options{display:grid;grid-template-columns:1fr}.dnit-option{padding:16px;border-radius:7px;background:#fff}.dnit-option strong{font-size:14px}.dnit-option-copy>span{font-size:13px}.sifen-page .panel,.form-panel{border-radius:16px}.version-footer{font-size:11px}
@media(max-width:1100px){.reference-metrics{gap:12px}.reference-metric{padding:18px}.reference-chart-layout{grid-template-columns:1.6fr 1fr}.v1-shell>.page{padding:24px}.v1-rail{gap:5px}.v1-rail-brand{margin-bottom:12px}}
@media(max-width:760px){.v1-shell{padding-left:64px}.v1-rail{width:64px;padding:0 8px}.v1-rail-brand{width:64px;height:64px;min-height:64px}.v1-rail button{height:42px;min-height:42px;width:42px;border-radius:10px}.v1-rail .v1-rail-exit{width:64px;height:56px;min-height:56px}.v1-drawer{left:64px}.v1-shell>.page{padding:20px}.reference-metrics{grid-template-columns:1fr 1fr;margin-top:20px}.reference-metric{height:160px}.reference-chart-layout{grid-template-columns:1fr}.reference-chart-layout>.panel{height:340px}.reference-line-chart{height:250px}.reference-recent{margin-top:24px}.heading{gap:12px}.heading p{font-size:14px}.heading>button{margin-top:0}.table-wrap td,.table-wrap th{padding-left:14px;padding-right:14px}.reference-secondary-actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:no-preference){.v1-drawer:not([hidden]){animation:reference-drawer-in 200ms var(--ease-out)}}@keyframes reference-drawer-in{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:none}}
.reference-settings>.heading{justify-content:flex-start;align-items:center;gap:16px}.reference-settings>.heading p{font-size:14px}.reference-settings-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#fcf8ef;color:#ddb444;flex-shrink:0}.reference-settings-icon svg{width:24px;height:24px}.reference-fiscal-sections{display:flex;flex-direction:column;gap:24px}.reference-settings-section{width:100%;margin:0 0 24px;padding:24px}.reference-fiscal-sections>.reference-settings-section{margin:0}.reference-settings-section h2{display:flex;align-items:center;gap:10px;font-size:18px;margin:0 0 24px}.reference-settings-section h2 svg{color:#ddb444;width:20px;height:20px}.reference-settings-section label{font-size:14px;font-weight:500}.reference-settings-section input,.reference-settings-section select{height:36px;padding:8px 12px;font-size:14px;box-shadow:0 2px 3px #08203206;border-radius:6px}.reference-settings-section .fields{gap:24px 20px}.reference-settings-section .actions{margin-top:20px}.reference-fiscal-extra,.reference-settings-tools{margin-bottom:20px;color:#677b8d;font-size:13px}.reference-fiscal-extra summary,.reference-settings-tools summary{cursor:pointer;padding:10px 0}.reference-settings>form>.actions{margin:0 0 24px}.reference-point{display:flex;flex-direction:column;gap:6px;font-size:14px}.reference-point button{align-self:flex-start}.reference-settings>.form-panel{max-width:none}.reference-settings-section>p{font-size:13px;color:#677b8d}.reference-settings .csc-help{font-size:13px}
.v1-rail{overflow:visible;gap:0}.v1-rail-brand{margin-bottom:16px}.v1-rail-links{display:flex;flex-direction:column;align-items:center;gap:8px;flex:1;overflow:auto;min-height:0;width:80px;scrollbar-width:none;padding:8px 0 16px}.v1-rail-links button{flex-shrink:0}.v1-rail .v1-rail-exit{margin-top:0}.v1-rail-links::-webkit-scrollbar{display:none}
.dnit-unified-sections{display:flex;flex-direction:column;gap:24px}.dnit-unified .reference-settings-section{margin:0;padding:24px}.dnit-unified .reference-settings-section h2{margin:0 0 26px}.dnit-unified .fields{gap:24px 20px}.dnit-unified input,.dnit-unified select{height:36px;min-height:36px}.dnit-unified .dnit-stamp>.fields{grid-template-columns:repeat(3,minmax(0,1fr))}.dnit-extra{font-size:12px;color:#708194;margin-top:16px}.dnit-extra summary{cursor:pointer}.dnit-extra[open]>div{margin-top:16px}.dnit-document-types{display:flex;flex-wrap:wrap;gap:12px}.dnit-document-types>strong{width:100%}.dnit-document-types label{display:flex;align-items:center;gap:5px;font-size:12px}.dnit-document-types input{min-height:0;height:auto}.dnit-upload{min-width:0}.dnit-file-control{display:flex;align-items:center;gap:12px;position:relative;background:#f8f9fc;border:1px solid #e1e5ec;border-radius:6px;height:36px;padding:8px 12px;margin-top:8px;color:#607b93;font-weight:400}.dnit-file-control>svg{width:18px;height:18px;flex-shrink:0}.dnit-file-control>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dnit-file-control>input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.dnit-file-control:focus-within{outline:2px solid #a27a20}.dnit-password{position:relative}.dnit-password input{padding-right:40px}.dnit-password-toggle{position:absolute;right:6px;bottom:0;height:36px;width:32px;border:0;padding:0;background:transparent;display:grid;place-items:center;color:#607b93}.dnit-save{display:flex;align-items:center;justify-content:center;gap:14px;min-width:247px;height:36px}.dnit-save svg{width:16px;height:16px}.dnit-unified .readonly{background:#fff}.dnit-unified form>.actions{margin-top:24px}.dnit-unified .reference-settings-section .fields label{font-weight:500}.dnit-unified input{font-weight:400}
@media(max-width:760px){.v1-rail-links{width:64px}.dnit-unified .dnit-stamp>.fields{grid-template-columns:1fr}.dnit-unified .fields{grid-template-columns:1fr}.dnit-unified .reference-settings-section{padding:20px}.dnit-save{width:100%}}
dialog.reference-product-editor{width:512px;max-width:calc(100vw - 32px);padding:24px;border-radius:8px}dialog.reference-product-editor .fields{display:grid;grid-template-columns:1fr 1fr;gap:20px 16px}dialog.reference-product-editor .fields>.span{grid-column:1/-1}dialog.reference-product-editor input,dialog.reference-product-editor select{height:36px;min-height:36px;font-size:14px;padding:8px 12px}dialog.reference-product-editor label{font-size:14px;font-weight:500}dialog.reference-product-editor .actions{margin-top:24px}dialog.reference-product-editor .actions button{height:36px;padding:8px 16px}.reference-switch{display:flex;align-items:center;gap:12px;position:relative;min-height:24px}.reference-switch>input{position:absolute;opacity:0;width:40px!important;height:24px!important;margin:0}.reference-switch-track{width:40px;height:24px;border-radius:20px;background:#cbd5e1;position:relative;flex-shrink:0}.reference-switch-track:before{content:'';position:absolute;width:20px;height:20px;top:2px;left:2px;border-radius:50%;background:#fff}.reference-switch input:checked+.reference-switch-track{background:#e7b94b}.reference-switch input:checked+.reference-switch-track:before{transform:translateX(16px)}.reference-switch input:focus-visible+.reference-switch-track{outline:2px solid #a27a20;outline-offset:3px}.reference-switch input:disabled+.reference-switch-track{opacity:.5}.product-extra{font-size:12px;color:#75899b}.product-extra summary{cursor:pointer}.product-extra[open]>.fields{margin-top:16px}.product-extra>small{display:block;margin-top:14px}
@media(max-width:560px){dialog.reference-product-editor .fields{gap:16px 12px}dialog.reference-product-editor{padding:20px}}
/* Requested 2x customer menu and approved SYNGPRO logo. */
.sale-start-card:has(.sale-start-types){width:min(100%,1200px)}.sale-start-types{gap:24px}.sale-type-card{min-height:172px;padding:32px;gap:24px;border-radius:18px}.sale-type-card strong{font-size:22px;margin-bottom:10px}.sale-type-card small{font-size:15px}.sale-type-icon{width:80px;height:80px;border-radius:18px}.sale-type-icon svg{width:40px;height:40px}.sale-start-card:has(.sale-start-types)>h1{font-size:32px}.sale-start-card:has(.sale-start-types)>p{font-size:16px;margin-bottom:32px}.sale-start-brand.real-brand{flex-direction:column;gap:10px;margin-bottom:30px}.sale-start-brand.real-brand .product-brand{width:320px;height:112px;background-color:#082032;border-radius:12px;background-size:contain;background-repeat:no-repeat;background-position:center}.sale-start-brand.real-brand small{font-size:15px}
@media(max-width:900px){.sale-type-card{min-height:144px;padding:22px;gap:16px}.sale-type-icon{width:60px;height:60px}.sale-type-icon svg{width:32px;height:32px}.sale-type-card strong{font-size:19px}.sale-type-card small{font-size:13px}.sale-start-types{gap:16px}}@media(max-width:650px){.sale-type-card{min-height:112px;padding:18px}.sale-start-brand.real-brand .product-brand{width:250px;height:88px}.sale-start-card:has(.sale-start-types)>h1{font-size:24px}}
.v1-rail-brand svg{width:34px;height:38px}

/* Document chooser: supplied four-card reference, 2026-10-04. */
.v1-shell>.document-hub-page{width:100%;max-width:896px;margin:0 auto;padding:32px;display:block;min-height:calc(100dvh - 40px)}
.document-hub-page .heading{margin-bottom:32px}.document-hub-page h1{font-size:24px;line-height:1.3;margin:0 0 6px}.document-hub-page .heading p{font-size:16px}
.document-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:32px}
.document-hub-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:166px;padding:24px;border:1px solid #edf1f6;border-radius:16px;background:#fff;box-shadow:0 2px 3px #08203206;white-space:normal}
.document-hub-card:hover{background:#fafcfd;border-color:#cbd7e3}.document-hub-card:focus-visible{outline:3px solid #e7b94b;outline-offset:3px}
.document-hub-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;color:#fff;margin-bottom:20px}.document-hub-icon svg{width:24px;height:24px}.document-hub-icon.invoice{background:#1db2ea}.document-hub-icon.credit{background:#ff5676}.document-hub-icon.remission{background:#ffb20c}.document-hub-icon.receipt{background:#1bc68b}
.document-hub-card strong{font-size:18px;line-height:24px;color:#082032}.document-hub-card small{font-size:14px;line-height:21px;font-weight:400;color:#617b99;margin-top:5px}
@media(max-width:600px){.v1-shell>.document-hub-page{padding:24px 16px}.document-hub-grid{grid-template-columns:1fr}.document-hub-card{min-height:150px}}
dialog.receipt-picker-dialog{width:1100px;max-width:calc(100vw - 40px)}.receipt-invoice-picker{overflow-x:auto}.receipt-invoice-picker table{min-width:780px}.receipt-invoice-picker input[data-invoice]{width:140px}.receipt-invoice-picker small{display:block;margin-top:4px}.receipt-note-applied{color:#08745d;font-size:12px}.receipt-invoice-picker input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:#e7b94b}
.v1-rail-bottom{flex-shrink:0;border-top:1px solid #ffffff18;padding:8px 0;display:flex;flex-direction:column;align-items:center;gap:8px}.v1-rail-bottom button{width:48px;height:48px;display:grid;place-items:center;padding:0;background:transparent;border:0;border-radius:12px;color:#879ba5}.v1-rail-bottom button span{display:none}.v1-rail-bottom button.active{background:#e7b94b;color:white}.v1-rail-bottom button:hover{color:white;background:#ffffff18}.v1-rail-bottom button:focus-visible{outline:2px solid #e7b94b;outline-offset:2px}
.v1-shell>.sale-start-page.client-type-page{display:block;max-width:896px;margin:0 auto;padding:32px}.client-type-stage{width:100%;text-align:left}.client-type-stage>h1{font-size:24px;line-height:1.3;margin:0 0 6px}.client-type-stage>p{font-size:16px;margin:0}.client-type-stage .document-hub-grid{margin-top:32px}@media(max-width:600px){.v1-shell>.sale-start-page.client-type-page{padding:24px 16px}}
.document-hub-icon.violet{background:#8761db}
.settings-section-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}.settings-section-tabs button{display:flex;align-items:center;gap:8px;padding:10px 14px;font-size:14px}.settings-section-tabs button.active{background:#082032;color:#fff;border-color:#082032}.settings-section-tabs svg{width:18px;height:18px}
/* Shared V1 visual language across application screens. Printed documents keep their layout. */
:root{--ui-ink:#082032;--ui-muted:#61758a;--ui-border:#e5ebf1;--ui-surface:#fff;--ui-soft:#f6f8fb;--ui-accent:#e7b94b;--ui-danger:#c83d58;--ui-success:#08745d}
@media screen{
body,button,input,select,textarea{font-family:Inter,'Segoe UI',sans-serif}body{color:var(--ui-ink);font-size:14px}button,input,select,textarea{font-size:14px}textarea{line-height:1.5}
.page h1{font-size:24px;line-height:1.3;letter-spacing:-.02em}.page h2,dialog h2{font-size:18px;line-height:1.4}.page h3,dialog h3{font-size:16px;line-height:1.4}.muted{color:var(--ui-muted)}
.page input:not([type=checkbox]):not([type=radio]),.page select,.page textarea,dialog input:not([type=checkbox]):not([type=radio]),dialog select,dialog textarea{border-color:var(--ui-border);border-radius:7px;color:var(--ui-ink);background:var(--ui-surface);min-height:38px;padding:8px 12px}
.page input:disabled,dialog input:disabled{background:var(--ui-soft);color:var(--ui-muted)}input::placeholder,textarea::placeholder{color:#8091a4;opacity:1}
button{border-radius:8px}button.primary{background:var(--ui-accent);border-color:var(--ui-accent);color:#fff}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #ad7c1c;outline-offset:3px}
.page .panel,.page .card{border:1px solid var(--ui-border);border-radius:16px;background:var(--ui-surface);box-shadow:0 2px 3px #08203206}.page table,dialog table{border-radius:14px}.page th,dialog th{background:var(--ui-soft);font-size:12px;font-weight:500;color:var(--ui-muted)}.page td,dialog td{font-size:13px;border-color:var(--ui-border)}
dialog{color:var(--ui-ink);background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:10px}dialog header h2{font-weight:650}dialog header button.close-icon-button,dialog header>button:last-child{display:grid;place-items:center;line-height:1;padding:0;width:28px;height:28px;min-width:28px;min-height:28px;border:0;background:transparent;color:var(--ui-muted)}
.error{color:var(--ui-danger)}.hint{border-left-color:var(--ui-accent);background:var(--ui-soft)}.v1-row-action-danger{color:var(--ui-danger)}
}
.v1-rail-brand svg{width:46px;height:54px}.dashboard-period{display:flex;flex-wrap:wrap;gap:16px;padding:16px 0 24px}.dashboard-period label{min-width:160px}.dashboard-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.dashboard-details>div{padding:18px 20px;border:1px solid var(--ui-border);border-radius:14px;background:#f9fafc;display:flex;flex-direction:column;gap:10px}.dashboard-details strong{font-size:20px}.dashboard-chart-legend{display:flex;gap:20px;justify-content:center;font-size:13px}.dashboard-chart-legend span:first-child{color:#987011}.dashboard-chart-legend span:last-child{color:#082032}.reference-metric small{font-size:12px;color:var(--ui-muted);margin-top:7px}.reference-dashboard .reference-recent{margin-top:24px}.reference-dashboard .reference-chart{min-height:330px}.reference-dashboard .reference-composition{min-height:330px}
@media(max-width:900px){.dashboard-details{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.dashboard-period label{flex:1;min-width:120px}.dashboard-details strong{font-size:17px}.dashboard-details{gap:10px}}

/* Consistent dashboard spacing and contact support at the end of the document. */
.reference-dashboard .reference-metrics{margin:16px 0 24px;align-items:stretch}
.reference-dashboard .reference-metric{height:auto;min-height:190px;padding:24px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;box-sizing:border-box}
.reference-dashboard .reference-metric-icon{flex-shrink:0;margin-bottom:18px}
.reference-dashboard .reference-metric-label{margin:0 0 8px;line-height:1.4}
.reference-dashboard .reference-metric>strong{line-height:1.25;overflow-wrap:anywhere}
.reference-dashboard .reference-metric>small{margin:8px 0 0;line-height:1.4}
.reference-dashboard .reference-chart-layout>.panel{height:auto;min-height:422px;display:flex;flex-direction:column;box-sizing:border-box}
.reference-dashboard .reference-line-chart{flex:1;min-height:240px;margin:20px 0 12px}
.reference-dashboard .dashboard-chart-legend{margin:0 0 4px;flex-shrink:0;line-height:1.4}
.support-footer{display:flex;justify-content:center;align-items:center;gap:20px;padding:28px 24px 48px;margin:24px 30px 0;border-top:1px solid #e5ebf1;color:#082032}
.support-footer img{display:block;width:112px;height:112px;flex-shrink:0}
.support-footer strong{font-size:15px}.support-footer p{font-size:13px;color:#657b8e;line-height:1.5;margin:8px 0}.support-footer a{color:#082032;font-size:14px;text-underline-offset:3px}
@media(max-width:760px){.reference-dashboard .reference-metric{padding:18px;min-height:184px}.support-footer{margin:16px 20px 0;padding:24px 0 40px;gap:12px}.support-footer p{max-width:220px}}
@media print{.support-footer{display:none}}
.v1-shell>.page.reference-dashboard{height:auto;display:block;overflow:visible}.v1-shell>.page.reference-dashboard>.heading{margin-bottom:16px}.support-footer{background:#fff}

.location-fields{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;grid-column:1/-1}.location-fields.location-linked{grid-template-columns:repeat(2,minmax(0,1fr))}.location-control{display:flex;flex-direction:column;gap:8px;min-width:0}.location-control[hidden]{display:none}.location-control select{width:100%;min-width:0}@media(max-width:600px){.location-fields,.location-fields.location-linked{grid-template-columns:1fr}}

.pos-search-control{display:flex;align-items:stretch;gap:10px;margin:16px 0}.pos-search-control>input{flex:1;min-width:0;margin:0}.pos-search-control>button{display:grid;place-items:center;flex:0 0 44px;padding:8px}.pos-results[hidden]{display:none!important}

.credit-fields{display:grid;gap:12px}.credit-fields[hidden]{display:none}.credit-preview{max-height:230px;overflow:auto}.credit-preview table{margin-top:8px}.credit-preview td,.credit-preview th{padding:8px;font-size:12px}

.v1-shell .cash-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.v1-shell .cash-filters>label{flex:1 1 280px;min-width:220px}.v1-shell .cash-filters>button{flex:0 0 auto;width:auto}

/* Keep the scanner reachable beside its field, including narrow product dialogs. */
dialog.reference-product-editor .barcode-control{grid-column:1/-1;grid-template-columns:minmax(0,1fr) 44px;align-items:end}
dialog.reference-product-editor .barcode-control label{min-width:0}
dialog.reference-product-editor .barcode-control input{width:100%}
.barcode-control .barcode-scan-icon{width:44px;height:44px;min-height:44px;padding:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.daily-rates{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin-bottom:24px}
.daily-rates h2,.daily-rates p{margin:0}.daily-rates [role=status]{flex-basis:100%}

.cloud-operation-shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}.cloud-operation-rail{background:#082032;color:white;padding:24px 16px;grid-row:1/4}.cloud-operation-rail img{max-width:180px}.cloud-operation-rail nav{display:grid;gap:8px;margin-top:24px}.cloud-operation-rail button{color:white;background:transparent;text-align:left;border:0}.cloud-operation-rail button.active{background:#E7B94B;color:#082032}.cloud-operation-shell>.page{min-width:0;padding:28px}.cloud-operation-shell>.subscription-banner{grid-column:2}.cloud-operation-shell .subscription-banner a{color:#082032}@media(max-width:700px){.cloud-operation-shell{grid-template-columns:1fr}.cloud-operation-rail{grid-row:auto}.cloud-operation-rail nav{grid-template-columns:repeat(2,1fr)}.cloud-operation-shell>.subscription-banner{grid-column:1}}@media print{.cloud-operation-rail,.subscription-banner{display:none!important}}

.document-barcode{max-width:100%;height:auto;background:white}.receipt-print{color:#000;background:#fff}.receipt-print .document-barcode{display:block;margin:12px auto}

.receipt-ticket .ticket-brand{display:block;width:45mm;max-width:100%;height:auto;filter:brightness(0);margin:0 auto 16px}
@media print{
 html:has(dialog[open] .receipt-ticket),body:has(dialog[open] .receipt-ticket){page:receiptTicket;background:#fff!important;color:#000!important}
 body:has(.receipt-ticket) dialog[open]{border-radius:0!important;box-shadow:none!important;background:#fff!important;padding:0!important;position:static!important;animation:none!important;transform:none!important;opacity:1!important}
 dialog:has(.receipt-ticket)::backdrop{display:none!important;background:transparent!important}
}

/* Cloud sign-in: existing brand panel, larger hierarchy and direct support. */
.cloud-login .intro{padding:64px clamp(36px,5.2vw,132px);align-items:flex-start}
.cloud-login .intro .product-brand{width:clamp(280px,23vw,440px);max-width:100%;height:auto;aspect-ratio:3.14;margin:0 0 44px;background-size:contain;background-position:left center;background-repeat:no-repeat;flex-shrink:0}
.cloud-login .intro .eyebrow{font-size:15px;letter-spacing:.14em;margin-bottom:12px}
.cloud-login .intro h1{font-size:clamp(38px,3.5vw,64px);line-height:1.12;letter-spacing:-.035em;max-width:620px;margin:0 0 24px;color:#fff}
.cloud-login .intro>p{display:block;font-size:19px;line-height:1.6;max-width:460px;margin:0;color:#d7e3eb}
.cloud-login-support{display:flex;align-items:center;gap:24px;margin-top:40px;width:100%;max-width:480px}
.cloud-login-support .cloud-support-qr{display:block;flex:0 0 132px;width:132px;height:132px;background:#fff;border-radius:12px;overflow:hidden}
.cloud-login-support img{display:block;width:100%;height:100%;object-fit:contain}
.cloud-login-support strong{display:block;color:#fff;font-size:19px;line-height:1.4}
.cloud-login .cloud-login-support p{display:block;color:#d7e3eb;font-size:15px;line-height:1.5;margin:8px 0 12px}
.cloud-login-support a:not(.cloud-support-qr){color:#f2ca66;font-size:18px;font-weight:600;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
.cloud-login-support a:focus-visible{outline:3px solid #e7b94b;outline-offset:5px}
@media(min-width:761px) and (max-width:1100px){.cloud-login .intro{padding:40px 32px}.cloud-login-support{gap:16px}.cloud-login-support .cloud-support-qr{flex-basis:108px;width:108px;height:108px}.cloud-login-support strong{font-size:17px}.cloud-login-support a:not(.cloud-support-qr){font-size:16px}}
@media(max-width:760px){.cloud-login{grid-template-columns:1fr}.cloud-login .intro{padding:32px 24px}.cloud-login .intro .product-brand{width:260px;margin-bottom:26px}.cloud-login .intro h1{font-size:36px;max-width:420px;margin-bottom:14px}.cloud-login .intro>p{font-size:16px;max-width:420px}.cloud-login .intro .eyebrow{font-size:12px}.cloud-login-support{margin-top:26px;gap:18px}.cloud-login-support .cloud-support-qr{flex-basis:96px;width:96px;height:96px}.cloud-login-support strong{font-size:17px}.cloud-login .cloud-login-support p{font-size:14px;margin:5px 0 8px}.cloud-login-support a:not(.cloud-support-qr){font-size:16px}}

.cloud-login .intro .product-brand{transform:none}
.cloud-support-location{display:block;margin-top:12px;color:#d7e3eb;font-size:14px;line-height:1.5}

.cloud-login .login-box>form{grid-template-columns:minmax(0,1fr)}
.cloud-auth-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
.cloud-auth-links button{border:0;background:transparent;padding:4px 0;color:var(--navy,#082032);text-decoration:underline;text-underline-offset:3px;box-shadow:none}
.cloud-account-contact{border-top:1px solid #dfe6ee;margin-top:24px;padding-top:20px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.cloud-account-contact p{margin:0;color:#687d8f}

.cloud-login .login-box>form .fields{grid-template-columns:minmax(0,1fr)}
body:has(.cloud-login) .app-version{position:static;width:100%;box-sizing:border-box}

.settings-hub-group{margin-top:28px}.settings-hub-group>h2{font-size:18px;margin:0 0 14px}.settings-hub-page .document-hub-card{min-height:170px}.settings-hub-page .document-hub-card:focus-visible{outline:3px solid #E7B94B;outline-offset:3px}

.v3-delivery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:20px}.v3-delivery-card{padding:24px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:auto}.v3-delivery-card h2{font-size:28px;line-height:1.2;margin:12px 0 20px;overflow-wrap:anywhere}.v3-ticket-number{font-size:20px;font-weight:700;color:#082032}.v3-delivery-card .actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}

/* Compact overview: preserve readable values instead of scaling the whole page. */
.v1-shell>.page.reference-dashboard{padding:18px 24px 24px}
.reference-dashboard>.daily-rates{padding:10px 14px;margin-bottom:14px;gap:8px 16px}
.reference-dashboard>.daily-rates h2{font-size:14px}
.reference-dashboard>.daily-rates p{font-size:12px}
.reference-dashboard>.daily-rates [role=status]{flex-basis:auto}
.reference-dashboard>.daily-rates button{margin-left:auto}
.v1-shell>.page.reference-dashboard>.heading{margin-bottom:8px;align-items:center}
.reference-dashboard>.heading h1{font-size:22px;margin:0}
.reference-dashboard>.heading p{font-size:12px;margin:4px 0 0}
.reference-dashboard .dashboard-period{gap:12px;padding:0 0 10px}
.reference-dashboard .dashboard-period label{min-width:130px;font-size:12px;gap:4px}
.reference-dashboard .reference-metrics{gap:12px;margin:0 0 10px}
.reference-dashboard .reference-metric{min-height:96px;padding:12px 14px;display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:12px;row-gap:3px;align-content:center}
.reference-dashboard .reference-metric-icon{grid-row:1/4;width:36px;height:36px;margin:0;align-self:center;border-radius:10px;box-shadow:none}
.reference-dashboard .reference-metric-icon svg{width:21px;height:21px}
.reference-dashboard .reference-metric-label{margin:0;font-size:12px}
.reference-dashboard .reference-metric>strong{font-size:22px}
.reference-dashboard .reference-metric>small{margin:0;font-size:11px}
.reference-dashboard .dashboard-details{gap:12px;margin:0 0 12px}
.reference-dashboard .dashboard-details>div{padding:9px 14px;gap:3px}
.reference-dashboard .dashboard-details .muted{font-size:12px}
.reference-dashboard .dashboard-details strong{font-size:17px}
.reference-dashboard .reference-chart-layout{gap:14px}
.reference-dashboard .reference-chart-layout>.panel{min-height:0;height:220px;padding:14px;margin:0}
.reference-dashboard .reference-chart-layout h2,.reference-dashboard .reference-recent h2{font-size:14px;margin:0 0 4px}
.reference-dashboard .reference-chart-layout p{font-size:12px}
.reference-dashboard .reference-line-chart{min-height:0;height:140px;flex:1;margin:6px 0;max-width:100%}
.reference-dashboard .reference-donut{height:128px;width:128px;margin:8px auto}
.reference-dashboard .reference-legend{font-size:11px;overflow:auto;max-height:40px}
.reference-dashboard .dashboard-chart-legend{font-size:11px;margin:0 0 3px}
.dashboard-recent-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:12px}
.reference-dashboard .reference-recent{margin:0;padding:12px 14px;min-height:84px;min-width:0}
.reference-dashboard .reference-empty-sales{min-height:40px;font-size:12px;margin:0}
.reference-dashboard .reference-recent .table-wrap{max-height:155px;overflow:auto}
.reference-dashboard .reference-recent td,.reference-dashboard .reference-recent th{padding:7px 9px}
@media(max-width:900px){.reference-dashboard .reference-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-dashboard .dashboard-details{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.v1-shell>.page.reference-dashboard{padding:16px 12px 24px}.reference-dashboard>.daily-rates button{margin-left:0;min-height:44px}.reference-dashboard .reference-metric{grid-template-columns:minmax(0,1fr);gap:5px;padding:12px;min-height:132px}.reference-dashboard .reference-metric-icon{grid-row:auto;width:30px;height:30px}.reference-dashboard .reference-metric>strong{font-size:19px}.reference-dashboard .reference-chart-layout{grid-template-columns:1fr}.dashboard-recent-grid{grid-template-columns:1fr}.reference-dashboard .dashboard-period label{min-width:100px}.reference-dashboard .dashboard-period select{min-height:44px;font-size:16px}.reference-dashboard>.heading{flex-wrap:wrap}.reference-dashboard .reference-chart-layout>.panel{height:220px}}

/* Internal order/delivery slips follow the selected thermal width. */
@page receiptTicket58{size:58mm 297mm;margin:3mm}
@media print{
 html:has(dialog[open] .receipt-ticket-58),body:has(dialog[open] .receipt-ticket-58){page:receiptTicket58}
 body:has(.receipt-ticket-58) dialog[open],.receipt-ticket-58{page:receiptTicket58!important;width:52mm!important;max-width:52mm!important;min-width:0!important;margin:0!important;padding:0!important}
 .receipt-ticket-58 .document-barcode{max-width:100%!important;height:auto!important}
}

.reference-dashboard .reference-line-chart{height:120px;flex:none;margin:4px 0}
@media(min-width:1000px){.v1-shell>.page.reference-dashboard{display:grid;grid-template-columns:1fr auto;gap:0 20px}.reference-dashboard>.daily-rates,.reference-dashboard>div:last-child{grid-column:1/-1}.reference-dashboard>.heading{grid-column:1}.reference-dashboard>.dashboard-period{grid-column:2;align-items:end}}

.v1-shell>.page.reference-dashboard{min-height:0;align-content:start}
.reference-dashboard .reference-line-chart{height:108px}
body:has(.reference-dashboard) .support-footer{margin:0 24px;padding:8px 0;gap:12px;align-items:center}
body:has(.reference-dashboard) .support-footer img,body:has(.reference-dashboard) .support-footer svg{width:36px;height:36px}
body:has(.reference-dashboard) .support-footer p{margin:2px 0;font-size:11px}
body:has(.reference-dashboard) .support-footer strong{font-size:12px}
body:has(.reference-dashboard) .app-version{position:static}
