@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;450;500;550;600;650;700;750;800&display=swap');
:root{--blue:#12679b;--ink:#102b46;--muted:#627f94;--line:#dce9f0;--bg:#f2f8fb;--green:#229c79}*{box-sizing:border-box}body{margin:0;background:var(--bg);font:13px 'Golos Text',Arial,sans-serif;color:var(--ink)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button{border:0;background:none;color:inherit}svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle;stroke-width:1.7}#sidebar{position:fixed;inset:0 auto 0 0;width:228px;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:32px 18px 18px;z-index:20}.brand{display:flex;align-items:center;gap:10px;padding:0 15px;font-size:24px;font-weight:750;letter-spacing:-1px}.brand-icon{width:33px;height:33px;border-radius:11px;background:var(--blue);color:white;display:grid;place-items:center}.brand-icon svg{width:24px;height:24px}.brand-sub{font-size:9px;letter-spacing:2px;font-weight:500;color:var(--muted);margin:7px 0 37px 59px}.branch{display:flex;align-items:center;gap:10px;padding:14px 12px;background:#f8fafc;border:1px solid var(--line);border-radius:10px;margin:0 0 29px}.branch svg{color:#6280aa}.branch b{display:block;font-size:11px}.branch small{display:block;color:var(--muted);margin-top:4px;font-size:10px}.nav-label{font-size:9px;letter-spacing:1.5px;color:#a2adbe;padding:0 15px;margin:0 0 12px}.nav{display:flex;align-items:center;gap:12px;width:100%;padding:13px 14px;margin:3px 0;border-radius:8px;color:#6f7e94;text-align:left;font-weight:500}.nav:hover{background:#f7f9fd}.nav.active{background:#eaf2ff;color:var(--blue)}.nav-count{margin-left:auto;background:#dce9ff;font-size:10px;padding:3px 6px;border-radius:5px}.nav-bottom{margin-top:auto}.storage-card{background:#f2f7ff;border:1px solid #e4edfc;padding:15px;border-radius:10px;margin:16px 2px}.storage-card b{font-size:11px}.storage-card p{font-size:10px;color:#7b8da8;line-height:1.7;margin:7px 0 0}.profile{display:flex;gap:10px;align-items:center;padding:14px 10px 0;border-top:1px solid var(--line)}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#edf3ff;color:#5b81bd;font-size:11px;font-weight:600}.profile b{font-size:11px}.profile small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.workspace{margin-left:228px}#topbar{height:81px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:20px;padding:0 34px}.breadcrumb{font-size:12px;color:#9ba6b6;white-space:nowrap}.breadcrumb b{color:#4c5e76;font-weight:500}.global-search{margin-left:auto;display:flex;align-items:center;background:#f7f9fc;border:1px solid var(--line);padding:9px 12px;border-radius:8px;width:285px;gap:9px;color:#a0acbc}.global-search input{width:100%;border:none;background:none;outline:none;font-size:11px}.key{font-size:10px;border:1px solid #e2e8f0;border-radius:4px;padding:2px 4px}.icon-button{border:1px solid var(--line);border-radius:9px;width:36px;height:36px;display:grid;place-items:center;color:#7a8aa2}.today{font-size:11px;color:#7c8ba0;white-space:nowrap}main{padding:31px 34px 26px;max-width:1680px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:26px}h1{font-size:27px;letter-spacing:-.9px;font-weight:650;margin:0 0 9px}p.subtitle{font-size:12px;color:#8a98ac;margin:0}.actions{display:flex;gap:9px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border-radius:8px;background:white;border:1px solid #e0e7f1;font-size:11px;font-weight:550;white-space:nowrap}.btn svg{width:16px;height:16px}.btn.primary{background:var(--blue);border-color:var(--blue);color:white;box-shadow:0 3px 6px #246bfd18}.btn:hover{filter:brightness(.97)}.btn.danger{color:#d04b58}.welcome{background:linear-gradient(110deg,#e8f2ff 0%,#edf5ff 70%,#e4efff 100%);border:1px solid #dfeafb;padding:23px 25px;display:flex;justify-content:space-between;align-items:center;border-radius:12px;margin-bottom:23px;overflow:hidden;position:relative}.welcome h2{font-size:18px;font-weight:600;margin:0 0 9px;letter-spacing:-.4px}.welcome p{font-size:11px;color:#6e87aa;margin:0}.welcome .orb{border:1px solid #c9ddfc;width:115px;height:115px;border-radius:50%;position:absolute;right:55px;top:-8px;display:grid;place-items:center}.orb:before{content:'';position:absolute;width:155px;height:155px;border-radius:50%;border:1px solid #d6e5fb}.orb svg{color:#7ca6e5;width:50px;height:50px;transform:rotate(-13deg)}.welcome-link{z-index:1;background:#ffffffb5;margin-right:165px;border:1px solid #dbe7f7;color:#4f79b6;border-radius:7px;padding:9px 12px;font-size:10px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:23px}.stat{background:white;border:1px solid var(--line);border-radius:11px;padding:18px 19px}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#8190a6}.stat-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#eff5ff;color:#6b98e5}.stat-value{font-size:27px;font-weight:600;letter-spacing:-.9px;margin:10px 0 9px}.stat-bottom{font-size:10px;color:#96a1b2;display:flex;align-items:center;gap:6px}.positive{color:var(--green)}.layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden;margin-bottom:22px}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:20px 21px;gap:12px}.panel-head h2{font-size:14px;font-weight:600;margin:0;letter-spacing:-.2px}.panel-head small{color:#9aa6b8;font-size:10px}.text-link{color:var(--blue);font-size:10px;display:flex;gap:5px;align-items:center}.text-link svg{width:13px;height:13px}.pipeline{display:flex;gap:8px;padding:0 20px 20px}.pipeline button{flex:1;border-radius:8px;background:#f8fafc;padding:13px 9px;text-align:left;border:1px solid #f0f3f8}.pipeline button:hover{border-color:#a9c6ff}.pipeline span{display:block;font-size:9px;color:#8795a9;margin-bottom:9px;white-space:nowrap}.pipeline b{font-size:20px;font-weight:600}.dot{display:inline-block!important;border-radius:50%;width:6px;height:6px;margin:0 5px 1px 0!important}.tabs{display:flex;gap:24px;padding:0 21px;border-bottom:1px solid var(--line)}.tab{font-size:11px;color:#96a1b1;padding:0 0 13px;border-bottom:2px solid transparent;white-space:nowrap}.tab.active{color:var(--blue);border-color:var(--blue)}.tab em{font-style:normal;font-size:9px;margin-left:4px;border-radius:4px;padding:2px 5px;background:#f0f4fa}.toolbar{display:flex;gap:10px;padding:15px 20px}.search{display:flex;align-items:center;gap:8px;border:1px solid #e6ecf4;border-radius:7px;padding:8px 10px;color:#9ba8ba;flex:1}.search svg{width:15px;height:15px}.search input{border:0;outline:0;width:100%;font-size:10px}.toolbar select{border:1px solid #e6ecf4;color:#7d8ca3;border-radius:7px;padding:8px 10px;font-size:10px;background:white}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:9px;font-weight:500;letter-spacing:.15px;color:#9ba6b7;background:#fbfcfe;padding:12px 20px;border-block:1px solid var(--line)}td{font-size:11px;padding:16px 20px;border-bottom:1px solid #f0f3f7}tbody tr:last-child td{border-bottom:0}tbody tr.clickable{cursor:pointer}tbody tr.clickable:hover{background:#f9fbff}td b{font-weight:550}td small{display:block;color:#97a3b5;font-size:9px;margin-top:5px}.order-id{color:#4e7ec8;font-size:10px;font-weight:550}.device{display:flex;gap:9px;align-items:center}.phone-icon{background:#f4f7fc;color:#a6b6cf;padding:6px;border-radius:7px}.phone-icon svg{width:15px;height:22px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:5px 7px;font-size:9px;white-space:nowrap}.badge.blue{color:#5186d6;background:#edf4ff}.badge.orange{color:#c38a3c;background:#fff5e5}.badge.violet{color:#8870c1;background:#f3effc}.badge.green{color:#3a9b7d;background:#eaf8f2}.badge.gray{color:#8290a6;background:#f0f3f7}.badge.red{color:#cf6370;background:#fff0f2}.table-foot{border-top:1px solid var(--line);padding:13px 20px;display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#9ba8ba}.table-foot span:last-child{color:#7088ad}.right-panel .panel-head{padding:20px 18px}.ready-item{padding:14px 18px;border-top:1px solid #f1f4f8;display:flex;gap:11px}.ready-item .avatar{width:33px;height:33px;font-size:10px;background:#eef7ff;color:#699ad2}.ready-body{flex:1}.ready-body b{display:block;font-size:11px;font-weight:550}.ready-body p{font-size:10px;color:#8a9ab0;margin:6px 0}.ready-body .bottom{display:flex;justify-content:space-between;align-items:center;margin-top:8px;font-size:10px}.ready-body button{color:#4f83d2;font-size:9px;padding:0}.activity{padding:0 19px 6px}.activity-item{display:flex;gap:11px;padding-bottom:22px;position:relative}.activity-item:not(:last-child):before{position:absolute;content:'';left:13px;top:28px;bottom:0;border-left:1px solid #eaf0f6}.activity-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#f2f7ff;color:#78a0de;flex-shrink:0}.activity-icon svg{width:13px;height:13px}.activity-item b{font-size:10px;font-weight:500;display:block;margin:3px 0 6px}.activity-item p{font-size:9px;color:#95a3b5;margin:0;line-height:1.6}.activity-item small{display:block;color:#abb5c3;font-size:9px;margin-top:5px}.stock-warning{background:#fffbf3;border-color:#f4ecdd;padding:17px 18px;display:flex;gap:10px}.stock-warning>svg{color:#cca05b;width:18px}.stock-warning b{font-size:11px;font-weight:550}.stock-warning p{font-size:10px;line-height:1.7;color:#aa9676;margin:7px 0 10px}.stock-warning button{color:#ba8e4c;font-size:10px;padding:0}footer{padding:0 34px 22px;font-size:9px;color:#9ba9bc;letter-spacing:1px}footer>span{margin-left:15px;letter-spacing:0}.footer-right{float:right}.footer-right i{display:inline-block;width:5px;height:5px;background:#68b89b;border-radius:50%;margin-left:5px}dialog{border:1px solid #e1e8f4;border-radius:15px;padding:0;max-width:780px;width:calc(100% - 36px);box-shadow:0 25px 100px #21375930;color:var(--ink)}dialog::backdrop{background:#14284355;backdrop-filter:blur(4px)}.modal-head{padding:23px 27px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modal-head h2{margin:0;font-size:19px;font-weight:600}.modal-head p{font-size:11px;color:var(--muted);margin-bottom:0}.modal-close{font-size:25px;color:#91a0b5}.modal-body{padding:24px 27px;max-height:70vh;overflow:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#71829b}.field input,.field select,.field textarea{border:1px solid #dfe6f0;padding:11px 12px;border-radius:7px;min-width:0;color:var(--ink);background:#fff}.field textarea{min-height:72px;resize:vertical}.full{grid-column:1/-1}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #bed6ff;border-color:var(--blue)}.form-section{font-size:10px;text-transform:uppercase;letter-spacing:1.3px;color:#9aa8bc;grid-column:1/-1;margin-top:7px}.modal-foot{padding:17px 27px;display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--line);background:#fbfcff}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:23px}.detail-item small{display:block;font-size:10px;color:#8a99ad;margin-bottom:7px}.detail-item strong{font-size:12px;font-weight:500}.detail-banner{background:#f1f6ff;border-radius:10px;padding:18px;display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.detail-banner h3{margin:0 0 7px;font-size:18px}.detail-banner p{margin:0;font-size:11px;color:#8397b7}.note{padding:14px 16px;background:#f7f9fc;border-radius:8px;color:#8292aa;font-size:11px;line-height:1.8}.empty{padding:50px;text-align:center;color:#8c9bb0;font-size:12px}.client-avatar{display:flex;gap:10px;align-items:center}.low-stock{color:#c89449}.report-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.chart{display:flex;gap:20px;align-items:end;height:220px;padding:25px 30px 35px}.chart-col{flex:1;display:flex;align-items:center;flex-direction:column;justify-content:end;height:100%;gap:8px;font-size:9px;color:#96a5bb}.bar{width:100%;background:#d7e7ff;border-radius:5px 5px 0 0;min-height:3px}.bar.current{background:var(--blue)}.setting-card{max-width:850px}.settings-content{padding:0 22px 25px}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--line);gap:15px}.setting-row b{display:block;font-size:12px;margin-bottom:7px}.setting-row p{font-size:11px;color:var(--muted);margin:0;line-height:1.7}#toast{position:fixed;bottom:25px;left:calc(50% + 114px);transform:translateX(-50%) translateY(100px);padding:14px 23px;border-radius:10px;background:#193253;color:white;font-size:12px;box-shadow:0 8px 30px #19325330;z-index:100;transition:transform .25s}#toast.visible{transform:translateX(-50%) translateY(0)}#print-area{display:none}.amount{font-variant-numeric:tabular-nums}.mobile-menu{display:none}.hint{font-size:10px;color:#99a6b8;line-height:1.7}.document-option{width:100%;display:flex;gap:14px;align-items:center;padding:20px;border:1px solid var(--line);border-radius:9px;margin-bottom:12px;text-align:left}.document-option>svg{color:var(--blue);width:27px;height:27px}.document-option b{display:block;font-size:12px;margin-bottom:6px}.document-option small{color:var(--muted);font-size:10px}.list-action{font-size:10px;color:var(--blue)}@media(min-width:1550px){main{padding-top:36px}.stats{gap:22px}.layout{grid-template-columns:minmax(0,1fr) 320px}td{padding-block:20px}.pipeline button{padding:16px 13px}.welcome{padding-block:28px}}@media(max-width:1200px){#sidebar{width:195px;padding-inline:12px}.workspace{margin-left:195px}main{padding:25px 22px}#topbar{padding:0 22px}.layout{grid-template-columns:minmax(0,1fr) 255px;gap:16px}td,th{padding-inline:12px}.global-search{width:220px}.today{display:none}.stat{padding:15px}.welcome-link{margin-right:0}.welcome .orb{display:none}.pipeline{gap:5px;padding-inline:15px}.pipeline button{padding:12px 7px}.pipeline span{font-size:8px}#toast{left:calc(50% + 98px)}}@media(max-width:1000px){.layout{grid-template-columns:1fr}.right-panel{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.stock-warning{grid-column:1/-1}.stats{gap:10px}.stat-value{font-size:24px}.stat-top{font-size:10px}.stat-icon{width:26px;height:26px}.stat-icon svg{width:15px}h1{font-size:24px}.report-grid{grid-template-columns:1fr}}@media(max-width:760px){#sidebar{width:70px;padding:24px 9px}.brand{padding:0 8px}.brand>span:not(.brand-icon),.brand-sub,.branch,.nav-label,.nav>span,.storage-card,.profile>div:not(.avatar){display:none}.brand{margin-bottom:30px}.nav{padding:13px;justify-content:center}.nav-count{display:none}.profile{padding:12px 0 0;justify-content:center}.workspace{margin-left:70px}#topbar{height:65px;padding:0 16px;gap:12px}.global-search{width:auto;flex:1}.breadcrumb,.key{display:none}.global-search input{font-size:10px}main{padding:23px 15px}.page-heading{align-items:start;margin-bottom:20px;flex-wrap:wrap}.page-heading .actions{width:100%}.stats{grid-template-columns:1fr 1fr}.welcome{padding:19px}.welcome h2{font-size:16px}.welcome p{line-height:1.6;max-width:230px}.welcome-link{display:none}.right-panel{display:block}.pipeline{overflow:auto}.pipeline button{min-width:85px}.form-grid,.detail-grid{grid-template-columns:1fr}.full,.form-section{grid-column:auto}.modal-body{padding:20px}.modal-head{padding:20px}.tabs{gap:15px;overflow:auto}.toolbar{padding-inline:15px;flex-wrap:wrap}footer{padding:0 15px 20px;font-size:8px;line-height:2}.footer-right{display:none}footer>span{display:block;margin:0}#toast{left:calc(50% + 35px);width:max-content;max-width:calc(100% - 90px);font-size:11px}.report-grid{display:block}.modal-foot{padding:15px;flex-wrap:wrap}.setting-row{align-items:start;flex-direction:column}.stat-bottom{font-size:9px}.chart{gap:8px;padding-inline:15px}}
@media print{body{background:white;color:black;font:12px Arial,sans-serif}#sidebar,.workspace,dialog,#toast{display:none!important}#print-area{display:block;padding:12mm;line-height:1.65}#print-area h1{font-size:21px;letter-spacing:0;margin:20px 0 5px}#print-area h2{font-size:15px;margin:20px 0 10px}#print-area table{white-space:normal}#print-area th,#print-area td{padding:8px;border:1px solid #aaa;color:#111;font-size:11px}#print-area .print-top{display:flex;justify-content:space-between;border-bottom:2px solid #222;padding-bottom:15px}#print-area .signatures{display:flex;justify-content:space-between;margin-top:45px}#print-area .print-note{font-size:10px;color:#333;margin-top:22px}@page{size:A4;margin:8mm}}
.document-preview{color:#29384b;font:11px/1.7 Arial,sans-serif;background:white;border:1px solid #e1e7f0;padding:25px}.document-preview h1{font-size:18px;letter-spacing:0;margin-top:25px}.document-preview h2{font-size:13px;margin-top:22px}.document-preview .print-top{display:flex;justify-content:space-between;border-bottom:1px solid #b7c1d1;padding-bottom:15px}.document-preview td,.document-preview th{padding:7px 10px;border:1px solid #d2dae5;font-size:10px;white-space:normal}.document-preview .signatures{display:flex;justify-content:space-between;gap:20px;margin-top:35px}.document-preview .print-note{font-size:9px;color:#7e8b9e}
#startup{position:fixed;inset:0;display:grid;place-items:center;background:#f5f8fc;z-index:200;font-size:16px;color:#6c85a9}body:has(#main>* ) #startup,body.auth-mode #startup{display:none}.auth-mode #sidebar,.auth-mode .workspace{display:none}#auth-screen{min-height:100vh;padding:40px 20px;display:grid;place-items:center;background:radial-gradient(ellipse at 20% 20%,#e2eeff,transparent 60%),#f6f9ff}.auth-card{width:100%;max-width:450px;background:white;padding:38px;border:1px solid #dfe9f8;border-radius:18px;box-shadow:0 20px 70px #466eb312}.auth-card .brand{padding:0;margin-bottom:35px}.auth-card h1{font-size:23px}.auth-card>p{font-size:12px;line-height:1.8;color:#8494ac}.auth-card form{display:grid;gap:17px;margin-top:24px}.auth-card small{display:block;font-size:10px;color:#94a2b7;line-height:1.8;margin-top:23px}.auth-card .btn{width:100%;padding:13px}#auth-error{font-size:11px;color:#c55362;line-height:1.6}.save-error{color:#b55766;margin:15px 27px 0;background:#fff4f5}.stat-bottom svg{width:12px;height:12px}
/* Brand family: user-supplied iPhone service and 3D-printing illustrations.
   See BRAND.md and design/brand-tokens.json for future changes. */
.brand-logo{display:block;width:52px;height:52px;object-fit:contain;border:2px solid #102b46;border-radius:15px;background:#f2fafe;flex-shrink:0}.print-identity{display:flex;align-items:center;gap:12px}.print-logo{object-fit:contain;border-radius:8px;flex-shrink:0}
@media screen{
:root{--navy:#102b46;--sky:#7cbfe3;--ice:#f2fafe;--peach:#f5b887}body{background:#f2f8fb}svg{stroke-width:1.9}#sidebar{background:#fbfdff;padding-top:24px;border-right:1px solid #cfe0eb}.brand{gap:11px;font-size:23px;color:#102b46;padding:0 7px;letter-spacing:-.8px;font-weight:800}.brand-sub{font-size:8px;letter-spacing:1.6px;margin:9px 0 26px 72px;color:#52758f}.branch{border:1px solid #c9deeb;background:#edf7fc;border-radius:12px;box-shadow:0 2px 0 #e0edf5}.branch svg{color:#12679b}.branch b{color:#173d5c}.nav-label{color:#7993a8}.nav{border:1px solid transparent;color:#59768d;font-weight:500;border-radius:10px}.nav:hover{background:#edf7fc}.nav.active{color:#103d5f;background:#dceffa;border-color:#bcdaed;font-weight:650;box-shadow:inset 3px 0 0 #12679b}.nav.active svg{stroke-width:2.1}.nav-count{background:#fff;color:#174f75;border:1px solid #bdd9e9}.storage-card{background:#eaf5fc;border-color:#cce1ee;border-radius:12px}.storage-card b{color:#234d6c}.storage-card p{color:#6d889d}.profile{border-color:#d5e5ef}.avatar{background:#e3f2fc;color:#1d608c;border:1px solid #c9e0ef}.profile small{color:#7e95a8}.global-search{background:#f2f8fc;border-color:#dae8f1;color:#6e94ae}.global-search input{color:#224963}.key{border-color:#cee0eb}.icon-button{border-color:#d3e3ed;border-radius:10px;color:#3d7399}.icon-button:hover{background:#eaf5fc}#topbar{border-color:#dce8f0}.breadcrumb{color:#7c96aa}.breadcrumb b{color:#315674}h1{font-weight:750;color:#102b46;letter-spacing:-.8px}.subtitle{color:#6e8a9f!important}.btn{border-radius:10px;border-color:#bfd7e7;color:#234f70;font-weight:600;box-shadow:0 2px 0 #e2edf4;padding:11px 16px}.btn.primary{background:#124d79;border:2px solid #102b46;color:white;box-shadow:0 3px 0 #0a2e4b;padding:10px 15px}.btn.primary:hover{background:#17638f;filter:none;transform:translateY(-1px)}.btn.primary:active{transform:translateY(2px);box-shadow:none}.btn.danger{color:#bd4f60}.welcome{min-height:167px;border:1px solid #bfddec;border-radius:17px;background:linear-gradient(105deg,#e3f3fc,#f0faff);padding:25px 27px;box-shadow:0 3px 0 #e2eef5;margin-bottom:24px}.welcome-copy{position:relative;z-index:1}.brand-eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:8px;letter-spacing:1.6px;font-weight:650;color:#4a7797;margin-bottom:13px}.brand-eyebrow i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#f5b887;box-shadow:0 0 0 3px #fff6ed}.welcome h2{font-size:23px;letter-spacing:-.65px;color:#123e60;font-weight:700;margin-bottom:10px}.welcome p{color:#65849c;max-width:460px;font-size:11px;line-height:1.8}.welcome-art{position:absolute;right:18px;top:-27px;width:228px;height:228px;object-fit:contain;mix-blend-mode:multiply}.welcome-link{margin-right:225px;border-color:#bfdae9;color:#174f76;background:#fff;font-weight:550;align-self:end;margin-bottom:4px;padding:10px 13px;border-radius:9px;white-space:nowrap}.stats{gap:17px}.stat{border-color:#d5e5ef;border-radius:15px;box-shadow:0 3px 0 #e9f1f7;padding:19px 20px}.stat-top{color:#688399}.stat-icon{background:#e8f5fc;border:1px solid #cce4f2;color:#246c9b;border-radius:10px;width:33px;height:33px}.stat:nth-child(3) .stat-icon{background:#fff2e4;border-color:#f0d5b5;color:#bd803b}.stat-value{color:#123c5a;font-weight:650}.stat-bottom{color:#8299ac}.stat-bottom.positive{color:#378775}.panel{border-color:#d5e5ef;border-radius:15px;box-shadow:0 3px 0 #e9f1f7}.panel-head h2{color:#173e5c;font-weight:650}.panel-head small{color:#7f97aa}.pipeline button{background:#f2f8fc;border:1px solid #dceaf3;border-radius:11px}.pipeline button:hover{border-color:#85badb;background:#e9f6fd}.pipeline span{color:#6d899e}.pipeline b{color:#245777}.tab{color:#7993a8;font-weight:500}.tab.active{border-bottom-color:#12679b;color:#125d8d}.tab em{background:#eaf4fb;color:#628ba8}.toolbar .search,.toolbar select{border-color:#d3e4ef;background:#fcfeff;border-radius:9px}.search input{background:transparent;color:#294e6b}th{background:#f0f7fc;color:#6e8aa0;border-color:#deebf3}td{border-color:#e8f1f7;color:#31536d}td b{color:#163d5b}td small{color:#819bae}.order-id{color:#1d729f}.phone-icon{color:#3a7fa7;background:#e8f5fc;border:1px solid #d1e6f3;border-radius:9px}.badge{border-radius:6px}.badge.blue{color:#216e99;background:#e4f3fc}.badge.orange{color:#b17a31;background:#fff1df}.badge.violet{color:#767498;background:#f0f0f8}.badge.green{color:#347f6a;background:#e8f5ef}.badge.gray{color:#698399;background:#edf3f7}.badge.red{color:#bb5865;background:#fff0f2}.table-foot{border-color:#deebf3;color:#7a95aa}.ready-item{border-color:#e4eef5}.ready-item .avatar{background:#e2f2fc;color:#256f9b}.ready-body p{color:#7691a7}.ready-body button{color:#12679b}.activity-icon{background:#e9f5fc;color:#397ca6;border:1px solid #d4e8f3}.activity-item p{color:#7993a6}.activity-item small{color:#96a9b8}.stock-warning{background:#fff6eb;border-color:#edd7ba;box-shadow:0 3px 0 #f1e9dc}.stock-warning b{color:#8d632f}.stock-warning p{color:#9b805e}.stock-warning button{color:#9b652d;font-weight:600}.note{background:#edf6fc;color:#607f96}.modal-head{border-color:#d7e7f1}dialog{border-radius:18px;border:1px solid #c4dce9;box-shadow:0 25px 100px #102b4630}dialog::backdrop{background:#102b4655}.modal-head h2{color:#153e5b}.modal-foot{background:#f3f9fd;border-color:#d8e7f1}.field{color:#54778f;font-weight:500}.field input,.field select,.field textarea{border-color:#c9dde9;border-radius:10px;color:#173f5b}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #b5def4;border-color:#4a9bca}.detail-banner{background:#e4f4fd;border:1px solid #c4dfef;border-radius:12px}.detail-banner h3{color:#17486a}.detail-banner p{color:#648ba6}.text-link,.list-action{color:#166993}.chart .bar{background:#b8def4}.chart .bar.current{background:#2b7faa}footer{color:#6d8ba2}.footer-right i{background:#5da88e}.document-option{border-color:#cbdfea;border-radius:12px}.document-option:hover{background:#f2f9fd}#toast{background:#102b46;border:1px solid #426b89;box-shadow:0 6px 0 #0a203820}.document-preview{border-radius:9px}.save-error{background:#fff0f2;color:#b55766}
#auth-screen{background:radial-gradient(ellipse at 20% 15%,#d2edfc,transparent 65%),#f2f8fc;padding:40px 24px}.auth-layout{max-width:1000px;width:100%;display:grid;grid-template-columns:1.12fr 1fr;border:1px solid #b9d7e8;border-radius:25px;overflow:hidden;box-shadow:0 5px 0 #d9e8f1,0 25px 80px #183f6012;background:white}.auth-story{position:relative;background:linear-gradient(145deg,#dceffc,#edf9ff);padding:37px 38px 25px;display:flex;flex-direction:column;overflow:hidden}.auth-story .brand-eyebrow{font-size:8px;letter-spacing:1.3px}.auth-story h2{font-size:31px;line-height:1.22;letter-spacing:-1px;color:#123b5b;font-weight:750;margin:8px 0 14px}.auth-story>p{font-size:12px;color:#587d99;line-height:1.8;margin:0}.auth-art{display:block;width:100%;max-width:360px;height:auto;object-fit:contain;mix-blend-mode:multiply;align-self:center;margin:9px 0 -5px}.story-tags{display:flex;justify-content:center;gap:8px}.story-tags span{display:flex;align-items:center;gap:5px;font-size:9px;font-weight:550;border:1px solid #bad9ec;border-radius:7px;background:#ffffff90;padding:7px 9px;color:#3c6a8a}.story-tags svg{width:12px;height:12px}.story-signature{text-align:center;font-size:9px;color:#7192ab;margin-top:17px;letter-spacing:.15px}.auth-card{border:0;border-radius:0;box-shadow:none;max-width:none;padding:49px 39px 38px;align-self:center;background:white}.auth-card .brand{margin-bottom:32px;gap:11px;font-size:26px}.auth-card .brand-logo{width:48px;height:48px;border-radius:13px}.auth-card h1{font-size:23px;font-weight:700;letter-spacing:-.6px;margin-bottom:12px}.auth-card>p{color:#6d879b;line-height:1.9;font-size:11px}.auth-card form{margin-top:25px;gap:18px}.auth-card .field input{padding:12px 13px;background:#fcfeff}.auth-card .btn.primary{margin-top:1px;padding:13px}.auth-card small{color:#89a0b2;font-size:9px;line-height:1.9}.auth-card .brand span:last-child{color:#12679b}#startup{background:#f2fafe;color:#245d83}
}
@media screen and (max-width:1200px){.welcome{min-height:165px}.welcome-art{width:205px;height:205px;right:2px;top:-12px}.welcome h2{font-size:21px}.welcome-link{margin-right:0;align-self:end;z-index:2}.welcome-copy{max-width:calc(100% - 180px)}.welcome-link{position:absolute;left:27px;bottom:17px;font-size:9px;padding:7px 10px}.welcome{padding-bottom:54px}.welcome-copy p{font-size:10px}.brand{font-size:20px}.brand-logo{width:44px;height:44px;border-radius:12px}.brand-sub{margin-left:62px;font-size:7px}}
@media screen and (min-width:1550px){.welcome{min-height:183px}.welcome-art{width:256px;height:256px;top:-36px}.welcome-link{margin-right:255px}}
@media screen and (max-width:760px){#sidebar{padding:23px 9px 14px}.brand{padding:0;justify-content:center;margin-bottom:25px}.brand-logo{width:43px;height:43px;max-width:none}.nav{padding:12px}.brand-sub{display:none}.welcome{padding:20px 18px 54px;min-height:182px}.welcome-copy{max-width:calc(100% - 95px)}.welcome h2{font-size:19px;line-height:1.3}.welcome-art{width:150px;height:150px;right:-26px;top:20px}.welcome p{font-size:10px;line-height:1.6}.brand-eyebrow{font-size:6px;letter-spacing:.6px;line-height:1.6;max-width:170px}.welcome-link{display:block;left:18px;bottom:14px}.stat{padding:15px;border-radius:13px}.stat-top{font-size:10px}.stat-icon{width:27px;height:27px}.stat-value{font-size:24px}.panel{border-radius:13px}#auth-screen{padding:22px 15px}.auth-layout{max-width:450px;grid-template-columns:1fr;border-radius:19px}.auth-story{padding:23px 24px 15px;min-height:165px}.auth-story h2{font-size:23px;max-width:220px;margin:5px 0 8px;z-index:1}.auth-story>p{font-size:10px;max-width:210px;position:relative;z-index:1}.auth-story .brand-eyebrow{font-size:6px;letter-spacing:.6px;max-width:230px;position:relative;z-index:1}.auth-art{position:absolute;width:176px;right:-15px;bottom:-4px;margin:0}.story-tags,.story-signature{display:none}.auth-card{padding:28px 25px 29px}.auth-card .brand{justify-content:start;margin-bottom:24px;font-size:24px}.auth-card h1{font-size:21px}.auth-card .brand-logo{width:43px;height:43px}.auth-card form{gap:15px}.print-identity{gap:8px}.print-logo{width:44px;height:44px}}
@media print{.print-logo{width:52px;height:52px}.print-identity{gap:12px}#print-area .print-top{border-bottom-color:#102b46}}
@media screen{.welcome-art{top:0;right:12px;width:222px;height:166px}.welcome-link{margin-right:222px}}@media screen and (min-width:1550px){.welcome-art{height:183px;width:245px}.welcome-link{margin-right:245px}}@media screen and (max-width:1200px){.welcome-art{height:166px;width:190px;right:2px}.welcome-link{margin-right:0}}@media screen and (max-width:760px){.welcome-art{height:140px;width:125px;top:17px;right:0}.welcome-copy{max-width:calc(100% - 100px)}}
/* Resale inventory and per-device financing. */
#mobile-nav{display:none}.resale-toolbar .toolbar{flex-wrap:wrap}.resale-toolbar .search{min-width:240px}.resale-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.resale-card{background:white;border:1px solid #cfe1ed;border-radius:16px;padding:19px;box-shadow:0 3px 0 #e4eef5;min-width:0}.resale-card-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.resale-card-head>div{flex:1;min-width:110px}.resale-card-head h2{font-size:15px;color:#173e5c;letter-spacing:-.35px;margin:0 0 6px}.resale-card-head p{font-size:10px;color:#7892a6;margin:0;line-height:1.5}.resale-device-icon{background:#e8f5fc;border:1px solid #cee5f2;display:grid;place-items:center;width:37px;height:44px;border-radius:10px;color:#2c739c}.resale-meta{display:flex;justify-content:space-between;gap:10px;color:#8aa0b0;font-size:9px;margin:18px 0 14px}.resale-money{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:15px 0;border-top:1px solid #e7f0f5}.resale-money small,.resale-detail-money small{display:block;color:#7b94a8;font-size:10px;margin-bottom:7px}.resale-money b{font-size:17px;color:#173f5d;font-weight:650}.resale-profit{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#eaf6f0;color:#39836e;padding:11px;border-radius:9px;font-size:10px}.resale-profit strong{font-size:16px}.negative{color:#ba5163!important}.resale-profit.negative{background:#fff0f2}.resale-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:15px}.resale-card-bottom>span{display:flex;align-items:center;gap:6px;font-size:9px;color:#7b95a8;max-width:68%;overflow-wrap:anywhere}.resale-card-bottom svg{width:13px;height:13px}.resale-warning{border-top:1px solid #f2e8d9;color:#a8824c;font-size:9px;line-height:1.7;margin-top:13px;padding-top:10px}.resale-empty{grid-column:1/-1;border:1px dashed #bfd7e6;border-radius:16px;padding:50px 20px;text-align:center;background:#fafdff}.resale-empty>svg{width:36px;height:36px;color:#75aacc}.resale-empty h2{font-size:19px}.resale-empty p{font-size:12px;color:#8298a9;margin-bottom:22px}.resale-pagination{display:flex;justify-content:space-between;align-items:center;margin:20px 0;font-size:10px;color:#7891a5;gap:15px}.resale-pagination>div{display:flex;gap:8px}.resale-detail-money{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:19px}.resale-detail-money>div{padding:12px;background:#f1f8fc;border:1px solid #d7e8f2;border-radius:10px}.resale-detail-money b{font-size:16px}.resale-quick-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.resale-section{margin-top:25px;border-top:1px solid #dbe9f2;padding-top:8px}.resale-section .panel-head{padding-inline:0;flex-wrap:wrap}.resale-section h3{font-size:13px;color:#244f6d}.resale-section .hint{margin-bottom:0}.resale-section table{white-space:normal}.resale-section td,.resale-section th{padding:10px;font-size:10px;overflow-wrap:anywhere}.check-field{display:flex;align-items:center;gap:10px;font-size:11px;color:#5d7f98;line-height:1.7}.check-field input{width:18px;height:18px;accent-color:#12679b;flex-shrink:0}.mobile-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mobile-menu-grid .document-option{margin:0;padding:16px 12px}.mobile-menu-grid .document-option b{margin:0;font-size:11px}button:disabled{opacity:.45;cursor:default}.resale-card .badge{font-size:8px}#sidebar{overflow-y:auto;overscroll-behavior:contain}#sidebar .nav-bottom{padding-top:15px}input,textarea,select{max-width:100%}.field.full{grid-column:1/-1}
@media screen and (max-width:1200px){.resale-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.resale-card{padding:17px}.resale-detail-money{grid-template-columns:1fr 1fr}}
/* Phone layout applies to every CRM section, not just the resale inventory. */
@media screen and (max-width:760px){
:root{--mobile-bottom:calc(69px + env(safe-area-inset-bottom,0px))}html{scroll-padding-top:78px;scroll-padding-bottom:90px}body{font-size:14px;-webkit-text-size-adjust:100%}#sidebar{display:none}.workspace{margin-left:0;min-width:0}#topbar{position:sticky;top:0;height:64px;padding:0 15px;z-index:15;box-shadow:0 2px 10px #102b4606;gap:10px}.global-search{padding:0 10px;height:42px;min-width:0;max-width:none;width:auto}.global-search input{font-size:13px;min-height:40px;min-width:0}.icon-button{height:42px;width:42px;flex-shrink:0}.today{display:none}main{padding:23px 14px calc(var(--mobile-bottom) + 18px);min-width:0;max-width:100%}.page-heading{gap:15px;align-items:stretch;margin-bottom:20px}.page-heading>div:first-child{width:100%}h1{font-size:26px}p.subtitle{font-size:12px;line-height:1.7}.page-heading .actions{width:100%;display:flex;flex-wrap:wrap;gap:10px}.page-heading .actions .btn{flex:1;min-width:120px;min-height:46px;white-space:normal;line-height:1.4}.btn{min-height:44px;font-size:12px;padding:11px 14px}.btn.primary{padding:10px 13px}.text-link,.list-action{min-height:40px;display:inline-flex;align-items:center;font-size:12px}.field{font-size:12px;gap:9px;min-width:0}.field input,.field select,.field textarea{font-size:16px!important;min-height:48px;padding:12px;max-width:100%;width:100%}.field textarea{min-height:100px}.field.full,.form-section{grid-column:1/-1}.form-grid{grid-template-columns:1fr;gap:18px}.form-section{font-size:10px;margin-top:5px}.form-grid .field input[type=date]{display:block;min-width:0;-webkit-appearance:none}.search input,.toolbar select{font-size:16px!important;min-height:40px}.toolbar{gap:10px;padding:13px;flex-wrap:wrap}.toolbar .search{min-width:0;flex-basis:100%;height:48px}.toolbar select{min-width:0;flex:1;border-radius:9px}.toolbar>.badge{min-height:35px}.tabs{padding:0 14px;gap:21px}.tab{min-height:43px;padding-top:10px;font-size:12px}.tab em{font-size:10px}.panel-head{padding:18px 15px;gap:9px;flex-wrap:wrap}.panel-head h2{font-size:15px}.stats{gap:10px;margin-bottom:19px}.stat{padding:16px 13px;min-width:0}.stat-top{font-size:11px;line-height:1.4;gap:8px}.stat-icon{flex-shrink:0}.stat-value{font-size:25px;overflow-wrap:anywhere;line-height:1.15}.stat-bottom{font-size:10px;line-height:1.6;flex-wrap:wrap}.welcome{min-height:185px}.welcome-copy p{font-size:11px}.brand-eyebrow{font-size:7px}.welcome h2{font-size:20px}.layout,.report-grid{display:block}.right-panel{display:block}.ready-item{padding:16px}.ready-body b{font-size:12px}.ready-body p{font-size:11px}.ready-body button{min-height:38px;font-size:11px}.ready-body .bottom{font-size:12px}.activity-item b{font-size:12px;line-height:1.5}.activity-item p,.activity-item small{font-size:11px}.stock-warning b{font-size:13px}.stock-warning p,.stock-warning button{font-size:12px}.stock-warning button{min-height:40px}.note{font-size:12px;line-height:1.8}.hint{font-size:11px;line-height:1.8}.table-foot{font-size:10px;line-height:1.7;gap:10px;flex-wrap:wrap}.table-wrap{max-width:100%}.mobile-cards-table,.mobile-cards-table tbody{display:block;width:100%;white-space:normal}.mobile-cards-table thead{display:none}.mobile-cards-table tbody tr{display:block;margin:11px;border:1px solid #d7e7f1;border-radius:12px;padding:9px 12px;background:#fff;box-shadow:0 2px 0 #eaf2f7}.mobile-cards-table tbody tr td{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #edf3f7;white-space:normal;width:100%;font-size:12px;text-align:right!important;line-height:1.5;overflow-wrap:anywhere}.mobile-cards-table td::before{content:attr(data-label);font-size:10px;color:#7a95aa;text-align:left;flex:0 0 31%;font-weight:500}.mobile-cards-table td[data-label=""]::before,.mobile-cards-table td[colspan]::before{display:none}.mobile-cards-table td:last-child{border-bottom:0}.mobile-cards-table td:has(>small){display:grid;grid-template-columns:31% 1fr;gap:5px 14px}.mobile-cards-table td:has(>small)::before{grid-row:span 2}.mobile-cards-table td:has(>small)>small{grid-column:2}.mobile-cards-table td small{font-size:11px;margin-top:3px}.mobile-cards-table .client-avatar,.mobile-cards-table .device{text-align:left;min-width:0}.mobile-cards-table .client-avatar .avatar{flex-shrink:0}.mobile-cards-table .empty{display:block!important;text-align:center!important;padding:25px 0}.mobile-cards-table td .badge{font-size:11px;padding:7px 9px}.mobile-cards-table td .list-action{min-height:36px}.mobile-cards-table .order-id{font-size:13px}.mobile-cards-table tbody tr.clickable{cursor:pointer}.mobile-cards-table tbody tr.clickable:active{background:#eef7fd}.mobile-cards-table .phone-icon{display:none}
dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:calc(100dvh - 12px);border-radius:20px 20px 0 0;border-bottom:0;overflow:hidden}.modal-head{padding:18px 18px 15px;gap:10px}.modal-head h2{font-size:18px;line-height:1.5;overflow-wrap:anywhere}.modal-head p{font-size:11px;line-height:1.6}.modal-close{min-width:42px;height:42px;flex-shrink:0;background:#edf6fc;border-radius:12px}.modal-body{padding:20px 18px;max-height:calc(100dvh - 220px);max-height:calc(100svh - 220px);overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.modal-foot{padding:13px 15px calc(13px + env(safe-area-inset-bottom,0px));gap:9px;display:flex;flex-wrap:wrap}.modal-foot .btn{flex:1;min-width:110px;font-size:12px;min-height:46px;white-space:normal}.detail-grid{grid-template-columns:1fr 1fr;gap:20px 14px}.detail-item{min-width:0}.detail-item small{font-size:11px}.detail-item strong{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.detail-banner{padding:16px;gap:10px;flex-wrap:wrap}.detail-banner h3{font-size:18px;line-height:1.5}.detail-banner p{font-size:11px}.detail-banner .badge{font-size:11px}.detail-grid+form{grid-template-columns:1fr}.setting-row{gap:13px;padding:20px 0}.setting-row b{font-size:13px;line-height:1.5}.setting-row p{font-size:12px;line-height:1.8}.setting-row .btn{width:100%}.settings-content{padding:0 16px 20px}.document-option{padding:17px 13px;gap:12px;min-height:77px}.document-option b{font-size:13px;line-height:1.5}.document-option small{font-size:11px;line-height:1.7}.document-option>svg{width:25px;height:25px}.document-preview{padding:12px;font-size:10px;overflow:auto}.document-preview .print-top{display:block}.document-preview h1{font-size:15px}.document-preview table{white-space:normal}.document-preview .signatures{font-size:9px;gap:15px}.print-logo{width:44px;height:44px}.resale-grid{grid-template-columns:1fr;gap:14px}.resale-card{padding:18px;border-radius:15px}.resale-card-head{gap:11px}.resale-card-head h2{font-size:17px}.resale-card-head p{font-size:12px}.resale-card .badge{font-size:10px;padding:7px 8px}.resale-card-head .badge{margin-left:auto}.resale-card-bottom>span{font-size:11px}.resale-meta{font-size:11px;margin-top:17px}.resale-money small{font-size:11px}.resale-money b{font-size:20px}.resale-profit{font-size:12px;padding:13px}.resale-profit strong{font-size:18px}.resale-warning{font-size:11px}.resale-card-bottom{padding-top:10px}.resale-toolbar .toolbar>.btn{width:100%;flex:auto}.resale-pagination{align-items:stretch;flex-direction:column;font-size:11px}.resale-pagination>div .btn{flex:1}.resale-detail-money{gap:9px}.resale-detail-money small{font-size:11px}.resale-detail-money b{font-size:17px}.resale-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.resale-quick-actions .btn{white-space:normal;line-height:1.5;padding-inline:8px;min-height:50px;font-size:11px}.resale-section .panel-head{padding:14px 0}.resale-section .panel-head .btn{width:100%}.resale-section .mobile-cards-table tr{margin-inline:0}.check-field{font-size:12px;align-items:start}.check-field input{width:22px;height:22px;min-height:0;margin:0;flex-shrink:0}.resale-empty{padding:37px 17px}.mobile-menu-grid{gap:10px}.mobile-menu-grid .document-option{min-height:70px;padding:14px 11px;gap:9px}.mobile-menu-grid .document-option b{font-size:12px}.mobile-menu-grid .document-option>svg{width:22px;height:22px}
#mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;z-index:19;bottom:0;left:0;right:0;padding:7px 5px calc(7px + env(safe-area-inset-bottom,0px));height:var(--mobile-bottom);background:#fbfdfff5;backdrop-filter:blur(16px);border-top:1px solid #c5dce9;box-shadow:0 -4px 20px #14395607}#mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#7894a9;border-radius:10px;min-height:49px;padding:5px 2px}#mobile-nav svg{width:21px;height:21px}#mobile-nav span{font-size:9px;font-weight:550;line-height:1.4}#mobile-nav button.active{background:#e0f0fb;color:#15557f}#mobile-nav button.active svg{stroke-width:2.3}body.auth-mode #mobile-nav{display:none}footer{padding:0 15px calc(var(--mobile-bottom) + 15px);font-size:9px;margin-top:-50px}#toast{left:50%;bottom:calc(var(--mobile-bottom) + 12px);max-width:calc(100% - 28px);font-size:12px;line-height:1.6}body:has(dialog[open]) #toast{z-index:200}#auth-screen{padding:16px 12px}.auth-layout{max-width:450px}.auth-card .field input{font-size:16px}.auth-card .btn{min-height:49px;font-size:13px}.auth-card small{font-size:11px}#auth-error{font-size:12px}.auth-story{min-height:173px}.auth-story h2{max-width:215px}.auth-art{width:168px;right:-17px}.save-error{margin-inline:18px;font-size:12px}.profile small button{min-height:30px}}
@media screen and (max-width:360px){.detail-grid{grid-template-columns:1fr}.resale-card-head .badge{margin-left:0}.stat-value{font-size:22px}.mobile-menu-grid{grid-template-columns:1fr}.auth-story h2{font-size:21px;max-width:180px}.auth-art{width:145px}.welcome-copy{max-width:calc(100% - 85px)}.welcome-art{width:110px}}
@media print{#mobile-nav{display:none!important}}
.resale-finance-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0 20px 20px}.resale-finance-stats .stat{box-shadow:none}@media screen and (max-width:760px){.resale-finance-stats{grid-template-columns:1fr;padding:0 15px 17px;gap:10px}}
@media screen and (max-width:760px){.mobile-cards-table tbody tr td:has(>small){display:grid!important;grid-template-columns:minmax(0,31%) minmax(0,1fr);align-items:center;gap:4px 14px}.mobile-cards-table tbody tr td:has(>small)::before{grid-column:1;grid-row:1 / span 2}.mobile-cards-table tbody tr td:has(>small)>small{grid-column:2;grid-row:2;width:100%;margin:0;text-align:right}.mobile-cards-table tbody tr td:has(>small)>:not(small){grid-column:2;grid-row:1;text-align:right}}
@media screen{.resale-card-head{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center}.resale-card-head>.badge{grid-column:1/-1;justify-self:start;margin-top:3px;margin-left:0}}
@media screen and (max-width:760px){dialog{bottom:var(--keyboard-inset,0px);max-height:calc(var(--visible-height,100dvh) - 12px)}.modal-body{max-height:calc(var(--visible-height,100dvh) - 220px)}body.keyboard-open #mobile-nav{display:none}}
.resale-idline{font-size:10px;color:#7892a6;margin:13px 0 -3px;line-height:1.6;overflow-wrap:anywhere}@media screen and (max-width:760px){.resale-idline{font-size:11px}}
@media screen and (max-width:760px){.global-search input{font-size:16px!important}}
