@font-face{font-family:Jakarta;src:url('/assets/jakarta.woff2') format('woff2');font-weight:200 800;font-display:swap}
:root{--ink:#15323e;--muted:#506772;--brand:#2b6098;--brand-dark:#174875;--surface:#fff;--canvas:#f2f6f7;--line:#dce5e8;--teal:#135c58;--pale:#e7f4ee;--warn:#785205;--warn-bg:#fff4da;--danger:#983541;--danger-bg:#fcebee;--radius:16px;--sidebar:232px}
*,*::before,*::after{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font:14px/1.5 Jakarta,system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}a{color:var(--brand-dark);text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #4796d3;outline-offset:3px}img{display:block;max-width:100%}svg{display:block;width:20px;height:20px;flex:none}h1,h2,h3,p{margin:0}h1{font-size:clamp(27px,3.5vw,43px);letter-spacing:-.055em;line-height:1.14}h2{font-size:19px;line-height:1.3;letter-spacing:-.025em}h3{font-size:15px;line-height:1.4}small,.subtle{color:var(--muted)}[hidden]{display:none!important}.skip{position:fixed;left:16px;top:12px;z-index:10;transform:translateY(-160%);padding:12px;background:white}.skip:focus{transform:none}.loading{padding:50px;text-align:center}.stack{display:grid;gap:14px}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.spread{display:flex;justify-content:space-between;align-items:center;gap:16px}.text-link{font-weight:700;display:inline-flex;gap:6px;align-items:center}.text-link svg{width:16px;height:16px}.btn{min-height:42px;padding:9px 15px;border:1px solid transparent;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;white-space:normal;text-align:center}.btn svg{width:17px;height:17px}.primary{background:var(--brand);color:white}.primary:hover{background:var(--brand-dark)}.secondary{background:#fff;border-color:var(--line);color:var(--ink)}.secondary:hover,.ghost:hover{background:#eaf2f5}.ghost{background:transparent;color:var(--muted)}.danger-button{background:var(--danger-bg);color:var(--danger);border-color:#f1c8ce}.chip{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:#e8eef2;color:#365160;padding:4px 9px;font-size:11px;font-weight:750;white-space:nowrap}.chip.ok{background:var(--pale);color:var(--teal)}.chip.low{background:var(--warn-bg);color:var(--warn)}.chip.out{background:var(--danger-bg);color:var(--danger)}.chip .dot{width:6px;height:6px;border-radius:50%;background:currentColor}
.shell{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);min-height:100vh}.rail{background:#fff;border-right:1px solid var(--line);min-width:0;display:flex;flex-direction:column;gap:26px;padding:24px 15px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);padding:3px 8px;line-height:1.2;min-width:0}.brand img{width:40px;height:40px;object-fit:contain}.brand strong{font-size:15px;font-weight:800;display:block}.brand small{font-size:11px;display:block;margin-top:4px}.nav{display:grid;gap:5px}.nav a{color:var(--muted);display:flex;align-items:center;gap:11px;min-height:44px;padding:10px 12px;border-radius:9px;font-weight:700}.nav a svg{width:18px;height:18px}.nav a[aria-current=page]{color:var(--brand-dark);background:#e7f0f8}.nav a:hover{background:#f1f6f8}.rail-end{margin-top:auto;display:grid;gap:11px}.rail-note{padding:13px;background:#edf5f4;border-radius:12px;font-size:11px;color:#365f5c;display:flex;align-items:flex-start;gap:9px}.rail-note svg{width:16px;height:16px}.rail-note strong{display:block;font-size:12px;margin-bottom:3px}.logout{justify-content:flex-start}.topbar{height:66px;background:#fff;border-bottom:1px solid var(--line);padding:0 clamp(17px,3vw,40px);display:flex;align-items:center;justify-content:space-between;gap:12px}.breadcrumb{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.breadcrumb strong{color:var(--ink)}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e0edf9;color:var(--brand-dark);font-weight:800}.content{width:min(100%,1370px);margin:auto;padding:27px clamp(16px,3vw,40px) 38px;min-width:0}.content>*+*{margin-top:22px}.section-head p{margin-top:5px;color:var(--muted)}.section-head h1{font-size:clamp(26px,3vw,35px)}
.hero{isolation:isolate;position:relative;overflow:hidden;min-height:205px;display:flex;align-items:center;border-radius:var(--radius);padding:28px clamp(20px,4vw,38px);background:#133d4c;color:white}.hero::before{content:'';position:absolute;z-index:-2;inset:0;background:url('/assets/acuario.webp') 65% 51%/cover no-repeat}.hero::after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#102f40 0%,#12394af5 37%,#153c4eb0 65%,#153c4e2a 100%)}.hero .intro{max-width:600px}.hero p{margin-top:10px;color:#e2f3f3;max-width:51ch}.hero .row{margin-top:20px}.hero .primary{background:#f5fcff;color:#163d59}.hero .primary:hover{background:#dceff6}.hero .secondary{background:#102f40bb;color:#fff;border-color:#b4d0d8}.hero .secondary:hover{background:#174c61}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.metric{display:flex;align-items:flex-start;gap:12px;background:white;border:1px solid var(--line);border-radius:13px;padding:15px;color:var(--ink);text-align:left}.metric:hover{border-color:#9dbccd}.metric p{font-size:11px;font-weight:700;color:var(--muted);margin-top:2px}.metric strong{display:block;font-size:25px;font-weight:800;letter-spacing:-.06em;font-variant-numeric:tabular-nums}.icon-box{width:36px;height:36px;border-radius:9px;display:grid;place-items:center;background:#eaf2fa;color:var(--brand-dark);flex:none}.icon-box svg{width:18px;height:18px}.icon-box.ok{background:var(--pale);color:var(--teal)}.icon-box.low{background:var(--warn-bg);color:var(--warn)}.icon-box.out{background:var(--danger-bg);color:var(--danger)}.split{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(280px,1fr);gap:16px;align-items:start}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);min-width:0}.card-head{padding:17px 19px}.card-head p{margin-top:3px;color:var(--muted);font-size:12px}.card-body{padding:18px}.table-wrap{overflow:auto;border-top:1px solid var(--line);border-radius:0 0 var(--radius) var(--radius)}table{border-collapse:collapse;width:100%;text-align:left}th{color:var(--muted);font-size:11px;white-space:nowrap;background:#f7fafb;font-weight:750}td,th{padding:10px 13px}td{border-top:1px solid #eaf0f2;font-size:13px}td.number,th.number{text-align:right;font-variant-numeric:tabular-nums}.product-name{display:flex;align-items:center;gap:10px;min-width:150px}.product-name strong,.product-name small{display:block}.product-name small{font-size:10px;margin-top:2px}.product-name .icon-box{width:32px;height:32px}.activity{list-style:none;margin:0;padding:0 16px 8px}.activity li{display:flex;align-items:center;gap:11px;border-top:1px solid #eaf0f2;padding:13px 1px}.activity li>div:nth-child(2){flex:1;min-width:0}.activity strong,.activity small{display:block}.activity small{font-size:11px}.delta{font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}.plus{color:var(--teal)}.minus{color:var(--danger)}.empty{padding:24px;color:var(--muted);text-align:center}.toolbar{padding:14px 17px;display:flex;align-items:end;gap:12px;flex-wrap:wrap}.toolbar>label:first-child{flex:1;min-width:170px}.field{display:grid;gap:5px;min-width:0;font-weight:700;font-size:12px}.field small{font-weight:500}.field input,.field select,.field textarea,td select,td input{width:100%;border:1px solid #bacdd3;border-radius:8px;min-height:40px;padding:8px 10px;color:var(--ink);background:white}.field textarea{resize:vertical;min-height:110px}.field input[type=file]{padding:8px}.field input::placeholder,.field textarea::placeholder{color:#63777f}.field-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:13px}.stage{margin:0;padding:0;list-style:none;display:flex;gap:9px;flex-wrap:wrap}.stage li{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);font-weight:700}.stage li+li::before{content:'';width:17px;height:1px;background:#b4c7d1;margin:0 3px}.stage span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#e4edf1;color:#49616d}.stage .current{color:var(--brand-dark)}.stage .current span{background:var(--brand);color:white}.segmented{display:flex;flex-wrap:wrap;gap:5px;padding:4px;border-radius:10px;background:#eff5f7}.segmented button{padding:8px 12px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--muted);font-weight:700;min-height:36px}.segmented button[aria-pressed=true]{background:white;border-color:var(--line);color:var(--brand-dark)}.upload{padding:14px;border:1px dashed #a3bfc9;border-radius:12px;background:#f6fafb}.upload .field{margin:9px 0}.upload-preview{max-height:165px;max-width:100%;object-fit:contain;background:#edf2f4;margin:8px 0;border-radius:5px}.notice{border-radius:10px;background:#eaf3fa;color:#244f6b;padding:11px 13px;font-size:12px}.notice.error{background:var(--danger-bg);color:var(--danger)}.notice.warn{background:var(--warn-bg);color:var(--warn)}.notice.success{background:var(--pale);color:var(--teal)}.editor-table td{vertical-align:top}.editor-table select{min-width:177px}.editor-table .units{width:85px;min-width:70px}.editor-table .unit{min-width:124px}.editor-table .btn{min-height:36px;padding:7px}.editor-table .issue{color:var(--danger);display:block;margin-top:3px;font-size:11px}.editor-table td>small{display:block;margin-bottom:3px}.editor-actions{padding:15px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.review-summary{padding:12px 16px;border-top:1px solid var(--line)}.draft-tip{font-size:12px;color:var(--muted)}.history-list{display:grid;gap:8px}.history-list details{border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden}.history-list summary{padding:13px 16px;cursor:pointer}.history-list summary::marker{color:var(--brand)}.history-list summary strong{margin-right:9px}.history-list .history-detail{padding:0 16px 13px}.history-list .meta{color:var(--muted);margin:6px 0 12px;font-size:12px}.history-list .meta+div{margin-bottom:10px}.toast{position:fixed;right:18px;bottom:18px;max-width:min(440px,calc(100% - 36px));background:#113a48;color:white;padding:12px 16px;border-radius:10px;z-index:5;box-shadow:0 5px 22px #12334220}.toast.error{background:#872e3b}
.login{min-height:100vh;display:grid;place-items:center;padding:24px;background:#e7f0f3}.login-card{width:min(850px,100%);display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border-radius:20px;background:white;border:1px solid var(--line)}.login-photo{background:linear-gradient(180deg,transparent 50%,#0e334a),url('/assets/acuario.webp') 74% center/cover no-repeat;min-height:400px}.login-body{padding:38px clamp(20px,4vw,42px);align-self:center}.login-body>*+*{margin-top:15px}.login-body .brand{padding:0;margin-bottom:24px}.login-body h1{font-size:32px}.login-body .btn{width:100%}.login-body .subtle{font-size:13px}.shop-top{background:#fff;border-bottom:1px solid var(--line);padding:12px max(16px,calc((100vw - 1200px)/2));display:flex;align-items:center;justify-content:space-between;gap:8px}.shop-main{max-width:1250px;margin:auto;padding:24px clamp(16px,3vw,32px) 40px}.shop-main>*+*{margin-top:20px}.shop-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(245px,310px);gap:17px;align-items:start}.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.shop-product{padding:15px;display:grid;gap:7px;align-content:start}.shop-product .icon-box{width:46px;height:46px}.shop-product .icon-box svg{width:24px;height:24px}.shop-product .chip{justify-self:start}.shop-product .btn{margin-top:5px;width:100%}.shop-product .price{font-weight:800;font-size:16px}.basket{position:sticky;top:15px;padding:15px;display:grid;gap:12px}.basket ul{list-style:none;padding:0;margin:0}.basket li{padding:9px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:8px}.basket li>div:first-child{min-width:0}.basket li small{display:block}.basket .qty{display:flex;align-items:center;gap:5px}.basket .qty button{border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);min-width:28px;min-height:28px}.basket .total{border-top:1px solid var(--line);padding-top:11px;font-weight:800}.basket .btn{width:100%}.order-list{padding:0 16px 13px}.order-list p{padding:8px 0;border-top:1px solid var(--line);font-size:13px}
@media(max-width:1160px){:root{--sidebar:195px}.rail{padding-inline:11px}.metric{padding:11px;gap:8px}.metric .icon-box{width:31px;height:31px}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.split{grid-template-columns:1fr}.metrics{gap:8px}.metric{flex-direction:column;gap:5px}.metric strong{font-size:23px}.shop-layout{grid-template-columns:minmax(0,1fr) 245px}}
@media(max-width:720px){.shell{display:block}.rail{position:static;height:auto;padding:12px 14px 8px;border-right:0;border-bottom:1px solid var(--line);gap:8px}.rail .brand{padding:0}.rail .brand img{width:31px;height:31px}.rail-end{display:none}.nav{display:flex;gap:3px;overflow:auto;scrollbar-width:thin}.nav a{font-size:11px;white-space:nowrap;gap:5px;padding:7px 8px;min-height:36px}.nav a svg{width:14px;height:14px}.topbar{height:auto;min-height:53px}.topbar .avatar{display:none}.topbar .btn{min-height:34px;font-size:11px;padding:6px 9px}.content{padding-top:16px}.content>*+*{margin-top:14px}.hero{padding:18px;min-height:190px}.hero::after{background:linear-gradient(90deg,#102f40fa,#12394adb 62%,#153c4e80)}.hero p{font-size:12px}.hero .row{gap:7px;margin-top:14px}.hero .btn{min-height:36px;padding:7px 9px;font-size:11px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{flex-direction:row;align-items:center;gap:7px}.metric p{font-size:10px}.metric strong{font-size:20px}.card-head{padding:13px}.card-body{padding:13px}.field-grid{grid-template-columns:1fr}.login-card{grid-template-columns:1fr}.login-photo{min-height:140px;background-position:70% 49%}.login-body{padding:24px}.login-body .brand{margin-bottom:15px}.shop-layout{grid-template-columns:1fr}.basket{position:static}.shop-top .brand img{width:32px;height:32px}.shop-top .btn{font-size:11px;padding:7px}.shop-main .hero{min-height:160px}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-product{padding:11px}.shop-product .btn{font-size:11px;padding:7px}.editor-table td,.editor-table th{padding:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.topbar .mobile-logout{display:none}.sample-document summary{cursor:pointer;color:var(--brand-dark);font-weight:700}.sample-document img{width:min(100%,470px);height:auto;margin-top:10px;border:1px solid var(--line);border-radius:8px}
@media(max-width:720px){.topbar .mobile-logout{display:inline-flex;padding:5px}.topbar .row{gap:4px}.editor-table,.editor-table tbody{display:block}.editor-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.editor-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-bottom:1px solid var(--line);padding:10px}.editor-table td{padding:0;border:0;min-width:0;text-align:left}.editor-table td:first-child{grid-column:1/-1}.editor-table td:nth-child(3){grid-column:span 2}.editor-table td:last-child{justify-self:end;align-self:end}.editor-table td[data-title]::before{content:attr(data-title);display:block;font-size:11px;color:var(--muted);font-weight:700;margin-bottom:3px}.editor-table select,.editor-table .units,.editor-table .unit{min-width:0;width:100%}.editor-table input,.editor-table select{font-size:16px}.section-head.spread{align-items:flex-start;flex-wrap:wrap}}
.skip{clip-path:inset(50%)}.skip:focus{clip-path:none}
@media(max-width:720px){.nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible}.nav a{justify-content:center;flex-direction:column;padding:6px 3px;min-width:0;gap:3px}.stage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.stage li{font-size:10px;gap:4px}.stage li+li::before{display:none}.stage span{width:21px;height:21px;flex:none}}
