:root{color-scheme:light;--ink:#10231f;--muted:#667871;--line:#dbe5e1;--paper:#fff;--wash:#f3f7f5;--green:#0c7c66;--green2:#075b4d;--red:#c44135;--amber:#b36a00;--nav:#0d211d}*{box-sizing:border-box}body{margin:0;background:var(--wash);color:var(--ink);font:14px/1.45 Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}button,input,select{font:inherit}button{min-height:44px}button:focus-visible{outline:3px solid #d58a13;outline-offset:3px}input,select{min-height:44px}td{overflow-wrap:anywhere}.hidden{display:none!important}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 70% 10%,#d7f1e9,transparent 35%),#eef5f2}.login-card{width:min(420px,100%);padding:38px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 24px 70px #164b3e1c}.brand-mark,.brand span{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--green);color:#fff;font-weight:800}.eyebrow{margin:18px 0 4px;color:var(--green);font-size:11px;font-weight:800;letter-spacing:.14em}.login-card h1{font-size:30px;margin:0}.login-card>p{color:var(--muted)}form{display:grid;gap:14px;margin-top:25px}label{display:grid;gap:6px;color:#385048;font-weight:650}input,select{width:100%;padding:11px 12px;border:1px solid #cbd9d4;border-radius:10px;background:#fff;color:var(--ink)}input:focus,select:focus{outline:3px solid #42a88d2b;border-color:var(--green)}button{border:0;border-radius:10px;padding:11px 15px;background:var(--green);color:#fff;font-weight:750;cursor:pointer}button:hover{background:var(--green2)}button:disabled{opacity:.55;cursor:not-allowed}.error{min-height:20px;color:var(--red)}.app-shell{min-height:100vh;display:grid;grid-template-columns:245px 1fr}aside{position:sticky;top:0;height:100vh;padding:22px 16px;background:var(--nav);color:#fff;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;padding:0 8px 23px}.brand div{display:grid}.brand small,.account small{color:#99b6ad}.brand span{width:38px;height:38px}nav{display:grid;gap:6px}nav button{background:transparent;text-align:left;color:#b8cec7;padding:12px 14px}nav button:hover,nav button.active{background:#183b33;color:#fff}.account{margin-top:auto;padding:18px 8px 0;border-top:1px solid #29463f;display:grid;gap:4px}.account .ghost{margin-top:10px}.ghost,.secondary{background:transparent;color:var(--green);border:1px solid #a9c9bf}.account .ghost{color:#c8ded7;border-color:#46635b}.workspace{padding:0 30px 40px;min-width:0}.workspace>header{height:92px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}header h2{font-size:25px;margin:0}.workspace header .eyebrow{margin:0}.status,.badge{border-radius:999px;padding:6px 10px;background:#daf0e9;color:var(--green2);font-size:12px;font-weight:750}.content{padding-top:24px}.cards{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:14px}.card,.panel{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:19px}.card small{display:block;color:var(--muted)}.card strong{display:block;font-size:28px;margin-top:8px}.card.danger strong{color:var(--red)}.card.warn strong{color:var(--amber)}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.panel-head,.toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.panel h3{margin:0;font-size:17px}.toolbar{flex-wrap:wrap}.toolbar input{max-width:340px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px}table{width:100%;border-collapse:collapse;min-width:700px}th,td{padding:11px 13px;text-align:left;border-bottom:1px solid var(--line);vertical-align:middle}th{background:#f5f8f7;color:#587069;font-size:11px;letter-spacing:.05em;text-transform:uppercase}tbody tr:last-child td{border:0}td small{color:var(--muted)}.badge.red{background:#fbe3df;color:#a02c22}.badge.amber{background:#fff0d5;color:#8a5200}.badge.gray{background:#eaf0ed;color:#586a64}.form-panel{margin-bottom:16px}.inline-form{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.inline-form .wide{grid-column:span 2}.inline-form button{align-self:end}.action-row{display:flex;flex-wrap:wrap;gap:7px}.action-row button{padding:7px 9px;font-size:12px}.upload{border:1px dashed #97b7ad;border-radius:12px;padding:18px;background:#f8fbfa}.muted{color:var(--muted)}#flash{position:fixed;right:30px;top:76px;z-index:5;max-width:430px}.flash{padding:12px 16px;background:#153c33;color:#fff;border-radius:11px;box-shadow:0 8px 30px #0002}.flash.error{background:#8d2c24}.empty{text-align:center;padding:35px;color:var(--muted)}@media(max-width:950px){.cards{grid-template-columns:repeat(2,1fr)}.inline-form{grid-template-columns:1fr 1fr}.app-shell{grid-template-columns:88px 1fr}.brand div{display:none}nav button{font-size:12px;padding:12px 5px;overflow-wrap:anywhere}.brand{padding-inline:6px}.brand span{flex:none}nav button:before{font-size:12px;content:none}.account strong,.account small{display:none}.workspace{padding-inline:18px}}@media(max-width:620px){.app-shell{display:block}aside{position:static;height:auto;padding:12px}.brand{display:none}.account{display:flex;align-items:center;justify-content:flex-end;margin:8px 0 0;padding:8px 0 0}.account .ghost{margin:0}nav{display:flex;overflow:auto}nav button,nav button:before{font-size:12px;white-space:nowrap}.workspace{padding:0 12px 30px}input,select{font-size:16px}.login-card{padding:24px}.panel{padding:14px}.panel-head{align-items:flex-start}.table-wrap{max-width:100%}.workspace>header{height:78px}.cards,.grid-2,.inline-form{grid-template-columns:1fr}.inline-form .wide{grid-column:auto}#flash{left:12px;right:12px;top:66px}}
:root{--ink:#152d29;--muted:#657b75;--wash:#f4f6f3;--green:#126f59;--green2:#0b5242;--nav:#102e27;--line:#dee6df}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;letter-spacing:-.015em}
.app-shell{grid-template-columns:230px minmax(0,1fr)}aside{padding:28px 18px}.brand{padding:0 8px 34px}.brand span{background:#d6ed82;color:#17362a}.brand strong{font-size:20px;letter-spacing:-.06em}.brand small{font-size:11px;letter-spacing:.08em;text-transform:uppercase}nav{gap:6px}nav button{display:flex;gap:10px;align-items:center;min-height:48px;font-size:14px;color:#afc6bd}nav button.active{background:#d6ed82;color:#17362a}nav svg{width:19px;height:19px;flex:none}.workspace{padding:0 36px 36px;max-width:1650px;width:100%;margin:0 auto}.workspace>header{height:95px}.workspace header h2{font-size:24px;letter-spacing:-.045em}.eyebrow{letter-spacing:.12em;font-size:10px}.content{padding-top:26px}.status{background:white;border:1px solid var(--line);color:var(--muted)}.status.offline{background:#fff1d9;color:#815410}.workspace button{transition:background .15s,transform .15s}.workspace button:active{transform:translateY(1px)}.secondary:hover,.ghost:hover{background:#e4ede5;color:var(--green2)}
.hero{background:#173f32;color:white;border-radius:24px;padding:32px;display:flex;align-items:center;justify-content:space-between;gap:24px;position:relative;overflow:hidden}.hero:after{content:'';position:absolute;border:1px solid #ffffff10;width:340px;height:340px;border-radius:50%;right:-140px;top:-210px;pointer-events:none}.hero .eyebrow{color:#c6df92;margin:0 0 14px}.hero h1{font-size:clamp(25px,3vw,38px);line-height:1.15;letter-spacing:-.055em;margin:0 0 12px;font-weight:650}.hero p{color:#c1d6cc;margin:0;max-width:520px;font-size:14px}.hero button{background:#d6ed82;color:#18352b;white-space:nowrap;padding:16px 22px;border-radius:14px}.hero button:hover{background:#e5f7a5}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.metric{background:white;border:1px solid var(--line);border-radius:18px;padding:21px;text-align:left;color:var(--ink);position:relative}.metric:hover{background:#fafcf7!important}.metric small{display:block;color:var(--muted);font-weight:500}.metric strong{font-size:34px;font-weight:650;letter-spacing:-.05em;display:block;margin:10px 0}.metric span{font-size:12px;color:var(--muted);font-weight:500}.metric.danger strong{color:#b34431}.metric.warn strong{color:#996317}.split{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,1fr);gap:22px}.panel{border-radius:20px;padding:24px;box-shadow:0 3px 10px #24382b03}.panel-head h3{font-size:18px;letter-spacing:-.03em}.subheading{font-size:13px;color:var(--muted);margin:5px 0 0}.panel-head button{padding:8px 12px;font-size:12px}.stack{display:grid;gap:12px}.record{display:flex;gap:14px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.record:last-child{border:0}.record-icon{width:42px;height:42px;flex:none;display:grid;place-items:center;background:#eef3e6;color:#456541;border-radius:12px}.record-icon svg{width:21px;height:21px}.record-main{min-width:0;flex:1}.record-main strong{display:block;overflow-wrap:anywhere}.record-main small{display:block;color:var(--muted);margin-top:4px}.record-meta{text-align:right;flex:none;font-size:12px}.record-meta strong{display:block;margin-bottom:5px}.badge{display:inline-block;white-space:nowrap;font-size:11px}.section-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.section-top h2{font-size:27px;letter-spacing:-.05em;margin:0}.section-top p{margin:6px 0 0;color:var(--muted)}.point-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.point{display:flex;flex-direction:column;gap:18px;background:white;border:1px solid var(--line);border-radius:20px;padding:23px}.point h3{font-size:18px;margin:0;letter-spacing:-.03em}.point p{font-size:13px;color:var(--muted);margin:6px 0;overflow-wrap:anywhere}.point footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}.point footer button{flex:1 1 75px;font-size:12px}.point .point-top{display:flex;justify-content:space-between;align-items:center}.point-code{font-size:11px;color:var(--muted)}.filters{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:0 0 20px}.filters label{flex:1;min-width:150px;font-size:12px}.filters input,.filters select{min-height:46px}.chips{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 20px}.chip{border:1px solid var(--line);background:white;color:var(--muted);font-size:12px;min-height:36px}.chip:hover,.chip.active{background:#173f32;color:white;border-color:#173f32}.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;color:var(--muted);font-size:12px}.empty>svg{width:42px;height:42px;opacity:.65}.account-mobile{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.empty{padding:38px 20px;text-align:center}.empty h3{color:var(--ink);margin:12px 0 6px}.empty p{max-width:390px;margin:0 auto 18px}.step-strip{display:flex;gap:12px;align-items:center;margin-bottom:22px;color:var(--muted);font-size:12px}.step-strip span{border-bottom:2px solid var(--line);padding-bottom:12px;flex:1}.step-strip .current{color:var(--green);border-color:var(--green);font-weight:800}.active-visit{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:18px 22px;border-radius:16px;background:#e8efde;margin-bottom:22px}.active-visit strong{display:block}.active-visit small{display:block;color:#526b51;margin-top:4px}.scan-box{border:1px dashed #b0c4b3;background:#f6f8f1;border-radius:18px;padding:26px;text-align:center;margin-top:18px}.scan-box svg{width:46px;height:46px;color:#456b49}.scan-box h3{margin:12px 0 5px}.scan-box p{font-size:13px;color:var(--muted);margin:0 0 20px}.scan-box .action-row{justify-content:center}.search-form{display:flex;gap:8px;margin:0}.search-form input{min-width:0}.search-form button{flex:none}.product-result{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;background:white!important;border:1px solid var(--line);color:var(--ink);text-align:left;margin-top:10px;padding:15px}.product-result:hover{border-color:var(--green);background:#f1f7ed!important}.product-result small{display:block;color:var(--muted);font-weight:400;margin-top:5px}.product-selected{background:#edf3e4;padding:20px;border-radius:15px;margin-bottom:20px}.product-selected strong{font-size:21px;display:block}.product-selected small{color:var(--muted);display:block;margin-top:6px}.entry-form{margin:0;gap:18px}.entry-form .two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.entry-form label{font-size:13px;min-width:0}.entry-form input{min-width:0;font-size:18px;min-height:54px}.entry-form textarea{font:inherit;min-height:100px;resize:vertical;padding:12px;border:1px solid var(--line);border-radius:12px;width:100%}.entry-form button[type=submit]{min-height:54px}.help{color:var(--muted);font-size:12px;margin:0}.inline-error{color:#a8392f;background:#fff0eb;padding:12px;border-radius:10px;font-size:13px}.saved-notice{padding:13px 17px;border-radius:12px;background:#e4f2dc;color:#2d632c;margin-bottom:18px}.saved-notice:empty{display:none}dialog{border:0;border-radius:22px;padding:28px;max-width:560px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 25px 100px #0004}dialog::backdrop{background:#132b26a6;backdrop-filter:blur(4px)}dialog h2{margin:0;font-size:24px;letter-spacing:-.04em}dialog .close{float:right;min-width:44px;padding:8px;background:#eef2ec;color:var(--ink)}dialog video{width:100%;max-height:350px;object-fit:cover;border-radius:14px;background:#132b26;margin-top:18px}dialog input[type=checkbox]{width:auto;min-height:0}.check-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);font-weight:400}.check-row input{flex:none}.check-row span{flex:1}.check-row small{display:block;color:var(--muted)}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#flash{top:20px;z-index:20}.flash{max-width:420px}.login-shell{background:#eff3e9;position:relative}.login-card{border-radius:28px;padding:42px;box-shadow:0 25px 80px #173f3214}.login-card .brand-mark{background:#173f32;color:#d6ed82}.login-card h1{font-size:34px;letter-spacing:-.06em}.login-card button{min-height:52px}.login-card .eyebrow{color:#4e684f}.login-card input{min-height:50px}.login-note{border-top:1px solid var(--line);padding-top:18px;margin-top:25px;color:var(--muted);font-size:12px}.page-actions{display:flex;gap:8px;flex-wrap:wrap}.link-button{background:transparent;color:var(--green);padding:8px 0;min-height:32px;font-size:12px}.link-button:hover{background:transparent;color:var(--green2)}.full{width:100%}.share-url{font-size:13px!important;word-break:break-all}.print-only{display:none}
@media(min-width:1500px){.content{padding-top:35px}.hero{padding:38px}}
@media(max-width:1100px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.workspace{padding:0 22px 30px}.point-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid{gap:10px}.metric{padding:17px}.split{grid-template-columns:minmax(0,1.2fr) minmax(250px,1fr)}.brand div{display:grid}.brand strong{font-size:17px}nav button{font-size:12px}}
@media(max-width:760px){.app-shell{display:block}.workspace{padding:0 16px 95px}aside{position:fixed;top:auto;bottom:0;left:0;right:0;height:auto;z-index:10;padding:7px 8px calc(7px + env(safe-area-inset-bottom));border-top:1px solid #dce5dc;background:#fff}.brand,.account{display:none}nav{display:flex;overflow:auto;gap:2px;justify-content:space-between}nav button{flex:1;flex-direction:column;justify-content:center;gap:4px;min-width:48px;padding:7px 3px;min-height:55px;font-size:10px;color:#64796f;white-space:nowrap}nav button.active{background:#edf3df;color:#284b2c}nav button svg{width:20px;height:20px}nav button[data-view=users],nav button[data-view=catalog],nav button[data-view=locations]{display:none}.workspace>header{height:76px;gap:10px}.workspace header h2{font-size:21px}.status{font-size:10px;padding:7px 9px}.hero{padding:25px;display:block;border-radius:20px}.hero h1{font-size:29px}.hero p{font-size:13px}.hero button{margin-top:22px;width:100%}.metric-grid{grid-template-columns:1fr 1fr;margin:16px 0;gap:10px}.metric strong{font-size:29px;margin:7px 0}.metric span{font-size:10px}.split{grid-template-columns:1fr;gap:16px}.panel{padding:19px}.point-grid{grid-template-columns:1fr}.section-top{align-items:flex-start}.section-top h2{font-size:23px}.section-top p{font-size:13px}.section-top .page-actions{justify-content:flex-end}.active-visit{padding:15px;align-items:flex-start}.active-visit button{font-size:12px}.scan-box{padding:20px}.entry-form .two{gap:10px}.filters label{min-width:130px}.record{gap:10px}.record-meta{font-size:11px}.record-icon{width:35px;height:35px}.step-strip{font-size:11px}.content{padding-top:17px}.login-card{padding:28px}.login-shell{padding:18px}.panel-head{gap:10px}dialog{padding:22px}.account-mobile{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.account-mobile button{font-size:12px}.desktop-table table{min-width:620px}}
@media(max-width:760px){.step-strip{display:none}.product-selected{padding:16px}.product-selected strong{font-size:19px}#expiry-entry .two{grid-template-columns:minmax(65px,.65fr) minmax(0,1.35fr)}.entry-form input{font-size:16px}.entry-form button{scroll-margin-bottom:100px}}
@media(max-width:360px){#expiry-entry .two{grid-template-columns:1fr}}
.product-selected{display:flex;align-items:center;gap:16px}.product-thumb{width:52px;height:52px;border-radius:13px;overflow:hidden;display:grid;place-items:center;background:#eef3e6;color:#456541;flex:none}.product-thumb.large{width:68px;height:68px}.product-thumb img{width:100%;height:100%;object-fit:cover}.product-thumb svg{width:23px;height:23px}.product-copy,.catalog-product-copy{flex:1;min-width:0}.catalog-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.catalog-metric{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:18px;text-align:left;padding:20px;min-height:132px}.catalog-metric:hover{background:#f7faf5}.catalog-metric small,.catalog-metric span{display:block;color:var(--muted);font-weight:500}.catalog-metric strong{display:block;font-size:32px;margin:8px 0}.catalog-metric span{font-size:11px}.catalog-products,.upload,#catalog-rejections,#catalog-conflicts{margin-top:18px;scroll-margin-top:20px}.product-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.catalog-product{display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:16px;padding:14px;min-width:0}.catalog-product-copy strong,.candidate strong{display:block;overflow-wrap:anywhere}.catalog-product-copy small,.candidate small{display:block;color:var(--muted);margin-top:4px}.file-picker{display:flex;align-items:center;gap:12px;border:1px dashed #96b5aa;border-radius:14px;padding:16px;background:#fff;cursor:pointer}.file-picker span{background:var(--green);color:#fff;padding:11px 15px;border-radius:10px;white-space:nowrap}.file-picker input{border:0;padding:0;min-height:auto}.bulk-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f5f8f7;border-radius:12px;padding:12px;margin-bottom:8px}.bulk-bar label{display:flex;grid-template-columns:none;align-items:center;gap:8px}.bulk-bar input,.review-row input{width:20px;min-height:20px;flex:none}.review-list{display:grid}.review-row{display:flex;align-items:flex-start;gap:12px;padding:14px 5px;border-bottom:1px solid var(--line);font-weight:400}.review-row span{min-width:0}.review-row strong,.review-row small{display:block;overflow-wrap:anywhere}.review-row small{color:var(--muted);margin-top:4px}.conflict-list{display:grid;gap:14px}.conflict-card{border:1px solid var(--line);border-radius:16px;padding:16px}.conflict-code{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px}.conflict-code small{color:var(--muted)}.candidate-list{display:grid;gap:8px;margin-bottom:12px}.candidate{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f6f8f6;border-radius:12px;padding:12px}.danger-button{background:#b83e34}.danger-button:hover{background:#922d26}.danger-text{color:#a7372f!important}.photo-preview{width:100%;max-height:330px;object-fit:contain;border-radius:14px;margin:14px 0}.scanner-frame{position:relative}.scanner-frame span{position:absolute;left:10%;right:10%;top:50%;height:2px;background:#d6ed82;box-shadow:0 0 10px #d6ed82}.scanner-frame video{margin-top:14px}.image-picker{margin:18px 0}
@media(max-width:760px){.workspace>header{height:auto;min-height:76px;padding-top:max(10px,env(safe-area-inset-top))}.workspace{padding-bottom:calc(95px + env(safe-area-inset-bottom))}.active-visit{align-items:center}.active-visit>div{min-width:0}.active-visit button{flex:none;max-width:42%}.page-actions{display:grid;grid-template-columns:1fr;width:100%}.page-actions button{width:100%}.filters{display:grid;grid-template-columns:1fr 1fr;align-items:end}.filters label:first-child{grid-column:1/-1}.filters button{width:100%}.catalog-metrics{grid-template-columns:1fr 1fr;gap:9px}.catalog-metric{min-height:105px;padding:15px}.catalog-metric strong{font-size:27px}.product-catalog-grid{grid-template-columns:1fr}.catalog-product{align-items:flex-start;flex-wrap:wrap}.catalog-product-copy{min-width:calc(100% - 85px)}.catalog-product>.action-row{width:100%}.candidate{align-items:flex-start;flex-direction:column}.candidate .action-row{width:100%}.bulk-bar{align-items:flex-start;flex-direction:column}.file-picker{align-items:stretch;flex-direction:column}.file-picker input{width:100%;font-size:13px}.product-selected{align-items:flex-start}.scan-box .action-row{display:grid;grid-template-columns:1fr 1fr;width:100%}.scan-box .action-row>*{width:100%;display:flex;align-items:center;justify-content:center;min-height:48px}.section-top{flex-direction:column}.section-top>button,.section-top>.page-actions{width:100%}.record{align-items:flex-start}.record-meta{max-width:34%}}
@media(max-width:390px){.filters{grid-template-columns:1fr}.filters label:first-child{grid-column:auto}.catalog-metrics{grid-template-columns:1fr 1fr}.entry-form .two{grid-template-columns:1fr}.active-visit{flex-direction:column}.active-visit button{max-width:none;width:100%}.workspace header>div:first-child{min-width:0}.workspace header h2{overflow-wrap:anywhere}.header-actions{gap:5px}.header-actions .status{display:none}.section-top,.section-top>div,.panel-head,.record-main{min-width:0;width:100%}.panel-head{align-items:flex-start}.record{flex-wrap:wrap}.record-meta{margin-left:auto;max-width:45%}.record-actions{width:100%}.login-actions{flex-direction:column;gap:2px;align-items:flex-start}}
.file-picker input{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;opacity:0;pointer-events:none}.file-picker:after{content:'Toque para escolher o arquivo';color:var(--muted);font-size:12px}
dialog.drawer{height:100dvh;max-height:none;width:min(390px,88vw);max-width:none;margin:0 auto 0 0;border-radius:0 22px 22px 0;padding:30px;animation:drawer-in .18s ease-out}dialog.drawer::backdrop{animation:fade-in .18s ease-out}@keyframes drawer-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes fade-in{from{background:#132b2600}to{background:#132b26a6}}.scanner-frame video{object-fit:contain!important}
.content{transition:opacity .12s ease}.content-transition{opacity:.72}.expiry-filter-grid{display:grid;grid-template-columns:minmax(180px,2fr) repeat(4,minmax(130px,1fr)) auto auto}.expiry-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.expiry-group{border:1px solid var(--line);border-radius:16px;padding:15px;min-width:0}.expiry-group-head{display:flex;align-items:center;gap:11px;padding-bottom:11px;border-bottom:1px solid var(--line)}.expiry-group-head strong,.expiry-group-head small,.expiry-date-row strong,.expiry-date-row small{display:block;overflow-wrap:anywhere}.expiry-group-head small,.expiry-date-row small,.map-attribution{color:var(--muted);font-size:11px}.expiry-date-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}.expiry-date-row:last-child{border:0;padding-bottom:0}.visit-pagination{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.map-attribution{font-weight:400}
.duplicate-summary{display:grid;gap:5px;margin:18px 0;padding:14px;border-radius:13px;background:#f3f7f5}.duplicate-summary small{color:var(--muted)}
.withdrawal-outcome{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:9px}.withdrawal-outcome .badge{white-space:normal}.withdrawal-outcome button{min-height:34px;padding:6px 9px;font-size:11px}.visit-filter-grid{display:grid;grid-template-columns:minmax(180px,2fr) repeat(2,minmax(140px,1fr)) auto auto;align-items:end}
.inventory-scan-actions{margin-top:12px}.inventory-baseline{padding:14px;border-radius:12px;background:#edf3e4;color:var(--ink)}
.inventory-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}.inventory-metrics article{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;display:grid;gap:6px}.inventory-metrics small{color:var(--muted)}.inventory-metrics strong{font-size:1.65rem}.inventory-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.inventory-filters .active{background:var(--ink);color:#fff}.inventory-record{align-items:flex-start}.inventory-record>.action-row{justify-content:flex-end}.inventory-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.inventory-summary p{margin:0;padding:14px;background:var(--soft);border-radius:12px}.sync-hint{color:var(--muted);font-size:.9rem;align-self:center}.button-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 15px;border-radius:10px;text-decoration:none;font-weight:750}.button-link:hover{background:#e4ede5;color:var(--green2)}
.inventory-history-list{max-height:55vh;overflow:auto;margin-top:14px}.inventory-not-counted{width:100%;background:#fff!important;color:var(--ink);text-align:left;border-bottom:1px solid var(--line);border-radius:0}
@media(max-width:720px){.inventory-metrics{grid-template-columns:1fr 1fr}.inventory-record{display:grid;grid-template-columns:auto 1fr}.inventory-record>.action-row{grid-column:1/-1;justify-content:stretch}.inventory-record>.action-row button{flex:1}.inventory-summary{grid-template-columns:1fr}.page-actions .button-link{width:100%}}
@media(max-width:900px){.expiry-filter-grid{grid-template-columns:1fr 1fr}.expiry-filter-grid label:first-child{grid-column:1/-1}.expiry-groups{grid-template-columns:1fr}}
@media(max-width:760px){.visit-filter-grid{grid-template-columns:1fr 1fr}.visit-filter-grid label:first-child{grid-column:1/-1}.visit-filter-grid button{width:100%}}
@media(max-width:560px){.visit-filter-grid{grid-template-columns:minmax(0,1fr)}.visit-filter-grid label,.visit-filter-grid label:first-child{grid-column:auto;min-width:0;width:100%}.visit-filter-grid input,.visit-filter-grid select{min-width:0;width:100%}}
@media(max-width:520px){.expiry-filter-grid{grid-template-columns:minmax(0,1fr)!important}.expiry-filter-grid label{grid-column:auto!important;min-width:0!important;width:100%}.expiry-filter-grid button{width:100%}.expiry-date-row{align-items:flex-start}.expiry-date-row .badge{white-space:normal;text-align:right}.visit-pagination{display:grid;grid-template-columns:1fr 1fr}.visit-pagination button:last-child{grid-column:1/-1}}
.header-leading,.header-actions{display:flex;align-items:center;gap:9px}.header-leading{min-width:0}.header-leading>div{min-width:0}.header-icon{position:relative;min-width:44px;width:44px;padding:8px;background:#fff;color:var(--ink);border:1px solid var(--line);font-size:20px}.header-icon:hover{background:#edf3e9}.header-icon .count{position:absolute;right:-5px;top:-7px;display:grid;place-items:center;min-width:20px;height:20px;border-radius:10px;padding:0 5px;background:#b83e34;color:#fff;font-size:10px}.password-field{position:relative;display:block}.password-field input{padding-right:52px}.password-field button{position:absolute;right:4px;top:4px;width:42px;min-height:42px;padding:0;background:transparent;color:var(--green);font-size:18px}.login-actions{display:flex;justify-content:space-between;gap:12px}.options-grid{display:grid;gap:10px;margin-top:22px}.notification-item{display:grid;width:100%;text-align:left;gap:4px;margin-top:9px;background:#edf3e4;color:var(--ink)}.notification-item.read{background:#f5f7f5;color:var(--muted)}.notification-item span,.notification-item small{font-weight:400}.profile-head{display:flex;align-items:center;gap:14px;margin:18px 0}.profile-head small{display:block;color:var(--muted)}.profile-avatar{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;overflow:hidden;background:#dcead3;color:#31583a;font-weight:800;flex:none}.profile-avatar.small{width:44px;height:44px}.profile-avatar img{width:100%;height:100%;object-fit:cover}.record-actions{margin-top:8px}.account-mobile{display:none!important}.visit-record{align-items:flex-start}
.carryover-panel.compact{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px;background:#f0f5e8}.carryover-panel.compact h3{font-size:20px}.review-progress{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);color:var(--muted)}.carryover-review h3{font-size:22px;margin:20px 0 2px}.previous-quantity{display:flex;align-items:center;justify-content:space-between;margin:20px 0;padding:16px;border-radius:13px;background:#edf3e4}.previous-quantity strong{font-size:20px}.review-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.review-actions button:first-child,.review-actions button:last-child{grid-column:1/-1}.quantity-change{display:flex;align-items:center;justify-content:center;gap:18px;margin:20px 0;padding:20px;border-radius:14px;background:#edf3e4;font-size:22px}.review-detail dl{display:grid;gap:0;margin:18px 0}.review-detail dl div{display:flex;justify-content:space-between;gap:18px;padding:11px 0;border-bottom:1px solid var(--line)}.review-detail dt{color:var(--muted)}.review-detail dd{margin:0;text-align:right;font-weight:700}.scanner-frame:after{content:'';position:absolute;top:16%;bottom:10%;left:50%;width:2px;background:#d6ed82aa;box-shadow:0 0 10px #d6ed82}
@media(max-width:560px){.carryover-panel.compact{align-items:stretch;flex-direction:column}.carryover-panel.compact button{width:100%}.review-actions{grid-template-columns:1fr}.review-actions button:first-child,.review-actions button:last-child{grid-column:auto}.review-detail dl div{display:grid;gap:3px}.review-detail dd{text-align:left}}
@page{size:A4 portrait;margin:12mm}@media print{html,body{background:#fff!important}.app-shell,.workspace,.content{display:block!important;width:auto!important;max-width:none!important}.workspace{padding:0!important}.content{padding:0!important}body.printing-expiries #content>*:not(#expiry-print-view){display:none!important}aside,.workspace>header,.hero,.filters,.chips,.page-actions,.pagination,#flash,button{display:none!important}.section-top{display:block!important;margin-bottom:8mm}.section-top h2{font-size:20pt}.section-top p{font-size:10pt}.panel{border:0!important;box-shadow:none!important;padding:0!important}.print-only{display:block}.table-wrap{overflow:visible}table{min-width:0;font-size:9pt}.expiry-groups{display:block!important}.expiry-group{break-inside:avoid;page-break-inside:avoid;margin:0 0 5mm;padding:4mm;border:1px solid #bac8c2}.expiry-date-row{break-inside:avoid}.expiry-group-head strong,.expiry-date-row strong{color:#10231f}.expiry-date-row .badge{border:1px solid #c9d3cf}.panel-head{break-after:avoid}.record,.visit-record{break-inside:avoid}}
.app-splash{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:linear-gradient(145deg,#052d26,#075b4d 58%,#0c7c66);transition:opacity .28s ease,visibility .28s ease}.app-splash.dismissed{opacity:0;visibility:hidden;pointer-events:none}.splash-brand{display:grid;justify-items:center;color:#fff;animation:splash-rise .65s cubic-bezier(.2,.8,.2,1) both}.splash-brand img{width:112px;height:112px;border-radius:27px;box-shadow:0 20px 55px #001f1980;animation:splash-breathe 1.15s ease-in-out both}.splash-brand strong{margin-top:18px;font-size:25px;letter-spacing:.01em}.splash-brand span{margin-top:3px;color:#c5e6dc;font-size:13px}.splash-brand i{display:block;width:118px;height:3px;margin-top:24px;overflow:hidden;border-radius:9px;background:#ffffff2c}.splash-brand i:after{content:'';display:block;width:55%;height:100%;border-radius:inherit;background:#37e4aa;animation:splash-progress 1.15s ease-in-out both}.brand-logo{display:block;width:48px;height:48px;border-radius:14px;object-fit:cover}.brand .brand-logo{width:38px;height:38px;border-radius:11px;flex:none}@keyframes splash-rise{from{opacity:0;transform:translateY(16px) scale(.96)}to{opacity:1;transform:none}}@keyframes splash-breathe{0%{transform:scale(.86);opacity:.35}55%{transform:scale(1.035);opacity:1}100%{transform:scale(1)}}@keyframes splash-progress{from{transform:translateX(-120%)}to{transform:translateX(185%)}}@media(prefers-reduced-motion:reduce){.splash-brand,.splash-brand img,.splash-brand i:after{animation:none}.app-splash{transition:none}}

.inventory-history-record{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center}.inventory-history-actions{flex-wrap:nowrap}.inventory-history-actions button{min-width:92px}.inventory-history-record .record-main strong{word-break:normal;overflow-wrap:normal}.inventory-history-record .record-meta{min-width:128px}
.active-inventory{background:#e2f1e8;border:1px solid #b9d8c8}.inventory-responsible{display:grid;gap:5px;margin:16px 0 18px;padding:13px 15px;border-radius:12px;background:#edf3e4}.inventory-responsible small,.inventory-history-responsible{color:var(--muted)}
.role-hidden{display:none!important}
.visit-schedules{margin-bottom:20px}.schedule-planner{margin:0 0 20px;border:1px solid var(--line);border-radius:16px;background:#fbfcfa;overflow:hidden}.schedule-planner>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;cursor:pointer;list-style:none;font-weight:800}.schedule-planner>summary::-webkit-details-marker{display:none}.schedule-planner>summary span{display:grid;gap:3px}.schedule-planner>summary small{font-weight:500;color:var(--muted)}.schedule-planner>summary:after{content:'+';font-size:24px;line-height:1;color:var(--green)}.schedule-planner[open]>summary:after{content:'−'}.schedule-form{display:grid;gap:14px;padding:0 16px 16px}.schedule-owner{max-width:520px}.schedule-route-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.schedule-route-head h4{margin:0}.schedule-route-head small{color:var(--muted)}.schedule-task-list{display:grid;gap:10px}.schedule-task{display:grid;grid-template-columns:minmax(150px,1.4fr) minmax(145px,1fr) minmax(190px,1.15fr) auto;gap:10px;align-items:end;padding:13px;border:1px solid var(--line);border-radius:13px;background:#fff}.schedule-task:only-child .schedule-remove{display:none}.schedule-task-number{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;color:var(--green);font-weight:800}.schedule-task label{min-width:0}.schedule-task input,.schedule-task select,.schedule-task textarea{display:block;width:100%;max-width:100%;min-width:0}.schedule-task-more{grid-column:1/-1;border-top:1px solid var(--line);padding-top:10px}.schedule-task-more>summary{cursor:pointer;color:var(--green);font-weight:750}.schedule-task-options{display:grid;grid-template-columns:1fr 1fr 2fr;gap:10px;margin-top:10px}.schedule-task textarea{min-height:62px;padding:11px 12px;border:1px solid #cbd9d4;border-radius:10px;resize:vertical;font:inherit}.schedule-remove{width:44px;height:48px;padding:0;border-color:#efd1cc;color:#b23b31;background:#fff}.schedule-add{justify-self:start}.schedule-submit{justify-self:start;min-width:220px}.schedule-list{display:grid;gap:14px}.schedule-day{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}.schedule-day>summary{list-style:none;cursor:pointer}.schedule-day>summary::-webkit-details-marker{display:none}.schedule-day-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,auto) auto;align-items:center;gap:14px;padding:14px 15px;background:#f5f8f4}.schedule-day-title strong,.schedule-day-title small{display:block}.schedule-day-title small{margin-top:3px;color:var(--muted)}.schedule-day-overview{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:13px}.schedule-day-toggle{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;min-width:110px;color:var(--green);font-weight:800;font-size:13px}.schedule-day-toggle:after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px)}.schedule-day .hide-label{display:none}.schedule-day[open] .show-label{display:none}.schedule-day[open] .hide-label{display:inline}.schedule-day[open] .schedule-day-toggle:after{transform:rotate(225deg) translate(-2px,-2px)}.schedule-day-tasks{border-top:1px solid var(--line)}.schedule-address{margin-left:59px;color:#526a62}.schedule-day-count{white-space:nowrap;color:var(--green);font-weight:750}.schedule-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:13px 15px;border-bottom:1px solid var(--line)}.schedule-card:last-child{border-bottom:0}.schedule-card strong,.schedule-card small{display:block}.schedule-card small{margin-top:3px;color:var(--muted)}.schedule-task-time{display:inline-block;min-width:52px;margin-right:7px;color:var(--green)}.schedule-purpose{display:inline-flex;margin-top:6px}.schedule-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.multi-check{position:relative;border:1px solid var(--line);border-radius:10px;background:#fff;min-height:46px;min-width:0}.multi-check summary{cursor:pointer;list-style:none;padding:13px 36px 13px 12px;font-weight:600;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.multi-check summary::-webkit-details-marker{display:none}.multi-check summary:after{content:'⌄';position:absolute;right:13px}.multi-check-list{position:absolute;z-index:8;left:-1px;right:-1px;top:calc(100% + 5px);max-height:260px;overflow:auto;overscroll-behavior:contain;background:#fff;border:1px solid var(--line);border-radius:12px;padding:4px 12px;box-shadow:0 14px 35px #173f3226}.multi-check .check-row{display:flex;grid-template-columns:none;align-items:center;gap:11px;min-width:0;padding:11px 2px;font-size:13px;line-height:1.3}.multi-check .check-row span{min-width:0;overflow-wrap:anywhere}.multi-check input[type=checkbox]{appearance:auto!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;padding:0!important;margin:0!important;border-radius:4px;flex:0 0 20px}.multi-check[open] summary:after{content:'⌃'}
.multi-check-search-wrap{position:sticky;top:0;z-index:2;margin:0 -8px;padding:8px;background:#fff;border-bottom:1px solid var(--line)}.multi-check-search{display:block;width:100%;height:42px!important;min-height:42px!important;padding:8px 10px!important;font-size:16px!important}.multi-check .check-row[hidden]{display:none!important}
@media(max-width:760px){.multi-check-list{position:static;width:100%;max-height:220px;margin:0;border-width:1px 0 0;border-radius:0 0 10px 10px;padding:3px 12px;box-shadow:none}.multi-check[open]{overflow:hidden}.multi-check .check-row{font-size:14px;padding:12px 0}.schedule-form>label,.filters>label{min-width:0;width:100%}}
@media(max-width:620px){.inventory-history{padding:20px}.inventory-history-record{grid-template-columns:minmax(0,1fr);gap:12px;padding:20px 0;align-items:stretch}.inventory-history-record .record-main strong{font-size:16px;line-height:1.25}.inventory-history-record .record-main small{font-size:13px;line-height:1.4}.inventory-history-record .record-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;text-align:left}.inventory-history-record .record-meta strong{margin:0;font-size:13px}.inventory-history-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.inventory-history-actions button{width:100%;min-width:0;min-height:46px;padding:10px 8px;font-size:13px}.inventory-history .panel-head{margin-bottom:4px}}
@media(max-width:620px){.active-inventory{align-items:stretch;flex-direction:column}.active-inventory button{width:100%;max-width:none}}
@media(max-width:760px){.schedule-planner{margin-left:-2px;margin-right:-2px}.schedule-planner>summary{padding:14px}.schedule-form{gap:13px;padding:0 12px 14px}.schedule-route-head{align-items:flex-start;flex-direction:column}.schedule-task{grid-template-columns:minmax(0,1fr);gap:12px;padding:12px}.schedule-task-number,.schedule-task-more{grid-column:auto}.schedule-task-options{grid-template-columns:minmax(0,1fr);gap:12px}.schedule-task input,.schedule-task select{height:50px;min-height:50px}.schedule-remove{width:100%;height:44px}.schedule-add,.schedule-submit{width:100%;min-height:50px}.schedule-day-head{grid-template-columns:minmax(0,1fr);gap:9px;padding:12px}.schedule-day-overview{justify-content:flex-start}.schedule-day-toggle{justify-content:space-between;width:100%;min-height:38px;border-top:1px solid var(--line);padding-top:9px}.schedule-address{margin-left:0;padding-left:59px}.schedule-card{grid-template-columns:minmax(0,1fr);align-items:start;padding:13px 12px}.schedule-actions{width:100%;justify-content:stretch}.schedule-actions .badge{width:100%;justify-content:center}.schedule-actions button{flex:1;min-height:44px}.filters input,.filters select{display:block;width:100%;max-width:100%;min-width:0;height:50px;min-height:50px}.filters>button{min-height:50px}.filters .multi-check{width:100%;max-width:100%;min-width:0}.filters input[type=date],.schedule-form input[type=date],.schedule-form input[type=datetime-local]{-webkit-appearance:none;appearance:none;line-height:1.2;padding:11px 12px}}
@media(max-width:420px){.schedule-form{grid-template-columns:1fr}.schedule-form .wide{grid-column:auto}.schedule-day-head{display:grid}.schedule-day-count{white-space:normal}.schedule-actions{display:grid;grid-template-columns:1fr 1fr}.schedule-actions .badge{grid-column:1/-1}.schedule-actions button:only-of-type{grid-column:1/-1}}
@media(max-width:360px){aside{padding-left:4px;padding-right:4px}nav{overflow:hidden}nav button{min-width:0;padding:6px 1px;font-size:8px;letter-spacing:-.035em}nav button svg{width:18px;height:18px}}
.inventory-product-card{margin:10px 0;padding:16px;border:1px solid var(--line);border-radius:18px;background:#fff}.inventory-product-card .product-thumb{width:86px;height:86px;border-radius:16px}.inventory-product-card .record-main>strong{font-size:17px;line-height:1.25}.inventory-product-card .record-main>small{font-size:13px;line-height:1.45}.inventory-product-card>.action-row{flex-wrap:wrap}.inventory-product-card>.action-row button{min-height:44px}.inventory-product-copy{flex:1;min-width:0}.inventory-product-copy strong{overflow-wrap:anywhere}.inventory-product-photo{width:104px!important;height:104px!important;border-radius:18px!important}.inventory-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.inventory-quick-actions:has(button:only-child){grid-template-columns:1fr}.inventory-quick-actions button{width:100%;min-height:48px}.inventory-scan-fab{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:9;display:flex;align-items:center;justify-content:center;gap:9px;min-width:142px;min-height:58px;padding:14px 20px;border-radius:29px;box-shadow:0 12px 30px #063b3066}.inventory-scan-fab svg{width:26px;height:26px;flex:none}.inventory-scan-fab span{font-size:14px}.inventory-not-counted{min-height:72px}.inventory-not-counted .product-thumb{width:62px;height:62px}
.collected-search{display:flex;gap:8px;margin:14px 0}.collected-search input{min-width:0}.collected-search button{flex:none;min-width:86px}
.inventory-page-actions{align-items:center;flex-wrap:nowrap}.inventory-more{position:relative}.inventory-more summary{display:grid;place-items:center;list-style:none;cursor:pointer;width:46px;height:46px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font-weight:900;letter-spacing:2px}.inventory-more summary::-webkit-details-marker{display:none}.inventory-more>div{position:absolute;right:0;top:calc(100% + 7px);z-index:12;display:grid;gap:7px;width:190px;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 14px 34px #173f3226}.inventory-card-body{display:flex;align-items:flex-start;gap:16px;width:100%}.inventory-card-body .record-main{order:1}.inventory-card-body>.product-thumb{order:2;width:132px;height:132px;border-radius:16px}.inventory-current{display:flex;align-items:baseline;gap:8px;margin:14px 0 8px}.inventory-current b{font-size:38px;line-height:1;font-weight:700;letter-spacing:-.05em}.inventory-current span{color:var(--muted);font-size:14px}.inventory-card-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.inventory-card-actions{display:flex;align-items:center;gap:10px;width:100%;margin-top:12px}.inventory-card-actions button{min-height:48px}.inventory-card-actions .secondary{min-width:100px}.inventory-card-actions .link-button{margin-left:auto}.inventory-product-card{display:block!important}.inventory-record[hidden]{display:none!important}
@media(max-width:760px){.inventory-scan-fab{right:16px;bottom:calc(78px + env(safe-area-inset-bottom));z-index:11;min-width:58px;width:58px;height:58px;padding:0;border-radius:50%}.inventory-scan-fab span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.inventory-product-card{grid-template-columns:88px minmax(0,1fr);gap:12px;padding:14px}.inventory-product-card .product-thumb{width:88px;height:88px}.inventory-product-card>.action-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.inventory-product-card>.action-row button{width:100%;min-width:0;padding:10px 5px;font-size:12px}.inventory-product-photo{width:96px!important;height:96px!important}.inventory-scan-actions{display:none}.inventory-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;overflow:visible}.inventory-filters button{min-width:0;padding:9px 6px;font-size:11px}.inventory-not-counted{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center}.inventory-not-counted[hidden]{display:none}}
@media(max-width:760px){.section-top:has(.inventory-page-actions){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin-bottom:12px}.section-top:has(.inventory-page-actions)>div:first-child{min-width:0}.section-top:has(.inventory-page-actions) h2{font-size:21px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.section-top:has(.inventory-page-actions) p{display:none}.inventory-page-actions{display:flex!important;width:auto!important}.inventory-page-actions>#inventory-finish{width:auto!important;min-width:100px}.inventory-more>div button{width:100%}.inventory-metrics{display:none}.split>.panel:first-child{padding:0;border:0;background:transparent;box-shadow:none}.split>.panel:first-child .panel-head{display:none}.split>.panel:last-child{padding:0;border:0;background:transparent;box-shadow:none}.split>.panel:last-child>.panel-head{display:none}.search-form{margin:2px 0 8px}.search-form input{min-height:52px;border-radius:26px;padding-left:18px;background:#fff}.search-form button{min-width:84px;border-radius:26px}.collected-search{margin:4px 0 10px}.collected-search button{display:none}.collected-search input{min-height:46px;border-radius:23px;padding-left:17px;background:#fff}.inventory-filters{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0 0 10px;border-bottom:1px solid var(--line)}.inventory-filters button{display:none;border:0;border-radius:0;background:transparent;color:var(--green);min-height:48px;font-size:14px}.inventory-filters button[data-inventory-filter=COUNTED],.inventory-filters button[data-inventory-filter=NOT_COUNTED]{display:block}.inventory-filters button.active{background:transparent;color:var(--green);border-bottom:3px solid var(--green)}.inventory-product-card{margin:10px 0;padding:16px;border-radius:17px;box-shadow:0 2px 8px #173f3210}.inventory-card-body{gap:12px}.inventory-card-body>.product-thumb{width:128px!important;height:128px!important;border-radius:14px;align-self:center}.inventory-card-body .record-main>strong{font-size:17px;line-height:1.25}.inventory-current b{font-size:40px}.inventory-card-actions{display:grid;grid-template-columns:1fr 1fr auto;gap:9px}.inventory-card-actions button{width:100%;min-width:0}.inventory-card-actions .link-button{margin:0;padding:8px;font-size:11px}.inventory-not-counted{margin:9px 0;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff!important}.inventory-not-counted .product-thumb{width:76px;height:76px}}
@media(max-width:420px){.inventory-product-card{grid-template-columns:78px minmax(0,1fr)}.inventory-product-card .product-thumb{width:78px;height:78px}.inventory-product-card .record-main>strong{font-size:16px}.inventory-product-card>.action-row{grid-template-columns:1fr 1fr}.inventory-product-card>.action-row button:last-child{grid-column:1/-1}.inventory-product-photo{width:88px!important;height:88px!important}.product-selected{gap:12px}.inventory-quick-actions{grid-template-columns:1fr}.inventory-filters{grid-template-columns:1fr 1fr}.inventory-metrics article{padding:13px}.inventory-metrics strong{font-size:1.4rem}}
@media(max-width:420px){.collected-search{display:grid;grid-template-columns:minmax(0,1fr) auto}.collected-search input{width:100%}.collected-search button{min-width:74px;padding-left:10px;padding-right:10px}}
@media(max-width:380px){.inventory-card-body>.product-thumb{width:112px!important;height:112px!important}.inventory-current b{font-size:36px}.inventory-card-actions{grid-template-columns:1fr 1fr}.inventory-card-actions .link-button{grid-column:1/-1;min-height:34px}.inventory-page-actions>#inventory-finish{min-width:88px;padding-left:12px;padding-right:12px}}
.inventory-card-body{gap:20px}.inventory-pending-label{font-size:34px;line-height:1.1;font-weight:700;color:#9b6814;margin:15px 0 10px}.inventory-card-actions.pending-actions{display:grid;grid-template-columns:1fr}.inventory-card-actions.pending-actions button{width:100%}.inventory-not-counted[hidden]{display:none!important}
@media(max-width:760px){.inventory-card-body{gap:18px}.inventory-not-counted{display:block!important;margin:10px 0;padding:16px;border:1px solid var(--line);border-radius:17px;background:#fff!important;box-shadow:0 2px 8px #173f3210}.inventory-not-counted[hidden]{display:none!important}.inventory-not-counted .product-thumb{width:128px!important;height:128px!important}.inventory-not-counted .inventory-card-actions{grid-template-columns:1fr}}
@media(max-width:380px){.inventory-not-counted .product-thumb{width:112px!important;height:112px!important}.inventory-pending-label{font-size:29px}}
.conference-scan-fab{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:9;display:flex;align-items:center;justify-content:center;gap:9px;min-width:142px;min-height:58px;padding:14px 20px;border-radius:29px;box-shadow:0 12px 30px #063b3066}.conference-scan-fab svg{width:26px;height:26px}.conference-collected-panel .collected-product{margin:10px 0;padding:16px;border:1px solid var(--line);border-radius:18px;background:#fff}.conference-collected-panel .collected-product>.product-thumb{width:96px;height:96px}.conference-collected-panel .collected-product .record-main>strong{font-size:17px;line-height:1.25}.conference-collected-panel .collected-product .record-main>small{font-size:13px;line-height:1.45}.conference-collected-panel .record-actions button{min-height:42px}
@media(max-width:760px){.conference-scan-fab{right:16px;bottom:calc(78px + env(safe-area-inset-bottom));z-index:11;min-width:58px;width:58px;height:58px;padding:0;border-radius:50%}.conference-scan-fab span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.conference-workspace>.conference-entry-panel,.conference-workspace>.conference-collected-panel{padding:0;border:0;background:transparent;box-shadow:none}.conference-entry-panel>.panel-head{display:none}.conference-entry-panel .scan-box{border:0;background:transparent;padding:0;margin:10px 0;text-align:left}.conference-entry-panel .scan-box>svg,.conference-entry-panel .scan-box>h3,.conference-entry-panel .scan-box>p,.conference-entry-panel .scan-box #camera-open{display:none}.conference-entry-panel .scan-box .action-row{display:block}.conference-entry-panel .scan-box .image-picker{margin:0;width:100%;min-height:46px;align-items:center;text-align:center;border-style:solid;background:#fff}.conference-entry-panel .scan-box .image-picker span{width:100%;background:transparent;color:var(--green);padding:6px}.conference-collected-panel .panel-head{margin-top:5px}.conference-collected-panel .collected-search button{display:none}.conference-collected-panel .collected-search input{min-height:46px;border-radius:23px;padding-left:17px;background:#fff}.conference-collected-panel .collected-product{display:grid;grid-template-columns:minmax(0,1fr) 128px;align-items:start;gap:14px;padding:16px;border-radius:17px;box-shadow:0 2px 8px #173f3210}.conference-collected-panel .collected-product>.product-thumb{grid-column:2;grid-row:1/3;width:128px;height:128px;border-radius:14px}.conference-collected-panel .collected-product>.record-main{grid-column:1;grid-row:1;min-width:0}.conference-collected-panel .collected-product>.record-meta{grid-column:1;grid-row:2;text-align:left;max-width:none}.conference-collected-panel .collected-product>.record-meta strong{font-size:15px}.conference-collected-panel .record-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.conference-collected-panel .record-actions button{width:100%;min-height:46px;margin:0}.conference-collected-panel .collected-product .record-main>strong{font-size:17px}.conference-collected-panel .collected-product .record-main>small{margin-top:7px}.conference-collected-panel .empty{padding:28px 10px}}
@media(max-width:380px){.conference-collected-panel .collected-product{grid-template-columns:minmax(0,1fr) 112px;gap:12px}.conference-collected-panel .collected-product>.product-thumb{width:112px;height:112px}}
@media(max-width:760px){.conference-entry-panel .product-selected{gap:16px;padding:17px}.conference-entry-panel .product-selected>.product-thumb{width:104px;height:104px;border-radius:16px}.conference-entry-panel .product-selected strong{font-size:20px;line-height:1.25}.conference-entry-panel .product-selected small{font-size:13px;line-height:1.35}.conference-entry-panel .entry-form button{min-height:50px}}
.scanner-frame{overflow:hidden;border-radius:16px;background:#07130f}.scanner-frame video{display:block;width:100%;min-height:260px;max-height:62dvh;margin-top:0;object-fit:contain!important}.scanner-frame span{left:7%;right:7%}
.scanner-frame{width:min(100%,360px);aspect-ratio:1;margin:14px auto 0;border-radius:22px}.scanner-frame video{width:100%;height:100%;min-height:0;max-height:none;object-fit:cover!important}.scanner-frame span{left:9%;right:9%}.scanner-frame:after{top:9%;bottom:9%}
@media(max-width:760px){.scanner-frame{width:min(78vw,330px);max-height:42dvh}.scanner-frame video{min-height:0!important}}
.offline-banner{display:flex;align-items:center;gap:12px;margin-bottom:14px;padding:12px 15px;border:1px solid #e5bd65;border-radius:13px;background:#fff5d9;color:#694600}.offline-banner strong{white-space:nowrap}.offline-banner span{font-size:13px;line-height:1.4}@media(max-width:620px){.offline-banner{align-items:flex-start;flex-direction:column;gap:3px}}
.permission-hidden{display:none!important}.team-create-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.team-create-form label{display:grid;gap:7px;font-weight:700}.team-create-form>button{align-self:end;min-height:50px}.password-control{position:relative;display:block}.password-control input{width:100%;padding-right:52px}.password-toggle{position:absolute;right:5px;top:5px;width:42px;height:calc(100% - 10px);min-height:38px;padding:0;border:0;border-radius:9px;background:transparent;color:var(--green)}.password-toggle svg{width:22px;height:22px}.password-toggle.visible{background:#eaf4ee}.team-list{display:grid;gap:12px}.team-member{display:grid;grid-template-columns:minmax(250px,1.35fr) minmax(260px,1fr) auto;align-items:center;gap:18px;padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff}.team-member-main{display:flex;align-items:center;gap:12px;min-width:0}.team-member-main>div{min-width:0}.team-member-main strong,.team-member-main small{display:block;overflow-wrap:anywhere}.team-member-main small{margin-top:3px;color:var(--muted)}.team-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.team-member-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}.team-member-meta div{min-width:0}.team-member-meta dt{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.team-member-meta dd{margin:4px 0 0;font-weight:700;overflow-wrap:anywhere}.team-member-actions{display:grid;gap:7px;min-width:190px}.team-member-actions button{width:100%}.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;padding:12px;border:1px solid var(--line);border-radius:13px}.permission-grid legend{padding:0 6px;font-weight:800}.permission-option{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:9px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fafcf9}.permission-option input{appearance:auto!important;width:20px!important;height:20px!important;min-width:20px;padding:0!important;margin:2px 0 0}.permission-option strong,.permission-option small{display:block}.permission-option small{margin-top:2px;color:var(--muted);font-weight:400}.user-editor #user-permissions{display:grid;gap:5px}
@media(max-width:860px){.team-member{grid-template-columns:minmax(0,1fr)}.team-member-actions{grid-template-columns:1fr 1fr;min-width:0}.team-member-actions .user-delete{grid-column:1/-1}.team-create-form{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.team-panel{padding:18px 14px}.team-create-form{grid-template-columns:1fr}.team-member{gap:14px;padding:15px}.team-member-meta{padding-top:12px;border-top:1px solid var(--line)}.team-member-actions{grid-template-columns:1fr}.team-member-actions .user-delete{grid-column:auto}.permission-grid{grid-template-columns:1fr;padding:9px}.dialog .user-editor{gap:13px}}
.expiry-group-head .expiry-location{display:inline-flex!important;margin-top:5px;padding:4px 8px;border-radius:7px;background:#edf4ef;color:#315c4e!important;font-size:12px!important;font-weight:800;line-height:1.2;letter-spacing:.02em;text-transform:uppercase}
.overview-expiry-meta{display:flex!important;align-items:center;flex-wrap:wrap;gap:4px 6px}.overview-expiry-meta .meta-separator{color:var(--muted)}.overview-expiry-meta .batch-location{display:inline-flex;padding:4px 8px;border-radius:7px;background:#edf4ef;color:#315c4e;font-size:12px;font-weight:800;line-height:1.2;letter-spacing:.02em;text-transform:uppercase}.overview-expiry-meta .batch-quantity{flex-basis:100%}
.inventory-movement{border:1px solid var(--line);border-radius:13px;background:#f8faf7}.inventory-movement summary{cursor:pointer;padding:13px;font-weight:800;color:var(--green)}.movement-fields{display:grid;gap:13px;padding:0 13px 13px}.inventory-movement-note{margin-top:6px!important;padding:6px 8px;border-radius:8px;background:#fff3d9;color:#7d5309!important;font-weight:700}
.movement-balance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.movement-balance span{display:grid;gap:2px;padding:9px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--muted);font-size:11px}.movement-balance strong{color:var(--ink);font-size:18px}.movement-balance span:last-child{border-color:#9bc9ba;background:#eaf5f0}.inventory-stock-flow{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px!important}.inventory-stock-flow span{padding:4px 7px;border-radius:7px;background:#edf4ef;color:#315c4e;font-size:11px;font-weight:750}@media(max-width:420px){.movement-balance{grid-template-columns:1fr}.movement-balance span{grid-template-columns:1fr auto;align-items:center}}
.finish-action{position:relative;overflow:hidden;background:var(--green)!important;color:#fff!important;border:1px solid var(--green)!important;box-shadow:0 5px 14px #0c7c6628;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.finish-action:not(:disabled):active{transform:scale(.97);box-shadow:0 2px 7px #0c7c6630}.finish-action:disabled:not(.is-loading){background:#a5aeab!important;border-color:#a5aeab!important;color:#fff!important;box-shadow:none}.is-loading{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;opacity:1!important;cursor:wait!important}.is-loading:after{content:"";width:16px;height:16px;border:2px solid #ffffff66;border-top-color:#fff;border-radius:50%;animation:finish-spin .7s linear infinite}@keyframes finish-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.finish-action{transition:none}.is-loading:after{animation-duration:1.4s}}
button,a,[role=button],summary{touch-action:manipulation}.dashboard-refresh-note{display:flex;align-items:center;gap:10px;margin-bottom:14px;padding:12px 14px;border:1px solid #e4c06e;border-radius:13px;background:#fff7df;color:#684707}.dashboard-refresh-note span{flex:1;font-size:13px}.dashboard-refresh-note button{flex:none;min-height:38px;padding:8px 12px}@media(max-width:620px){.dashboard-refresh-note{align-items:stretch;flex-direction:column}.dashboard-refresh-note button{width:100%}}.pwa-control{display:none!important}.standalone .pwa-control{display:grid!important;place-items:center;font-size:27px;line-height:1}.inventory-pending-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;padding:12px 14px;border:1px solid #e3b65a;border-radius:13px;background:#fff7df;color:#6d4908}.inventory-pending-actions[hidden],#inventory-pending-empty[hidden]{display:none!important}.inventory-pending-actions button{flex:none}.inventory-finish-review{margin:8px 0 16px}.inventory-finish-review .inventory-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px}.inventory-finish-review .inventory-summary p{display:grid;gap:3px;margin:0;padding:14px;border:1px solid var(--line);border-radius:13px;background:#f8faf7}.inventory-finish-review .inventory-summary strong{font-size:24px;color:var(--green)}.inventory-finish-actions{margin-top:14px}.movement-balance strong{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.movement-balance strong b{font:inherit}.movement-balance strong small{display:inline-flex;padding:3px 6px;border-radius:6px;background:#edf4ef;color:#315c4e;font-size:10px;line-height:1.2}.movement-balance span:nth-child(2){border-color:#d7c28c;background:#fffaf0}@media(max-width:520px){.inventory-finish-review .inventory-summary{grid-template-columns:1fr 1fr}.inventory-finish-actions{display:grid;grid-template-columns:1fr 1fr}.inventory-pending-actions{align-items:stretch;flex-direction:column}.inventory-pending-actions button{width:100%}}
/* ValidaCheck 2026 visual system */
:root{--ink:#10251f;--ink-strong:#071b16;--muted:#71817b;--wash:#f7f7f1;--paper:#fffefb;--green:#087a50;--green2:#045d3e;--jade:#1aa36d;--lime:#d9f86f;--nav:#073b2c;--line:#e7ebe5;--soft:#f0f5ee;--red:#c83f36;--amber:#bd7410;--shadow:0 14px 38px rgba(23,54,43,.075);--shadow-soft:0 5px 18px rgba(23,54,43,.055)}
html{background:var(--wash);scroll-behavior:smooth}body{background:radial-gradient(circle at 78% -10%,#dff2df 0,transparent 28rem),var(--wash);color:var(--ink);font-family:Inter,"SF Pro Display","SF Pro Text",ui-sans-serif,system-ui,-apple-system,sans-serif;letter-spacing:-.018em}
button,input,select,textarea{font-family:inherit}button{border-radius:999px;transition:transform .18s cubic-bezier(.2,.8,.2,1),box-shadow .18s ease,background .18s ease,color .18s ease}button:not(:disabled):active{transform:scale(.975)}input,select,textarea{border-color:var(--line);border-radius:16px;background:#fffefc;box-shadow:inset 0 0 0 1px transparent;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}input:focus,select:focus,textarea:focus{outline:0;border-color:#70b89c;box-shadow:0 0 0 4px #1aa36d1a;background:#fff}
.workspace{max-width:1480px;padding:0 38px 48px}.workspace>header{height:88px;border:0}.workspace header h2{font-size:26px;font-weight:780;letter-spacing:-.055em}.workspace header .eyebrow{color:#44806a;font-size:9px;letter-spacing:.2em}.header-icon{border:0;border-radius:15px;background:#fff;color:var(--ink);box-shadow:var(--shadow-soft)}.header-icon:hover{background:#f3f8f3}.status{border:0;background:#edf7ef;color:#196143;box-shadow:inset 0 0 0 1px #dcecdf;font-size:11px}.status.offline{background:#fff4db;color:#855507;box-shadow:inset 0 0 0 1px #f1dfb1}.content{padding-top:10px}.content.page-enter{animation:page-enter .32s cubic-bezier(.22,.78,.25,1) both}@keyframes page-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.hero{min-height:220px;border-radius:30px;padding:34px 38px;background-color:#073b2c;background-image:radial-gradient(circle at 86% 12%,#2b6f57 0,transparent 24rem),linear-gradient(135deg,#0b4836,#073b2c 68%);box-shadow:0 22px 54px #073b2c25}.hero:before{content:"";position:absolute;inset:auto -3rem -7rem auto;width:21rem;height:21rem;border-radius:50%;background:radial-gradient(circle,#3a8b6852,transparent 68%)}.hero:after{width:420px;height:420px;right:-150px;top:-285px;border-color:#ffffff17}.hero .eyebrow{color:#d9f86f;font-size:11px;letter-spacing:.18em}.hero h1{max-width:650px;font-size:clamp(34px,4.6vw,58px);font-weight:760;line-height:.98;letter-spacing:-.075em}.hero p{color:#d9e7df;font-size:15px;line-height:1.55}.hero button{position:relative;z-index:1;border:0;background:var(--lime);color:#123326;padding:15px 22px;box-shadow:0 12px 28px #061f1740}.hero button:hover{background:#e7fb9a}
.metric-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:18px 0}.metric{min-height:138px;border:0;border-radius:20px;padding:18px;background:linear-gradient(155deg,#fff,#fbfcf8);box-shadow:var(--shadow-soft);overflow:hidden}.metric:before{content:"";display:block;width:28px;height:4px;margin-bottom:18px;border-radius:99px;background:#9bcbb5}.metric.danger:before{background:#e5736b}.metric.warn:before{background:#e3a442}.metric:hover{background:#fff!important;box-shadow:var(--shadow);transform:translateY(-2px)}.metric small{font-size:12px}.metric strong{font-size:33px;font-weight:760;margin:7px 0;letter-spacing:-.065em}.metric span{font-size:11px}
.panel,.card{border:0;background:rgba(255,254,251,.96);border-radius:24px;box-shadow:var(--shadow-soft)}.panel{padding:24px}.panel+.panel{margin-top:16px}.panel-head{margin-bottom:12px}.panel-head h3,.section-top h2{font-weight:760;letter-spacing:-.05em}.panel-head h3{font-size:21px}.subheading{font-size:13px;line-height:1.5}.secondary,.ghost{border:1px solid #cfe0d7;background:#fff;color:#126344}.secondary:hover,.ghost:hover{border-color:#a8cdbb;background:#f2f8f3;color:#07583c}
.record{gap:14px;padding:15px 0}.record-icon,.product-thumb{border-radius:16px;background:#eff6e8;color:#2a6548}.record-main strong{font-weight:720;letter-spacing:-.025em}.record-main small{line-height:1.45}.record-meta strong{font-weight:720}.badge{padding:6px 10px;border:0;font-size:10px;letter-spacing:-.01em}.badge.red{background:#ffe4e0;color:#a72f28}.badge.amber{background:#fff0d5;color:#925707}.badge.gray{background:#edf2ef;color:#53655e}
.section-top{margin-bottom:18px}.section-top h2{font-size:31px}.section-top p{font-size:14px}.point-grid{gap:12px}.point{border:0;border-radius:24px;padding:21px;background:#fff;box-shadow:var(--shadow-soft)}.point h3{font-size:20px;font-weight:760}.point footer{padding-top:4px;border-top:1px solid var(--line)}.filters{padding:12px;border-radius:22px;background:#fff;box-shadow:var(--shadow-soft)}.filters label{font-size:11px;color:#5d7069}.chips{flex-wrap:nowrap;overflow-x:auto;padding:2px 1px 7px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{flex:none;min-height:36px;border:0;border-radius:999px;background:#edf1ed;color:#5c6b66}.chip:hover,.chip.active{background:#0a563e;color:#fff}
.search-form input,.collected-search input{border:0;box-shadow:var(--shadow-soft)}.search-form button{box-shadow:0 8px 20px #087a5029}.active-visit{border:0;border-radius:20px;background:linear-gradient(120deg,#edf6e6,#e3f3e8);box-shadow:var(--shadow-soft)}.expiry-group{border:0;border-radius:20px;background:#fff;box-shadow:var(--shadow-soft)}.expiry-group-head{border-color:#edf0ec}.expiry-group-head .expiry-location,.overview-expiry-meta .batch-location{border-radius:999px;background:#eaf5ed;color:#256349!important;text-transform:none;letter-spacing:0}.expiry-date-row{border-color:#edf0ec}
.inventory-product-card,.conference-collected-panel .collected-product{border:0!important;background:#fff!important;box-shadow:var(--shadow-soft)!important}.inventory-stock-flow span{border-radius:999px;background:#eef5ef}.inventory-movement{border:0;background:#f3f6f2}.movement-balance span{border:0;border-radius:14px;background:#fff}.movement-balance span:last-child{background:#e8f6ef}.inventory-filters .active{background:#0a563e}.inventory-scan-fab,.conference-scan-fab{background:#086d4a;box-shadow:0 16px 36px #064e374d}.inventory-scan-fab:hover,.conference-scan-fab:hover{background:#064f39}.schedule-planner,.schedule-day{border:0;border-radius:22px;background:#fff;box-shadow:var(--shadow-soft)}.schedule-planner>summary,.schedule-day-head{background:#fff}.schedule-task{border:0;border-radius:18px;background:#f6f8f4}.schedule-card{border-color:#edf0ec}.schedule-time strong{color:#087a50}
dialog{border-radius:28px;background:#fffefb;box-shadow:0 30px 100px #071b1645}dialog::backdrop{background:#071b168a;backdrop-filter:blur(8px)}dialog .close{border:0;border-radius:50%;background:#eef3ef}.flash{border-radius:16px;background:#073b2c;box-shadow:0 16px 46px #071b1640}.offline-banner{border:0;border-radius:16px;background:#fff4da;color:#76500d;box-shadow:var(--shadow-soft)}.team-member{border:0;border-radius:20px;box-shadow:var(--shadow-soft)}.profile-avatar{background:linear-gradient(145deg,#dcefd8,#cae9d7);color:#255c40}.permission-option{border:0;border-radius:14px;background:#f3f6f2}.login-shell{background:radial-gradient(circle at 76% 12%,#d8efdf,transparent 36%),#f7f7f1}.login-card{border:0;border-radius:32px;box-shadow:0 30px 90px #123e2e1a}.login-card h1{font-size:40px;line-height:1.02;font-weight:780}.login-card button[type=submit]{border-radius:16px;background:#087a50}
#more-nav{display:none}.more-menu button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;padding:12px 16px;border-radius:16px}.more-menu button span{font-size:18px}
@media(max-width:1200px){.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){body{background:linear-gradient(180deg,#faf9f3,#f6f6ef);overflow-x:hidden}.app-shell{display:block}.workspace{padding:0 16px calc(104px + env(safe-area-inset-bottom));max-width:none;overflow-x:clip}.content{padding-top:4px}.workspace>header{position:relative;z-index:8;min-height:76px;padding:calc(9px + env(safe-area-inset-top)) 0 7px;background:linear-gradient(180deg,#faf9f3 78%,#faf9f300);border:0}.workspace header h2{font-size:22px}.header-leading{gap:8px}.header-leading #options-menu{display:inline-flex}.header-icon{width:42px;min-width:42px;height:42px}.header-actions{gap:6px}.header-actions .status{display:inline-flex!important;max-width:106px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}aside{left:14px;right:14px;bottom:calc(10px + env(safe-area-inset-bottom));height:68px;padding:6px;overflow:visible;border:0;border-radius:24px;background:rgba(255,255,252,.96);box-shadow:0 18px 50px #123e2e26;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}aside nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;overflow:visible;width:100%}aside nav button{display:none;min-width:0;min-height:56px;padding:6px 2px;border-radius:18px;color:#73817c;font-size:9px;font-weight:680}aside nav button svg{width:20px;height:20px}aside nav button[data-view=overview],aside nav button[data-view=inventory],aside nav button[data-view=expiries],aside nav button[data-view=visits]{display:flex}aside nav #more-nav{display:none!important}aside nav button.active{background:#e8f5dd;color:#176041;box-shadow:none}.hero{min-height:0;padding:25px 22px;border-radius:25px}.hero h1{font-size:34px;line-height:1}.hero p{font-size:13px}.hero button{width:auto;min-width:190px;margin-top:20px;border-radius:999px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}.metric{min-height:116px;padding:15px;border-radius:18px}.metric:before{margin-bottom:9px}.metric strong{font-size:28px}.panel{padding:18px;border-radius:20px}.panel-head h3{font-size:20px}.section-top{gap:12px}.section-top h2{font-size:27px}.section-top .page-actions{display:flex;flex-wrap:wrap}.section-top .page-actions>*{flex:1 1 130px}.record{padding:14px 0}.record-icon{width:38px;height:38px}.record-meta{max-width:38%}.record-meta .badge{white-space:normal}.point{border-radius:22px}.filters{padding:10px;border-radius:20px}.expiry-group{border-radius:20px}.expiry-groups{gap:10px}.inventory-product-card,.conference-collected-panel .collected-product{border-radius:22px!important}.inventory-card-body>.product-thumb,.conference-collected-panel .collected-product>.product-thumb{border-radius:18px!important}.inventory-scan-fab,.conference-scan-fab{bottom:calc(92px + env(safe-area-inset-bottom))}dialog:not(.drawer){margin:auto 10px 10px;width:calc(100% - 20px);max-width:none;border-radius:28px 28px 22px 22px;padding:24px;animation:sheet-in .28s cubic-bezier(.22,.78,.25,1)}dialog.drawer{width:min(360px,92vw);border-radius:0 28px 28px 0;background:#fffefb}.offline-banner{padding:10px 13px}.offline-banner span{font-size:12px}#flash{top:calc(76px + env(safe-area-inset-top));left:16px;right:16px}.flash{max-width:none}}
@media(max-width:760px){.metric-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 18px)/4);gap:6px;overflow-x:auto;padding:2px 1px 10px;scroll-snap-type:x proximity;scrollbar-width:none}.metric-grid::-webkit-scrollbar{display:none}.metric{scroll-snap-align:start;min-width:0;min-height:126px;padding:13px 10px}.metric:before{width:22px;height:3px}.metric small{font-size:10px;line-height:1.25}.metric strong{font-size:27px}.metric span{font-size:9px;line-height:1.2}}
@media(max-width:760px){body[data-view=overview] .workspace{padding-top:0}body[data-view=overview] .workspace>header{margin:0 -16px;padding-left:16px;padding-right:16px;background:#073b2c;color:#fff}body[data-view=overview] .workspace>header h2{color:#fff}body[data-view=overview] .workspace>header .eyebrow{color:#cfea72}body[data-view=overview] .workspace>header .header-icon{background:#ffffff17;color:#fff;box-shadow:inset 0 0 0 1px #ffffff1f}body[data-view=overview] .workspace>header .status{background:#ffffff14;color:#eaf7ef;box-shadow:inset 0 0 0 1px #ffffff24}body[data-view=overview] .content{margin:0 -16px}body[data-view=overview] .content>.hero{margin:0;border-radius:0 0 30px 30px;padding:13px 28px 25px;background-image:radial-gradient(circle at 88% 0,#2b6f57 0,transparent 22rem),linear-gradient(145deg,#073b2c,#0a4b37)}body[data-view=overview] .hero h1{font-size:36px}body[data-view=overview] .content>.metric-grid,body[data-view=overview] .content>.panel,body[data-view=overview] .content>.active-visit,body[data-view=overview] .content>.dashboard-refresh-note,body[data-view=overview] .content>.offline-banner{margin-left:16px;margin-right:16px}}
@media(max-width:390px){.workspace{padding-inline:12px}.hero{padding:24px 20px}.hero h1{font-size:34px}.workspace header h2{font-size:21px}.header-actions .status{max-width:82px}.metric-grid{grid-auto-columns:calc((100% - 15px)/3.55);gap:5px}.metric{min-height:122px;padding:12px 9px}.metric strong{font-size:26px}.panel{padding:17px}.inventory-card-body>.product-thumb,.conference-collected-panel .collected-product>.product-thumb{width:108px!important;height:108px!important}}
.menu-drawer{width:min(430px,94vw)!important;padding:34px 26px 28px!important;background:#fffefa!important}.menu-drawer>h2{margin:10px 0 2px;font-size:38px;letter-spacing:-.06em}.menu-drawer>.close{top:28px;right:24px;width:50px;height:50px;border:1px solid #d9e1dc;background:#f5f7f3;font-size:25px}.menu-intro{max-width:310px;margin:8px 0 24px;color:#718079;font-size:15px;line-height:1.5}.menu-profile{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;padding:16px;border:1px solid #dce4df;border-radius:22px;background:#fff;color:var(--ink);text-align:left;box-shadow:var(--shadow-soft)}.menu-avatar{display:grid;place-items:center;width:64px;height:64px;overflow:hidden;border-radius:50%;background:linear-gradient(145deg,#0b563f,#073b2c);color:#fff;font-size:23px;font-weight:800}.menu-avatar img{width:100%;height:100%;object-fit:cover}.menu-profile-copy{display:grid;gap:2px;min-width:0}.menu-profile-copy>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px}.menu-profile-copy>small{color:var(--muted)}.menu-sync{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;margin-top:6px;padding:5px 9px;border-radius:999px;background:#eaf7e7;color:#276044;font-size:10px;white-space:nowrap}.menu-sync i{width:7px;height:7px;border-radius:50%;background:#2fbd58}.menu-profile-link{padding-left:12px;border-left:1px solid #e3e8e4;color:#086744;font-size:12px;font-weight:800;white-space:nowrap}.menu-section{margin-top:25px}.menu-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 4px 10px}.menu-section-head h3{margin:0;font-size:20px;letter-spacing:-.04em}.menu-section-head small{color:var(--muted);font-size:11px}.menu-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:9px}.menu-shortcuts button{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:72px;padding:12px;border:1px solid #dce4df;border-radius:18px;background:#fff;color:var(--ink);text-align:left;box-shadow:0 5px 18px #173f320c}.menu-shortcuts button>span,.menu-row-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#edf7e8;color:#07563d}.menu-shortcuts svg,.menu-row-icon svg{width:22px;height:22px}.menu-shortcuts strong{font-size:13px}.menu-shortcuts b,.menu-chevron{color:#08734f;font-size:25px;font-weight:500}.menu-group{overflow:hidden;border:1px solid #dce4df;border-radius:20px;background:#fff;box-shadow:var(--shadow-soft)}.menu-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;align-items:center;gap:10px;width:100%;min-height:62px;padding:9px 15px;border:0;border-bottom:1px solid #e8ece9;border-radius:0;background:#fff;color:var(--ink);text-align:left;box-shadow:none}.menu-row:last-child{border-bottom:0}.menu-row strong{font-size:14px}.menu-count{display:grid;place-items:center;min-width:28px;height:24px;padding:0 8px;border-radius:999px;background:#ffe0dc;color:#b32d28;font-size:12px;font-weight:800}.menu-footer{display:grid;margin-top:26px;border-top:1px solid #dce4df}.menu-footer-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:55px;padding:8px 4px;border:0;border-bottom:1px solid #e4e9e5;border-radius:0;background:transparent;color:var(--ink);text-align:left}.menu-footer-row strong{font-size:14px}.menu-footer-row>span{font-size:23px}.menu-footer-row>b{font-size:25px;font-weight:500}.menu-footer-row.danger-text{color:#c63035}.menu-drawer button:hover{transform:none}
@media(max-width:760px){.workspace>header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px}.header-leading{min-width:0}.header-leading>div{min-width:0}.workspace header h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-actions{min-width:0}.header-actions #pwa-reload{display:grid!important;place-items:center}body[data-view=overview] #pwa-back{display:none!important}.header-actions .status{max-width:68px;padding-inline:8px}.metric{display:grid;grid-template-rows:3px 34px 38px minmax(22px,1fr);align-items:start}.metric:before{margin:0}.metric>small{display:flex;align-items:flex-start;min-height:34px;padding-top:8px}.metric>strong{display:flex;align-items:center;height:38px;margin:0}.metric>span{align-self:end;display:flex;align-items:flex-end;min-height:22px}.menu-drawer{margin:0 auto 0 0!important;height:100dvh;max-height:100dvh;width:min(430px,94vw)!important;border-radius:0 32px 32px 0!important;overflow-y:auto}.menu-drawer::backdrop{background:#062f2480}.menu-drawer .menu-profile{grid-template-columns:56px minmax(0,1fr)}.menu-drawer .menu-avatar{width:56px;height:56px}.menu-profile-link{grid-column:2;padding:3px 0 0;border:0}.menu-section-head small{display:none}}
@media(max-width:380px){.menu-drawer{padding:28px 18px 24px!important}.menu-drawer>h2{font-size:34px}.menu-shortcuts button{grid-template-columns:38px minmax(0,1fr);gap:7px}.menu-shortcuts button>b{display:none}.menu-shortcuts button>span,.menu-row-icon{width:38px;height:38px}.menu-shortcuts strong{font-size:12px}}
@media(max-width:390px){.header-leading{gap:5px}.header-icon{width:39px;min-width:39px;height:39px}.header-actions{gap:4px}.header-actions .status{max-width:58px;padding-inline:7px;font-size:9px}.workspace header h2{font-size:19px}}
@media(prefers-reduced-motion:reduce){.content.page-enter{animation:none}button,.content{transition:none!important}}@keyframes sheet-in{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
.content.page-enter{transform:none!important;animation:page-enter-stable .24s ease-out both}@keyframes page-enter-stable{from{opacity:0}to{opacity:1}}
.inventory-product-card{overflow:hidden}.inventory-card-body{display:grid!important;grid-template-columns:minmax(0,1fr) 132px;align-items:start}.inventory-card-body .record-main{min-width:0!important;max-width:100%;padding:0!important}.inventory-card-body .record-main>strong{display:block;max-width:100%;overflow-wrap:anywhere;word-break:normal}.inventory-page-actions{display:flex!important;align-items:center!important;justify-content:flex-end;flex-wrap:nowrap!important;gap:8px}.inventory-page-actions>*{flex:0 0 auto!important}.inventory-more{flex:0 0 46px!important;margin:0!important}.inventory-more summary{margin:0!important}.inventory-scan-fab{position:fixed!important;right:max(18px,env(safe-area-inset-right))!important;z-index:30!important;transform:none!important}
@media(max-width:760px){.inventory-card-body{grid-template-columns:minmax(0,1fr) 118px!important;gap:14px!important}.inventory-product-card{padding:17px!important}.inventory-page-actions>#inventory-finish{flex:0 0 auto!important}.inventory-more{width:46px!important}.inventory-scan-fab{right:18px!important;bottom:calc(94px + env(safe-area-inset-bottom))!important;width:60px!important;height:60px!important}.inventory-card-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto!important}.inventory-card-actions .link-button{white-space:nowrap}}
@media(max-width:380px){.inventory-card-body{grid-template-columns:minmax(0,1fr) 102px!important}.inventory-product-card{padding:15px!important}.inventory-card-actions{grid-template-columns:1fr 1fr!important}.inventory-card-actions .link-button{grid-column:1/-1!important}}
.catalog-health{margin:4px 0 24px;padding:24px;border:1px solid #d7e5dc;border-radius:24px;background:linear-gradient(145deg,#fbfdfa,#f4f8f3);box-shadow:0 8px 28px #173f3208}.catalog-health-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.catalog-health-head h2{margin:0;color:#082f27;font-size:30px;letter-spacing:-.045em}.catalog-health-head p{margin:5px 0 0;color:#667771;font-size:15px}.catalog-health-head button{flex:none;border-radius:18px}.catalog-health-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}.catalog-health-item{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:2px 10px;min-height:124px;padding:18px;border:0;border-radius:19px;text-align:left;color:#123b31;box-shadow:none}.catalog-health-item:hover{transform:none;filter:brightness(.985)}.catalog-health-item svg{grid-row:1/3;width:27px;height:27px}.catalog-health-item strong{font-size:30px;line-height:1}.catalog-health-item span{font-size:14px;font-weight:650;color:#5d716a}.catalog-health-item.good{background:#e9f7ef;color:#087b50}.catalog-health-item.warn{background:#fff5e3;color:#bd7803}.catalog-health-item.neutral{background:#eef4f1;color:#176149}.catalog-health-item.danger{background:#fff0f0;color:#c83232}.catalog-health-item.danger span{color:#bf3333}.catalog-workspace{position:relative;margin-bottom:18px;padding:24px;border-radius:25px;background:#fff;box-shadow:var(--shadow-soft);scroll-margin-top:20px}.catalog-search{display:grid;grid-template-columns:minmax(0,1fr) 58px 58px;gap:10px;margin:0}.catalog-search>label{position:relative;display:block}.catalog-search input{width:100%;min-height:58px;padding:0 18px 0 55px;border:0;border-radius:23px;background:#fff;box-shadow:0 10px 30px #173f3212;font-size:16px}.catalog-search-icon{position:absolute;left:19px;top:50%;z-index:1;display:grid;place-items:center;transform:translateY(-50%);color:#64766f}.catalog-search-icon svg{width:24px;height:24px}.catalog-square-action{display:grid!important;place-items:center;width:58px!important;height:58px!important;min-width:58px!important;padding:0!important;border:0!important;border-radius:19px!important;background:#fff!important;color:#123f34!important;box-shadow:0 10px 30px #173f3212!important;list-style:none;cursor:pointer}.catalog-square-action svg{width:26px;height:26px}.catalog-filter-menu{position:relative}.catalog-filter-menu summary::-webkit-details-marker{display:none}.catalog-filter-menu>div{position:absolute;right:0;top:66px;z-index:20;display:grid;gap:5px;width:190px;padding:9px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 18px 44px #173f3228}.catalog-filter-menu>div button{width:100%;min-height:42px;background:#f5f8f5;color:var(--ink);text-align:left}.catalog-create{width:100%;min-height:60px;margin-top:14px;border-radius:22px;background:linear-gradient(135deg,#087e50,#07965e);font-size:17px;box-shadow:0 13px 30px #087e5028}.catalog-list-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 2px 12px}.catalog-list-head p{margin:0;color:#687972}.catalog-list-head p strong{color:#0a332a}.catalog-list-head label{display:flex;align-items:center;gap:8px;color:#657770;font-size:13px}.catalog-list-head select{width:auto;min-height:40px;padding:7px 35px 7px 13px;border-radius:16px;background:#fff}.product-catalog-grid{grid-template-columns:1fr!important;gap:10px!important;margin-top:0!important}.catalog-product{position:relative;display:grid!important;grid-template-columns:92px minmax(0,1fr) 44px;align-items:center!important;gap:16px!important;min-height:122px;padding:14px!important;border:1px solid #e2e9e4!important;border-radius:20px!important;background:#fff;box-shadow:0 5px 18px #173f3208}.catalog-product>.product-thumb{width:92px!important;height:92px!important;border-radius:17px!important;background:#eef7e9}.catalog-product-copy{align-self:center}.catalog-product-copy strong{font-size:17px;line-height:1.28;color:#092e26}.catalog-product-copy small{margin:5px 0!important;font-size:13px}.catalog-category{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:5px 10px;border-radius:999px;background:#eaf5e7;color:#176844;font-size:11px;font-weight:800;text-transform:uppercase;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.catalog-product-menu{position:relative;align-self:start}.catalog-product-menu>summary{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#f3f6f2;color:#173f34;font-weight:900;letter-spacing:2px;list-style:none;cursor:pointer}.catalog-product-menu>summary::-webkit-details-marker{display:none}.catalog-product-menu>div{position:absolute;right:0;top:48px;z-index:18;display:grid;gap:5px;width:176px;padding:9px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 18px 40px #173f3228}.catalog-product-menu>div button{width:100%;min-height:40px;padding:9px 11px;background:#f5f8f5;color:var(--ink);text-align:left;font-size:12px}.catalog-product-menu>div .danger-text{color:#ab342d}.catalog-workspace+#catalog-management{display:grid;gap:18px}.catalog-workspace+#catalog-management>.panel{margin-top:0!important}
@media(max-width:760px){body[data-view=catalog] .content{padding-top:8px}.catalog-health{margin:2px 0 18px;padding:18px 16px;border-radius:21px}.catalog-health-head{align-items:center}.catalog-health-head h2{font-size:22px;white-space:nowrap}.catalog-health-head p{font-size:13px}.catalog-health-head button{min-width:auto;padding:10px 11px;font-size:10px}.catalog-health-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:16px}.catalog-health-item{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-width:0;min-height:105px;padding:12px 9px;border-radius:16px}.catalog-health-item svg{width:23px;height:23px}.catalog-health-item strong{font-size:24px}.catalog-health-item span{font-size:10px;line-height:1.15;overflow-wrap:anywhere}.catalog-workspace{padding:0;background:transparent;box-shadow:none}.catalog-search{grid-template-columns:minmax(0,1fr) 52px 52px;gap:8px}.catalog-search input{min-height:54px;padding-left:48px;border-radius:20px;font-size:12px;font-weight:500}.catalog-search input::placeholder{font-weight:500}.catalog-square-action{width:52px!important;height:54px!important;min-width:52px!important;border-radius:18px!important}.catalog-create{min-height:58px;border-radius:21px}.catalog-list-head{margin-top:17px}.catalog-list-head label{font-size:11px}.catalog-list-head select{max-width:130px;font-size:11px}.catalog-product{grid-template-columns:78px minmax(0,1fr) 40px;gap:12px!important;min-height:108px;padding:12px!important;border-radius:18px!important}.catalog-product>.product-thumb{width:78px!important;height:78px!important;border-radius:15px!important}.catalog-product-copy strong{font-size:15px}.catalog-product-copy small{font-size:12px}.catalog-product-menu>summary{width:38px;height:38px}.catalog-product-menu>div{position:fixed;left:16px;right:16px;top:auto;bottom:calc(92px + env(safe-area-inset-bottom));width:auto;padding:12px;border-radius:20px}.catalog-product-menu>div button{min-height:48px;font-size:14px}.catalog-workspace+#catalog-management{margin-top:22px}}
@media(max-width:380px){.catalog-health{padding:16px 13px}.catalog-health-head button{padding:9px}.catalog-health-grid{gap:5px}.catalog-health-item{padding:10px 7px}.catalog-search{grid-template-columns:minmax(0,1fr) 48px 48px}.catalog-square-action{width:48px!important;min-width:48px!important}.catalog-product{grid-template-columns:70px minmax(0,1fr) 36px;gap:10px!important}.catalog-product>.product-thumb{width:70px!important;height:70px!important}.catalog-product-copy strong{font-size:14px}}
.inventory-command>h2,.inventory-smart-history h2{margin:0;color:#082e27;font-size:31px;letter-spacing:-.05em}.inventory-command-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:16px;margin-top:17px}.inventory-start-card,.inventory-resume-card{display:grid;grid-template-columns:66px minmax(0,1fr);gap:0 18px;min-height:240px;padding:25px;border-radius:28px}.inventory-start-card{background:linear-gradient(145deg,#087a4e,#045d42);color:#fff}.inventory-resume-card{position:relative;background:#fff;color:#092f28;box-shadow:var(--shadow-soft)}.inventory-command-icon{display:grid;place-items:center;width:66px;height:66px;border-radius:18px;background:#edf7ec;color:#08724d;font-size:25px}.inventory-command-icon svg{width:31px;height:31px}.inventory-start-card h3,.inventory-resume-card h3{margin:2px 0 9px;font-size:27px;line-height:1.08;letter-spacing:-.035em}.inventory-start-card p,.inventory-resume-card p{grid-column:1/-1;margin:10px 0 18px;font-size:15px;line-height:1.4}.inventory-start-card p{color:#dceee5}.inventory-resume-card p{color:#687872}.inventory-start-card>label{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 58px;gap:10px;align-self:end}.inventory-start-card select{min-width:0;min-height:58px;border:0;border-radius:18px;background:#fff}.inventory-start-card button{min-width:58px;width:58px;padding:0;border-radius:50%;background:#fff;color:#073d31;font-size:31px}.inventory-resume-card>button{grid-column:1/-1;align-self:end;display:grid;grid-template-columns:27px 1fr auto;align-items:center;gap:10px;width:100%;min-height:58px;padding:12px 16px;border:0;border-radius:18px;background:#eef5f0;color:#0a392e;text-align:left}.inventory-resume-card>button svg{width:24px}.inventory-resume-card>button b{font-size:24px}.inventory-none-active{grid-column:1/-1;align-self:end;padding:17px;border-radius:17px;background:#f3f6f3;color:#718079;font-size:13px}.inventory-smart-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:16px;padding:15px 18px;border-radius:24px;background:linear-gradient(90deg,#f3f9f2,#edf6ef)}.inventory-smart-summary>span{display:grid;grid-template-columns:28px auto;align-items:center;gap:0 9px;min-height:52px;padding:0 16px;border-right:1px solid #d6e3d9;color:#08714c}.inventory-smart-summary>span:last-child{border:0}.inventory-smart-summary svg{grid-row:1/3;width:25px;height:25px}.inventory-smart-summary strong{color:#092f28;font-size:24px;line-height:1}.inventory-smart-summary small{color:#687972;font-size:11px}.inventory-smart-history{margin-top:32px}.inventory-smart-head p{margin:5px 0 0;color:#718079}.inventory-smart-history form{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px;margin-top:18px}.inventory-smart-history form label{position:relative}.inventory-smart-history form label>svg{position:absolute;left:17px;top:50%;z-index:1;width:24px;transform:translateY(-50%)}.inventory-smart-history form input{width:100%;min-height:58px;padding-left:53px;border-radius:19px;background:#fff}.inventory-smart-history form>button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:58px;padding:10px 14px;border:1px solid var(--line);border-radius:19px;background:#fff;color:#123d32}.inventory-smart-history form>button svg{width:23px}.inventory-smart-history form>button span{font-size:12px;text-align:left}.inventory-smart-chips{display:flex;gap:9px;overflow:auto;margin:14px 0 18px}.inventory-smart-chips button{min-width:max-content;padding:11px 18px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#52675f}.inventory-smart-chips button.active{border-color:#078154;background:#078154;color:#fff}.inventory-point-group{margin:11px 0;border:0;border-radius:22px;background:#fff;box-shadow:var(--shadow-soft);overflow:visible}.inventory-point-group>summary{display:grid;grid-template-columns:52px minmax(0,1fr) auto 24px;align-items:center;gap:13px;min-height:88px;padding:15px 18px;list-style:none;cursor:pointer}.inventory-point-group>summary::-webkit-details-marker{display:none}.inventory-point-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#edf7e9;color:#08734d}.inventory-point-icon svg{width:25px;height:25px}.inventory-point-group>summary span:nth-child(2){min-width:0}.inventory-point-group>summary strong,.inventory-point-group>summary small{display:block}.inventory-point-group>summary strong{font-size:18px;color:#092f28}.inventory-point-group>summary small{margin-top:4px;color:#718079;font-size:12px}.inventory-point-group>summary em{padding:7px 11px;border-radius:999px;background:#f1f4f2;color:#6b7b75;font-size:11px;font-style:normal}.inventory-point-group>summary>b{font-size:22px;transition:transform .2s}.inventory-point-group[open]>summary>b{transform:rotate(180deg)}.inventory-point-timeline{position:relative;margin:0 16px 16px;padding:0 0 0 23px;border:1px solid #e5ebe6;border-radius:18px;background:#fff}.inventory-point-timeline:before{content:'';position:absolute;left:31px;top:30px;bottom:30px;width:2px;background:#dce5df}.inventory-timeline-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:10px;min-height:105px;padding:17px 12px 17px 50px;border-bottom:1px solid #e8ede9}.inventory-timeline-row:last-child{border-bottom:0}.inventory-timeline-row[hidden]{display:none}.inventory-timeline-dot{position:absolute;left:0;top:26px;z-index:1;width:14px;height:14px;border-radius:50%;background:#b9c5c0}.inventory-timeline-dot.active{background:#078154}.inventory-timeline-main>div{display:flex;align-items:center;gap:9px}.inventory-timeline-main strong{font-size:15px}.inventory-timeline-main>small{display:block;margin:5px 0;color:#687a73;font-size:12px}.inventory-type-pill{padding:5px 9px;border-radius:999px;background:#e7f5e8;color:#287148;font-size:10px;font-weight:800}.inventory-type-pill.partial{background:#fff0cf;color:#9c6508}.inventory-person{display:flex;align-items:center;gap:7px;color:#687a73;font-size:11px}.inventory-person b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e8edeb;color:#416056;font-size:10px}.inventory-history-menu{position:relative;align-self:start}.inventory-history-menu>summary{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#f3f6f3;list-style:none;cursor:pointer;font-weight:900;letter-spacing:2px}.inventory-history-menu>summary::-webkit-details-marker{display:none}.inventory-history-menu>div{position:absolute;right:0;top:45px;z-index:25;display:grid;gap:5px;width:180px;padding:9px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 18px 40px #173f3228}.inventory-history-menu>div button{width:100%;min-height:42px;background:#f4f7f4;color:#123d32;text-align:left}
@media(max-width:760px){.inventory-command>h2,.inventory-smart-history h2{font-size:27px}.inventory-command-grid{grid-template-columns:1.15fr 1fr;gap:9px}.inventory-start-card,.inventory-resume-card{grid-template-columns:48px minmax(0,1fr);gap:0 10px;min-height:225px;padding:16px 13px;border-radius:22px}.inventory-command-icon{width:48px;height:48px;border-radius:14px;font-size:18px}.inventory-command-icon svg{width:25px;height:25px}.inventory-start-card h3,.inventory-resume-card h3{font-size:19px}.inventory-start-card p,.inventory-resume-card p{font-size:12px}.inventory-start-card>label{grid-template-columns:minmax(0,1fr) 46px;gap:7px}.inventory-start-card select{min-height:50px;padding:8px 29px 8px 10px;font-size:11px}.inventory-start-card button{min-width:46px;width:46px;font-size:25px}.inventory-resume-card>button{grid-template-columns:20px 1fr auto;min-height:50px;padding:9px;font-size:11px}.inventory-resume-card>button svg{width:19px}.inventory-none-active{padding:12px;font-size:10px}.inventory-smart-summary{grid-template-columns:repeat(4,minmax(0,1fr));padding:11px 5px;border-radius:19px}.inventory-smart-summary>span{grid-template-columns:1fr;justify-items:center;gap:3px;min-width:0;padding:0 4px;text-align:center}.inventory-smart-summary svg{grid-row:auto;width:20px;height:20px}.inventory-smart-summary strong{font-size:18px}.inventory-smart-summary small{font-size:8px;overflow-wrap:anywhere}.inventory-smart-history{margin-top:25px}.inventory-smart-head p{font-size:12px}.inventory-smart-history form{grid-template-columns:minmax(0,1fr) 104px}.inventory-smart-history form input{min-height:52px;padding-left:45px;font-size:12px}.inventory-smart-history form>button{min-height:52px;padding:7px}.inventory-smart-history form>button span{font-size:10px}.inventory-smart-chips{gap:7px;margin:12px 0 15px}.inventory-smart-chips button{padding:9px 13px;font-size:11px}.inventory-point-group>summary{grid-template-columns:43px minmax(0,1fr) 20px;gap:10px;min-height:79px;padding:12px}.inventory-point-icon{width:43px;height:43px}.inventory-point-group>summary strong{font-size:15px}.inventory-point-group>summary small{font-size:10px}.inventory-point-group>summary em{display:none}.inventory-point-timeline{margin:0 10px 10px;padding-left:18px}.inventory-point-timeline:before{left:25px}.inventory-timeline-row{grid-template-columns:minmax(0,1fr) 38px;padding:14px 8px 14px 38px}.inventory-timeline-main strong{font-size:13px}.inventory-timeline-main>small{font-size:10px}.inventory-history-menu>summary{width:36px;height:36px}.inventory-history-menu>div{position:fixed;left:16px;right:16px;top:auto;bottom:calc(92px + env(safe-area-inset-bottom));width:auto;padding:12px;border-radius:20px}.inventory-history-menu>div button{min-height:48px;font-size:14px}}
@media(max-width:340px){.inventory-command-grid{grid-template-columns:1fr}.inventory-start-card,.inventory-resume-card{min-height:190px}.inventory-smart-summary{grid-template-columns:1fr 1fr;gap:7px}.inventory-smart-summary>span:nth-child(2){border-right:0}.inventory-smart-summary>span{padding:7px}.inventory-smart-history form{grid-template-columns:minmax(0,1fr) 92px}.inventory-smart-chips button{padding-inline:11px}}
.inventory-command-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.inventory-start-card,.inventory-resume-card{grid-template-rows:auto 1fr auto;height:100%}.inventory-start-card>div,.inventory-resume-card>div{align-self:start}.inventory-start-card>div p,.inventory-resume-card>div p{margin:10px 0 0}.inventory-start-card>label,.inventory-resume-card>button,.inventory-none-active{margin-top:20px}.inventory-command-icon svg,.inventory-start-card button svg{display:block}.inventory-start-card button svg{width:27px;height:27px}.inventory-resume-card>button b{display:grid;place-items:center}.inventory-resume-card>button b svg{width:20px;height:20px}.inventory-smart-summary>span>svg{display:block}.inventory-summary-last strong{font-size:17px;line-height:1.05;text-align:left}.inventory-smart-history form>button>svg:last-child{width:15px;height:15px}.inventory-point-group>summary>b{display:grid;place-items:center}.inventory-point-group>summary>b svg{width:20px;height:20px}.inventory-history-menu>summary svg{width:22px;height:22px;stroke-width:2.6}.inventory-history-menu>summary{letter-spacing:0}
@media(max-width:760px){.inventory-command-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.inventory-start-card,.inventory-resume-card{min-height:310px;padding:20px 17px}.inventory-start-card>div p,.inventory-resume-card>div p{margin-top:12px;line-height:1.45}.inventory-start-card>label,.inventory-resume-card>button,.inventory-none-active{margin-top:18px}.inventory-summary-last strong{font-size:14px;line-height:1.08}.inventory-smart-history form>button>svg:last-child{width:13px}.inventory-point-group>summary>b svg{width:18px;height:18px}}
@media(max-width:340px){.inventory-command-grid{grid-template-columns:1fr}.inventory-start-card,.inventory-resume-card{min-height:210px}}
@media(max-width:760px){.inventory-command-grid{grid-template-columns:1.15fr 1fr;gap:10px;align-items:stretch}.inventory-start-card,.inventory-resume-card{grid-template-rows:auto 1fr;min-height:225px;height:auto;padding:16px 13px}.inventory-start-card>label,.inventory-resume-card>button,.inventory-none-active{align-self:end;margin-top:14px}.inventory-start-card>div p,.inventory-resume-card>div p{margin-top:9px}.inventory-command-icon{width:48px;height:48px;border-radius:14px}.inventory-start-card .inventory-command-icon{background:#f5faf2;color:#08734d}.inventory-resume-card .inventory-command-icon{background:#eaf7e9;color:#087e51}.inventory-command-icon svg{width:25px;height:25px;stroke-width:1.9}.inventory-start-card button svg{width:25px;height:25px;stroke-width:2}.inventory-smart-summary>span>svg{color:#087e51;stroke-width:1.9}.inventory-smart-summary>span:nth-child(2)>svg{width:15px;height:15px}.inventory-summary-last strong{font-size:13px;line-height:1.05}.inventory-point-icon svg{stroke-width:1.9}.inventory-history-menu>summary svg{color:#113d32}.inventory-smart-history{padding-bottom:calc(112px + env(safe-area-inset-bottom))}aside:after{content:'';position:absolute;z-index:-1;left:-16px;right:-16px;top:34px;height:calc(60px + env(safe-area-inset-bottom));background:#fff}}
@media(max-width:340px){.inventory-command-grid{grid-template-columns:1fr}.inventory-start-card,.inventory-resume-card{min-height:200px}}
@media(max-width:760px){.inventory-command-grid{grid-template-columns:1.16fr 1fr;gap:9px}.inventory-start-card,.inventory-resume-card{grid-template-columns:46px minmax(0,1fr);grid-template-rows:46px auto 48px;column-gap:10px;row-gap:8px;min-height:178px;padding:12px;border-radius:18px}.inventory-start-card>div,.inventory-resume-card>div{display:contents}.inventory-start-card h3,.inventory-resume-card h3{align-self:center;margin:0;font-size:18px;line-height:1.04;letter-spacing:-.025em}.inventory-start-card p,.inventory-resume-card p{grid-column:1/-1;align-self:start;margin:0;font-size:12px;line-height:1.3}.inventory-start-card>label,.inventory-resume-card>button,.inventory-none-active{grid-column:1/-1;align-self:end;margin:0}.inventory-command-icon{width:46px;height:46px;border-radius:12px}.inventory-start-card select{min-height:44px;border-radius:13px;font-size:12px}.inventory-start-card button{min-width:44px;width:44px;height:44px}.inventory-resume-card>button,.inventory-none-active{min-height:44px;border-radius:13px}.inventory-none-active{display:flex;align-items:center;padding:10px 12px;font-size:11px}.inventory-smart-summary{min-height:66px;padding:8px 5px;border-radius:18px}.inventory-smart-summary>span{position:relative;grid-template-columns:28px minmax(0,auto);grid-template-rows:auto auto;justify-content:center;justify-items:start;align-content:center;column-gap:7px;row-gap:1px;min-height:48px;padding:0 5px;text-align:left}.inventory-smart-summary>span>svg{grid-column:1;grid-row:1/3;align-self:center;width:27px;height:27px;padding:5px;border-radius:9px;box-sizing:border-box;background:#edf8ef;color:#087b52}.inventory-smart-summary>span:nth-child(2)>svg{width:27px;height:27px;padding:7px;border-radius:50%;background:#fff0d5;color:#d88816}.inventory-smart-summary>span:nth-child(3)>svg{display:none}.inventory-smart-summary>span:nth-child(3):before{content:'';grid-column:1;grid-row:1/3;align-self:center;justify-self:center;width:16px;height:16px;border-radius:50% 50% 50% 0;background:#087b52;transform:rotate(-45deg)}.inventory-smart-summary>span:nth-child(3):after{content:'';position:absolute;left:calc(50% - 28px);top:50%;width:5px;height:5px;border-radius:50%;background:#fff;transform:translate(-50%,-50%)}.inventory-smart-summary>span:nth-child(4)>svg{background:#edf8ef}.inventory-smart-summary>span strong{grid-column:2;grid-row:1;margin:0;font-size:18px;line-height:1}.inventory-smart-summary>span small{grid-column:2;grid-row:2;font-size:9px;line-height:1.1;white-space:nowrap}.inventory-summary-last strong{font-size:13px!important;white-space:nowrap}.inventory-summary-last small{font-size:8px!important}}
@media(max-width:340px){.inventory-command-grid{grid-template-columns:1fr}.inventory-start-card,.inventory-resume-card{min-height:170px}.inventory-smart-summary{grid-template-columns:1fr 1fr}.inventory-smart-summary>span:nth-child(2){border-right:0}}
@media(max-width:760px){.inventory-start-card,.inventory-resume-card{grid-template-columns:40px minmax(0,1fr);column-gap:8px}.inventory-command-icon{width:40px;height:40px;border-radius:10px}.inventory-command-icon svg{width:22px;height:22px}.inventory-resume-card h3{font-size:14px;line-height:1.08}.inventory-none-active{font-size:0}.inventory-none-active:after{content:'Nenhum inventário ativo';font-size:10px;line-height:1.25}.inventory-smart-summary>span:nth-child(3):after{left:14px;top:50%;transform:translate(-50%,-50%)}.inventory-summary-last strong{max-width:62px;font-size:11px!important;line-height:1.05;white-space:normal;overflow-wrap:normal}.inventory-summary-last small{white-space:nowrap}}
@media(max-width:760px){.inventory-command-grid{margin-top:12px}.inventory-start-card,.inventory-resume-card{grid-template-rows:40px auto 42px;row-gap:5px;min-height:154px;padding:10px}.inventory-start-card>label{grid-template-columns:minmax(0,1fr) 40px}.inventory-start-card select{min-height:40px}.inventory-start-card button{min-width:40px;width:40px;height:40px}.inventory-resume-card>button,.inventory-none-active{min-height:40px}.inventory-smart-summary{min-height:58px;padding-block:6px}.inventory-summary-last strong{font-size:9px!important;letter-spacing:-.025em}}
@media(max-width:760px){.inventory-command-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.inventory-start-card,.inventory-resume-card{width:100%;height:154px;min-height:154px}.inventory-start-card h3,.inventory-resume-card h3{font-size:17px;line-height:1.04}.inventory-start-card p,.inventory-resume-card p{font-size:11px;line-height:1.28}.inventory-start-card>label,.inventory-resume-card>button,.inventory-none-active{height:42px;min-height:42px}}
@media(max-width:340px){.inventory-command-grid{grid-template-columns:1fr}.inventory-start-card,.inventory-resume-card{height:154px;min-height:154px}}
@media(max-width:760px){.inventory-start-card select{-webkit-appearance:none;appearance:none;padding-right:32px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23072f27' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:13px 13px}.inventory-start-card button svg{width:23px;height:23px;stroke-width:1.8}.inventory-start-card button{color:#0b5f48}}
@media(max-width:760px){form.inventory-start-card{margin:0}.inventory-command-grid>.inventory-start-card,.inventory-command-grid>.inventory-resume-card{align-self:stretch}}
@media(max-width:760px){.inventory-smart-summary>span:nth-child(3):after{left:27px}}
@media(max-width:760px){.inventory-smart-summary{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;min-height:68px;padding:8px 4px}.inventory-smart-summary>span{grid-template-columns:28px minmax(0,1fr);grid-template-rows:22px 14px;align-content:center;align-items:center;justify-content:stretch;justify-items:start;column-gap:5px;row-gap:1px;min-width:0;min-height:52px;padding:0 7px}.inventory-smart-summary>span>svg{grid-column:1;grid-row:1/3;align-self:center;justify-self:center;width:28px;height:28px}.inventory-smart-summary>span:nth-child(2)>svg{width:28px;height:28px}.inventory-smart-summary>span:nth-child(3):before{grid-column:1;grid-row:1/3;align-self:center;justify-self:center;width:18px;height:18px}.inventory-smart-summary>span:nth-child(3):after{left:21px;top:50%;width:5px;height:5px}.inventory-smart-summary>span strong{grid-column:2;grid-row:1;align-self:end;font-size:19px;line-height:1}.inventory-smart-summary>span small{grid-column:2;grid-row:2;align-self:start;font-size:9px;line-height:1.05;white-space:nowrap}.inventory-summary-last strong{max-width:none;font-size:10px!important;line-height:1.02;letter-spacing:0;white-space:normal}.inventory-summary-last small{font-size:8px!important}}
@media(max-width:760px){.inventory-smart-summary{min-height:74px}.inventory-smart-summary>span{grid-template-rows:22px minmax(18px,auto);overflow:hidden;padding-inline:6px}.inventory-smart-summary>span:nth-child(2) small,.inventory-summary-last small{max-width:100%;white-space:normal;line-height:1.08;overflow-wrap:normal}.inventory-smart-summary>span:nth-child(2) small{font-size:8px}.inventory-summary-last{padding-right:10px}.inventory-summary-last strong{width:100%;overflow:hidden}.inventory-summary-last small{font-size:7.5px!important}.inventory-smart-summary>span:last-child{border-right:0}}
@media(max-width:760px){.inventory-smart-summary>span{grid-template-columns:24px minmax(0,1fr);column-gap:4px;padding-inline:4px}.inventory-smart-summary>span>svg,.inventory-smart-summary>span:nth-child(2)>svg{width:24px;height:24px}.inventory-smart-summary>span:nth-child(3):after{left:16px}.inventory-summary-last{padding-right:6px}.inventory-summary-last strong{font-size:9px!important;letter-spacing:-.03em}.inventory-summary-last small{font-size:7.5px!important}}
@media(max-width:760px){.inventory-smart-summary>span>svg{position:absolute;left:4px;top:50%;grid-column:auto;grid-row:auto;align-self:auto;justify-self:auto;margin:0;transform:translateY(-50%)}.inventory-smart-summary>span:nth-child(3):before{position:absolute;left:7px;top:50%;grid-column:auto;grid-row:auto;align-self:auto;justify-self:auto;margin:0;transform:translateY(-50%) rotate(-45deg)}.inventory-smart-summary>span:nth-child(3):after{position:absolute;left:16px;top:50%;margin:0;transform:translate(-50%,-50%)}}
.expiry-modern{display:grid;gap:22px}.expiry-modern-head h2{margin:0;color:#082e27;font-size:34px;letter-spacing:-.055em}.expiry-modern-head p{margin:5px 0 0;color:#70817a;font-size:15px}.expiry-risk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.expiry-risk-card{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:13px;min-height:118px;padding:18px;border-radius:24px;text-align:left}.expiry-risk-card.danger{background:#fff0ef;color:#a92e2a}.expiry-risk-card.warning{background:#fff3d9;color:#9a5700}.expiry-risk-card.safe{background:#eaf7ed;color:#12673e}.expiry-risk-ring{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:conic-gradient(currentColor var(--risk),color-mix(in srgb,currentColor 13%,transparent) 0);position:relative}.expiry-risk-ring:after{content:'';position:absolute;inset:9px;border-radius:50%;background:#fffaf4}.expiry-risk-ring b{position:relative;z-index:1;color:#173f32;font-size:23px}.expiry-risk-card>span:last-child{display:grid;gap:5px}.expiry-risk-card>span>strong{font-size:18px}.expiry-risk-card>span>small{color:#5f746b;font-weight:550}.expiry-smart-tools{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 58px 58px;gap:10px;margin:0}.expiry-smart-search{position:relative}.expiry-smart-search>svg{position:absolute;left:18px;top:50%;z-index:1;width:25px;transform:translateY(-50%)}.expiry-smart-search input{min-height:60px;padding-left:56px;border-radius:21px;background:#fff}.expiry-filter-menu{position:relative}.expiry-filter-menu>summary,.expiry-tool-button{display:grid;place-items:center;width:58px;height:60px;padding:0;border:1px solid var(--line);border-radius:20px;background:#fff;color:#0d493c;list-style:none}.expiry-filter-menu>summary::-webkit-details-marker,.expiry-export-menu>summary::-webkit-details-marker{display:none}.expiry-filter-menu>summary svg,.expiry-tool-button svg{width:27px;height:27px}.expiry-filter-dot{position:absolute;right:7px;top:5px;width:9px;height:9px;border-radius:50%;background:#07945d}.expiry-filter-popover{position:absolute;right:0;top:68px;z-index:30;display:grid;gap:13px;width:min(520px,calc(100vw - 48px));padding:20px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 22px 60px #173f3230}.expiry-filter-popover h3{margin:0}.expiry-filter-popover .two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.expiry-action-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.expiry-action-row>button,.expiry-export-menu>summary{display:flex;align-items:center;justify-content:center;gap:10px;min-height:58px;border-radius:20px}.expiry-action-row svg{width:23px;height:23px}.expiry-export-menu{position:relative}.expiry-export-menu>summary{border:1px solid #acd0c4;background:#fff;color:#0c765a;font-weight:800;list-style:none;cursor:pointer}.expiry-export-menu>summary svg:last-child{width:15px}.expiry-export-menu>div{position:absolute;right:0;top:64px;z-index:30;display:grid;gap:7px;width:210px;padding:10px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 18px 48px #173f322d}.expiry-export-menu>div button{width:100%;background:#f3f7f4;color:#123d32;text-align:left}.expiry-results-head{display:flex;align-items:end;justify-content:space-between;gap:14px}.expiry-results-head h3{margin:0;font-size:24px}.expiry-results-head span{color:#728078;font-style:italic}.expiry-smart-groups{display:grid;gap:12px}.expiry-point-card{border:1px solid #e1e9e4;border-radius:24px;background:#fff;box-shadow:0 10px 28px #193d3010;overflow:hidden}.expiry-point-card>summary{display:grid;grid-template-columns:54px minmax(0,1fr) 42px;align-items:center;gap:13px;min-height:84px;padding:14px 18px;list-style:none;cursor:pointer}.expiry-point-card>summary::-webkit-details-marker{display:none}.expiry-point-symbol{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:#eaf7e8;color:#08734d}.expiry-point-symbol svg{width:27px;height:27px}.expiry-point-card>summary strong{display:block;font-size:18px}.expiry-point-card>summary small{display:flex;align-items:center;gap:10px;margin-top:5px;color:#718079}.expiry-point-card>summary small b{padding:4px 8px;border-radius:999px;background:#ffe2e0;color:#b62e28}.expiry-point-card>summary small i{height:18px;border-left:1px solid #bdcac5}.expiry-point-toggle{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#f2f7f3;color:#0a4d3d}.expiry-point-toggle svg{width:19px;transition:transform .2s}.expiry-point-card[open] .expiry-point-toggle svg{transform:rotate(180deg)}.expiry-point-products{position:relative;padding:0 18px 14px 34px}.expiry-point-products:before{content:'';position:absolute;left:27px;top:25px;bottom:34px;border-left:2px solid #dce7e1}.expiry-smart-product{position:relative;display:grid;grid-template-columns:74px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:124px;padding:14px 10px 14px 20px;border-top:1px solid #e8eeea}.expiry-risk-dot{position:absolute;left:-14px;top:28px;z-index:1;width:13px;height:13px;border:3px solid #fff;border-radius:50%;background:#1c914f}.expiry-risk-dot.expired{background:#d82d35}.expiry-risk-dot.critical{background:#ee9000}.expiry-smart-product>.product-thumb{width:74px;height:74px;border-radius:16px}.expiry-smart-copy{min-width:0}.expiry-smart-copy>strong{display:block;font-size:17px;line-height:1.2}.expiry-smart-copy>small,.expiry-smart-copy>span{display:block;margin-top:5px;color:#6b7b75}.expiry-smart-copy>span b{color:#0b6c4c}.expiry-smart-copy i{padding:0 5px;font-style:normal;color:#a8b3af}.expiry-smart-status{align-self:start;padding-top:5px}.expiry-smart-product>.withdrawal-outcome{grid-column:2/-1}.expiry-modern .pagination{padding-bottom:105px}
@media(max-width:760px){body[data-view=expiries] .content{padding-top:4px}.expiry-modern{gap:16px}.expiry-modern-head h2{font-size:29px}.expiry-modern-head p{font-size:12px}.expiry-risk-grid{gap:7px}.expiry-risk-card{grid-template-columns:42px minmax(0,1fr);gap:7px;min-height:92px;padding:10px 8px;border-radius:18px}.expiry-risk-ring{width:42px;height:42px}.expiry-risk-ring:after{inset:6px}.expiry-risk-ring b{font-size:15px}.expiry-risk-card>span>strong{font-size:12px;line-height:1.05}.expiry-risk-card>span>small{font-size:9px;line-height:1.15}.expiry-smart-tools{grid-template-columns:minmax(0,1fr) 52px 52px;gap:7px}.expiry-smart-search input{min-height:54px;padding-left:48px;font-size:12px}.expiry-smart-search>svg{left:15px;width:22px}.expiry-filter-menu>summary,.expiry-tool-button{width:52px;height:54px;border-radius:17px}.expiry-filter-menu>summary svg,.expiry-tool-button svg{width:24px;height:24px}.expiry-filter-popover{position:fixed;left:12px;right:12px;top:auto;bottom:calc(88px + env(safe-area-inset-bottom));width:auto;max-height:72vh;overflow:auto;border-radius:24px}.expiry-action-row>button,.expiry-export-menu>summary{min-height:52px;border-radius:17px;font-size:13px}.expiry-export-menu>div{position:fixed;left:16px;right:16px;top:auto;bottom:calc(88px + env(safe-area-inset-bottom));width:auto;padding:12px;border-radius:21px}.expiry-export-menu>div button{min-height:50px}.expiry-results-head h3{font-size:21px}.expiry-results-head span{font-size:10px;text-align:right}.expiry-point-card{border-radius:20px}.expiry-point-card>summary{grid-template-columns:46px minmax(0,1fr) 32px;gap:10px;min-height:75px;padding:11px 12px}.expiry-point-symbol{width:46px;height:46px;border-radius:14px}.expiry-point-card>summary strong{font-size:15px}.expiry-point-card>summary small{gap:7px;font-size:10px}.expiry-point-card>summary small b{padding:3px 6px}.expiry-point-toggle{width:30px;height:30px}.expiry-point-products{padding:0 9px 9px 24px}.expiry-point-products:before{left:17px}.expiry-smart-product{grid-template-columns:58px minmax(0,1fr);gap:10px;min-height:112px;padding:12px 7px 12px 14px}.expiry-risk-dot{left:-13px}.expiry-smart-product>.product-thumb{width:58px;height:58px;border-radius:13px}.expiry-smart-copy>strong{font-size:13px}.expiry-smart-copy>small,.expiry-smart-copy>span{font-size:10px}.expiry-smart-status{grid-column:2;justify-self:start;padding:0}.expiry-smart-status .badge{font-size:9px}.expiry-smart-product>.withdrawal-outcome{grid-column:2}.expiry-modern .pagination{padding-bottom:118px}}
@media(max-width:360px){.expiry-risk-card{grid-template-columns:1fr;justify-items:center;text-align:center}.expiry-risk-card>span:last-child{justify-items:center}.expiry-smart-product{grid-template-columns:48px minmax(0,1fr)}.expiry-smart-product>.product-thumb{width:48px;height:48px}}
body[data-view=expiries]{background:#fbfaf5}.expiry-modern{--expiry-green:#008957;--expiry-deep:#063d31;--expiry-mint:#edf8ed;--expiry-red:#d83238;--expiry-red-soft:#fff0ef;--expiry-amber:#e77e00;--expiry-amber-soft:#fff2d7}.expiry-risk-card.danger{background:var(--expiry-red-soft);color:var(--expiry-red)}.expiry-risk-card.warning{background:var(--expiry-amber-soft);color:var(--expiry-amber)}.expiry-risk-card.safe{background:#eaf7ed;color:var(--expiry-green)}.expiry-action-row>#expiry-share{background:var(--expiry-green)}.expiry-action-row>#expiry-share>svg{display:none}.expiry-action-row>#expiry-share:before{content:'';width:25px;height:25px;flex:none;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.2 10.2a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.6L20 7H6'/%3E%3Ccircle cx='10' cy='20' r='1.2'/%3E%3Ccircle cx='18' cy='20' r='1.2'/%3E%3C/svg%3E")}.expiry-export-menu>summary>svg:first-child{display:none}.expiry-export-menu>summary:before{content:'';width:24px;height:24px;flex:none;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008957' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M8 7l4-4 4 4M5 12H3v8h18v-8h-2'/%3E%3C/svg%3E")}.expiry-export-menu>summary>span{font-size:0}.expiry-export-menu>summary>span:after{content:'Exportar Excel';font-size:14px}.expiry-point-card>summary small b{background:#ffe3e1;color:#c52f2b}.expiry-smart-product .badge.red{background:#ffe1df;color:#bf2e29}.expiry-smart-product .badge.amber{background:#fff0d2;color:#a65c00}.expiry-smart-product .badge.gray{background:#e6f5e4;color:#17683d}
@media(max-width:760px){.expiry-export-menu>summary>span:after{font-size:12px}.expiry-action-row>#expiry-share:before{width:22px;height:22px}.expiry-export-menu>summary:before{width:21px;height:21px}.expiry-risk-card:hover{filter:none}}
@media(max-width:760px){.expiry-filter-popover{box-sizing:border-box;gap:12px;padding:18px;overflow-x:hidden}.expiry-filter-popover>label,.expiry-filter-popover .two>label,.expiry-filter-popover input,.expiry-filter-popover select,.expiry-filter-popover .multi-check{box-sizing:border-box;min-width:0;max-width:100%;width:100%}.expiry-filter-popover .two{grid-template-columns:minmax(0,1fr);gap:8px;width:auto!important;min-width:0}.expiry-filter-popover input[type=date]{min-height:48px;padding:9px 7px;font-size:13px;-webkit-appearance:none;appearance:none}.expiry-filter-popover button{width:100%;min-width:0}.expiry-filter-popover .multi-check-list{box-sizing:border-box;max-width:100%;overflow-x:hidden}}
@media(max-width:360px){.expiry-filter-popover .two{grid-template-columns:1fr}.expiry-filter-popover{left:8px;right:8px;padding:16px}}
.expiry-smart-code{color:#526b62!important;font-size:13px!important;font-weight:700;letter-spacing:.025em}.expiry-smart-meta{display:flex!important;align-items:center;flex-wrap:wrap;gap:4px!important;color:#526b62!important;font-size:13px!important}.expiry-smart-meta>i{padding:0 2px!important}.expiry-smart-quantity{color:#173f32;font-size:14px;font-weight:850}.expiry-smart-date{color:#08704d!important;font-size:14px;font-weight:850}.expiry-smart-lot{color:#687972}
@media(max-width:760px){.expiry-smart-code{font-size:11.5px!important}.expiry-smart-meta{font-size:11.5px!important;line-height:1.35}.expiry-smart-quantity,.expiry-smart-date{font-size:12.5px}.expiry-smart-copy>small{margin-top:6px}.expiry-smart-copy>.expiry-smart-meta{margin-top:7px}}
/* Visitas — agenda inteligente */
.visits-modern,.visit-history-modern{margin-bottom:22px}.visits-title h1{margin:2px 0 18px;font-size:42px;color:#082f26}.visits-search{display:grid;grid-template-columns:28px minmax(0,1fr) 58px;align-items:center;gap:12px;height:66px;padding:0 5px 0 20px;border:1px solid #d6dfda;border-radius:20px;background:#fff;box-shadow:0 8px 25px #153d2d0a}.visits-search svg{width:26px;color:#173f35}.visits-search input{height:60px;min-width:0;border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;font-size:17px}.visits-search button{width:52px;height:52px;padding:0;border:0;border-left:1px solid #e2e8e4;border-radius:0 16px 16px 0;background:#fff;color:#073d30}.visit-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 28px}.visit-kpis article{display:flex;align-items:center;gap:13px;min-height:88px;padding:16px;border-radius:19px;background:#eaf7ed;color:#075b41}.visit-kpis article.amber{background:#fff1d5;color:#9b5f00}.visit-kpis article.red{background:#ffe3e3;color:#bc2929}.visit-kpis svg{width:30px;flex:none}.visit-kpis span{display:grid;gap:2px;color:#173a31;font-size:14px}.visit-kpis strong{font-size:25px;line-height:1;color:currentColor}.visit-agenda-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}.visit-agenda-head h2,.visit-history-modern h2{margin:0;font-size:29px;color:#082f26}.visit-agenda-head p{margin:5px 0 0;color:#6f7e78;text-transform:capitalize}.visit-agenda-head button{width:auto;min-width:188px;border-radius:999px}.visits-modern .schedule-planner{margin:0 0 15px;border:1px solid #d8e3dd!important;box-shadow:none!important}.visits-modern .schedule-list{gap:13px}.visit-route{overflow:hidden;border:1px solid #e0e7e3!important;border-radius:22px!important;box-shadow:0 12px 30px #123b2c0c!important}.visit-route .schedule-day-head{grid-template-columns:46px minmax(0,1fr) auto 24px!important;gap:12px!important;padding:17px!important}.visit-route-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:#e8f7e8;color:#078058}.visit-route-icon svg{width:23px}.visit-route .schedule-day-title strong{font-size:17px;color:#0b352b}.visit-route-status{gap:7px}.visit-route-status i{width:8px;height:8px;border-radius:50%;background:#83908b}.visit-route-status.green i{background:#0cad70}.visit-route .schedule-day-toggle{min-width:18px;width:18px;padding:0;border:0}.visit-route .schedule-day-tasks{padding:0 10px 10px;border-top:0}.visit-route .schedule-card{grid-template-columns:18px 34px 54px minmax(0,1fr) minmax(150px,auto);gap:10px;margin-top:1px;padding:14px 8px;border:1px solid #e2e8e5;border-radius:16px}.schedule-drag{align-self:center;color:#798a84;font-size:21px}.schedule-order{display:grid;place-items:center;width:31px;height:31px;align-self:center;border-radius:50%;background:#e6f6e9;color:#078058;font-weight:850}.visit-route .schedule-card>time{align-self:center;color:#102f28;font-weight:850}.schedule-card-copy{min-width:0}.schedule-card-copy strong,.schedule-card-copy small{display:block}.schedule-card-copy strong{overflow-wrap:anywhere;color:#0c3027}.schedule-card-copy small{margin-top:3px;color:#6d7d77}.schedule-card-copy .schedule-purpose{display:inline-flex;margin-top:7px;color:#086b4d;background:#e6f6eb}.visit-route .schedule-actions{min-width:150px}.visit-route-footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:11px 8px 2px;color:#72807b;font-size:12px}.visit-route-footer button{width:auto;min-height:38px}.visit-history-modern{padding:22px;border-radius:24px;background:#fff;box-shadow:var(--shadow-soft)}.visit-history-modern .panel-head>button{width:auto}.visit-filter-panel{margin:14px 0;border:1px solid #dde5e1;border-radius:15px}.visit-filter-panel>summary{padding:14px 16px;color:#087252;font-weight:800;cursor:pointer}.visit-filter-panel .filters{margin:0;border:0;border-top:1px solid #e3e8e5;border-radius:0;box-shadow:none}.visit-history-list .visit-record{padding:15px 3px}.visit-history-list .record-main small{margin-top:4px}.visit-history-list .badge.green{background:#e1f5e9;color:#08704e}
@media(max-width:760px){.visits-title{display:none}.visits-search{grid-template-columns:24px minmax(0,1fr) 50px;height:58px;padding-left:15px;border-radius:17px}.visits-search input{height:54px;font-size:14px}.visits-search button{width:46px;height:46px}.visit-kpis{gap:7px;margin:12px 0 22px}.visit-kpis article{min-height:72px;gap:7px;padding:10px 8px;border-radius:15px}.visit-kpis svg{width:22px}.visit-kpis span{font-size:10px;line-height:1.18}.visit-kpis strong{font-size:20px}.visit-agenda-head{align-items:center}.visit-agenda-head h2,.visit-history-modern h2{font-size:23px}.visit-agenda-head p{font-size:11px}.visit-agenda-head button{min-width:0;padding:11px 13px;font-size:11px}.visit-route .schedule-day-head{grid-template-columns:38px minmax(0,1fr) 18px!important;padding:13px 11px!important}.visit-route-icon{width:38px;height:38px}.visit-route-status{grid-column:2;justify-self:start}.visit-route .schedule-day-toggle{grid-column:3;grid-row:1/3}.visit-route .schedule-day-tasks{padding:0 7px 8px}.visit-route .schedule-card{grid-template-columns:16px 28px 43px minmax(0,1fr);gap:7px;padding:12px 6px}.schedule-order{width:27px;height:27px}.visit-route .schedule-card>time{font-size:12px}.schedule-card-copy strong{font-size:13px}.schedule-card-copy small{font-size:11px}.visit-route .schedule-actions{grid-column:4;min-width:0;justify-content:flex-start;margin-top:4px}.visit-route .schedule-actions .badge{font-size:10px}.visit-route .schedule-actions button{min-height:36px;padding:8px 10px;font-size:10px}.visit-route-footer{align-items:stretch;flex-wrap:wrap}.visit-route-footer span{width:100%}.visit-route-footer button{flex:1}.visit-history-modern{margin-left:-2px;margin-right:-2px;padding:16px;border-radius:20px}.visit-history-modern .panel-head{align-items:flex-start}.visit-history-modern .panel-head>button{padding:9px 11px;font-size:11px}.visit-history-list .visit-record{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px}.visit-history-list .record-meta{grid-column:2;justify-self:start;max-width:none}.visit-filter-panel .filters{padding:12px}}
.visit-history-list{display:grid;gap:10px}.visit-history-card{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) auto 34px;align-items:start;gap:12px;padding:16px;border:1px solid #dce6e1;border-radius:20px;background:#fff}.visit-history-copy{display:grid;min-width:0;gap:3px}.visit-history-copy>strong{color:#0a352b;font-size:17px;overflow-wrap:anywhere}.visit-history-copy>small{color:#687a73}.visit-purpose-chip{display:inline-flex;align-items:center;gap:6px;justify-self:start;margin-top:5px;padding:6px 10px;border-radius:999px;background:#e2f5e8;color:#08714f;font-size:12px;font-weight:800}.visit-purpose-chip svg{width:16px;height:16px}.visit-purpose-chip.inventory{background:#e5f5eb}.visit-history-result{font-weight:700}.visit-history-status{align-self:start}.visit-operation-open{align-self:center;width:34px;height:42px;padding:0;border:0;background:transparent;color:#0a5a45;font-size:30px}.visit-history-actions{grid-column:2/-1;display:flex;gap:8px;margin-top:5px}.visit-history-actions button{width:auto;min-height:38px}.visit-operation-dialog{width:min(720px,calc(100% - 24px));max-height:min(90dvh,840px);overflow:auto}.visit-detail-loading{padding:35px 0;color:#6c7c76;text-align:center}.visit-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.visit-detail-head strong,.visit-detail-head small{display:block}.visit-detail-head strong{font-size:19px}.visit-detail-head small{margin-top:4px;color:#6a7b74}.visit-detail-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.visit-detail-kpis article{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:0 8px;padding:12px;border-radius:16px;background:#edf8f0;color:#087452}.visit-detail-kpis article.danger{background:#ffeded;color:#bd3030}.visit-detail-kpis svg{grid-row:1/3;width:25px}.visit-detail-kpis strong{font-size:22px}.visit-detail-kpis small{color:#61756d}.visit-detail-tabs{display:grid;grid-template-columns:1fr 1fr;padding:3px;border:1px solid #dce5e1;border-radius:999px}.visit-detail-tabs button{min-height:42px;border-radius:999px;background:transparent;color:#153e33}.visit-detail-tabs button.active{background:#07865b;color:#fff}.visit-detail-summary{padding:15px 3px 5px;color:#63766e}.visit-detail-products{display:none;margin:14px 0}.visit-operation-dialog.show-products .visit-detail-summary{display:none}.visit-operation-dialog.show-products .visit-detail-products{display:block}.visit-detail-products h3{margin:0 0 10px}.visit-detail-product{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #e5ebe7}.visit-detail-product>.product-thumb{width:46px;height:46px;border-radius:12px}.visit-detail-product>div strong,.visit-detail-product>div small{display:block}.visit-detail-product>div small{margin-top:3px;color:#6f8079}.visit-detail-product>b{align-self:end}.visit-detail-product>small{grid-column:3;color:#08714f}.visit-detail-extra{display:none}.visit-operation-dialog.show-all-products .visit-detail-extra{display:grid}.visit-operation-dialog>#visit-detail-full,.visit-operation-dialog>#visit-detail-close{width:100%;margin-top:10px}.visit-operation-dialog>#visit-detail-close{background:#fff}
@media(max-width:760px){.visit-history-card{grid-template-columns:42px minmax(0,1fr) 28px;gap:9px;padding:13px 11px;border-radius:17px}.visit-history-card>.profile-avatar{width:42px;height:42px}.visit-history-copy>strong{font-size:14px}.visit-history-copy>small{font-size:11px}.visit-purpose-chip{font-size:10px;padding:5px 8px}.visit-history-status{grid-column:2;justify-self:start;font-size:9px}.visit-operation-open{grid-column:3;grid-row:1/3;width:28px}.visit-history-actions{grid-column:2/-1;display:grid;grid-template-columns:1fr auto}.visit-history-actions button{font-size:10px;padding:8px}.visit-operation-dialog{width:calc(100% - 16px)!important;max-height:88dvh!important;padding:22px 18px!important;border-radius:28px 28px 18px 18px!important}.visit-detail-head{display:grid}.visit-detail-head .visit-purpose-chip{grid-row:2}.visit-detail-kpis{gap:6px}.visit-detail-kpis article{grid-template-columns:22px minmax(0,1fr);padding:9px 7px}.visit-detail-kpis svg{width:20px}.visit-detail-kpis strong{font-size:18px}.visit-detail-kpis small{font-size:9px}.visit-detail-product{grid-template-columns:42px minmax(0,1fr) auto}.visit-detail-product>.product-thumb{width:40px;height:40px}.visit-detail-product>div strong{font-size:12px}.visit-detail-product>div small,.visit-detail-product>small{font-size:10px}}

body[data-view="shipments"] .content{background:#fbfaf5}.shipment-workspace,.shipment-import,.shipment-setup{max-width:920px;margin:0 auto;color:#092f28}.shipment-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.shipment-title h1{margin:0;font-size:38px;letter-spacing:-.055em}.shipment-menu{position:relative}.shipment-menu summary{display:grid;place-items:center;width:54px;height:54px;border:1px solid #dce5df;border-radius:17px;background:#fff;font-size:22px;font-weight:900;cursor:pointer;list-style:none}.shipment-menu summary::-webkit-details-marker{display:none}.shipment-menu>div{position:absolute;z-index:12;right:0;top:62px;display:grid;gap:8px;width:240px;padding:12px;border:1px solid #dce5df;border-radius:18px;background:#fff;box-shadow:0 18px 45px #173b3022}.shipment-menu button{width:100%}.shipment-context{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:18px;border:1px solid #dfe8e1;border-radius:22px;background:#fff;box-shadow:0 10px 30px #174b3610;overflow:hidden}.shipment-context article{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:1px 10px;min-height:92px;padding:17px}.shipment-context article+article:before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:1px;background:#e2e9e4}.shipment-context svg{grid-row:1/3;width:30px;height:30px;color:#07855d}.shipment-context strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px}.shipment-context small{color:#71827d;font-size:12px}.shipment-scan{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:13px;width:100%;min-height:180px;margin-bottom:14px;border:0!important;border-radius:24px!important;background:linear-gradient(135deg,#087d55,#006844)!important;color:#fff!important;box-shadow:0 16px 32px #087d5530}.shipment-scan svg{width:58px;height:58px;stroke-width:1.35}.shipment-scan strong{font-size:25px}.shipment-progress{padding:18px 20px;margin-bottom:18px;border:1px solid #dce7df;border-radius:20px;background:#eef8f1}.shipment-progress>div{display:flex;justify-content:space-between;margin-bottom:9px}.shipment-progress b{color:#087c58}.shipment-progress>span{display:block;height:9px;border-radius:99px;background:#d8e9dc;overflow:hidden}.shipment-progress i{display:block;height:100%;border-radius:inherit;background:#07885e;transition:width .25s}.shipment-last{margin-bottom:18px;padding:0;border:1px solid #dce5df;border-radius:22px;background:#fff;overflow:hidden;box-shadow:0 10px 25px #163c3012}.shipment-last header{display:flex;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #e6ebe7}.shipment-last header small{color:#788781}.shipment-last>div{display:grid;grid-template-columns:64px minmax(0,1fr) minmax(240px,.8fr);align-items:center;gap:16px;padding:18px}.shipment-last-thumb{display:grid;place-items:center;width:64px;height:64px;border-radius:16px;background:#eaf6e7;color:#087d59}.shipment-last-thumb svg{width:30px}.shipment-last dl{display:grid;grid-template-columns:repeat(3,1fr);margin:0;border-radius:15px;background:#f4f7f4;overflow:hidden}.shipment-last dl div{padding:11px;text-align:center}.shipment-last dl div+div{border-left:1px solid #dce6df}.shipment-last dt{color:#73837d;font-size:11px}.shipment-last dd{margin:2px 0 0;font-size:23px;font-weight:900}.shipment-last .bad dd{color:#c53636}.shipment-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:6px;margin-bottom:12px;border-radius:17px;background:#edf2ee}.shipment-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:8px;background:transparent!important;color:#687a74!important;border:0!important}.shipment-tabs button.active{background:#fff!important;color:#086f50!important;box-shadow:0 3px 12px #183d3012}.shipment-tabs b{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:99px;background:#e0eee4}.shipment-item-list{display:grid;gap:10px}.shipment-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px;border:1px solid #dde6df;border-radius:18px;background:#fff}.shipment-item-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#eef7e9;color:#087c58}.shipment-item-icon svg{width:25px}.shipment-item>div{display:grid;gap:4px}.shipment-item>div small{color:#72827d}.shipment-item>span:last-child{display:grid;justify-items:end}.shipment-item>span b{font-size:21px}.shipment-item em{color:#a56b00;font-size:11px;font-style:normal;font-weight:800}.shipment-item.excess em{color:#c53636}.shipment-import,.shipment-setup{padding:28px;border:1px solid #dce5df;border-radius:26px;background:#fff;box-shadow:0 16px 40px #173d3012}.shipment-import{text-align:center}.shipment-import-icon{display:grid;place-items:center;width:76px;height:76px;margin:0 auto 14px;border-radius:22px;background:#eaf6e7;color:#07835c}.shipment-import-icon svg{width:39px}.shipment-import h2,.shipment-setup h2{margin:5px 0;font-size:30px}.shipment-import>p:not(.eyebrow){max-width:540px;margin:8px auto 24px;color:#667a73}.shipment-import form,.shipment-setup form{display:grid;gap:15px;text-align:left}.shipment-setup-head{display:flex;align-items:center;gap:16px;margin-bottom:24px}.shipment-setup-head>span{display:grid;place-items:center;width:66px;height:66px;border-radius:18px;background:#eaf6e7;color:#07835c}.shipment-setup-head svg{width:34px}.shipment-setup-head small{color:#6f817b}.shipment-setup-grid{display:grid;grid-template-columns:2fr 1fr;gap:12px}.shipment-setup label,.shipment-import label{display:grid;gap:7px;font-weight:800}.shipment-setup input,.shipment-import input,.shipment-import select{width:100%}.shipment-setup fieldset{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 10px;padding:15px;border:1px solid #dce5df;border-radius:17px}.shipment-setup legend{padding:0 8px;color:#087a57;font-weight:900}.shipment-mismatch{display:grid;justify-items:center;gap:11px;text-align:center}.shipment-mismatch>svg{width:54px;height:54px;color:#c43d35}.shipment-mismatch span{display:flex;align-items:center;gap:7px;width:100%;padding:10px;border-radius:11px;background:#f2f6f2}.shipment-mismatch span svg{width:20px}
@media(max-width:620px){body[data-view="shipments"] .workspace{padding-left:14px;padding-right:14px}.shipment-title{margin-bottom:14px}.shipment-title h1{font-size:29px}.shipment-menu summary{width:47px;height:47px;border-radius:15px}.shipment-context{grid-template-columns:repeat(4,minmax(0,1fr));border-radius:18px}.shipment-context article{display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;min-height:83px;padding:10px 5px;text-align:center}.shipment-context article+article:before{top:13px;bottom:13px}.shipment-context svg{width:23px;height:23px}.shipment-context strong{width:100%;font-size:11px}.shipment-context small{font-size:9px}.shipment-scan{min-height:138px;border-radius:20px!important}.shipment-scan svg{width:48px;height:48px}.shipment-scan strong{font-size:21px}.shipment-progress{padding:15px}.shipment-last>div{grid-template-columns:54px minmax(0,1fr);gap:12px;padding:14px}.shipment-last-thumb{width:54px;height:54px}.shipment-last dl{grid-column:1/3}.shipment-last dd{font-size:20px}.shipment-tabs button{font-size:12px;gap:4px}.shipment-item{grid-template-columns:43px minmax(0,1fr) auto;padding:12px;gap:10px}.shipment-item-icon{width:43px;height:43px}.shipment-item>div strong{font-size:13px}.shipment-item>div small{font-size:10px}.shipment-item>span b{font-size:18px}.shipment-import,.shipment-setup{padding:20px;border-radius:22px}.shipment-import h2,.shipment-setup h2{font-size:25px}.shipment-setup-grid,.shipment-setup fieldset{grid-template-columns:1fr}.shipment-setup-head>span{width:56px;height:56px}.shipment-setup-head svg{width:29px}}
.shipment-source-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.shipment-source{cursor:pointer}.shipment-source>input{position:absolute;width:1px!important;height:1px;opacity:0;pointer-events:none}.shipment-source>span{display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:1px 9px;min-height:82px;padding:13px;border:1px solid #dce5df;border-radius:17px;background:#fff;color:#173c31}.shipment-source svg{grid-row:1/3;width:28px;height:28px;color:#07835c}.shipment-source small{color:#70817b;font-size:11px;font-weight:600}.shipment-source.active>span{border-color:#07885e;background:#eef8f1;box-shadow:0 0 0 2px #07885e22}.shipment-review{max-width:1100px}.shipment-review-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.shipment-review-head button{width:auto}.shipment-review-item{display:grid;grid-template-columns:1.1fr 2fr .65fr .8fr auto;align-items:end;gap:10px;margin:0 0 10px;padding:14px;border:1px solid #dce5df;border-radius:17px}.shipment-review-item legend{padding:0 8px;color:#087a57;font-weight:900}.shipment-review-item label,.shipment-review-item input{min-width:0}.shipment-review-remove{min-height:46px}.shipment-review-warning{padding:12px 14px;border-radius:14px;background:#fff5d9;color:#765000;font-weight:700}.shipment-review .action-row{display:grid;grid-template-columns:1fr 2fr;gap:10px}.shipment-review .action-row button{width:100%}
@media(max-width:620px){.shipment-source-options{grid-template-columns:1fr}.shipment-source>span{min-height:68px}.shipment-review-head{align-items:stretch;flex-direction:column}.shipment-review-head button{width:100%}.shipment-review-item{grid-template-columns:1fr 1fr}.shipment-review-item .wide{grid-column:1/3}.shipment-review-remove{grid-column:1/3}.shipment-review .action-row{grid-template-columns:1fr}.shipment-review .action-row button[type=submit]{grid-row:1}}
.shipment-file-clear{width:auto!important;justify-self:start;margin-top:-8px}.shipment-file-clear[hidden]{display:none!important}
.shipment-tools{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:10px;margin:0 0 12px}.shipment-tools label{margin:0}.shipment-tools input,.shipment-tools select{width:100%;min-height:50px;border:1px solid #dce5df;border-radius:16px;background:#fff}.shipment-mini-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:-8px 0 16px}.shipment-mini-summary span{display:flex;justify-content:center;gap:5px;padding:9px;border-radius:12px;background:#f1f6f2;color:#61736d;font-size:12px}.shipment-mini-summary b{color:#0a6f51}.shipment-item[data-shipment-barcode]{cursor:pointer}.shipment-item[data-shipment-barcode]:focus-visible{outline:3px solid #07885e55;outline-offset:2px}
@media(max-width:620px){.shipment-tools{grid-template-columns:1fr 135px}.shipment-tools input,.shipment-tools select{min-height:46px;font-size:13px;padding-left:12px;padding-right:10px}.shipment-mini-summary{gap:5px}.shipment-mini-summary span{display:grid;justify-items:center;gap:1px;padding:7px 3px;font-size:10px}}
@media(min-width:621px){.shipment-source-options{grid-template-columns:repeat(4,1fr)}}
.shipment-quantity-dialog{overflow-y:auto;overscroll-behavior:contain}.shipment-quantity-dialog .entry-form{padding-bottom:max(4px,env(safe-area-inset-bottom))}.shipment-quantity-dialog input[name=quantity]{scroll-margin-block:90px}
@media(max-width:620px){.shipment-quantity-dialog{width:calc(100% - 20px)!important;max-width:none!important}.shipment-quantity-dialog .entry-form button{position:relative;min-height:50px}}
.shipment-history{max-width:920px;margin:22px auto 0;padding:24px;border:1px solid #dce5df;border-radius:26px;background:#fff;box-shadow:0 16px 40px #173d3012}.shipment-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.shipment-history-head h2{margin:3px 0;font-size:27px}.shipment-history-head small{color:#6d7e78}.shipment-history-head>span{padding:8px 11px;border-radius:999px;background:#edf6ef;color:#087452;font-size:12px;font-weight:800}.shipment-history-list{display:grid;gap:10px}.shipment-history-card{display:grid!important;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:13px;width:100%;padding:14px!important;border:1px solid #dce5df!important;border-radius:18px!important;background:#fff!important;color:#123a30!important;text-align:left!important}.shipment-history-card:hover{border-color:#8ecab2!important;background:#f9fcf9!important}.shipment-history-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#eaf6e7;color:#087b58}.shipment-history-icon svg{width:27px}.shipment-history-card>span:nth-child(2){display:grid;gap:3px;min-width:0}.shipment-history-card>span:nth-child(2) strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}.shipment-history-card>span:nth-child(2) small{color:#70817a;font-size:11px}.shipment-history-card>span:last-child{display:grid;grid-template-columns:auto 18px;align-items:center;justify-items:end;gap:0 8px}.shipment-history-card>span:last-child b{font-size:20px}.shipment-history-card>span:last-child small{grid-column:1;font-size:10px;color:#70817a}.shipment-history-card>span:last-child i{grid-column:2;grid-row:1/3;font-size:28px;font-style:normal}.shipment-history-card>span.has-divergence b,.shipment-history-card>span.has-divergence small{color:#bd3434}
@media(max-width:620px){.shipment-history{padding:18px 13px;border-radius:22px}.shipment-history-head{display:grid}.shipment-history-head h2{font-size:23px}.shipment-history-head>span{justify-self:start}.shipment-history-card{grid-template-columns:43px minmax(0,1fr) auto;padding:11px!important;gap:9px}.shipment-history-icon{width:43px;height:43px}.shipment-history-card>span:nth-child(2) strong{font-size:13px}.shipment-history-card>span:nth-child(2) small{font-size:9px}.shipment-history-card>span:last-child b{font-size:17px}}
.shipment-completed-actions{display:flex;gap:10px;margin:0 0 16px}.shipment-completed-actions button{min-height:44px}.shipment-back-to-list{display:inline-flex!important;align-items:center;padding:9px 15px!important;border-radius:14px!important}.shipment-separator-info{display:flex;align-items:center;gap:11px;margin:-4px 0 17px;padding:12px 15px;border:1px solid #dce7df;border-radius:16px;background:#f4faf5}.shipment-separator-info>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#e3f4e7;color:#087b58}.shipment-separator-info svg{width:22px}.shipment-separator-info>div{display:grid;gap:1px}.shipment-separator-info small{color:#70817a}.shipment-separator-info strong{font-size:15px}
@media(max-width:620px){.shipment-completed-actions{display:grid;grid-template-columns:1fr}.shipment-completed-actions button{width:100%;justify-content:center;font-size:13px}.shipment-separator-info{margin-top:-5px}}
