@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ba9851c3c22cd980-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/21350d82a1f187e9-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/8e9860b6e62d6359-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter Fallback;src:local("Arial");ascent-override:90.44%;descent-override:22.52%;line-gap-override:0.00%;size-adjust:107.12%}.__className_f367f3{font-family:Inter,Inter Fallback;font-style:normal}.__variable_f367f3{--font-sans:"Inter","Inter Fallback"}@font-face{font-family:"Instrument Serif";font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/5ece437c7024c161-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:"Instrument Serif";font-style:italic;font-weight:400;font-display:swap;src:url(/_next/static/media/9cc5b37ab1350db7-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:"Instrument Serif";font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/35f3de0ebb1cfc70-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:"Instrument Serif";font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/e6099e249fd938cc-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:"Instrument Serif Fallback";src:local("Times New Roman");ascent-override:117.94%;descent-override:36.93%;line-gap-override:0.00%;size-adjust:83.94%}.__className_1f5468{font-family:"Instrument Serif","Instrument Serif Fallback";font-weight:400}.__variable_1f5468{--font-display:"Instrument Serif","Instrument Serif Fallback"}:root{color-scheme:light;--portal-ink:#23251f;--portal-muted:#5b6258;--portal-bg:#f2f0e8;--portal-surface:rgba(255,255,255,0.9);--portal-surface-strong:rgba(242,240,232,0.96);--portal-border:rgba(35,37,31,0.1);--portal-shadow:0 18px 42px rgba(35,37,31,0.08);--portal-amber:#7a9e7a;--portal-teal:#5f6d58;--portal-slate:#23251f;--portal-radius-lg:28px;--portal-radius-md:20px;--portal-radius-sm:14px;--portal-sidebar-width:220px;--portal-sidebar-collapsed-width:72px;--portal-ink-soft:#4f564d;--portal-surface-soft:#fbfaf7;--portal-surface-card:rgba(255,255,255,0.88);--portal-line:rgba(95,109,88,0.18);--portal-line-strong:rgba(95,109,88,0.24);--portal-salvia:#7a9e7a;--portal-olive:#5f6d58;--portal-olive-strong:#55604f;--portal-ok-ink:#44503c;--portal-warn-ink:#8a5b18;--portal-danger-ink:#8a3d2f;--portal-shadow-card:0 22px 52px rgba(15,23,42,0.08);--portal-touched-soft:rgba(234,162,86,0.22);--portal-touched-line:rgba(213,132,52,0.9);--portal-review-soft:rgba(231,142,52,0.26);--portal-review-line:rgba(198,112,34,0.95);--ui-bg:var(--portal-bg);--ui-ink:var(--portal-ink);--ui-ink-soft:var(--portal-ink-soft);--ui-muted:var(--portal-muted);--ui-surface:var(--portal-surface-card);--ui-surface-soft:var(--portal-surface-soft);--ui-line:var(--portal-line);--ui-line-strong:var(--portal-line-strong);--ui-accent:var(--portal-salvia);--ui-accent-deep:var(--portal-olive);--ui-touched-soft:var(--portal-touched-soft);--ui-touched-line:var(--portal-touched-line);--ui-review-soft:var(--portal-review-soft);--ui-review-line:var(--portal-review-line);--ui-shadow:var(--portal-shadow-card);--ui-radius-lg:var(--portal-radius-lg);--ui-radius-md:var(--portal-radius-md);--ui-radius-sm:var(--portal-radius-sm);--ui-font-display:var(--font-display);--ui-font-sans:var(--font-sans);--ui-space-1:6px;--ui-space-2:10px;--ui-space-3:16px;--ui-space-4:22px;--ui-space-5:32px}*{box-sizing:border-box}html{min-height:100%}body{margin:0;min-height:100vh;font-family:var(--font-sans),"Segoe UI",-apple-system,BlinkMacSystemFont,sans-serif;background:var(--portal-bg);color:var(--portal-ink)}h1,h2{font-family:var(--font-display),Georgia,"Times New Roman",serif;font-weight:400}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.portal-login-shell,.portal-shell-page{min-height:100vh;padding:0}.portal-shell{width:100%;display:block;padding:0}.portal-main-panel{min-width:0;display:grid;grid-gap:20px;gap:20px;margin-left:var(--portal-sidebar-width);padding:20px 28px 28px;position:relative;z-index:1}.portal-surface{background:var(--portal-surface);border:1px solid var(--portal-border);border-radius:var(--portal-radius-lg);box-shadow:var(--portal-shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.portal-kicker{margin:0 0 6px;text-transform:uppercase;letter-spacing:.18em;font-size:.72rem;color:var(--portal-muted)}.portal-dashboard-hero h1,.portal-home-hero h1,.portal-login-intro h1,.portal-login-panel h2,.portal-section-heading h2,.portal-sidebar-title{margin:0;line-height:1.05}.portal-dashboard-hero p,.portal-dashboard-note p,.portal-home-hero p,.portal-login-intro p,.portal-login-lead,.portal-login-panel p,.portal-section-subtitle{color:var(--portal-muted)}body[data-portal-sidebar-collapsed=true]{--portal-sidebar-width:var(--portal-sidebar-collapsed-width)}.portal-sidebar{position:fixed;top:0;left:0;bottom:0;width:var(--portal-sidebar-width);padding:12px 10px 10px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;grid-gap:10px;gap:10px;background:var(--portal-amber);border-right:1px solid rgba(35,37,31,.14);box-shadow:none;border-radius:0;overflow:visible;z-index:30;transition:width .18s ease,padding .18s ease,background-color .18s ease}.portal-sidebar[data-collapsed=true]{padding-inline:8px}.portal-sidebar-header{display:flex;align-items:flex-start;width:100%;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;transition:background-color .16s ease,opacity .16s ease}.portal-sidebar-header:focus-visible,.portal-sidebar-header:hover{background:rgba(255,255,255,.04)}.portal-sidebar-brand{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;grid-gap:12px;gap:12px;width:100%;min-width:0;color:#f8f6ef}.portal-sidebar-brand-mark{display:grid;place-items:center;width:54px;height:54px;border-radius:0;background:transparent;border:0;overflow:hidden}.portal-sidebar-brand-image{width:auto;height:100%;max-height:42px;object-fit:contain;filter:brightness(0) invert(1)}.portal-sidebar-brand-copy{display:grid;grid-gap:3px;gap:3px;min-width:0;padding-top:4px}.portal-sidebar-brand-copy span,.portal-sidebar-brand-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal-sidebar-brand-copy strong{font-family:var(--font-sans),"Segoe UI",sans-serif;font-size:1.05rem;line-height:1.05;font-weight:600;letter-spacing:.01em}.portal-sidebar-brand-copy span{font-family:var(--font-display),Georgia,serif;font-style:italic;font-size:1.02rem;font-weight:400;line-height:1.1;color:rgba(248,246,239,.92)}.portal-sidebar-nav{display:grid;grid-gap:12px;gap:12px;align-content:start;min-height:0;overflow-y:auto;padding-top:4px;padding-right:2px}.portal-sidebar-footer{display:flex;justify-content:flex-start;padding-top:8px;border-top:1px solid rgba(255,255,255,.12);position:relative}.portal-sidebar-group{display:grid;grid-gap:4px;gap:4px}.portal-sidebar-group-label{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin:0;padding:4px 8px;border:none;border-radius:6px;background:transparent;font-family:inherit;font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:rgba(248,246,239,.55);text-align:left;cursor:pointer;transition:background .15s ease,color .15s ease}.portal-sidebar-group-label:hover{background:rgba(248,246,239,.06);color:rgba(248,246,239,.82)}.portal-sidebar-section-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-sidebar-chevron{flex:0 0 auto;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.7;transform:rotate(90deg);transition:transform .15s ease}.portal-sidebar-group-label[aria-expanded=false] .portal-sidebar-chevron,.portal-sidebar-subgroup-label[aria-expanded=false] .portal-sidebar-chevron{transform:rotate(0deg)}.portal-sidebar-group-body{display:grid;grid-gap:4px;gap:4px}.portal-sidebar-group-items{display:grid;grid-gap:2px;gap:2px}.portal-sidebar-subgroup{display:grid;grid-gap:4px;gap:4px;margin-top:4px;padding-left:8px;border-left:1px solid rgba(248,246,239,.12)}.portal-sidebar-subgroup-label{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin:0;padding:4px 8px;border:none;border-radius:6px;background:transparent;font-family:inherit;font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:rgba(248,246,239,.46);text-align:left;cursor:pointer;transition:background .15s ease,color .15s ease}.portal-sidebar-subgroup-label:hover{background:rgba(248,246,239,.06);color:rgba(248,246,239,.72)}.portal-sidebar-link{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;grid-gap:8px;gap:8px;min-height:34px;padding:6px 8px;border-radius:8px;color:rgba(248,246,239,.82);border:1px solid transparent;transition:background-color .16s ease,border-color .16s ease,color .16s ease}.portal-sidebar-link:focus-visible,.portal-sidebar-link:hover{background:rgba(255,255,255,.08);border-color:transparent;color:#ffffff}.portal-sidebar-link[data-active=true]{background:rgba(242,240,232,.96);border-color:rgba(35,37,31,.08);color:#23251f;box-shadow:0 6px 14px rgba(35,37,31,.12)}.portal-sidebar-link-icon{width:18px;height:18px;display:grid;place-items:center;color:currentColor}.portal-sidebar-link-icon svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.portal-sidebar-link-copy{display:block;min-width:0}.portal-sidebar-link-label{font-size:.82rem;font-weight:600;line-height:1.2}.portal-sidebar-link[data-active=true] .portal-sidebar-link-icon{color:#23251f}body[data-portal-sidebar-collapsed=true] .portal-sidebar{padding-inline:8px}body[data-portal-sidebar-collapsed=true] .portal-sidebar-brand{grid-template-columns:1fr}body[data-portal-sidebar-collapsed=true] .portal-sidebar-brand-copy,body[data-portal-sidebar-collapsed=true] .portal-sidebar-group-label,body[data-portal-sidebar-collapsed=true] .portal-sidebar-link-copy,body[data-portal-sidebar-collapsed=true] .portal-sidebar-subgroup-label{display:none}body[data-portal-sidebar-collapsed=true] .portal-sidebar-subgroup{padding-left:0;border-left:none}body[data-portal-sidebar-collapsed=true] .portal-sidebar-header{align-items:center;justify-content:center}body[data-portal-sidebar-collapsed=true] .portal-sidebar-brand-mark{width:100%;height:46px}body[data-portal-sidebar-collapsed=true] .portal-sidebar-link{grid-template-columns:1fr;justify-items:center;padding-inline:6px}body[data-portal-sidebar-collapsed=true] .portal-sidebar-link-icon{width:18px;height:18px}body[data-portal-sidebar-collapsed=true] .portal-sidebar-footer{justify-content:center}.portal-user-menu{position:relative;justify-self:start;align-self:end;cursor:pointer}.portal-user-menu-button{width:38px;height:38px;display:grid;place-items:center;padding:0;border:1px solid rgba(35,37,31,.1);border-radius:999px;background:rgba(252,251,247,.96);color:#23251f;box-shadow:none;cursor:pointer}.portal-user-menu-button svg{width:20px;height:20px;cursor:pointer}.portal-user-menu-button svg path{cursor:pointer}.portal-user-menu-dropdown{position:absolute;top:calc(100% + 12px);right:0;width:min(320px,calc(100vw - 32px));padding:16px;border-radius:22px;background:var(--portal-surface-strong);border:1px solid var(--portal-border);box-shadow:0 24px 60px rgba(35,37,31,.16);display:grid;grid-gap:14px;gap:14px;z-index:40}.portal-user-menu-dropdown-portal{position:fixed;width:min(320px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;z-index:2000;top:auto;right:auto;bottom:auto;left:auto;transform:none}.portal-sidebar-footer .portal-user-menu-dropdown{top:auto;right:auto;bottom:calc(100% + 12px);left:0}body[data-portal-sidebar-collapsed=true] .portal-sidebar-footer .portal-user-menu-dropdown{left:50%;transform:translateX(-50%)}.portal-user-menu-header{display:grid;grid-gap:3px;gap:3px}.portal-user-menu-kicker{margin:0;font-size:.72rem;text-transform:uppercase;letter-spacing:.16em;color:var(--portal-muted)}.portal-user-menu-header strong{font-size:1rem;line-height:1.2}.portal-user-menu-header span{color:var(--portal-muted);font-size:.88rem}.portal-user-menu-stats{display:flex;flex-wrap:wrap;gap:8px}.portal-user-menu-stats span{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;border:1px solid rgba(35,37,31,.1);background:rgba(255,255,255,.72);color:var(--portal-ink);font-size:.8rem;font-weight:700}.portal-user-menu-actions{display:grid;grid-gap:8px;gap:8px}.portal-user-menu-action{width:100%;min-height:42px;padding:0 12px;border-radius:14px;border:1px solid rgba(35,37,31,.1);background:rgba(255,255,255,.82);color:var(--portal-ink);display:inline-flex;align-items:center;justify-content:center;font-weight:700;cursor:pointer}.portal-user-menu-action:focus-visible,.portal-user-menu-action:hover{background:rgba(255,255,255,.98)}.portal-user-menu-logout{background:#f2f0e8}.portal-user-menu-logout:focus-visible,.portal-user-menu-logout:hover{background:#e9e5db}.portal-user-menu-action:disabled{cursor:wait;opacity:.72}.portal-content-stack{display:grid;grid-gap:20px;gap:20px;min-width:0}.portal-scope-panel{min-width:310px;padding:18px;border-radius:22px;background:var(--portal-surface-strong);border:1px solid var(--portal-border);display:grid;grid-gap:14px;gap:14px}.portal-scope-panel-copy h3{margin:0;font-size:1.05rem}.portal-scope-panel-copy p{margin:8px 0 0;color:var(--portal-muted)}.portal-scope-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.portal-field{display:grid;grid-gap:8px;gap:8px;font-weight:600}.portal-field span{font-size:.92rem}.portal-input,.portal-select{width:100%;min-height:48px;padding:0 14px;border-radius:14px;border:1px solid rgba(15,23,42,.16);background:rgba(255,255,255,.96);color:var(--portal-ink)}.portal-button:focus-visible,.portal-input:focus,.portal-select:focus{outline:2px solid rgba(201,115,22,.35);outline-offset:2px}.portal-button{min-height:48px;padding:0 18px;border:0;border-radius:14px;background:linear-gradient(180deg,#7a9e7a,#6b8a6b);color:#f2f0e8;font-weight:700;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease;box-shadow:0 14px 36px rgba(122,158,122,.24)}.portal-button:disabled{cursor:wait;opacity:.72;transform:none}.portal-button-secondary{background:linear-gradient(180deg,#23251f,#1b1d18);box-shadow:0 14px 30px rgba(35,37,31,.22)}.portal-dashboard-hero,.portal-home-hero{padding:24px;display:grid;grid-gap:18px;gap:18px}.portal-welcome{min-height:calc(100vh - 64px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px}.portal-welcome-lead{margin:0;font-family:var(--font-sans);font-size:1.05rem;letter-spacing:.06em;color:var(--portal-ink-soft)}.portal-welcome-title{margin:0;font-family:var(--font-display);font-weight:400;font-size:clamp(2.6rem,6vw,4.5rem);line-height:1.1;color:var(--portal-ink)}.portal-home-hero{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);background:var(--portal-surface-strong);border:1px solid var(--portal-border);box-shadow:var(--portal-shadow)}.portal-dashboard-hero-copy p,.portal-home-hero-copy p{max-width:65ch;margin:12px 0 0}.portal-dashboard-body,.portal-dashboard-hero-meta,.portal-home-hero-meta{display:grid;grid-gap:14px;gap:14px}.portal-home-hero-meta{grid-template-columns:repeat(3,minmax(0,1fr));align-items:flex-start;margin-top:6px}.portal-dashboard-hero-meta article{padding:18px;border-radius:20px;background:rgba(255,255,255,.62);border:1px solid rgba(15,23,42,.08)}.portal-dashboard-hero-meta strong{display:block;margin-bottom:6px;font-size:1.04rem}.portal-home-hero-meta span{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid rgba(35,37,31,.1);background:rgba(255,255,255,.72);color:var(--portal-ink);font-size:.9rem;font-weight:600}.portal-cards-section{display:grid;grid-gap:18px;gap:18px}.portal-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.portal-section-subtitle{margin:0}.portal-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.portal-dashboard-card{padding:20px;border-radius:24px;background:var(--portal-surface-strong);border:1px solid var(--portal-border);box-shadow:0 20px 44px rgba(35,37,31,.08);display:grid;grid-gap:12px;gap:12px;min-height:194px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.portal-dashboard-card:focus-visible,.portal-dashboard-card:hover{box-shadow:0 24px 60px rgba(35,37,31,.14);border-color:rgba(122,158,122,.26)}.portal-dashboard-card[data-tone=amber]{background:rgba(122,158,122,.08)}.portal-dashboard-card[data-tone=teal]{background:rgba(95,109,88,.08)}.portal-dashboard-card[data-tone=slate]{background:rgba(35,37,31,.06)}.portal-dashboard-card-footer,.portal-dashboard-card-topline{display:flex;align-items:center;justify-content:space-between;gap:12px}.portal-dashboard-card-code{font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;color:var(--portal-muted)}.portal-dashboard-card h3,.portal-dashboard-note h2,.portal-empty-state h3{margin:0}.portal-dashboard-card p{margin:0;color:var(--portal-muted)}.portal-dashboard-card-footer{margin-top:auto;font-size:.92rem;color:var(--portal-ink);font-weight:600}.portal-pill{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 12px;border-radius:999px;background:rgba(35,37,31,.08);font-size:.78rem;font-weight:700}.portal-empty-state{padding:24px;display:grid;grid-gap:10px;gap:10px}.portal-topnav-logout{margin-top:4px;background:#f2f0e8;color:#23251f;box-shadow:none;border:1px solid rgba(35,37,31,.12);justify-self:end}.admin-users-page{padding:24px;display:grid;grid-gap:20px;gap:20px}.admin-users-card,.admin-users-hero,.admin-users-section{background:rgba(255,255,255,.88);border:1px solid rgba(15,23,42,.08);border-radius:24px;box-shadow:0 22px 52px rgba(15,23,42,.08)}.admin-users-hero,.admin-users-section{padding:24px}.admin-users-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.admin-users-card-heading p,.admin-users-copy,.admin-users-help,.admin-users-meta{margin:0;color:var(--portal-muted)}.admin-users-notice{margin:0;padding:14px 18px;border-radius:18px;background:rgba(224,250,247,.92);border:1px solid rgba(15,118,110,.18);color:#0f766e;font-weight:600}.admin-users-section{display:grid;grid-gap:18px;gap:18px}.admin-users-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px}.admin-users-section-heading h3{margin:0}.admin-users-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.admin-users-form-create{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-users-actions,.admin-users-form button{grid-column:1/-1}.admin-users-card,.admin-users-grid{display:grid;grid-gap:16px;gap:16px}.admin-users-card{padding:20px}.admin-users-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.admin-users-meta{display:grid;grid-gap:4px;gap:4px;font-size:.92rem}.admin-users-actions{display:flex;gap:12px;flex-wrap:wrap}.admin-users-backlink{min-width:180px}.portal-empty-state-eyebrow{margin:0;text-transform:uppercase;letter-spacing:.16em;font-size:.72rem;color:var(--portal-muted)}.portal-dashboard-body{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-dashboard-note{padding:20px}.ui-dashboard{display:grid;grid-gap:18px;gap:18px;min-width:0}.ui-surface{padding:14px 8px 24px;background:transparent}.ui-page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:2px 2px 6px}.ui-page-heading h1{margin:0;line-height:1.1;font-size:clamp(2rem,3vw,2.5rem);letter-spacing:-.01em}.ui-page-heading p{margin:10px 0 0;color:var(--portal-muted);max-width:68ch}.ui-section-kicker,.ui-sidebar-kicker{margin:0 0 8px;text-transform:uppercase;letter-spacing:.18em;font-size:.72rem;color:#4f564d}.ui-layout{display:grid;grid-template-columns:minmax(280px,330px) minmax(0,1fr);grid-gap:18px;gap:18px;align-items:start}.ui-sidebar-panel{position:-webkit-sticky;position:sticky;top:16px;display:grid;grid-gap:16px;gap:16px;padding:18px;border-radius:24px;background:linear-gradient(180deg,#b7c19a,#aab48e);border:1px solid rgba(95,109,88,.18);box-shadow:0 18px 44px rgba(105,98,84,.12)}.ui-sidebar-copy h2{margin:0;color:#4f564d;font-size:1.1rem}.ui-sidebar-copy p{margin:8px 0 0;color:#4f564d}.ui-filters{display:grid;grid-gap:12px;gap:12px;border:0}.ui-filter-bar,.ui-filters{padding:0;background:transparent;box-shadow:none}.ui-filter-bar{display:flex;flex-wrap:wrap;gap:10px 12px;align-items:flex-end;border-radius:0;border:0}.ui-filter-bar>.ui-field{flex:1 1 150px;min-width:0}.ui-filter-bar>.ui-apply-button,.ui-filter-bar>.ui-reset-link{flex:0 0 auto}.ui-filter-bar .ui-apply-button,.ui-filter-bar .ui-field input,.ui-filter-bar .ui-field select,.ui-filter-bar .ui-multiselect>summary,.ui-filter-bar .ui-reset-link{min-height:40px}.ui-filter-bar .ui-field input,.ui-filter-bar .ui-field select,.ui-filter-bar .ui-multiselect>summary{border-radius:12px;padding:0 10px}.ui-filter-bar .ui-field select{-moz-appearance:none;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12'%3E%3Cpath d='M2 4.5h8L6 9z' fill='%237a8270'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:11px 11px;padding-right:30px}.ui-filter-bar .ui-field span{font-size:.82rem}.ui-filter-bar .ui-field input.ui-date-locked{background:rgba(251,250,247,.8);color:rgba(79,86,77,.72);cursor:pointer}.ui-filter-bar--grouped{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));grid-gap:14px 56px;gap:14px 56px;align-items:stretch}.ui-filter-bar--grouped>.ui-filter-group{display:flex;flex-direction:column;gap:10px;min-width:0}.ui-filter-bar--grouped .ui-filter-group>.ui-field{width:100%}.ui-filter-bar--grouped .ui-filter-row{display:flex;gap:10px}.ui-filter-bar--grouped .ui-filter-row>.ui-field{flex:1 1;min-width:0}.ui-filter-bar--grouped .ui-filter-actions{display:flex;gap:10px;margin-top:auto}.ui-filter-bar--grouped .ui-filter-actions>.ui-apply-button,.ui-filter-bar--grouped .ui-filter-actions>.ui-reset-link{flex:1 1;justify-content:center}.ui-filter-actions--sii{align-items:flex-end}.ui-filter-actions--sii>.ui-field{flex:1 1}.ui-segment{display:flex;align-items:center;gap:2px;padding:3px;min-height:46px;border-radius:999px;border:1px solid var(--ui-line);background:var(--ui-surface-soft)}.ui-filter-bar--grouped .ui-filter-actions>.ui-segment{flex:1 1}.ui-segment-option{display:inline-flex;align-items:center;justify-content:center;flex:1 1;min-height:38px;padding:0 18px;border-radius:999px;font-weight:700;font-size:.9rem;color:var(--ui-muted);text-decoration:none;transition:background .16s ease,color .16s ease,box-shadow .16s ease}.ui-segment-option:hover{color:var(--ui-ink)}.ui-segment-option[data-selected=true]{background:var(--ui-surface);color:var(--ui-ink);box-shadow:0 6px 14px rgba(95,109,88,.16)}.ui-table--cuadre-sii-desglose{table-layout:fixed;width:100%}.ui-table--cuadre-sii-desglose td:not(:first-child),.ui-table--cuadre-sii-desglose th:not(:first-child){text-align:right}.ui-table--cuadre-sii-desglose tr[data-off=true] td{background:rgba(95,109,88,.06);font-weight:600}.ui-cuadre-daygroups{display:flex;flex-direction:column;gap:10px}.ui-cuadre-daygroup{border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-surface);overflow:hidden}.ui-cuadre-group-summary{display:flex;align-items:center;gap:10px;padding:13px 16px;cursor:pointer;list-style:none;font-weight:700;color:var(--ui-ink)}.ui-cuadre-group-summary::-webkit-details-marker{display:none}.ui-cuadre-group-summary:before{content:"▸";font-size:.8rem;color:var(--ui-muted);transition:transform .14s ease}.ui-cuadre-daygroup[open]>.ui-cuadre-group-summary:before,.ui-cuadre-librogroup[open]>.ui-cuadre-group-summary:before{transform:rotate(90deg)}.ui-cuadre-group-summary:hover{background:var(--ui-surface-soft)}.ui-cuadre-group-title{flex:1 1 auto}.ui-cuadre-group-count{flex:0 0 auto;font-weight:600;font-size:.85rem;color:var(--ui-muted)}.ui-cuadre-daygroup-body{padding:0 10px 8px;display:flex;flex-direction:column;gap:6px}.ui-cuadre-librogroup{border-top:1px solid var(--ui-line)}.ui-cuadre-librogroup>.ui-cuadre-group-summary--libro{padding:10px 12px;font-size:.92rem}.ui-cuadre-librogroup>.ui-cuadre-card-list{padding:4px 4px 10px}.ui-modal-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(40,44,38,.42)}.ui-modal{width:100%;max-width:440px;background:var(--portal-surface-soft);border:1px solid var(--portal-border);border-radius:14px;box-shadow:0 18px 50px rgba(40,44,38,.28);overflow:hidden}.ui-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--portal-border)}.ui-modal-header h2{margin:0;font-size:1.15rem}.ui-modal-close{border:none;background:transparent;font-size:1.4rem;line-height:1;color:var(--portal-muted);cursor:pointer}.ui-modal-body{display:grid;grid-gap:14px;gap:14px;padding:20px}.ui-modal-range{display:flex;gap:12px}.ui-modal-range>.ui-field{flex:1 1}.ui-modal-note{margin:0;font-size:.82rem;line-height:1.4;color:var(--portal-ink-soft)}.ui-modal-note--warn{color:var(--portal-danger-ink);font-weight:600}.ui-modal-status{margin:0;font-size:.85rem;color:var(--portal-ink-soft)}.ui-modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:14px 20px;border-top:1px solid var(--portal-border)}.ui-modal-overlay--confirm{z-index:1001}.ui-modal--confirm{max-width:360px}.ui-modal--confirm .ui-modal-footer{justify-content:center;border-top:none}.ui-modal-confirm-text{margin:0;text-align:center;font-size:.95rem;line-height:1.45;color:var(--portal-ink)}.ui-ingesta-tracker{position:fixed;right:18px;bottom:18px;z-index:1100;display:flex;flex-direction:column;gap:10px;max-width:min(340px,calc(100vw - 36px));pointer-events:none}.ui-ingesta-card{pointer-events:auto;display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--portal-surface-soft);border:1px solid var(--portal-line-strong);border-radius:var(--ui-radius-sm);box-shadow:var(--ui-shadow)}.ui-ingesta-spinner{flex:0 0 auto;width:16px;height:16px;border:2px solid var(--portal-line-strong);border-top-color:var(--portal-salvia);border-radius:50%;animation:ui-ingesta-spin .8s linear infinite}.ui-ingesta-bang,.ui-ingesta-check{flex:0 0 auto;width:16px;height:16px;display:flex;align-items:center;justify-content:center;font-size:.9rem;font-weight:700}.ui-ingesta-check{color:var(--portal-ok-ink)}.ui-ingesta-bang{color:#fff;background:var(--portal-danger-ink);border-radius:50%;font-size:.78rem}.ui-ingesta-body{flex:1 1 auto;min-width:0}.ui-ingesta-title{font-size:.85rem;font-weight:600;color:var(--portal-ink);line-height:1.25}.ui-ingesta-meta{margin-top:2px;font-size:.76rem;color:var(--portal-ink-soft);line-height:1.3;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ui-ingesta-dismiss{flex:0 0 auto;align-self:flex-start;border:none;background:transparent;font-size:1.1rem;line-height:1;color:var(--portal-muted);cursor:pointer;padding:0 2px}@keyframes ui-ingesta-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.ui-ingesta-spinner{animation-duration:2.4s}}.ui-checkbox-field,.ui-field{display:grid;grid-gap:8px;gap:8px;font-weight:600}.ui-checkbox-field span,.ui-field span{font-size:.92rem;color:#4f564d}.ui-field input,.ui-field select{min-height:46px;border-radius:14px;border:1px solid rgba(95,109,88,.24);background:rgba(251,250,247,.98);padding:0 12px;color:#4f564d;box-shadow:none}.ui-field input[readonly]{background:rgba(251,250,247,.8);color:rgba(79,86,77,.72);cursor:not-allowed}.ui-field input:focus,.ui-field select:focus{outline:2px solid rgba(95,109,88,.2);outline-offset:2px}.ui-checkbox-field{display:flex;align-items:center;gap:10px;min-height:42px;padding:0 2px}.ui-checkbox-field input{width:18px;height:18px;accent-color:#5f6d58}.ui-reset-link{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid rgba(95,109,88,.18);background:rgba(251,250,247,.96);color:#4f564d}.ui-apply-button,.ui-reset-link{min-height:46px;padding:0 16px;font-weight:700}.ui-apply-button{border-radius:999px;border:1px solid rgba(95,109,88,.22);background:#5f6d58;color:#fff;cursor:pointer;box-shadow:0 10px 20px rgba(95,109,88,.18)}.ui-apply-button:focus-visible,.ui-apply-button:hover{background:#55604f}.ui-legacy-compare{display:grid;grid-gap:6px;gap:6px;margin:0;padding:10px 12px;border-radius:16px;background:rgba(251,250,247,.42);border:1px solid rgba(95,109,88,.16);grid-column:1/-1}.ui-legacy-compare span{color:#4f564d;text-transform:uppercase;letter-spacing:.14em;font-size:.68rem}.ui-legacy-compare a{color:#4f564d;text-decoration:underline;text-underline-offset:2px}.ui-chart-controls{margin:0 0 16px;grid-template-columns:repeat(2,minmax(0,1fr))}.ui-main{display:grid;grid-gap:18px;gap:18px}.ui-main,.ui-summary-section{min-width:0}.ui-kpi-band{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-gap:12px;gap:12px}.ui-kpi-cell{display:grid;justify-items:center;grid-gap:8px;gap:8px;padding:4px 2px 2px;text-align:center}.ui-kpi-label{color:#6f7968;font-size:.875rem;line-height:1.3;font-weight:500}.ui-kpi-value{color:#55604f;font-size:1.75rem;line-height:1.05;font-weight:600;letter-spacing:-.01em;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ui-chart-panel,.ui-summary-section{padding:22px;background:rgba(255,255,255,.88);border:1px solid rgba(15,23,42,.08);border-radius:24px;box-shadow:0 22px 52px rgba(15,23,42,.08)}.ui-summary-header{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:16px}.ui-summary-header h2{margin:0;line-height:1.2;font-size:1.625rem}.ui-empty-state p,.ui-summary-header p{margin:0;color:var(--portal-muted)}.ui-empty-state{display:grid;grid-gap:10px;gap:10px;padding:20px;border-radius:20px;background:rgba(255,255,255,.84);border:1px dashed rgba(95,109,88,.18)}.ui-table-wrap{overflow-x:auto;border-radius:18px;border:1px solid rgba(95,109,88,.12);min-width:0}.ui-infinite-sentinel{display:flex;align-items:center;justify-content:center;min-height:36px;padding:10px;font-size:.85rem;color:var(--portal-muted)}.ui-table{width:100%;border-collapse:collapse;min-width:1180px;background:rgba(255,255,255,.95)}.ui-table thead th{position:-webkit-sticky;position:sticky;top:0;background:#5f6d58;color:#fff;font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:12px 10px;text-align:left;white-space:nowrap}.ui-table-sort-button{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer}.ui-table-sort-button:focus-visible,.ui-table-sort-button:hover{text-decoration:underline;text-underline-offset:2px}.ui-table tbody td{padding:11px 10px;border-top:1px solid rgba(15,23,42,.06);white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ui-table tbody tr:nth-child(2n) td{background:rgba(244,237,226,.6)}.ui-chart{width:100%;height:auto;display:block}.ui-chart line{stroke:rgba(15,23,42,.12);stroke-width:1}.ui-chart path{fill:none;stroke:#5f6d58;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.ui-chart .ui-chart-gridline{stroke:rgba(15,23,42,.06);stroke-width:1}.ui-chart .ui-chart-axis-value{font-size:10px;fill:var(--portal-muted)}.ui-chart circle{fill:#5f6d58}.ui-chart .ui-chart-dot-active{fill:#3f4a3a}.ui-chart .ui-chart-hit{fill:transparent;pointer-events:all;cursor:pointer}.ui-chart text{font-size:11px;fill:var(--portal-muted)}.ui-chart-tooltip-guide{stroke:rgba(95,109,88,.35);stroke-width:1;stroke-dasharray:4 4}.ui-chart-tooltip rect{fill:#1f2a1c;opacity:.96}.ui-chart-tooltip text{fill:#ffffff}.ui-chart-tooltip .ui-chart-tooltip-title{font-size:12px;font-weight:600}.ui-chart-tooltip .ui-chart-tooltip-value{font-size:12px;fill:rgba(255,255,255,.82)}.ui-chart-empty{min-height:260px;display:grid;place-items:center;color:var(--portal-muted)}.ui-loading-state{min-height:calc(100vh - 40px);display:grid;place-items:center;padding:32px}.ui-loading-center{display:grid;place-items:center;grid-gap:18px;gap:18px;min-width:240px}.ui-loading-orb{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px;align-items:flex-end}.ui-loading-orb span{width:14px;height:14px;border-radius:999px;background:var(--portal-amber);box-shadow:0 0 0 8px rgba(122,158,122,.08);animation:ui-loading-bounce 1.05s ease-in-out infinite}.ui-loading-orb span:nth-child(2){animation-delay:.12s}.ui-loading-orb span:nth-child(3){animation-delay:.24s}.ui-loading-title{margin:0;font-size:1.15rem;font-weight:700;letter-spacing:.02em}.ui-loading-copy{margin:0;color:var(--portal-muted)}@keyframes ui-loading-bounce{0%,80%,to{transform:translateY(0);opacity:.65}40%{transform:translateY(-8px);opacity:1}}.portal-login-shell{min-height:100vh;padding:0;font-family:var(--font-sans),"Segoe UI",-apple-system,BlinkMacSystemFont,sans-serif}.portal-login-layout{min-height:100vh;display:grid;grid-template-columns:minmax(0,11fr) minmax(360px,9fr)}.portal-login-visual{position:relative;min-height:100vh;overflow:hidden;background:var(--portal-bg)}.portal-login-visual-image{object-fit:cover;object-position:center}.portal-login-stage{display:grid;place-items:center;padding:48px 32px}.portal-login-panel{position:relative;z-index:1;width:min(100%,460px);padding:30px 34px;display:grid;grid-gap:20px;gap:20px;justify-items:stretch;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(251,250,247,.96));border:1px solid rgba(95,109,88,.14);box-shadow:0 18px 42px rgba(79,86,77,.1);overflow:hidden}.portal-login-brand{text-align:center;display:grid;grid-gap:0;gap:0;justify-items:center;padding-top:2px;padding-bottom:4px}.portal-login-brand-image{width:min(100%,260px);height:auto;display:block}.portal-login-form{display:grid;grid-gap:14px;gap:14px}.portal-login-field{gap:8px}.portal-login-field span{font-size:.98rem;font-weight:600;letter-spacing:0;text-transform:none;color:#5b6258}.portal-login-input{min-height:52px;border:1px solid rgba(95,109,88,.18);border-radius:14px;background:#ffffff;box-shadow:0 8px 20px rgba(79,86,77,.06)}.portal-login-input::placeholder{color:rgba(79,86,77,.6)}.portal-password-wrap{position:relative}.portal-password-input{padding-right:52px}.portal-password-toggle{position:absolute;top:50%;right:8px;width:34px;height:34px;margin:0;border:0;border-radius:10px;display:grid;place-items:center;transform:translateY(-50%);background:transparent;color:#5f6d58;cursor:pointer}.portal-password-toggle:focus-visible,.portal-password-toggle:hover{background:rgba(95,109,88,.08)}.portal-login-submit{min-height:52px;border-radius:14px;background:var(--portal-amber);color:var(--portal-ink);box-shadow:0 10px 22px rgba(122,158,122,.16);font-weight:700}.portal-form-error{margin:0;color:#8a3d2f;font-weight:600}@keyframes portal-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.portal-dashboard-card,.portal-login-panel,.portal-nav-link,.portal-surface{animation:portal-rise .42s ease both}@media (max-width:1160px){:root{--portal-sidebar-width:200px}.admin-users-form,.admin-users-form-create,.portal-dashboard-body,.portal-feature-grid,.portal-home-hero,.ui-kpi-band,.ui-layout{grid-template-columns:1fr}.portal-main-panel{padding-right:20px;padding-left:20px}.ui-page-header{flex-direction:column}.ui-sidebar-panel{position:static}.ui-legacy-compare{grid-column:1/-1}.portal-login-layout{grid-template-columns:1fr}.portal-login-visual{min-height:42vh}}@media (max-width:780px){:root{--portal-sidebar-width:68px}.portal-login-shell,.portal-shell-page{padding:0}.portal-card-grid,.portal-home-hero-metrics,.portal-scope-grid,.portal-sidebar-metrics,.ui-kpi-band,.ui-kpi-band--albaranes,.ui-kpi-band--cuadre,.ui-kpi-band--escandallos,.ui-kpi-band--inventarios,.ui-kpi-band--traspasos{grid-template-columns:1fr}.portal-section-heading{flex-direction:column;align-items:flex-start}.ui-layout{grid-template-columns:1fr}.ui-sidebar-panel{position:static}.ui-chart-controls{grid-template-columns:1fr}.portal-dashboard-card{min-height:0}.portal-main-panel{margin-left:var(--portal-sidebar-width);padding:14px}.portal-sidebar{padding-top:10px;padding-inline:7px}.portal-sidebar-brand{grid-template-columns:1fr}.portal-sidebar-brand-copy,.portal-sidebar-group-label,.portal-sidebar-link-copy,.portal-sidebar-subgroup-label{display:none}.portal-sidebar-subgroup{padding-left:0;border-left:none}.portal-sidebar-brand-mark{width:100%;height:30px}.portal-sidebar-link{grid-template-columns:1fr;justify-items:center;padding-inline:5px}.ui-cuadre-card-head{flex-direction:column;align-items:flex-start;gap:8px;padding:14px}.ui-cuadre-card-figures{flex-wrap:wrap;justify-content:flex-start;gap:10px 16px;text-align:left}.ui-cuadre-card-figure{align-items:flex-start}.ui-cuadre-card-chevron{position:absolute;top:14px;right:14px}.ui-cuadre-card{position:relative}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.ui-kpi-band--escandallos{grid-template-columns:repeat(5,minmax(0,1fr))}.ui-table--escandallos{min-width:0;width:100%;table-layout:fixed}.ui-table--escandallos td,.ui-table--escandallos th{overflow-wrap:anywhere;white-space:normal}.ui-table--escandallos td:first-child,.ui-table--escandallos th:first-child{width:9%}.ui-table--escandallos td:nth-child(2),.ui-table--escandallos th:nth-child(2){width:19%}.ui-table--escandallos td:nth-child(3),.ui-table--escandallos th:nth-child(3){width:13%}.ui-table--escandallos td:nth-child(4),.ui-table--escandallos th:nth-child(4){width:14%}.ui-table--escandallos td:nth-child(5),.ui-table--escandallos th:nth-child(5){width:8%}.ui-table--escandallos td:nth-child(6),.ui-table--escandallos th:nth-child(6){width:12%}.ui-table--escandallos td:nth-child(7),.ui-table--escandallos th:nth-child(7){width:17%}.ui-table--escandallos td:nth-child(8),.ui-table--escandallos th:nth-child(8){width:8%}.ui-badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;font-size:.78rem;font-weight:700;letter-spacing:.01em;border:1px solid transparent;white-space:nowrap}.ui-badge[data-tone=positive]{background:rgba(95,109,88,.16);color:#44503c;border-color:rgba(95,109,88,.32)}.ui-badge[data-tone=warning]{background:rgba(196,142,58,.16);color:#8a5b18;border-color:rgba(196,142,58,.34)}.ui-badge[data-tone=neutral]{background:var(--portal-surface-soft);color:var(--portal-muted);border-color:var(--portal-line-strong)}.ui-badge[data-tone=critical]{background:rgba(138,61,47,.14);color:var(--portal-danger-ink);border-color:rgba(138,61,47,.32)}.ui-kpi-band--cuadre{grid-template-columns:repeat(5,minmax(0,1fr))}.ui-cuadre-card-list{min-width:0;display:flex;flex-direction:column;gap:10px}.ui-cuadre-card{min-width:0;background:var(--portal-surface-card);border:1px solid var(--portal-border);border-radius:12px;box-shadow:var(--portal-shadow-card);overflow:hidden}.ui-cuadre-card-head{width:100%;display:flex;align-items:center;gap:18px;padding:14px 18px;background:transparent;border:0;text-align:left;font:inherit;color:inherit;cursor:pointer}.ui-cuadre-card-head:hover{background:var(--portal-surface-soft)}.ui-cuadre-card-head:focus-visible{outline:2px solid var(--portal-line-strong);outline-offset:-2px}.ui-cuadre-card-badges{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto}.ui-cuadre-card-context{display:flex;flex-direction:column;gap:2px;flex:0 0 auto;min-width:0}.ui-cuadre-card-outlet{font-weight:600;color:var(--portal-ink)}.ui-cuadre-card-meta{color:var(--portal-muted);font-size:.82rem}.ui-cuadre-card-explanation{flex:1 1 auto;min-width:0;margin:0;color:var(--portal-ink);font-size:.95rem;line-height:1.4}.ui-cuadre-card-figures{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:18px;font-size:.85rem;color:var(--portal-ink-soft);text-align:right}.ui-cuadre-card-figure{display:inline-flex;flex-direction:column;align-items:flex-end;gap:1px}.ui-cuadre-card-figure-label{color:var(--portal-muted);font-size:.72rem;letter-spacing:.02em}.ui-cuadre-card-figure-value{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:600}.ui-cuadre-card-figure[data-muted=true] .ui-cuadre-card-figure-value{color:var(--portal-muted);font-weight:500}.ui-cuadre-card-chevron{flex:0 0 auto;color:var(--portal-muted);font-size:.9rem}.ui-cuadre-detalle{border-top:1px solid var(--portal-border);background:var(--portal-surface-soft);padding:12px 18px 16px}.ui-cuadre-detalle-status{margin:4px 0;color:var(--portal-muted);font-size:.88rem}.ui-table--cuadre-detalle{width:100%;min-width:0}.ui-table--cuadre-detalle td:nth-child(3),.ui-table--cuadre-detalle td:nth-child(4),.ui-table--cuadre-detalle td:nth-child(5),.ui-table--cuadre-detalle th:nth-child(3),.ui-table--cuadre-detalle th:nth-child(4),.ui-table--cuadre-detalle th:nth-child(5){text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ui-table--cuadre-recon{width:100%;min-width:0}.ui-table--cuadre-recon td:nth-child(2),.ui-table--cuadre-recon td:nth-child(3),.ui-table--cuadre-recon td:nth-child(4),.ui-table--cuadre-recon th:nth-child(2),.ui-table--cuadre-recon th:nth-child(3),.ui-table--cuadre-recon th:nth-child(4){text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ui-cuadre-recon-factura{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.ui-table--cuadre-recon td[data-delta=nonzero]{color:var(--portal-danger-ink);font-weight:600}.ui-table--cuadre-recon td[data-delta=zero]{color:var(--portal-muted)}.ui-table--cuadre-breakdown{width:100%;min-width:0}.ui-table--cuadre-breakdown td,.ui-table--cuadre-breakdown th{text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ui-table--cuadre-breakdown thead tr:first-child th{text-align:center}.ui-table--cuadre-breakdown td:first-child,.ui-table--cuadre-breakdown th:first-child{text-align:left}.ui-table--cuadre-breakdown .ui-cuadre-grp-start{border-left:1px solid var(--portal-line-strong)}.ui-table--cuadre-breakdown td[data-delta=nonzero]{color:var(--portal-danger-ink);font-weight:600}.ui-table--cuadre-breakdown td[data-delta=zero]{color:var(--portal-muted)}.ui-cuadre-foot{display:flex;flex-direction:column;gap:6px;margin-top:14px}.ui-cuadre-cuadradas,.ui-cuadre-pendientes{margin:0;color:var(--portal-muted);font-size:.85rem}.ui-kpi-band--albaranes{grid-template-columns:repeat(5,minmax(0,1fr))}.ui-table--albaranes{width:100%;min-width:0;table-layout:fixed}.ui-table--albaranes td,.ui-table--albaranes th{overflow-wrap:anywhere;white-space:normal}.ui-table--albaranes tbody tr[data-expandable=true]{cursor:pointer}.ui-table--albaranes td:first-child,.ui-table--albaranes th:first-child{width:4%}.ui-table--albaranes td:nth-child(2),.ui-table--albaranes th:nth-child(2){width:14%}.ui-table--albaranes td:nth-child(3),.ui-table--albaranes th:nth-child(3){width:10%}.ui-table--albaranes td:nth-child(4),.ui-table--albaranes th:nth-child(4){width:14%}.ui-table--albaranes td:nth-child(5),.ui-table--albaranes th:nth-child(5){width:20%}.ui-table--albaranes td:nth-child(6),.ui-table--albaranes th:nth-child(6){width:11%}.ui-table--albaranes td:nth-child(7),.ui-table--albaranes td:nth-child(8),.ui-table--albaranes td:nth-child(9),.ui-table--albaranes th:nth-child(7),.ui-table--albaranes th:nth-child(8),.ui-table--albaranes th:nth-child(9){width:9%}.ui-table--albaranes tbody tr[data-row-parity=even] td{background:var(--portal-bg)}.ui-table--albaranes tbody tr[data-row-parity=odd] td{background:transparent}.ui-table--albaranes tbody tr.ui-table-detail-row td{background:var(--portal-surface-soft);padding:10px 14px 16px}.ui-table--albaranes-lines tbody tr:nth-child(n) td{background:var(--portal-bg)}.ui-table--albaranes-lines{width:100%;table-layout:fixed}.ui-table--albaranes-lines td,.ui-table--albaranes-lines th{overflow-wrap:anywhere;white-space:normal}.ui-table--albaranes-lines td:first-child,.ui-table--albaranes-lines th:first-child{width:9%}.ui-table--albaranes-lines td:nth-child(2),.ui-table--albaranes-lines th:nth-child(2){width:41%}.ui-table--albaranes-lines td:nth-child(3),.ui-table--albaranes-lines td:nth-child(4),.ui-table--albaranes-lines td:nth-child(5),.ui-table--albaranes-lines td:nth-child(6),.ui-table--albaranes-lines td:nth-child(7),.ui-table--albaranes-lines th:nth-child(3),.ui-table--albaranes-lines th:nth-child(4),.ui-table--albaranes-lines th:nth-child(5),.ui-table--albaranes-lines th:nth-child(6),.ui-table--albaranes-lines th:nth-child(7){width:10%}.ui-kpi-band--traspasos{grid-template-columns:repeat(6,minmax(0,1fr))}.ui-table--traspasos{width:100%;min-width:0;table-layout:fixed}.ui-table--traspasos td,.ui-table--traspasos th{overflow-wrap:anywhere;white-space:normal}.ui-table--traspasos tbody tr[data-expandable=true]{cursor:pointer}.ui-table--traspasos td:first-child,.ui-table--traspasos th:first-child{width:4%}.ui-table--traspasos td:nth-child(2),.ui-table--traspasos th:nth-child(2){width:16%}.ui-table--traspasos td:nth-child(3),.ui-table--traspasos th:nth-child(3){width:11%}.ui-table--traspasos td:nth-child(4),.ui-table--traspasos td:nth-child(5),.ui-table--traspasos th:nth-child(4),.ui-table--traspasos th:nth-child(5){width:17%}.ui-table--traspasos td:nth-child(6),.ui-table--traspasos th:nth-child(6){width:11%}.ui-table--traspasos td:nth-child(7),.ui-table--traspasos td:nth-child(8),.ui-table--traspasos td:nth-child(9),.ui-table--traspasos th:nth-child(7),.ui-table--traspasos th:nth-child(8),.ui-table--traspasos th:nth-child(9){width:8%}.ui-table--traspasos tbody tr[data-row-parity=even] td{background:var(--portal-bg)}.ui-table--traspasos tbody tr[data-row-parity=odd] td{background:transparent}.ui-table--traspasos tbody tr.ui-table-detail-row td{background:var(--portal-surface-soft);padding:10px 14px 16px}.ui-table--traspasos-lines tbody tr:nth-child(n) td{background:var(--portal-bg)}.ui-table--traspasos-lines{width:100%;table-layout:fixed}.ui-table--traspasos-lines td,.ui-table--traspasos-lines th{overflow-wrap:anywhere;white-space:normal}.ui-table--traspasos-lines td:first-child,.ui-table--traspasos-lines th:first-child{width:9%}.ui-table--traspasos-lines td:nth-child(2),.ui-table--traspasos-lines th:nth-child(2){width:41%}.ui-table--traspasos-lines td:nth-child(3),.ui-table--traspasos-lines td:nth-child(4),.ui-table--traspasos-lines td:nth-child(5),.ui-table--traspasos-lines td:nth-child(6),.ui-table--traspasos-lines th:nth-child(3),.ui-table--traspasos-lines th:nth-child(4),.ui-table--traspasos-lines th:nth-child(5),.ui-table--traspasos-lines th:nth-child(6){width:12.5%}.ui-kpi-band--inventarios{grid-template-columns:repeat(5,minmax(0,1fr))}.ui-table--inventarios{width:100%;min-width:0;table-layout:fixed}.ui-table--inventarios td,.ui-table--inventarios th{overflow-wrap:anywhere;white-space:normal}.ui-table--inventarios tbody tr[data-expandable=true]{cursor:pointer}.ui-table--inventarios td:first-child,.ui-table--inventarios th:first-child{width:4%}.ui-table--inventarios td:nth-child(2),.ui-table--inventarios th:nth-child(2){width:20%}.ui-table--inventarios td:nth-child(3),.ui-table--inventarios th:nth-child(3){width:12%}.ui-table--inventarios td:nth-child(4),.ui-table--inventarios th:nth-child(4){width:22%}.ui-table--inventarios td:nth-child(5),.ui-table--inventarios th:nth-child(5){width:12%}.ui-table--inventarios td:nth-child(6),.ui-table--inventarios td:nth-child(7),.ui-table--inventarios th:nth-child(6),.ui-table--inventarios th:nth-child(7){width:9%}.ui-table--inventarios td:nth-child(8),.ui-table--inventarios th:nth-child(8){width:12%}.ui-table--inventarios tbody tr[data-row-parity=even] td{background:var(--portal-bg)}.ui-table--inventarios tbody tr[data-row-parity=odd] td{background:transparent}.ui-table--inventarios tbody tr.ui-table-detail-row td{background:var(--portal-surface-soft);padding:10px 14px 16px}.ui-table--inventarios-lines tbody tr:nth-child(n) td{background:var(--portal-bg)}.ui-table--inventarios-lines{width:100%;table-layout:fixed}.ui-table--inventarios-lines td,.ui-table--inventarios-lines th{overflow-wrap:anywhere;white-space:normal}.ui-table--inventarios-lines td:first-child,.ui-table--inventarios-lines th:first-child{width:9%}.ui-table--inventarios-lines td:nth-child(2),.ui-table--inventarios-lines th:nth-child(2){width:41%}.ui-table--inventarios-lines td:nth-child(3),.ui-table--inventarios-lines td:nth-child(4),.ui-table--inventarios-lines td:nth-child(5),.ui-table--inventarios-lines td:nth-child(6),.ui-table--inventarios-lines th:nth-child(3),.ui-table--inventarios-lines th:nth-child(4),.ui-table--inventarios-lines th:nth-child(5),.ui-table--inventarios-lines th:nth-child(6){width:12.5%}.ui-multiselect{position:relative}.ui-multiselect>summary{list-style:none;cursor:pointer;min-height:46px;display:flex;align-items:center;justify-content:space-between;border-radius:14px;border:1px solid rgba(95,109,88,.24);background:rgba(251,250,247,.98);padding:0 12px;color:#4f564d;font-weight:600}.ui-multiselect>summary::-webkit-details-marker{display:none}.ui-multiselect>summary:after{content:"▾";margin-left:8px;color:#7a8270}.ui-multiselect[open]>summary{outline:2px solid rgba(95,109,88,.2);outline-offset:2px}.ui-multiselect-panel{position:absolute;z-index:30;top:calc(100% + 4px);left:0;right:0;max-height:280px;overflow-y:auto;display:grid;grid-gap:2px;gap:2px;padding:8px;border-radius:14px;border:1px solid rgba(95,109,88,.24);background:#fbfaf7;box-shadow:0 12px 28px rgba(40,46,36,.16)}.ui-option{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:10px;font-weight:500;font-size:.9rem;color:#4f564d;cursor:pointer}.ui-option:hover{background:rgba(95,109,88,.1)}.ui-option input{width:16px;height:16px;min-height:auto}.ui-option-all{font-weight:700;border-radius:0;border-bottom:1px solid rgba(95,109,88,.18);margin-bottom:4px;padding-bottom:8px}.ui-option-empty{margin:0;padding:6px 8px;color:rgba(79,86,77,.6);font-weight:500}.ui-filter-bar--cuadre .ui-option{padding:4px 8px}.ui-filter-bar--cuadre .ui-multiselect-panel .ui-option span{font-size:18px}.ui-editor-head{align-items:flex-start}.ui-editor-heading{display:flex;flex-direction:column;gap:8px;flex:1 1;min-width:0}.ui-editor-eyebrow{font-size:.74rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:rgba(79,86,77,.62)}.ui-editor-title-row{display:flex;align-items:center;gap:36px;flex-wrap:wrap}.ui-editor-title-row h1{margin:0}.ui-editor-outlet-filter{margin:0;min-width:200px}.ui-editor-outlet-filter .ui-multiselect-panel{min-width:220px}.ui-editor-sale-line{margin:10px 0 0;font-size:.85rem;color:rgba(79,86,77,.72)}.ui-editor-sale-code{font-weight:700;letter-spacing:.02em;color:rgba(79,86,77,.9);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ui-editor-kpi-band{grid-template-columns:repeat(auto-fit,minmax(132px,1fr))}.ui-editor-kpi-band .ui-kpi-value{white-space:nowrap}.ui-editor-edit-link{display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;font-size:.8rem;font-weight:700;color:#44503c;background:rgba(95,109,88,.14);border:1px solid rgba(95,109,88,.3);text-decoration:none;white-space:nowrap}.ui-editor-edit-link:hover{background:rgba(95,109,88,.24)}.ui-editor-lines{display:grid;grid-gap:8px;gap:8px;margin-top:4px}.ui-editor-line{display:grid;grid-template-columns:minmax(190px,2.2fr) minmax(56px,.5fr) minmax(82px,.7fr) minmax(74px,.6fr) minmax(82px,.7fr) minmax(90px,.8fr) minmax(90px,.8fr) 40px;grid-gap:8px;gap:8px;align-items:center}.ui-editor-format{font-size:.82rem;font-weight:600;color:rgba(79,86,77,.72);text-align:center}.ui-editor-derived{text-align:right;font-size:.9rem;font-weight:600;color:#4f564d;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ui-editor-coste,.ui-editor-line-total{font-weight:700;color:#44503c}.ui-editor-line-total{margin-top:4px;padding-top:10px;border-top:1px solid rgba(95,109,88,.24)}.ui-editor-line-total .ui-editor-num{text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ui-editor-line-head{font-size:.78rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:rgba(79,86,77,.7);padding:0 4px}.ui-editor-input{min-height:44px;width:100%;border-radius:12px;border:1px solid rgba(95,109,88,.24);background:rgba(251,250,247,.98);padding:0 12px;color:#4f564d;font-weight:500;font-size:.92rem}.ui-editor-input:focus{outline:2px solid rgba(95,109,88,.2);outline-offset:1px}.ui-editor-num{text-align:right}.ui-editor-autocomplete{position:relative;display:flex;flex-direction:column;gap:2px}.ui-editor-autocomplete-panel{position:absolute;z-index:40;top:calc(100% + 4px);left:0;right:0;max-height:280px;overflow-y:auto;display:grid;grid-gap:2px;gap:2px;padding:8px;border-radius:14px;border:1px solid rgba(95,109,88,.24);background:#fbfaf7;box-shadow:0 12px 28px rgba(40,46,36,.16)}.ui-editor-ac-option{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:6px 8px;border-radius:10px;border:none;background:transparent;text-align:left;cursor:pointer;width:100%}.ui-editor-ac-option:hover,.ui-editor-ac-option[data-active=true]{background:rgba(95,109,88,.16)}.ui-editor-ac-name{font-weight:600;font-size:.9rem;color:#4f564d}.ui-editor-ac-meta{font-size:.74rem;color:rgba(79,86,77,.6)}.ui-editor-ac-empty{margin:0;padding:6px 8px;color:rgba(79,86,77,.6);font-weight:500}.ui-editor-ratio{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:600;font-size:.88rem;color:rgba(79,86,77,.85);text-align:right}.ui-editor-remove{width:36px;height:36px;border-radius:10px;border:1px solid rgba(196,142,58,.34);background:rgba(196,142,58,.12);color:#8a5b18;font-size:1.2rem;line-height:1;cursor:pointer}.ui-editor-remove:hover{background:rgba(196,142,58,.24)}.ui-editor-actions{justify-content:flex-end;margin-top:16px}.ui-editor-action-buttons,.ui-editor-actions{display:flex;align-items:center;gap:12px}.ui-editor-validate-button{min-height:46px;padding:0 16px;border-radius:999px;border:1px solid rgba(95,109,88,.45);background:transparent;color:#44503c;font-weight:700;cursor:pointer}.ui-editor-validate-button:focus-visible:not(:disabled),.ui-editor-validate-button:hover:not(:disabled){background:rgba(95,109,88,.12)}.ui-editor-validate-button[data-validated=true]{background:rgba(95,109,88,.16);border-color:rgba(95,109,88,.5)}.ui-editor-validate-button:disabled{opacity:.5;cursor:not-allowed}.ui-editor-estado-badge{margin-left:-20px}.ui-editor-feedback{font-weight:600;font-size:.88rem}.ui-editor-feedback[data-tone=ok]{color:#44503c}.ui-editor-feedback[data-tone=error]{color:#8a3b18}.ui-editor-conversation{display:flex;flex-direction:column;gap:8px;margin:4px 0 12px}.ui-editor-conversation-bar{display:flex;align-items:center;gap:8px;width:100%}.ui-editor-conversation-input{flex:1 1;min-width:0;resize:none;line-height:1.4;padding-top:11px;padding-bottom:11px}.ui-editor-ai-info{position:relative;flex:0 0 auto;align-self:center;width:20px;height:20px;border-radius:50%;border:1px solid var(--portal-line-strong);background:transparent;color:var(--portal-muted);font-size:.72rem;font-weight:600;font-style:italic;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:help;transition:color .15s ease,border-color .15s ease,background-color .15s ease}.ui-editor-ai-info:focus-visible,.ui-editor-ai-info:hover{color:var(--portal-ink);border-color:var(--portal-salvia);background:var(--portal-surface-soft);outline:none}.ui-editor-ai-info-tip{position:absolute;bottom:calc(100% + 8px);left:0;z-index:20;width:290px;max-width:78vw;padding:10px 12px;border-radius:10px;border:1px solid var(--portal-line-strong);background:var(--portal-surface);color:var(--portal-ink);font-size:.8rem;font-style:normal;font-weight:400;line-height:1.45;text-align:left;box-shadow:0 6px 18px rgba(31,41,26,.14);opacity:0;visibility:hidden;transform:translateY(3px);transition:opacity .14s ease,transform .14s ease,visibility .14s;pointer-events:none}.ui-editor-ai-info:focus-visible .ui-editor-ai-info-tip,.ui-editor-ai-info:hover .ui-editor-ai-info-tip{opacity:1;visibility:visible;transform:translateY(0)}.ui-editor-mic{flex:0 0 auto;width:44px;min-height:44px;border-radius:12px;border:1px solid var(--portal-line-strong);background:var(--portal-surface-soft);font-size:1.1rem;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.ui-editor-mic:hover:not(:disabled){background:var(--portal-touched-soft)}.ui-editor-mic:disabled{opacity:.5;cursor:not-allowed}.ui-editor-mic[data-recording=true]{border-color:var(--portal-review-line);background:var(--portal-review-soft);animation:ui-editor-mic-pulse 1.2s ease-in-out infinite}@keyframes ui-editor-mic-pulse{0%,to{box-shadow:0 0 0 0 var(--portal-review-soft)}50%{box-shadow:0 0 0 5px transparent}}.ui-editor-conversation-apply{flex:0 0 auto}.ui-editor-conversation-apply:disabled{opacity:.55;cursor:not-allowed}.ui-editor-conversation-clear,.ui-editor-conversation-undo{flex:0 0 auto;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,transform .06s ease}.ui-editor-conversation-clear:hover:not(:disabled),.ui-editor-conversation-undo:hover:not(:disabled){background:rgba(95,109,88,.1);border-color:rgba(95,109,88,.32)}.ui-editor-conversation-clear:active:not(:disabled),.ui-editor-conversation-undo:active:not(:disabled){transform:translateY(1px);background:rgba(95,109,88,.18)}.ui-editor-conversation-clear:disabled,.ui-editor-conversation-undo:disabled{opacity:.45;cursor:not-allowed}.ui-editor-conversation-status{font-size:.82rem;font-weight:600;color:var(--portal-muted)}.ui-editor-conversation-status[data-status=recording]{color:var(--portal-warn-ink)}.ui-editor-line--touched{background:var(--portal-touched-soft);box-shadow:inset 4px 0 0 0 var(--portal-touched-line)}.ui-editor-line--review,.ui-editor-line--touched{border-radius:12px;padding-left:5px;transition:background-color .25s ease,box-shadow .25s ease}.ui-editor-line--review{background:var(--portal-review-soft);box-shadow:inset 4px 0 0 0 var(--portal-review-line)}.ui-editor-ai-notes{display:flex;flex-direction:column;gap:6px;padding:10px 14px;border-radius:14px;border:1px solid var(--portal-line-strong);background:var(--portal-surface-soft)}.ui-editor-ai-note-list{margin:0;padding-left:18px;font-size:.85rem;line-height:1.45;color:var(--portal-ink-soft)}.ui-editor-ai-note-list[data-kind=question]{color:var(--portal-warn-ink)}.ui-editor-ai-note-list[data-kind=unmatched]{color:var(--portal-danger-ink)}.ui-editor-readback{display:flex;flex-direction:column;gap:10px;width:100%;padding:12px 15px;border-radius:14px;border:1px solid var(--portal-line-strong);background:var(--portal-surface-soft);font-size:.9rem;line-height:1.5;color:var(--portal-ink)}.ui-editor-readback-text{font-weight:600}.ui-editor-readback-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ui-editor-ai-pending{display:flex;align-items:center;gap:12px;padding:9px 14px;border-radius:12px;border:1px solid var(--portal-review-line);background:var(--portal-review-soft);font-size:.9rem;color:var(--portal-ink)}.ui-editor-ai-pending-text{flex:1 1 auto;font-weight:600}.ui-editor-ai-pending-skip{flex:0 0 auto}.ui-editor-ai-answer{position:relative;padding:11px 52px 11px 15px;border-radius:14px;border:1px solid var(--portal-line-strong);background:var(--portal-surface-soft);font-size:.9rem;line-height:1.5;color:var(--portal-ink)}.ui-editor-ai-speak{position:absolute;top:8px;right:8px;width:34px;height:34px;border-radius:10px;border:1px solid var(--portal-line-strong);background:var(--portal-surface);font-size:.95rem;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.ui-editor-ai-speak:hover{background:var(--portal-touched-soft)}.ui-editor-ai-speak[data-speaking=true]{border-color:var(--portal-review-line);background:var(--portal-review-soft)}.ui-editor-ai-answer p{margin:0}.ui-editor-ai-answer p+p{margin-top:3px}.ui-editor-ai-coaching{padding:9px 14px;border-radius:12px;border:1px solid var(--portal-line-strong);border-left:3px solid var(--portal-salvia);background:var(--portal-surface-soft);font-size:.88rem;line-height:1.45;color:var(--portal-ink)}.ui-table--sincoste tbody tr[data-row-parity=even] td{background:var(--portal-bg)}.ui-table--sincoste tbody tr[data-row-parity=odd] td{background:transparent}.ui-table--sincoste tbody tr[data-expandable=true]{cursor:pointer}.ui-table--sincoste tbody tr.ui-table-detail-row td{background:var(--portal-surface-soft);padding:12px 16px 18px}.ui-sincoste-detail{display:flex;flex-direction:column;gap:18px}.ui-sincoste-block h3{margin:0 0 8px;font-size:.85rem;font-weight:600;color:var(--ui-ink-soft)}.ui-table--sincoste .ui-table-detail-row tr[data-best=true] td{background:var(--portal-surface-card)}.ui-sincoste-manual{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.ui-sincoste-detail-status{margin:4px 0 0;font-size:.85rem;color:var(--ui-muted)}.ui-sincoste-detail-status[data-tone=error]{color:var(--portal-danger-ink)}.ui-kpi-band--stock-teorico{grid-template-columns:repeat(3,minmax(0,1fr))}.ui-table--stock-teorico{width:100%;min-width:0;table-layout:fixed}.ui-table--stock-teorico td,.ui-table--stock-teorico th{overflow-wrap:anywhere;white-space:normal}.ui-table--stock-teorico tbody tr[data-expandable=true]{cursor:pointer}.ui-table--stock-teorico td:first-child,.ui-table--stock-teorico th:first-child{width:4%}.ui-table--stock-teorico td:nth-child(2),.ui-table--stock-teorico th:nth-child(2){width:46%}.ui-table--stock-teorico td:nth-child(3),.ui-table--stock-teorico th:nth-child(3){width:12%}.ui-table--stock-teorico td:nth-child(4),.ui-table--stock-teorico th:nth-child(4){width:16%;text-align:right}.ui-table--stock-teorico td:nth-child(5),.ui-table--stock-teorico th:nth-child(5){width:22%}.ui-stock-breakdown{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));grid-gap:12px;gap:12px;padding:4px 2px}.ui-stock-breakdown-cell{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:12px;border:1px solid var(--ui-line);background:var(--ui-surface-soft)}.ui-stock-breakdown-cell--total{border-color:var(--portal-line-strong);background:var(--portal-surface-card)}.ui-stock-breakdown-label{font-size:.74rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--ui-muted)}.ui-stock-breakdown-value{font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--ui-ink)}.ui-stock-breakdown-meta{font-size:.78rem;color:var(--ui-muted)}.ui-stock-count-notice{margin:0 0 8px;font-size:.88rem;color:var(--ui-muted)}.ui-stock-count-start{display:flex;flex-direction:column;gap:12px;align-items:flex-start}.ui-stock-session-list{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:.88rem;color:var(--ui-muted)}.ui-stock-session-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:12px}.ui-stock-session-head strong{display:block;color:var(--ui-ink)}.ui-stock-session-meta{display:block;font-size:.82rem;color:var(--ui-muted)}.ui-stock-session-actions{display:flex;align-items:center;gap:12px}.ui-stock-capture{display:flex;flex-direction:column;gap:12px;padding:14px;border-radius:16px;border:1px solid var(--ui-line);background:var(--ui-surface-soft)}.ui-stock-capture-fields{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.ui-stock-capture-fields .ui-field{flex:1 1 160px}.ui-stock-qty{flex:0 0 120px}.ui-stock-voice{display:flex;flex-direction:column;gap:4px}.ui-stock-voice-hint{margin:0;font-size:.8rem;color:var(--ui-muted)}.ui-stock-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));grid-gap:8px;gap:8px}.ui-stock-result{display:flex;flex-direction:column;gap:2px;padding:10px 12px;text-align:left;border-radius:12px;border:1px solid var(--ui-line);background:var(--ui-surface);cursor:pointer;color:var(--ui-ink)}.ui-stock-result:hover{border-color:var(--portal-line-strong);background:var(--portal-surface-card)}.ui-stock-result span{font-size:.8rem;color:var(--ui-muted)}.ui-stock-picked{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:10px 12px;border-radius:12px;border:1px solid var(--portal-line-strong);background:var(--portal-surface-card);font-size:.9rem;color:var(--ui-ink-soft)}.ui-stock-capture-list-label{font-size:.84rem;color:var(--ui-muted)}.ui-stock-cuadre{margin-top:16px}.ui-table--stock-cuadre,.ui-table--stock-cuadre-lines{width:100%;min-width:0;table-layout:fixed}.ui-table--stock-cuadre td,.ui-table--stock-cuadre th,.ui-table--stock-cuadre-lines td,.ui-table--stock-cuadre-lines th{overflow-wrap:anywhere;white-space:normal}.ui-table--stock-cuadre tbody tr[data-expandable=true]{cursor:pointer}.ui-table--stock-cuadre td:first-child,.ui-table--stock-cuadre th:first-child{width:4%}.ui-table--stock-cuadre td:nth-child(2),.ui-table--stock-cuadre th:nth-child(2){width:34%}.ui-table--stock-cuadre td:nth-child(3),.ui-table--stock-cuadre td:nth-child(4),.ui-table--stock-cuadre td:nth-child(5),.ui-table--stock-cuadre td:nth-child(6),.ui-table--stock-cuadre th:nth-child(3),.ui-table--stock-cuadre th:nth-child(4),.ui-table--stock-cuadre th:nth-child(5),.ui-table--stock-cuadre th:nth-child(6){width:12%;text-align:right}.ui-table--stock-cuadre td:nth-child(7),.ui-table--stock-cuadre th:nth-child(7){width:14%}