/* POSH AUTO / framed-sheet. Shared screen styles; printed ledgers keep their original layout.
   Desktop: 228px frame + flexible sheet + 8px inset. All inner grids share 24px gutters. */
:root{--ink:#242622;--muted:#646963;--line:#e7e8e3;--paper:#f3f3f1;--white:#fff;--nav:#f3f3f1;--orange:#b45329;--orange2:#fbf1e9;--green:#276c52;--red:#ad3b35;--posh-frame:#f3f3f1;--posh-control:#d8dbd3;--posh-focus:#9a4826;color-scheme:light}
@media screen{
.posh-ui .sr-only{position:absolute!important;left:0;top:0;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important}
.posh-ui .stock-table{min-width:840px;table-layout:auto}.posh-ui .stock-table .stock-identity{width:38%;min-width:280px}.posh-ui .stock-table .stock-state{min-width:135px}.posh-ui .stock-table .stock-cost,.posh-ui .stock-table .stock-price{min-width:120px;white-space:nowrap}.posh-ui .stock-table .stock-cost-heading:has(#vehicle-total-cost-head.hidden){display:none}.posh-ui .stock-table .row-actions{min-width:110px;max-width:170px}.posh-ui .stock-table .vehicle-table-identity{display:flex;align-items:center;gap:14px;min-width:0}.posh-ui .stock-table .vehicle-table-copy{display:block;min-width:0;max-width:270px;white-space:normal}.posh-ui .stock-table strong{font-size:14px;font-weight:550}.posh-ui .stock-table .vehicle-table-cover,.posh-ui .stock-table .vehicle-table-placeholder{width:76px;height:60px;flex:0 0 76px;border:0;border-radius:5px;background:#f0f2eb;display:grid;place-items:center;padding:0;overflow:hidden}.posh-ui .stock-table .vehicle-table-cover img{width:100%;height:100%;object-fit:cover}.posh-ui .stock-table .vehicle-table-placeholder svg{width:40px;height:30px;stroke:#9ba590;stroke-width:1.3;fill:none;stroke-linejoin:round}.stock-vin,.stock-subline{display:block;margin-top:4px;color:var(--muted);font-size:11px;font-weight:400;line-height:1.7}.stock-vin{font-variant-numeric:tabular-nums;letter-spacing:.02em}.stock-more{position:relative;display:inline-block}.stock-more summary{list-style:none;cursor:pointer}.stock-more summary::-webkit-details-marker{display:none}.stock-more summary:after{content:'⌄';margin-left:3px}.stock-more-panel{position:fixed;z-index:65;width:168px;padding:6px;border:1px solid var(--line);border-radius:7px;background:#fff;box-shadow:0 8px 28px #20261924}.stock-more:not([open])>.stock-more-panel{display:none}.posh-ui .stock-more .stock-more-panel .btn{display:flex;width:100%;min-height:36px;text-align:left;justify-content:flex-start;margin:0;padding:8px 10px;color:var(--ink);border:0;background:#fff}.posh-ui .stock-more .stock-more-panel .btn:hover{background:#f0f3e9}
@media(max-width:700px){.posh-ui .stock-table .stock-identity{width:100%;min-width:0;grid-column:1/-1}.posh-ui .stock-table .vehicle-table-copy{max-width:none}.posh-ui .stock-table .stock-state,.posh-ui .stock-table .stock-cost,.posh-ui .stock-table .stock-price{min-width:0;white-space:normal}.posh-ui .stock-table .stock-identity:before{content:none}.posh-ui .stock-table .row-actions{max-width:none;min-width:0}.posh-ui .stock-table .stock-more summary{min-height:40px}.posh-ui .stock-more .stock-more-panel .btn{min-height:44px}}
body.posh-ui,body.posh-subapp{background:var(--posh-frame);color:var(--ink);font:14px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}
button,a,input,select,textarea{transition:background-color .12s,border-color .12s,color .12s}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--posh-focus)!important;outline-offset:3px}
button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--orange)}
.posh-ui .layout{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:100dvh;align-items:start}
.posh-ui .sidebar{position:sticky;top:0;height:100dvh;padding:26px 16px 16px;background:var(--posh-frame);color:var(--ink);display:flex;flex-direction:column;gap:18px;overflow-y:auto;overscroll-behavior:contain;white-space:normal;border:0}
.posh-ui .brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;padding:0 4px 13px;font-size:16px;letter-spacing:-.45px;font-weight:650;white-space:nowrap;line-height:1.4}
.posh-ui .brand b{font-size:12px;color:var(--muted);font-weight:500;letter-spacing:0}
.posh-ui .brand small{display:block;margin-top:4px;font-size:11px;letter-spacing:.07em;color:var(--muted);font-weight:400}
.posh-mark{position:relative;width:30px;height:34px;flex:0 0 30px;border:1px solid #b4532940;border-radius:6px;display:grid;place-items:center;font-size:24px;font-weight:600;color:var(--orange);line-height:1}
.posh-mark>span{position:absolute;width:6px;height:6px;right:-3px;bottom:5px;background:var(--orange);border:2px solid var(--posh-frame);box-sizing:content-box}
.posh-ui .nav-group{display:grid;gap:3px}.posh-ui .nav-title{padding:0 12px 7px;font-size:11px;color:#6a7068;letter-spacing:.06em}
.posh-ui .nav{position:relative;display:flex;align-items:center;gap:10px;min-height:39px;width:100%;padding:8px 12px;color:#545b52;background:transparent;border:0;border-radius:6px;text-decoration:none;font-size:14px;line-height:1.5;text-align:left;box-shadow:none;white-space:nowrap}
.posh-ui .nav:hover{background:#e9eae3;color:var(--ink)}.posh-ui .nav.active{background:#e6e8df;color:#252a22;font-weight:600;box-shadow:none}
.posh-ui .nav.active:after{content:"";position:absolute;left:0;top:13px;bottom:13px;width:2px;border-radius:1px;background:var(--orange)}
.posh-ui .nav:before{content:none}.nav svg{height:18px;width:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.sidebar-bottom{display:flex;align-items:center;gap:8px;border-top:1px solid #dddfd6;padding:15px 8px 0;margin-top:auto;color:var(--muted);font-size:11px;white-space:nowrap}
.workspace-dot{height:5px;width:5px;background:#7b8272;border-radius:50%}.sidebar-bottom button{margin-left:auto;border:1px solid #c8ccc2;color:#646a60;width:22px;height:22px;border-radius:50%;background:transparent;cursor:pointer}
.posh-ui .main{min-width:0;padding:0 8px 8px 0}
.posh-ui .top{height:48px;min-height:48px;padding:0 20px 0 24px;background:var(--posh-frame);border:0;gap:12px;white-space:nowrap;flex-wrap:nowrap;font-size:12px}
.top-context,.top-account{display:flex;align-items:center;gap:12px;min-width:0}.top-context{flex-shrink:0}.top-product{font-size:12px;font-weight:600;letter-spacing:0}.top-divider{color:#a1a69a}.posh-ui #crumb{font-size:12px;color:var(--muted)}
.top-account{justify-content:flex-end}.posh-ui #company-name{max-width:200px;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:500}.posh-ui #user-name{max-width:160px;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:var(--muted)}
.posh-ui .top .btn{min-height:28px;padding:3px 8px;background:transparent;border-color:transparent;font-size:12px}.posh-ui .top .btn:hover{background:#e8eae2}
.workspace-search{display:flex;align-items:center;gap:8px;background:transparent;border:0;color:var(--muted);padding:4px 10px;cursor:pointer;font-size:12px;white-space:nowrap}.workspace-search svg,.workspace-menu svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round}
kbd{font:10px/1.5 inherit;color:#686e62;border:1px solid #d7dbd0;border-radius:4px;padding:0 4px}.workspace-menu,.nav-scrim{display:none}
.posh-ui .content{width:100%;max-width:none;margin:0;min-height:calc(100dvh - 56px);padding:28px 24px 32px;background:#fff;border:1px solid var(--line);border-radius:16px}
.posh-ui .heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px;text-align:left;flex-direction:row}.posh-ui .heading h1{font-size:24px;line-height:1.4;font-weight:600;letter-spacing:-.6px;margin:0 0 5px}.posh-ui .heading .muted{font-size:13px;line-height:1.6}
.workspace-eyebrow{margin:0 0 9px;font-size:11px;letter-spacing:.07em;color:var(--muted)}.workspace-date{font-size:12px;color:var(--muted);text-align:right}
.posh-ui h2{font-size:20px;font-weight:600;letter-spacing:-.3px}.posh-ui h3{font-size:15px;font-weight:600;margin-top:0}.posh-ui h4{font-size:14px}
.posh-ui .muted,.posh-ui .notice{color:var(--muted)}.posh-ui .small,.posh-ui .notice{font-size:12px}.posh-ui .card{padding:20px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:none;margin-bottom:18px;min-width:0}
.posh-ui .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:8px;margin-bottom:24px;overflow:hidden;background:#fff}
.posh-ui .stat{padding:18px 22px;margin:0;border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;background:#fff;box-shadow:none;min-width:0}.posh-ui .stat:last-child{border-right:0}.posh-ui .stat label{font-size:13px;color:var(--muted);line-height:1.5}.posh-ui .stat strong{display:block;font-size:26px;font-weight:500;letter-spacing:-.7px;line-height:1.5;font-variant-numeric:tabular-nums;margin-top:6px;overflow-wrap:anywhere}.posh-ui .stat-hint{font-size:11px;margin-top:3px}.posh-ui .metric-link:hover{background:#fafbf7}.posh-ui .metric-link:focus-visible{outline-offset:-4px}
.posh-ui .btn,.posh-subapp .button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;line-height:1.4;padding:7px 13px;border:1px solid var(--posh-control);border-radius:6px;background:#fff;color:#42483e;font-size:13px;font-weight:500;text-decoration:none;box-shadow:none;cursor:pointer}
.posh-ui .btn:hover,.posh-subapp .button:hover{background:#f3f4ee;border-color:#b7beb0}.posh-ui .btn:active,.posh-subapp .button:active{background:#e9ece2}.posh-ui .btn.primary,.posh-subapp .button.primary{background:#292d26;border-color:#292d26;color:#fff}.posh-ui .btn.primary:hover,.posh-subapp .button.primary:hover{background:#454c40;border-color:#454c40}
.posh-ui .btn.soft{background:#f5f6f0;color:#3d4936;border-color:#d6dbce}.posh-ui .btn.danger,.posh-subapp .button.danger{color:var(--red);background:#fff}.posh-ui .btn.danger:hover{background:#fff4f2;border-color:#ddaaa4}
.posh-ui .tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 16px;overflow:visible}.posh-ui .tools>label{font-size:13px;min-height:36px}.posh-ui .tools input[type=search],.posh-ui .tools input[id*=search]{flex:1;min-width:180px;max-width:360px}
.posh-ui input:not([type=checkbox]):not([type=radio]),.posh-ui select,.posh-ui textarea{min-height:38px;min-width:0;padding:8px 10px;border:1px solid var(--posh-control);border-radius:6px;color:var(--ink);background:#fff;box-shadow:none;max-width:100%}.posh-ui input::placeholder,.posh-ui textarea::placeholder{color:#858c7e;opacity:1}.posh-ui input[type=checkbox],.posh-ui input[type=radio]{accent-color:#4e6541;width:16px;height:16px;min-width:16px;min-height:16px;padding:0;margin:0}
.posh-ui input[type=file]{font-size:13px;width:100%;overflow:hidden}.posh-ui input::file-selector-button{border:0;border-right:1px solid var(--line);margin:-8px 10px -8px -10px;padding:10px 12px;color:#414b3a;background:#f3f5ed;cursor:pointer}
.posh-ui .field{gap:7px}.posh-ui .field label{font-size:13px;line-height:1.5;color:#52594e}.posh-ui .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 20px;margin:18px 0 22px}.posh-ui .dialog-form{gap:18px 20px;grid-template-columns:repeat(2,minmax(0,1fr))}.posh-ui .field textarea{min-height:88px;resize:vertical}.posh-ui .role-options{gap:8px}.posh-ui .role-option{border-radius:6px;font-size:13px;padding:8px 12px}
.posh-ui .statusbar{gap:0;margin:0 0 20px;border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:stretch}.posh-ui .statusbar .btn{position:relative;background:transparent;border:0;border-radius:0;min-height:41px;padding:10px 13px;color:var(--muted);font-size:13px;box-shadow:none}.posh-ui .statusbar .btn:first-child{padding-left:3px;padding-right:16px}.posh-ui .statusbar .btn.active{color:var(--ink);font-weight:600;background:transparent;border:0}.posh-ui .statusbar .btn.active:after{content:"";position:absolute;height:2px;background:var(--orange);left:10px;right:10px;bottom:-1px}.posh-ui .statusbar .btn:first-child.active:after{left:0}.posh-ui .statusbar .btn:hover{color:var(--ink);background:#f8f9f4}
.posh-ui .tablewrap{width:100%;max-width:100%;overflow:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#ced3c5 transparent}.posh-ui table{width:100%;border-collapse:collapse;min-width:700px;font-size:13px}.posh-ui th{height:38px;background:#fff;color:var(--muted);font-size:12px;font-weight:500;padding:9px 12px;border-bottom:1px solid #dce0d5;white-space:nowrap;text-align:left}.posh-ui td{padding:16px 12px;border-bottom:1px solid var(--line);color:#3e4539;vertical-align:middle;white-space:nowrap;line-height:1.6}.posh-ui tbody tr:last-child td{border-bottom:0}.posh-ui tbody tr:hover{background:#fafbf7}.posh-ui td:first-child,.posh-ui th:first-child{padding-left:0}.posh-ui td:last-child,.posh-ui th:last-child{padding-right:0}.posh-ui .numeric{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.posh-ui td .small{font-size:11px}.posh-ui td .btn{min-height:30px;font-size:12px;padding:4px 8px;margin:2px 0}.posh-ui .row-actions .btn{background:transparent;border-color:transparent;color:#56664a}.posh-ui .row-actions .btn:hover{background:#eaf0e3}.posh-ui .row-actions{min-width:160px;max-width:280px;white-space:normal}.posh-ui .row-actions .btn.danger{color:var(--red)}
.posh-ui .tag{padding:2px 8px;border-radius:5px;background:#edf4ed;color:#386044;font-size:11px;line-height:1.8;font-weight:500}.posh-ui .tag.orange{background:#faf0e7;color:#92532d}.posh-ui .customer-tag{border-radius:5px;font-size:12px;min-width:26px;text-align:center}.posh-ui .customer-tag-h,.posh-ui .customer-tag-a{background:#fbefdf;color:#885319}.posh-ui .customer-tag-b,.posh-ui .customer-tag-c{background:#edf2e9;color:#50673e}.posh-ui .customer-tag-n{background:#f0f0ed;color:#666c61}.posh-ui .customer-tag-p{background:#e7f1ea;color:#316146}
.posh-ui .task-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 20px}.posh-ui .task-card{position:relative;padding:16px 0;border:0;border-top:1px solid var(--line);border-radius:0;min-height:100px;box-shadow:none;background:#fff;font-size:13px}.posh-ui .task-card strong{font-size:25px;line-height:1.4;letter-spacing:-.5px;font-weight:500;margin:5px 0;font-variant-numeric:tabular-nums}.posh-ui .task-card .task-hint{font-size:11px}.posh-ui .task-card:hover{background:#f8faf4;color:#252f1e}.posh-ui .task-card:focus-visible{outline-offset:3px}.posh-ui .task-card[data-empty=true]{color:#73796b}.posh-ui .task-card[data-empty=true] strong{color:#979f8d}
.posh-ui #dashboard-getting-started{background:#f7f8f3;border:0}.posh-ui #dashboard-getting-started .tools{margin:16px 0 0}.posh-ui #backup-status-card{padding:14px 18px;background:#fafbf7}.posh-ui #backup-status-card h3{font-size:13px;margin-bottom:8px}.posh-ui #backup-status-card>p{font-size:11px;margin:4px 0 0;max-width:880px}.posh-ui #backup-status-card .banner{font-size:12px;padding:8px 10px;margin:0;border-radius:5px}.posh-ui .banner{background:#f7f2e7;color:#735d32;font-size:13px;padding:12px 14px;border-radius:6px;line-height:1.7;overflow-wrap:anywhere}.posh-ui #backup-status-card.backup-warning .banner{background:#fbf0ec;color:#8c4631}
.inventory-strip{display:flex;gap:5px;height:7px;margin:18px 0 14px;border-radius:2px;overflow:hidden;background:#f3f5ee}.inventory-strip span{background:#778a65;min-width:5px}.inventory-strip span:nth-child(2){background:#a6b497}.inventory-strip span:nth-child(3){background:#c7cebd}.inventory-strip span:nth-child(4){background:#dadfd3}.inventory-strip span:nth-child(5){background:#e8ebe3}.inventory-key{display:flex;flex-wrap:wrap;gap:8px 24px}.inventory-key button{background:transparent;border:0;padding:2px 0;color:var(--muted);font-size:12px;cursor:pointer}.inventory-key b{font-size:14px;font-weight:500;color:var(--ink);margin-left:12px;font-variant-numeric:tabular-nums}.inventory-key button:hover{text-decoration:underline;text-underline-offset:4px}.inventory-card-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.inventory-card-head h3{margin:0}.inventory-card-head p{margin:0;color:var(--muted);font-size:12px}
.posh-ui dialog{max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #d9ddd3;border-radius:12px;padding:26px;color:var(--ink);background:#fff;box-shadow:0 18px 70px #20261924;overscroll-behavior:contain}.posh-ui dialog::backdrop{background:#20261c55;backdrop-filter:none}.posh-ui .dialog-head{gap:16px;align-items:flex-start;padding-bottom:16px;border-bottom:1px solid var(--line);margin-bottom:18px}.posh-ui .dialog-head h2,.posh-ui .dialog-head h3{margin:2px 0 0}.posh-ui .dialog-head .btn{min-height:30px;font-size:12px;padding:5px 10px}.posh-ui .sales-order-block{padding:18px 0;border-bottom:1px solid var(--line);border-radius:0;background:#fff}.posh-ui .sales-order-vehicle{background:#f5f7ef;border-radius:6px;border:0}.posh-ui .history-list{border-top:1px solid var(--line)}.posh-ui .history-item{font-size:13px;padding:14px 2px}.posh-ui .history-note{line-height:1.7}.posh-ui .purchase-details-grid{gap:0 24px}.posh-ui .purchase-details-grid>div{grid-template-columns:112px minmax(0,1fr)}.posh-ui .vehicle-attachment-uploader{background:#f8f9f4;border-color:var(--line);border-radius:8px}.posh-ui .vehicle-image-card{border-color:var(--line);border-radius:6px;box-shadow:none}
.posh-ui .date-range-trigger{min-height:38px;border-color:var(--posh-control);color:#454d3e;font-size:13px;border-radius:6px}.posh-ui .date-range-icon{color:#6a755f}.posh-ui .date-range-popover{border-color:var(--line);box-shadow:0 12px 36px #20261924;z-index:60}.posh-ui .date-range-day.in-range{background:#edf2e5}.posh-ui .date-range-day.range-start,.posh-ui .date-range-day.range-end{background:#526a40;color:#fff}
.posh-ui .empty{padding:44px 20px;color:var(--muted);font-size:13px;text-align:center;white-space:normal}.posh-ui .toast{right:24px;bottom:24px;background:#2d3527;color:#fff;max-width:min(460px,calc(100vw - 32px));font-size:13px;z-index:100;box-shadow:none;border-radius:6px}
.posh-ui .auth-wrap{min-height:100dvh;padding:48px 24px;background:var(--posh-frame)}.posh-ui .auth{position:relative;width:min(440px,100%);padding:36px;border:1px solid #e0e3d8;border-radius:12px;box-shadow:none;background:#fff}.posh-ui .auth>.brand{display:block!important;padding:0 0 26px!important;color:#262c20!important;font-size:16px;border-bottom:1px solid var(--line);margin-bottom:28px;letter-spacing:-.3px}.posh-ui .auth>.brand small{font-size:11px;letter-spacing:.04em;margin-top:6px}.posh-ui .auth h1{font-size:23px;font-weight:600;letter-spacing:-.5px;line-height:1.45;margin:0 0 8px}.posh-ui .auth .muted{font-size:13px}.posh-ui .auth .field{margin:20px 0}.posh-ui .auth .btn{min-height:40px;margin-top:6px}.posh-ui .auth .tools{display:grid;grid-template-columns:1fr 1fr;gap:0;border-bottom:1px solid var(--line);margin:22px 0 10px}.posh-ui .auth .tools .btn{background:transparent;color:var(--muted);border:0;border-radius:0;border-bottom:2px solid transparent;min-height:38px;margin:0;white-space:normal}.posh-ui .auth .tools .btn.primary{color:var(--ink);border-bottom-color:var(--orange);font-weight:600}.posh-ui #login-error{color:var(--red);font-size:13px}.posh-ui .auth #login-submit{margin-top:14px}.posh-ui .auth form .tools{display:flex;border:0;gap:8px;margin:0}.posh-ui #login-sms-send{width:auto;font-size:12px}
.posh-ui .site-footer{margin-left:228px;text-align:center;color:var(--muted);padding:12px 16px;font-size:11px}.posh-ui:has(#app.hidden) .site-footer{margin-left:0}.posh-ui .site-footer a{color:inherit}
.posh-ui .permission-package-card{border-color:var(--line);border-radius:8px;box-shadow:none}.posh-ui .permission-package-card .btn.primary{background:#292d26;border-color:#292d26}.posh-ui .permission-package-grid{gap:16px}.posh-ui .permission-section{border-color:var(--line);background:#fff}.posh-ui .permission-group{background:#fafbf7;border-color:var(--line)}
.switcher-results{display:grid;gap:4px;margin-top:15px}.switcher-results button{display:flex;justify-content:space-between;text-align:left;padding:12px;border:0;background:#fff;border-radius:5px;color:var(--ink);cursor:pointer}.switcher-results button:hover,.switcher-results button:focus-visible{background:#edf1e5}.switcher-results span{color:var(--muted);font-size:12px}.workspace-help-list{padding-left:20px}.workspace-help-list li{margin:18px 0}.workspace-help-list p{color:var(--muted);margin:6px 0;font-size:13px}
/* Separate employee tools share the same visual language. */
.posh-subapp .topbar{background:var(--posh-frame);color:var(--ink);border-bottom:0;box-shadow:none;min-height:56px}.posh-subapp .topbar .brand,.posh-subapp .topbar .brand strong{color:var(--ink)}.posh-subapp .topbar-label{color:var(--muted)}.posh-subapp .shell{max-width:1480px;width:calc(100% - 48px);margin:8px auto 24px;padding:28px;background:#fff;border:1px solid var(--line);border-radius:16px}.posh-subapp h1{font-size:24px;line-height:1.4}.posh-subapp h2{font-size:18px}.posh-subapp h3{font-size:15px}.posh-subapp .page-heading{padding:0 0 24px}.posh-subapp .eyebrow{color:var(--muted);font-size:11px;letter-spacing:.06em}.posh-subapp .panel,.posh-subapp .vehicle-card,.posh-subapp .status-panel,.posh-subapp .summary-card{border-color:var(--line);border-radius:8px;box-shadow:none}.posh-subapp .workspace-nav{background:#fff;border-radius:0;border-bottom:1px solid var(--line);padding:0}.posh-subapp .nav-button{background:transparent;border-radius:0;border:0;border-bottom:2px solid transparent;color:var(--muted)}.posh-subapp .nav-button.active{background:transparent;color:var(--ink);border-bottom-color:var(--orange)}.posh-subapp input,.posh-subapp select,.posh-subapp textarea{border-color:var(--posh-control);border-radius:6px}.posh-subapp th{background:#fff;color:var(--muted)}
@media(min-width:1600px){.posh-ui .content{padding:32px 32px 40px}.posh-ui .task-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1180px) and (min-width:701px){.posh-ui .layout{grid-template-columns:196px minmax(0,1fr)}.posh-ui .sidebar{padding-left:12px;padding-right:12px}.posh-ui .brand{font-size:14px;gap:8px}.posh-ui .top{padding-left:20px;gap:8px}.top-account{gap:8px}.posh-ui #company-name{max-width:150px}.posh-ui #user-name{display:none}.workspace-search span,.workspace-search kbd{display:none}.posh-ui .content{padding:24px 20px}.posh-ui .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.posh-ui .task-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.posh-ui .stat{padding:16px}.posh-ui .stat strong{font-size:23px}.posh-ui .site-footer{margin-left:196px}}
@media(max-width:900px) and (min-width:701px){.posh-ui .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.posh-ui .stat:nth-child(even){border-right:0}.posh-ui .task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.posh-ui .heading{align-items:flex-start;gap:14px;flex-wrap:wrap}.posh-ui .heading h1{font-size:23px}.posh-ui #company-name{display:none}.posh-ui .top-account{gap:3px}.posh-ui .brand small{font-size:11px}.posh-ui .form-grid{gap:16px}.posh-ui .card{padding:16px}}
@media(max-width:700px){
.posh-ui .layout{display:block;min-height:100dvh}.posh-ui .main{padding:0}.posh-ui .sidebar{display:flex;position:fixed;inset:0 auto 0 0;z-index:81;width:272px;height:100dvh;max-width:85vw;transform:translateX(-100%);transition:transform .16s ease;padding:25px 18px;gap:18px;visibility:hidden}.posh-ui.nav-open .sidebar{transform:translateX(0);visibility:visible}.posh-ui .sidebar .brand{display:flex!important}.posh-ui .sidebar .brand small{display:block!important}.posh-ui .nav-title{display:block}.posh-ui .nav{min-height:44px;font-size:14px;text-align:left;padding:11px 12px;width:100%;flex:none}.posh-ui .nav.active{box-shadow:none}.posh-ui .sidebar .notice{display:none}.posh-ui .nav-scrim:not([hidden]){display:block;position:fixed;inset:0;z-index:80;background:#20261c55;border:0;width:100%;height:100%;padding:0}.posh-ui.nav-open{overflow:hidden}
.posh-ui .top{position:sticky;top:0;z-index:35;min-height:48px;height:48px;padding:0 16px;gap:6px;border-bottom:1px solid var(--line);background:var(--posh-frame)}.workspace-menu{display:grid;place-items:center;width:32px;height:40px;padding:0;background:transparent;border:0;color:#444c3c;cursor:pointer}.top-context{gap:9px}.top-product{display:none}.top-divider{display:none}.posh-ui #crumb{font-size:13px;font-weight:500;color:var(--ink)}.top-account{gap:0}.posh-ui #company-name,.posh-ui #user-name,.workspace-search span,.workspace-search kbd{display:none}.workspace-search{padding:8px;min-height:40px}.posh-ui .top .btn{font-size:11px;min-height:40px;padding:5px 7px}.posh-ui #logout{display:none}
.posh-ui .content{border:0;border-radius:0;padding:24px 16px 28px;min-height:calc(100dvh - 48px)}.posh-ui .heading{align-items:flex-start;gap:14px;flex-direction:column;flex-wrap:wrap;margin-bottom:22px}.posh-ui .heading h1{font-size:23px;margin-bottom:5px}.posh-ui .heading .muted{font-size:13px}.posh-ui .dashboard-heading{flex-direction:row;align-items:flex-start}.workspace-eyebrow{font-size:11px;margin:0 0 6px}.workspace-date{font-size:11px;max-width:120px;line-height:1.5}.posh-ui .card{padding:16px;margin-bottom:16px;border-radius:7px}.posh-ui .stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:22px}.posh-ui .stat{padding:16px 18px}.posh-ui .stat:nth-child(even){border-right:0}.posh-ui .stat strong{font-size:25px}.posh-ui .stat label{font-size:13px}.posh-ui .stat-hint{font-size:11px}.posh-ui .task-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.posh-ui .task-card{padding:15px 0;min-height:100px}.posh-ui .task-card strong{font-size:25px}.posh-ui .task-card span:first-child{font-size:13px}
.posh-ui .btn{min-height:44px;padding:10px 13px;font-size:13px}.posh-ui .tools{display:flex;overflow:visible;flex-wrap:wrap;gap:8px}.posh-ui .tools>input:not([type=checkbox]):not([type=radio]),.posh-ui .tools>select{flex:1;max-width:100%;min-width:130px}.posh-ui .tools input[id*=search]{max-width:100%;width:100%}.posh-ui .tools>label{flex-wrap:wrap}.posh-ui .form-grid,.posh-ui .dialog-form{grid-template-columns:minmax(0,1fr);gap:18px;margin:18px 0 22px}.posh-ui .form-grid .wide{grid-column:auto}.posh-ui .field input:not([type=checkbox]):not([type=radio]),.posh-ui .field select{min-height:44px;font-size:16px}.posh-ui .field label{font-size:13px}.posh-ui .field input[type=file]{font-size:13px}.posh-ui .role-option{min-height:44px}.posh-ui .statusbar{flex-wrap:nowrap;overflow:auto;gap:0;max-width:100%;scrollbar-width:none}.posh-ui .statusbar .btn{flex:0 0 auto;min-height:44px;font-size:12px;padding:9px 12px;white-space:nowrap}.posh-ui .vehicle-heading-actions,.posh-ui .customer-heading-actions{display:flex;gap:8px;width:100%;justify-content:flex-start}
.posh-ui .responsive-table{display:block;min-width:0!important;width:100%}.posh-ui .responsive-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.posh-ui .responsive-table tbody{display:block}.posh-ui .responsive-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;padding:18px 0;border-bottom:1px solid var(--line);min-width:0;white-space:normal;background:#fff}.posh-ui .responsive-table tr:first-child{padding-top:6px}.posh-ui .responsive-table tr:last-child{border-bottom:0}.posh-ui .responsive-table td{display:block;position:static;min-width:0;width:auto;padding:0;border:0;text-align:left!important;white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.6;background:transparent}.posh-ui .responsive-table td:before{content:attr(data-mobile-label);display:block;position:static;width:auto;color:var(--muted);font-size:11px;margin-bottom:3px;font-weight:400}.posh-ui .responsive-table td.identity{grid-column:1/-1;font-size:15px;font-weight:600;display:block}.posh-ui .responsive-table .identity:before{font-size:11px;font-weight:400}.posh-ui .responsive-table .row-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px;max-width:none;width:100%;padding-top:9px;border-top:1px solid #f0f1eb}.posh-ui .responsive-table .row-actions:before{content:none}.posh-ui .responsive-table td .btn{min-height:40px;padding:8px 10px;font-size:12px;background:#f5f7f0;border:1px solid #e3e7da;margin:0}.posh-ui .responsive-table td .small{display:block;font-size:11px;font-weight:400}.posh-ui .responsive-table td.empty{grid-column:1/-1;display:block;padding:26px 0;text-align:center!important}.posh-ui .responsive-table td.empty:before{content:none}.posh-ui .responsive-table .vehicle-summary-cell{padding:0!important}.posh-ui .responsive-table .vehicle-summary-cell img{width:76px;height:56px}
.posh-ui dialog{width:calc(100% - 24px);max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:20px 16px;border-radius:10px}.posh-ui .dialog-head{gap:12px;margin-bottom:18px;align-items:flex-start}.posh-ui .dialog-head h2{font-size:18px}.posh-ui .dialog-head .btn{min-height:40px}.posh-ui .sales-order-block{padding:16px 0}.posh-ui .purchase-details-grid{grid-template-columns:minmax(0,1fr)}.posh-ui .purchase-details-grid>div{grid-template-columns:100px minmax(0,1fr)}.posh-ui .banner{font-size:12px;padding:12px}.posh-ui .toast{right:16px;bottom:20px;font-size:13px;max-width:calc(100vw - 32px)}.posh-ui .date-range-picker,.posh-ui .date-range-trigger{max-width:100%;min-width:0;width:100%}.posh-ui .date-range-trigger{min-height:44px}.inventory-card-head{align-items:flex-start}.inventory-card-head p{max-width:150px;font-size:11px;text-align:right}.inventory-key{gap:8px 18px}.inventory-key button{min-height:36px}.posh-ui #backup-status-card>p{font-size:11px}.posh-ui .site-footer{margin-left:0;font-size:11px}.posh-ui .auth-wrap{padding:24px 16px;background:#fff;align-items:center}.posh-ui .auth{width:100%;padding:24px 12px;border:0;border-radius:0}.posh-ui .auth h1{font-size:23px}.posh-ui .auth .btn{min-height:46px}.posh-ui .auth .tools .btn{font-size:13px}.posh-ui #login-sms-send{white-space:normal;max-width:100px;min-width:80px}
.posh-subapp .topbar{padding:10px 16px;gap:12px}.posh-subapp .topbar-label{display:none}.posh-subapp .shell{width:100%;margin:0;border:0;border-radius:0;padding:24px 16px}.posh-subapp h1{font-size:23px}.posh-subapp .page-heading{padding-bottom:20px}.posh-subapp .button{min-height:44px;font-size:13px}.posh-subapp .filter-bar{grid-template-columns:minmax(0,1fr)}.posh-subapp .panel{padding:16px}.posh-subapp .workspace-nav{overflow:auto;flex-wrap:nowrap}.posh-subapp .nav-button{flex-shrink:0;min-height:44px;font-size:13px}
}
/* Wide inventory remains bounded on tablet; phone uses labelled records. */
.posh-ui #page-vehicles .tablewrap{overflow:auto;contain:inline-size}
.posh-ui .section h1[tabindex="-1"]:focus{outline:none}
.posh-ui #customer-form-card,.posh-ui #vehicle-form-card,.posh-ui #purchase-form-card{scroll-margin-top:72px}
.posh-ui #sales-order-dialog{width:min(1180px,calc(100vw - 32px));height:auto;max-height:calc(100dvh - 32px);inset:0;margin:auto;padding:24px;border:1px solid var(--line);border-radius:12px;background:#fff}
.posh-ui #sales-order-dialog::backdrop{background:#20261c55}
.posh-ui #sales-form{padding:0;border:0;border-radius:0}
.posh-ui #sales-order-dialog .sales-order-form-grid{column-gap:24px;row-gap:18px}
.posh-ui #sales-order-dialog .sales-order-block{border-bottom:0}
.posh-ui #sales-order-vehicle-summary{border:0;border-radius:6px;background:#f3f5ee}
@media(max-width:700px){.posh-ui #sales-order-dialog{inset:0;width:100%;height:100dvh;max-width:100%;max-height:100dvh;margin:0;padding:20px 16px;border:0;border-radius:0}.posh-ui #sales-order-dialog .sales-order-form-grid{grid-template-columns:minmax(0,1fr)}.posh-ui #sales-order-dialog .sales-order-radio-group{flex-wrap:wrap}.posh-ui #sales-order-dialog .dialog-head{position:sticky;top:-20px;z-index:5;background:#fff;padding-top:10px}.posh-ui .stock-table .numeric{text-align:left!important}}
.posh-ui .stat.is-money strong{font-size:22px;white-space:nowrap;letter-spacing:-.5px}@media(max-width:900px){.posh-ui .stat.is-money strong{font-size:18px;letter-spacing:-.4px}}
.posh-ui .workspace-mobile-logout{display:none}@media(max-width:700px){.posh-ui .workspace-mobile-logout{display:block;width:auto;height:36px;border:0;border-radius:4px;padding:6px;color:var(--muted);font-size:12px;margin-left:0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
}
