:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#20282D;background:#f3f6f7;font-synthesis:none;--green:#0B5D59;--line:#e0e6df;--muted:#63766c}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button,.button,.file-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border:1px solid #ced8d0;background:#fff;border-radius:10px;padding:11px 16px;color:#244538;text-decoration:none;font-weight:600;font-size:14px}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d3ad63;outline-offset:3px}.primary{background:var(--green);color:#fff;border-color:var(--green)}.quiet{background:transparent}.danger{color:#a63122}.wide{width:100%}.topbar{height:80px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:12px}.brand{display:flex;align-items:center;gap:11px;color:var(--green);text-decoration:none;font-size:23px;font-weight:750;letter-spacing:-.8px}.brand small{display:block;font-size:9px;letter-spacing:1.7px;font-weight:600;margin-top:3px}.header-actions{display:flex;align-items:center;gap:14px}.connection{font-size:12px;color:var(--muted)}.icon-button{padding:0;width:44px;border:0;font-size:25px;background:transparent}.shell{max-width:1420px;margin:auto;display:grid;grid-template-columns:190px minmax(0,1fr);min-height:calc(100dvh - 80px)}nav{padding:30px 17px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:6px}nav a{display:flex;align-items:center;gap:12px;color:#61736a;text-decoration:none;padding:14px 16px;border-radius:10px;font-size:14px;font-weight:600}nav a>span:first-child{font-size:21px;font-weight:400;width:22px;text-align:center}nav a.active{background:#e3ebe3;color:var(--green)}main{padding:34px 36px 50px;min-width:0}h1{font-size:28px;line-height:1.2;letter-spacing:-.8px;margin:0 0 8px;font-weight:650}h2{font-size:18px;font-weight:650;margin:0 0 12px}h3{font-size:15px;margin:24px 0 12px}p{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 16px}.eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:650;color:var(--muted);margin-bottom:10px}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:25px}.page-head p{margin-bottom:0}.actions{display:flex;gap:8px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:24px}.stat{padding:20px;background:#fff;border:1px solid var(--line);border-radius:12px}.stat small{display:block;color:var(--muted);font-size:12px}.stat strong{display:block;font-size:29px;font-weight:650;margin-top:10px;font-variant-numeric:tabular-nums}.stat .unit{font-size:12px;font-weight:400;margin-left:5px}.panel{padding:24px;background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:20px}.empty{padding:32px 12px;text-align:center;max-width:490px;margin:auto}.empty-symbol{width:60px;height:60px;background:#eaf0e9;color:#436451;display:flex;align-items:center;justify-content:center;margin:0 auto 20px;border-radius:14px;font-size:28px}.empty h2{font-size:22px}.empty p{max-width:355px;margin:0 auto 22px}.onboarding{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding-top:22px;margin-top:24px;border-top:1px solid var(--line)}.setup-step{display:flex;gap:10px;font-size:13px;align-items:flex-start;color:var(--muted)}.setup-step b{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:25px;height:25px;background:#edf1eb;border-radius:50%;color:var(--green)}.setup-step strong{display:block;color:#294536;margin:2px 0 5px}.list{display:flex;flex-direction:column}.list-row{padding:16px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px}.list-row:last-child{border:0}.row-main{min-width:0;overflow-wrap:anywhere}.row-title{font-size:15px;font-weight:650;margin-bottom:5px}.row-meta{font-size:12px;color:var(--muted);line-height:1.65;overflow-wrap:anywhere}.row-end{flex-shrink:0;text-align:right}.row-end strong{font-size:20px;font-weight:650;display:block;font-variant-numeric:tabular-nums}.badge{display:inline-block;padding:5px 8px;border-radius:6px;background:#eef2ed;color:#425c4b;font-size:11px;font-weight:600}.badge.ok{background:#e5f1e8;color:#28613b}.badge.warn{background:#fff1d7;color:#805b19}.badge.error{background:#fff0e9;color:#9e3b23}.search{margin:0 0 14px}.search input{width:100%}.field{margin-bottom:16px}label{display:block;font-size:13px;font-weight:600;margin-bottom:7px}input,select{border:1px solid #cbd6cb;background:#fff;color:#20282D;width:100%;border-radius:9px;min-height:46px;padding:11px 12px;font-size:16px}input::placeholder{color:#859388}.field small{display:block;color:var(--muted);margin-top:7px;font-size:12px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field-grid .field{min-width:0}dialog{width:min(540px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto;border:0;border-radius:16px;padding:24px;color:#20282D;box-shadow:0 15px 70px #12362830}dialog::backdrop{background:#112e2566}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.dialog-head h2{margin:0;font-size:20px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.form-error{color:#a23925;font-size:13px}.notice{padding:16px;border-radius:10px;background:#edf2e9;font-size:13px;margin-bottom:18px}.notice p{font-size:13px;margin:7px 0 0}.caption{font-size:12px}.file-button{position:relative;width:100%;margin-top:10px;cursor:pointer}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}hr{border:0;border-top:1px solid var(--line);margin:24px 0}.mode-switch{display:flex;gap:8px;padding:5px;background:#e8ede5;border-radius:12px;margin-bottom:24px}.mode-switch button{flex:1;border:0;background:transparent;color:#667b6b}.mode-switch button.active{background:#fff;color:var(--green);box-shadow:0 2px 5px #20282D0a}.scan-row{display:flex;gap:9px;margin-top:14px}.scan-row input{min-width:0}.scan-row button{flex-shrink:0}.camera-button{width:100%;min-height:56px;font-size:16px}.or{display:flex;align-items:center;gap:14px;color:#7a8a7e;font-size:12px;margin-top:20px}.or:before,.or:after{content:'';height:1px;background:var(--line);flex:1}.scan-result{padding:16px;border-radius:10px;background:#edf2e9;margin-top:20px;overflow-wrap:anywhere}.scan-result.error{background:#fff0e9;color:#9d3622}.scan-result.ok{background:#e3f0e5;color:#235c34}.scan-result strong{display:block;font-size:17px;margin-bottom:5px}.scan-result p{font-size:13px;margin:0;color:inherit}#orderDetail{margin-top:22px}.order-items{margin:16px 0}.order-items .list-row{padding:14px 0}.qty{font-size:24px;font-weight:650;white-space:nowrap}.scan-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:20px}.side-summary .list-row{font-size:13px}.side-summary .list-row strong{font-size:20px}.order-line{padding:12px;background:#f5f7f2;border-radius:9px;margin-bottom:12px}.order-line .field-grid{grid-template-columns:minmax(0,1fr) 76px 90px}.text-button{background:transparent;border:0;min-height:40px;padding:6px 0;text-decoration:underline;font-size:13px}.camera-frame{position:relative;background:#152a22;border-radius:10px;overflow:hidden;aspect-ratio:4/3}.camera-frame video{width:100%;height:100%;object-fit:cover}.scan-guide{position:absolute;left:8%;right:8%;top:30%;height:40%;border:2px solid #e6efd9;border-radius:8px;pointer-events:none}#cameraStatus{margin-top:14px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#173b2d;color:#fff;border-radius:10px;padding:14px 20px;z-index:20;max-width:min(460px,90%);font-size:13px;box-shadow:0 5px 25px #0002}.packing-mode-note{font-size:12px;color:var(--muted);margin-top:14px;margin-bottom:0}.install-note{padding:16px 0;font-size:12px;color:var(--muted)}.money{font-variant-numeric:tabular-nums}.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}.step-link{color:var(--green)}@media(min-width:1000px){nav{position:sticky;top:0;align-self:start;height:calc(100dvh - 80px)}}@media(max-width:1000px){main{padding:28px 22px}.shell{grid-template-columns:165px minmax(0,1fr)}.scan-layout{grid-template-columns:1fr}.side-summary{display:none}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{padding:0 22px}.split{grid-template-columns:1fr}}
@media(max-width:680px){.topbar{height:68px;padding:0 16px}.brand{font-size:21px}.brand small{font-size:8px}.brand img{width:30px;height:30px}.header-actions{gap:6px}.header-actions #install{font-size:12px;min-height:38px;padding:7px 9px}.connection{display:none}.shell{display:block}.shell>nav{position:fixed;bottom:0;left:0;right:0;z-index:10;background:#fff;border:0;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);gap:0;padding:5px 6px calc(5px + env(safe-area-inset-bottom));height:auto}.shell>nav a{flex-direction:column;gap:3px;padding:6px 0;border-radius:8px;font-size:10px;min-height:53px}.shell>nav a>span:first-child{font-size:22px;width:auto}main{padding:25px 16px calc(95px + env(safe-area-inset-bottom))}h1{font-size:26px}.page-head{flex-direction:column;gap:16px;margin-bottom:20px}.page-head .actions{width:100%}.page-head .actions>*{flex:1}.panel{padding:20px 17px}.stats{gap:10px;margin-bottom:18px}.stat{padding:16px}.stat strong{font-size:26px;margin-top:6px}.stat small{font-size:11px}.empty{padding:26px 0}.empty h2{font-size:21px}.onboarding{grid-template-columns:1fr;gap:16px}.mode-switch{margin-bottom:18px}.mode-switch button{font-size:13px;padding:11px 7px}.scan-row button{padding:11px 13px}.scan-layout{gap:0}.field-grid{grid-template-columns:1fr 1fr}.order-line .field-grid{grid-template-columns:1fr 72px}.order-line .field-grid .price-field{grid-column:1/-1}.row-end .actions{justify-content:flex-end}.list-row{align-items:flex-start;gap:8px}.row-end button{font-size:12px;padding:8px 10px;min-height:40px}dialog{padding:20px}.dialog-head{margin-bottom:18px}#toast{bottom:88px}.topbar .icon-button{width:34px}.row-meta{font-size:12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* OSInvent A1 / R03: compact application shell */
:root{--green:#0B5D59;--line:#dfe6e8;--muted:#66777e;color:#20282D;background:#f3f6f7;--header:68px}
.topbar{height:var(--header);position:sticky;top:0;z-index:30;padding:0 27px;box-shadow:0 1px 0 #14394208}
.brand{flex-shrink:0}.brand .brand-logo{width:164px;height:40px;object-fit:contain}
.edition{border-left:1px solid var(--line);padding-left:22px;margin-right:auto;display:flex;flex-direction:column;gap:4px;font-size:12px;min-width:0}.edition span{color:var(--muted);max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.edition strong{font-weight:600;color:#24434b}
.shell{max-width:1500px;grid-template-columns:205px minmax(0,1fr);min-height:calc(100dvh - var(--header));padding:23px;gap:24px}
.shell>nav{border:0;border-radius:14px;background:#113f49;padding:20px 12px;position:sticky;top:calc(var(--header) + 23px);height:auto;min-height:350px;align-self:start;gap:6px}
nav a{color:#c2d5d8;padding:12px 13px;font-size:13px;gap:12px}nav a.active{background:#e0f0e8;color:#164f4b}nav a svg{flex-shrink:0}nav:before{content:'RUANG KELOLA';color:#b1c7c9;font-size:9px;letter-spacing:1.6px;padding:6px 14px 14px}nav:after{content:'by Storbitara';color:#b1c7c9;font-size:11px;padding:25px 14px 10px;margin-top:10px;border-top:1px solid #ffffff1a}
main{padding:0 0 30px}h1{font-size:25px;letter-spacing:-.6px}h2{font-size:17px}.eyebrow{font-size:9px;letter-spacing:1.6px;margin-bottom:7px}.page-head{background:#113f49;padding:20px 23px;border-radius:14px;color:#fff;margin-bottom:19px;align-items:center;min-height:106px}.page-head p{color:#d1e0e2;font-size:13px}.page-head .eyebrow{color:#a9c9c8}.page-head .primary{background:#e5f0e8;color:#164e46;border-color:transparent}.page-head .quiet{border-color:#729298;color:#eff7f7}
.panel{padding:19px 21px;border-radius:13px;box-shadow:0 3px 12px #173c4503;margin-bottom:17px}.stats{gap:11px;margin-bottom:17px}.stat{padding:16px 18px;border-radius:11px}.stat strong{font-size:26px;margin-top:7px}.stat small{font-size:11px}.empty{padding:23px 8px}.empty-symbol{width:46px;height:46px;margin-bottom:14px;border-radius:11px;font-size:23px}.empty h2{font-size:20px}.empty p{font-size:13px;margin-bottom:18px}.onboarding{margin-top:19px;padding-top:18px;gap:16px}.setup-step{font-size:12px}.setup-step strong{font-size:12px}
.list-row{padding:13px 0}.row-title{font-size:14px}.row-meta{font-size:12px}.form-actions{position:sticky;bottom:-24px;background:#fff;padding:16px 0 5px;border-top:1px solid var(--line)}dialog{padding:22px;border-radius:15px}button,.button,.file-button{min-height:43px;font-size:13px;border-radius:9px}.icon-button{min-height:43px}.mode-switch{margin-bottom:18px}.mode-switch button{min-height:43px}.camera-button{min-height:49px;font-size:14px}.scan-layout{grid-template-columns:minmax(0,1fr) 235px;gap:17px}.scan-result strong{font-size:16px}.camera-toolbar{display:flex;gap:8px;margin-top:12px}.camera-toolbar button{flex:1}.camera-help{margin:10px 0;font-size:12px}.status-line{display:flex;align-items:center;gap:8px}.environment-tag{font-size:10px;padding:4px 6px;border-radius:4px;background:#fff0ca;color:#77540c}.data-sync{font-size:11px;color:var(--muted)}.login-panel{max-width:440px;margin:35px auto}.business-choice{display:flex;flex-direction:column;gap:10px}.business-choice .button{justify-content:space-between}.page-head .caption{color:#c8dddb}.steps-compact{margin-top:18px}.camera-image{display:block;text-align:center;font-size:12px;margin-top:12px;color:var(--green);text-decoration:underline;cursor:pointer}.camera-image input{display:none}
@media(max-width:1000px){.shell{grid-template-columns:170px minmax(0,1fr);gap:18px;padding:19px}.shell>nav{top:calc(var(--header) + 19px)}main{padding:0 0 24px}.scan-layout{grid-template-columns:1fr}.topbar{padding:0 22px}.edition{padding-left:17px}.page-head{padding:19px 20px}}
@media(max-width:680px){:root{--header:61px}.topbar{padding:0 13px;gap:10px}.brand .brand-logo{width:160px;height:39px}.edition{display:none}.header-actions{margin-left:auto;gap:3px}.header-actions #install{font-size:11px;padding:7px 10px;min-height:36px}.topbar .icon-button{width:30px}.shell{display:block;padding:18px 13px calc(88px + env(safe-area-inset-bottom))}.shell>nav{position:fixed;top:auto;bottom:0;left:0;right:0;border-radius:0;background:#fff;box-shadow:0 -3px 14px #163a4505;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);min-height:0;height:auto;padding:5px 7px calc(5px + env(safe-area-inset-bottom));gap:2px;z-index:40}.shell>nav:before,.shell>nav:after{display:none}.shell>nav a{font-size:10px;color:#71828a;gap:4px;min-height:51px;padding:6px 1px}.shell>nav a.active{background:#e4f0eb;color:#0B5D59}.shell>nav a svg{width:20px;height:20px}main{padding:0}.page-head{border-radius:11px;padding:16px 17px;min-height:92px;gap:13px;align-items:stretch}.page-head h1{font-size:23px}.page-head .eyebrow{font-size:8px;margin-bottom:5px}.page-head p{font-size:12px;line-height:1.5}.page-head .actions{margin-top:0}.page-head .actions button{min-height:40px}.stats{gap:9px}.stat{padding:13px 14px}.stat strong{font-size:24px}.stat small{line-height:1.5;font-size:10px}.panel{padding:17px 15px;border-radius:11px}.empty{padding:19px 0}.empty h2{font-size:19px}.empty p{font-size:13px}.empty-symbol{width:42px;height:42px}.onboarding{gap:14px}.setup-step{gap:9px}.mode-switch{margin-bottom:16px}.mode-switch button{padding:9px 5px;font-size:12px;min-height:42px}.camera-button{min-height:48px}.scan-row{gap:7px;margin-top:12px}.scan-row button{font-size:12px;padding:10px 12px}.scan-result{padding:13px;margin-top:16px}.packing-mode-note{font-size:11px;line-height:1.55}.scan-layout .panel{margin:0}.form-actions{bottom:-22px;padding:13px 0 3px}.form-actions button{min-height:45px}.header-actions #install{max-width:100px}#toast{bottom:calc(85px + env(safe-area-inset-bottom));font-size:12px}.login-panel{margin:8px 0}.dialog-head h2{font-size:19px}.row-end strong{font-size:20px}.row-end button{font-size:11px}.row-meta{font-size:11px}.connection{display:none}}

#main>.notice{padding:10px 14px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-bottom:14px;border-radius:8px;font-size:11px}#main>.notice p{margin:0;font-size:11px}#main>.notice strong{font-size:11px}
[hidden]{display:none!important}
/* Keep app chrome clear of status bars and notches in installed PWAs. */
:root{--safe-top:env(safe-area-inset-top,0px)}
.topbar{height:calc(var(--header) + var(--safe-top));padding-top:var(--safe-top)}
.shell{min-height:calc(100dvh - var(--header) - var(--safe-top))}
.shell>nav{top:calc(var(--header) + var(--safe-top) + 23px)}
@media(max-width:1000px){.shell>nav{top:calc(var(--header) + var(--safe-top) + 19px)}}
@media(max-width:680px){.topbar{padding-left:max(13px,env(safe-area-inset-left));padding-right:max(13px,env(safe-area-inset-right))}.shell{padding-left:max(13px,env(safe-area-inset-left));padding-right:max(13px,env(safe-area-inset-right))}.shell>nav{top:auto;padding-left:max(7px,env(safe-area-inset-left));padding-right:max(7px,env(safe-area-inset-right))}}
/* R06: compact operational screens, with persistent scan navigation. */
.import-summary{margin-top:16px;padding:12px;background:#e7f1ed;border-radius:8px}.import-summary p{margin:5px 0 0;font-size:12px}.import-package{margin-top:12px;border:1px solid var(--line);padding:12px;border-radius:9px}.import-package>.list-row:last-child{border-bottom:0;padding-bottom:0}.import-confirm{display:flex;gap:10px;align-items:flex-start;margin:18px 0;font-size:13px}.import-confirm input{width:20px;height:20px;flex-shrink:0;margin:0}.packing-mode-note{color:#52676b}.row-meta{overflow-wrap:anywhere}.page-head h1{letter-spacing:-.035em}.shell>nav a[data-page="packing"] svg{stroke-width:2}
@media(max-width:680px){.shell{padding-top:12px}.page-head{padding:13px 15px;min-height:0;margin-bottom:13px}.page-head h1{font-size:22px}.page-head p{margin-top:5px}.page-head .eyebrow{display:none}.panel{padding:15px 14px}.empty{padding:15px 0}.empty h2{font-size:18px}.empty p{margin:9px auto 15px}.empty-symbol{width:36px;height:36px;margin-bottom:12px}#main>.notice{padding:8px 11px;margin-bottom:11px;gap:3px 8px}#main>.notice p{font-size:10px}.stats{margin-bottom:13px}.import-package{padding:10px}.scan-layout{gap:13px}.form-actions{padding-bottom:max(8px,env(safe-area-inset-bottom))}}
