:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Inter,Roboto,sans-serif;color:#182337;background:#e4ebef;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #37c995;outline-offset:2px}button,input,select{touch-action:manipulation}h1,h2,h3,p{margin:0}svg{flex:none}input{min-width:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{appearance:textfield;-moz-appearance:textfield}.app-shell{min-height:100vh;background:linear-gradient(135deg,#cdd7df,#edf2f4);display:flex;justify-content:center;align-items:stretch}.app-frame{width:100%;max-width:440px;background:#f6f8fa;min-height:100vh;position:relative;box-shadow:0 20px 100px #0f1f3629;padding-bottom:calc(96px + env(safe-area-inset-bottom))}.app-header{height:calc(79px + env(safe-area-inset-top));background:#101a2c;padding:calc(16px + env(safe-area-inset-top)) 22px 18px;display:flex;align-items:center;justify-content:space-between;color:#fff;gap:10px}.brand{display:flex;align-items:center;gap:11px}.brand strong{display:block;font-weight:900;letter-spacing:2px;font-size:16px}.brand span:not(.app-logo){display:block;color:#91a1b6;font-size:8px;letter-spacing:1.8px;font-weight:800;margin-top:4px}.app-logo{display:grid;grid-template-columns:1.55fr .78fr;grid-template-rows:repeat(3,1fr);gap:3px;width:37px;height:39px;flex-shrink:0}.app-logo span{background:#66edbd;border-radius:3px}.app-logo span:first-child{grid-column:span 2}.app-logo span:nth-child(4){grid-column:span 2}.app-logo.large{width:73px;height:77px;gap:6px;animation:breathe 2s ease-in-out infinite}.app-logo.large span{border-radius:6px}@keyframes breathe{0%,to{transform:scale(.96);opacity:.72;filter:drop-shadow(0 0 0 #5af0b4)}50%{transform:scale(1.045);opacity:1;filter:drop-shadow(0 0 12px #5af0b4a1)}}.private-pill{font-size:9px;letter-spacing:.4px;border:1px solid #3d4b5e;border-radius:22px;display:flex;align-items:center;gap:6px;padding:8px 9px;color:#c8d7df;font-weight:800;white-space:nowrap}.online-dot{width:6px;height:6px;border-radius:50%;background:#69eeb9;box-shadow:0 0 8px #69eeb9}.hero{background:radial-gradient(ellipse at 94% 9%,rgba(64,234,181,.18) 0%,transparent 44%),#101a2c;color:#fff;padding:23px 24px 28px;border-radius:0 0 30px 30px;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;right:-78px;top:25px;width:185px;height:185px;border:1px solid #38485d;border-radius:50%;pointer-events:none}.hero:after{content:"";position:absolute;right:-48px;top:55px;width:125px;height:125px;border:1px solid #38485d;border-radius:50%;pointer-events:none}.hero-kicker,.eyebrow{font-size:10px;font-weight:900;letter-spacing:1.75px;color:#44dba8}.hero-kicker{display:flex;align-items:center;gap:8px}.hero-kicker span{height:7px;width:7px;border-radius:50%;background:#64e9b6}.hero h1{font-size:37px;line-height:1.065;letter-spacing:-1.7px;margin:18px 0 9px;font-weight:850}.hero h1 em{font-style:normal;color:#6aebbb}.hero>p{font-size:12px;color:#acbacb;line-height:1.5;max-width:240px}.hero-stats{margin-top:24px;display:grid;grid-template-columns:1.08fr 1fr 1fr;border-top:1px solid #314156;padding-top:17px;gap:12px}.hero-stats>div{border-right:1px solid #2d3a50}.hero-stats>div:last-child{border-right:0}.hero-stats strong{font-size:25px;font-weight:850;display:block;letter-spacing:-1px}.hero-stats strong small{font-size:15px;color:#8f9fae}.hero-stats span{font-size:10px;color:#9caabd;display:block;margin-top:3px}.location-section,.inventory-section{padding:23px 20px 3px}.inventory-section{padding-top:25px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:8px;margin-bottom:16px}.section-heading .eyebrow{color:#52947f;font-size:9px}.section-heading h2{margin-top:7px;font-size:21px;font-weight:850;letter-spacing:-.5px}.section-muted{font-size:10px;color:#8793a1;white-space:nowrap;padding-bottom:3px}.item-count{font-size:11px;color:#517b6e;background:#e3f6ed;border:1px solid #cdeadd;padding:7px 10px;border-radius:14px;font-weight:750;white-space:nowrap}.location-chips{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;margin:0 -20px;padding:2px 20px 14px;scroll-snap-type:x proximity}.location-chips::-webkit-scrollbar{display:none}.location-chip{scroll-snap-align:start;display:flex;align-items:center;gap:7px;border-radius:13px;padding:12px 13px;border:1px solid #e1e6ec;background:#fff;color:#667587;white-space:nowrap;box-shadow:0 4px 11px #18233708;font-size:11px;font-weight:800;min-height:44px}.location-chip.active{background:#16263b;color:#76ecc2;border-color:#16263b;box-shadow:0 9px 17px #17263b25}.location-chip.active svg{color:#63edbd}.chip-trailer-dot{height:6px;width:6px;background:#edc875;border-radius:50%}.search-field{display:flex;align-items:center;gap:10px;border:1px solid #e5eaf0;background:#fff;padding:0 14px;border-radius:14px;color:#8898a8;min-height:49px}.search-field input{border:0;outline:0!important;background:none;font-size:12px;width:100%;color:#1d2b40}.search-field input::placeholder{color:#98a3b1}.search-field button{border:0;background:none;color:#758294;display:flex;align-items:center;justify-content:center}.info-strip{display:flex;gap:9px;align-items:flex-start;margin:13px 1px 15px;color:#6f8598;font-size:10px;line-height:1.5}.info-strip svg{color:#5da58c;margin-top:1px}.product-list{display:flex;flex-direction:column;gap:14px}.product-card{background:#fff;border:1px solid #e7edf1;border-radius:19px;padding:16px 15px 0;box-shadow:0 8px 24px #0e1c320b}.product-top{display:flex;justify-content:space-between;gap:10px;align-items:start}.product-name-row{display:flex;gap:10px;align-items:center;min-width:0}.product-symbol{width:37px;height:37px;border-radius:11px;background:#e8f8f2;color:#24ad7d;display:flex;align-items:center;justify-content:center;flex:none}.product-title-wrap{min-width:0}.product-title-wrap h3{font-size:13px;line-height:1.28;color:#142238;font-weight:800;overflow-wrap:anywhere}.microcopy{font-size:10px;color:#9aa7b5;display:block;margin-top:5px}.total-badge{text-align:center;padding:6px 9px;background:#e8faf0;border-radius:12px;min-width:66px;flex-shrink:0}.total-badge span{font-size:8px;letter-spacing:1.1px;color:#419d74;font-weight:900;display:block}.total-badge strong{font-size:19px;color:#118660;display:block;line-height:1.25;margin-top:2px;font-weight:900}.count-inputs{display:grid;grid-template-columns:1fr 1.22fr .85fr;gap:10px;margin-top:20px}.count-field>span{display:block;font-weight:900;font-size:8px;letter-spacing:.55px;color:#8797a4;white-space:nowrap;margin-bottom:7px}.count-field.rows-field input{border:1px solid #dde5eb;border-radius:10px;background:#f7f9fa;min-height:42px;padding:0 12px;width:100%;font-size:18px;font-weight:800;color:#253449}.stepper{height:42px;display:flex;background:#f7f9fa;border:1px solid #dde5eb;border-radius:10px;overflow:hidden}.stepper button{width:31px;flex:none;border:0;background:#eff4f6;color:#567487;display:flex;align-items:center;justify-content:center}.stepper input{text-align:center;background:none;border:0;outline:0!important;min-width:0;width:100%;font-weight:850;color:#1b2e43;font-size:17px}.calculated-field{text-align:center}.calculated-field strong{display:flex;height:42px;border-radius:10px;background:#16263b;color:#72e9bb;align-items:center;justify-content:center;font-size:20px;font-weight:850}.presets{display:flex;align-items:center;gap:6px;margin-top:10px}.presets button{border:1px solid #e2e9ed;background:#f8fafb;color:#6b7b89;padding:5px 10px;border-radius:7px;font-size:10px;font-weight:850;min-width:29px}.presets button.selected{background:#dff8ed;border-color:#97e9c3;color:#168e61}.presets>span{margin-left:auto;color:#a1adba;font-size:9px}.count-footer{display:flex;gap:9px;margin-top:17px}.date-field{border:1px solid #dfe7ec;border-radius:10px;display:flex;align-items:center;gap:7px;padding:0 8px;min-width:0;flex:1;color:#9aa7b1;height:43px}.date-field input{border:0;outline:0!important;width:100%;font-size:12px;color:#34495b;background:transparent;font-variant-numeric:tabular-nums}.date-field input::placeholder{color:#a8b4be}.extra-button{display:flex;align-items:center;justify-content:center;gap:4px;height:43px;background:#e4f8ef;border:1px solid #caf0dc;color:#14996c;border-radius:10px;padding:0 11px;font-size:11px;font-weight:900;white-space:nowrap}.extra-button>span{font-size:10px;opacity:.75}.save-footer{border-top:1px solid #edf1f4;margin-top:13px;padding:11px 0;display:flex;align-items:center;justify-content:space-between;gap:8px}.form-hint{font-size:9px;color:#94a2ac;line-height:1.3;max-width:155px}.save-button{display:flex;align-items:center;justify-content:center;gap:5px;border:none;background:#18283c;color:#fff;padding:11px 12px;border-radius:10px;font-size:11px;font-weight:800;white-space:nowrap}.save-button:disabled{background:#9ea9b3}.error-text{font-size:11px;color:#d34d4d;display:block;padding-bottom:10px}.saved-section{border-top:1px solid #edf1f4;margin:0 -15px}.history-toggle{border:0;background:#fafbfc;color:#4c806c;border-radius:0 0 18px 18px;padding:12px 16px;display:flex;width:100%;justify-content:space-between;align-items:center;font-size:11px;font-weight:850}.saved-list{padding:0 14px 10px}.saved-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-top:1px solid #eef2f4}.saved-row strong{display:block;font-size:12px}.saved-row small{font-size:10px;color:#8998a6;display:block;margin-top:5px}.saved-row button{border:0;background:#fff0ee;color:#cc6b67;height:34px;width:34px;border-radius:9px;display:grid;place-items:center}.empty-state{margin:20px 0 35px;background:#fff;border-radius:18px;padding:32px 22px;text-align:center;color:#8395a4;border:1px dashed #d7e0e6}.empty-state>svg{color:#83bcaa}.empty-state h3{font-size:16px;margin:11px 0 8px;color:#223047}.empty-state p{line-height:1.6;font-size:12px}.empty-state button{margin-top:16px;border:0;background:#1e3348;color:#fff;padding:12px 17px;border-radius:10px;font-size:12px;font-weight:800}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:440px;height:calc(75px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -7px 26px #101a2c14;border-top:1px solid #e8eef1;display:flex;justify-content:space-around;align-items:flex-start;padding-top:11px;padding-bottom:env(safe-area-inset-bottom);z-index:20}.bottom-nav button{border:0;background:none;display:flex;flex-direction:column;gap:5px;align-items:center;color:#a6b0bc;font-weight:850;font-size:10px;min-width:80px;padding:3px}.bottom-nav button.active{color:#12976e}.bottom-nav button.active svg{stroke-width:2.5}.page-section{padding:27px 20px 24px}.page-section>.eyebrow{color:#3a9f7e}.page-section>h1{font-size:30px;letter-spacing:-1.2px;margin-top:9px;color:#142439}.page-desc{margin-top:9px;font-size:12px;line-height:1.6;color:#82909e}.view-toggle{margin:23px 0 13px;background:#edf1f4;display:flex;padding:4px;border-radius:14px}.view-toggle button{border:0;background:transparent;font-size:12px;font-weight:850;color:#8c98a5;border-radius:11px;flex:1;height:41px}.view-toggle button.on{background:#fff;color:#193146;box-shadow:0 3px 10px #1e314416}.record-summary{display:flex;align-items:center;gap:7px;background:#e4f7ee;padding:13px;border-radius:12px;color:#288d68;font-size:12px;margin-bottom:13px}.record-summary>span{color:#779989}.records-list{display:flex;flex-direction:column;gap:12px}.record-card{background:#fff;border:1px solid #e6ebef;border-radius:17px;padding:15px}.record-main{display:flex;align-items:center;gap:9px}.record-icon{width:37px;height:37px;flex:none;display:grid;place-items:center;border-radius:10px;background:#e8f6ef;color:#3ca883}.record-main>div:nth-child(2){flex:1;min-width:0}.record-main h3{font-size:13px;color:#223449;line-height:1.2}.record-main>div:nth-child(2)>span{display:flex;gap:4px;align-items:center;font-size:10px;margin-top:6px;color:#9aa6b4}.record-main>strong{font-size:22px;color:#159d71;letter-spacing:-.7px}.record-detail{display:flex;justify-content:space-between;padding:12px 0;margin-top:12px;border-top:1px solid #eff2f4;color:#738292;font-size:11px}.record-buttons{display:flex;gap:9px}.record-buttons button{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;background:#edf4f5;color:#446c7b;border:0;border-radius:10px;font-size:11px;font-weight:850;padding:10px 4px}.record-buttons button.danger-button{color:#c77770;background:#fff0ed;flex:.7}.move-select{padding-top:12px}.move-select label{font-size:10px;color:#8495a4;display:block;margin-bottom:6px}.move-select select{width:100%;padding:11px;border:1px solid #d9e2e7;border-radius:10px;background:#fff}.manage-page .manage-block{background:#fff;border:1px solid #e3ebee;box-shadow:0 5px 20px #14253909;border-radius:18px;padding:16px;margin-top:17px}.manage-heading{display:flex;align-items:flex-start;gap:11px;color:#34ad85;margin-bottom:16px}.manage-heading h2{color:#1c2b41;font-size:15px;font-weight:850;line-height:1.3}.manage-heading p{color:#8a99a6;line-height:1.55;font-size:11px;margin-top:4px}.manage-inline{display:flex;gap:9px}.manage-inline input,.manage-block>select,.manage-label input,.manage-label select{background:#f8fafb;border:1px solid #e0e7ec;border-radius:10px;padding:0 12px;height:43px;width:100%;font-size:13px;color:#26394e}.manage-inline button,.full-action{border:0;background:#172a3e;color:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 13px;min-height:43px;font-size:12px;font-weight:800;white-space:nowrap}.trailer-cloud{display:flex;gap:6px;flex-wrap:wrap;margin-top:13px}.trailer-cloud span{display:flex;gap:5px;align-items:center;background:#f0f5f7;border-radius:9px;color:#627889;padding:8px 10px;font-size:11px;font-weight:800}.full-action{margin-top:10px;width:100%}.manage-label{font-size:11px;font-weight:800;color:#5c6e7d;display:block;margin-top:10px}.manage-label input,.manage-label select{margin-top:7px}.manage-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.search-field.compact{min-height:41px}.assigned-list{max-height:260px;overflow:auto}.assigned-list>div{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #f0f3f5;padding:9px 0;gap:10px}.assigned-list span{font-size:11px;color:#435468}.assigned-list button{border:0;background:#fff1f0;color:#c77371;display:grid;place-items:center;border-radius:7px;flex:none;width:29px;height:29px}.subtle{font-size:11px;color:#a1acb6;padding-top:12px}.backup-actions{display:flex;gap:9px}.backup-actions button{flex:1;min-height:43px;border:1px solid #cfe8df;border-radius:10px;color:#218664;background:#ecfaf3;display:flex;justify-content:center;align-items:center;gap:6px;font-size:11px;font-weight:850}.restore-action{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;border:1px solid #e0e8ed;border-radius:10px;padding:12px;margin-top:9px;background:#fff;color:#627789;font-size:11px;font-weight:850}.warning-inline{display:flex;align-items:flex-start;gap:8px;font-size:10px;color:#9c875c;background:#fff7e9;padding:12px;border-radius:10px;margin-top:13px;line-height:1.55}.warning-inline svg{flex:none}.modal-scrim{position:fixed;inset:0;background:#08121d96;z-index:100;display:flex;align-items:flex-end;justify-content:center;padding:12px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal{width:100%;max-width:440px;background:#fff;border-radius:26px;padding:24px 23px calc(23px + env(safe-area-inset-bottom));box-shadow:0 20px 65px #07121e33;animation:slidein .22s ease-out}@keyframes slidein{0%{transform:translateY(15px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-icon{width:46px;height:46px;border-radius:14px;background:#e5f9ee;color:#21a97f;display:grid;place-items:center}.modal h3{font-size:21px;color:#16263c;margin:15px 0 8px;letter-spacing:-.4px}.modal p{font-size:12px;color:#83929e;line-height:1.5;margin-bottom:17px}.modal-label{display:block;color:#465a6d;font-size:11px;font-weight:800;margin-top:12px}.modal-label input{display:block;width:100%;height:52px;margin-top:8px;border:1px solid #dbe5eb;border-radius:12px;padding:0 15px;background:#fbfcfd;color:#1b2e45;font-weight:750;font-size:18px}.modal-actions{display:flex;gap:10px;margin-top:21px}.modal-actions button{border:0;padding:15px 16px;border-radius:11px;font-size:12px;font-weight:850}.button-ghost{flex:.7;background:#eef2f5;color:#607082}.button-primary{flex:1.3;background:#1b2a40;color:#fff}.toast{position:fixed;left:50%;bottom:calc(90px + env(safe-area-inset-bottom));transform:translate(-50%);background:#19394a;color:#a7ffda;border:1px solid #2d6558;border-radius:12px;box-shadow:0 15px 40px #142c3855;padding:13px 17px;font-size:12px;font-weight:750;z-index:150;display:flex;gap:10px;align-items:center;width:max-content;max-width:min(400px,90vw)}.splash{position:fixed;inset:0;z-index:500;display:grid;place-items:center;background:radial-gradient(circle at center,#1c3f44,#101a2c 55%);color:#fff}.splash-content{text-align:center;display:flex;flex-direction:column;align-items:center}.splash h1{font-size:21px;letter-spacing:4px;margin:23px 0 6px;font-weight:900}.splash p{font-size:12px;color:#9ab5b8;letter-spacing:.5px}.loading-bar{height:3px;width:126px;border-radius:3px;background:#263b4a;margin-top:35px;overflow:hidden}.loading-bar span{height:100%;width:46%;display:block;background:#6be8b8;border-radius:3px;animation:loadslide .9s ease-in-out infinite}@keyframes loadslide{0%{transform:translate(-100%)}to{transform:translate(250%)}}.fatal{padding:24px;color:#a72e2e}@media(max-width:375px){.hero h1{font-size:33px}.location-section,.inventory-section{padding-left:14px;padding-right:14px}.location-chips{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.product-card{padding-left:11px;padding-right:11px}.count-inputs{gap:6px}.stepper button{width:26px}.count-field>span{font-size:7px}.count-footer{gap:5px}.extra-button{padding:0 8px}.date-field input{font-size:11px}.saved-section{margin-left:-11px;margin-right:-11px}}@media(min-width:600px){.app-shell{padding:28px 0}.app-frame{min-height:844px;border-radius:27px;overflow:clip;box-shadow:0 25px 85px #18344e2a}.bottom-nav{bottom:0}.app-header{padding-top:16px;height:79px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;scroll-behavior:auto!important}}.expiry-badge{display:inline-flex;align-items:center;align-self:flex-start;max-width:100%;border:1px solid;border-radius:7px;padding:5px 7px;font-size:9px;font-weight:850;letter-spacing:.25px;line-height:1.4;text-align:left}.expiry-expired{color:#9b1c25;background:#fff0f1;border-color:#e7a4ac}.expiry-today{color:#a13412;background:#fff0e6;border-color:#e5ad91}.expiry-soon{color:#795100;background:#fff7d9;border-color:#d5b758}.expiry-ok{color:#11653e;background:#e8f7ee;border-color:#9bceb0}.expiry-invalid{color:#4d5866;background:#f0f2f5;border-color:#bbc3ce}.use-by{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#566779;line-height:1.5;margin:8px 0;overflow-wrap:anywhere}.use-by>span>strong{font-weight:750;font-variant-numeric:tabular-nums}.saved-row>div{min-width:0;flex:1;padding-right:8px}.saved-row>button{width:44px;height:44px;flex:none}.saved-row .use-by{font-size:10px}.saved-row .use-by strong{display:inline;font-size:10px}.fefo-label{display:inline-block;font-size:9px;line-height:1.5;font-weight:850;color:#3b6d5a;background:#edf7f1;border:1px solid #c7e0d0;border-radius:6px;padding:3px 6px;letter-spacing:.2px}.history-toggle .fefo-label{margin-left:5px}.records-fefo{margin:0 0 13px}.record-buttons button{min-height:44px}.record-card>.use-by{margin-top:0;margin-bottom:13px}.record-main h3{overflow-wrap:anywhere}.overview-summary{display:grid;grid-template-columns:1fr 1fr;gap:1px;border:1px solid #d4e7de;background:#d4e7de;border-radius:17px;overflow:hidden;margin:20px 0}.overview-summary>div{background:#edf8f2;padding:15px 13px;display:flex;flex-direction:column;gap:6px;min-width:0}.overview-summary>div>strong{font-size:25px;letter-spacing:-.8px;color:#145a43}.overview-summary>div>span:last-child{font-size:10px;line-height:1.5;color:#416554}.overview-summary .summary-quantity{gap:5px}.overview-summary .summary-quantity>.quantity-group{font-size:11px;color:#145a43}.summary-quantity .quantity-group strong{font-size:22px;letter-spacing:-.6px;overflow-wrap:anywhere}.quantity-group{display:block;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.overview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:15px 0;font-size:11px;color:#627389}.overview-list{display:flex;flex-direction:column;gap:13px}.overview-card{border:1px solid #dfe8e4;border-radius:17px;background:#fff;box-shadow:0 5px 18px #14253906;overflow:hidden}.overview-toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;background:none;border:0;text-align:left;min-height:54px;padding:16px 15px 9px;color:#183045}.overview-name{font-size:14px;font-weight:800;line-height:1.4;overflow-wrap:anywhere;min-width:0}.overview-name small{display:block;margin-top:4px;color:#647387;font-size:11px;font-weight:650}.overview-content{padding:0 15px 15px}.overview-quantity{font-size:12px;line-height:1.6;color:#426451}.overview-quantity strong{font-size:24px;font-weight:850;letter-spacing:-.6px;color:#137451}.overview-counts{font-size:11px;line-height:1.5;color:#617080;margin-top:5px}.overview-expiry{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:11px;font-size:10px;color:#526578}.overview-expiry>span:first-child{line-height:1.6}.no-stock{display:block;color:#697687;font-size:11px;margin-top:10px}.date-notice{font-size:11px;color:#56606d;background:#f1f3f6;border-radius:8px;padding:9px 10px;line-height:1.6;margin:10px 0 13px}.overview-content .date-notice{margin-bottom:0}.stock-breakdown{padding:0 15px 15px;border-top:1px solid #e5ede8;background:#fafdfb}.breakdown-location{padding-top:16px}.breakdown-location h3{font-size:12px;font-weight:800;color:#294a3c;line-height:1.5;overflow-wrap:anywhere}.location-quantity{font-size:11px;color:#5a7164;line-height:1.6;margin:3px 0 9px}.breakdown-pallets{list-style:none;padding:0;margin:0}.breakdown-pallets li{border-left:2px solid #bfdccd;border-bottom:1px solid #e7eeea;padding:10px 0 8px 11px}.breakdown-pallets li>strong{font-size:12px;color:#233f30}.breakdown-pallets .use-by{margin-bottom:0}.expiry-setting{margin-top:8px}.expiry-setting input{min-width:0}.expiry-setting+p{margin-top:8px}.bottom-nav button{min-width:0;flex:1;min-height:48px;font-size:10px}.count-inputs{grid-template-columns:.95fr 1.35fr .8fr}.stepper button{width:44px}.presets{flex-wrap:wrap}.presets button{min-width:40px;min-height:44px}.extra-button,.date-field,.save-button{min-height:44px}.form-hint{color:#617080}.info-strip{color:#546c80}.microcopy{color:#65758a}.manage-heading p,.page-desc{color:#617184}.history-toggle{min-height:44px}.compact-location{padding-top:16px}.compact-location .section-heading{margin-bottom:9px;align-items:center}.compact-location .eyebrow{display:none}.compact-location .section-heading h2{font-size:14px;margin-top:0;letter-spacing:0}.compact-location .location-chips{padding-bottom:5px}.overview-page{padding-top:16px}.overview-page>h1{font-size:28px}.overview-page .overview-summary{grid-template-columns:repeat(3,minmax(0,1fr));margin:16px 0}.overview-summary>div{padding:12px}.overview-summary .summary-quantity{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:6px 12px}.overview-summary .summary-quantity>span:last-child{margin-left:auto}.record-summary{flex-wrap:wrap}.record-main>strong small,.total-badge strong small{display:block;font-size:10px;line-height:1.5;letter-spacing:0;overflow-wrap:anywhere}.total-badge{max-width:40%;overflow-wrap:anywhere}.hero-stats>div{min-width:0}.hero-stats strong small{overflow-wrap:anywhere}.branston-brand{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;background:#fff;border-radius:10px;padding:8px 12px}.branston-logo{display:block;width:190px;height:auto;flex:none}.brand.branston-brand>span{font-size:7px;letter-spacing:1.5px;color:#365f48;margin:0;font-weight:800}.splash-brand{padding:22px 24px;background:#fff;border-radius:20px;animation:breathe 2s ease-in-out infinite}.branston-logo.large{width:270px;height:auto}.splash h1{font-size:12px;letter-spacing:2px}.app-header{height:auto;min-height:calc(87px + env(safe-area-inset-top))}.overview-summary>.summary-records{background:#edf4ff}.overview-summary>.summary-records>strong,.overview-summary>.summary-records>span:last-child{color:#1e519c}.overview-summary>.summary-due{background:#fff2e7}.overview-summary>.summary-due>strong,.overview-summary>.summary-due>span:last-child{color:#a4440c}.overview-summary>.summary-expired{background:#fff0f1}.overview-summary>.summary-expired>strong,.overview-summary>.summary-expired>span:last-child{color:#a22230}.pallet-count{color:#1e519c;font-weight:750}.stock-status-expired .overview-quantity,.stock-status-expired .overview-quantity strong,.pallet-quantity.quantity-expired{color:#a22230}.stock-status-today .overview-quantity,.stock-status-today .overview-quantity strong,.stock-status-soon .overview-quantity,.stock-status-soon .overview-quantity strong,.pallet-quantity.quantity-today,.pallet-quantity.quantity-soon{color:#a4440c}.stock-status-invalid .overview-quantity,.stock-status-invalid .overview-quantity strong,.pallet-quantity.quantity-invalid{color:#556171}.pallet-quantity.quantity-ok{color:#11653e}.layer-default{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap;margin-top:10px}.layer-default-note{font-size:10px;color:#567066;line-height:1.5}.layer-default button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;background:#eaf5ee;border:1px solid #b8d8c5;color:#225e40;padding:8px 10px;border-radius:9px;font-size:10px;font-weight:800}.layer-default button.layer-size-saved:disabled{opacity:1;background:#f1f6f3;border-color:#d6e4dc;color:#456b54}.packaging-list{max-height:360px;overflow:auto;margin-top:8px}.packaging-row{border-bottom:1px solid #e7eeea;padding:14px 0}.packaging-row>label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#243f31;font-weight:750;line-height:1.5}.packaging-row input{width:100px;flex:none;min-height:44px;background:#f8faf9;border:1px solid #d6e3da;border-radius:9px;padding:8px;font-size:14px}.packaging-row .layer-default{margin-top:6px}.pallet-photos{border-top:1px solid #e5e9ec;margin:12px 0 10px;padding-top:10px;min-width:0}.photo-heading{display:flex;align-items:center;gap:6px;color:#6d5260;font-size:10px;font-weight:800;line-height:1.5}.photo-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.photo-actions button,.saved-row .photo-actions button{width:auto;height:auto;min-height:44px;padding:8px 10px;border:1px solid #d5dfe6;border-radius:9px;background:#f5f8fa;color:#3c5b6b;display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px;font-weight:800}.photo-actions button.take-photo,.saved-row .photo-actions button.take-photo{color:#942533;background:#fff1f2;border-color:#e7b8bd}.photo-thumbnails{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.photo-thumbnail,.saved-row .photo-thumbnail{width:64px;height:64px;padding:0;border:1px solid #ccd9d0;background:#edf3ef;border-radius:9px;overflow:hidden;display:block}.photo-thumbnail img{width:100%;height:100%;object-fit:cover;display:block}.photo-note{font-size:10px;color:#5d6f65;line-height:1.6;margin-top:7px}.pallet-photos .error-text{padding:8px 0 0}.pallet-photos .error-text:empty{display:none}.photo-viewer{width:calc(100% - 24px);max-width:620px;max-height:calc(100dvh - 32px);padding:16px;border:1px solid #dce6df;border-radius:18px;background:#fff;box-shadow:0 25px 90px #051b2340;overflow:auto}.photo-viewer::backdrop{background:#08151dde;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.photo-viewer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}.photo-viewer-header h3{font-size:15px;line-height:1.5;color:#1d3d2c}.photo-viewer-header p{font-size:11px;color:#61726a;line-height:1.5;margin-top:3px}.photo-viewer-header button{width:44px;height:44px;border:0;border-radius:10px;background:#f0f4f2;color:#426450;display:grid;place-items:center;flex:none}.photo-full{display:block;max-width:100%;max-height:60dvh;margin:auto;border-radius:9px;object-fit:contain}.photo-viewer-actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}.photo-viewer-actions a,.photo-viewer-actions button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border-radius:10px;padding:10px 12px;font-size:11px;font-weight:800;text-decoration:none}.photo-viewer-actions a{color:#235e41;background:#edf7f0;border:1px solid #b6d8c3}.photo-viewer-actions button{color:#9b2736;background:#fff1f2;border:1px solid #e9bec4}@media(max-width:375px){.branston-logo{width:155px}.branston-brand{padding:8px}.branston-logo.large{width:240px}.brand.branston-brand>span{font-size:6px;letter-spacing:1px}.app-header{padding-left:14px;padding-right:14px}.splash-brand{padding:20px}.layer-default-note,.layer-default button{font-size:9px}}@media(prefers-reduced-motion:no-preference){.overview-toggle svg{transition:transform .15s ease}.overview-toggle:hover{background:#f4faf6}}.branston-brand{background:transparent;border-radius:0;padding:0}.brand.branston-brand>span{color:#c1d8cd}.splash-brand{background:transparent;border-radius:0;padding:0}.move-pallet-button,.saved-row .move-pallet-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;width:auto;height:auto;padding:9px 12px;border:1px solid #b9d3cb;background:#edf6f2;color:#225f48;border-radius:9px;font-size:11px;font-weight:800}.saved-row .move-pallet-button,.breakdown-pallets .move-pallet-button{margin-top:8px}.transfer-toast{max-width:min(400px,92vw);width:max-content;line-height:1.5}.transfer-dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:440px;max-height:calc(100dvh - 16px);border:0;border-radius:24px 24px 0 0;padding:20px 20px calc(20px + env(safe-area-inset-bottom));overflow:auto;background:#fff;color:#1a3027;box-shadow:0 -15px 70px #081a2340}.transfer-dialog::backdrop{background:#08151dba;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.transfer-header{display:flex;justify-content:space-between;align-items:center;gap:10px}.transfer-header h2{font-size:22px;margin-top:5px;letter-spacing:-.5px}.transfer-header .eyebrow{color:#328564;font-size:9px}.transfer-header>button{border:0;width:44px;height:44px;display:grid;place-items:center;background:#f0f5f2;color:#426650;border-radius:11px;flex:none}.transfer-source{padding:13px 14px;background:#f2f7f4;border:1px solid #dce9e0;border-radius:12px;margin:14px 0}.transfer-source h3{font-size:14px;line-height:1.4;overflow-wrap:anywhere}.transfer-source p{font-size:11px;line-height:1.5;color:#587164;margin-top:4px}.transfer-source>strong{font-size:24px;display:block;margin-top:8px;color:#20573e}.transfer-source strong small{font-size:11px;font-weight:650}.transfer-label{display:block;font-size:11px;font-weight:800;line-height:1.5;margin-top:12px;color:#456454}.transfer-label input,.transfer-label select{display:block;width:100%;min-height:46px;margin-top:6px;border:1px solid #ccdcd2;border-radius:10px;background:#fafcfb;color:#203c2c;padding:10px;font-size:16px}.transfer-modes{border:0;padding:0;display:flex;gap:6px;margin:15px 0 0;min-width:0}.transfer-modes legend{font-size:11px;font-weight:800;color:#456454;margin-bottom:7px}.transfer-modes button{flex:1;min-width:0;min-height:48px;font-size:11px;font-weight:800;line-height:1.4;border:1px solid #d6e1db;border-radius:10px;padding:8px 5px;background:#f7faf8;color:#4e6859}.transfer-modes button[aria-pressed=true]{background:#1d5039;color:#fff;border-color:#1d5039}.transfer-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.transfer-fields>label{min-width:0}.transfer-formula{font-size:11px;color:#4d6d5a;line-height:1.5;margin:11px 0}.transfer-review{margin-top:14px;border:1px solid #c5ddcf;border-radius:12px;padding:12px;background:#edf8f2}.transfer-review h3{font-size:13px;line-height:1.5;color:#1c6541}.transfer-review p{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:11px;line-height:1.6;color:#496351;margin-top:8px}.transfer-review p>span{min-width:0;overflow-wrap:anywhere}.transfer-review p>strong{flex:none;font-size:14px}.transfer-review small{font-size:10px;line-height:1.6;display:block;color:#587262;margin-top:9px}.transfer-error{padding-top:12px;line-height:1.6}.transfer-actions{display:flex;gap:10px;margin-top:16px}.transfer-actions button{min-height:48px;border:0;border-radius:11px;padding:12px;font-size:12px;font-weight:850}.transfer-actions .button-primary{background:#1f5039;color:#fff}.transfer-actions .button-ghost{background:#edf2ef;color:#486151}.history-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:20px 0 16px}.history-heading h2{font-size:19px;color:#243e30}.history-heading p,.history-count{font-size:11px;line-height:1.6;color:#617267}.history-heading p{margin-top:4px}.history-export{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:1px solid #bdd7c8;border-radius:10px;padding:9px;color:#246443;background:#edf8f1;font-size:11px;font-weight:850;flex:none}.history-count{margin:12px 0}.transfer-history-card{background:#fff;border:1px solid #dfe8e2;border-radius:15px;padding:14px;margin-top:12px}.transfer-history-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.transfer-history-top h3{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.transfer-history-top>strong{font-size:22px;color:#245b40}.transfer-history-top small{font-size:10px}.transfer-route{display:flex;align-items:center;gap:8px;margin:12px 0;color:#416554;font-size:11px;line-height:1.6}.transfer-route>span{overflow-wrap:anywhere;min-width:0}.history-meta{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:10px;line-height:1.6;color:#63766b}.history-meta>span:first-child{color:#1d6590;background:#edf5fb;padding:2px 6px;border-radius:5px}.transfer-history-card details{margin-top:10px;border-top:1px solid #edf1ee;padding-top:4px}.transfer-history-card summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:11px;font-weight:750;color:#436553}.transfer-history-card dl{margin:0;font-size:10px;line-height:1.6}.transfer-history-card dt{font-weight:800;color:#486d57}.transfer-history-card dd{margin:2px 0 8px;color:#66796c;overflow-wrap:anywhere}:root{--keyboard-inset:0px;--visible-height:100dvh}.hero h1{font-size:29px;margin:12px 0 8px}.hero{padding-top:15px;padding-bottom:18px}.hero-stats{margin-top:16px;padding-top:13px}.location-chips{scroll-behavior:smooth;overscroll-behavior-x:contain}.location-pallet-count{min-width:21px;border-radius:7px;background:#edf2f4;padding:3px 5px;color:#425e70;font-size:10px}.location-chip.active .location-pallet-count{background:#355448;color:#d4ffea}.search-scope{margin:9px 0}.search-field input{font-size:16px}.search-field button{min-width:44px;min-height:44px}.count-result{display:block;text-align:left;width:100%;padding:14px;background:#fff;border:1px solid #dce7e2;border-radius:13px;margin-bottom:8px;color:#193a2d}.count-result strong,.count-result>small,.count-result>span{display:block}.count-result>small{font-size:11px;line-height:1.5;color:#526d60;margin-top:7px}.count-result>span{font-size:12px;font-weight:750;margin-top:10px;color:#087451}.choose-another{min-height:44px;border:0;border-radius:10px;background:#e7f1ec;color:#345746;padding:10px 14px;margin-bottom:12px}.count-destination{font-size:11px;line-height:1.5;color:#546a60;margin-top:12px}.count-fields{border:0;padding:0;margin:0;min-width:0}.count-fields .fast-inputs{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:14px}.count-fields .count-field>span,.manual-date-label>span{font-size:9px;letter-spacing:.4px;color:#536b61;font-weight:800}.count-fields .stepper{height:48px}.count-fields .stepper button{width:44px;min-height:46px;background:#edf5f0;color:#315d46;padding:0}.count-fields .stepper input,.count-fields .rows-field .stepper input{padding:0;border:0;background:transparent;border-radius:0;text-align:center;font-size:18px;min-height:44px}.count-fields .presets button{min-width:44px;min-height:44px;font-size:13px;padding:6px}.count-fields .presets{gap:5px}.count-fields .presets>span{color:#60796d}.loose-field>input,.manual-date-label>input{width:100%;height:46px;border:1px solid #ccdcd2;border-radius:10px;background:#fafcfb;color:#243c30;padding:10px;font-size:16px}.count-fields .calculated-field strong{height:46px}.manual-date-label{display:block;margin-top:14px}.manual-date-label>span{display:block;margin-bottom:7px}.layer-default button{min-height:44px}.count-success{font-size:12px;line-height:1.5;color:#116a45;background:#e8f7ed;border-radius:10px;padding:11px;margin-bottom:12px}.save-button{min-height:48px;font-size:12px}.form-hint{color:#52685e;font-size:11px}.sticky-count-save{position:fixed;z-index:25;bottom:max(calc(81px + env(safe-area-inset-bottom)),calc(var(--keyboard-inset) + 8px));left:50%;transform:translate(-50%);width:calc(100% - 20px);max-width:420px;display:flex;align-items:center;gap:10px;padding:10px 12px;background:#193b2d;color:#fff;border-radius:14px;box-shadow:0 4px 24px #102b3b30}.sticky-count-save>div{flex:1;min-width:0}.sticky-count-save strong,.sticky-count-save small{display:block;overflow-wrap:anywhere}.sticky-count-save strong{font-size:12px}.sticky-count-save small{font-size:10px;line-height:1.5;color:#c5dfd3;margin-top:4px}.sticky-count-save .save-button{background:#e1f8eb;color:#17482f}.product-list{padding-bottom:70px}.count-editor{position:fixed;inset:auto 0 var(--keyboard-inset);margin:0 auto;border:0;padding:0;width:100%;max-width:440px;max-height:calc(var(--visible-height) - 12px);border-radius:22px 22px 0 0;color:#20382b;background:#fff;overflow:hidden;box-shadow:0 -15px 70px #081a2340}.count-editor::backdrop{background:#08151dba}.count-editor form{display:flex;flex-direction:column;max-height:calc(var(--visible-height) - 12px)}.count-editor .transfer-header{padding:16px 18px 10px;flex:none}.editor-body{padding:0 18px 12px;overflow:auto;overscroll-behavior:contain}.editor-destination{padding:11px 12px;background:#eff6f1;border-radius:10px;font-size:13px;line-height:1.5}.editor-destination>span{display:block;font-size:12px;margin-top:3px;color:#496554}.editor-actions{display:flex;gap:10px;padding:12px 18px max(12px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dae8df;flex:none}.editor-actions button{min-height:48px;border:0;border-radius:11px;padding:12px;font-size:13px;font-weight:800}.editor-actions .button-primary{flex:1;background:#1d5039;color:#fff}.editor-actions .button-ghost{background:#edf2ef;color:#486151}.reuse-date{display:flex;gap:8px;margin-top:10px}.reuse-date button{min-height:44px;flex:1;border:1px solid #d2e1d7;border-radius:9px;background:#f6faf7;color:#375b45;font-size:11px}.editor-review{font-size:12px;line-height:1.6;color:#476252;margin-top:12px}.editor-body .error-text{margin-top:12px}.pallet-actions,.pallet-edit-buttons{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.pallet-actions{margin-top:8px}.record-buttons{flex-wrap:wrap}.pallet-edit-buttons button,.saved-row .pallet-edit-buttons button{display:flex;align-items:center;justify-content:center;gap:6px;width:auto;min-height:44px;height:auto;padding:9px;border:1px solid #d6e4db;border-radius:9px;background:#f4f9f6;color:#2e5f43;font-size:11px;font-weight:750}.saved-row{gap:8px}.saved-row>div{min-width:0}.saved-row .delete-count{width:44px;height:44px;flex:none}.move-pallet-button,.saved-row .move-pallet-button,.record-buttons .danger-button{min-height:44px}.transfer-reversed{padding:9px;background:#fff0dc;color:#8c521a;border-radius:8px;font-size:11px;margin-top:9px}.transfer-completed{font-size:11px;color:#24704c;margin-top:9px}.undo-action{margin:12px 20px 0;padding:10px 12px;background:#edf3ef;border:1px solid #d8e4dc;border-radius:12px}.undo-action>div{display:flex;align-items:center;gap:10px}.undo-action>div>div{flex:1;min-width:0}.undo-action strong{font-size:11px;color:#375341}.undo-action p{font-size:10px;line-height:1.5;color:#506958;margin-top:4px;overflow-wrap:anywhere}.undo-action button{display:flex;align-items:center;gap:6px;min-height:44px;border:1px solid #c0d5c7;border-radius:9px;background:#fff;color:#2b583d;font-size:12px;font-weight:800;padding:10px}.undo-action p.error-text{color:#a52e2e;font-size:12px;padding:8px 0 0}@media(max-width:350px){.count-fields .stepper button{width:44px}.count-fields .presets>span{display:none}.count-fields .stepper input{font-size:16px}.count-fields .count-field>span{font-size:8px}.count-editor .transfer-header h2{font-size:20px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}:root{scroll-padding-bottom:170px}.hero h1{font-size:24px;margin:10px 0 0;line-height:1.2}.hero-stats{margin-top:12px;padding-top:10px}.undo-action{position:sticky;top:0;z-index:12}.count-editor .count-fields .count-inputs{margin-top:12px}.connection-status{text-align:right;flex:none;color:#dcebe5;font-size:11px}.connection-status>span{display:inline-flex;align-items:center;gap:6px;border:1px solid #455867;border-radius:16px;padding:7px 9px;font-weight:800}.connection-status i{width:6px;height:6px;border-radius:50%;background:#6ee8b4}.connection-status.offline i{background:#ffbd61}.connection-status>small{display:block;font-size:8px;color:#bacdc6;margin-top:5px}.splash .branston-logo{animation:logo-breathe 2.4s ease-in-out infinite}.app-frame{animation:app-arrive .16s ease-out}@keyframes logo-breathe{0%,to{transform:scale(.98);opacity:.8}50%{transform:scale(1.025);opacity:1}}@keyframes app-arrive{0%{opacity:.85}to{opacity:1}}.update-banner{margin:12px 20px;padding:13px;background:#fff5df;border:1px solid #e9d09b;border-radius:12px;color:#5c461c}.update-banner>strong,.settings-update>strong{display:block;font-size:13px}.update-banner p{font-size:12px;line-height:1.5;margin:6px 0}.update-banner>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.update-banner button,.settings-update button,.reliability-actions button{min-height:44px;border:1px solid #c7d8cd;border-radius:9px;background:#fff;color:#2c503a;padding:10px;font-size:12px;font-weight:750}.update-banner .apply-update,.settings-update .apply-update{background:#22553c;color:#fff;border-color:#22553c}.update-blocked{flex-basis:100%;font-size:12px;color:#785523}.settings-update{margin-top:15px;padding:12px;background:#fff5df;border-radius:10px}.settings-update>button{margin-top:10px}.updating-dialog{width:calc(100% - 40px);max-width:360px;border:0;border-radius:18px;padding:25px;color:#244532}.updating-dialog::backdrop{background:#0c182bbb}.updating-dialog h2{font-size:20px;margin:12px 0}.updating-dialog p{font-size:13px;line-height:1.6}.app-reliability dl,.backup-counts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:9px 12px;font-size:12px;line-height:1.5;margin:16px 0}.app-reliability dt,.backup-counts dt{color:#5b7165}.app-reliability dd,.backup-counts dd{margin:0;color:#1b432c;font-weight:650;overflow-wrap:anywhere}.app-build{font-size:10px}.reliability-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.storage-estimate,.storage-warning,.iphone-install p{font-size:12px;line-height:1.65;color:#536b5c;margin:12px 0}.storage-warning{padding:12px;background:#fff5e2;border-radius:10px;color:#79612f}.iphone-install summary,.last-backup summary{cursor:pointer;min-height:44px;padding:12px 0;color:#2e6143;font-size:12px;font-weight:750}.backup-centre .restore-action{min-height:46px}.backup-preview{margin-top:15px;padding:13px;border:1px solid #d6e2da;border-radius:12px;background:#f6faf7}.backup-preview h3{font-size:16px}.backup-preview p{font-size:12px;line-height:1.6;margin-top:8px;overflow-wrap:anywhere}.backup-preview .backup-warning,.restore-warning{background:#fff1d5;color:#7c591f;border-radius:8px;padding:10px}.backup-preview-actions{display:flex;gap:8px;margin-top:14px}.backup-preview-actions button{min-height:46px;border:1px solid #c9d8cd;border-radius:10px;background:#fff;padding:10px;color:#375b44;font-size:12px;font-weight:800}.backup-preview-actions .confirm-restore{background:#754c24;color:#fff;flex:1}.backup-notice{font-size:12px;color:#23603f;line-height:1.6;margin-top:12px}.backup-centre .error-text,.app-reliability .error-text{font-size:12px;line-height:1.6;margin-top:12px}.discard-draft{border:0;border-radius:8px;background:#f1f4f2;color:#5b6a61;font-size:11px;min-height:44px;padding:8px 12px;margin-top:8px}.fatal{padding:30px;max-width:480px;margin:auto}.fatal h1{font-size:23px}.fatal p{font-size:14px;line-height:1.6;margin-top:15px}.fatal button{min-height:46px;padding:10px 15px;margin-top:20px}@media(prefers-reduced-motion:reduce){.splash .branston-logo,.app-frame{animation:none}}.bottom-nav button{color:#4c5c6c}.bottom-nav button.active{color:#176347}.view-toggle button{color:#4c5c6c;min-height:44px}.record-buttons button.danger-button{color:#9f3933}.bottom-nav.five-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}.bottom-nav.five-tabs button{min-width:0;padding-left:2px;padding-right:2px}.bottom-nav.five-tabs span{font-size:9px;line-height:1.3;text-align:center}textarea{font:inherit;resize:vertical;touch-action:manipulation}textarea:focus-visible{outline:3px solid #37c995;outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.auth-screen{position:relative;isolation:isolate;max-width:440px;min-height:100dvh;margin:0 auto;padding:calc(45px + env(safe-area-inset-top)) 26px 40px;background:#f7faf8;color:#193e30;display:flex;flex-direction:column;gap:18px;justify-content:center}.auth-screen>.branston-logo,.login-brand .branston-logo{width:100%;height:65px}.auth-screen h1{font-size:29px;letter-spacing:-.9px}.auth-screen>p,.auth-screen small{font-size:13px;line-height:1.65}.auth-screen>button{min-height:46px;border:1px solid #ccdbd2;border-radius:12px;background:#fff;color:#28533d}.login-brand{margin-bottom:15px;animation:logo-breathe 3.5s ease-in-out infinite}.login-ornament{display:none}.profile-onboarding{justify-content:flex-start}.account-form{display:flex;flex-direction:column;gap:15px}.account-form label,.photo-preview label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:650}.account-form input,.account-form textarea,.account-form select,.photo-preview input,.photo-preview select{min-width:0;width:100%;min-height:46px;background:#fff;border:1px solid #c9d9d0;color:#183a2b;border-radius:11px;padding:11px;font-size:16px}.account-form button,.photo-picker button,.private-photo button,.chat-page button,.account-settings button{min-height:44px;border-radius:10px;border:1px solid #cadbd1;color:#24573f;background:#f7fbf8;padding:10px 12px;font-size:13px;font-weight:700}.account-form .primary-action,.photo-picker .primary-action,.chat-page .primary-action{background:#205a40;color:#fff;border-color:#205a40}.account-form p,.photo-preview p,.group-editor p{font-size:12px;line-height:1.6}.password-field{display:flex;gap:7px}.password-field input{flex:1;width:0}.password-field button{flex:none}.account-form .error-text,.error-text{color:#a52e2e}.inline-actions{display:flex;flex-wrap:wrap;gap:8px}.inline-actions>*{flex:1}.inline-actions input{min-width:90px}.role-field{margin:0;border:0;padding:0;min-width:0}.role-field legend{font-size:13px;margin-bottom:9px}.role-chips{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}.role-chips button{border-radius:20px;font-size:12px}.role-chips button[aria-pressed=true]{background:#d9efe1;border-color:#4e9470;color:#18482e}.profile-editor h3{margin:22px 0 12px}.password-editor{border-top:1px solid #d9e6dc;margin-top:25px;padding-top:5px}.account-offline{background:#fff0ce;color:#654916;font-size:12px;text-align:center;padding:10px;line-height:1.5}.account-settings p,.account-settings small{font-size:12px;line-height:1.65;color:#536e5d}.account-settings .inline-actions{margin:12px 0}.account-summary{display:flex;gap:12px;align-items:center}.private-avatar{width:48px;height:48px;object-fit:cover;border-radius:50%;flex:none}.switch-row{display:flex;align-items:center;gap:12px;padding:14px 0;font-size:13px;min-height:48px}.switch-row span{flex:1}.switch-row input{width:22px;height:22px;accent-color:#226a47}.switch-row b{font-size:12px;width:24px}.theme-settings>p{font-size:11px;line-height:1.6;color:#61766a}.photo-picker-buttons{display:flex;gap:7px;flex-wrap:wrap}.photo-picker-buttons button{display:flex;gap:6px;align-items:center}.photo-preview{margin-top:12px;padding:14px;background:#f0f6f2;border:1px solid #c9ddd0;border-radius:14px;display:flex;flex-direction:column;gap:13px}.photo-preview h3{margin:0;font-size:16px}.photo-preview>img{max-width:100%;max-height:270px;object-fit:contain;border-radius:9px;align-self:center}.photo-preview>.avatar-crop{border-radius:50%;width:180px;height:180px}.crop-controls{display:flex;flex-direction:column;gap:9px}.crop-controls input{padding:0;min-height:35px}.photo-thumbnail{padding:0!important;border:0!important;overflow:hidden;background:transparent!important;display:block;max-width:100%}.photo-thumbnail img{display:block;max-width:100%;width:220px;max-height:230px;object-fit:cover;border-radius:10px}.image-viewer{position:fixed;z-index:150;inset:0;background:#07150ff5;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;padding:70px 20px 30px}.image-viewer>img{max-width:100%;max-height:calc(100dvh - 180px);object-fit:contain}.image-viewer .close-viewer{position:absolute;right:20px;top:max(18px,env(safe-area-inset-top));background:#fff}.image-viewer>div{padding-bottom:env(safe-area-inset-bottom)}.chat-page{padding:22px 16px 0}.chat-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:20px}.chat-heading h1{font-size:28px;margin:6px 0;overflow-wrap:anywhere}.chat-heading small{font-size:10px;line-height:1.5;display:block}.chat-connected{color:#367b51}.chat-reconnecting{color:#875b20}.chat-heading>button{flex:none;display:grid;place-items:center;width:46px}.chat-inbox{display:flex;flex-direction:column;gap:9px}.chat-inbox .inbox-row{display:flex;width:100%;align-items:center;text-align:left;gap:12px;padding:15px 11px;border-radius:16px;background:#fff;border:1px solid #e0e9e3;box-shadow:0 4px 13px #0c302005}.chat-avatar{position:relative;display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex:none;background:#e2eee7;border-radius:50%;font-size:14px;color:#32634b}.chat-avatar .private-avatar{width:46px;height:46px}.status-dot{position:absolute;right:-1px;bottom:0;width:12px;height:12px;border:2px solid white;border-radius:50%;background:#8b9690}.status-online.connected{background:#219d58}.status-busy{background:#c84748}.status-away{background:#d69927}.status-holiday{background:#8c5ba8}.status-offline{background:#8b9690}.inbox-text{flex:1;min-width:0}.inbox-text strong{font-size:14px;display:block;margin-bottom:5px}.inbox-text>span{display:block;font-size:12px;color:#728176;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.inbox-text small{display:block;font-size:10px;color:#5b7767;margin-top:5px}.inbox-meta{display:flex;flex-direction:column;align-items:end;gap:10px;flex:none}.inbox-meta time{font-size:10px;color:#77877d}.inbox-meta b{background:#266949;color:#fff;border-radius:12px;min-width:22px;padding:3px 6px;text-align:center;font-size:11px}.chat-setup p{line-height:1.7;font-size:14px;margin:16px 0}.conversation-details{width:100%;margin-bottom:12px;font-size:12px!important}.message-list{display:flex;flex-direction:column;gap:12px;padding:12px 0 20px;min-height:180px}.message{padding:12px 13px;max-width:88%;border-radius:15px;background:#fff;border:1px solid #e0e9e3;align-self:flex-start;overflow-wrap:anywhere;min-width:120px}.message.mine{align-self:flex-end;background:#e6f2e9;border-color:#d2e6d9;border-bottom-right-radius:5px}.message.theirs{border-bottom-left-radius:5px}.message>strong{font-size:10px;color:#466e54;display:block;margin-bottom:6px}.message>p{font-size:14px;line-height:1.6;white-space:pre-wrap}.message>small{font-size:9px;color:#6a7d70;display:block;margin-top:8px;text-align:right}.message.pending{border-style:dashed}.message .inline-actions{margin-top:9px}.chat-empty{font-size:13px;color:#647e6b;line-height:1.7;text-align:center;margin:35px 15px}.chat-composer{position:sticky;bottom:max(calc(78px + env(safe-area-inset-bottom)),var(--keyboard-inset));padding:12px 0;background:#f6f8faf5;border-top:1px solid #dae5df;z-index:15}.chat-composer>form{display:flex;gap:8px;margin-top:9px;align-items:end}.chat-composer textarea{border-radius:13px;border:1px solid #ccdcd1;min-height:48px;max-height:160px;padding:12px;font-size:16px;line-height:1.4;flex:1;min-width:0;background:#fff}.chat-composer form button{height:48px;width:48px;display:grid;place-items:center;flex:none}.chat-composer .discard-chat-draft{border:0;background:none;font-size:11px;padding:8px}.group-editor{padding:16px;border-radius:14px;background:#fff;border:1px solid #d8e7dc;margin:12px 0}.group-editor h2{font-size:20px}.member-role{display:inline-block;border-radius:8px;background:#edf3ef;margin:4px 3px;padding:3px 5px;font-size:9px}.checkbox-label{flex-direction:row!important;align-items:center}.checkbox-label input{width:22px;min-height:22px}.chat-page .danger-button{color:#a43d3d;background:#fff3f3;border-color:#e9cccc}.seasonal-root{position:relative;isolation:isolate;min-height:100dvh}.seasonal-snow{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:-1;color:#fff}.seasonal-snow i{position:absolute;top:-30px;font-size:16px;font-style:normal;opacity:.45;animation:fall-snow 20s linear infinite;will-change:transform}.page-hidden .seasonal-snow i,.page-hidden .login-brand,.page-hidden .splash .branston-logo{animation-play-state:paused}@keyframes fall-snow{0%{transform:translate3d(0,-5vh,0) rotate(0)}to{transform:translate3d(35px,110vh,0) rotate(100deg)}}:root[data-christmas=true]{background:#0f3028}:root[data-christmas=true] .app-shell{background:transparent}:root[data-christmas=true] .app-frame{background:#f4f8f6;box-shadow:0 20px 90px #031a1550}:root[data-christmas=true] .app-header{background:linear-gradient(110deg,#10372b,#0c2824);border-bottom:1px solid #d1b57650}:root[data-christmas=true] .hero{background:radial-gradient(ellipse at 90% 5%,#bca36025,transparent 60%),#123c2d}:root[data-christmas=true] .hero:before{border-color:#ccb37155}:root[data-christmas=true] .hero:after{border:5px dotted #78996c60}:root[data-christmas=true] .app-header:after{content:"";width:15px;height:20px;border:2px solid #cbb276;border-top:6px solid #cbb276;border-radius:50%;position:absolute;right:8px;top:5px;opacity:.5;pointer-events:none}:root[data-christmas=true] .manage-card,:root[data-christmas=true] .product-card{box-shadow:inset 0 3px #fff,0 5px 16px #173c2305}:root[data-christmas=true] .bottom-nav{border-top:1px solid #d9c99d;background:#fffefaf5}:root[data-christmas=true] .bottom-nav button.active{color:#285b3d}:root[data-christmas=true] .auth-screen{background:linear-gradient(160deg,#f6faf8,#e8f0e9);border-top:5px solid #8b3d4d}:root[data-christmas=true] .auth-screen .eyebrow{color:#8c5f2c}:root[data-christmas=true] .login-ornament{display:grid;place-items:center;width:52px;height:52px;color:#b2924d;position:absolute;top:25px;right:25px;border:5px dotted #4c7755;border-radius:50%;font-size:28px}:root[data-christmas=true] .login-ornament:after{content:"";position:absolute;bottom:-10px;width:20px;height:14px;background:#8b3d4d;clip-path:polygon(0 0,100% 0,90% 100%,50% 65%,10% 100%)}@media(max-width:350px){.chat-page{padding:18px 12px 0}.auth-screen{padding-left:20px;padding-right:20px}.bottom-nav.five-tabs span{font-size:8px}.inbox-row{gap:8px!important}.chat-avatar{width:40px;height:40px}.inbox-text strong{font-size:13px}.message{max-width:92%}}.seasonal-snow{z-index:40;color:#8aa997;mask-image:linear-gradient(to right,#000 0,#000 8px,transparent 18px,transparent calc(100% - 18px),#000 calc(100% - 8px));-webkit-mask-image:linear-gradient(to right,#000 0,#000 8px,transparent 18px,transparent calc(100% - 18px),#000 calc(100% - 8px))}.seasonal-snow i{opacity:.28}@media(min-width:600px){.seasonal-snow{mask-image:linear-gradient(to right,#000 calc(50% - 220px),transparent calc(50% - 210px),transparent calc(50% + 210px),#000 calc(50% + 220px));-webkit-mask-image:linear-gradient(to right,#000 calc(50% - 220px),transparent calc(50% - 210px),transparent calc(50% + 210px),#000 calc(50% + 220px))}}@media(prefers-reduced-motion:reduce){.seasonal-snow{display:none}.login-brand{animation:none}}.auth-screen>.branston-logo,.login-brand .branston-logo{height:auto;aspect-ratio:2170/725}.account-form button:disabled{opacity:.6;cursor:not-allowed}.shared-status{display:grid;gap:.3rem;margin:1rem 0;padding:1rem;border:1px solid #48756a;border-radius:14px;background:var(--card-bg,#14283a);color:var(--text,#e7f2ed)}.shared-status small,.stock-editor{display:block;opacity:.85;font-size:.76rem;line-height:1.5}.stock-editor{margin:.5rem 0}.shared-panel h3{margin-top:1.4rem}.shared-panel p{line-height:1.55}.queue-item,.activity-item{padding:.9rem 0;border-bottom:1px solid #687b773d;display:grid;gap:.4rem;overflow-wrap:anywhere}.queue-item small,.activity-item small,.migration-preview>small{font-size:.7rem;overflow-wrap:anywhere;opacity:.75}.queue-item pre{white-space:pre-wrap;max-height:240px;overflow:auto;font-size:.75rem}.shared-panel details{margin:.8rem 0}.shared-panel summary{cursor:pointer;padding:.5rem 0;font-weight:600}.shared-panel select{max-width:100%;margin:.6rem 0}.import-approval{display:flex;gap:.7rem;align-items:flex-start;margin:1rem 0;line-height:1.5}.import-approval input{width:22px!important;min-width:22px;height:22px;margin-top:.2rem;accent-color:#4da75a}.migration-preview{border:1px solid #77917e77;border-radius:12px;padding:1rem;margin:1rem 0}.activity-item time{font-size:.8rem}.shared-setup{margin:1rem 20px;padding:18px;background:#fff;border:1px solid #d2e3d9;border-radius:18px;color:#193e30}.shared-setup h1{font-size:1.5rem;line-height:1.25;letter-spacing:-.03em}.shared-setup h3{font-size:1rem}.shared-setup p{margin-top:.7rem;font-size:.875rem}.migration-review button{min-height:44px;padding:10px 12px;border:1px solid #cadbd1;border-radius:10px;background:#f7fbf8;color:#24573f;font-size:.85rem;font-weight:650;white-space:normal}.migration-preview>button{margin-top:.5rem}.backup-file-picker{display:grid;gap:.6rem;font-weight:600;margin-top:1rem}.backup-file-picker input[hidden]{display:none}.backup-file-picker .choose-backup{width:100%;min-height:48px;background:#24573f;color:#fff;border-color:#24573f;scroll-margin-block:100px}.starter-catalogue{border-top:1px solid #687b773d;padding-top:.4rem}.starter-catalogue p{font-size:.85rem}.import-retry,.import-blockers{border:1px solid #d9c297;background:#fffaf0;border-radius:12px;padding:12px;margin:1rem 0;overflow-wrap:anywhere}.import-retry p,.import-blockers p{margin:.5rem 0}.import-blockers h4{margin:0}.import-retry button{margin-top:.5rem}
