.auth-shell{background:radial-gradient(circle at 10% 10%, #fce6cd 0, transparent 28rem), radial-gradient(circle at 90% 90%, #d9f2e8 0, transparent 28rem), var(--canvas);justify-content:center;align-items:center;min-height:100svh;padding:1.5rem;display:flex}.auth-card,.dashboard-card{border:1px solid var(--line);background:#ffffffe0;border-radius:1.25rem;box-shadow:0 1.25rem 3.75rem #24352e1f}.auth-card{width:100%;max-width:29rem;padding:clamp(1.5rem,5vw,3rem)}.brand{color:var(--brand-dark);letter-spacing:.08em;text-transform:uppercase;margin:0 0 2.25rem;font-size:1.05rem;font-weight:750}.eyebrow{color:var(--brand);letter-spacing:.08em;text-transform:uppercase;font-size:.82rem;font-weight:700}.auth-card h1,.dashboard-header h1{color:var(--ink);letter-spacing:-.055em;margin:.45rem 0 .85rem;font-size:clamp(2rem,6vw,3rem);line-height:1.05}.intro{color:var(--muted);margin:0 0 2rem}.login-form{gap:1.2rem;display:grid}.field{gap:.45rem;display:grid}.field label{color:var(--ink);font-size:.92rem;font-weight:650}.field input{border:1px solid var(--line-strong);color:var(--ink);font:inherit;background:#fff;border-radius:.65rem;padding:.78rem .9rem}.field input:focus{border-color:var(--brand);outline:none;box-shadow:0 0 0 3px #14755329}.field input[aria-invalid=true]{border-color:var(--danger)}.password-field{align-items:center;gap:.5rem;display:flex}.password-field input{width:100%;min-width:0}.password-toggle{color:var(--brand-dark);cursor:pointer;font:inherit;background:0 0;border:0;padding:.4rem;font-size:.85rem;font-weight:700}.password-toggle:focus-visible{outline-offset:2px;outline:3px solid #14755359}.field-error{color:var(--danger);font-size:.86rem}.client-supply{border-top:1px solid var(--line);gap:1rem;padding-top:1.25rem;display:grid}.client-supply h3,.client-supply h4,.client-supply p{margin:0}.client-supply-toggle{align-items:center;gap:.55rem;font-weight:650;display:flex}.client-supply-days{border:1px solid var(--line);border-radius:.75rem;flex-wrap:wrap;gap:.75rem 1rem;padding:.8rem;display:flex}.client-supply-days legend{padding:0 .3rem;font-weight:650}.client-supply-days label{white-space:nowrap}.client-supply-table{border-collapse:collapse;width:100%}.client-supply-table th,.client-supply-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;padding:.7rem .45rem}.client-supply-table th{color:var(--muted);font-size:.85rem}.client-supply-quantity{align-items:center;gap:.45rem;display:flex}.client-supply-quantity input{border:1px solid var(--line-strong);font:inherit;border-radius:.55rem;width:100%;max-width:7rem;padding:.55rem}.client-supply-results{gap:.45rem;margin:0;padding:0;list-style:none;display:grid}.client-supply-results li{background:var(--surface-muted);border-radius:.65rem;justify-content:space-between;align-items:center;gap:.75rem;padding:.55rem .7rem;display:flex}.client-supply-results small{color:var(--muted);display:block}.client-supply-pages{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.production-day-controls{flex-wrap:wrap;align-items:end;gap:1rem;display:flex}.production-summary-presentation{color:var(--muted);display:block}.production-sheet-history{gap:.5rem;padding:0;list-style:none;display:grid}.production-sheet-history li{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}@media (width<=42rem){.client-supply-table thead{display:none}.client-supply-table,.client-supply-table tbody,.client-supply-table tr,.client-supply-table td{display:block}.client-supply-table tr{border:1px solid var(--line);border-radius:.7rem;margin-bottom:.6rem;padding:.4rem .6rem}.client-supply-table td{border:0;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.client-supply-table td:before{color:var(--muted);content:attr(data-label);font-size:.85rem}}.button{background:var(--brand);border:1px solid var(--brand);color:#fff;cursor:pointer;font:inherit;border-radius:.65rem;padding:.78rem 1rem;font-weight:700}.button:hover:not(:disabled){background:var(--brand-dark)}.button:focus-visible,.quiet-button:focus-visible{outline-offset:3px;outline:3px solid #14755359}.button:disabled,.quiet-button:disabled,.icon-button:disabled{cursor:not-allowed;opacity:.6}.quiet-button{border:1px solid var(--line-strong);color:var(--ink);cursor:pointer;font:inherit;background:0 0;border-radius:.6rem;padding:.65rem .85rem}.button,.quiet-button{justify-content:center;align-items:center;gap:.5rem;min-height:2.75rem;text-decoration:none;display:inline-flex}.alert{border-radius:.65rem;margin:0 0 1.25rem;padding:.8rem .9rem;font-size:.92rem}.loading-screen{color:var(--muted);justify-content:center;align-items:center;min-height:100svh;padding:1.5rem;display:flex}.dashboard{max-width:72rem;margin:0 auto;padding:clamp(1rem,4vw,3rem)}.dashboard-header{justify-content:space-between;align-items:flex-start;gap:1.5rem;margin-bottom:2rem;display:flex}.dashboard-header h1{font-size:clamp(2rem,5vw,3.25rem)}.dashboard-header p{color:var(--muted);margin:0}.dashboard-card{padding:clamp(1.25rem,3vw,2rem)}.dashboard-card h2{color:var(--ink);margin:0 0 .4rem;font-size:1.2rem}.dashboard-card>p{color:var(--muted);margin:0}.placeholder-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.5rem;display:grid}.placeholder{background:var(--surface-muted);border:1px solid var(--line);border-radius:.8rem;padding:1.1rem}.placeholder h3{color:var(--ink);margin:0 0 .35rem;font-size:1rem}.placeholder p{color:var(--muted);margin:0;font-size:.92rem}.status-pill{color:var(--brand-dark);letter-spacing:.03em;text-transform:uppercase;margin-top:1rem;font-size:.78rem;font-weight:700;display:block}@media (width<=42rem){.auth-shell{padding:1rem}.dashboard-header{flex-direction:column}.placeholder-grid{grid-template-columns:1fr}}.app-header{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:2rem;padding:.8rem clamp(1rem,4vw,3rem);display:flex}.app-brand{color:var(--brand-dark);letter-spacing:.08em;text-transform:uppercase;font-size:1rem;font-weight:800;text-decoration:none}.app-navigation,.app-account,.user-actions,.users-list-heading{align-items:center;gap:.75rem;display:flex}.app-navigation{flex:1}.app-nav-link{color:var(--muted);border-radius:.5rem;padding:.65rem .8rem;text-decoration:none}.app-nav-link:hover,.app-nav-link.active{background:var(--surface-muted);color:var(--brand-dark)}.app-account{color:var(--muted);font-size:.92rem}.dashboard-home>h1,.page-heading h1,.access-denied h1{color:var(--ink);letter-spacing:-.05em;margin:.35rem 0 .5rem;font-size:clamp(2rem,5vw,3rem)}.dashboard-home>p:not(.eyebrow),.page-heading p:not(.eyebrow),.access-denied>p:not(.eyebrow){color:var(--muted)}.dashboard-home .dashboard-card{margin-top:2rem}.home-access-section{margin:1.75rem 0}.home-access-section h2{color:var(--ink);margin:0 0 .8rem;font-size:1.15rem}.home-access-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:.85rem;display:grid}.home-access-card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft);color:var(--brand-dark);border-radius:.85rem;align-items:center;gap:.85rem;padding:1.15rem;text-decoration:none;display:flex}.home-access-card:hover{background:var(--surface-raised);border-color:var(--brand-dark)}.home-access-card>svg{flex-shrink:0}.home-access-card>span{flex:1;gap:.35rem;display:grid}.home-access-card strong{color:var(--ink);line-height:1.35}.home-access-card small{color:var(--muted);font-size:.85rem;line-height:1.5}.role-badges{flex-wrap:wrap;gap:.5rem;margin:1rem 0;padding:0;list-style:none;display:flex}.role-badges li,.account-status{background:var(--surface-muted);border:1px solid var(--line);color:var(--muted);border-radius:999px;padding:.35rem .65rem;font-size:.78rem;font-weight:700}.user-management{gap:1.5rem;display:grid}.page-heading{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:1rem;display:flex}.page-heading p{margin:.45rem 0 0}.user-create{padding:clamp(1.1rem,3vw,1.75rem)}.user-create h2,.users-list h2{color:var(--ink);margin:0 0 1rem;font-size:1.2rem}.user-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.user-form .button{place-self:end start}.role-options{border:1px solid var(--line);border-radius:.7rem;flex-wrap:wrap;grid-column:1/-1;gap:.6rem 1rem;margin:0;padding:.75rem 1rem 1rem;display:flex}.role-options legend{color:var(--ink);padding:0 .35rem;font-size:.9rem;font-weight:650}.role-options label{color:var(--muted);align-items:center;gap:.35rem;font-size:.9rem;display:inline-flex}.role-options input{accent-color:var(--brand)}.users-list-heading{justify-content:space-between;margin-bottom:.8rem}.users-list-heading h2{margin:0}.search-field input{border:1px solid var(--line-strong);color:var(--ink);background:#fff;border-radius:.6rem;min-width:min(22rem,55vw);padding:.65rem .8rem}.user-card-list{gap:.9rem;display:grid}.user-card{border:1px solid var(--line);background:#fff;border-radius:.9rem;gap:1rem;padding:1.1rem;display:grid}.user-card-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.user-card-heading h3{color:var(--ink);margin:0 0 .25rem;font-size:1rem}.user-card-heading p{color:var(--muted);overflow-wrap:anywhere;margin:0}.user-edit-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;display:grid}.user-actions{flex-wrap:wrap}.empty-state,.loading-inline{color:var(--muted);padding:1rem}.access-denied{max-width:42rem;margin:3rem auto}.button-link{margin-top:.75rem;text-decoration:none;display:inline-block}.visually-hidden{clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.pagination{justify-content:center;align-items:center;gap:1rem;margin:1rem 0;display:flex}@media (width<=46rem){.app-header{flex-wrap:wrap;align-items:flex-start;gap:.65rem}.app-navigation{order:3;width:100%}.app-account{margin-left:auto}.app-content{padding:1rem}.user-form,.user-edit-fields{grid-template-columns:1fr}.users-list-heading{flex-direction:column;align-items:stretch}.search-field input{width:100%;min-width:0}.user-card-heading{flex-direction:column}}.auth-card,.dashboard-card{background:var(--surface);border-radius:.85rem;box-shadow:0 1px 2px #182d220a,0 6px 18px #182d2209}.app-shell{min-height:100svh}.app-sidebar{background:var(--surface);border-right:1px solid var(--line);z-index:30;flex-direction:column;width:16rem;transition:width .18s;display:flex;position:fixed;top:0;bottom:0;left:0}.app-sidebar.is-collapsed{width:4.5rem}.sidebar-top{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:4.25rem;padding:0 1rem;display:flex}.sidebar-brand{color:var(--ink);letter-spacing:.02em;align-items:center;gap:.7rem;min-width:0;font-size:1rem;font-weight:750;text-decoration:none;display:inline-flex}.sidebar-brand-mark{background:var(--brand);color:#fff;border-radius:.55rem;flex:0 0 2rem;justify-content:center;align-items:center;width:2rem;height:2rem;display:inline-flex}.sidebar-collapse,.icon-button,.mobile-menu-button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:.5rem;justify-content:center;align-items:center;min-width:2.75rem;min-height:2.75rem;display:inline-flex}.sidebar-collapse:hover,.icon-button:hover,.mobile-menu-button:hover{background:var(--surface-muted);color:var(--ink)}.app-sidebar.is-collapsed .sidebar-top{flex-direction:column;justify-content:center;gap:.5rem;height:auto;padding:.8rem .5rem}.app-sidebar.is-collapsed .sidebar-brand{justify-content:center}.sidebar-navigation{flex:1;padding:1rem .65rem;overflow-y:auto}.sidebar-group{gap:.2rem;margin-bottom:1.35rem;display:grid}.sidebar-group h2{color:#75827b;letter-spacing:.08em;margin:.5rem .7rem .4rem;font-size:.68rem;font-weight:750}.sidebar-item{color:#405148;border-radius:.55rem;align-items:center;gap:.75rem;min-height:2.65rem;padding:.55rem .72rem;text-decoration:none;transition:background-color .16s,color .16s;display:flex;position:relative}.sidebar-disclosure-button{justify-content:flex-start;width:100%}.sidebar-disclosure-button svg:last-child{margin-left:auto;transition:transform .16s}.sidebar-disclosure.is-expanded .sidebar-disclosure-button svg:last-child{transform:rotate(180deg)}.sidebar-submenu{gap:.15rem;margin:.2rem 0 .35rem 2.2rem;display:grid}.sidebar-submenu-item{color:var(--muted);border-radius:.45rem;padding:.5rem .65rem;font-size:.86rem;text-decoration:none}.sidebar-submenu-item.active{background:var(--surface-muted);color:var(--brand-dark);font-weight:700}.sidebar-item:hover{background:var(--surface-muted);color:var(--ink)}.sidebar-submenu[hidden]{display:none}.sidebar-submenu-item{align-items:center;gap:.65rem;min-height:2.75rem;display:flex}.sidebar-submenu-item svg{flex:none}.sidebar-submenu-item:hover{background:var(--surface-muted);color:var(--brand-dark)}.sidebar-disclosure-button{font:inherit;text-align:left;background:0 0;border:0}.sidebar-item.active{color:var(--brand-dark);background:#eaf3ee;font-weight:650}.sidebar-item.active:before{background:var(--brand);content:"";border-radius:0 2px 2px 0;width:3px;height:1.45rem;position:absolute;left:-.65rem}.sidebar-item-label{white-space:normal;flex:1}.sidebar-item.is-coming-soon{color:#78837d;cursor:default}.sidebar-item.is-coming-soon .sidebar-item-label{text-overflow:ellipsis;overflow:hidden}.coming-soon-label{color:#68766f;white-space:nowrap;font-size:.65rem}.app-sidebar.is-collapsed .sidebar-item{justify-content:center;padding-inline:.5rem}.app-sidebar.is-collapsed .sidebar-group{margin-bottom:1rem}.app-sidebar.is-collapsed .sidebar-item-label,.app-sidebar.is-collapsed .coming-soon-label{display:none}.sidebar-footer{border-top:1px solid var(--line);gap:.6rem;padding:.85rem .7rem;display:grid}.sidebar-identity{align-items:center;gap:.65rem;min-width:0;padding:.3rem;display:flex}.sidebar-identity>span:last-child{min-width:0;display:grid}.sidebar-identity strong,.sidebar-identity small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sidebar-identity strong{color:var(--ink);font-size:.82rem;font-weight:650}.sidebar-identity small{color:var(--muted);margin-top:.15rem;font-size:.7rem}.profile-avatar{color:var(--brand-dark);background:#e8f1ec;border-radius:50%;flex:0 0 2rem;justify-content:center;align-items:center;width:2rem;height:2rem;font-size:.8rem;font-weight:750;display:inline-flex}.sidebar-logout{color:var(--muted);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:.55rem;align-items:center;gap:.7rem;min-height:2.5rem;padding:.55rem .75rem;display:flex}.sidebar-logout:hover:not(:disabled){color:var(--danger);background:#fff2f0}.sidebar-logout:disabled{cursor:wait;opacity:.65}.app-sidebar.is-collapsed .sidebar-logout{justify-content:center;padding:.5rem}.app-sidebar.is-collapsed .sidebar-logout span{display:none}.app-main{min-height:100svh;margin-left:16rem;transition:margin-left .18s}.app-main.sidebar-is-collapsed{margin-left:4.5rem}.app-topbar{border-bottom:1px solid var(--line);z-index:20;background:#fffffff5;justify-content:space-between;align-items:center;gap:1.5rem;min-height:4.25rem;padding:.5rem 2rem;display:flex;position:sticky;top:0}.breadcrumbs{color:var(--muted);flex-wrap:wrap;align-items:center;gap:.6rem;min-width:0;font-size:.86rem;display:flex}.breadcrumbs a{color:var(--muted);text-decoration:none}.breadcrumbs a:hover{color:var(--brand-dark);text-decoration:underline}.breadcrumbs [aria-current=page]{color:var(--ink);font-weight:650}.topbar-actions{align-items:center;gap:.65rem;display:flex}.topbar-alert-link{color:var(--muted);border-radius:.5rem;justify-content:center;align-items:center;width:2.45rem;height:2.45rem;text-decoration:none;display:inline-flex;position:relative}.topbar-alert-link:hover{background:var(--surface-muted);color:var(--ink)}.notification-count{color:#fff;background:#a7471c;border:2px solid #fff;border-radius:999px;justify-content:center;align-items:center;min-width:1.15rem;height:1.15rem;padding:0 .2rem;font-size:.62rem;font-weight:750;display:flex;position:absolute;top:-.05rem;right:-.1rem}.profile-menu{position:relative}.profile-menu summary{color:var(--ink);cursor:pointer;border-radius:.55rem;align-items:center;gap:.5rem;min-height:2.5rem;padding:.2rem .45rem;list-style:none;display:flex}.profile-menu summary::-webkit-details-marker{display:none}.profile-menu summary:hover{background:var(--surface-muted)}.profile-menu-name{text-overflow:ellipsis;white-space:nowrap;max-width:12rem;font-size:.84rem;font-weight:600;overflow:hidden}.profile-popover{border:1px solid var(--line);z-index:40;background:#fff;border-radius:.7rem;gap:.35rem;min-width:14rem;padding:.9rem;display:grid;position:absolute;top:calc(100% + .5rem);right:0;box-shadow:0 8px 24px #14281c1a}.profile-popover strong{color:var(--ink);font-size:.9rem}.profile-popover>span{color:var(--muted);overflow-wrap:anywhere;font-size:.78rem}.profile-popover .profile-role{border-bottom:1px solid var(--line);padding-bottom:.7rem}.profile-popover button{color:var(--danger);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:.45rem;align-items:center;gap:.55rem;margin-top:.35rem;padding:.55rem .4rem;display:flex}.profile-popover button:hover{background:#fff2f0}.mobile-menu-button{display:none}.app-content{max-width:none;margin:0;padding:1.75rem clamp(1rem,2.4vw,2rem) 3rem}.app-content:focus{outline:none}.skip-to-content{background:var(--brand-dark);color:#fff;font:inherit;z-index:110;border:0;border-radius:.5rem;padding:.8rem 1rem;position:fixed;top:1rem;left:1rem;transform:translateY(-200%)}.skip-to-content:focus{transform:translateY(0)}.app-shell :is(button,a,summary,input,select,textarea,[tabindex]:not(main)):focus-visible,.auth-shell :is(button,a,input):focus-visible{outline:2px solid var(--brand-dark);outline-offset:3px}.sidebar-backdrop{display:none}.rnpa-page{gap:1.15rem;min-width:0;display:grid}.rnpa-page>*{min-width:0}.rnpa-heading{align-items:center;gap:1rem}.rnpa-heading .button{white-space:nowrap;align-items:center;gap:.5rem;display:inline-flex}.rnpa-list-section{background:var(--surface);border:1px solid var(--line);border-radius:.8rem;min-width:0;overflow:hidden}.rnpa-filters{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:end;gap:.8rem;padding:1rem;display:flex}.rnpa-search{flex:15rem;position:relative}.rnpa-search>span:not(.visually-hidden){color:var(--muted);margin-bottom:.35rem;font-size:.8rem;font-weight:650;display:block}.rnpa-search input,.rnpa-filter input,.rnpa-filter select,.rnpa-settings-form input{border:1px solid var(--line-strong);color:var(--ink);background:#fff;border-radius:.5rem;width:100%;min-height:2.55rem;padding:.55rem .7rem}.rnpa-filter{color:var(--muted);gap:.28rem;min-width:8.5rem;font-size:.72rem;font-weight:650;display:grid}.rnpa-filter select{font-size:.84rem}.rnpa-date-filter{min-width:9rem}.rnpa-clear-filters{min-height:2.55rem}.rnpa-table-wrap{overscroll-behavior-inline:contain;overflow-x:auto}.rnpa-table{border-collapse:collapse;width:100%;min-width:850px}.rnpa-table th{color:#5b6b63;letter-spacing:.045em;text-align:left;text-transform:uppercase;background:#f8faf8;font-size:.68rem;font-weight:700}.rnpa-table th,.rnpa-table td{border-bottom:1px solid var(--line);vertical-align:middle;padding:.85rem 1rem}.sortable-header{color:inherit;cursor:pointer;font:inherit;letter-spacing:inherit;text-align:left;text-transform:inherit;background:0 0;border:0;align-items:center;gap:.4rem;padding:0;display:inline-flex}.sortable-header:hover,.sortable-header:focus-visible{color:var(--brand-dark)}.sortable-header:focus-visible{outline:2px solid var(--brand);outline-offset:3px;border-radius:.2rem}.rnpa-table th[aria-sort=ascending],.rnpa-table th[aria-sort=descending]{color:var(--brand-dark)}.rnpa-table tbody tr:last-child td{border-bottom:0}.rnpa-table td{color:var(--ink);font-variant-numeric:tabular-nums;font-size:.85rem}.rnpa-code-link{color:var(--brand-dark);cursor:pointer;font:inherit;text-underline-offset:.15rem;background:0 0;border:0;padding:0;font-weight:700;-webkit-text-decoration:underline #0000;text-decoration:underline #0000}.rnpa-code-link:hover{text-decoration-color:currentColor}.rnpa-status{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;gap:.35rem;padding:.38rem .58rem;font-size:.75rem;font-weight:650;line-height:1.2;display:inline-flex}.rnpa-status-vigente{color:#185d3c;background:#eaf4ee;border-color:#cfe5d7}.rnpa-status-proximo_a_vencer{color:#765000;background:#fff4dc;border-color:#f1ddb0}.rnpa-status-vencido{color:#922d24;background:#fff0ee;border-color:#f1d0cc}.rnpa-inactive-badge{color:#55615b;white-space:nowrap;background:#f1f3f2;border-radius:999px;margin:.25rem 0 0 .4rem;padding:.25rem .45rem;font-size:.68rem;font-weight:650;display:inline-flex}.products-unavailable{color:var(--muted);font-size:.78rem}.rnpa-row-actions{justify-content:flex-end;align-items:center;gap:.2rem;display:flex}.icon-button.is-danger:hover{color:var(--danger);background:#fff0ee}.rnpa-empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:15rem;padding:2rem;display:flex}.rnpa-empty-state h2{color:var(--ink);margin:0 0 .45rem;font-size:1.1rem}.rnpa-empty-state p{color:var(--muted);max-width:32rem;margin:0 0 1rem}.rnpa-pagination{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;padding:.8rem 1rem;font-size:.8rem;display:flex}.rnpa-pagination>div{align-items:center;gap:.7rem;display:flex}.rnpa-pagination button{align-items:center;gap:.35rem;display:inline-flex}.rnpa-settings{background:var(--surface);border:1px solid var(--line);border-radius:.7rem}.rnpa-settings summary{color:var(--ink);cursor:pointer;padding:.8rem 1rem;font-size:.86rem;font-weight:650}.rnpa-settings-form{border-top:1px solid var(--line);flex-wrap:wrap;align-items:end;gap:1rem;padding:1rem;display:flex}.rnpa-settings-form>p{color:var(--muted);flex:100%;margin:0;font-size:.82rem}.rnpa-settings-form .field{max-width:15rem}.rnpa-settings-form .field input{margin-top:.4rem}.form-hint{color:var(--muted);font-size:.82rem;line-height:1.5;display:block}.form-success{color:#185d3c;font-size:.8rem}.rnpa-dialog{border:1px solid var(--line);color:var(--ink);border-radius:.85rem;width:100%;max-width:min(94vw,35rem);max-height:min(88vh,48rem);padding:0;box-shadow:0 18px 55px #14231a33}.rnpa-dialog::backdrop{background:#1321196b}.rnpa-dialog-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;padding:1.2rem 1.35rem;display:flex}.rnpa-dialog-header h2{color:var(--ink);margin:.35rem 0 0;font-size:1.22rem}.rnpa-dialog-header .eyebrow{margin:0}.rnpa-form,.rnpa-detail{gap:1.2rem;padding:1.35rem;display:grid}.rnpa-form .field input{border:1px solid var(--line-strong);color:var(--ink);background:#fff;border-radius:.55rem;width:100%;min-height:2.75rem;padding:.65rem .75rem}.rnpa-dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:.65rem;display:flex}.rnpa-detail dl{gap:.9rem;margin:0;display:grid}.rnpa-detail dl>div{gap:.25rem;display:grid}.rnpa-detail dt{color:var(--muted);font-size:.75rem;font-weight:650}.rnpa-detail dd{color:var(--ink);flex-wrap:wrap;align-items:center;gap:.4rem;margin:0;display:flex}.rnpa-attention{border-left:3px solid #d4a649}.rnpa-attention-heading{justify-content:space-between;align-items:flex-start;display:flex}.rnpa-attention-heading h2{margin-top:.25rem}.rnpa-attention-heading a{color:var(--brand-dark);align-items:center;gap:.35rem;font-size:.8rem;font-weight:650;text-decoration:none;display:inline-flex}.rnpa-attention-counts{flex-wrap:wrap;gap:1.5rem;margin:1rem 0;display:flex}.rnpa-attention-counts>div{color:var(--muted);align-items:center;gap:.4rem;display:flex}.rnpa-attention-counts strong{color:var(--ink);font-size:1.2rem}.rnpa-attention-list{border-top:1px solid var(--line);margin:0;padding:0;list-style:none}.rnpa-attention-list li{border-bottom:1px solid var(--line);color:var(--ink);justify-content:space-between;padding:.6rem 0;font-size:.82rem;display:flex}.rnpa-attention-clear{color:#185d3c;font-size:.85rem}.client-table{min-width:1050px}.client-table td strong{color:var(--brand-dark);white-space:nowrap}.client-price-badge{background:var(--surface-muted);border:1px solid var(--line);color:var(--ink);white-space:nowrap;border-radius:999px;padding:.22rem .6rem;font-size:.74rem;font-weight:700;display:inline-flex}.client-price-badge.is-wholesale{color:#355b2d;background:#edf4e8;border-color:#c6d9b8}.client-price-badge.is-retail{color:#8a3a12;background:#fff1e7;border-color:#f2c8a7}.client-dialog{flex-direction:column;width:min(94vw,52rem);max-width:min(94vw,52rem);max-height:min(90dvh,54rem);display:flex;overflow:hidden}.client-form{grid-template-columns:1fr}.client-form .field input,.client-form .field select,.client-form .field textarea{border:1px solid var(--line-strong);color:var(--ink);font:inherit;background:#fff;border-radius:.55rem;width:100%;min-height:2.75rem;padding:.65rem .75rem}.client-form .field textarea{resize:vertical}.client-form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;display:grid}.client-code-card{border:1px solid var(--brand-soft);background:linear-gradient(135deg,#fff4dc,#fffaf0);border-radius:.8rem;gap:.25rem;padding:1rem;display:grid}.client-code-card span,.client-code-card small{color:var(--muted);font-size:.78rem}.client-code-card strong{color:var(--brand-dark);letter-spacing:.08em;font-size:1.55rem}.client-detail{gap:1rem;min-height:0;overflow:hidden auto}.client-logo-preview{background:var(--surface);border:1px solid var(--line);object-fit:contain;border-radius:.6rem;max-width:100%;max-height:10rem;padding:.5rem}.client-logo-edit{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.client-logo-edit .client-logo-preview{max-width:9rem;max-height:6rem}.client-detail dl{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}.client-detail dl>div{border-bottom:1px solid var(--line);min-width:0;padding-bottom:.55rem}.client-detail dd,.client-detail dt{overflow-wrap:anywhere}.client-access-panel{background:var(--surface-muted);border:1px solid var(--line);border-radius:.7rem;gap:.85rem;width:100%;min-width:0;padding:.9rem;display:grid}.client-access-panel h3{margin:0 0 .25rem;font-size:.95rem}.client-access-panel p{color:var(--muted);margin:0;font-size:.82rem}.client-access-heading,.client-access-status,.client-access-issued,.client-access-actions{min-width:0}.client-access-status{flex-wrap:wrap;align-items:baseline;gap:.35rem .6rem;display:flex}.client-access-status>span,.client-access-status small{color:var(--muted);font-size:.78rem}.client-access-status strong{color:var(--ink);font-size:.82rem}.login-form .field input{min-height:3rem;font-size:16px}.orders-page,.order-detail{gap:1.25rem;max-width:76rem;display:grid}.orders-grid{grid-template-columns:minmax(18rem,.85fr) minmax(22rem,1.15fr);align-items:start;gap:1.25rem;display:grid}.order-form,.orders-list,.order-detail>section{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft);border-radius:.9rem;gap:1rem;padding:1.15rem;display:grid}.order-form h2,.orders-list h2,.order-detail h1,.order-detail h2{color:var(--ink);margin:0}.order-form>div p,.order-form>div .eyebrow{color:var(--muted);margin:.35rem 0 0}.order-form .field select,.order-form .field textarea,.order-form .field input{background:var(--surface);border:1px solid var(--line-strong);color:var(--ink);border-radius:.6rem;width:100%;min-height:2.6rem;padding:.55rem .7rem}.order-form .field textarea{resize:vertical}.order-form-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;display:grid}.order-pricing-note{background:var(--surface-muted);border-left:3px solid var(--brand);color:var(--ink);margin:0;padding:.65rem .75rem;font-size:.84rem}.orders-list ul,.order-detail ul{gap:.6rem;margin:0;padding:0;list-style:none;display:grid}.orders-list li,.order-detail li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:.7rem;padding:.65rem 0;display:flex}.orders-list li div{gap:.2rem;display:grid}.orders-list li div:last-child{align-items:center;display:flex}.orders-list span{color:var(--muted);font-size:.8rem}.orders-list a{color:var(--brand-dark);font-size:.8rem;font-weight:700}.order-status{background:var(--surface-muted);border-radius:999px;padding:.2rem .5rem}.order-total{text-align:right;font-size:1.05rem}.portal-shell{background:radial-gradient(ellipse at 10% 10%, var(--surface-raised), transparent 30rem), var(--canvas);justify-content:center;align-items:center;min-height:100svh;padding:1rem;display:flex}.portal-card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-card);border-radius:1rem;width:100%;max-width:29rem;padding:clamp(1.5rem,5vw,2.5rem)}.portal-card h1{color:var(--ink);margin:.3rem 0 .75rem}.portal-card p:not(.eyebrow){color:var(--muted)}@media (width<=60rem){.app-sidebar{visibility:hidden;width:min(18rem,86vw);transition:transform .18s,visibility .18s;transform:translate(-105%);box-shadow:8px 0 24px #14231a14}.app-sidebar.is-collapsed{width:min(18rem,86vw)}.app-sidebar.is-mobile-open{visibility:visible;transform:translate(0)}.app-sidebar.is-collapsed .sidebar-item-label,.app-sidebar.is-collapsed .coming-soon-label{display:inline}.app-sidebar.is-collapsed .sidebar-item{justify-content:flex-start;padding:.55rem .72rem}.app-sidebar.is-collapsed .sidebar-top{flex-direction:row;justify-content:space-between;height:4.25rem;padding:0 1rem}.app-sidebar.is-collapsed .sidebar-logout{justify-content:flex-start;padding:.55rem .75rem}.app-sidebar.is-collapsed .sidebar-logout span{display:inline}.app-main,.app-main.sidebar-is-collapsed{margin-left:0}.app-topbar{gap:.75rem;padding:.5rem 1rem}.mobile-menu-button{flex:none;display:inline-flex}.sidebar-backdrop{z-index:25;background:#0f1c1457;border:0;display:block;position:fixed;inset:0}.rnpa-filters{align-items:stretch}.rnpa-filter{flex:9rem}.rnpa-search{flex-basis:100%}}@media (width<=40rem){.app-content{padding:1.2rem .85rem 2rem}.app-topbar{min-height:3.75rem}.profile-menu-name{display:none}.rnpa-heading{flex-direction:column;align-items:flex-start}.rnpa-heading .button{justify-content:center;width:100%}.rnpa-filters{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.rnpa-search{grid-column:1/-1}.rnpa-filter,.rnpa-date-filter{min-width:0}.rnpa-clear-filters{justify-self:start}.rnpa-pagination{flex-direction:column;align-items:flex-start;gap:.7rem}.rnpa-pagination>div{justify-content:space-between;width:100%}.rnpa-settings-form{flex-direction:column;align-items:stretch}.rnpa-settings-form .field{max-width:none}.rnpa-attention-heading{gap:.7rem}.rnpa-attention-heading a{white-space:nowrap}}@media (width<=48rem){.orders-grid,.order-form-row{grid-template-columns:1fr}.client-access-panel{flex-direction:column;align-items:stretch}.client-access-panel .quiet-button,.client-access-panel .button{justify-content:center;width:100%}.login-form{gap:1rem;padding:1.25rem}.client-form-row,.client-detail dl{grid-template-columns:1fr}.client-table-wrap{overflow:visible}.client-table{min-width:0}.client-table thead{clip:rect(0, 0, 0, 0);clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.client-table tbody{gap:.8rem;padding:.8rem;display:grid}.client-table tbody tr{background:var(--surface);border:1px solid var(--line);border-radius:.7rem;gap:.35rem;padding:.8rem;display:grid}.client-table tbody td{overflow-wrap:anywhere;border:0;grid-template-columns:minmax(6.2rem,.65fr) 1fr;gap:.25rem;padding:.25rem 0;font-size:.84rem;display:grid}.client-table tbody td:before{color:var(--muted);content:attr(data-label);font-size:.72rem;font-weight:650}.client-table tbody td:last-child{justify-content:flex-end;display:flex}.client-table tbody td:last-child:before{content:""}}.ingredient-table{min-width:760px}.ingredient-table th,.ingredient-table td{text-align:left}.ingredient-table .sortable-header{justify-content:flex-start;width:100%;display:flex}.ingredient-status{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;gap:.3rem;padding:.38rem .55rem;font-size:.72rem;font-weight:650;line-height:1.2;display:inline-flex}.ingredient-status-vigente{color:#185d3c;background:#eaf4ee;border-color:#cfe5d7}.ingredient-status-proximo_a_vencer{color:#765000;background:#fff4dc;border-color:#f1ddb0}.ingredient-status-vencido{color:#922d24;background:#fff0ee;border-color:#f1d0cc}.ingredient-status-sin_caducidad{color:#55615b;background:#f1f3f2;border-color:#e0e5e2}.ingredient-vat{color:var(--muted);margin-top:.15rem;font-size:.7rem;display:block}.ingredient-form .field input,.ingredient-form .field select{border:1px solid var(--line-strong);color:var(--ink);background:#fff;border-radius:.55rem;width:100%;min-height:2.75rem;padding:.65rem .75rem}.ingredient-form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;display:grid}.ingredient-form .field>span{color:var(--ink);font-size:.86rem;font-weight:650}.ingredient-form .field small{color:var(--muted);font-weight:400}.ingredient-dialog-compound{max-width:min(96vw,68rem);max-height:min(92vh,56rem)}.ingredient-dialog-compound .ingredient-form{overscroll-behavior:contain;max-height:calc(92vh - 5.5rem);overflow-y:auto}.ingredient-compound-fieldset{min-width:0}.ingredient-search-select{gap:.35rem;min-width:0;display:grid}.ingredient-search-options{background:var(--surface);border:1px solid var(--line-strong);box-shadow:var(--shadow-soft);z-index:1;border-radius:.55rem;max-height:15rem;padding:.3rem;display:grid;position:relative;overflow-y:auto}.ingredient-search-options button{color:var(--ink);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:.4rem;justify-content:space-between;align-items:center;gap:.75rem;min-width:0;padding:.55rem .65rem;display:flex}.ingredient-search-options button:hover,.ingredient-search-options button.is-active{background:var(--surface-muted)}.ingredient-search-options button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ingredient-search-options button small{color:var(--muted);flex:none;font-size:.78rem}.ingredient-search-options p{color:var(--muted);margin:0;padding:.55rem .65rem;font-size:.85rem}.ingredient-recipe-list{gap:.5rem;min-width:0;display:grid}.ingredient-recipe-row{grid-template-columns:minmax(0,1fr) minmax(4rem,.45fr) minmax(9rem,11rem) auto;align-items:start;gap:.75rem;min-width:0;display:grid}.ingredient-recipe-heading{color:var(--muted);text-transform:uppercase;align-items:center;padding:0 .1rem;font-size:.76rem;font-weight:700}.ingredient-recipe-heading>:nth-child(2),.ingredient-recipe-unit{text-align:center}.ingredient-recipe-heading>:nth-child(3),.ingredient-recipe-quantity{text-align:left}.ingredient-recipe-heading>:last-child,.ingredient-recipe-remove{justify-self:center}.ingredient-selectable-row{cursor:pointer}.ingredient-selectable-row:hover{background:var(--surface-muted)}.ingredient-selectable-row:focus-within{outline:2px solid var(--brand);outline-offset:-2px}.ingredient-type-tag{background:var(--brand-soft);color:var(--brand-dark);border-radius:999px;margin-left:.55rem;padding:.18rem .55rem;font-size:.72rem;font-weight:700;display:inline-block}.ingredient-back-button{margin-bottom:.75rem}.ingredient-recipe-name,.ingredient-recipe-unit{align-self:center;min-width:0}.ingredient-recipe-name{text-overflow:ellipsis;white-space:nowrap;font-weight:650;overflow:hidden}.ingredient-recipe-unit{color:var(--muted)}.ingredient-recipe-quantity{min-width:0}.ingredient-recipe-remove{white-space:nowrap;justify-content:center;align-self:center;align-items:center;gap:.35rem;min-height:2.75rem;display:inline-flex}.ingredient-stock-section{border-top:1px solid var(--line);margin-top:1.25rem;padding-top:1.25rem}.ingredient-stock-heading{justify-content:space-between;align-items:center;gap:1rem;margin:1.25rem 0 .75rem;display:flex}.ingredient-stock-heading h3,.ingredient-stock-heading p,.ingredient-stock-form h4{margin:0}.ingredient-stock-heading p{color:var(--muted);margin-top:.2rem;font-size:.82rem}.ingredient-stock-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;display:grid}.ingredient-stock-summary>div{background:var(--surface-muted);border:1px solid var(--line);border-radius:.65rem;gap:.2rem;padding:.7rem;display:grid}.ingredient-stock-summary strong{text-transform:uppercase;font-size:.72rem}.ingredient-stock-summary span{font-weight:650;display:grid}.ingredient-stock-summary small,.ingredient-stock-table td small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:12rem;margin-top:.2rem;font-size:.72rem;font-weight:400;display:block;overflow:hidden}.ingredient-stock-form{background:var(--surface-muted);border:1px solid var(--line);border-radius:.7rem;gap:.85rem;margin:.8rem 0;padding:1rem;display:grid}.ingredient-stock-table{min-width:920px}.ingredient-cost-preview{background:var(--surface);border:1px dashed var(--line-strong);border-radius:.55rem;gap:.35rem;padding:.75rem;font-size:.82rem;display:grid}.ingredient-expired{color:var(--danger)!important}.ingredient-detail-page{gap:1rem;display:grid}.ingredient-back-button{justify-self:start}.ingredient-detail-heading{margin-bottom:0}.ingredient-detail-card{background:var(--surface);border:1px solid var(--line);border-radius:.85rem;padding:1.15rem}.ingredient-detail-card h2{margin:0 0 .75rem;font-size:1.05rem}.ingredient-detail-card dl{grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:.75rem 1.25rem;margin:0;display:grid}.ingredient-detail-card dl>div{min-width:0}.ingredient-detail-card dt{color:var(--muted);text-transform:uppercase;font-size:.75rem;font-weight:700}.ingredient-detail-card dd{margin:.2rem 0 0}.ingredient-stock-dialog{max-width:min(95vw,46rem);max-height:min(90vh,52rem)}.ingredient-stock-dialog .ingredient-stock-form{border:0;border-radius:0;max-height:calc(90vh - 5rem);margin:0;overflow-y:auto}@media (width<=40rem){.ingredient-stock-summary{grid-template-columns:1fr}.ingredient-stock-heading{flex-direction:column;align-items:flex-start}.ingredient-form-row{grid-template-columns:1fr}.ingredient-dialog-compound{max-width:100vw}.ingredient-dialog-compound .ingredient-form{max-height:calc(96vh - 5.5rem);padding:1rem}.ingredient-recipe-heading{display:none}.ingredient-recipe-row{border:1px solid var(--line);border-radius:.6rem;grid-template-columns:minmax(0,1fr) auto;padding:.75rem}.ingredient-recipe-unit{justify-self:end}.ingredient-recipe-quantity{grid-column:1/-1}.ingredient-recipe-remove{justify-self:start}}.product-table{min-width:900px}.product-dialog{max-width:min(96vw,68rem);max-height:min(92vh,64rem)}.product-form{background:var(--canvas);gap:1rem;max-height:min(78vh,62rem);padding:clamp(1rem,2vw,1.5rem);overflow-y:auto}.product-fieldset{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft);border-radius:.9rem;gap:1rem;min-width:0;margin:0;padding:1.15rem;display:grid}.product-fieldset legend{color:var(--ink);padding:0 .35rem;font-size:1.02rem;font-weight:750}.section-tabs{background:var(--surface-muted);border:1px solid var(--line);border-bottom:1px solid var(--line-strong);border-radius:.7rem .7rem 0 0;flex-wrap:wrap;gap:.15rem;padding:.55rem .75rem 0;display:flex}.product-tabs{background:var(--surface-muted);border-bottom:1px solid var(--line-strong);z-index:2;gap:.15rem;margin:calc(-1*clamp(1rem,2vw,1.5rem)) calc(-1*clamp(1rem,2vw,1.5rem)) 0;padding:.55rem clamp(1rem,2vw,1.5rem) 0;display:flex;position:sticky;top:0}.product-tabs button,.section-tabs button{color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:1px solid #0000;border-bottom:0;border-radius:.55rem .55rem 0 0;flex:1;min-height:2.8rem;padding:.55rem .75rem;font-weight:700}.product-tabs button:hover,.section-tabs button:hover{color:var(--brand-dark);background:#fffdf78c}.product-tabs button.is-active,.section-tabs button.is-active{background:var(--canvas);border-color:var(--line-strong);color:var(--brand-dark);margin-bottom:-1px}.product-tabs button:focus-visible,.section-tabs button:focus-visible{outline-offset:2px;outline:3px solid #e84f0066}.product-form{gap:1.15rem}.product-dialog:not(.product-dialog-view){flex-direction:column;height:min(90vh,64rem);max-height:90vh;display:flex}.product-dialog:not(.product-dialog-view)>.product-dialog-header{flex:none}.product-dialog:not(.product-dialog-view)>.product-tabs{background:var(--surface);flex:none;margin:0;padding:.45rem 1rem 0;position:static}.product-dialog:not(.product-dialog-view)>.product-tabs button,.section-tabs button{background-clip:padding-box}.product-dialog:not(.product-dialog-view)>.product-form{flex:auto;min-height:0;max-height:none;padding-top:1.25rem;overflow-y:auto}.product-fieldset{padding:1.25rem}.product-fieldset legend{background:var(--surface);overflow-wrap:anywhere;border-radius:.4rem;max-width:calc(100% - 1rem);padding:.1rem .55rem;line-height:1.4}.product-actions-section{background:var(--surface-muted);border:1px solid var(--line);border-radius:.8rem;align-items:center;gap:1rem;padding:1rem}.product-actions-section>p{color:var(--muted);margin:0;font-size:.88rem}.product-image-actions{justify-content:center;align-items:center;display:flex;flex-wrap:nowrap!important;gap:.3rem!important}.product-square-action{flex:0 0 2.15rem;justify-content:center;align-items:center;width:2.15rem;height:2.15rem;min-height:2.15rem;display:inline-flex;padding:0!important}.product-recipe-row .product-remove-action{grid-area:1/-1}.product-image-grid .product-square-action.is-danger,.product-recipe-row .product-square-action.is-danger{color:var(--danger)}.product-image-grid .product-square-action.is-danger:hover:not(:disabled),.product-recipe-row .product-square-action.is-danger:hover:not(:disabled){background:var(--danger-soft);border-color:var(--danger)}@media (width<=40rem){.product-tabs{gap:0;padding-inline:.45rem;display:flex}.product-tabs button,.section-tabs button{text-align:center;flex:1 1 0;min-width:0;padding:.5rem .3rem;font-size:.77rem;line-height:1.2}.product-fieldset{padding:1rem .8rem}.product-fieldset legend{font-size:.92rem}}.product-section-intro{color:var(--muted);margin:-.25rem 0 0;font-size:.85rem}.product-main-field{max-width:42rem}.required-marker{color:var(--danger);font-weight:750}.product-fieldset .field>span{color:var(--ink);font-size:.86rem;font-weight:650}.product-fieldset .field>span small{color:var(--muted);font-weight:400}.product-fieldset .field input,.product-fieldset .field select,.product-fieldset .field textarea,.product-inline-input input,.product-inline-input select,.product-recipe-row input,.product-recipe-row select,.product-plan-row input,.product-week-row input{border:1px solid var(--line-strong);color:var(--ink);font:inherit;background:#fff;border-radius:.5rem;width:100%;min-height:2.6rem;padding:.55rem .7rem}.product-fieldset .field textarea{resize:vertical}.product-fieldset input[aria-invalid=true],.product-fieldset select[aria-invalid=true],.product-fieldset textarea[aria-invalid=true]{border-color:var(--danger)}.product-form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;display:grid}.product-form-row.three-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.product-price-preview{background:var(--surface-muted);border-radius:.55rem;flex-wrap:wrap;gap:.65rem 1.2rem;padding:.8rem;display:flex}.product-price-preview span{color:var(--muted);gap:.2rem;font-size:.78rem;display:grid}.product-price-preview strong{color:var(--ink);font-size:1rem}.product-price-preview small{color:var(--muted);flex-basis:100%}.product-vat-field{max-width:15rem}.product-inline-input{align-items:end;gap:.55rem;display:flex}.product-inline-input .field{flex:1}.product-album ul,.product-detail section ul{overflow-wrap:anywhere;gap:.45rem;margin:0;padding:0;list-style:none;display:grid}.product-album li{justify-content:space-between;align-items:center;gap:.6rem;display:flex}.product-album li a,.product-detail a{color:var(--brand-dark)}.product-production-section{border-color:var(--brand-soft);gap:1.15rem}.product-section-heading{background:var(--surface-muted);border-left:3px solid var(--brand);border-radius:.6rem;padding:.85rem .95rem}.product-section-heading h3,.product-actions-section h3{color:var(--ink);margin:0 0 .25rem;font-size:.95rem}.product-section-heading p,.product-actions-section p{color:var(--muted);margin:0;font-size:.82rem}.product-production-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.15rem;display:grid}.product-production-inputs{min-width:0}.product-production-inputs h4{color:var(--ink);margin:0 0 .25rem;font-size:.9rem}.product-production-inputs .form-hint{margin:0 0 .75rem}.product-plan-grid,.product-weeks-grid{grid-template-columns:minmax(7rem,1fr) minmax(8rem,12rem);align-items:center;gap:.45rem .75rem;display:grid}.product-weeks-grid{grid-template-columns:minmax(6rem,1fr) minmax(7rem,10rem) minmax(7rem,9rem)}.product-plan-row,.product-week-row{align-items:center;display:contents}.product-plan-grid>strong,.product-weeks-grid>strong{color:var(--muted);font-size:.72rem}.product-plan-row label,.product-week-row label{color:var(--ink);font-size:.84rem}.product-week-row output{color:var(--ink);font-size:.85rem;font-weight:700}.product-suggestion-summary{background:#edf1df;border:1px solid #cbd4a8;border-radius:.75rem;gap:.7rem;padding:.9rem;display:grid}.product-suggestion-summary>div{gap:.2rem;display:grid}.product-suggestion-summary span,.product-suggestion-summary small{color:var(--muted);font-size:.78rem}.product-suggestion-summary strong{color:var(--success)}.product-suggestion-summary>div strong{font-size:1.08rem}.product-suggestion-summary ul{flex-wrap:wrap;gap:.35rem 1rem;margin:0;padding:0;list-style:none;display:flex}.product-suggestion-summary li{color:var(--ink);font-size:.8rem}.product-recipe-list{gap:.55rem;display:grid}.product-recipe-row{grid-template-columns:minmax(8rem,1fr) minmax(6rem,9rem) 5rem auto;align-items:center;gap:.5rem;display:grid}.product-recipe-row>span{color:var(--ink);font-size:.85rem}.product-recipe-row small{color:var(--muted)}.product-detail{max-height:min(75vh,58rem);overflow-y:auto}.product-detail section{border-bottom:1px solid var(--line);gap:.8rem;padding-bottom:1rem;display:grid}.product-detail section h3{color:var(--ink);margin:0;font-size:1rem}.product-summary-grid{grid-template-columns:minmax(12rem,.6fr) minmax(0,1.4fr);gap:1rem;display:grid;overflow-x:auto}.product-summary-grid table{border-collapse:collapse;font-size:.76rem}.product-summary-grid th,.product-summary-grid td{border-bottom:1px solid var(--line);text-align:right;padding:.45rem}.product-summary-grid th:first-child{text-align:left}.product-actions-section{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft);border-radius:.9rem;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.15rem;display:flex}.product-actions-section>div{max-width:30rem}.settings-form{gap:1rem;max-width:64rem;display:grid}.settings-card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft);border-radius:.9rem;gap:1rem;min-width:0;padding:1.2rem;display:grid}.settings-card legend{color:var(--ink);padding:0 .35rem;font-size:1.05rem;font-weight:750}.settings-card .field{gap:.4rem;max-width:42rem;display:grid}.settings-card input{border:1px solid var(--line-strong);color:var(--ink);background:#fff;border-radius:.5rem;width:100%;min-height:2.6rem;padding:.55rem .7rem}.settings-logo-preview{background:var(--surface-muted);border:1px dashed var(--line-strong);border-radius:.7rem;justify-content:center;align-items:center;max-width:16rem;height:9rem;display:flex;overflow:hidden}.settings-logo-preview img{object-fit:contain;width:100%;height:100%}.certificate-preview{border:1px solid var(--line);object-fit:contain;border-radius:.5rem;width:min(100%,30rem);max-height:22rem}.certificate-preview-pdf{border:1px solid var(--line);border-radius:.5rem;width:100%;max-width:40rem;height:24rem}.settings-logo-preview span{color:var(--muted)}.settings-actions{justify-content:flex-end;display:flex}.certificate-status{border-radius:.55rem;margin:0;padding:.75rem .9rem;font-weight:700}.status-valid{color:var(--success);background:#edf1df}.status-warning{color:var(--warning);background:#fff3cf}.status-expired{color:var(--danger);background:#fff0ef}.product-image-manager{background:var(--surface);border:1px dashed var(--line-strong);border-radius:.7rem;gap:.8rem;padding:.8rem;display:grid}.product-image-grid{grid-template-columns:repeat(auto-fill,minmax(9rem,1fr));gap:.75rem;display:grid}.product-image-grid figure{background:var(--surface-muted);border:1px solid var(--line);border-radius:.65rem;gap:.4rem;min-width:0;margin:0;padding:.5rem;display:grid}.product-image-grid img{aspect-ratio:1;object-fit:cover;border-radius:.4rem;width:100%}.product-image-grid figcaption,.product-image-grid small{color:var(--muted);font-size:.75rem}.product-image-grid figure>div{flex-wrap:wrap;gap:.25rem;display:flex}.product-image-placeholder{aspect-ratio:1;background:var(--surface-muted);border:1px dashed var(--line-strong);color:var(--muted);border-radius:.6rem;justify-content:center;align-items:center;max-width:12rem;display:flex}.product-table-thumbnail{aspect-ratio:1;object-fit:cover;border-radius:.4rem;width:3rem}.product-table-placeholder{color:var(--muted)}@media (width<=42rem){.settings-card{padding:.9rem}.settings-form .product-form-row{grid-template-columns:1fr}.settings-actions .button{justify-content:center;width:100%}}@media (width<=48rem){.product-dialog{max-width:100vw}.product-form{max-height:calc(100vh - 7.75rem);padding:.85rem}.product-fieldset{padding:1rem}.product-form-row,.product-form-row.three-columns,.product-production-grid{grid-template-columns:1fr}.product-recipe-row{grid-template-columns:minmax(5rem,1fr) minmax(4rem,6rem) 4rem auto}.product-summary-grid{grid-template-columns:1fr}.product-actions-section{flex-direction:column;align-items:stretch}.product-actions-section .rnpa-dialog-actions{grid-template-columns:1fr;display:grid}.product-actions-section .button,.product-actions-section .quiet-button{justify-content:center;width:100%}}.auth-shell{background:radial-gradient(ellipse at 12% 15%, var(--surface-raised), transparent 34rem), radial-gradient(ellipse at 90% 85%, var(--brand-soft), transparent 32rem), var(--canvas)}.auth-card,.dashboard-card{background:var(--surface);border-color:var(--line);box-shadow:var(--shadow-card);border-radius:1.1rem}.auth-card{max-width:31rem}.auth-logo{object-fit:contain;max-width:min(100%,16rem);height:8rem;margin:0 auto 1.5rem;display:block}.brand,.app-brand{color:var(--ink);letter-spacing:.035em}.eyebrow{color:var(--brand-dark)}.field input,.search-field input,.rnpa-search input,.rnpa-filter input,.rnpa-filter select,.rnpa-settings-form input,.rnpa-form .field input,.ingredient-form .field input,.ingredient-form .field select,.product-fieldset .field input,.product-fieldset .field select,.product-fieldset .field textarea,.product-inline-input input,.product-inline-input select,.product-recipe-row input,.product-recipe-row select,.product-plan-row input,.product-week-row input{background:var(--surface);border-color:var(--line-strong);border-radius:.65rem}.field input:focus,.search-field input:focus,.rnpa-search input:focus,.rnpa-filter input:focus,.rnpa-filter select:focus,.rnpa-form .field input:focus,.ingredient-form .field input:focus,.ingredient-form .field select:focus,.product-fieldset input:focus,.product-fieldset select:focus,.product-fieldset textarea:focus{border-color:var(--brand);outline:none;box-shadow:0 0 0 3px #e84f0021}.button{background:var(--brand-dark);border-color:var(--brand-dark);border-radius:.7rem;box-shadow:0 3px 8px #bd3f0029}.button:hover:not(:disabled){background:var(--ink);border-color:var(--ink)}.button:focus-visible,.quiet-button:focus-visible,.password-toggle:focus-visible{outline-color:#e84f006b}.quiet-button{background:var(--surface-raised);border-color:var(--line-strong);color:var(--ink);border-radius:.65rem}.quiet-button:hover:not(:disabled){background:var(--brand-soft);border-color:var(--brand)}.password-toggle{color:var(--brand-dark)}.alert-error{color:var(--danger);background:#fff0e9}.alert-info{color:var(--ink);background:#f7edcf}.app-sidebar,.app-topbar{background:var(--surface);border-color:var(--line)}.sidebar-top,.sidebar-footer{border-color:var(--line)}.sidebar-brand{gap:.5rem}.sidebar-brand-logo{background:var(--canvas);object-fit:contain;border-radius:.45rem;flex:0 0 2.5rem;width:2.5rem;height:2.5rem;display:block}.sidebar-brand-name{color:var(--ink);font-size:.94rem;font-weight:750}.app-sidebar.is-collapsed .sidebar-brand-logo{flex-basis:2.7rem;width:2.7rem;height:2.7rem}.sidebar-item{color:var(--muted)}.sidebar-item.active{background:var(--surface-muted);color:var(--brand-dark)}.sidebar-item.active:before{background:var(--brand)}.sidebar-group h2,.sidebar-item.is-coming-soon,.coming-soon-label{color:var(--muted)}.profile-avatar{background:var(--surface-muted);color:var(--brand-dark)}.profile-popover{background:var(--surface);border-color:var(--line);box-shadow:var(--shadow-soft)}.notification-count{background:var(--brand-dark);border-color:var(--surface)}.role-badges li,.account-status{background:var(--surface-muted);border-color:var(--line);color:var(--ink)}.account-status.active{color:var(--success);background:#edf1df;border-color:#cbd4a8}.user-card,.rnpa-list-section,.rnpa-settings{background:var(--surface);border-color:var(--line);box-shadow:var(--shadow-soft)}.placeholder,.product-price-preview{background:var(--surface-muted);border-color:var(--line)}.rnpa-filters,.rnpa-dialog-header,.rnpa-pagination,.rnpa-attention-list,.rnpa-attention-list li{border-color:var(--line)}.rnpa-table th{background:var(--surface-muted);color:var(--ink)}.rnpa-table th,.rnpa-table td{border-color:var(--line)}.rnpa-status-vigente,.ingredient-status-vigente{color:var(--success);background:#edf1df;border-color:#cbd4a8}.rnpa-status-proximo_a_vencer,.ingredient-status-proximo_a_vencer{border-color:var(--brand-soft);color:var(--warning);background:#fff1d6}.rnpa-status-vencido,.ingredient-status-vencido{color:var(--danger);background:#fff0e9;border-color:#e9b7a4}.rnpa-inactive-badge,.ingredient-status-sin_caducidad{background:var(--surface-muted);color:var(--muted)}.rnpa-dialog{background:var(--surface);border-color:var(--line);box-shadow:0 18px 55px #5c39273d}.rnpa-dialog::backdrop,.sidebar-backdrop{background:#3d271b6b}.rnpa-attention{border-left-color:var(--brand-soft)}.rnpa-attention-counts>div svg{color:var(--brand-dark)}.form-success,.rnpa-attention-clear{color:var(--success)}.profile-popover button:hover,.sidebar-logout:hover:not(:disabled),.icon-button.is-danger:hover{background:#fff0e9}.sidebar-logout:hover:not(:disabled),.icon-button.is-danger:hover{color:var(--danger)}@media (width<=40rem){.auth-logo{height:6.5rem;margin-bottom:1rem}}.product-dialog-view{overscroll-behavior:contain;max-width:min(96vw,76rem);max-height:min(92vh,62rem);overflow-y:auto}.product-dialog-view .product-dialog-header{background:var(--surface);z-index:2;align-items:center;gap:1rem;position:sticky;top:0}.product-dialog-header h2{overflow-wrap:anywhere;font-size:clamp(1.2rem,2vw,1.65rem)}.product-dialog-header-actions{flex:none;align-items:center;gap:.5rem;display:flex}.product-header-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:.35rem 1rem;margin-top:.45rem;display:flex}.product-header-meta span{align-items:center;gap:.35rem;font-size:.8rem;display:inline-flex}.product-header-meta svg{color:var(--brand-dark)}.product-detail{gap:1.1rem;max-height:none;padding:clamp(1rem,2vw,1.6rem);overflow:visible}.product-detail section{border:0;min-width:0;padding:0}.product-detail-overview{grid-template-columns:minmax(0,.9fr) minmax(0,1.35fr);align-items:stretch;gap:1rem;display:grid}.product-detail-card{background:var(--surface);border:1px solid var(--line);border-radius:.9rem;min-width:0;padding:clamp(1rem,1.8vw,1.35rem);box-shadow:0 3px 12px #5c39270d}.product-detail .product-detail-card h3,.product-detail-section-heading h3{color:var(--ink);margin:0;font-size:1rem}.product-general-card{align-content:start}.product-general-card dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;margin:1rem 0 0;display:grid}.product-general-card dl>div:first-child{grid-column:1/-1}.product-general-card dt{color:var(--muted);letter-spacing:.045em;text-transform:uppercase;font-size:.7rem;font-weight:750}.product-general-card dd{color:var(--ink);overflow-wrap:anywhere;margin:.25rem 0 0;font-size:.9rem}.product-inactive-label{background:var(--surface-muted);color:var(--muted);border-radius:999px;margin-left:.4rem;padding:.15rem .45rem;font-size:.68rem;display:inline-block}.product-commercial-card{background:linear-gradient(145deg, var(--surface) 55%, var(--surface-muted));border-color:var(--brand-soft);gap:.85rem;display:grid}.product-commercial-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.35rem .7rem;display:flex}.product-commercial-heading>span{color:var(--muted);font-size:.74rem}.product-sale-prices{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.product-sale-prices>div{background:var(--surface);border:1px solid var(--line);border-radius:.7rem;gap:.25rem;min-width:0;padding:.8rem;display:grid}.product-sale-prices span,.product-ingredient-cost span,.product-vat-note span{color:var(--muted);font-size:.73rem;font-weight:650}.product-sale-prices strong{color:var(--brand-dark);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:clamp(1.35rem,2.8vw,2rem);line-height:1.15}.product-commercial-secondary{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem 1rem;padding-top:.75rem;display:flex}.product-ingredient-cost{gap:.15rem;display:grid}.product-ingredient-cost strong{color:var(--ink);font-variant-numeric:tabular-nums;font-size:1.05rem}.product-markups{flex-wrap:wrap;gap:.4rem;display:flex}.product-markup-badge{background:var(--surface-muted);border:1px solid var(--line);color:var(--muted);border-radius:999px;padding:.35rem .55rem;font-size:.7rem}.product-markup-badge strong{color:var(--ink);margin-left:.2rem}.product-vat-note{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:.5rem;padding-top:.65rem;display:flex}.product-vat-note strong{color:var(--ink);font-size:.8rem}.product-commercial-restricted{color:var(--muted);margin:0;font-size:.85rem}.product-detail-production{gap:.85rem;display:grid;border-top:1px solid var(--line)!important;padding-top:1rem!important}.product-detail-section-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.25rem .75rem;display:flex}.product-detail-section-heading p{color:var(--muted);margin:0;font-size:.8rem}.product-summary-grid{grid-template-columns:minmax(12rem,.7fr) minmax(0,1.5fr);align-items:start;gap:.85rem;min-width:0;display:grid;overflow:visible}.product-summary-table-wrap{border:1px solid var(--line);overscroll-behavior-x:contain;border-radius:.7rem;min-width:0;overflow-x:auto}.product-summary-table-wrap table{border-collapse:collapse;white-space:nowrap;min-width:100%;font-size:.8rem}.product-summary-table-wrap th,.product-summary-table-wrap td{border-bottom:1px solid var(--line);text-align:right;padding:.55rem .65rem}.product-summary-table-wrap thead th{background:var(--surface-muted);color:var(--muted);letter-spacing:.035em;text-transform:uppercase;font-size:.68rem;font-weight:750}.product-summary-table-wrap tbody tr:last-child th,.product-summary-table-wrap tbody tr:last-child td{border-bottom:0}.product-summary-table-wrap th:first-child{text-align:left}.product-summary-table-wrap tbody th{color:var(--ink);font-weight:650}.product-summary-table-wrap tbody tr:nth-child(2n){background:#f9f0dc73}.product-summary-table-wrap .product-max-value,.product-summary-table-wrap .product-week-total{color:var(--brand-dark);font-weight:800}.product-week-summary-wrap table{min-width:38rem}.product-detail>section:not(.product-detail-production)>h3{border-bottom:1px solid var(--line);padding-bottom:.55rem}.product-detail>section ul{padding-top:.2rem}.toast{border:1px solid var(--line);box-shadow:var(--shadow-card);z-index:100;border-radius:.85rem;align-items:center;gap:1rem;max-width:min(30rem,100vw - 2rem);padding:.9rem 1rem;animation:.18s ease-out toast-in;display:flex;position:fixed;top:1.25rem;right:1.25rem}.toast-error{color:var(--danger);background:#fff0e9;border-color:#e9b7a4}.toast-success{color:var(--success);background:#edf1df;border-color:#cbd4a8}.toast-close{color:inherit;cursor:pointer;background:0 0;border:0;border-radius:.4rem;flex:none;justify-content:center;align-items:center;min-width:2.75rem;min-height:2.75rem;padding:.25rem;display:inline-flex}.toast-close:hover{background:#5c392714}@keyframes toast-in{0%{opacity:0;transform:translateY(-.5rem)}to{opacity:1;transform:translateY(0)}}.user-card{gap:.85rem;padding:1rem 1.15rem}.user-card-heading{align-items:center;min-width:0}.user-identity{align-items:center;gap:.85rem;min-width:0;display:flex}.user-identity-copy{min-width:0}.user-avatar,.user-avatar-preview{background:var(--surface-muted);border:1px solid var(--line);color:var(--brand-dark);border-radius:50%;flex:0 0 3.35rem;justify-content:center;align-items:center;width:3.35rem;height:3.35rem;font-size:.95rem;font-weight:750;display:flex;overflow:hidden}.user-avatar img{object-fit:cover;width:100%;height:100%}.user-avatar-preview{object-fit:cover;border-radius:.75rem;flex:0 0 4rem;height:4rem}.user-identity-copy h3{color:var(--ink);margin:0 0 .2rem;font-size:1rem}.user-identity-copy p{color:var(--muted);overflow-wrap:anywhere;margin:0}.user-card-tools{flex:none;align-items:center;gap:.65rem;display:flex}.edit-icon-button{background:var(--surface);border:1px solid var(--line);color:var(--brand-dark);cursor:pointer;border-radius:.55rem;justify-content:center;align-items:center;width:2.25rem;height:2.25rem;display:inline-flex}.edit-icon-button:hover{background:var(--surface-muted);border-color:var(--brand-soft)}.edit-icon-button:focus-visible,.toast-close:focus-visible{outline-offset:2px;outline:3px solid #e84f006b}.user-role-badges{flex-wrap:wrap;gap:.35rem;margin-top:.45rem;display:flex}.user-role-badges span{background:var(--surface-muted);border:1px solid var(--line);color:var(--muted);border-radius:999px;padding:.2rem .5rem;font-size:.72rem;font-weight:650}.user-edit-fields{border-top:1px solid var(--line);padding-top:.9rem}.user-edit-fields .user-actions{grid-column:1/-1;justify-content:flex-start}.user-edit-fields .user-actions button{flex:none;width:auto}.user-controls{background:var(--surface-muted);border:1px solid var(--line);border-radius:.75rem;gap:.9rem;padding:.9rem;display:grid}.user-controls .user-edit-fields{border:0;padding:0}.user-role-controls{gap:.5rem;display:grid}.user-role-controls .user-actions{justify-content:flex-start}.user-status-controls{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:.8rem;padding-top:.75rem;display:flex}.user-status-controls>span{color:var(--muted);font-size:.86rem;font-weight:650}.remove-avatar{color:var(--muted);align-items:center;gap:.4rem;display:inline-flex}.remove-avatar input{accent-color:var(--brand)}.user-card .role-options{background:var(--surface-raised)}@media (width<=40rem){.user-card-heading{align-items:flex-start}.user-card-tools{flex-direction:column-reverse;align-items:flex-start}.user-avatar{flex-basis:2.8rem;width:2.8rem;height:2.8rem}.toast{top:1rem;left:1rem;right:1rem}}@media (width<=48rem){.product-dialog-view{max-width:100vw;max-height:96vh}.product-dialog-view .product-dialog-header{align-items:flex-start;padding:.9rem 1rem}.product-dialog-header-actions{gap:.25rem}.product-dialog-header-actions .quiet-button{padding:.45rem;font-size:.78rem}.product-detail{gap:.85rem;padding:.85rem}.product-detail-overview,.product-general-card dl{grid-template-columns:1fr}.product-general-card dl>div:first-child{grid-column:auto}.product-sale-prices{gap:.5rem}.product-sale-prices>div{padding:.65rem}.product-sale-prices strong{font-size:clamp(1.1rem,6vw,1.5rem)}.product-summary-grid{grid-template-columns:minmax(0,1fr)}.product-summary-table-wrap{max-width:100%}.product-detail-section-heading{flex-direction:column;align-items:flex-start}}.order-catalog h3,.order-review h3{margin:0}.order-catalog p,.order-contract-note{color:var(--muted);font-size:.88rem}.order-customer-picker,.order-quote-lines,.order-cart{gap:.75rem;display:grid}.order-cart{background:var(--surface-muted);border:1px solid var(--line);border-radius:.75rem;padding:.9rem}.order-cart h3{margin:0}.order-cart ul,.order-quote-lines{margin:0;padding:0;list-style:none}.order-cart li,.order-quote-lines li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:.65rem;padding:.55rem 0;display:flex}.order-review small{color:var(--muted)}.order-totals{gap:.35rem;margin:.6rem 0 0;display:grid}.order-totals div{justify-content:space-between;display:flex}.order-totals dd{margin:0;font-weight:700}.payment-form{border-top:1px solid var(--line);gap:.75rem;padding-top:.75rem;display:grid}.payment-form h3{margin:0}.order-pending-fields{border:1px solid var(--line);border-radius:.75rem;margin:0;padding:.85rem}.order-pending-fields legend{font-weight:700}.order-fields-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.order-pending-fields :disabled,.order-filters:disabled{opacity:.65}.order-review dl{gap:.45rem;margin:.25rem 0 0;display:grid}.order-review dl div{justify-content:space-between;display:flex}.order-review dd{margin:0;font-weight:700}.order-submit span,.order-attempt p,.order-actions p{color:var(--muted);font-size:.85rem}.order-attempt{border-top:1px solid var(--line);padding-top:.75rem}.order-attempt code{overflow-wrap:anywhere}.order-actions{border:1px solid var(--line);border-radius:.75rem;gap:.75rem;padding:.85rem;display:grid}.order-actions h2,.order-actions p{margin:0}.order-actions>div{flex-wrap:wrap;gap:.5rem;display:flex}.order-filters{border:1px solid var(--line);border-radius:.75rem;margin:0;padding:.85rem}.order-filters legend{font-weight:700}.order-filters .field input{background:var(--surface);border:1px solid var(--line-strong);color:var(--ink);border-radius:.6rem;min-height:2.6rem;padding:.55rem .7rem}.order-catalog-heading,.order-catalog-heading .field{gap:.65rem;display:grid}.order-product-list{gap:.5rem;margin:.75rem 0 0;padding:0;list-style:none;display:grid}.order-product-list li{border-bottom:1px solid var(--line);grid-template-columns:1fr minmax(6rem,8rem);align-items:center;gap:.75rem;padding:.7rem 0;display:grid}.order-product-list li>div{gap:.2rem;display:grid}.order-product-list small,.order-contract-note{color:var(--muted)}.order-product-list .field{font-size:.8rem}.order-review{background:var(--surface-muted);border:1px solid var(--line);border-radius:.75rem;gap:.35rem;padding:.9rem;display:grid}.order-review p{color:var(--muted);margin:0;font-size:.85rem}.order-submit{flex-wrap:wrap;gap:.65rem;display:flex}.order-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.order-filters .field{gap:.35rem;display:grid}.order-filters select{background:var(--surface);border:1px solid var(--line-strong);color:var(--ink);border-radius:.6rem;min-height:2.6rem;padding:.55rem .7rem}.orders-pagination{justify-content:space-between;align-items:center;display:flex}.client-access-actions,.client-access-issued{flex-wrap:wrap;gap:.6rem;max-width:100%;display:flex}.client-access-issued{background:var(--surface);border:1px solid var(--line);border-radius:.6rem;align-items:end;padding:.7rem}.client-access-issued .field{flex:18rem;min-width:0}.client-access-issued input{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.client-access-actions .quiet-button{border:1px solid var(--line-strong);background:0 0}.client-access-panel .alert{overflow-wrap:anywhere;line-height:1.45}.portal-order-success{align-content:center;justify-items:start;min-height:18rem}.portal-order-success h1,.portal-order-success p{margin:0}.portal-order-success h1{color:var(--ink)}.portal-success-actions{flex-wrap:wrap;gap:.65rem;margin-top:.5rem;display:flex}.order-review-notes{min-width:0}.order-review-notes .field textarea{box-sizing:border-box;width:100%;max-width:100%}.portal-order-wizard{width:100%;max-width:62rem}.portal-page{background:var(--canvas);box-sizing:border-box;color:var(--ink);overflow-wrap:anywhere;min-height:100svh;padding:max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));width:100%}.portal-page>*{width:100%;max-width:64rem;margin-inline:auto}.portal-page-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;padding:.1rem 0 .85rem;display:flex}.portal-page-header h1{color:var(--ink);margin:.15rem 0 .25rem;font-size:clamp(1.35rem,4vw,1.8rem)}.portal-page-header p{color:var(--muted);margin:0}.portal-page-header .eyebrow{letter-spacing:.06em;text-transform:uppercase;font-size:.72rem;font-weight:700}.portal-page-header .quiet-button{flex:none;min-height:2.65rem}.portal-page>.order-wizard{margin-inline:auto}.portal-order-wizard{box-shadow:none;background:0 0;border:0;border-radius:0;gap:1rem;max-width:64rem;padding:0}.portal-order-wizard .order-steps{border-bottom:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;padding:0 0 .75rem}.portal-order-wizard .order-steps li{font-size:.82rem}.portal-order-wizard .order-steps span{flex-basis:1.8rem;height:1.8rem}.portal-order-wizard .order-step>header h2{color:var(--ink);font-size:1.2rem}.portal-order-wizard .order-step>header p{color:var(--muted)}.portal-order-wizard .order-step>.field{max-width:none}.portal-order-wizard .order-review{background:0 0;border:0;border-radius:0;gap:1rem;padding:0}.portal-order-wizard .order-review h2{color:var(--ink);margin:0;font-size:1.25rem}.portal-order-wizard .order-review-data{border-bottom:1px solid var(--line);padding-bottom:.8rem}.portal-order-wizard .order-review-data div{justify-content:flex-start;gap:.7rem}.portal-order-wizard .order-review-data dt{color:var(--muted)}.portal-order-wizard .order-quote-lines{border-bottom:1px solid var(--line);padding-bottom:.5rem}.portal-order-wizard .order-quote-lines li{align-items:flex-start}.portal-order-wizard .order-quote-lines li>span{gap:.2rem;min-width:0;display:grid}.portal-order-wizard .order-quote-lines li>strong{flex:none}.portal-order-wizard .order-totals{margin:0}.portal-order-wizard .order-total-final{border-top:1px solid var(--line);color:var(--brand-dark);margin-top:.35rem;padding-top:.6rem;font-size:1.15rem}.portal-order-wizard .field textarea,.portal-order-wizard .field input{background:var(--surface);border:1px solid var(--line-strong);color:var(--ink);font:inherit;border-radius:.6rem;width:100%;min-height:2.8rem;padding:.65rem .75rem}.portal-order-wizard .field textarea{resize:vertical}.portal-order-wizard .wizard-actions{border-top:1px solid var(--line);justify-content:space-between;align-items:center;padding-top:.8rem}.portal-order-wizard .wizard-actions .button:last-child{min-height:2.8rem;margin-left:auto}.portal-orders-heading{justify-content:flex-end;margin-bottom:.5rem;display:flex}.portal-orders{min-width:0}.portal-orders>ul,.portal-order-detail>ul{border-top:1px solid var(--line);margin:0;padding:0;list-style:none}.portal-orders>ul>li,.portal-order-detail>ul>li{border-bottom:1px solid var(--line)}.portal-order-link{color:var(--ink);cursor:pointer;text-align:left;background:0 0;border:0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem 1rem;width:100%;padding:.85rem .2rem;display:flex}.portal-order-link>span:first-child{gap:.15rem;display:grid}.portal-order-link small{color:var(--muted)}.portal-order-detail{gap:.8rem;display:grid}.portal-order-detail h2,.portal-order-detail p{margin:0}.portal-empty-state{padding:1rem 0}.portal-empty-state h3,.portal-empty-state p{margin:0 0 .4rem}.portal-empty-state p{color:var(--muted)}.client-access-link-actions{flex-wrap:wrap;align-items:end;gap:.6rem;display:flex}.client-access-link-actions .quiet-button{align-items:center;text-decoration:none;display:inline-flex}.production-page [hidden]{display:none!important}.production-dashboard-note{color:var(--muted);margin:.5rem 0 1rem;font-size:.85rem;line-height:1.5}.production-channel-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.production-channel-card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft);border-radius:.8rem;min-width:0;padding:1.15rem}.production-channel-card h3{margin:0;font-size:1rem}.production-channel-count{color:var(--muted);margin:.8rem 0}.production-channel-count strong{color:var(--ink);font-size:1.7rem}.production-channel-card ul{border-top:1px solid var(--line);gap:.5rem;margin:0;padding:.8rem 0 0;list-style:none;display:grid}.production-channel-card li{justify-content:space-between;gap:.75rem;font-size:.85rem;display:flex}.production-channel-card li strong{text-align:right}.production-stock-wrap{background:var(--surface);border:1px solid var(--line);border-radius:.8rem;overflow-x:auto}.production-stock-table{border-collapse:collapse;width:100%;min-width:36rem}.production-stock-table th,.production-stock-table td{border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums;text-align:right;vertical-align:top;padding:.85rem 1rem}.production-stock-table th:first-child{text-align:left}.production-stock-table tbody tr:last-child>*{border-bottom:0}.production-stock-status{border-radius:1rem;width:fit-content;margin:.35rem 0 0 auto;padding:.2rem .5rem;font-size:.75rem;display:block}.production-stock-status.is-neutral{background:var(--surface-muted);color:var(--muted)}.production-stock-status.is-ok{color:var(--success);background:#e6f1df}.production-stock-status.is-variation{color:var(--warning);background:#fff0c8}.daily-preview-table{min-width:75rem}.daily-preview-table details{text-align:left;min-width:12rem}.daily-preview-table details summary{cursor:pointer}.daily-preview-table details p,.daily-preview-table details ul{color:var(--muted);font-size:.8rem;font-weight:400;line-height:1.5}.daily-preview-note{color:var(--warning);display:block}.daily-quantity{background:var(--surface);border:1px solid var(--line-strong);color:var(--ink);font:inherit;text-align:right;border-radius:.5rem;width:7rem;min-height:2.75rem;padding:.5rem}.daily-quantity[aria-invalid=true]{border-color:var(--danger)}.daily-calculated{color:var(--muted);margin-top:.35rem;font-size:.8rem;display:block}.daily-review-footer{background:var(--surface);border:1px solid var(--line);border-radius:.85rem;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:1rem;display:flex}.daily-review-footer p{margin:.3rem 0 0}.daily-adjustment{text-align:left;gap:.25rem;min-width:12rem;margin-top:.4rem;font-size:.75rem;display:grid}.daily-adjustment input{background:var(--surface);border:1px solid var(--line-strong);color:var(--ink);font:inherit;border-radius:.5rem;width:100%;min-height:2.75rem;padding:.5rem}.daily-order-list{gap:.75rem;display:grid}@media (width<=700px){.production-channel-grid{grid-template-columns:1fr}}.production-view,.production-sheets,.production-proposals{gap:1rem;min-width:0;display:grid}.production-page h2{margin:0;font-size:1.05rem}.production-view>.form-hint{margin:0}.production-view-nav{border-bottom:1px solid var(--line);gap:.35rem;padding-bottom:.65rem;display:flex}.production-view-nav button,.production-switch button{color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:1px solid #0000;border-radius:.65rem;justify-content:center;align-items:center;gap:.5rem;min-height:2.75rem;padding:.6rem .9rem;font-size:.9rem;font-weight:650;display:inline-flex}.production-view-nav button[aria-current],.production-switch button[aria-current]{background:var(--surface-muted);border-color:var(--line);color:var(--brand-dark)}.production-view-nav button:hover,.production-switch button:hover{background:var(--surface-muted);color:var(--ink)}.production-page :is(button,summary,select,a):focus-visible,.client-supply :is(button,input):focus-visible{outline:3px solid var(--brand-soft);outline-offset:3px}.production-day-controls{justify-content:space-between;align-items:center}.production-day-controls .field{font-size:.85rem}.production-day-controls small{color:var(--muted)}.production-card-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:1rem 1.15rem .5rem;display:flex}.production-card-heading>span{color:var(--muted);font-size:.8rem}.production-card-note{color:var(--muted);margin:0;padding:0 1.15rem 1rem;font-size:.8rem}.production-card-body{gap:1rem;padding:1.15rem;display:grid}.production-page .production-card{overflow:visible}.production-table{min-width:0}.production-table th,.production-table td{overflow-wrap:anywhere}.production-table .production-number,.production-document-table .production-number{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:700}.production-summary-table th:not(:first-child),.production-summary-table td:not(:first-child){text-align:right}.production-unverified{color:var(--muted)!important}.production-empty{color:var(--muted);text-align:center;padding:1.75rem 1.15rem}.production-empty h3{color:var(--ink);margin:0 0 .4rem;font-size:1rem}.production-empty p{margin:.3rem 0 .85rem}.production-error{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.production-card>.production-error{margin:.75rem}.production-inline-error{color:var(--danger);flex-wrap:wrap;align-items:center;gap:.65rem;font-size:.85rem;display:flex}.production-disclosure>summary{cursor:pointer;padding:1rem 1.15rem;font-size:.9rem;font-weight:650}.production-disclosure[open]>summary{border-bottom:1px solid var(--line)}.production-source-list{gap:.75rem;margin:0;padding:1rem 1.15rem;list-style:none;display:grid}.production-source-list li{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.production-badge{background:var(--surface-muted);border:1px solid var(--line);color:var(--muted);border-radius:999px;padding:.3rem .6rem;font-size:.75rem;font-weight:650;line-height:1.3;display:inline-flex}.production-badge.is-connected{color:var(--success);background:#edf1df;border-color:#cbd4a8}.production-section-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.production-section-heading .form-hint{margin:.35rem 0 0}.production-switch{flex-wrap:wrap;gap:.25rem;display:inline-flex}.production-filter-fields,.production-proposal-fields{border:0;min-width:0;margin:0;padding:0}.production-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:1rem;display:grid}.production-product-filter,.production-proposal-fields{gap:.65rem;display:grid}.production-proposal-fields legend{margin-bottom:1rem;font-size:1rem;font-weight:700}.production-form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.production-page .field :is(input,select,textarea){background:var(--surface);border:1px solid var(--line-strong);color:var(--ink);font:inherit;border-radius:.6rem;width:100%;min-width:0;min-height:2.75rem;padding:.65rem .75rem}.production-page .field textarea{resize:vertical}.production-page .field>span{color:var(--ink);font-size:.85rem;font-weight:650}.production-page .field small,.production-product-filter>small{color:var(--muted);font-size:.8rem}.production-page .field :disabled{cursor:not-allowed;opacity:.7}.production-form-footer{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.75rem;padding-top:1rem;display:flex}.production-form-footer>.form-hint{margin-right:auto}.production-compact-pagination{justify-content:space-between;align-items:center;gap:.6rem;display:flex}.production-preview-actions{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.85rem 1.15rem;display:flex}.production-preview-actions>div{flex-wrap:wrap;gap:.6rem;display:flex}.production-sheet-document{color:var(--ink);min-width:0;padding:1.15rem}.production-document-heading{align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.production-document-heading img{object-fit:contain;width:4rem;height:4rem}.production-document-heading h3{margin:.2rem 0 .45rem;font-size:1.1rem}.production-document-heading .eyebrow{margin:0;font-size:.7rem}.production-document-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:0 0 1rem;display:grid}.production-document-meta dt{color:var(--muted);font-size:.75rem}.production-document-meta dd{overflow-wrap:anywhere;margin:.2rem 0 0;font-size:.85rem}.production-document-reference{grid-column:1/-1}.production-document-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:.85rem}.production-document-table caption{color:var(--ink);text-align:left;padding:1rem 0 .6rem;font-size:.95rem;font-weight:700}.production-document-table th{background:var(--surface-muted);font-size:.75rem}.production-document-table th,.production-document-table td{border-bottom:1px solid var(--line);overflow-wrap:anywhere;text-align:left;padding:.7rem .55rem}.production-document-table small{color:var(--muted);margin-top:.25rem;display:block}.production-sheet-history{margin:0}.production-sheet-history li{border-bottom:1px solid var(--line);padding:1rem 1.15rem}.production-sheet-history li:last-child{border-bottom:0}.production-sheet-history li>div{gap:.3rem;display:grid}.production-sheet-history small{color:var(--muted);font-size:.78rem}.production-print-document{display:none}.client-supply-table td:first-child,.client-supply-results li>span{overflow-wrap:anywhere;min-width:0}.client-supply input[type=number]{font-variant-numeric:tabular-nums}.client-supply :is(button,input[type=number]){min-height:2.75rem}.client-supply-add{border:1px solid var(--line);border-radius:.65rem;padding:.75rem}.client-supply-add>summary{color:var(--brand-dark);cursor:pointer;font-size:.9rem;font-weight:650}.client-supply-add[open]>summary{margin-bottom:.75rem}.client-supply-add .client-supply-results{margin-top:.75rem}.client-dialog{overflow:clip}.client-dialog>.client-detail{overscroll-behavior:contain;scroll-padding-block:.75rem}.client-dialog-header-actions{flex-shrink:0;align-items:center;gap:.5rem;display:flex}@media screen and (width<=48rem){.production-filter-fields,.production-form-row{grid-template-columns:1fr}.production-page .production-table-wrap{overflow:visible}.production-page .production-table,.production-document-table{table-layout:auto;min-width:0}.production-page .production-table thead,.production-document-table thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.production-page .production-table tbody,.production-document-table tbody{gap:.7rem;display:grid}.production-page .production-table tbody{padding:.85rem}.production-page .production-table tr,.production-document-table tr{border:1px solid var(--line);border-radius:.65rem;min-width:0;padding:.5rem .7rem;display:grid}.production-page .production-table td,.production-document-table td{text-align:left;border:0;grid-template-columns:minmax(5rem,.65fr) minmax(0,1fr);align-items:baseline;gap:.7rem;padding:.4rem 0;display:grid}.production-page .production-table td:before,.production-document-table td:before{color:var(--muted);content:attr(data-label);font-size:.75rem;font-weight:500}.production-summary-table td.production-unverified{display:none}.production-summary-table .production-summary-presentation{grid-column:2}.production-page .production-table td.production-number,.production-document-table td.production-number{white-space:normal}.production-document-table small{grid-column:2}}@media screen and (width<=30rem){.production-page>.page-heading{flex-direction:column;align-items:stretch}.production-page>.page-heading h1{font-size:1.85rem}.production-refresh{min-width:2.75rem;min-height:2.75rem}.production-refresh>span{display:none}.production-view-nav{gap:.15rem}.production-view-nav button{flex-direction:column;flex:1;gap:.3rem;padding:.55rem .35rem;font-size:.78rem}.production-section-heading{flex-direction:column;align-items:stretch}.production-card-body,.production-sheet-document{padding:.85rem}.production-preview-actions>div,.production-preview-actions>div>button{flex:1}.production-source-list li{flex-direction:column;align-items:flex-start}}@media print{@page{margin:14mm;size:A4}body.printing-production-sheet{background:#fff}body.printing-production-sheet>*{display:none!important}body.printing-production-sheet>.production-print-document{display:block!important}.production-print-document .production-sheet-document{color:#222;padding:0;font-size:10pt}.production-print-document .production-document-heading{break-inside:avoid}.production-print-document table{font-size:9pt}.production-print-document thead{display:table-header-group}.production-print-document tr{break-inside:avoid}.production-print-document caption{break-after:avoid}.production-print-document th,.production-print-document td{padding:2.5mm 2mm}.production-print-document .production-document-table{table-layout:fixed}.production-print-document .production-document-table .production-number{white-space:normal}}@media (width<=640px){.order-filters,.order-fields-row{grid-template-columns:1fr}.orders-pagination{gap:.35rem}.client-access-issued{flex-direction:column;align-items:stretch}.client-dialog{width:calc(100vw - 1rem);max-width:calc(100vw - 1rem);max-height:92dvh}.client-dialog .rnpa-dialog-header{flex:none;padding:.85rem 1rem}.client-detail{padding:.9rem}.client-access-link-actions,.client-access-actions,.portal-success-actions{grid-template-columns:1fr;width:100%;display:grid}.client-access-link-actions>*,.client-access-actions>*,.portal-success-actions>*{justify-content:center;width:100%;min-height:2.75rem}.portal-page{padding:max(.75rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left))}.portal-page-header{align-items:flex-start;gap:.65rem;margin-bottom:.8rem}.portal-page-header .quiet-button{padding-inline:.65rem;font-size:.85rem}.portal-order-wizard{gap:.8rem}.portal-order-wizard .order-steps{gap:.45rem}.portal-order-wizard .order-steps li{flex-direction:row;align-items:center;font-size:.75rem}.portal-order-wizard .order-steps span{flex-basis:1.65rem;height:1.65rem}.portal-order-wizard .order-product-cards{grid-template-columns:minmax(0,1fr)}.portal-order-wizard .order-product-cards>li{grid-template-columns:3.2rem minmax(0,1fr)}.portal-order-wizard .order-quote-lines li>strong{font-size:.9rem}.portal-order-wizard .wizard-actions{flex-direction:column-reverse;align-items:stretch}.portal-order-wizard .wizard-actions .button,.portal-order-wizard .wizard-actions .quiet-button{justify-content:center;width:100%;min-height:2.9rem;margin:0}.portal-success-actions{margin-top:.5rem}}.inventory-survey-page{gap:1rem;max-width:72rem;display:grid}.inventory-survey-heading{margin-bottom:0}.inventory-survey-steps{border-bottom:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:.6rem;margin:0;padding:0 0 .75rem;list-style:none;display:grid}.inventory-survey-steps li{color:var(--muted);align-items:center;gap:.45rem;min-width:0;font-size:.82rem;display:flex}.inventory-survey-steps li>span{background:var(--surface-muted);border:1px solid var(--line);border-radius:50%;flex:0 0 1.8rem;justify-content:center;align-items:center;height:1.8rem;display:inline-flex}.inventory-survey-steps li.is-current{color:var(--ink);font-weight:700}.inventory-survey-steps li.is-current>span,.inventory-survey-steps li.is-complete>span{background:var(--brand);border-color:var(--brand);color:#fff}.inventory-survey-step{gap:1rem;min-width:0;display:grid}.inventory-survey-step>header h2{color:var(--ink);margin:0;font-size:1.15rem}.inventory-survey-step>header p{color:var(--muted);margin:.3rem 0 0}.inventory-survey-step>.client-search-select,.inventory-survey-step>.field{max-width:36rem}.inventory-survey-actions{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.65rem;padding-top:.85rem;display:flex}.inventory-survey-actions .button,.inventory-survey-actions .quiet-button{align-items:center;gap:.4rem;min-height:2.8rem;display:inline-flex}.inventory-survey-products-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.survey-selection-summary{background:var(--surface-muted);border-left:3px solid var(--brand);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.3rem .85rem;padding:.65rem .8rem;display:flex}.survey-selection-summary span{color:var(--muted);font-size:.84rem}.inventory-survey-product-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr));gap:.65rem;margin:0;padding:0;list-style:none;display:grid}.inventory-survey-product-list>li{background:var(--surface);border:1px solid var(--line);border-radius:.75rem;gap:.7rem;min-width:0;padding:.75rem;display:grid}.inventory-survey-product-list>li.is-marked{border-color:var(--brand-soft);background:#fff9ec}.inventory-survey-product-main{align-items:center;gap:.65rem;min-width:0;display:flex}.inventory-survey-thumb{background:var(--surface-muted);color:var(--muted);border-radius:.55rem;flex:0 0 3.5rem;justify-content:center;align-items:center;height:3.5rem;display:flex;overflow:hidden}.inventory-survey-thumb img{object-fit:cover;width:100%;height:100%}.inventory-survey-product-info{gap:.18rem;min-width:0;display:grid}.inventory-survey-product-info strong{color:var(--ink);overflow-wrap:anywhere}.inventory-survey-product-info small{color:var(--muted);overflow-wrap:anywhere;font-size:.78rem}.inventory-survey-marked{color:#355b2d;font-size:.76rem;font-weight:700}.inventory-survey-mark-button{justify-content:center;min-height:2.75rem}.inventory-survey-quantities{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:.55rem;display:grid}.inventory-survey-quantities .field{gap:.3rem;min-width:0;display:grid}.inventory-survey-quantities .field span{font-size:.88rem;font-weight:700}.inventory-survey-quantities input,.survey-history-filters input{background:var(--surface);border:1px solid var(--line-strong);box-sizing:border-box;color:var(--ink);font:inherit;border-radius:.55rem;width:100%;min-height:2.85rem;padding:.55rem .65rem}.inventory-survey-quantities .field:nth-child(2) span{color:#8a541d}.inventory-survey-unmark{color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;grid-column:1/-1;justify-self:start;min-height:2rem;padding:.2rem 0;font-size:.78rem;text-decoration:underline}.inventory-survey-empty{color:var(--muted);padding:.5rem 0}.inventory-survey-review-meta{border-bottom:1px solid var(--line);gap:.45rem;margin:0;padding-bottom:.8rem;display:grid}.inventory-survey-review-meta>div{flex-wrap:wrap;align-items:baseline;gap:.3rem .8rem;display:flex}.inventory-survey-review-meta dt{color:var(--muted)}.inventory-survey-review-meta dd{overflow-wrap:anywhere;margin:0;font-weight:700}.inventory-survey-review-list,.inventory-survey-detail-list{min-width:0}.inventory-survey-review-header,.inventory-survey-review-row{grid-template-columns:minmax(0,1fr) 6rem 6rem;align-items:center;gap:.7rem;display:grid}.inventory-survey-review-header{border-bottom:1px solid var(--line);color:var(--muted);padding:.5rem .3rem;font-size:.8rem;font-weight:700}.inventory-survey-review-header span:not(:first-child),.inventory-survey-review-row>span{text-align:center}.inventory-survey-review-row{border-bottom:1px solid var(--line);min-height:3.5rem;padding:.6rem .3rem}.inventory-survey-review-row>strong{overflow-wrap:anywhere;gap:.12rem;min-width:0;display:grid}.inventory-survey-review-row>strong small{color:var(--muted);font-size:.76rem;font-weight:400}.survey-zero-label{color:#795a27!important;font-weight:700!important}.survey-current-value,.survey-expired-value{font-variant-numeric:tabular-nums;font-weight:700}.survey-current-value>small,.survey-expired-value>small{display:none}.inventory-survey-step .survey-observations{max-width:none}.inventory-survey-step .survey-observations textarea{background:var(--surface);border:1px solid var(--line-strong);box-sizing:border-box;color:var(--ink);font:inherit;resize:vertical;border-radius:.6rem;width:100%;min-height:6rem;padding:.7rem}.inventory-survey-review-actions{justify-content:space-between}.inventory-survey-review-actions .button{margin-left:auto}.inventory-survey-success{border-block:1px solid var(--line);align-items:center;gap:.85rem;padding:1.1rem .2rem;display:flex}.inventory-survey-success-icon{color:#185d3c;background:#eaf4ee;border-radius:50%;flex:0 0 2.8rem;justify-content:center;align-items:center;height:2.8rem;display:inline-flex}.inventory-survey-success h2,.inventory-survey-success p{margin:0}.inventory-survey-success p{color:var(--muted);margin-top:.25rem}.inventory-survey-success-actions{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.history-tabs{border-bottom:1px solid var(--line);gap:.25rem;margin-bottom:.8rem;display:flex}.history-tabs button{color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;border-bottom:3px solid #0000;min-height:2.8rem;padding:.45rem .8rem;font-weight:650}.history-tabs button.is-active{border-bottom-color:var(--brand);color:var(--brand-dark)}.orders-history-panel{min-width:0}.survey-history{gap:.8rem;display:grid}.survey-history-filters{align-items:end}.survey-history-filters .client-search-select{min-width:min(100%,17rem)}.survey-history-filters .rnpa-filter{min-width:8rem}.survey-history-table{min-width:48rem}.survey-state{white-space:nowrap;border-radius:999px;padding:.22rem .6rem;font-size:.76rem;font-weight:700;display:inline-flex}.survey-state.is-active{color:#185d3c;background:#eaf4ee}.survey-state.is-voided{background:var(--surface-muted);color:var(--muted)}.survey-void-notice{background:var(--surface-muted);border-left:3px solid var(--brand-soft);color:var(--ink);margin:0;padding:.75rem;line-height:1.5}.survey-detail-notes{border-top:1px solid var(--line);padding-top:.8rem}.survey-detail-notes h2{margin:0 0 .35rem;font-size:1rem}.survey-detail-notes p{white-space:pre-wrap;margin:0}@media (width<=48rem){.inventory-survey-page{gap:.8rem}.inventory-survey-steps li{flex-direction:column;align-items:flex-start;gap:.2rem}.inventory-survey-product-list{grid-template-columns:minmax(0,1fr)}.inventory-survey-review-header{display:none}.inventory-survey-review-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:.25rem .7rem;padding:.7rem .15rem}.inventory-survey-review-row>strong{grid-column:1/-1}.survey-current-value,.survey-expired-value{justify-content:flex-start;align-items:center;gap:.35rem;display:flex;text-align:left!important}.survey-current-value>small,.survey-expired-value>small{color:var(--muted);font-variant:normal;font-size:.78rem;font-weight:400;display:inline}.inventory-survey-actions,.inventory-survey-review-actions{flex-direction:column-reverse;align-items:stretch}.inventory-survey-actions .button,.inventory-survey-actions .quiet-button{justify-content:center;width:100%;min-height:2.9rem}.inventory-survey-success-actions{flex-direction:column;align-items:stretch}.inventory-survey-success-actions>*{justify-content:center;width:100%;min-height:2.85rem}.survey-history-filters{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.survey-history-filters>.client-search-select{grid-column:1/-1;min-width:0}.survey-history-table-wrap{overflow:visible}.survey-history-table{min-width:0}.survey-history-table thead{clip:rect(0, 0, 0, 0);clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.survey-history-table tbody{gap:.65rem;padding:.25rem 0;display:grid}.survey-history-table tbody tr{background:var(--surface);border:1px solid var(--line);border-radius:.7rem;padding:.6rem .75rem;display:grid}.survey-history-table tbody td{overflow-wrap:anywhere;border:0;grid-template-columns:minmax(7rem,.8fr) minmax(0,1fr);gap:.3rem;padding:.25rem 0;font-size:.84rem;display:grid}.survey-history-table tbody td:before{color:var(--muted);content:attr(data-label);font-size:.75rem;font-weight:650}.survey-history-table tbody td:last-child{justify-content:flex-end;display:flex}.survey-history-table tbody td:last-child:before{content:""}}.orders-page{min-width:0}.orders-heading,.order-create-heading{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.orders-heading h1,.order-create-heading h1{color:var(--ink);margin:0;font-size:clamp(1.35rem,4vw,1.8rem)}.order-create-heading{justify-content:flex-start}.order-create-heading .quiet-button{justify-content:center;align-items:center;min-width:2.6rem;min-height:2.6rem;padding:.3rem;font-size:1.2rem;text-decoration:none;display:inline-flex}.order-form{gap:.9rem;min-width:0;padding:clamp(.75rem,2vw,1.15rem)}.order-form>header{display:none}.order-form .field{min-width:0}.order-form .field>span{color:var(--ink);font-size:.86rem;font-weight:650}.order-form .field input,.order-form .field select,.order-form .field textarea,.order-filters .field input,.order-filters .field select{background-color:var(--surface);border:1px solid var(--line-strong);color:var(--ink);font:inherit;border-radius:.6rem;width:100%;min-height:2.7rem;padding:.55rem .7rem}.order-customer-picker,.client-search-select{min-width:0}.client-search-select{display:grid;position:relative}.client-search-select .field{gap:.35rem;display:grid}.client-search-options{background:var(--surface);border:1px solid var(--line-strong);box-shadow:var(--shadow-soft);z-index:50;border-radius:.65rem;max-height:min(18rem,45vh);padding:.25rem;position:absolute;top:calc(100% + .25rem);left:0;right:0;overflow-y:auto}.client-search-options button{color:var(--ink);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:.45rem;gap:.15rem;width:100%;min-height:2.8rem;padding:.5rem .65rem;display:grid}.client-search-options button:hover,.client-search-options button.is-active{background:var(--surface-muted)}.client-search-options button small,.client-search-options p{color:var(--muted);font-size:.78rem}.client-search-options p{margin:.45rem .65rem}.order-portal-customer{color:var(--muted);margin:0}.order-product-search{display:grid}.order-catalog{border:0;border-radius:0;padding:0}.order-catalog>p{margin:.4rem 0}.order-product-list{gap:.45rem;margin:0}.order-product-list li{background:var(--surface);border:1px solid var(--line);border-radius:.75rem;grid-template-columns:3.6rem minmax(0,1fr) auto;align-items:center;gap:.7rem;min-width:0;padding:.55rem;transition:background-color .15s,border-color .15s;display:grid}.order-product-list li.is-selected{border-color:var(--brand-soft);background:#fff8e9}.order-product-thumb{background:var(--surface-muted);border:1px solid var(--line);color:var(--muted);border-radius:.55rem;justify-content:center;align-items:center;width:3.6rem;height:3.6rem;display:flex;overflow:hidden}.order-product-thumb img{object-fit:cover;width:100%;height:100%}.order-product-thumb span{font-size:1.3rem}.order-product-info{gap:.12rem;min-width:0;display:grid}.order-product-info strong{line-clamp:2;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.order-product-info>span{color:var(--ink);font-size:.85rem;font-weight:650}.order-product-info small{color:var(--muted);font-size:.75rem;font-weight:400}.order-quantity-control{grid-column:1/-1;grid-template-columns:2.75rem minmax(3rem,4rem) 2.75rem;align-items:center;gap:.3rem;display:grid}.order-quantity-label{color:var(--muted);grid-column:1/-1;font-size:.78rem;font-weight:650}.order-quantity-control button{background:var(--surface-muted);border:1px solid var(--line);color:var(--ink);cursor:pointer;border-radius:.45rem;height:2.75rem;padding:0;font-size:1.15rem}.order-quantity-control .order-remove-line{grid-column:1/-1;height:2.3rem}.order-add-product{grid-column:1/-1;justify-self:stretch;min-height:2.75rem}.order-product-cards>li.is-selected{box-shadow:inset 0 0 0 1px var(--brand-soft)}.order-selected-label{color:var(--brand-dark)!important;font-weight:700!important}.order-quantity-control button:disabled{cursor:not-allowed;opacity:.5}.order-wizard .order-quantity-control input{text-align:center;border-radius:.45rem;min-height:2.75rem;padding:.15rem;font-size:1rem}.order-wizard .order-quantity-control input::-webkit-inner-spin-button{appearance:none;margin:0}.order-wizard .order-quantity-control input::-webkit-outer-spin-button{appearance:none;margin:0}.order-pending-message{background:var(--surface-muted);border-radius:.6rem;padding:.7rem}.order-pending-message p{margin:.25rem 0 0}.order-extra-fields{border-top:1px solid var(--line);padding-top:.65rem}.order-extra-fields summary{color:var(--muted);cursor:pointer;font-size:.86rem}.order-extra-fields .order-fields-row{margin-top:.75rem}.order-visit-fields{background:var(--surface-muted);border:1px solid var(--line);border-radius:.65rem;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;min-width:0;margin:0;padding:.7rem;display:grid}.order-visit-fields legend{color:var(--muted);padding:0 .25rem;font-size:.78rem;font-weight:650}.order-visit-fields .field{gap:.25rem;min-width:0}.order-visit-fields .field small{color:var(--muted);font-size:.75rem}.order-visit-summary{color:var(--muted);margin-top:.25rem;font-size:.82rem;display:block}.order-replacement-flag{background:var(--surface-muted);border:1px solid var(--brand-soft);color:var(--ink);border-radius:999px;margin-left:.4rem;padding:.15rem .45rem;font-size:.74rem;display:inline-block}.order-review{min-width:0}.order-mobile-summary{display:flex}.order-filter-actions{align-items:center;gap:.5rem;display:flex}.order-advanced-filters{grid-column:1/-1}.order-advanced-filters summary{color:var(--muted);cursor:pointer;padding:.25rem 0;font-size:.84rem}.order-advanced-filters>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin-top:.7rem;display:grid}.order-filters .client-search-select{grid-column:auto}.orders-result-list{gap:.45rem;margin:0;padding:0;list-style:none;display:grid}.order-result-card{border:1px solid var(--line);border-radius:.65rem;justify-content:space-between;align-items:center;gap:1rem;min-width:0;padding:.75rem;display:flex}.order-result-main,.order-result-meta{flex-wrap:wrap;align-items:center;gap:.4rem .8rem;min-width:0;display:flex}.order-result-main>span{color:var(--muted);font-size:.83rem}.order-result-main .order-result-client{overflow-wrap:anywhere;flex-basis:100%}.order-result-meta{justify-content:flex-end}.order-payment-status{background:var(--surface-muted);color:var(--muted);border-radius:999px;padding:.2rem .5rem;font-size:.75rem}.orders-empty{color:var(--muted);margin:.15rem 0}@media (width<=640px){.order-create-page{gap:.65rem}.order-create-heading h1{font-size:1.3rem}.order-form{padding:.7rem}.order-product-list li{grid-template-columns:3.1rem minmax(0,1fr) auto;gap:.4rem;padding:.45rem}.order-product-thumb{width:3.1rem;height:3.1rem}.order-quantity-control{grid-template-columns:2.75rem minmax(3rem,4rem) 2.75rem}.order-quantity-control button{height:2.75rem}.order-result-card{flex-direction:column;align-items:flex-start;gap:.55rem}.order-advanced-filters>div{grid-template-columns:1fr}.order-result-meta{justify-content:flex-start}.orders-heading .button{padding:.65rem .75rem}.order-mobile-summary{background:var(--surface);border-top:1px solid var(--line);padding:.65rem max(.8rem, env(safe-area-inset-right)) calc(.65rem + env(safe-area-inset-bottom)) max(.8rem, env(safe-area-inset-left));z-index:25;justify-content:space-between;align-items:center;gap:.8rem;display:flex;position:fixed;bottom:0;left:0;right:0}.order-mobile-summary>div{gap:.1rem;min-width:0;font-size:.82rem;display:grid}.order-mobile-summary>div span{color:var(--muted)}.order-mobile-summary>div strong{color:var(--ink)}.order-mobile-summary .button{flex:none;min-height:2.7rem}.order-form{padding-bottom:6rem}}@media (width<=360px){.order-product-list li{grid-template-columns:2.65rem minmax(0,1fr) auto}.order-product-thumb{width:2.65rem;height:2.65rem}.order-quantity-control{grid-template-columns:2.5rem minmax(2.8rem,3.5rem) 2.5rem}.order-mobile-summary{gap:.4rem;padding-left:.55rem;padding-right:.55rem}}@media (width<=640px) and (height<=500px){.order-mobile-summary{position:static;bottom:auto}}.order-actions-page{gap:1.25rem;max-width:46rem;display:grid}.order-action-card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft);color:var(--ink);border-radius:1rem;align-items:center;gap:1rem;min-height:8rem;padding:1.15rem;text-decoration:none;display:flex}.order-action-card:hover,.order-action-card:focus-visible{border-color:var(--brand);outline:none;box-shadow:0 0 0 3px #e84f0026}.order-action-card>span:last-child{gap:.25rem;display:grid}.order-action-card strong{font-size:1.15rem}.order-action-card small{color:var(--muted)}.order-action-icon{background:var(--brand-soft);color:var(--brand-dark);border-radius:.8rem;justify-content:center;align-items:center;width:3.7rem;height:3.7rem;display:inline-flex}.order-wizard{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft);border-radius:.9rem;gap:1rem;max-width:62rem;padding:clamp(.9rem,3vw,1.35rem);display:grid}.order-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;margin:0;padding:0;list-style:none;display:grid}.order-steps li{color:var(--muted);align-items:center;gap:.4rem;min-width:0;font-size:.76rem;display:flex}.order-steps span{background:var(--surface-muted);border:1px solid var(--line);border-radius:999px;flex:0 0 1.55rem;justify-content:center;align-items:center;height:1.55rem;display:inline-flex}.order-steps .is-current{color:var(--ink);font-weight:700}.order-steps .is-current span,.order-steps .is-complete span{background:var(--brand);border-color:var(--brand);color:#fff}.order-step{gap:1rem;min-width:0;display:grid}.order-step>header h2,.order-step>header p{margin:0}.order-step>header p{color:var(--muted);margin-top:.25rem;font-size:.9rem}.order-step>.field{max-width:32rem}.wizard-actions{flex-wrap:wrap;justify-content:space-between;gap:.65rem;margin-top:.3rem;display:flex}.wizard-actions .button:last-child{margin-left:auto}.order-product-cards{grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:.65rem;margin:0;padding:0;list-style:none;display:grid}.order-product-cards>li{border:1px solid var(--line);border-radius:.75rem;grid-template-columns:3.5rem minmax(0,1fr);align-items:center;gap:.65rem;min-width:0;padding:.65rem;display:grid}.order-product-cards>li.is-selected{border-color:var(--brand-soft);background:#fff8e9}.order-product-cards .order-product-info{min-width:0}.order-product-cards .order-product-info strong{line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.order-product-cards .order-product-info span{color:var(--ink);font-size:.85rem;font-weight:700}.order-product-cards .order-add-product{grid-column:1/-1;min-height:2.75rem}.order-product-cards .order-quantity-control{grid-column:1/-1;justify-self:end}.order-remove-line{color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;grid-column:1/-1;padding:.15rem;text-decoration:underline}.order-review-data{gap:.5rem;margin:0;display:grid}.order-review-data div{gap:.15rem;display:grid}.order-review-data dt{color:var(--muted);font-size:.8rem}.order-review-data dd{overflow-wrap:anywhere;margin:0}.order-success{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft);border-radius:.9rem;gap:1rem;padding:1.2rem;display:grid}.order-success h1,.order-success p{margin:0}.order-success>div{flex-wrap:wrap;gap:.65rem;display:flex}.order-history-more{align-self:end}.order-history-more summary{color:var(--muted);cursor:pointer;padding:.5rem;font-size:.85rem}.order-history-more>div{flex-wrap:wrap;gap:.65rem;margin-top:.5rem;display:flex}.orders-table td small{color:var(--muted);font-size:.74rem;display:block}.orders-table td{white-space:nowrap}@media (width<=640px){.order-wizard{border-radius:.7rem;padding:.75rem}.order-steps li{flex-direction:column;align-items:flex-start;gap:.2rem}.order-product-cards{grid-template-columns:1fr}.order-product-cards>li{grid-template-columns:3.2rem minmax(0,1fr)}.order-visit-fields{grid-template-columns:1fr}.wizard-actions .button,.wizard-actions .quiet-button{min-height:2.8rem}.orders-table{min-width:58rem}.order-action-card{min-height:7rem}}.manufacturing-grid,.tablet-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1rem;display:grid}.manufacturing-card,.tablet-active,.tablet-product{background:var(--surface);border:1px solid var(--line);border-radius:1rem;padding:1.25rem}.manufacturing-card progress{width:100%;accent-color:var(--brand-dark)}.manufacturing-card li{margin-block:.75rem}.tablet-work{max-width:1100px;margin:0 auto;font-size:1.15rem}.tablet-card{border:2px solid var(--brand-dark);background:var(--surface);width:100%;min-height:120px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;border-radius:.8rem;flex-direction:column;align-items:flex-start;gap:.6rem;padding:1.5rem;display:flex}.tablet-card strong{font-size:1.75rem;line-height:1.2}.tablet-card:disabled{opacity:.65;cursor:not-allowed}.tablet-primary{justify-content:center;align-items:center;min-height:80px;padding:1.25rem 1.75rem;font-size:1.35rem;font-weight:700}.tablet-clock{font-variant-numeric:tabular-nums;font-size:clamp(2.5rem,9vw,5rem);font-weight:700}.tablet-active input{min-height:72px;font-size:1.5rem}.tablet-work button:focus-visible{outline:3px solid var(--brand-dark);outline-offset:3px}.tablet-quantity{margin-block:1.25rem;font-weight:700}.tablet-quantity-controls{align-items:center;gap:.75rem;margin-block:.75rem;display:flex}.tablet-quantity-controls button{border:2px solid var(--brand-dark);background:var(--surface);min-width:96px;min-height:96px;color:var(--ink);cursor:pointer;border-radius:.75rem;font-size:2.6rem;font-weight:700}.tablet-quantity-controls input{text-align:center;font-variant-numeric:tabular-nums;width:min(180px,40vw);font-size:2.5rem;font-weight:700}.tablet-actions{flex-wrap:wrap;gap:1rem;display:flex}.tablet-actions>button{flex:14rem}.tablet-work .tablet-card:not(:disabled):active,.tablet-work .tablet-primary:not(:disabled):active,.tablet-quantity-controls button:not(:disabled):active{transform:scale(.98)}@media (prefers-reduced-motion:reduce){.tablet-work .tablet-card:active,.tablet-work .tablet-primary:active,.tablet-quantity-controls button:active{transform:none}}.delay-warning{background:#fff3c4;border-color:#9a6800}.delay-danger{background:#ffe5e2;border-color:#a12018}.tablet-reason-dialog{width:min(92vw,45rem);max-width:45rem}.tablet-reason-dialog .tablet-grid{margin-block:1rem}.manufacturing-reason-row{flex-wrap:wrap;align-items:end;gap:.75rem;margin-block:.75rem;display:flex}.manufacturing-reason-row label{gap:.25rem;display:grid}.manufacturing-reason-row input:not([type=checkbox]){min-height:2.75rem;padding:.5rem}.production-history-table-wrap{overflow-x:auto}.production-history-table{border-collapse:collapse;background:var(--surface);width:100%}.production-history-table caption{text-align:left;padding:.75rem;font-weight:700}.production-history-table th,.production-history-table td{text-align:left;border-bottom:1px solid var(--line);padding:.75rem}.production-history-dialog{width:min(92vw,60rem);max-width:60rem}.production-history-dialog .manufacturing-card,.production-history-dialog li{margin-block:1rem}.rnpa-filters .field,.rnpa-filter,.client-search-select{min-width:0}.rnpa-filters .field>span,.rnpa-filter>span{color:var(--muted);margin-bottom:.3rem;font-size:.8rem;font-weight:650;display:block}.rnpa-filters .client-search-select{flex:12rem}.rnpa-filters .client-search-select input{width:100%;min-height:2.55rem}.rnpa-filters .client-search-select input,.rnpa-filter select{border:1px solid var(--line-strong);border-radius:.5rem}.order-step>.client-search-select{max-width:32rem}.order-step>.field,.order-step>.client-search-select{width:100%}@media (width<=40rem){.rnpa-filters{grid-template-columns:minmax(0,1fr)}.rnpa-filter,.rnpa-date-filter,.rnpa-filters .client-search-select{width:100%}.order-steps span{width:1.55rem;height:1.55rem}.order-steps li{min-width:0}}.ecommerce-category-list,.ecommerce-product-list{gap:.65rem;margin:1rem 0;display:grid}.ecommerce-category-row,.ecommerce-product-row,.ecommerce-featured-row{background:var(--surface);border:1px solid var(--line);border-radius:.7rem;flex-wrap:wrap;align-items:center;gap:.75rem;padding:.75rem;display:flex}.ecommerce-category-row .field{flex:12rem}.ecommerce-product-row>span{flex:14rem}.ecommerce-image-option{align-items:center;gap:.75rem;margin:.6rem 0;display:flex}.ecommerce-image-option img{background:var(--surface-muted);border:1px solid var(--line);object-fit:contain;border-radius:.4rem;width:4.5rem;height:3.5rem}.ecommerce-featured-row select{min-height:2.75rem;margin-left:auto}.ecommerce-section{gap:1.15rem;min-width:0;display:grid}.section-tabs button{flex:8rem}.ecommerce-fields{grid-template-columns:repeat(auto-fit,minmax(min(15rem,100%),1fr));gap:.9rem 1.2rem;display:grid}.ecommerce-fields .field{max-width:none}.ecommerce-wide{grid-column:1/-1}.ecommerce-check{align-items:center;gap:.6rem;min-height:2.75rem;display:flex}.ecommerce-check input{width:1.2rem;height:1.2rem;min-height:0}.ecommerce-empty{background:var(--surface-muted);border:1px dashed var(--line-strong);border-radius:.7rem;margin:0;padding:1rem}.ecommerce-badge{background:var(--surface-muted);border:1px solid var(--line-strong);white-space:nowrap;border-radius:999px;padding:.1rem .6rem;font-size:.8rem;font-weight:700;display:inline-block}.ecommerce-badge.is-on{color:#0d5c40;background:#e8f5ef;border-color:#0d5c40}.ecommerce-badge.is-off{color:var(--muted)}.ecommerce-segmented{background:var(--surface-muted);border:1px solid var(--line);border-radius:.7rem;gap:.25rem;width:fit-content;padding:.25rem;display:inline-flex}.ecommerce-segmented button{color:var(--ink);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:.5rem;min-height:2.75rem;padding:.4rem 1.1rem}.ecommerce-segmented button[aria-pressed=true]{background:var(--brand-dark);color:#fff;font-weight:700}.ecommerce-segmented button:disabled{cursor:not-allowed;opacity:.6}.ecommerce-segmented button:focus-visible{outline:3px solid var(--brand-dark);outline-offset:2px}.ecommerce-banner{gap:.9rem;display:grid}.ecommerce-banner .settings-logo-preview{max-width:28rem;height:auto;min-height:6rem}.ecommerce-danger{color:var(--danger)}.ecommerce-card-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem 1rem;display:flex}.ecommerce-card-head h2{margin:0 0 .25rem}.ecommerce-card-head p{color:var(--muted);max-width:46rem;margin:0}.ecommerce-chips{grid-template-columns:repeat(auto-fill,minmax(min(15rem,100%),1fr));gap:.6rem;margin:0;padding:0;list-style:none;display:grid}.ecommerce-chips label{background:var(--surface-muted);border:1px solid var(--line);border-radius:.7rem;align-items:center;gap:.6rem;min-height:3rem;padding:.4rem .75rem;display:flex}.ecommerce-chips label:has(input:checked){background:var(--brand-soft);border-color:var(--brand-dark)}.ecommerce-chips input[type=checkbox]{width:1.2rem;height:1.2rem;min-height:0}.ecommerce-chips select{min-height:2.5rem;margin-left:auto}.ecommerce-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:.75rem 1rem;display:flex}.ecommerce-toolbar .field{flex:16rem;max-width:26rem}.ecommerce-bulk{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.ecommerce-bulk>span{color:var(--muted);font-size:.88rem}.ecommerce-table{min-width:36rem}.ecommerce-table th:first-child,.ecommerce-table td:first-child{text-align:center;width:3rem}.ecommerce-table input[type=checkbox]{width:1.2rem;height:1.2rem}.ecommerce-table td{font-size:.92rem}.ecommerce-table td:last-child,.ecommerce-table th:last-child{text-align:right}.ecommerce-table tr[aria-selected=true] td{background:var(--surface-muted)}.ecommerce-table td small{color:var(--muted);display:block}.ecommerce-editor{border-color:var(--brand-dark);scroll-margin-top:1rem}.ecommerce-editor h2:focus{outline:none}.ecommerce-image-grid{grid-template-columns:repeat(auto-fill,minmax(min(14rem,100%),1fr));gap:.6rem;display:grid}.ecommerce-image-grid .ecommerce-image-option{background:var(--surface-muted);border:1px solid var(--line);border-radius:.7rem;margin:0;padding:.5rem}@media (width<=600px){.ecommerce-segmented{width:100%}.ecommerce-segmented button{flex:1}.section-tabs button{flex-basis:45%}}.ecommerce-page{gap:1rem}.ecommerce-page .settings-form{max-width:none}.ecommerce-page .settings-card{gap:1.25rem;padding:1.5rem}.ecommerce-page .settings-card h2{color:var(--ink);margin:0;font-size:1.2rem;line-height:1.3}.ecommerce-page .settings-card h3{color:var(--ink);margin:0;font-size:1.05rem}.ecommerce-page .settings-card p{margin:0}.ecommerce-page .settings-card>p,.ecommerce-card-head p,.ecommerce-page .settings-card fieldset>p{color:var(--muted);max-width:68ch;line-height:1.5}.ecommerce-page .settings-card>h3{border-top:1px solid var(--line);padding-top:1.25rem}.ecommerce-page fieldset:not(.settings-card){border:0;gap:1rem;min-width:0;margin:0;padding:0;display:grid}.ecommerce-page fieldset:not(.settings-card)>legend{color:var(--ink);margin:0 0 .25rem;padding:0;font-size:1.02rem;font-weight:700}.ecommerce-page .field{color:var(--ink);gap:.4rem;font-size:.9rem;font-weight:650}.ecommerce-page .field :is(input,select){font-size:1rem;font-weight:400}.ecommerce-page :is(input:not([type=checkbox],[type=file]),select){border:1px solid var(--line-strong);color:var(--ink);font:inherit;background:#fff;border-radius:.5rem;min-height:2.75rem;padding:.5rem .75rem}.ecommerce-page input[type=file]{border:1px dashed var(--line-strong);font:inherit;background:#fff;border-radius:.5rem;min-height:2.75rem;padding:.55rem .6rem}.ecommerce-page input[type=checkbox]{accent-color:var(--brand-dark)}.ecommerce-page :is(input,select,button):focus-visible{outline-offset:2px;outline:3px solid #e84f0066}.ecommerce-page code{background:var(--surface-muted);overflow-wrap:anywhere;border-radius:.35rem;padding:.1rem .4rem;font-size:.85rem}.ecommerce-page .alert{border-left:4px solid var(--brand-dark);margin:0}.ecommerce-page .alert-error{border-left-color:var(--danger)}.ecommerce-page .dashboard-card{background:var(--surface-muted);border:1px solid var(--line);border-radius:.85rem;gap:1rem;padding:1.25rem;display:grid}.ecommerce-page .dashboard-card h3{margin:0}.ecommerce-page .product-inline-input{flex-wrap:wrap;align-items:center}.ecommerce-page .settings-actions{border-top:1px solid var(--line);padding-top:1rem}.ecommerce-page .settings-actions .button,.ecommerce-page .ecommerce-card-head .button{min-width:11rem}.ecommerce-page .section-tabs button{flex:0 11rem}.ecommerce-chips label{background:var(--surface);border-color:var(--line-strong)}.ecommerce-chips label:has(input:checked){background:var(--surface-muted);border-color:var(--brand-dark);box-shadow:inset 0 0 0 1px var(--brand-dark);font-weight:650}.ecommerce-chips select{width:auto;min-height:2.25rem}.ecommerce-table tbody th[scope=row]{color:var(--ink);letter-spacing:0;text-align:left;text-transform:none;background:0 0;font-size:.92rem;font-weight:650}.ecommerce-table tbody th[scope=row] small{color:var(--muted);font-size:.8rem;font-weight:400}.ecommerce-page .ecommerce-table input[type=checkbox]{min-height:0;padding:0}.ecommerce-page .rnpa-pagination{border:0;padding:.25rem 0 0}@media (width<=600px){.ecommerce-page .settings-card{padding:1.1rem}.ecommerce-page .section-tabs button{flex-basis:45%}}.ecommerce-page .settings-card>p.ecommerce-empty{max-width:none}.ecommerce-page .settings-card>.quiet-button{justify-self:start}.ecommerce-page .settings-card>.alert{max-width:68ch}.ecommerce-table tbody tr:last-child th[scope=row]{border-bottom:0}:root{color:var(--ink);font-synthesis:none;text-rendering:optimizelegibility;--canvas:#fff7de;--surface:#fffdf7;--surface-muted:#f9f0dc;--surface-raised:#fffaf0;--ink:#5c3927;--muted:#795a43;--line:#e7c98e;--line-strong:#d9b775;--brand:#e84f00;--brand-dark:#bd3f00;--brand-soft:#f5bd82;--danger:#9b3023;--warning:#765000;--success:#426333;--shadow-soft:0 8px 24px #5c392714;--shadow-card:0 2px 5px #5c39270d, 0 12px 28px #5c39270f;font-family:Inter,ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box}body{background:var(--canvas);min-width:20rem;margin:0}button,input,select,textarea{font:inherit}button,a,summary,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #e84f006b}::selection{background:var(--brand-soft);color:var(--ink)}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
