@charset "UTF-8";
:root{--ink:#243d35;--muted:#6c766d;--green:#234c42;--paper:#f7f8f3;--border:#e1e5db;--orange:#a85828;--surface:white;--radius:16px;font-family:"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #d18d46;outline-offset:3px}button{border:0}button,a{touch-action:manipulation}[hidden]{display:none!important}.topbar{height:91px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 max(5.5vw,24px)}.brand{display:flex;gap:13px;align-items:center;text-decoration:none;color:var(--ink);font-size:22px;font-weight:700;letter-spacing:-.5px}.brand-icon{display:grid;place-items:center;position:relative;width:43px;height:45px;border-radius:13px;background:var(--green);color:#fff7e7;font-family:Georgia,serif;font-size:37px}.brand-icon span{color:#f1b76a;position:absolute;right:6px;bottom:6px}.brand small{font-size:9px;letter-spacing:2px;display:block;font-weight:600;margin-top:5px;color:var(--muted)}.header-actions{display:flex;gap:22px;align-items:center}.private-label{color:var(--muted);font-size:12px}.private-label:before{content:"";display:inline-block;width:7px;height:7px;background:#51776a;border-radius:50%;margin-right:8px}main{max-width:1400px;margin:0 auto;padding:38px max(5.5vw,24px) 24px}.intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:18px 0 28px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2.2px;color:#6b7e6e}h1{font-size:clamp(30px,3.1vw,43px);font-weight:600;letter-spacing:-1.6px;margin:12px 0}p{color:var(--muted);font-size:14px;line-height:1.6}h2{font-size:25px;font-weight:600;letter-spacing:-.6px;margin:8px 0 10px}.primary,.secondary{padding:13px 20px;border-radius:9px;font-size:13px;font-weight:600;white-space:nowrap}.primary{background:var(--green);color:white;box-shadow:0 3px 4px #234c4210}.primary:hover{background:#173b31}.primary span{margin-right:5px;font-size:19px;line-height:10px}.secondary{background:#eef1e9;color:var(--ink)}.text-button{background:transparent;color:var(--muted);font-size:13px;padding:9px}.text-button:hover{color:var(--green)}.search-wrap{display:flex;align-items:center;gap:13px;background:white;border:1px solid #dbe1d5;border-radius:12px;padding:0 20px;height:64px;box-shadow:0 3px 10px #243d3503}.search-wrap svg{width:23px;stroke:#7b887d;fill:none;stroke-width:1.7;flex-shrink:0}.search-wrap input{width:100%;height:100%;border:0;background:transparent;outline:none;font-size:15px;color:var(--ink)}.search-wrap:focus-within{outline:2px solid #94aa94;outline-offset:2px}.search-wrap input:focus-visible{outline:none}.key-hint{border:1px solid var(--border);font-size:13px;border-radius:5px;padding:2px 7px;color:#8e978c}.toolbar{display:flex;justify-content:space-between;align-items:center;margin:30px 0 26px;border-bottom:1px solid var(--border);gap:12px}.toolbar nav{display:flex;gap:28px;overflow:auto}.tab{padding:0 0 15px;background:none;color:var(--muted);font-size:13px;white-space:nowrap;border-bottom:2px solid transparent}.tab.active{color:var(--green);border-color:var(--green);font-weight:700}.tab span{display:inline-block;margin-left:5px;padding:3px 6px;background:#e9ede3;border-radius:5px;font-size:10px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.section-head h2{font-size:21px;margin:0}.section-head p{margin:7px 0 0;font-size:12px}.section-note{font-size:11px;color:var(--muted);white-space:nowrap}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.box-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:22px;text-align:left;position:relative;color:var(--ink);transition:transform .15s,border-color .15s,box-shadow .15s;min-height:231px;display:flex;flex-direction:column;align-items:flex-start}.box-card:hover{transform:translateY(-3px);border-color:#a5b7a1;box-shadow:0 9px 20px #234c4208}.card-top{display:flex;justify-content:space-between;width:100%;align-items:center;margin-bottom:16px}.box-icon{height:51px;width:57px;display:grid;place-items:center;border-radius:11px;background:var(--tint);color:var(--tone)}.box-icon svg{height:38px;width:38px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linejoin:round}.card-count{font-size:11px;color:var(--muted);background:#f5f6f1;padding:6px 9px;border-radius:6px}.box-card h3{font-size:18px;margin:0 0 7px;font-weight:650}.box-card p{font-size:12px;margin:0 0 15px;line-height:1.65;min-height:39px}.card-bottom{width:100%;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0e7;padding-top:12px;margin-top:auto;font-size:11px;color:var(--muted)}.card-bottom b{font-size:18px;font-weight:400;color:var(--ink)}.pending-dot{color:#a56831}.shelf-card{grid-column:1/-1;flex-direction:row;gap:22px;align-items:center;min-height:115px;background:#edf1e9}.shelf-card .card-top{width:auto;margin:0}.shelf-card p{min-height:0;margin:0}.shelf-card .card-bottom{width:auto;margin-left:auto;border:0;gap:20px;flex-shrink:0}.shelf-card .card-count{display:none}.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:12px;background:white}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-size:10px;color:var(--muted);letter-spacing:1px;text-transform:uppercase;padding:15px 18px;background:#f0f3eb;white-space:nowrap}td{padding:17px 18px;border-top:1px solid #edf0e8;vertical-align:middle}td strong{font-weight:600}td small{display:block;color:var(--muted);font-size:11px;margin-top:6px}.badges{display:flex;flex-wrap:wrap;gap:6px}.badge{background:#edf2e9;padding:6px 8px;border-radius:5px;font-size:11px;white-space:nowrap}.badge.current{background:#e5eee3;font-weight:600}.edit-button{background:#f0f3eb;border-radius:7px;padding:8px 12px;color:var(--green);font-size:12px}.pending{font-size:11px;color:#9a5625;background:#fff2df;border-radius:5px;padding:4px 6px;display:inline-block}.back{margin-left:-9px;margin-bottom:12px}.empty{text-align:center;background:white;border:1px dashed #cfd8c9;border-radius:14px;padding:50px 20px}.empty h3{font-size:18px}.notice{background:#fcf0d9;border:1px solid #efd8ae;border-radius:9px;padding:11px 15px;display:flex;gap:12px;font-size:12px;line-height:1.5;color:#795424;margin-bottom:25px}.notice strong{white-space:nowrap}.status:empty{display:none}.status{border-radius:8px;background:#e8efe2;color:#345036;padding:12px 15px;margin-bottom:20px;font-size:13px}.status.error{background:#fbe9e3;color:#97402d}footer{display:flex;justify-content:space-between;gap:20px;margin-top:32px;border-top:1px solid var(--border);padding-top:18px;font-size:10px;color:var(--muted);line-height:1.7}.loading{padding:70px;text-align:center}.login{max-width:450px;margin:65px auto}.login h1{font-size:35px}.login form{display:flex;flex-direction:column;gap:12px}.login .primary{margin-top:9px}.login label{margin:0}input:not([type=checkbox]){min-width:0}dialog{border:1px solid var(--border);border-radius:18px;padding:28px;width:min(600px,calc(100vw - 24px));max-height:90dvh;color:var(--ink);box-shadow:0 20px 80px #0002}dialog::backdrop{background:#18372b65;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px}.icon-button{background:#f1f4ed;border-radius:50%;font-size:25px;width:34px;height:34px;color:var(--muted)}label{display:block;font-size:12px;font-weight:600;margin:16px 0 7px}#product-name,#product-total,#password{width:100%;padding:12px;border:1px solid #d2dccd;border-radius:8px;color:var(--ink);background:white}.help{font-size:11px;margin:6px 0 12px}fieldset{border:0;padding:0;margin:22px 0 10px}legend{font-size:14px;font-weight:600}#allocation-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}.allocation-row{display:flex;gap:6px;align-items:center;border:1px solid var(--border);padding:7px 10px;border-radius:8px;min-width:0}.allocation-row.checked{border-color:#94aa94;background:#f3f6ef}.allocation-row label{margin:0;display:flex;gap:7px;align-items:center;flex:1;font-size:12px;white-space:nowrap}.allocation-row input[type=checkbox]{accent-color:var(--green);width:16px;height:16px}.allocation-row input[type=number]{width:62px;border:1px solid #ccd6c6;border-radius:5px;padding:6px;font-size:13px;background:white;color:var(--ink)}.allocation-summary{background:#f0f3eb;border-radius:8px;padding:13px;font-size:13px}.allocation-summary.invalid{background:#fff0df;color:#915425}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--border);padding-top:18px;margin-top:18px}.error{color:#a5412d;font-size:12px}.error:empty{display:none}@media(min-width:1500px){main{padding-left:50px;padding-right:50px}}@media(max-width:950px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.intro{align-items:flex-start}.toolbar nav{gap:18px}.section-note{display:none}}@media(max-width:600px){.topbar{height:77px;padding:0 20px}.brand{font-size:20px}.private-label{display:none}main{padding:22px 18px}.intro{display:block;margin:13px 0 20px}.intro .primary{margin-top:6px}h1{font-size:32px;letter-spacing:-1px}.intro p{font-size:13px}.notice{display:block;font-size:11px}.notice strong{display:block}.search-wrap{padding:0 13px;height:58px}.search-wrap input{font-size:13px}.key-hint{display:none}.toolbar{align-items:flex-start;margin-top:24px;gap:5px}.toolbar nav{gap:16px}.tab{font-size:12px}.toolbar>.text-button{font-size:0;padding:0;width:25px}.toolbar>.text-button:first-letter{font-size:22px}.grid{gap:11px}.box-card{padding:15px;min-height:227px}.box-icon{height:44px;width:45px}.box-icon svg{width:32px;height:32px}.card-count{font-size:9px;padding:4px}.box-card h3{font-size:17px}.box-card p{font-size:11px}.card-bottom{font-size:10px}.shelf-card{padding:18px;gap:14px;min-height:105px}.shelf-card .card-bottom{font-size:0;margin-left:auto;gap:0}.shelf-card .card-bottom b{font-size:22px}.shelf-card p{max-width:190px}td,th{padding:13px 12px}table{min-width:650px}footer{display:block}footer span{display:block;margin-bottom:5px}dialog{padding:21px}#allocation-fields{grid-template-columns:1fr}.section-head h2{font-size:21px}.section-head p{font-size:11px}.login{margin:30px auto}.loading{padding:50px 0}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

#distribute{margin-bottom:12px}
/* Identity and sign-in, inspired by the Salón del Reino reference. */
.brand-logo{width:48px;height:48px;flex-shrink:0}.brand small{letter-spacing:1.2px;font-size:9px}
body.login-screen{background:radial-gradient(ellipse at 8% 2%,#dfe6d7 0,transparent 48%),radial-gradient(ellipse at 95% 95%,#ece2cd 0,transparent 48%),#f4f3eb;min-height:100dvh}
.login-screen .topbar{display:none}.login-screen main{max-width:900px;padding:58px 36px 30px}.login-screen .login{max-width:760px;margin:0 auto}
.login-brand{display:flex;gap:20px;align-items:center;margin:0 0 28px}.login-brand img{border-radius:21px;box-shadow:0 10px 22px #3b503020;flex-shrink:0}.login-brand p{color:#526447;font-size:12px;font-weight:700;letter-spacing:.8px;margin:0 0 6px}.login-brand h1{font-size:41px;letter-spacing:-1.2px;color:#29372a;margin:0 0 4px;line-height:1.1;font-weight:700}.login-brand span{font-size:13px;color:#737869}
.login-card{padding:25px;background:#fffefa;border:1px solid #d7decb;border-radius:15px;box-shadow:0 22px 60px #46573912}.welcome{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;background:#edf1e6;border-radius:9px;margin-bottom:21px}.welcome h2{font-size:24px;margin:0;letter-spacing:-.4px;color:#34432f}.welcome span{font-size:12px;color:#788368}
.login #login-form{display:block;border:1px solid #dde2d2;border-radius:10px;padding:23px 24px;background:#fffffc}.login #login-form h3{font-size:22px;font-weight:650;letter-spacing:-.4px;margin:0 0 6px;color:#29372a}.login-intro{font-size:12px;margin:0 0 20px}.login #login-form label{color:#59664f;font-size:13px;margin:15px 0 7px;font-weight:650}
#username,#password{width:100%;height:47px;background:#f3f5ec;border:1px solid #d6ddc9;border-radius:8px;padding:11px 13px;color:#2e4029;font-size:14px}#username::placeholder,#password::placeholder{color:#8a9380}#username:focus,#password:focus{outline:2px solid #9bab86;outline-offset:2px;background:#f9fbf5}
.login #login-form .primary{width:100%;margin-top:23px;height:46px;background:#5b704e;border-radius:8px;font-size:14px;position:relative}.login #login-form .primary:hover{background:#465d3a}.login #login-form .primary span{position:absolute;right:18px;top:18px;font-size:20px;font-weight:400}.login-footer{font-size:11px;text-align:center;color:#7b806f;margin:20px 0}.login-footer span{color:#879871;font-size:22px;vertical-align:-2px;margin-right:5px}.demo-login{padding:12px 15px;font-size:11px;line-height:1.6;background:#f0eadc;border:1px solid #e3dac6;border-radius:8px;color:#726b59;margin-top:20px}.login #login-error{margin-bottom:0}
@media(max-width:600px){.login-screen main{padding:32px 18px 22px}.login-brand{gap:14px;margin-bottom:23px}.login-brand img{width:70px;height:70px;border-radius:18px}.login-brand h1{font-size:32px}.login-brand p{font-size:9px;letter-spacing:.5px}.login-brand span{font-size:11px}.login-card{padding:15px;border-radius:13px}.welcome{padding:15px;margin-bottom:15px}.welcome h2{font-size:22px}.welcome span{font-size:10px}.login #login-form{padding:19px 16px}.login #login-form h3{font-size:20px}.brand small{font-size:8px;letter-spacing:.7px}}
/* Supplied wordmark and account management. */
.brand-logo.supplied-logo{width:340px;max-width:45vw;height:75px;object-fit:contain}.login-brand.supplied-brand{margin-bottom:14px}.login-brand.supplied-brand img{width:100%;height:auto;border-radius:0;box-shadow:none}.header-actions{gap:12px}
#users-dialog{width:min(850px,calc(100vw - 24px))}#users-dialog>p{font-size:13px}#users-list{margin:18px 0}#user-form{margin-top:24px;padding:20px;background:#f5f6ef;border:1px solid var(--border);border-radius:12px}#user-form h3{margin-top:0}#account-name,#account-password,#account-role{width:100%;padding:11px 12px;border:1px solid #cfd9c8;border-radius:7px;background:white;color:var(--ink);font:inherit}#user-form .active-account{display:flex;gap:9px;align-items:center;margin-top:19px}#account-active{accent-color:var(--green);width:17px;height:17px}#users-list table{min-width:530px}@media(max-width:600px){.brand-logo.supplied-logo{width:230px;max-width:51vw;height:67px}.header-actions{gap:2px}.header-actions .text-button{font-size:12px;padding:7px}.login-brand.supplied-brand{margin:0 0 15px}.login-screen main{padding-top:25px}#user-form{padding:15px}}
