@import "https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;500;600;700;800&display=swap";@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:"Public Sans", ui-sans-serif, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--radius-sm:.25rem;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::-webkit-file-upload-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::-webkit-file-upload-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:-webkit-any([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:-webkit-any([multiple],[size])) optgroup option{padding-inline-start:20px}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::-webkit-file-upload-button{margin-inline-end:4px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-year-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-month-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-day-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-hour-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-minute-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-second-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-millisecond-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-meridiem-field{padding-block-start:0;padding-block-end:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button{-webkit-appearance:button;appearance:button}input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::-webkit-file-upload-button{-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components{.ui-page-frame{max-width:var(--ui-page-max);padding:var(--ui-page-padding-y) var(--ui-page-padding-x);width:100%;margin-inline-start:auto;margin-inline-end:auto}.ui-workspace-grid{gap:var(--ui-content-gap);min-width:0;display:grid}.ui-wide-grid{gap:var(--ui-content-gap);grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);min-width:0;display:grid}.ui-flow-panel{min-width:0}.ui-contained-panel{background:var(--surface-main);border:var(--ui-border);border-radius:var(--ui-radius-panel);min-width:0}.ui-low-box{box-shadow:none;background:0 0;border:0;min-width:0}.ui-viewport-wide-section{width:100%;max-width:none}.ui-section-divider{border-top:1px solid var(--line-soft)}.ui-action-row{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.ui-scroll-table{max-width:100%;overflow-x:auto}.ui-scroll-table>table{min-width:var(--ui-table-min)}.ui-dialog-layer{z-index:var(--ui-modal-z);position:fixed}.ui-dialog-layer--critical{z-index:var(--ui-modal-critical-z)}}@layer utilities{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.start:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:var(--spacing)}.start:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:var(--spacing)}.start:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:var(--spacing)}.start:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:var(--spacing)}.end:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:var(--spacing)}.end:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:var(--spacing)}.end:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:var(--spacing)}.end:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:var(--spacing)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-1{margin:calc(var(--spacing) * 1)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.w-full{width:100%}.max-w-none{max-width:none}.min-w-0{min-width:calc(var(--spacing) * 0)}.shrink{flex-shrink:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.p-1{padding:calc(var(--spacing) * 1)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ui-no-card-default{box-shadow:none;background:0 0;border:0}}:root{--ui-page-max:1680px;--ui-page-padding-x:clamp(.75rem, 1.8vw, 1.5rem);--ui-page-padding-y:clamp(.65rem, 1.4vw, 1.15rem);--ui-sidebar-width:252px;--ui-content-gap:clamp(.75rem, 1.4vw, 1.25rem);--ui-readable:68ch;--ui-table-min:720px;--ui-modal-z:120;--ui-modal-critical-z:132;--ui-radius-control:.55rem;--ui-radius-panel:.7rem;--ui-border:1px solid var(--line-soft);--ui-focus-ring:0 0 0 3px #2f6f9f2e}@media (max-width:1180px) and (max-height:940px){:root{--ui-page-padding-x:.75rem;--ui-page-padding-y:.65rem;--ui-content-gap:.7rem;--ui-table-min:640px}}@media (max-width:640px){:root{--ui-page-padding-x:.62rem;--ui-page-padding-y:.58rem;--ui-content-gap:.62rem;--ui-table-min:560px}}@media (max-width:980px){@layer components{.ui-wide-grid{grid-template-columns:1fr}}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}:root{--bg-cream:#edf6fc;--bg-warm:#e5f0f8;--bg-accent:#2563eb;--surface-main:#fff;--surface-alt:#f6f9fc;--surface-soft:#e9f1f7;--line-soft:#d5e1ea;--line-strong:#2f6f9f;--text-main:#152331;--text-muted:#607081;--brand-deep:#143a5a;--brand-mid:#2563eb;--brand-gold:#d97706;--good-bg:#edf8f2;--good-line:#9fd7b5;--good-text:#17643a;--warn-bg:#fff6df;--warn-line:#e8c574;--warn-text:#7a4a08;--risk-bg:#fff0f1;--risk-line:#eca2ac;--risk-text:#8f2432;--shadow-lg:0 8px 18px #1936521a;--shadow-md:0 4px 10px #19365214;--shadow-sm:0 1px 5px #19365212;--layer-procurement-dialog:130;--layer-procurement-confirm:132;--font-title:"Public Sans", sans-serif;--font-body:"Public Sans", sans-serif;--app-viewport-height:100vh;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:var(--font-body);text-rendering:optimizelegibility;font-synthesis:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:500;line-height:1.45}*{box-sizing:border-box}body{background:linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-warm) 100%);color:var(--text-main);min-width:320px;min-height:100vh;margin:0}body.side-menu-mobile-open{overflow:hidden}.app-section{flex-direction:column;gap:.8rem;min-width:0;display:flex}.app-section-compact{gap:.65rem}.app-section>*{min-width:0}.app-section-title{margin:0;line-height:1.16}.ops-module-shell{gap:1rem}.ops-workspace-shell{gap:1rem;min-width:0;display:grid}.ops-workspace-header{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:start;gap:1rem;min-width:0;padding-bottom:.95rem;display:flex}.ops-workspace-copy{gap:.35rem;min-width:0;display:grid}.ops-workspace-copy h3{margin:0}.ops-workspace-subtitle{color:var(--text-muted);max-width:68ch;margin:0;line-height:1.5}.ops-workspace-summary-strip{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.7rem;display:grid}.ops-workspace-summary-card{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.7rem;gap:.18rem;min-width:0;padding:.78rem .85rem;display:grid}.ops-workspace-summary-card span{color:#735338;overflow-wrap:anywhere;min-width:0;font-size:.8rem;font-weight:700}.ops-workspace-summary-card strong{color:var(--text-main);overflow-wrap:anywhere;min-width:0;font-size:1rem;line-height:1.25}.ops-workspace-summary-card small{color:var(--text-muted);overflow-wrap:anywhere;min-width:0;font-size:.78rem;line-height:1.35}.ops-inline-tabs{border-bottom:1px solid var(--line-soft);flex-wrap:wrap;align-items:end;gap:.55rem;min-width:0;padding-bottom:.2rem;display:flex}.ops-inline-tab{-webkit-appearance:none;appearance:none;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;min-height:2.25rem;padding:.35rem .15rem .52rem;font-size:.9rem;font-weight:700;transition:border-color .14s,color .14s}.ops-inline-tab:hover{color:var(--text-main)}.ops-inline-tab.active,.ops-inline-tab[aria-selected=true]{color:var(--text-main);border-bottom-color:#8f5e34}.production-shell{gap:.72rem}.app-section-tabs,.app-section-tab{min-width:0}.hero{background:var(--surface-main);border:1px solid var(--line-soft);box-shadow:var(--shadow-sm);color:var(--text-main);border-radius:.65rem;grid-template-columns:minmax(0,1fr);align-items:start;gap:.85rem;padding:1rem;display:grid}.hero-copy{flex-direction:column;justify-content:center;display:flex}.eyebrow{display:none}h1{font-family:var(--font-title);margin:0 0 .35rem;font-size:clamp(1.45rem,2.1vw,1.9rem);font-weight:700;line-height:1.2}.intro{color:var(--text-muted);max-width:62ch;margin:0;font-size:.96rem}.card{background:var(--surface-main);border:1px solid var(--line-soft);box-shadow:var(--shadow-sm);border-radius:.65rem;margin-top:.9rem;padding:1rem}h2{font-family:var(--font-title);margin:0 0 .7rem;font-size:1.28rem;font-weight:700}h3{font-family:var(--font-body);margin:0 0 .35rem;font-size:1rem;font-weight:700}h4,h5,h6,p,label,button,input,select,textarea,small,li,td,th{font-family:var(--font-body)}p{margin:.25rem 0}ul{flex-direction:column;gap:.6rem;margin:.2rem 0 0;padding-left:1.25rem;display:flex}li{font-size:1rem}.button-row{flex-wrap:wrap;gap:.55rem;margin-top:.2rem;padding-top:.2rem;display:flex}.tabs-card{padding-bottom:.85rem}.recipe-card-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.65rem;margin-top:.6rem;display:grid}.recipe-card-button{-webkit-appearance:none;appearance:none;background:var(--surface-main);border:1px solid var(--line-soft);color:var(--text-main);cursor:pointer;text-align:left;border-radius:.6rem;place-items:start;gap:.28rem;min-height:160px;padding:.5rem .55rem;transition:border-color .14s,background-color .14s,box-shadow .14s;display:grid}.recipe-card-button img{border:1px solid var(--line-soft);object-fit:cover;border-radius:.5rem;width:100%;height:84px}.recipe-preview{background:var(--surface-alt);border:1px solid var(--line-soft);box-shadow:none;border-radius:.6rem;margin-top:.8rem;padding:.7rem}.recipe-preview h4{margin:0 0 .35rem}.recipe-add-row{grid-template-columns:1.4fr .8fr .9fr;align-items:end;gap:.55rem;margin-top:.7rem;display:grid}.recipe-add-row label{font-size:.9rem;font-weight:700}.recipe-add-row select,.recipe-add-row input{border:1px solid #bf9165;border-radius:.55rem;width:100%;min-height:2.25rem;padding:.4rem .52rem;font-size:.98rem}.inline-danger{margin-left:.7rem;padding:.32rem .55rem;font-size:.85rem}.muted-note{color:var(--text-muted);font-size:.84rem;line-height:1.35}.payroll-toolbar{justify-content:space-between;align-items:flex-start;gap:.9rem;margin-bottom:.95rem;display:flex}.payroll-toolbar-head{gap:.7rem;min-width:0;display:grid}.payroll-toolbar-head h2{margin:0}.payroll-overview-item{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.6rem;gap:.14rem;min-width:0;padding:.72rem .8rem;display:grid}.payroll-overview-item span{color:#7e532d;font-size:.75rem;font-weight:700}.payroll-overview-item small{color:var(--text-muted);font-size:.76rem}.payroll-workbench{grid-template-columns:minmax(0,1.65fr) minmax(280px,.9fr);gap:.9rem;display:grid}.payroll-directory-panel,.payroll-side-card,.payroll-modal-section{background:var(--surface-main)}.payroll-directory-panel{gap:.9rem;display:grid}.payroll-panel-header{justify-content:space-between;align-items:baseline;gap:.6rem;display:flex}.payroll-panel-header h3{margin:0}.payroll-panel-meta{color:var(--text-muted);font-size:.8rem;font-weight:600}.payroll-employee-grid,.payroll-activity-column{gap:.8rem;display:grid}.payroll-employee-grid{grid-template-columns:repeat(auto-fit,minmax(270px,1fr))}.payroll-employee-card{gap:.8rem;min-height:100%;display:grid}.payroll-employee-card:hover{box-shadow:none;border-color:#b77a44}.payroll-employee-card-main{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.8rem;display:grid}.payroll-employee-card-identity{gap:.35rem;min-width:0;display:grid}.payroll-employee-metrics,.payroll-modal-summary-list{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.55rem;margin:0;display:grid}.payroll-employee-metrics div,.payroll-modal-summary-list div{background:var(--surface-alt);border:1px solid #dfc3a4;border-radius:.55rem;gap:.16rem;min-width:0;padding:.65rem .7rem;display:grid}.payroll-employee-metrics dt,.payroll-modal-summary-list dt{color:#7a4a22;font-size:.74rem;font-weight:700}.payroll-employee-metrics dd,.payroll-modal-summary-list dd{color:var(--text-primary);margin:0;font-size:.88rem;font-weight:700;line-height:1.3}.payroll-activity-column{align-content:start}.payroll-modal-section{gap:.75rem;display:grid}.payroll-modal-section>h3{margin:0}.payroll-side-card{gap:.75rem;display:grid}.payroll-compact-list{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.payroll-compact-row{background:var(--surface-alt);border:1px solid #dfc3a4;border-radius:.55rem;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.45rem;padding:.65rem .7rem;display:grid}.payroll-compact-row-amount{color:var(--text-primary);text-align:right;font-weight:800}.payroll-empty-inline{background:var(--surface-alt);color:var(--text-muted);border:1px dashed #d9b892;border-radius:.55rem;padding:.75rem .8rem}.portion-edit-row{grid-template-columns:minmax(110px,.8fr) minmax(130px,1fr) auto;align-items:center;gap:.45rem;margin-top:.4rem;display:grid}.portion-edit-row input,.portion-edit-row select{border:1px solid #bf9165;border-radius:.55rem;width:100%;min-height:2.2rem;padding:.38rem .5rem;font-size:.95rem}.purchase-form-grid textarea{border:1px solid #bf9165;border-radius:.55rem;width:100%;padding:.42rem .5rem;font-size:.94rem}.module-card{background:var(--surface-main);border:1px solid var(--line-soft);box-shadow:none;border-radius:.65rem;padding:.9rem 1rem}.payroll-employee-card{gap:.75rem;min-height:100%;transition:transform .14s,box-shadow .14s,border-color .14s;display:grid}.payroll-employee-card:hover{box-shadow:none;border-color:#b77a44;transform:none}.payroll-employee-card-header{grid-template-columns:64px minmax(0,1fr);align-items:center;gap:.75rem;display:grid}.payroll-employee-card-identity{gap:.4rem;display:grid}.payroll-employee-card-identity h3{margin:0}.payroll-card-chip{background:var(--surface-soft);border:1px solid var(--line-soft);color:var(--text-muted);border-radius:.45rem;padding:.34rem .58rem;font-size:.76rem;font-weight:600;line-height:1.2}.payroll-card-chip.accent{color:#6d2f14;background:#ffe1ba;border-color:#d89b56}.payroll-card-chip.muted{color:#665448;background:#ece7e0;border-color:#cdbfb0}.payroll-employee-card-details,.payroll-employee-modal-summary{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.5rem;margin:0;display:grid}.payroll-employee-card-details div,.payroll-employee-modal-summary div{background:var(--surface-alt);border:1px solid #dfc3a4;border-radius:.55rem;min-height:100%;padding:.6rem .65rem}.payroll-employee-card-details dt,.payroll-employee-modal-summary dt{color:#6a3016;margin-bottom:.16rem;font-size:.78rem;display:block}.payroll-employee-card-details dd,.payroll-employee-modal-summary dd{color:var(--text-main);margin:0;font-size:.86rem;font-weight:700;line-height:1.28}.payroll-employee-card-stats{grid-template-columns:repeat(auto-fit,minmax(138px,1fr));gap:.55rem;display:grid}.payroll-employee-stat{background:linear-gradient(#fffaf3 0%,#f2dfc5 100%);border:1px solid #dbbb95;border-radius:.82rem;gap:.18rem;min-height:100%;padding:.68rem .72rem;display:grid}.payroll-employee-stat small{color:#7a4a22;letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:800}.payroll-employee-stat strong{color:#472311;font-size:.9rem;line-height:1.35}.employee-avatar-badge,.employee-avatar-preview{text-transform:uppercase;border:2px solid #c28a57;border-radius:999px;justify-content:center;align-items:center;font-weight:900;line-height:1;display:flex}.employee-avatar-badge{width:64px;height:64px;font-size:1.1rem}.employee-avatar-preset-grid{grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:.6rem;display:grid}.employee-avatar-preset{cursor:pointer;text-align:center;border:2px solid #c28a57;border-radius:.8rem;place-items:center;gap:.45rem;min-height:108px;padding:.7rem;display:grid}.employee-avatar-preset.active{transform:translateY(-1px);box-shadow:0 0 0 3px #c27a2f38}.employee-avatar-preset-badge{background:#ffffffa8;border-radius:999px;justify-content:center;align-items:center;width:46px;height:46px;font-size:1rem;font-weight:900;display:inline-flex}.expenses-layout{grid-template-columns:minmax(0,1.7fr) minmax(320px,.95fr);align-items:start;gap:1rem;display:grid}.expense-payroll-section{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:.7rem;gap:.65rem;padding:.85rem;display:grid}.expenses-wizard-card,.expenses-bases-card,.expenses-history-card{background:var(--surface-main);border:1px solid var(--line-soft);box-shadow:none;border-radius:.72rem}.expenses-history-card{grid-column:1/-1}.expenses-card-header{border-bottom:1px solid var(--line-soft);gap:.85rem;margin-bottom:.9rem;padding-bottom:.8rem;display:grid}.expenses-card-copy{gap:.35rem;display:grid}.expenses-card-copy h3{margin:0}.expenses-workspace-tabs{gap:.55rem}.expenses-workspace-tab{min-height:2.25rem;padding-inline-start:.18rem;padding-inline-end:.18rem}.expenses-progress-track{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:999px;height:.6rem;margin:.15rem 0 .85rem;overflow:hidden}.expenses-progress-fill{background:#8f5e34;height:100%;transition:width .16s}.expenses-stepper{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:0 0 .95rem;display:grid}.expenses-step-button{-webkit-appearance:none;appearance:none;background:var(--surface-soft);border:1px solid var(--line-soft);color:var(--text-muted);cursor:pointer;text-align:left;border-radius:.58rem;min-height:2.65rem;padding:.6rem .72rem;font-size:.88rem;font-weight:700;transition:border-color .14s,background-color .14s,color .14s}.expenses-step-button:hover{border-color:var(--line-strong);color:var(--text-main)}.expenses-step-button.active{color:#5d3719;background:#f4ece3;border-color:#b27b48}.expenses-action-row{margin-top:.95rem}.expenses-intro-copy{color:var(--text-muted);max-width:70ch;margin:0;font-size:.88rem;line-height:1.5}.expenses-form-grid>p{margin:.1rem 0}.expenses-empty-copy{color:var(--text-muted);margin:0}.expenses-history-header{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:start;gap:1rem;margin-bottom:.9rem;padding-bottom:.8rem;display:flex}.expenses-history-header h3{margin-bottom:.3rem}.expenses-history-header strong{color:#5d3719;white-space:nowrap;font-size:.9rem;font-weight:800}.expense-payroll-section-header{gap:.28rem;display:grid}.expense-payroll-section-header strong{color:var(--text-main);font-size:.92rem}.expense-payroll-section-header span{color:var(--text-muted);font-size:.82rem;line-height:1.35}.expense-payroll-empty-state{justify-items:start;gap:.55rem;display:grid}.expense-consumption-shell{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:.72rem;padding:.9rem}.loss-attribution-shell{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:.72rem;gap:.75rem;padding:.9rem;display:grid}.expense-consumption-facts{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.5rem;margin:0;display:grid}.expense-consumption-facts div{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:.55rem;padding:.58rem .65rem}.expense-consumption-facts dt{color:#6a3b17;margin-bottom:.15rem;font-size:.75rem;font-weight:700}.expense-consumption-facts dd{color:var(--text-main);margin:0;font-size:.86rem;font-weight:700}.expense-courtesy-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.6rem;display:grid}.expense-courtesy-card{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:.68rem;gap:.2rem;padding:.78rem .82rem;display:grid}.expense-courtesy-card strong{color:var(--text-main);font-size:.9rem}.expense-courtesy-card span{color:#5d3719;font-size:.95rem;font-weight:700}.expense-courtesy-card small{color:var(--text-muted);font-size:.78rem}.inline-toggle{color:#5a3517;align-items:center;gap:.55rem;font-weight:600;display:inline-flex}.inline-toggle input{accent-color:#8a5b26}.expense-employee-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.6rem;display:grid}.expense-employee-option{background:var(--surface-main);border:1px solid var(--line-soft);box-shadow:none;cursor:pointer;text-align:left;border-radius:.72rem;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:.7rem;padding:.75rem;transition:border-color .14s,background-color .14s;display:grid}.expense-employee-option:hover{border-color:var(--line-strong)}.expense-employee-option.active{background:var(--surface-soft);box-shadow:none;border-color:#8a5b26}.expense-employee-option-copy{gap:.18rem;display:grid}.expense-employee-option-copy span{color:var(--text-muted);font-size:.88rem}.expense-product-search-shell{gap:.5rem;display:grid}.expense-product-search-dropdown{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:.72rem;gap:.42rem;max-height:280px;padding:.36rem;display:grid;overflow-y:auto}.expense-product-search-empty{color:var(--text-muted);margin:0;padding:.6rem .7rem;font-size:.86rem}.expense-product-search-option{background:var(--surface-main);border:1px solid var(--line-soft);color:inherit;cursor:pointer;text-align:left;border-radius:.64rem;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.7rem;padding:.78rem .84rem;transition:border-color .14s,background-color .14s;display:grid}.expense-product-search-option:hover{border-color:var(--line-strong)}.expense-product-search-option:disabled{background:var(--surface-muted);border-color:var(--line-soft);color:var(--text-muted);cursor:not-allowed;opacity:.72}.expense-product-search-option:disabled:hover{border-color:var(--line-soft)}.expense-product-search-option.active{background:var(--surface-soft);box-shadow:none;border-color:#9b6a33}.expense-product-search-option-copy,.expense-product-search-option-meta{gap:.18rem;display:grid}.expense-product-search-option-copy span,.expense-product-search-option-meta span{color:var(--text-muted);font-size:.82rem}.expense-product-search-option-meta{text-align:right;justify-items:end}.expense-treatment-grid{grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:.55rem;display:grid}.expense-treatment-card{background:var(--surface-main);border:1px solid var(--line-soft);color:inherit;cursor:pointer;text-align:left;border-radius:.68rem;gap:.28rem;min-height:108px;padding:.85rem .9rem;transition:border-color .14s,background-color .14s;display:grid}.expense-treatment-card:hover{border-color:var(--line-strong)}.expense-treatment-card strong{color:var(--text-main);font-size:.92rem}.expense-treatment-card span{color:var(--text-muted);font-size:.83rem;line-height:1.4}.expense-treatment-card.active{background:var(--surface-soft);box-shadow:none;border-color:#9b6a33}.expense-consumption-summary-card{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:.72rem;gap:.45rem;padding:.92rem .96rem;display:grid}.expense-consumption-summary-row{justify-content:space-between;align-items:start;gap:.8rem;display:flex}.expense-consumption-summary-row strong{color:var(--text-main);font-size:.84rem}.expense-consumption-summary-row span{color:var(--text-main);text-align:right;max-width:24ch;font-size:.88rem}.expense-courtesy-message{border-radius:.68rem;margin:0;padding:.72rem .82rem;font-size:.84rem;line-height:1.45}.expense-courtesy-message.success{color:#255b2e;background:#e6f6eae6;border:1px solid #78aa7a57}.expense-courtesy-message.warning{color:#7b4d15;background:#fff3e2f5;border:1px solid #d3a25e61}.expense-courtesy-message.neutral{color:#72553a;background:#f8f3ebeb;border:1px solid #d2ba9761}.expenses-stage-panel .wizard-summary{background:var(--surface-soft);border:1px solid var(--line-soft);box-shadow:none;border-radius:.72rem;padding:.85rem .9rem}.expenses-review-list{background:0 0;border:0;gap:.35rem;padding:0;display:grid}.expenses-review-list p{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:start;gap:.75rem;margin:0;padding:.42rem 0;display:flex}.expenses-review-list p:last-child{border-bottom:0}.expenses-review-list strong{color:var(--text-main);font-size:.84rem}.expenses-wizard-card .wizard-total-amount{color:var(--text-main);font-size:clamp(1.2rem,2.6vw,1.7rem);font-weight:800}.employee-weekday-grid{grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:.45rem;display:grid}.employee-weekday-chip{color:#5c3517;cursor:pointer;background:#fff6ea;border:1px solid #d2a170;border-radius:.75rem;place-items:center;gap:.15rem;min-height:64px;padding:.45rem;display:grid}.employee-weekday-chip.active{color:#1f553a;background:linear-gradient(#e0f5e7 0%,#c6e8d4 100%);border-color:#4f9b72}.employee-weekday-chip.day-off{color:#79271d;background:linear-gradient(#fde4de 0%,#f7cdc4 100%);border-color:#c26b5e}.image-picker-trigger{color:#4a2d15;cursor:pointer;text-align:left;background:linear-gradient(#fff8ef 0%,#ecd5b9 100%);border:1px solid #bf9165;border-radius:.55rem;align-items:center;gap:.55rem;min-height:2.5rem;padding:.4rem .52rem;font-size:.95rem;font-weight:700;display:flex}.image-picker-trigger-preview{object-fit:cover;border:1px solid #c7a072;border-radius:.38rem;width:32px;height:32px}.unified-image-picker{gap:.75rem;display:grid}.unified-image-picker-summary{align-items:stretch}.unified-image-picker-controls{gap:.55rem;display:grid}.unified-image-picker-upload-row{gap:.45rem;display:grid}.unified-image-picker-upload-row input[type=file]{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.unified-image-picker-upload-label{justify-content:center;width:-moz-fit-content;width:fit-content;display:inline-flex}.unified-image-picker-upload-label.disabled{cursor:not-allowed;opacity:.6;pointer-events:none}.purchase-completion-lines{gap:.75rem;margin-top:.9rem;display:grid}.image-library-grid{grid-template-columns:repeat(auto-fit,minmax(72px,1fr));gap:.5rem;display:grid}.image-library-option{-webkit-appearance:none;appearance:none;cursor:pointer;background:#fff8ef;border:2px solid #d0a97b;border-radius:.65rem;padding:.2rem}.image-library-option.active{border-color:#7d3419;box-shadow:0 0 0 2px #7d341938}.image-library-preview{object-fit:cover;border-radius:.45rem;width:100%;height:64px;display:block}.quick-ingredient-selected-preview{object-fit:cover;border:1px solid #c8a070;border-radius:.65rem;width:100%;height:160px;margin-top:.35rem}.module-nav-card{cursor:pointer;text-align:left;transition:box-shadow .12s,border-color .12s,background-color .12s}.module-nav-card:hover{background:var(--surface-alt);border-color:var(--line-strong);box-shadow:var(--shadow-sm)}.finance-module-grid{margin-top:.95rem}.finance-module-card{gap:.42rem;min-width:0;display:grid}.finance-module-card h3,.finance-module-card p{overflow-wrap:anywhere;min-width:0;margin:0}.finance-module-meta{color:#6a4627;overflow-wrap:anywhere;min-width:0;font-size:.92rem;font-weight:700}.finance-command-panel{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:.8rem;gap:.85rem;padding:.95rem 1rem;display:grid}.finance-command-header{justify-content:space-between;align-items:start;gap:.75rem;display:flex}.finance-command-header h3{margin:.06rem 0 0}.finance-command-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.8rem;display:grid}.finance-command-card{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:.72rem;gap:.28rem;min-width:0;padding:.8rem .85rem;display:grid}.finance-command-card strong{color:#5d2a15;overflow-wrap:anywhere;min-width:0;font-size:1.06rem;line-height:1.2}.finance-command-card p{color:#6e5138;overflow-wrap:anywhere;min-width:0;margin:0;line-height:1.4}.finance-command-card-accent{border-color:#ba8048;box-shadow:inset 0 0 0 1px #ba804829}.finance-command-card-accent .action-button{justify-self:start;max-width:100%}.finance-circuit-overview-panel{margin-top:.95rem}.finance-command-actions{border-top:1px solid var(--line-soft);padding-top:.75rem}.finance-v2-header{border-bottom:0;padding-bottom:0}.finance-v2-title-block{gap:.35rem;display:grid}.finance-v2-status-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.finance-section-detail{color:var(--text-muted);overflow-wrap:anywhere;min-width:0;font-size:.9rem;line-height:1.4;display:block}.finance-context-banner{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:.85rem;justify-content:space-between;align-items:center;gap:.8rem;margin-bottom:.95rem;padding:.8rem .95rem;display:flex}.finance-context-banner .finance-section-detail,.finance-context-banner strong{margin:0}.finance-health-panel{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:.8rem;gap:.85rem;padding:.9rem 1rem;display:grid}.finance-health-header{justify-content:space-between;align-items:start;gap:1rem;display:flex}.finance-health-header h3{margin:.1rem 0 0}.finance-health-header .muted-note{max-width:32rem;margin:0}.finance-health-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.7rem;display:grid}.finance-health-card{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:.72rem;gap:.28rem;min-width:0;padding:.75rem .8rem;display:grid}.finance-health-card strong{color:#5d2a15;overflow-wrap:anywhere;min-width:0;font-size:1.04rem;line-height:1.2}.finance-health-card p{color:#6e5138;overflow-wrap:anywhere;min-width:0;margin:0;font-size:.9rem;line-height:1.4}.finance-health-label{color:#8a5a35;font-size:.8rem;font-weight:700}.finance-circuit-panel{border-top:1px solid var(--line-soft);gap:.75rem;padding-top:.2rem;display:grid}.finance-circuit-header{justify-content:space-between;align-items:start;gap:1rem;display:flex}.finance-circuit-header h4{margin:.08rem 0 0}.finance-circuit-header .muted-note{max-width:32rem;margin:0}.finance-circuit-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.65rem;display:grid}.finance-circuit-card{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:.72rem;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:.7rem;min-width:0;padding:.75rem .8rem;display:grid}.finance-circuit-copy{gap:.22rem;min-width:0;display:grid}.finance-circuit-copy strong{overflow-wrap:anywhere;min-width:0}.finance-circuit-copy p{color:#6e5138;overflow-wrap:anywhere;min-width:0;margin:0;line-height:1.4}.finance-circuit-card .secondary-button{justify-self:start;max-width:100%}.finance-circuit-state{border-radius:.45rem;width:-moz-fit-content;width:fit-content;padding:.18rem .55rem;font-size:.78rem;font-weight:800;display:inline-flex}.finance-circuit-state.ready{color:#1f6a35;background:#dcefd9}.finance-circuit-state.attention{color:#905500;background:#fff0c9}.finance-circuit-state.idle{color:#6d5c4f;background:#ece6dd}.finance-transactions-header{justify-content:space-between;align-items:center;gap:.6rem;display:flex}.finance-transactions-workspace,.finance-amortization-workspace{grid-template-columns:minmax(0,1.7fr) minmax(320px,.95fr);align-items:start;gap:1rem;display:grid}.finance-transactions-table-shell,.finance-transaction-composer-shell,.finance-transactions-account-shell,.finance-amortization-table-shell,.finance-amortization-composer-shell{min-width:0}.finance-transactions-table-shell{gap:.75rem;display:grid}.finance-amortization-table-shell,.finance-amortization-composer-shell{gap:.85rem;display:grid}.finance-transactions-table-header{justify-content:space-between;gap:.75rem;display:flex}.finance-amortization-table-header{gap:.85rem;display:grid}.finance-amortization-summary-strip{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.65rem;display:grid}.finance-amortization-summary-card{background:#fffaf3;border:1px solid #ead1b2;border-radius:.75rem;gap:.2rem;padding:.75rem .82rem;display:grid}.finance-amortization-summary-card span{color:#7a614b;font-size:.79rem}.finance-amortization-summary-card strong{color:#2f2118;font-size:1rem}.finance-amortization-section{border-top:1px solid #ead8c5;gap:.7rem;padding-top:.9rem;display:grid}.finance-amortization-section-header{color:#6b4d35;justify-content:space-between;align-items:center;gap:.8rem;display:flex}.finance-amortization-section-header h4{color:#2f2118;margin:0}.finance-amortization-table-scroll{max-height:30rem}.finance-amortization-row-active{background:#fff8ee}.finance-amortization-detail-card{border-top:1px solid #e3c9a6;margin-top:.2rem;padding-top:.95rem}.finance-amortization-detail-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.45rem 1rem;display:grid}.finance-amortization-detail-grid p{margin:0}.finance-amortization-composer-header{justify-content:space-between;gap:.75rem;display:flex}.finance-amortization-goal-list{border:1px solid #ead8c5;border-radius:.8rem;gap:.55rem;padding:.8rem .9rem;display:grid}.finance-amortization-goal-row{color:#5f4633;justify-content:space-between;align-items:center;gap:.8rem;display:flex}.finance-amortization-goal-row strong{color:#2f2118}.finance-amortization-form-grid{gap:.72rem;display:grid}.finance-amortization-form-grid input{color:#2f2118;background:#fffdf9;border:1px solid #d7b289;border-radius:.7rem;min-height:2.8rem;padding:.72rem .82rem}.finance-amortization-review-card p{margin:0}.finance-amortization-evaluator{border-top:1px solid #ead8c5;gap:.72rem;padding-top:.95rem;display:grid}.finance-amortization-evaluator input{color:#2f2118;background:#fffdf9;border:1px solid #d7b289;border-radius:.7rem;min-height:2.8rem;padding:.72rem .82rem}.finance-credits-workspace{gap:1rem;display:grid}.finance-credits-shell{gap:.95rem;display:grid}.finance-credits-header{justify-content:space-between;align-items:start;gap:.85rem;display:flex}.finance-credits-header h3{margin-bottom:.2rem}.finance-credits-header-copy{color:#6b4d35;max-width:48rem;margin:0}.finance-empty-state{color:#6f533d;background:#fffaf3;border:1px dashed #d9bb96;border-radius:.9rem;justify-items:start;gap:.35rem;padding:1rem 1.05rem;display:grid}.finance-credit-card-grid{grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:.8rem;display:grid}.finance-credit-card{background:#fffdf9;border:1px solid #dcc3a7;border-radius:.85rem;gap:.8rem;padding:.82rem;display:grid;position:relative}.finance-credit-card.active{border-color:#8b3f1e;box-shadow:0 0 0 2px #8b3f1e24}.finance-credit-card-topbar{justify-content:space-between;align-items:start;gap:.75rem;display:flex}.finance-credit-card-menu-shell{position:relative}.finance-credit-card-menu-trigger{min-width:2.8rem;padding-inline-start:.65rem;padding-inline-end:.65rem}.finance-credit-card-menu{z-index:4;background:#fffdf9;border:1px solid #dcc3a7;border-radius:.8rem;gap:.45rem;min-width:10.5rem;padding:.55rem;display:grid;position:absolute;top:calc(100% + .4rem);right:0;box-shadow:0 12px 32px #472a1324}.finance-credit-card-copy{gap:.48rem;display:grid}.finance-credit-card-copy h4,.finance-credit-detail-header h4{margin:0}.finance-credit-detail-lender{color:#3b2f1e;margin:0;font-size:1.02rem;font-weight:700}.finance-credit-card-kpi{justify-content:space-between;gap:.45rem;margin:0;display:flex}.finance-credit-card-kpi span{color:#75563f;font-size:.86rem}.finance-credit-card-kpi strong{color:#3f1f12;font-size:.98rem}.finance-credit-card-meta{border-top:1px solid #eee1cf;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:0;padding-top:.8rem;display:grid}.finance-credit-card-meta div{gap:.15rem;display:grid}.finance-credit-card-meta dt{color:#7b624d;margin:0;font-size:.77rem;font-weight:700}.finance-credit-card-meta dd{color:#352319;margin:0}.finance-credit-detail-shell{gap:1rem;display:grid}.finance-credit-detail-header{justify-content:space-between;align-items:start;gap:.85rem;display:flex}.finance-credit-detail-kpis{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.7rem;display:grid}.finance-credit-detail-kpi-card{background:#fffaf3;border:1px solid #ead1b2;border-radius:.8rem;gap:.22rem;padding:.8rem .85rem;display:grid}.finance-credit-detail-kpi-card span{color:#7a614b;font-size:.78rem}.finance-credit-detail-kpi-card strong{color:#2f2118;font-size:1rem}.finance-credit-detail-summary-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.45rem 1rem;display:grid}.finance-credit-detail-summary-grid p{margin:0}.finance-credit-detail-section{border-top:1px solid #ead8c5;gap:.72rem;padding-top:.92rem;display:grid}.finance-credit-detail-section-header{justify-content:space-between;align-items:center;gap:.8rem;display:flex}.finance-credit-detail-section-header h5{margin:0}.finance-credit-table-scroll{max-height:28rem}.finance-credit-dialog{max-width:min(48rem,100vw - 2rem)}.finance-credit-dialog-header{justify-content:space-between;align-items:start;gap:.75rem;display:flex}.finance-credit-form-grid,.finance-credit-payment-form{gap:.78rem;display:grid}.finance-credit-form-grid label,.finance-credit-payment-form label{gap:.32rem;display:grid}.finance-credit-form-grid input,.finance-credit-form-grid select,.finance-credit-payment-form input,.finance-credit-payment-form select,.finance-credit-payment-form textarea{color:#2f2118;background:#fffdf9;border:1px solid #d7b289;border-radius:.7rem;min-height:2.8rem;padding:.72rem .82rem}.finance-credit-payment-form textarea{resize:vertical;min-height:6.8rem}.finance-credit-form-span-2{grid-column:1/-1}.finance-credit-review-card p{margin:0}.finance-credit-payment-mode-row{flex-wrap:wrap;gap:.55rem;display:flex}.finance-credit-payment-mode-button{color:#5d432e;cursor:pointer;background:#f6ede2;border:1px solid #d5b28d;border-radius:999px;padding:.48rem .84rem;font-size:.88rem;font-weight:700}.finance-credit-payment-mode-button.active{color:#fff7f0;background:#5f3117;border-color:#5f3117}.finance-credit-payment-explainer{color:#5b4534;background:#fbf4eb;border:1px solid #e0c4a0;border-radius:.8rem;gap:.3rem;padding:.8rem .9rem;line-height:1.45;display:grid}.finance-credit-payment-explainer p{margin:0}.finance-investments-workspace{gap:1rem;display:grid}.finance-investments-shell{gap:.95rem;display:grid}.finance-investments-header{justify-content:space-between;align-items:start;gap:.85rem;display:flex}.finance-investments-header h3{margin-bottom:.2rem}.finance-investments-header-copy{color:#6b4d35;max-width:48rem;margin:0}.finance-investment-card-grid{grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:.8rem;display:grid}.finance-investment-card{background:#fffdf9;border:1px solid #dcc3a7;border-radius:.85rem;gap:.8rem;padding:.82rem;display:grid;position:relative}.finance-investment-card.active{border-color:#8b3f1e;box-shadow:0 0 0 2px #8b3f1e24}.finance-investment-card-topbar{justify-content:space-between;align-items:start;gap:.75rem;display:flex}.finance-investment-card-menu-shell{position:relative}.finance-investment-card-menu-trigger{min-width:2.8rem;padding-inline-start:.65rem;padding-inline-end:.65rem}.finance-investment-card-menu{z-index:4;background:#fffdf9;border:1px solid #dcc3a7;border-radius:.8rem;gap:.45rem;min-width:10.5rem;padding:.55rem;display:grid;position:absolute;top:calc(100% + .4rem);right:0;box-shadow:0 12px 32px #472a1324}.finance-investment-card-copy{gap:.44rem;display:grid}.finance-investment-card-copy h4,.finance-investment-detail-header h4{margin:0}.finance-investment-card-counterparty,.finance-investment-detail-title{color:#3b2f1e;margin:0;font-weight:700}.finance-investment-card-kpi{justify-content:space-between;gap:.45rem;margin:0;display:flex}.finance-investment-card-kpi span{color:#75563f;font-size:.86rem}.finance-investment-card-kpi strong{color:#3f1f12;font-size:.98rem}.finance-investment-card-meta{border-top:1px solid #eee1cf;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:0;padding-top:.8rem;display:grid}.finance-investment-card-meta div{gap:.15rem;display:grid}.finance-investment-card-meta dt{color:#7b624d;margin:0;font-size:.77rem;font-weight:700}.finance-investment-card-meta dd{color:#352319;margin:0}.finance-investment-detail-shell{gap:1rem;display:grid}.finance-investment-detail-header{justify-content:space-between;align-items:start;gap:.85rem;display:flex}.finance-investment-detail-kpis{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.7rem;display:grid}.finance-investment-detail-kpi-card{background:#fffaf3;border:1px solid #ead1b2;border-radius:.8rem;gap:.22rem;padding:.8rem .85rem;display:grid}.finance-investment-detail-kpi-card span{color:#7a614b;font-size:.78rem}.finance-investment-detail-kpi-card strong{color:#2f2118;font-size:1rem}.finance-investment-detail-summary-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.45rem 1rem;display:grid}.finance-investment-detail-summary-grid p,.finance-investment-review-card p{margin:0}.finance-investment-dialog{max-width:min(50rem,100vw - 2rem)}.finance-investment-dialog-header{justify-content:space-between;align-items:start;gap:.75rem;display:flex}.finance-investment-form-grid{gap:.78rem;display:grid}.finance-investment-form-grid label{gap:.32rem;display:grid}.finance-investment-form-grid input,.finance-investment-form-grid select{color:#2f2118;background:#fffdf9;border:1px solid #d7b289;border-radius:.7rem;min-height:2.8rem;padding:.72rem .82rem}.finance-investment-form-span-2{grid-column:1/-1}.finance-investment-creditor-type-row{flex-wrap:wrap;grid-column:1/-1;gap:.55rem;display:flex}.finance-investment-creditor-type-button{color:#5d432e;cursor:pointer;background:#f6ede2;border:1px solid #d5b28d;border-radius:.65rem;min-height:2.65rem;padding:.48rem .84rem;font-size:.9rem;font-weight:700}.finance-investment-creditor-type-button.active{color:#fff7f0;background:#5f3117;border-color:#5f3117}.finance-investment-review-card{gap:.5rem;display:grid}.finance-investment-inline-note{color:#5b4534;background:#fbf4eb;border:1px solid #e0c4a0;border-radius:.8rem;grid-column:1/-1;margin:0;padding:.8rem .9rem;line-height:1.45}.finance-pockets-workspace{display:grid}.finance-pockets-shell{gap:1rem;display:grid}.finance-pockets-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.finance-pockets-header h3{margin:0}.finance-pockets-header-copy{color:#6d5340;max-width:62ch;margin:.35rem 0 0;line-height:1.5}.finance-pockets-summary{background:#fcf7ef;border:1px solid #dfc4a2;border-radius:.8rem;grid-template-columns:repeat(5,minmax(0,1fr));gap:.7rem;padding:.9rem 1rem;display:grid}.finance-pockets-summary p{margin:0}.finance-pockets-layout{grid-template-columns:minmax(0,1.7fr) minmax(300px,.95fr);align-items:start;gap:1rem;display:grid}.finance-pockets-table-shell,.finance-pockets-detail-shell{gap:1rem;display:grid}.finance-pockets-table tbody tr.active{background:#fbf3e7}.finance-pocket-row-button{color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;gap:.18rem;padding:0;display:grid}.finance-pocket-row-button span{color:#725845;font-size:.88rem}.finance-pocket-detail-card{background:#fcf7ef;border:1px solid #dfc4a2;border-radius:.8rem;gap:.85rem;padding:1rem;display:grid}.finance-pocket-detail-card h4,.finance-pocket-detail-card p{margin:0}.finance-pocket-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem 1rem;margin:0;display:grid}.finance-pocket-detail-grid div{gap:.18rem;display:grid}.finance-pocket-detail-grid dt{color:#6f543a;font-size:.82rem;font-weight:700}.finance-pocket-detail-grid dd{margin:0}.finance-pocket-detail-span-2{grid-column:1/-1}.finance-pocket-linked-count{border-top:1px solid #e0c9ad;padding-top:.1rem}.finance-pocket-linked-table td,.finance-pocket-linked-table th{white-space:nowrap}.finance-pocket-dialog{width:min(680px,100vw - 2rem)}.finance-pocket-dialog-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.finance-pocket-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem 1rem;display:grid}.finance-pocket-form-grid label{gap:.4rem;display:grid}.finance-pocket-form-grid input,.finance-pocket-form-grid select{color:#2f2118;background:#fffdf9;border:1px solid #d7b289;border-radius:.7rem;min-height:2.8rem;padding:.72rem .82rem}.finance-pocket-form-span-2{grid-column:1/-1}.finance-pocket-review-card{background:#fcf7ef;border:1px solid #dfc4a2;border-radius:.8rem;gap:.5rem;padding:1rem;display:grid}.finance-pocket-review-card p{margin:0}.finance-pocket-wizard-steps{margin-bottom:1rem}.finance-transaction-kind-row{flex-wrap:wrap;gap:.55rem;display:flex}.finance-transaction-kind-button{color:#5d432e;cursor:pointer;background:#f6ede2;border:1px solid #d5b28d;border-radius:999px;padding:.52rem .95rem;font-size:.9rem;font-weight:700}.finance-transaction-kind-button.active{color:#fff7f0;background:#5f3117;border-color:#5f3117}.finance-transaction-form-grid{gap:.72rem;display:grid}.finance-transaction-form-grid input,.finance-transaction-form-grid select{color:#2f2118;background:#fffdf9;border:1px solid #d7b289;border-radius:.7rem;min-height:2.8rem;padding:.72rem .82rem}.finance-transaction-inline-label{color:#6f543a;text-transform:uppercase;font-size:.85rem;font-weight:700}.finance-transaction-owner-chip{color:#5f3117;background:#fff4e5;border:1px solid #d5b28d;border-radius:.8rem;align-items:center;min-height:2.75rem;padding:.65rem .82rem;font-weight:800;display:inline-flex}.finance-transaction-explainer{color:#5b4534;background:#fbf4eb;border:1px solid #e0c4a0;border-radius:.8rem;padding:.8rem .9rem;line-height:1.45}.finance-transaction-balance-strip{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.6rem;display:grid}.finance-transaction-balance-card{background:#fffaf3;border:1px solid #ead1b2;border-radius:.75rem;gap:.22rem;padding:.72rem .8rem;display:grid}.finance-transaction-balance-card span{color:#7a614b;font-size:.78rem}.finance-transaction-balance-card strong{color:#2f2118;font-size:.98rem}.finance-transaction-review{gap:.55rem}.finance-transaction-review p{margin:0}.finance-transaction-detail-card{border-top:1px solid #e3c9a6;gap:.7rem;margin-top:.35rem;padding-top:.9rem;display:grid}.finance-transaction-table-extended{max-height:72vh}.finance-filter-row{flex-wrap:wrap;gap:.45rem;margin:.75rem 0 .35rem;display:flex}.finance-filter-chip{color:#6b4324;cursor:pointer;background:#f9ecd9;border:1px solid #d1ab7f;border-radius:999px;padding:.45rem .8rem;font-size:.88rem;font-weight:700}.finance-filter-chip.active{color:#fff7f0;background:#8b3f1e;border-color:#8b3f1e}.finance-filter-summary{color:#6b4d35;flex-wrap:wrap;gap:.9rem;margin-bottom:.35rem;display:flex}.finance-movement-detail-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.45rem 1rem;display:grid}.finance-movement-detail-grid p{margin:0}.finance-account-card-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem;display:grid}.finance-accounts-workspace{gap:1rem;display:grid}.finance-accounts-grid-shell{gap:.9rem;display:grid}.finance-accounts-toolbar{justify-content:space-between;align-items:start;gap:.85rem;display:flex}.finance-account-card{text-align:left;background:#fffdf9;border:1px solid #d8bea0;border-radius:.75rem;gap:.7rem;width:100%;padding:.7rem;display:grid}.finance-account-card.active{border-color:#8b3f1e;box-shadow:0 0 0 2px #8b3f1e24}.finance-account-card-head{justify-content:space-between;align-items:start;gap:.75rem;display:flex}.finance-account-type{color:#795231;margin:0;font-size:.8rem;font-weight:700}.finance-account-card h4{margin:.2rem 0 .35rem}.finance-account-number{color:#5f4a39;margin:0;font-size:.9rem}.finance-account-meta,.finance-account-footnote{color:#6a4c33;margin:0;font-size:.9rem}.finance-account-state-chip{color:#6b4324;background:#f7ebda;border:1px solid #d7b289;border-radius:.6rem;padding:.24rem .55rem;font-size:.82rem;font-weight:700}.finance-account-balance{color:#5a2514;margin:.35rem 0 0;font-size:1.14rem;font-weight:900}.finance-account-movements-shell{border-top:1px solid #e3c9a6;gap:.85rem;padding-top:.95rem;display:grid}.finance-account-movements-header{justify-content:space-between;align-items:start;gap:.9rem;display:flex}.finance-account-selector{gap:.35rem;min-width:min(100%,280px);display:grid}.finance-account-selector span{color:#6f543a;font-size:.84rem;font-weight:700}.finance-account-selector select,.finance-account-form-grid input,.finance-account-form-grid select,.finance-account-form-grid textarea{color:#2f2118;background:#fffdf9;border:1px solid #d7b289;border-radius:.7rem;width:100%;min-height:2.8rem;padding:.72rem .82rem}.finance-account-form-grid textarea{resize:vertical;min-height:6.5rem}.finance-account-form-grid{gap:.75rem;display:grid}.finance-account-form-grid label{gap:.3rem;display:grid}.finance-account-form-grid label span{color:#6f543a;font-size:.84rem;font-weight:700}.finance-account-form-span-2{grid-column:1/-1}.finance-account-movement-table{max-height:68vh}.finance-account-dialog{background:#fffdf9;border-color:#d1b08b;width:min(96vw,680px);box-shadow:0 18px 40px #1a100a2e}.finance-account-dialog-header{justify-content:space-between;align-items:center;gap:.8rem;display:flex}.finance-account-dialog-header h2{margin:0}.finance-account-detail-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.45rem 1rem;display:grid}.finance-account-detail-grid p{margin:0}.finance-account-detail-note{grid-column:1/-1}.finance-movement-view{margin-top:.55rem}.finance-movement-view h4{margin-bottom:.2rem}.finance-movement-list{gap:.6rem;margin-top:.65rem;display:grid}.finance-movement-card{background:#fff9f2;border:1px solid #d7b289;border-radius:.75rem;grid-template-columns:130px minmax(0,1fr) auto;align-items:center;gap:.7rem;padding:.62rem .7rem;display:grid}.finance-movement-datetime{gap:.12rem;display:grid}.finance-movement-date{color:#5f3117;font-size:1.02rem;font-weight:800}.finance-movement-time{color:#8a5e3b;font-size:1.04rem;font-weight:800}.finance-movement-main{gap:.1rem;display:grid}.finance-movement-counterparty-label{color:#6c5137;text-transform:uppercase;font-size:.82rem;font-weight:700}.finance-movement-counterparty-value{color:#2f2118;font-size:1.02rem}.finance-movement-description{color:#6a4f39;font-size:.88rem}.finance-movement-amount{text-align:right;white-space:nowrap;font-size:1.08rem;font-weight:900}.finance-transaction-card-list{display:none}.finance-transaction-card{background:#fff9f2;border:1px solid #d7b289;border-radius:.8rem;gap:.3rem;padding:.75rem .8rem;display:grid}.finance-transaction-card-head{justify-content:space-between;align-items:flex-start;gap:.65rem;display:flex}.finance-transaction-card p{color:#5f4936;margin:0}.credit-workbench-card-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.65rem;margin-top:.65rem;display:grid}.credit-workbench-card{background:linear-gradient(#fff9ee 0%,#f2e0c8 100%);border:1px solid #d1ad84;border-radius:.75rem;gap:.5rem;padding:.7rem;display:grid}.credit-workbench-card.active{border-color:#7d3419;box-shadow:0 0 0 2px #7d34192e}.credit-workbench-card h4{margin:.15rem 0 .35rem}.credit-workbench-meta{color:#5d4735;margin:.15rem 0;font-size:.9rem}.credit-workbench-actions{margin-top:.25rem}.credit-workbench-detail{border-top:1px solid #dfc2a3;margin-top:.8rem;padding-top:.75rem}.credit-detail-list{margin-top:.6rem}.credit-pay-panel{background:#fff7eb;border:1px solid #ddb995;border-radius:.7rem;margin-top:.75rem;padding:.7rem}.credit-pay-panel.active{border-color:#8f3b20;box-shadow:0 0 0 2px #8f3b2029}.credit-pay-panel h5{margin:0 0 .35rem}.credit-payment-history-list{gap:.58rem;margin-top:.7rem;display:grid}.credit-payment-history-amount-wrap{place-items:center end;gap:.35rem;display:grid}.credit-history-detail-button{min-width:2.6rem}.account-grid{gap:.55rem;margin-bottom:.7rem;display:grid}.account-item{background:linear-gradient(#fff9f0 0%,#f4e4cf 100%);border:1px solid #d8b18a;border-radius:.65rem;padding:.55rem .65rem}.account-item p{margin:.2rem 0;font-size:.95rem}.form-grid{gap:.45rem;margin-top:.7rem;display:grid}.app-form-grid{align-items:start;width:100%;margin-top:0}.app-form-grid>*{min-width:0}.form-grid label{font-size:.92rem;font-weight:700}.form-grid input,.form-grid select{box-sizing:border-box;border:1px solid #bf9165;border-radius:.55rem;width:100%;min-width:0;max-width:100%;min-height:2.25rem;padding:.4rem .52rem;font-size:.98rem}.form-grid textarea{box-sizing:border-box;border:1px solid #bf9165;border-radius:.55rem;width:100%;min-width:0;max-width:100%;min-height:5rem;padding:.5rem .55rem;font-size:.98rem}.denomination-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.45rem;width:100%;margin-bottom:.7rem;display:grid}.denomination-grid label{gap:.3rem;min-width:0;font-size:.9rem;font-weight:700;display:grid}.denomination-grid input{box-sizing:border-box;border:1px solid #bf9165;border-radius:.55rem;width:100%;min-width:0;min-height:2.1rem;padding:.35rem .5rem;font-size:.95rem}.table-scroll{width:100%;margin-top:.7rem;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:620px}.data-table th,.data-table td{border-bottom:1px solid var(--line-soft);text-align:left;vertical-align:top;padding:.6rem .55rem}.data-table th{background:var(--surface-soft);color:var(--text-main);letter-spacing:0;font-size:.84rem;font-weight:700}.table-actions{flex-wrap:wrap;gap:.4rem;display:flex}.table-actions .secondary-button{padding:.45rem .6rem;font-size:.9rem}.status-stack{flex-direction:column;gap:.25rem;display:flex}.status-pill{border-radius:.45rem;width:-moz-fit-content;width:fit-content;padding:.16rem .42rem;font-size:.76rem;font-weight:600;display:inline-flex}.status-pill.disponible{background:var(--good-bg);border:1px solid var(--good-line);color:var(--good-text)}.status-pill.reservado{background:var(--warn-bg);border:1px solid var(--warn-line);color:var(--warn-text)}.status-pill.seguridad{background:var(--risk-bg);border:1px solid var(--risk-line);color:var(--risk-text)}.amortization-chart{border-top:1px solid #e0c3a6;max-height:430px;margin-top:.6rem;padding-top:.55rem;overflow-y:auto}.amortization-row-item{border-bottom:1px solid #e4cdb2;margin-bottom:.45rem;padding-bottom:.45rem}.amortization-label{margin-bottom:.2rem;font-size:.92rem;font-weight:700}.amortization-bar{background:#edd9c0;border-radius:999px;width:100%;height:.9rem;display:flex;overflow:hidden}.bar-interest{background:linear-gradient(90deg,#b44f35,#d87049)}.bar-principal{background:linear-gradient(90deg,#5f7b36,#86a64d)}.amortization-row{gap:.5rem;margin-top:.7rem;display:grid}.amortization-row label{font-size:.95rem;font-weight:700}.amortization-row input{border:1px solid #bc8f63;border-radius:.55rem;min-height:2.4rem;padding:.45rem .55rem;font-size:1rem}.kpi-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.6rem;margin-bottom:.85rem;display:grid}.kpi-card{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.6rem;padding:.75rem}.kpi-card p{font-size:1.12rem;font-weight:700}.kpi-card small{font-size:.8rem;font-weight:600;display:block}.summary-shell{gap:.72rem}.summary-primary-tabs{margin-bottom:.1rem}.summary-workbench{grid-template-columns:minmax(0,1fr) 244px;align-items:start;gap:.72rem;display:grid}.summary-workbench-main{gap:.72rem;min-width:0;display:grid}.summary-workbench-header{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:start;padding-bottom:.62rem;display:flex}.summary-workbench-context{color:var(--text-muted);max-width:64ch;margin:.22rem 0 0;font-size:.88rem}.summary-workbench-rail{border:1px solid var(--line-soft);background:0 0;border-radius:.58rem;gap:.55rem;padding:.62rem;display:grid}.summary-workbench-nav{gap:.45rem;display:grid}.summary-workbench-nav-button{-webkit-appearance:none;appearance:none;background:var(--surface-main);border:1px solid var(--line-soft);color:var(--text-main);cursor:pointer;text-align:left;border-radius:.5rem;align-items:flex-start;gap:.08rem;padding:.56rem .6rem;transition:border-color .13s,background-color .13s;display:grid}.summary-workbench-nav-button strong{font-size:.9rem}.summary-workbench-nav-button span{color:var(--text-muted);font-size:.78rem;line-height:1.32}.summary-workbench-nav-button:hover{border-color:var(--line-strong)}.summary-workbench-nav-button.active{background:var(--surface-soft);border-color:var(--line-strong)}.summary-detail-shell{gap:.82rem;display:grid}.summary-empty-state{background:var(--surface-alt);border:1px dashed var(--line-soft);color:var(--text-muted);border-radius:.65rem;gap:.22rem;padding:.9rem .95rem;display:grid}.summary-calendar-shell{grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr);gap:.8rem;display:grid}.summary-calendar-board,.summary-calendar-inspector{gap:.82rem;display:grid}.summary-calendar-head{justify-content:space-between;align-items:start;gap:.8rem;display:flex}.summary-calendar-heading{gap:.18rem;display:grid}.summary-calendar-heading h4,.summary-calendar-inspector-head h4{margin:0}.summary-calendar-heading p,.summary-calendar-inspector-head p{color:var(--text-muted);margin:0;font-size:.9rem}.summary-calendar-toolbar{flex-wrap:wrap;justify-content:flex-end;gap:.55rem;display:flex}.summary-calendar-date-field{gap:.32rem;min-width:180px;display:grid}.summary-calendar-date-field-inline{min-width:0}.summary-calendar-date-field span{color:var(--text-muted);font-size:.82rem;font-weight:700}.summary-calendar-kpis{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.6rem;display:grid}.summary-calendar-kpi{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.6rem;gap:.18rem;padding:.78rem .82rem;display:grid}.summary-calendar-kpi span{color:var(--text-muted);font-size:.82rem;font-weight:700}.summary-calendar-kpi strong{color:var(--text-main);font-size:1.02rem;font-weight:800}.summary-calendar-kpi small{color:var(--text-muted);font-size:.82rem}.summary-calendar-kpi.emphasis{background:var(--surface-soft);border-color:var(--line-strong)}.summary-calendar-kpi.warning{background:var(--warn-bg);border-color:var(--warn-line)}.summary-calendar-kpi.danger{background:var(--risk-bg);border-color:var(--risk-line)}.summary-calendar-fullcalendar .fc{height:100%}.summary-calendar-fullcalendar .fc .fc-scrollgrid{border-radius:.85rem;overflow:hidden}.summary-calendar-fullcalendar .fc .fc-col-header-cell{background:var(--surface-soft)}.summary-calendar-fullcalendar .fc .fc-col-header-cell-cushion{color:var(--text-muted);text-transform:uppercase;padding:.8rem .35rem;font-size:.8rem;font-weight:800;text-decoration:none}.summary-calendar-fullcalendar .fc .fc-daygrid-day-frame{min-height:132px;padding:.28rem}.summary-calendar-fullcalendar .fc .fc-daygrid-day-number{color:var(--text-main);padding:.18rem .22rem;font-size:.88rem;font-weight:800;text-decoration:none}.summary-calendar-fullcalendar .fc .fc-day-other .fc-daygrid-day-number{color:var(--text-muted)}.summary-calendar-fullcalendar .fc .fc-daygrid-day.fc-day-today{background:var(--surface-soft)}.summary-calendar-fullcalendar .fc .fc-daygrid-day.is-target{background:color-mix(in srgb, var(--surface-soft) 72%, transparent)}.summary-calendar-fullcalendar .fc .fc-daygrid-event{box-shadow:none;background:0 0;border:0;margin-top:.24rem}.summary-calendar-fullcalendar .fc .fc-daygrid-event-harness{margin-top:.24rem}.summary-calendar-fc-event-content{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:.56rem;align-items:center;gap:.16rem;padding:.46rem .52rem;display:grid}.summary-calendar-fc-event-content strong{color:var(--text-main);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;font-weight:800;overflow:hidden}.summary-calendar-fc-event-content small{color:var(--text-muted);font-size:.74rem}.summary-calendar-fc-event-chip{color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase;font-size:.7rem;font-weight:800}.summary-calendar-fullcalendar .fc .summary-calendar-fc-event.is-late .summary-calendar-fc-event-content{background:var(--risk-bg);border-color:var(--risk-line)}.summary-calendar-fullcalendar .fc .summary-calendar-fc-event.is-paid .summary-calendar-fc-event-content{background:var(--good-bg);border-color:var(--good-line)}.summary-calendar-fullcalendar .fc .summary-calendar-fc-event.is-pacted .summary-calendar-fc-event-content{background:var(--warn-bg);border-color:var(--warn-line)}.summary-calendar-fullcalendar .fc .summary-calendar-fc-event.is-pending .summary-calendar-fc-event-content{background:var(--surface-main)}.summary-calendar-fullcalendar .fc .summary-calendar-fc-event.is-active .summary-calendar-fc-event-content{border-color:var(--line-strong);box-shadow:inset 0 0 0 1px var(--line-strong)}.summary-calendar-fullcalendar .fc .fc-highlight{background:color-mix(in srgb, var(--surface-soft) 68%, transparent)}.summary-calendar-fullcalendar .fc .fc-more-link{color:var(--text-muted);font-size:.74rem;font-weight:700}.summary-calendar-inspector-head{gap:.2rem;display:grid}.summary-calendar-inspector-body{gap:.7rem;display:grid}.summary-calendar-inspector-row{justify-content:space-between;align-items:center;gap:.7rem;display:flex}.summary-calendar-inspector-row span{color:var(--text-muted);font-size:.82rem;font-weight:700}.summary-calendar-inspector-row strong{overflow-wrap:anywhere;text-align:right}.summary-calendar-inspector-block{background:color-mix(in srgb, var(--surface-subtle) 84%, white 16%);border:1px solid var(--border-subtle);border-radius:1rem;gap:.65rem;padding:.85rem .95rem;display:grid}.summary-calendar-funding-toggle-row{justify-content:space-between;align-items:center;gap:1rem;display:flex}.summary-calendar-funding-toggle-row>div{gap:.2rem;display:grid}.summary-calendar-funding-toggle-row>div>span{color:var(--text-main);font-size:.84rem;font-weight:700}.summary-calendar-funding-toggle-row>div>p{color:var(--text-muted);margin:0;font-size:.78rem;line-height:1.45}.summary-calendar-funding-switch{background:var(--surface-main);border:1px solid var(--border-strong);border-radius:999px;flex:none;justify-content:flex-start;align-items:center;width:3.4rem;height:2rem;padding:.2rem;transition:background-color .16s,border-color .16s;display:inline-flex}.summary-calendar-funding-switch>span{background:var(--text-muted);border-radius:999px;width:1.45rem;height:1.45rem;transition:transform .16s,background-color .16s;display:block}.summary-calendar-funding-switch.is-on>span{background:var(--accent-strong)}.summary-calendar-funding-note{color:var(--text-muted);margin:0;font-size:.82rem;line-height:1.45}.summary-calendar-funding-panel{border-top:1px solid var(--border-subtle);gap:.7rem;margin-top:.1rem;padding-top:.75rem;display:grid}.summary-calendar-funding-panel-head{gap:.25rem;display:grid}.summary-calendar-funding-panel-head strong{color:var(--text-main);font-size:.84rem}.summary-calendar-funding-panel-head span{color:var(--text-muted);font-size:.78rem;line-height:1.45}.summary-calendar-funding-actions{flex-wrap:wrap;gap:.65rem;display:flex}.summary-calendar-inspector-actions{flex-wrap:wrap;justify-content:flex-start;gap:.65rem;display:flex}.summary-calendar-confirm-modal{max-width:min(34rem,100vw - 2rem)}.summary-calendar-confirm-panel{gap:.9rem;display:grid}.summary-calendar-confirm-head{justify-content:space-between;align-items:start;gap:.7rem;display:flex}.summary-calendar-confirm-head h2{margin:0}.summary-calendar-confirm-copy{color:var(--text-muted);margin:0}.summary-calendar-confirm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;display:grid}.summary-calendar-confirm-grid div{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.6rem;gap:.2rem;padding:.78rem .82rem;display:grid}.summary-calendar-confirm-grid span{color:var(--text-muted);font-size:.8rem;font-weight:700}.summary-calendar-confirm-grid strong{color:var(--text-main)}.summary-calendar-confirm-note{background:var(--surface-soft);border:1px solid var(--line-soft);border-radius:.7rem;gap:.24rem;padding:.82rem .9rem;display:grid}.summary-calendar-confirm-note strong,.summary-calendar-confirm-note p{margin:0}.procurement-summary-shell{gap:.8rem;display:grid}.procurement-summary-panel,.procurement-summary-section{gap:.82rem;display:grid}.procurement-summary-head,.procurement-summary-section-head,.purchase-planning-section-head,.purchase-planning-panel-head{gap:.18rem;display:grid}.procurement-summary-head{justify-content:space-between;align-items:start;gap:.8rem;display:flex}.procurement-summary-head h4,.procurement-summary-section-head h4,.purchase-planning-section-head h3,.purchase-planning-panel-head h3{margin:0}.procurement-summary-head p,.procurement-summary-section-head p,.purchase-planning-section-head p,.purchase-planning-panel-head p{color:var(--text-muted);margin:0}.procurement-summary-filter-field,.purchase-planning-search-field{gap:.34rem;min-width:180px;display:grid}.procurement-summary-range-controls{grid-template-columns:repeat(2,minmax(142px,1fr));align-items:start;gap:.42rem .55rem;min-width:min(360px,100%);display:grid}.procurement-summary-range-field{color:var(--text-muted);gap:.34rem;font-size:.82rem;font-weight:700;display:grid}.procurement-summary-range-field input{min-width:0}.procurement-summary-range-message{background:var(--risk-bg);border:1px solid var(--risk-line);color:var(--risk-text);border-radius:.5rem;grid-column:1/-1;margin:0;padding:.48rem .55rem;font-size:.82rem;font-weight:700}.procurement-summary-filter-field label,.purchase-planning-search-field span{color:var(--text-muted);font-size:.82rem;font-weight:700}.procurement-summary-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.6rem;display:grid}.procurement-summary-kpi-card{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.6rem;gap:.18rem;padding:.78rem .82rem;display:grid}.procurement-summary-kpi-card span{color:var(--text-muted);font-size:.82rem;font-weight:700}.procurement-summary-kpi-card strong{color:var(--text-main);font-size:1.02rem;font-weight:800}.procurement-summary-kpi-card small{color:var(--text-muted);font-size:.82rem}.procurement-summary-purchase-table{border:1px solid var(--line-soft);border-radius:.62rem;overflow-x:auto}.procurement-summary-purchase-row{border-top:1px solid var(--line-soft);grid-template-columns:minmax(160px,1.35fr) minmax(64px,.42fr) minmax(126px,.72fr) minmax(72px,.44fr) minmax(96px,.58fr) minmax(188px,.92fr);align-items:center;gap:.55rem;min-width:820px;padding:.72rem .78rem;display:grid}.procurement-summary-purchase-row:first-child{border-top:0}.procurement-summary-purchase-row-head{background:var(--surface-alt);color:var(--text-muted);font-size:.78rem;font-weight:800}.procurement-summary-purchase-row :-webkit-any(span,strong,small){min-width:0}.procurement-summary-purchase-row :is(span,strong,small){min-width:0}.procurement-summary-purchase-row>span,.procurement-summary-purchase-row>strong{font-size:.84rem}.procurement-summary-purchase-copy{gap:.12rem;min-width:0;display:grid}.procurement-summary-purchase-copy strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.procurement-summary-purchase-copy small{color:var(--text-muted);font-size:.78rem}.procurement-summary-purchase-actions{flex-wrap:wrap;justify-content:flex-end;gap:.4rem;display:flex}.procurement-summary-purchase-actions .secondary-button{min-height:2.2rem;padding:.34rem .58rem}.procurement-receipt-viewer-overlay{z-index:var(--layer-procurement-dialog);background:#18130e9e;justify-content:center;align-items:center;padding:.6rem;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.procurement-receipt-viewer{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:.72rem;grid-template-rows:auto minmax(0,1fr);width:min(1080px,100vw - 1.2rem);height:calc(100dvh - 1.2rem);max-height:calc(100dvh - 1.2rem);display:grid;overflow:hidden}.procurement-receipt-viewer-head{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:.8rem;padding:.8rem .95rem;display:flex}.procurement-receipt-viewer-head h3,.procurement-receipt-viewer-head p{margin:0}.procurement-receipt-viewer-head p{color:var(--text-muted);font-size:.84rem}.procurement-receipt-viewer-body{background:var(--surface-alt);gap:.8rem;padding:.85rem;display:grid;overflow-y:auto}.procurement-receipt-viewer-page{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:.62rem;justify-items:center;gap:.45rem;margin:0;padding:.65rem;display:grid}.procurement-receipt-viewer-page img{border:1px solid var(--line-soft);object-fit:contain;background:#fff;border-radius:.45rem;width:auto;max-width:100%;max-height:calc(100dvh - 8.5rem);display:block}.procurement-receipt-viewer-page.has-error{justify-items:stretch}.procurement-receipt-error{background:var(--risk-bg);border:1px solid var(--risk-line);color:var(--risk-text);border-radius:.5rem;gap:.35rem;width:100%;padding:.75rem;display:grid}.procurement-receipt-error strong{color:var(--risk-text)}.procurement-receipt-error span{font-size:.86rem}.procurement-receipt-error code{border:1px solid var(--risk-line);color:var(--text-main);overflow-wrap:anywhere;background:#ffffff80;border-radius:.38rem;padding:.42rem .48rem;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.78rem;display:block}.procurement-receipt-viewer-page figcaption{color:var(--text-muted);font-size:.82rem;font-weight:700}.procurement-detail-viewer-overlay{z-index:var(--layer-procurement-dialog);background:#18130e9e;justify-content:center;align-items:center;padding:.6rem;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.procurement-detail-viewer{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:.72rem;gap:.78rem;width:min(1120px,100vw - 1.2rem);max-height:calc(100dvh - 1.2rem);padding-bottom:.85rem;display:grid;overflow:auto}.procurement-detail-viewer-head{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:.8rem;padding:.8rem .95rem;display:flex}.procurement-detail-viewer-head h3,.procurement-detail-viewer-head p{margin:0}.procurement-detail-viewer-head p{color:var(--text-muted);font-size:.84rem}.procurement-detail-viewer-actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;display:flex}.procurement-detail-edit-panel{border:1px solid var(--line-soft);border-radius:.62rem;gap:.52rem;margin:0 .95rem;padding:.72rem;display:grid}.procurement-detail-edit-grid{grid-template-columns:minmax(150px,.75fr) minmax(160px,.75fr) auto;align-items:end;gap:.62rem;display:grid}.procurement-detail-edit-grid label{color:var(--text-muted);gap:.28rem;font-size:.78rem;font-weight:800;display:grid}.procurement-detail-edit-grid input,.procurement-detail-edit-grid select{background:var(--surface-main);border:1px solid var(--line-soft);color:var(--text-main);font:inherit;border-radius:.5rem;min-height:2.35rem;padding:.48rem .58rem}.procurement-detail-edit-message{color:var(--text-muted);margin:0;font-size:.84rem}.procurement-detail-summary{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.55rem;padding:0 .95rem;display:grid}.procurement-detail-summary div{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.58rem;gap:.14rem;padding:.62rem .68rem;display:grid}.procurement-detail-summary span{color:var(--text-muted);font-size:.78rem;font-weight:700}.procurement-detail-summary strong{color:var(--text-main);font-size:.9rem}.procurement-detail-table{border:1px solid var(--line-soft);border-radius:.62rem;margin:0 .95rem;overflow-x:auto}.procurement-detail-row{border-top:1px solid var(--line-soft);grid-template-columns:minmax(160px,1.2fr) minmax(88px,.58fr) minmax(96px,.66fr) minmax(96px,.66fr) minmax(96px,.66fr) minmax(112px,.76fr) minmax(136px,.9fr);align-items:center;gap:.52rem;min-width:900px;padding:.68rem .76rem;display:grid}.procurement-detail-row:first-child{border-top:0}.procurement-detail-row-head{background:var(--surface-alt);color:var(--text-muted);font-size:.78rem;font-weight:800}.procurement-detail-row :-webkit-any(span,strong,small){min-width:0}.procurement-detail-row :is(span,strong,small){min-width:0}.procurement-detail-row>span,.procurement-detail-row>strong{font-size:.83rem}.procurement-detail-item-copy{gap:.12rem;min-width:0;display:grid}.procurement-detail-item-copy strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.procurement-detail-item-copy small{color:var(--text-muted);font-size:.78rem}.procurement-detail-notes{color:var(--text-muted);margin:0;padding:0 .95rem;font-size:.86rem}.procurement-detail-viewer-actions .danger-button,.procurement-delete-confirm-actions .danger-button{color:#fff8f4;cursor:pointer;font:inherit;background:#8f231c;border:1px solid #8f231c;border-radius:.5rem;min-height:2.32rem;padding:.48rem .7rem;font-weight:800}.procurement-detail-viewer-actions .danger-button:disabled,.procurement-delete-confirm-actions .danger-button:disabled{cursor:not-allowed;opacity:.68}.procurement-delete-confirm-overlay{z-index:var(--layer-procurement-confirm);background:#18130e80;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.procurement-delete-confirm-card{background:var(--surface-main);border:1px solid var(--line-strong);border-radius:.68rem;gap:.72rem;width:min(460px,100vw - 2rem);max-width:460px;padding:.95rem;display:grid}.procurement-delete-confirm-card h4,.procurement-delete-confirm-card p{margin:0}.procurement-delete-confirm-card p{color:var(--text-muted);font-size:.9rem;line-height:1.42}.procurement-delete-confirm-summary{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.56rem;justify-content:space-between;align-items:center;gap:.7rem;padding:.68rem .72rem;display:flex}.procurement-delete-confirm-summary span{color:var(--text-muted);font-size:.86rem}.procurement-delete-confirm-summary strong{color:var(--text-main);font-size:.95rem}.procurement-delete-confirm-message{border-left:3px solid #8f231c;padding-left:.58rem}.procurement-delete-confirm-actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;display:flex}.procurement-summary-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:.8rem;display:grid}.procurement-summary-plan-list,.purchase-planning-order-list{gap:.55rem;margin:0;padding:0;list-style:none;display:grid}.procurement-summary-plan-item,.purchase-planning-order-card{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.62rem;gap:.55rem;padding:.72rem .78rem;display:grid}.procurement-summary-plan-item{grid-template-columns:minmax(0,1fr) auto;align-items:center}.procurement-summary-plan-copy,.purchase-planning-draft-copy{gap:.12rem;min-width:0;display:grid}.procurement-summary-plan-copy small,.purchase-planning-draft-copy small,.purchase-planning-order-head p{color:var(--text-muted);margin:0;font-size:.8rem}.procurement-summary-plan-meta{justify-items:end;gap:.12rem;display:grid}.procurement-summary-plan-meta span{color:var(--text-muted);font-size:.78rem;font-weight:700}.procurement-summary-variation-table{border:1px solid var(--line-soft);border-radius:.62rem;overflow:hidden}.procurement-summary-variation-row{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1.15fr) minmax(0,.8fr) minmax(0,.85fr) minmax(120px,.7fr) minmax(120px,.7fr) minmax(90px,.5fr) minmax(160px,.8fr) minmax(210px,1fr);align-items:center;gap:.5rem;padding:.72rem .78rem;display:grid}.procurement-summary-variation-row:first-child{border-top:0}.procurement-summary-variation-row-head{background:var(--surface-alt)}.procurement-summary-variation-row :-webkit-any(span,strong){font-size:.84rem}.procurement-summary-variation-row :is(span,strong){font-size:.84rem}.procurement-summary-variation-row span{min-width:0}.inventory-summary-shell{gap:.8rem;display:grid}.inventory-summary-panel,.inventory-summary-section{gap:.82rem;display:grid}.inventory-summary-head,.inventory-summary-section-head{gap:.18rem;display:grid}.inventory-summary-head{justify-content:space-between;align-items:start;gap:.8rem;display:flex}.inventory-summary-heading h4,.inventory-summary-section-head h4{margin:0}.inventory-summary-heading p,.inventory-summary-section-head p{color:var(--text-muted);margin:0}.inventory-summary-filter-field{gap:.34rem;min-width:180px;display:grid}.inventory-summary-range-controls{grid-template-columns:repeat(2,minmax(150px,1fr));gap:.6rem;display:grid}.inventory-summary-filter-field{color:var(--text-muted);font-size:.82rem;font-weight:700}.inventory-summary-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.6rem;display:grid}.inventory-summary-kpi-card{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.6rem;gap:.18rem;padding:.78rem .82rem;display:grid}.inventory-summary-kpi-card span{color:var(--text-muted);font-size:.82rem;font-weight:700}.inventory-summary-kpi-card strong{color:var(--text-main);font-size:1.02rem;font-weight:800}.inventory-summary-kpi-card small{color:var(--text-muted);font-size:.82rem}.inventory-summary-kpi-card.emphasis{background:var(--surface-soft);border-color:var(--line-strong)}.inventory-summary-kpi-card.positive{background:var(--good-bg);border-color:var(--good-line)}.inventory-summary-kpi-card.warning{background:var(--warn-bg);border-color:var(--warn-line)}.inventory-summary-chart-wrap{gap:.7rem;display:grid}.inventory-summary-chart-scroll{overflow-x:auto}.inventory-summary-chart-svg{width:100%;min-width:760px;height:auto;display:block}.inventory-summary-chart-guide,.inventory-summary-chart-axis{stroke:var(--line-soft);stroke-width:1px}.inventory-summary-chart-guide-label,.inventory-summary-chart-axis-label{fill:var(--text-muted);font-family:var(--font-body);font-size:12px;font-weight:600}.inventory-summary-legend{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.55rem;margin:0;padding:0;list-style:none;display:grid}.inventory-summary-legend-item{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.62rem;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.55rem;padding:.68rem .74rem;display:grid}.inventory-summary-legend-swatch{border-radius:999px;width:.72rem;height:.72rem;display:block}.inventory-summary-legend-copy{gap:.12rem;min-width:0;display:grid}.inventory-summary-legend-copy small{color:var(--text-muted);font-size:.8rem}.inventory-summary-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:.8rem;display:grid}.inventory-summary-category-grid,.inventory-summary-critical-groups{gap:.62rem;display:grid}.inventory-summary-category-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.inventory-summary-category-card,.inventory-summary-critical-group{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.62rem;gap:.6rem;padding:.72rem .78rem;display:grid}.inventory-summary-category-head,.inventory-summary-critical-head{justify-content:space-between;align-items:center;gap:.6rem;display:flex}.inventory-summary-category-head span,.inventory-summary-critical-head span{color:var(--text-muted);font-size:.8rem;font-weight:700}.inventory-summary-product-list,.inventory-summary-critical-list{gap:.45rem;margin:0;padding:0;list-style:none;display:grid}.inventory-summary-product-row,.inventory-summary-critical-row{border-top:1px solid var(--line-soft);align-items:center;gap:.5rem;padding-top:.45rem;display:grid}.inventory-summary-product-row:first-child,.inventory-summary-critical-row:first-child{border-top:0;padding-top:0}.inventory-summary-product-row,.inventory-summary-critical-row{grid-template-columns:minmax(0,1fr) auto}.inventory-summary-product-copy,.inventory-summary-critical-copy{gap:.12rem;min-width:0;display:grid}.inventory-summary-product-copy small,.inventory-summary-critical-copy small{color:var(--text-muted);font-size:.8rem}.inventory-summary-product-amount{color:var(--text-main);text-align:right;white-space:nowrap;font-size:.82rem;font-weight:800}.inventory-summary-critical-metrics{justify-items:end;gap:.08rem;display:grid}.inventory-summary-critical-metrics span{color:var(--text-muted);font-size:.78rem;font-weight:700}.inventory-summary-critical-metrics strong{color:var(--risk-text);font-size:.82rem;font-weight:800}.cash-flow-summary-shell{gap:.8rem;display:grid}.cash-flow-summary-panel{gap:.82rem;display:grid}.cash-flow-summary-head,.cash-flow-summary-section-head{gap:.18rem;display:grid}.cash-flow-summary-head{justify-content:space-between;align-items:start;gap:.8rem;display:flex}.cash-flow-summary-heading h4,.cash-flow-summary-section-head h4{margin:0}.cash-flow-summary-heading p,.cash-flow-summary-section-head p{color:var(--text-muted);margin:0}.cash-flow-summary-toolbar{grid-template-columns:minmax(180px,auto) auto;align-items:end;gap:.6rem;display:grid}.cash-flow-summary-filter-field{gap:.34rem;min-width:180px;display:grid}.cash-flow-summary-filter-field label{color:var(--text-muted);font-size:.82rem;font-weight:700}.cash-flow-summary-export-button{white-space:nowrap;align-self:end}.cash-flow-summary-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.6rem;display:grid}.cash-flow-summary-kpi-card{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.6rem;gap:.18rem;padding:.78rem .82rem;display:grid}.cash-flow-summary-kpi-card span{color:var(--text-muted);font-size:.82rem;font-weight:700}.cash-flow-summary-kpi-card strong{color:var(--text-main);font-size:1.02rem;font-weight:800}.cash-flow-summary-kpi-card small{color:var(--text-muted);font-size:.8rem}.cash-flow-summary-kpi-card.emphasis{background:var(--surface-soft);border-color:var(--line-strong)}.cash-flow-summary-kpi-card.positive{background:var(--good-bg);border-color:var(--good-line)}.cash-flow-summary-kpi-card.warning{background:var(--warn-bg);border-color:var(--warn-line)}.cash-flow-summary-grid{grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:.8rem;display:grid}.cash-flow-summary-side-stack{align-content:start;gap:.8rem;display:grid}.cash-flow-summary-table-wrap{border:1px solid var(--line-soft);border-radius:.62rem;overflow:auto}.cash-flow-summary-table{border-collapse:collapse;width:100%;min-width:720px}.cash-flow-summary-table th,.cash-flow-summary-table td{border-top:1px solid var(--line-soft);text-align:left;vertical-align:top;padding:.72rem .78rem}.cash-flow-summary-table thead th{background:var(--surface-alt);color:var(--text-muted);border-top:0;font-size:.78rem;font-weight:800}.cash-flow-summary-section-start td{border-top-color:var(--line-strong)}.cash-flow-summary-section-total td{background:var(--surface-alt);font-weight:800}.cash-flow-summary-table-copy{gap:.12rem;min-width:0;display:grid}.cash-flow-summary-table-copy small{color:var(--text-muted);font-size:.78rem}.cash-flow-summary-side-list,.cash-flow-summary-note-list{gap:.5rem;margin:0;display:grid}.cash-flow-summary-side-list{padding:0;list-style:none}.cash-flow-summary-note-list{padding-left:1rem}.cash-flow-summary-side-item{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.62rem;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.6rem;padding:.72rem .78rem;display:grid}.cash-flow-summary-side-copy{gap:.12rem;min-width:0;display:grid}.cash-flow-summary-side-copy small{color:var(--text-muted);font-size:.8rem}.cash-flow-summary-side-item span{text-align:right;white-space:nowrap;font-size:.84rem;font-weight:800}.cash-flow-summary-note-list li{color:var(--text-main);font-size:.84rem}.performance-summary-shell{gap:.8rem;display:grid}.performance-summary-panel{gap:.82rem;display:grid}.performance-summary-head,.performance-summary-section-head{gap:.18rem;display:grid}.performance-summary-head{justify-content:space-between;align-items:start;gap:.8rem;display:flex}.performance-summary-heading h4,.performance-summary-section-head h4{margin:0}.performance-summary-heading p,.performance-summary-section-head p{color:var(--text-muted);margin:0}.performance-summary-filter-field{gap:.34rem;min-width:180px;display:grid}.performance-summary-filter-field label{color:var(--text-muted);font-size:.82rem;font-weight:700}.performance-summary-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.6rem;display:grid}.performance-summary-kpi-card{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.6rem;gap:.18rem;padding:.78rem .82rem;display:grid}.performance-summary-kpi-card span{color:var(--text-muted);font-size:.82rem;font-weight:700}.performance-summary-kpi-card strong{color:var(--text-main);font-size:1.02rem;font-weight:800}.performance-summary-kpi-card small{color:var(--text-muted);font-size:.8rem}.performance-summary-kpi-card.emphasis{background:var(--surface-soft);border-color:var(--line-strong)}.performance-summary-kpi-card.positive{background:var(--good-bg);border-color:var(--good-line)}.performance-summary-kpi-card.warning{background:var(--warn-bg);border-color:var(--warn-line)}.performance-summary-grid{grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:.8rem;display:grid}.performance-summary-table-wrap{border:1px solid var(--line-soft);border-radius:.62rem;overflow:auto}.performance-summary-table{border-collapse:collapse;width:100%;min-width:860px}.performance-summary-table th,.performance-summary-table td{border-top:1px solid var(--line-soft);text-align:left;vertical-align:top;padding:.72rem .78rem}.performance-summary-table thead th{background:var(--surface-alt);color:var(--text-muted);border-top:0;font-size:.78rem;font-weight:800}.performance-summary-table-copy,.performance-summary-table-amount,.performance-summary-side-copy{gap:.12rem;min-width:0;display:grid}.performance-summary-table-copy small,.performance-summary-table-amount small,.performance-summary-side-copy small{color:var(--text-muted);font-size:.78rem}.performance-summary-table-amount{text-align:right;justify-items:end}.performance-summary-table-amount.positive strong{color:var(--good-text)}.performance-summary-table-amount.warning strong{color:var(--risk-text)}.performance-summary-side-stack{align-content:start;gap:.8rem;display:grid}.performance-summary-side-list,.performance-summary-note-list{gap:.5rem;margin:0;display:grid}.performance-summary-side-list{padding:0;list-style:none}.performance-summary-note-list{padding-left:1rem}.performance-summary-side-item{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.62rem;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.6rem;padding:.72rem .78rem;display:grid}.performance-summary-side-item span{text-align:right;white-space:nowrap;font-size:.84rem;font-weight:800}.performance-summary-note-list li{color:var(--text-main);font-size:.84rem}.debt-summary-shell{gap:.8rem;display:grid}.debt-summary-panel{gap:.82rem;display:grid}.debt-summary-head,.debt-summary-section-head{gap:.18rem;display:grid}.debt-summary-head{justify-content:space-between;align-items:start;gap:.8rem;display:flex}.debt-summary-heading h4,.debt-summary-section-head h4{margin:0}.debt-summary-heading p,.debt-summary-section-head p{color:var(--text-muted);margin:0}.debt-summary-filter-field{gap:.34rem;min-width:180px;display:grid}.debt-summary-filter-field label{color:var(--text-muted);font-size:.82rem;font-weight:700}.debt-summary-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.6rem;display:grid}.debt-summary-kpi-card{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.6rem;gap:.18rem;padding:.78rem .82rem;display:grid}.debt-summary-kpi-card span{color:var(--text-muted);font-size:.82rem;font-weight:700}.debt-summary-kpi-card strong{color:var(--text-main);font-size:1.02rem;font-weight:800}.debt-summary-kpi-card small{color:var(--text-muted);font-size:.8rem}.debt-summary-kpi-card.emphasis{background:var(--surface-soft);border-color:var(--line-strong)}.debt-summary-kpi-card.positive{background:var(--good-bg);border-color:var(--good-line)}.debt-summary-kpi-card.warning{background:var(--warn-bg);border-color:var(--warn-line)}.debt-summary-chart-wrap{gap:.7rem;display:grid}.debt-summary-chart-scroll{overflow-x:auto}.debt-summary-chart-svg{width:100%;min-width:760px;height:auto;display:block}.debt-summary-chart-guide,.debt-summary-chart-axis{stroke:var(--line-soft);stroke-width:1px}.debt-summary-chart-guide-label,.debt-summary-chart-axis-label{fill:var(--text-muted);font-family:var(--font-body);font-size:12px;font-weight:600}.debt-summary-legend{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.55rem;margin:0;padding:0;list-style:none;display:grid}.debt-summary-legend-item{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.62rem;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.55rem;padding:.68rem .74rem;display:grid}.debt-summary-legend-swatch{border-radius:999px;width:.72rem;height:.72rem;display:block}.debt-summary-legend-copy,.debt-summary-table-copy,.debt-summary-table-amount,.debt-summary-side-copy{gap:.12rem;min-width:0;display:grid}.debt-summary-legend-copy small,.debt-summary-table-copy small,.debt-summary-table-amount small,.debt-summary-side-copy small{color:var(--text-muted);font-size:.78rem}.debt-summary-grid{grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:.8rem;display:grid}.debt-summary-table-wrap{border:1px solid var(--line-soft);border-radius:.62rem;overflow:auto}.debt-summary-table{border-collapse:collapse;width:100%;min-width:760px}.debt-summary-table th,.debt-summary-table td{border-top:1px solid var(--line-soft);text-align:left;vertical-align:top;padding:.72rem .78rem}.debt-summary-table thead th{background:var(--surface-alt);color:var(--text-muted);border-top:0;font-size:.78rem;font-weight:800}.debt-summary-table-amount{text-align:right;justify-items:end}.debt-summary-side-stack{align-content:start;gap:.8rem;display:grid}.debt-summary-side-list,.debt-summary-note-list{gap:.5rem;margin:0;display:grid}.debt-summary-side-list{padding:0;list-style:none}.debt-summary-note-list{padding-left:1rem}.debt-summary-side-item{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.62rem;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.6rem;padding:.72rem .78rem;display:grid}.debt-summary-side-item span{text-align:right;white-space:nowrap;font-size:.84rem;font-weight:800}.debt-summary-note-list li{color:var(--text-main);font-size:.84rem}.summary-calendar-kpis,.procurement-summary-kpi-grid,.inventory-summary-kpi-grid,.cash-flow-summary-kpi-grid,.performance-summary-kpi-grid,.debt-summary-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(168px,1fr));gap:.45rem}.summary-calendar-kpi,.procurement-summary-kpi-card,.inventory-summary-kpi-card,.cash-flow-summary-kpi-card,.performance-summary-kpi-card,.debt-summary-kpi-card{background:var(--surface-main);border-color:var(--line-soft);border-radius:.5rem;gap:.08rem;min-width:0;padding:.58rem .62rem}.summary-calendar-kpi.emphasis,.inventory-summary-kpi-card.emphasis,.cash-flow-summary-kpi-card.emphasis,.performance-summary-kpi-card.emphasis,.debt-summary-kpi-card.emphasis,.summary-calendar-kpi.warning,.summary-calendar-kpi.danger,.inventory-summary-kpi-card.positive,.inventory-summary-kpi-card.warning,.cash-flow-summary-kpi-card.positive,.cash-flow-summary-kpi-card.warning,.performance-summary-kpi-card.positive,.performance-summary-kpi-card.warning,.debt-summary-kpi-card.positive,.debt-summary-kpi-card.warning{background:var(--surface-main);border-color:var(--line-soft)}.summary-calendar-kpi span,.procurement-summary-kpi-card span,.inventory-summary-kpi-card span,.cash-flow-summary-kpi-card span,.performance-summary-kpi-card span,.debt-summary-kpi-card span{font-size:.76rem}.summary-calendar-kpi strong,.procurement-summary-kpi-card strong,.inventory-summary-kpi-card strong,.cash-flow-summary-kpi-card strong,.performance-summary-kpi-card strong,.debt-summary-kpi-card strong{font-size:.94rem;line-height:1.18}.summary-calendar-kpi small,.procurement-summary-kpi-card small,.inventory-summary-kpi-card small,.cash-flow-summary-kpi-card small,.performance-summary-kpi-card small,.debt-summary-kpi-card small{font-size:.76rem;line-height:1.3}.summary-placeholder-view{display:grid}.summary-placeholder-panel{gap:.82rem;display:grid}.summary-placeholder-copy{gap:.2rem;display:grid}.summary-placeholder-copy h4{margin:0}.summary-placeholder-copy p{color:var(--text-muted);margin:0}.summary-placeholder-metrics{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.6rem;display:grid}.summary-placeholder-metric-card{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.62rem;gap:.18rem;padding:.78rem .82rem;display:grid}.summary-placeholder-metric-card span{color:var(--text-muted);font-size:.82rem;font-weight:700}.summary-placeholder-metric-card strong{color:var(--text-main);font-size:1.02rem;font-weight:800}.summary-placeholder-metric-card small{color:var(--text-muted);font-size:.82rem}.production-alert-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:68;background:#21120a9e;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.production-alert-modal{background:linear-gradient(#fff7eb 0%,#f0d8bb 100%);border:1px solid #c58d58;border-radius:1rem;width:min(96vw,560px);max-width:560px;padding:1.15rem;box-shadow:0 26px 58px #1c0e085c}.production-alert-message{color:#5a2d14;margin:.4rem 0 .7rem;font-size:clamp(1.2rem,3.2vw,1.65rem);font-weight:800;line-height:1.2}.production-error-suggestion{color:#6a4021;margin:.1rem 0 .8rem;font-size:1rem;font-weight:700}.sale-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);box-sizing:border-box;isolation:isolate;min-height:100vh;min-height:100svh;overscroll-behavior:contain;min-height:100dvh;padding:max(1rem, env(safe-area-inset-top,0px)) 1rem calc(1rem + env(safe-area-inset-bottom,0px));-webkit-overflow-scrolling:touch;z-index:40;background:#26191085;justify-content:center;align-items:flex-start;width:100vw;display:flex;position:fixed;top:0;bottom:0;left:0;right:0;overflow-y:auto}.app-dialog-overlay{padding-left:max(1rem, env(safe-area-inset-left,0px));padding-right:max(1rem, env(safe-area-inset-right,0px))}.sale-modal{box-sizing:border-box;max-height:min(calc(100dvh - 2rem - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)), 820px);background:linear-gradient(#fff9f2 0%,#f2dfc5 100%);border:1px solid #b8834f;border-radius:1rem;width:min(95vw,640px);max-width:640px;margin:auto 0;padding:1.2rem;overflow-y:auto;box-shadow:0 24px 56px #1a100a5c}.browser-safari .sale-modal,.browser-safari .sale-confirmation-modal{max-height:calc(var(--app-viewport-height) - 2rem - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}.app-dialog-panel{flex-direction:column;gap:.8rem;display:flex}.app-dialog-panel>:-webkit-any(h2,p,.button-row,.wizard-summary,.form-grid,.app-form-grid,.compliance-grid){margin-top:0}.app-dialog-panel>:is(h2,p,.button-row,.wizard-summary,.form-grid,.app-form-grid,.compliance-grid){margin-top:0}.app-section-expenses .module-card>h3,.app-section-compliance .module-card>h3,.app-section-settings .module-card>h3,.finance-shell .module-card>h3,.payroll-shell .module-card>h3{margin-top:0;margin-bottom:.15rem}.app-section-compliance .module-card>.compliance-list,.app-section-settings .module-card>.compliance-list{margin:0}.payroll-shell .payroll-side-card,.payroll-shell .payroll-directory-panel,.payroll-shell .payroll-modal-section,.payroll-shell .payroll-overview-item{box-shadow:none}.payroll-shell .payroll-modal-history-grid>.module-card>.compliance-grid>.module-card{background:var(--surface-soft)}.app-dialog-panel>h2{margin-bottom:0}.sale-confirmation-overlay{z-index:72;align-items:center}.sale-confirmation-modal{max-height:min(calc(100dvh - 2rem - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)), 720px);width:min(92vw,480px)}.product-catalog-overlay{padding:max(1rem, env(safe-area-inset-top,0px)) 1rem calc(1rem + env(safe-area-inset-bottom,0px));z-index:74;align-items:center}.product-catalog-modal{width:min(96vw,860px)}.product-catalog-modal .compliance-grid{grid-template-columns:1fr}.product-catalog-modal .module-card,.product-catalog-modal .wizard-panel,.product-catalog-modal .form-grid,.product-catalog-modal .wizard-summary{min-width:0}.product-catalog-modal-header{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.8rem;display:flex}.product-catalog-modal .product-catalog-modal-header{grid-column:1/-1}.product-catalog-modal-header h2{margin:0}.product-catalog-wizard-panel{box-shadow:none;background:0 0;border:0;padding:0}.purchase-completion-modal{width:min(95vw,560px)}.purchase-completion-modal--purchase{gap:.85rem;width:min(96vw,820px);max-height:min(92vh,760px);display:grid;overflow:auto}.purchase-completion-summary{border:1px solid var(--line-soft);border-radius:.65rem;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:.35rem 0 0;display:grid;overflow:hidden}.purchase-completion-summary>div{background:var(--surface-alt);border-bottom:1px solid var(--line-soft);border-right:1px solid var(--line-soft);gap:.16rem;margin:0;padding:.64rem .72rem;display:grid}.purchase-completion-summary>div:nth-child(3n){border-right:0}.purchase-completion-summary>div:nth-last-child(-n+3){border-bottom:0}.purchase-completion-summary dt,.purchase-completion-line-money dt{color:var(--text-muted);font-size:.78rem;font-weight:700}.purchase-completion-summary dd,.purchase-completion-line-money dd{color:var(--text-main);margin:0;font-weight:800}.purchase-completion-summary-total dd{color:#5f210f}.purchase-completion-modal--purchase .purchase-completion-lines{gap:.45rem;margin-top:0}.purchase-completion-line{border:1px solid var(--line-soft);border-radius:.65rem;grid-template-columns:52px minmax(140px,1fr) minmax(260px,1.7fr);align-items:center;gap:.75rem;padding:.55rem;display:grid}.purchase-completion-line-image{border:1px solid var(--line-soft);object-fit:cover;border-radius:.45rem;width:52px;height:52px}.purchase-completion-line-main{gap:.18rem;min-width:0;display:grid}.purchase-completion-line-main strong{color:var(--text-main)}.purchase-completion-line-main span{color:var(--text-muted);font-size:.84rem}.purchase-completion-line-money{grid-template-columns:repeat(5,minmax(0,1fr));gap:.35rem .7rem;margin:0;display:grid}@media (max-width:760px){.purchase-completion-modal--purchase{width:min(96vw,560px)}.purchase-completion-summary{grid-template-columns:1fr}.purchase-completion-summary>div,.purchase-completion-summary>div:nth-child(3n),.purchase-completion-summary>div:nth-last-child(-n+3){border-bottom:1px solid var(--line-soft);border-right:0}.purchase-completion-summary>div:last-child{border-bottom:0}.purchase-completion-line{grid-template-columns:44px minmax(0,1fr);align-items:flex-start}.purchase-completion-line-image{width:44px;height:44px}.purchase-completion-line-money{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}}.payroll-employee-modal{gap:.85rem;width:min(96vw,760px);display:grid}.payroll-employee-modal-header{grid-template-columns:auto minmax(0,1fr);align-items:flex-start;gap:.9rem;margin-bottom:0;display:grid}.payroll-employee-modal-title{gap:.45rem;min-width:0;display:grid}.payroll-employee-modal-title h2{margin:0}.payroll-modal-form-grid,.payroll-modal-history-grid{margin-top:.1rem}.payroll-employee-modal-actions{border-top:1px solid #e4c7a9;align-items:center;margin-top:.2rem;padding-top:.9rem}.payroll-employee-modal .compliance-grid>.module-card{background:var(--surface-alt)}.purchase-completion-layout{grid-template-columns:130px minmax(0,1fr);align-items:center;gap:.8rem;margin-top:.35rem;display:grid}.purchase-completion-image{object-fit:cover;border:1px solid #c7a072;border-radius:.7rem;width:130px;height:130px}.sale-modal-caption,.sale-modal-change-label{color:#6a4021;letter-spacing:.02em;margin-top:.1rem;font-size:clamp(1.28rem,3.2vw,1.9rem);font-weight:900}.sale-modal-amount{color:#5f210f;letter-spacing:.02em;margin:.4rem 0 .6rem;font-size:clamp(2.1rem,5vw,3.2rem);font-weight:900;line-height:1.1}.sale-modal-change-amount{color:#195d39;letter-spacing:.02em;margin:.28rem 0 .6rem;font-size:clamp(2.1rem,5vw,3.2rem);font-weight:900;line-height:1.1}button:focus-visible{outline-offset:2px;outline:3px solid #c27a2f8c}input:focus-visible{outline-offset:2px;outline:3px solid #c27a2f8c}select:focus-visible{outline-offset:2px;outline:3px solid #c27a2f8c}textarea:focus-visible{outline-offset:2px;outline:3px solid #c27a2f8c}.sale-modal-lines{border-top:1px solid #dcc4ab;border-bottom:1px solid #dcc4ab;max-height:220px;margin:0 0 .8rem;padding:.4rem 0;list-style:none;overflow-y:auto}.sale-modal-lines li{justify-content:space-between;align-items:center;padding:.28rem 0;font-size:1.08rem;display:flex}.modal-close-button{color:#6d1f16;background:#fce2d9;border-color:#d08363;margin-left:auto}.card,.sync-log-panel,.module-card,.product-button,.category-filter{animation:.32s both soft-enter}@keyframes soft-enter{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (max-width:980px){body.side-menu-mobile-open{overflow:hidden}body.pos-floating-layer-open,body.product-flow-modal-open{touch-action:none;overflow:hidden}.app-shell{padding:.6rem .65rem .8rem}.section-subtabs,.production-subtabs,.inventory-view-tabs{scroll-snap-type:x proximity;scrollbar-width:none;flex-wrap:nowrap;padding-bottom:.2rem;overflow-x:auto}.section-subtabs::-webkit-scrollbar{display:none}.production-subtabs::-webkit-scrollbar{display:none}.inventory-view-tabs::-webkit-scrollbar{display:none}.production-subtab,.inventory-view-tab{scroll-snap-align:start;white-space:nowrap;flex:none}.app-workspace,.payroll-workbench,.purchase-entry-workbench{grid-template-columns:1fr}.purchase-entry-side-panel{position:static}.payroll-overview-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.payroll-employee-modal-header{text-align:left;grid-template-columns:1fr;justify-items:start}.summary-workbench{grid-template-columns:1fr}.summary-workbench-rail{order:-1}.summary-calendar-shell,.cash-flow-summary-grid,.inventory-summary-grid,.performance-summary-grid,.debt-summary-grid,.procurement-summary-grid,.purchase-planning-grid{grid-template-columns:1fr}.procurement-summary-purchase-row{grid-template-columns:minmax(160px,1.25fr) minmax(64px,.42fr) minmax(126px,.72fr) minmax(72px,.44fr) minmax(96px,.58fr) minmax(188px,.92fr)}.purchase-planning-form-grid,.purchase-planning-draft-row,.purchase-planning-toolbar{grid-template-columns:1fr}.side-menu{opacity:0;pointer-events:none;z-index:52;width:min(84vw,320px);height:auto;max-height:calc(100dvh - .9rem);transition:transform .22s,opacity .16s;display:block;position:fixed;top:.45rem;bottom:.45rem;left:.45rem;right:auto;overflow-y:auto;transform:translate(calc(-100% - 1.2rem))}.side-menu.open{opacity:1;pointer-events:auto;transform:translate(0)}.side-menu-overlay{-webkit-appearance:none;appearance:none;z-index:50;background:#180c0585;border:0;margin:0;padding:0;display:block;position:fixed;top:0;bottom:0;left:0;right:0}.side-tabs{flex-direction:column;display:flex}.side-tabs .tab-button{justify-content:flex-start;min-height:62px}.pos-layout{flex-direction:column;display:flex}.pos-topbar{grid-template-columns:1fr;gap:.5rem}.pos-sale-drafts-strip{margin-bottom:.42rem}.pos-mobile-toolbar{order:0}.pos-layout .catalog-panel{order:1}.pos-layout .cart-panel{order:2}.production-row,.production-layout{grid-template-columns:1fr}.production-right-column{grid-template-rows:auto}.production-panel-collapsed-message{flex-direction:column;align-items:flex-start}.production-timer-adjust,.recipe-add-row,.portion-edit-row{grid-template-columns:1fr}}@media (max-width:1180px) and (max-height:940px){.app-workspace{margin-top:.58rem}.inventory-shell,.pos-shell{margin-top:.18rem;padding:.82rem}.pos-topbar{grid-template-columns:minmax(0,1fr) minmax(220px,288px);gap:.5rem}.inventory-category-filter{flex-basis:96px;min-height:88px;padding:.46rem .38rem}.inventory-category-filter img{width:34px;height:34px}.inventory-category-filter span{font-size:.76rem}.pos-layout{grid-template-columns:minmax(280px,.74fr) minmax(0,1.72fr);gap:.72rem}.pos-sale-drafts-strip{gap:.36rem;margin-bottom:.38rem}.procurement-summary-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-workbench{grid-template-columns:1fr}.summary-workbench-rail{order:-1}.summary-workbench-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.summary-calendar-shell,.production-layout{grid-template-columns:1fr}.summary-calendar-fullcalendar{min-height:560px}.pos-sale-draft-tab{flex-basis:min(188px,56vw)}.pos-sale-draft-tab-button{padding:.46rem .54rem}.pos-sale-draft-close{padding:0 .5rem}.pos-toolbar-search-row{gap:.38rem}.pos-toolbar-search.expanded{max-width:none}.pos-toolbar-search-input,.pos-toolbar-search-submit,.pos-toolbar-search-toggle{min-height:2.38rem}.cart-panel{padding:.8rem}.bill-panel h3{font-size:1.1rem}.pos-cash-shortcuts-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pos-commercial-filter{min-height:3.05rem;padding:.5rem .62rem}.pos-category-filter{flex-basis:92px;min-height:92px;padding:.48rem .4rem}.pos-category-filter img{width:34px;height:34px}.pos-category-filter span{font-size:.76rem}.product-grid{grid-template-columns:repeat(auto-fit,minmax(148px,1fr))}.product-button{min-height:186px}.product-image{height:84px}}@media (max-width:640px){.app-shell{padding:.45rem}.app-shell.mobile-quick-nav-active{padding-bottom:calc(7.25rem + env(safe-area-inset-bottom,0px))}.app-header{flex-wrap:nowrap;align-items:center;gap:.45rem;padding:.45rem .55rem}.app-header-right{flex:none;gap:.38rem;width:auto;margin-left:auto}.role-menu-button{min-width:128px}.role-menu-button.icon-only{width:2.4rem;height:2.4rem}.session-role-toggle{width:calc(100% - 1.1rem);top:calc(100% + .1rem);right:.55rem}.cloud-status{font-size:.74rem}.role-button{width:100%}.side-tabs{gap:.45rem}.tab-button{min-height:58px;padding:.45rem;font-size:.9rem}.tab-button img{width:24px;height:24px}.card{border-radius:.75rem;margin-top:.7rem;padding:.8rem}.inventory-shell,.pos-shell{margin-top:.15rem;padding:.78rem}.app-section,.app-dialog-panel{gap:.7rem}.module-card{padding:.8rem .85rem}.kpi-grid{grid-template-columns:1fr}.payroll-toolbar{flex-direction:column}.payroll-overview-strip{grid-template-columns:1fr 1fr}.payroll-employee-grid{grid-template-columns:1fr}.payroll-employee-card-main{grid-template-columns:auto minmax(0,1fr)}.payroll-employee-card-main>.secondary-button{grid-column:1/-1;width:100%}.mobile-quick-nav{bottom:calc(.45rem + env(safe-area-inset-bottom,0px));gap:.3rem;padding:.32rem;left:.4rem;right:.4rem}.mobile-quick-nav-button{min-height:3.5rem;padding:.3rem .1rem}.mobile-quick-nav-button span{font-size:.69rem}.bill-panel h3{font-size:1.18rem}.bill-panel p,.bill-panel span,.bill-panel strong,.bill-panel label{font-size:.94rem}.pos-payment-label{font-size:.82rem}.pos-payment-amount{font-size:clamp(1.65rem,7vw,2.1rem)}.pos-change-label{font-size:.82rem}.pos-change-amount{font-size:clamp(1.3rem,5.9vw,1.75rem)}.pos-change-amount.no-change{font-size:.9rem}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-button{min-height:192px;padding:.65rem}.product-image{height:82px}.data-table{min-width:560px}.data-table th,.data-table td{padding:.52rem .46rem;font-size:.84rem}.table-scroll{-webkit-overflow-scrolling:touch}.pos-sale-draft-tab{flex-basis:min(164px,70vw)}.pos-sale-draft-tab-button{padding:.44rem .5rem}.pos-sale-draft-tab-button strong{font-size:.8rem}.pos-sale-draft-tab-button span{font-size:.7rem}.pos-sale-draft-close{padding:0 .46rem}.inventory-category-filters{grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-columns:96px;grid-auto-flow:column;gap:.42rem;display:grid;overflow-x:auto}.inventory-category-filter{flex:none;width:96px;min-height:80px}.inventory-category-filter img{width:32px;height:32px}.inventory-category-filter span{font-size:.74rem}.pos-category-filters{scroll-snap-type:x proximity;grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-columns:96px;grid-auto-flow:column;gap:.42rem;margin-inline-start:0;margin-inline-end:0;padding:.05rem 0 .15rem;display:grid;overflow-x:auto}.pos-category-filter{flex:none;width:96px;min-height:80px}.pos-category-filter img{width:32px;height:32px}.pos-category-filter span{font-size:.74rem}.pos-mobile-toolbar{z-index:8;flex-direction:column;align-items:flex-start;position:sticky;top:4.95rem}.pos-mobile-cart-toggle{width:100%}.pos-mobile-cart{max-height:min(82dvh,760px);padding-bottom:calc(1rem + env(safe-area-inset-bottom,0px));border-radius:1rem 1rem 0 0}.pos-mobile-sheet-frame{padding-top:max(.5rem, env(safe-area-inset-top,0px))}.pos-mobile-cart-header{flex-direction:column;align-items:flex-start}.bill-panel-header,.bill-panel-header-actions{flex-direction:column;align-items:stretch;width:100%}.bill-panel-header-actions .secondary-button{width:100%}.pos-commercial-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-catalog-search-row{grid-template-columns:1fr}.pos-catalog-search-clear{width:100%;min-width:0}.pos-cash-shortcuts-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.wizard-selected-item{grid-template-columns:1fr}.wizard-selected-item-image{width:100%;height:120px}.production-product-grid,.production-run-grid,.recipe-card-grid{grid-template-columns:1fr}.production-category-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:.48rem;display:grid}.production-category-filter{justify-content:flex-start;width:100%;min-height:2.45rem}.production-run-card{grid-template-columns:64px minmax(0,1fr) auto}.production-timer-circle{width:min(74vw,220px);height:min(74vw,220px)}.purchase-completion-layout{grid-template-columns:1fr}.pos-catalog-header{flex-direction:column;align-items:flex-start}.purchase-wizard-toolbar{padding:.8rem .85rem}.purchase-wizard-panel{gap:.72rem;padding:.72rem;overflow-x:hidden}.purchase-wizard-step-content{padding-bottom:.35rem}.purchase-entry-mode-panel,.purchase-csv-import-main{flex-direction:column;align-items:stretch}.purchase-csv-preview-header{flex-direction:column;align-items:flex-start}.purchase-csv-preview-stats{grid-template-columns:1fr}.purchase-csv-batch-list li{grid-template-columns:1fr;align-items:flex-start}.purchase-entry-mode-toggle,.purchase-csv-upload-button{width:100%}.purchase-sticky-context-bar,.purchase-step-context-grid{grid-template-columns:1fr}.purchase-sticky-context-bar strong,.purchase-sticky-context-bar span{white-space:normal}.purchase-wizard-panel .form-grid,.purchase-wizard-panel .wizard-summary,.purchase-wizard-panel .purchase-draft-list,.purchase-wizard-panel .purchase-receipt-frame,.purchase-wizard-panel .purchase-draft-card>div{min-width:0}.purchase-wizard-panel .form-grid{gap:.72rem}.purchase-wizard-panel .form-grid label{font-size:.98rem}.purchase-wizard-panel :-webkit-any(input,select,textarea){min-height:3rem;padding:.72rem .78rem;font-size:1rem}.purchase-wizard-panel :is(input,select,textarea){min-height:3rem;padding:.72rem .78rem;font-size:1rem}.purchase-wizard-panel textarea{min-height:6.5rem}.purchase-draft-total{width:100%}.purchase-completion-image{width:100%;height:150px}.purchase-wizard-actions{background:var(--surface-main);border:1px solid var(--line-soft);bottom:calc(.55rem + env(safe-area-inset-bottom,0px));z-index:14;border-radius:.65rem;grid-template-columns:1fr;gap:.55rem;padding:.58rem;display:grid;position:sticky}.purchase-wizard-actions>*,.purchase-wizard-panel .button-row>*{width:100%;min-height:3rem}.purchase-draft-list-header{flex-direction:column;align-items:stretch}.purchase-draft-card{grid-template-columns:1fr}.purchase-draft-card img{width:min(132px,100%);height:112px}.purchase-replica-layout{grid-template-columns:1fr}.product-catalog-modal .wizard-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.product-catalog-modal .button-row>*{width:100%}.payroll-employee-modal-summary{grid-template-columns:1fr 1fr;display:grid}.finance-transactions-header,.finance-context-banner{flex-direction:column;align-items:flex-start}.finance-command-header{flex-direction:column}.finance-command-grid{grid-template-columns:1fr}.finance-health-header{flex-direction:column}.finance-health-grid{grid-template-columns:1fr}.finance-circuit-header{flex-direction:column}.finance-circuit-grid,.finance-circuit-card{grid-template-columns:1fr}.finance-v2-status-row{flex-direction:column;align-items:flex-start}.finance-transactions-workspace,.finance-amortization-workspace,.finance-credit-card-grid,.finance-credit-detail-kpis,.finance-credit-detail-summary-grid,.finance-credit-card-meta,.finance-investment-card-grid,.finance-investment-detail-kpis,.finance-investment-detail-summary-grid,.finance-investment-card-meta{grid-template-columns:1fr}.finance-credits-header,.finance-credit-detail-header,.finance-credit-detail-section-header,.finance-credit-dialog-header,.finance-investments-header,.finance-investment-detail-header,.finance-investment-dialog-header,.finance-pockets-header,.finance-pocket-dialog-header{flex-direction:column}.finance-credit-card-menu,.finance-investment-card-menu{left:0;right:auto}.finance-transaction-kind-row{flex-direction:column}.finance-transaction-kind-button{width:100%}.finance-account-card-grid,.finance-pockets-summary,.finance-pockets-layout,.finance-pocket-detail-grid,.finance-pocket-form-grid{grid-template-columns:1fr}.finance-pocket-detail-span-2,.finance-pocket-form-span-2{grid-column:auto}.finance-accounts-toolbar,.finance-account-movements-header{flex-direction:column}.finance-movement-card{grid-template-columns:1fr}.finance-movement-amount{text-align:left}.credit-workbench-card-grid{grid-template-columns:1fr}.credit-payment-history-amount-wrap{justify-items:start}.finance-filter-summary{flex-direction:column;gap:.2rem}.finance-transaction-table{display:none}.finance-transaction-card-list{gap:.6rem;margin-top:.7rem;display:grid}}@media (max-width:1024px){.ops-workspace-header{flex-direction:column}.expenses-layout{grid-template-columns:1fr}.expenses-history-card{grid-column:auto}.expenses-history-header{flex-direction:column}}@media (max-width:640px){.expense-employee-grid,.employee-avatar-preset-grid,.expense-courtesy-grid,.expense-treatment-grid,.ops-workspace-summary-strip,.expenses-workspace-tabs,.expenses-stepper{grid-template-columns:1fr}.expenses-workspace-tabs{gap:.1rem;display:grid}.expense-consumption-summary-row,.expense-product-search-option{grid-template-columns:1fr}.expense-consumption-summary-row{flex-direction:column}.expense-consumption-summary-row span,.expense-product-search-option-meta{text-align:left;justify-items:start}.employee-weekday-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.payroll-overview-strip,.payroll-employee-modal-summary,.payroll-employee-metrics,.payroll-modal-summary-list{grid-template-columns:1fr}.payroll-shell .kpi-card{padding:.75rem .8rem}.data-table{min-width:500px}.product-catalog-modal{width:min(100vw - 1rem,760px)}.sale-modal-overlay{padding:max(.75rem, env(safe-area-inset-top,0px)) .75rem calc(.9rem + env(safe-area-inset-bottom,0px))}.sale-modal{max-height:min(calc(100dvh - 1.5rem - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)), 760px);width:min(100vw - 1.1rem,640px)}.summary-workbench-nav{grid-template-columns:1fr}.cash-flow-summary-head,.performance-summary-head,.debt-summary-head{flex-direction:column;align-items:stretch}.cash-flow-summary-toolbar{grid-template-columns:1fr}.cash-flow-summary-filter-field,.performance-summary-filter-field,.debt-summary-filter-field{min-width:0}.cash-flow-summary-kpi-grid,.performance-summary-kpi-grid,.debt-summary-kpi-grid{grid-template-columns:1fr}.inventory-summary-head{flex-direction:column;align-items:stretch}.inventory-summary-filter-field{min-width:0}.inventory-summary-range-controls,.inventory-summary-kpi-grid,.inventory-summary-product-row,.inventory-summary-critical-row{grid-template-columns:1fr}.inventory-summary-critical-metrics{justify-items:start}.procurement-summary-kpi-grid{grid-template-columns:1fr}.procurement-summary-head{flex-direction:column;align-items:stretch}.procurement-summary-range-controls{grid-template-columns:1fr;min-width:0}.procurement-summary-variation-row,.procurement-summary-plan-item{grid-template-columns:1fr}.procurement-summary-purchase-table{border:0;border-radius:0;gap:.55rem;display:grid;overflow:visible}.procurement-summary-purchase-row{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.62rem;grid-template-columns:1fr;min-width:0}.procurement-summary-purchase-row-head{display:none}.procurement-summary-purchase-actions{justify-content:stretch}.procurement-summary-purchase-actions .secondary-button{flex:120px}.procurement-receipt-viewer-overlay{padding:.35rem}.procurement-receipt-viewer{width:calc(100vw - .7rem);height:calc(100dvh - .7rem);max-height:calc(100dvh - .7rem)}.procurement-receipt-viewer-head{flex-direction:column;align-items:stretch}.procurement-receipt-viewer-head .secondary-button{width:100%}.procurement-receipt-viewer-page img{max-height:calc(100dvh - 11rem)}.procurement-detail-viewer-overlay{padding:.35rem}.procurement-detail-viewer{width:calc(100vw - .7rem);max-height:calc(100dvh - .7rem)}.procurement-detail-viewer-head{flex-direction:column;align-items:stretch}.procurement-detail-viewer-head .secondary-button,.procurement-detail-viewer-actions{width:100%}.procurement-detail-viewer-actions .secondary-button,.procurement-detail-viewer-actions .danger-button{flex:140px}.procurement-detail-edit-grid{grid-template-columns:1fr}.procurement-detail-edit-grid .primary-button{width:100%}.procurement-detail-summary{grid-template-columns:1fr}.procurement-detail-table{border:0;border-radius:0;gap:.55rem;display:grid;overflow:visible}.procurement-detail-row{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:.62rem;grid-template-columns:1fr;min-width:0}.procurement-detail-row-head{display:none}.procurement-summary-plan-meta{justify-items:start}.cash-flow-summary-table{min-width:660px}.performance-summary-table{min-width:700px}.debt-summary-table{min-width:680px}.summary-placeholder-metrics{grid-template-columns:1fr}}@media (max-width:430px){.app-shell{padding:.5rem .5rem .75rem}.app-header{padding:.58rem .65rem}.section-subtabs,.production-subtabs{gap:.45rem;margin-bottom:.55rem}.production-subtab{min-height:2.7rem;padding:.42rem .6rem}.module-card{padding:.72rem .75rem}.summary-placeholder-metrics{grid-template-columns:1fr}.expense-employee-option{grid-template-columns:56px minmax(0,1fr);padding:.65rem}.employee-avatar-preview{width:80px;height:80px}.employee-weekday-chip{min-height:58px}.production-run-card{grid-template-columns:1fr}.production-run-card img{height:136px}.data-table{min-width:460px}.product-catalog-modal-header{flex-direction:column;align-items:flex-start}.purchase-wizard-panel .wizard-steps,.product-catalog-modal .wizard-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.product-catalog-modal .wizard-step{min-height:2.35rem;padding:.4rem .5rem;font-size:.82rem}.purchase-wizard-panel .wizard-step{min-height:2.75rem;padding:.48rem .55rem;font-size:.86rem}.purchase-wizard-toolbar{gap:.2rem;padding:.72rem .75rem}.purchase-wizard-toolbar h3,.product-catalog-modal-header h2{font-size:1rem}.purchase-wizard-toolbar span{font-size:.9rem;line-height:1.35}.purchase-receipt-frame{padding:.32rem}.wizard-receipt-preview{height:150px}.purchase-receipt-gallery{grid-template-columns:1fr}.purchase-receipt-thumb .wizard-receipt-preview{height:150px}.purchase-draft-card{gap:.65rem;padding:.68rem}.purchase-draft-card img{width:100%;height:104px}.purchase-draft-card .secondary-button{justify-content:center;width:100%}.product-catalog-modal{width:min(100vw - .75rem,760px);padding:.9rem}.product-catalog-modal .module-card{padding:.75rem .8rem}.product-catalog-modal .image-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:360px){.product-grid,.production-category-filters,.employee-weekday-grid{grid-template-columns:1fr}.mobile-quick-nav-button span{font-size:.66rem}}.app-shell{max-width:var(--ui-page-max);padding:var(--ui-page-padding-y) var(--ui-page-padding-x) 1.1rem;width:100%;margin:0 auto}.app-shell.summary-wide-shell{max-width:none}.app-shell.mobile-quick-nav-active{padding-bottom:calc(6.8rem + env(safe-area-inset-bottom,0px))}.app-shell.compact-sidebar-shell{padding:.68rem .72rem .9rem}.app-header{border:0;border-bottom:1px solid var(--line-soft);color:var(--text-main);z-index:30;background:#ffffffeb;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.7rem;padding:.55rem .15rem .68rem;transition:transform .18s,opacity .18s;display:flex;position:sticky;top:0}.app-header.mobile-hidden{opacity:0;pointer-events:none;transform:translateY(calc(-100% - .8rem))}.app-header-left,.app-header-right{justify-content:flex-end;align-items:center;gap:.55rem;min-width:0;display:flex}.app-title{font-family:var(--font-title);letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:clamp(1.12rem,1.8vw,1.35rem);font-weight:700;overflow:hidden}.nav-toggle{width:2.2rem}.app-workspace{gap:var(--ui-content-gap);grid-template-columns:var(--ui-sidebar-width) minmax(0, 1fr);margin-top:.82rem;display:grid}.app-workspace.sidebar-collapsed,.app-workspace.compact-sidebar-workspace{grid-template-columns:minmax(0,1fr)}.app-content{min-width:0}.side-menu{border:1px solid var(--line-soft);border-radius:var(--ui-radius-panel);box-shadow:none;background:#ffffffe6;height:-moz-fit-content;height:fit-content;padding:.54rem;display:none}.side-menu.open{display:block}.side-menu h2,.side-menu-overlay{display:none}.side-tabs{flex-direction:column;gap:.24rem;display:flex}.side-tabs .tab-button{justify-content:flex-start;min-height:2.65rem}.app-tabs{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.28rem;display:grid}.tab-button{-webkit-appearance:none;appearance:none;color:var(--text-muted);cursor:pointer;text-align:left;background:0 0;border:0;border-left:3px solid #0000;border-radius:.45rem;justify-content:center;align-items:center;gap:.55rem;padding:.52rem .62rem;font-size:.94rem;font-weight:650;transition:background-color .13s,border-color .13s,color .13s;display:flex}.tab-button img{width:20px;height:20px}.tab-button.active,.tab-button[aria-selected=true]{border-left-color:var(--line-strong);color:var(--brand-deep);background:#eaf4fb}.tab-button:hover{background:var(--surface-alt);color:var(--text-main)}.app-section-tabs,.section-subtabs,.production-subtabs{border-bottom:1px solid var(--line-soft);flex-wrap:wrap;align-items:end;gap:.72rem;min-width:0;margin:0 0 .72rem;display:flex}.app-section-tab,.production-subtab{-webkit-appearance:none;appearance:none;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;min-width:0;min-height:2.45rem;padding:.35rem .05rem .5rem;font-size:.93rem;font-weight:700;transition:border-color .13s,color .13s}.app-section-tab.active,.app-section-tab[aria-selected=true],.production-subtab.active,.production-subtab[aria-selected=true]{border-bottom-color:var(--line-strong);color:var(--brand-deep)}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-section-tab:hover,.production-subtab:hover{color:var(--text-main)}.app-content>.section-subtabs+.app-section,.app-content>.production-subtabs+.app-section,.app-content>.app-section-tabs+.app-section{margin-top:.35rem}.session-label{color:var(--text-muted);letter-spacing:0;margin:0;font-size:.8rem;font-weight:600}.cloud-status{border-left:1px solid var(--line-soft);color:var(--text-muted);margin:0;padding:.1rem 0 .1rem .55rem;font-size:.76rem;font-weight:650}.cloud-status.online{color:var(--good-text)}.cloud-led{background:#d4634a;border:1px solid #251d172e;border-radius:999px;flex:none;width:.75rem;height:.75rem;display:inline-flex}.cloud-led.online{background:#4f9f60}.cloud-led.warning{background:#d8942f}.role-menu-button,.burger-button,.role-button{-webkit-appearance:none;appearance:none;border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);cursor:pointer;background:0 0;transition:background-color .13s,border-color .13s,color .13s}.role-menu-button{justify-content:center;align-items:center;gap:.44rem;min-width:136px;height:2.18rem;padding:.22rem .58rem;display:inline-flex}.role-menu-button.admin{border-color:#b98d64}.role-menu-button.manager{border-color:#c7b298}.role-menu-button.icon-only{border-radius:999px;width:2.36rem;min-width:0;padding:0;position:relative}.role-menu-button:hover,.role-menu-button.open,.burger-button:hover,.burger-button[aria-expanded=true],.role-button:hover,.role-button.active{background:var(--surface-alt);border-color:var(--line-strong)}.role-menu-icon{justify-content:center;align-items:center;width:1rem;height:1rem;display:inline-flex}.role-menu-icon svg{width:1rem;height:1rem;display:block}.role-menu-button.icon-only .role-menu-icon,.role-menu-button.icon-only .role-menu-icon svg{width:1.2rem;height:1.2rem}.role-menu-text{font-size:.84rem;font-weight:650}.burger-button{flex-direction:column;justify-content:center;align-items:center;gap:.18rem;width:2.2rem;height:2.1rem;padding:.2rem;display:inline-flex}.burger-button span{background:var(--text-main);border-radius:999px;width:1rem;height:2px;display:block}.session-role-toggle{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-panel);box-shadow:var(--shadow-md);z-index:36;grid-template-columns:1fr;gap:.55rem;width:min(250px,100% - 1.6rem);padding:.58rem;display:grid;position:absolute;top:calc(100% + .18rem);right:.15rem}.session-role-actions{border-top:1px solid var(--line-soft);margin-top:.1rem;padding-top:.55rem;display:flex}.role-button{width:100%;min-width:170px;padding:.46rem .68rem;font-size:.96rem;font-weight:650}.role-button.active{color:var(--brand-deep)}.mobile-quick-nav{border:1px solid var(--line-soft);bottom:calc(.5rem + env(safe-area-inset-bottom,0px));box-shadow:var(--shadow-sm);z-index:46;background:#fffffffa;border-radius:.62rem;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:.28rem;padding:.3rem;display:grid;position:fixed;left:.55rem;right:.55rem}.mobile-quick-nav-button{-webkit-appearance:none;appearance:none;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:.42rem;flex-direction:column;justify-content:center;align-items:center;gap:.18rem;min-height:3.55rem;padding:.34rem .2rem;transition:background-color .13s,color .13s;display:flex}.mobile-quick-nav-button img{width:23px;height:23px}.mobile-quick-nav-button span{font-size:.74rem;font-weight:800;line-height:1.1}.mobile-quick-nav-button.active,.mobile-quick-nav-button:hover{color:var(--brand-deep);background:#eaf4fb}.app-shell.compact-sidebar-shell .side-menu{background:var(--surface-main);border:1px solid var(--line-soft);opacity:0;pointer-events:none;z-index:52;width:min(84vw,320px);height:auto;max-height:calc(100dvh - .9rem);padding:.8rem .65rem;transition:transform .22s,opacity .16s;display:block;position:fixed;top:.45rem;bottom:.45rem;left:.45rem;right:auto;overflow-y:auto;transform:translate(calc(-100% - 1.2rem))}.app-shell.compact-sidebar-shell .side-menu.open{opacity:1;pointer-events:auto;transform:translate(0)}.app-shell.compact-sidebar-shell .side-menu-overlay{-webkit-appearance:none;appearance:none;z-index:50;background:#180c0585;border:0;margin:0;padding:0;display:block;position:fixed;top:0;bottom:0;left:0;right:0}.app-shell.compact-sidebar-shell .side-tabs{flex-direction:column;display:flex}.app-shell.compact-sidebar-shell .side-tabs .tab-button{min-height:3rem}@media (max-width:980px){.app-shell{padding:.6rem .65rem .8rem}.app-workspace{grid-template-columns:1fr}.section-subtabs,.production-subtabs,.app-section-tabs{scroll-snap-type:x proximity;scrollbar-width:none;flex-wrap:nowrap;padding-bottom:.2rem;overflow-x:auto}.section-subtabs::-webkit-scrollbar{display:none}.production-subtabs::-webkit-scrollbar{display:none}.app-section-tabs::-webkit-scrollbar{display:none}.app-section-tab,.production-subtab{scroll-snap-align:start;white-space:nowrap;flex:none}}@media (max-width:640px){.app-shell{padding:.45rem}.app-shell.mobile-quick-nav-active{padding-bottom:calc(7.25rem + env(safe-area-inset-bottom,0px))}.app-header{flex-wrap:nowrap;gap:.45rem;padding:.45rem .12rem .55rem}.app-header-right{flex:none;gap:.38rem;width:auto;margin-left:auto}.role-menu-button{min-width:128px}.role-menu-button.icon-only{width:2.38rem;height:2.38rem}.session-role-toggle{width:calc(100% - .24rem);top:calc(100% + .1rem);right:.12rem}.role-button{width:100%}.side-tabs{gap:.28rem}.tab-button{min-height:2.75rem;padding:.45rem;font-size:.9rem}.tab-button img{width:24px;height:24px}}@media (max-width:430px){.app-shell{padding:.5rem .5rem .75rem}.app-header{padding:.5rem .08rem .6rem}.section-subtabs,.production-subtabs,.app-section-tabs{gap:.55rem;margin-bottom:.55rem}.app-section-tab,.production-subtab{min-height:2.45rem}}.pos-shell,.inventory-shell,.production-shell{box-shadow:none;background:0 0;border:0;gap:.72rem;margin-top:.15rem;padding:0}.pos-layout{align-items:start;gap:var(--ui-content-gap);grid-template-columns:minmax(280px,390px) minmax(0,1fr);display:grid}.pos-topbar{grid-template-columns:minmax(0,1fr) minmax(250px,340px);align-items:center;gap:.62rem;display:grid}.pos-topbar-strip,.pos-topbar-search-slot{min-width:0}.pos-topbar-search-slot{justify-content:flex-end;display:flex}.pos-topbar .pos-sale-drafts-strip{margin-bottom:0}.pos-sale-drafts-strip{scrollbar-width:thin;gap:.4rem;margin-bottom:.45rem;padding-bottom:.12rem;display:flex;overflow-x:auto}.pos-sale-draft-tab{border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);background:0 0;flex:0 0 min(210px,58vw);grid-template-columns:minmax(0,1fr) auto;align-items:stretch;min-width:0;display:grid}.pos-sale-draft-tab.active{border-color:var(--line-strong)}.pos-sale-draft-tab-button{-webkit-appearance:none;appearance:none;color:var(--text-main);cursor:pointer;text-align:left;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:.08rem;min-width:0;padding:.5rem .62rem;display:flex}.pos-sale-draft-tab-button strong,.pos-sale-draft-tab-button span{text-overflow:ellipsis;white-space:nowrap;width:100%;line-height:1.12;overflow:hidden}.pos-sale-draft-tab-button strong{font-size:.84rem}.pos-sale-draft-tab-button span{color:var(--text-muted);font-size:.72rem}.pos-sale-draft-tab-button.active{background:#f4eee6b3}.pos-sale-draft-close{-webkit-appearance:none;appearance:none;border:0;border-left:1px solid var(--line-soft);color:var(--text-muted);cursor:pointer;background:0 0;padding:0 .56rem;font-size:1rem}.pos-sale-draft-close:hover,.pos-sale-draft-tab-button:hover{color:var(--text-main)}.pos-mobile-toolbar{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-panel);justify-content:space-between;align-items:center;gap:.75rem;padding:.72rem .82rem;display:flex}.pos-mobile-toolbar-copy{flex-direction:column;flex:1;gap:.12rem;min-width:0;display:flex}.pos-mobile-toolbar-copy strong{color:var(--text-main);font-size:1.18rem;line-height:1.1}.pos-mobile-toolbar-copy span:last-child,.pos-mobile-toolbar-eyebrow{color:var(--text-muted);font-weight:600}.pos-mobile-toolbar-copy span:last-child{font-size:.82rem}.pos-mobile-toolbar-eyebrow{font-size:.76rem}.pos-mobile-cart-toggle{flex-shrink:0;min-height:2.9rem}.pos-mobile-sheet-layer{isolation:isolate;min-height:100vh;min-height:100svh;z-index:58;min-height:100dvh;position:fixed;top:0;bottom:0;left:0;right:0}.browser-safari .pos-mobile-sheet-layer,.browser-safari .sale-modal-overlay{height:var(--app-viewport-height);min-height:var(--app-viewport-height);min-height:-webkit-fill-available}.pos-mobile-sheet-backdrop{touch-action:none;background:#1c0d0575;position:absolute;top:0;bottom:0;left:0;right:0}.pos-mobile-sheet-frame{box-sizing:border-box;padding:max(.6rem, env(safe-area-inset-top,0px)) 0 env(safe-area-inset-bottom,0px);justify-content:stretch;align-items:flex-end;width:100%;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.pos-mobile-cart{box-sizing:border-box;max-height:min(calc(100dvh - max(.6rem, env(safe-area-inset-top,0px))), 780px);overscroll-behavior:contain;padding-bottom:calc(1rem + env(safe-area-inset-bottom,0px));-webkit-overflow-scrolling:touch;z-index:56;border-radius:.9rem .9rem 0 0;margin:0;position:fixed;bottom:0;left:0;right:0;overflow-y:auto}.browser-safari .pos-mobile-cart{max-height:calc(var(--app-viewport-height) - max(.6rem, env(safe-area-inset-top,0px)))}.pos-mobile-cart-header,.bill-panel-header{justify-content:space-between;align-items:flex-start;gap:.65rem;display:flex}.pos-mobile-cart-header h3,.bill-panel-header-copy h3{margin:0}.cart-panel{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-panel);min-height:0;padding:.82rem}.bill-panel{font-size:.97rem;position:sticky;top:5.2rem}.bill-panel h3{color:var(--text-main);font-size:1.12rem;line-height:1.15}.bill-panel-header{margin-bottom:.45rem}.bill-panel-header-copy{flex-direction:column;gap:.08rem;min-width:0;display:flex}.bill-panel-header-copy p{color:var(--text-muted);margin:0;font-size:.8rem;font-weight:600}.bill-panel-header-actions{flex-shrink:0;gap:.4rem;display:flex}.bill-panel p,.bill-panel span,.bill-panel strong,.bill-panel label{font-size:.96rem;line-height:1.35}.cart-lines{margin:0;padding:0;list-style:none}.cart-lines li{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:.6rem;padding:.52rem 0;display:flex}.qty-controls{align-items:center;gap:.46rem;display:flex}.qty-controls button{-webkit-appearance:none;appearance:none;background:var(--brand-deep);border:1px solid var(--brand-deep);color:#fff8ef;cursor:pointer;border-radius:.42rem;width:2rem;height:2rem;font-size:1rem;font-weight:700}.qty-controls button:hover{border-color:var(--line-strong)}.pos-summary{margin-top:.72rem}.pos-payment-highlight{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);margin-bottom:.58rem;padding:.56rem .64rem}.pos-payment-label,.pos-change-label{color:var(--text-muted);margin:0;font-size:.8rem;font-weight:700}.pos-payment-amount,.pos-change-amount{color:var(--text-main);font-weight:800;line-height:1.08}.pos-payment-amount{margin:.22rem 0 .14rem;font-size:clamp(1.48rem,2.4vw,1.86rem)}.pos-change-amount{margin:.1rem 0 0;font-size:clamp(1.12rem,1.9vw,1.44rem)}.pos-change-amount.no-change{color:var(--text-muted);font-size:.9rem;font-weight:600}.pos-summary label{margin-top:.4rem;font-weight:600;display:block}.pos-summary input{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);width:100%;min-height:2.45rem;margin-top:.22rem;padding:.45rem .58rem;font-size:1rem;font-weight:700}.pos-cash-shortcuts{gap:.38rem;margin-top:.45rem;display:grid}.pos-cash-shortcuts-label{color:var(--text-muted);font-size:.78rem;font-weight:700}.pos-cash-shortcuts-grid,.payment-method-grid{gap:.48rem;display:grid}.pos-cash-shortcuts-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.payment-method-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:.28rem}.pos-cash-shortcut,.payment-method-button,.pos-commercial-filter,.category-filter,.production-category-filter,.production-product-card,.production-run-card,.wizard-step,.wizard-search-item,.purchase-planning-kind-button,.purchase-planning-search-result,.inventory-stock-card,.promotion-product-option,.promotion-discount-button,.promotion-card,.nutrition-card{box-shadow:none}.pos-cash-shortcut,.payment-method-button{-webkit-appearance:none;appearance:none;background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);cursor:pointer}.pos-cash-shortcut{min-height:2.38rem;padding:.28rem .38rem;font-size:.84rem;font-weight:700}.pos-cash-shortcut.active,.payment-method-button.active{background:var(--brand-deep);border-color:var(--brand-deep);color:#fff8ef}.payment-method-button{justify-content:center;align-items:center;gap:.42rem;min-height:2.58rem;padding:.34rem .48rem;display:flex}.payment-method-button img{border-radius:.3rem;width:22px;height:22px}.payment-method-button span{font-size:.92rem;font-weight:800}.pos-cash-shortcut:hover,.payment-method-button:hover,.pos-commercial-filter:hover,.category-filter:hover,.production-category-filter:hover,.production-product-card:hover,.production-run-card:hover,.wizard-step:hover,.wizard-search-item:hover,.purchase-planning-kind-button:hover,.purchase-planning-search-result:hover,.inventory-stock-card:hover,.promotion-product-option:hover,.promotion-discount-button:hover,.promotion-card:hover,.nutrition-card:hover{border-color:var(--line-strong)}.warning-list{background:var(--warn-bg);border:1px solid var(--warn-line);border-radius:var(--ui-radius-control);margin-top:.78rem;padding:.68rem .88rem}.action-button,.secondary-button{-webkit-appearance:none;appearance:none;border-radius:var(--ui-radius-control);cursor:pointer;border:1px solid #0000;padding:.62rem .84rem;font-size:.94rem;font-weight:650;transition:border-color .13s,background-color .13s,color .13s}.action-button{background:var(--brand-mid);border-color:var(--brand-mid);color:#fff}.action-button:disabled{cursor:not-allowed;background:#9fb2c4;border-color:#9fb2c4}.secondary-button{background:var(--surface-main);border-color:var(--line-soft);color:var(--text-main)}.action-button:hover,.secondary-button:hover{border-color:var(--line-strong)}.pos-message{color:var(--text-main);margin-top:.75rem;font-size:.96rem;font-weight:700}.catalog-panel{gap:.82rem;min-height:500px;display:grid}.pos-visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.pos-catalog-panel{background:0 0;border:0;align-content:start;gap:.72rem;position:relative}.pos-catalog-header{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:flex-start;padding-bottom:.5rem;display:flex}.pos-catalog-header h3{margin:0}.pos-catalog-summary{color:var(--text-muted);margin:.16rem 0 0;font-size:.84rem}.pos-catalog-controls{gap:.58rem;display:grid}.pos-commercial-filters{grid-template-columns:repeat(4,minmax(0,1fr));gap:.48rem;display:grid}.pos-commercial-filter{-webkit-appearance:none;appearance:none;border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);cursor:pointer;text-align:left;background:0 0;flex-direction:column;justify-content:center;align-items:flex-start;gap:.12rem;min-height:3rem;padding:.52rem .64rem;display:flex}.pos-commercial-filter strong{font-size:.92rem}.pos-commercial-filter span{color:var(--text-muted);font-size:.76rem}.pos-commercial-filter.active,.category-filter.active,.production-category-filter.active,.production-product-card.active,.production-run-card.active,.inventory-view-tab.active,.wizard-step.active,.wizard-search-item.active,.purchase-planning-kind-button.active,.promotion-product-option.active,.promotion-discount-button.active{background:var(--surface-alt);border-color:var(--line-strong);color:var(--text-main)}.pos-toolbar-search{justify-content:flex-end;width:100%;min-width:0;display:flex}.pos-toolbar-search.expanded{max-width:340px}.pos-toolbar-search.collapsed{max-width:2.5rem}.pos-toolbar-search-row{grid-template-columns:minmax(0,1fr) auto;gap:.44rem;width:100%;display:grid}.pos-toolbar-search-input,.purchase-planning-control,.production-row input,.production-row select,.production-timer-adjust input,.promotion-form-block input{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.purchase-wizard-panel :-webkit-any(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.purchase-wizard-panel :is(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.inventory-unified-wizard :-webkit-any(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.inventory-unified-wizard :is(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.pos-toolbar-search-input::placeholder,.purchase-planning-control::placeholder{color:var(--text-muted)}.pos-toolbar-search-input:focus,.purchase-planning-control:focus,.production-row input:focus,.production-row select:focus,.production-timer-adjust input:focus,.promotion-form-block input:focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.purchase-wizard-panel :-webkit-any(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.purchase-wizard-panel :is(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.inventory-unified-wizard :-webkit-any(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.inventory-unified-wizard :is(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.pos-toolbar-search-submit{min-width:88px;min-height:2.42rem;padding-inline-start:.72rem;padding-inline-end:.72rem}.pos-toolbar-search-toggle{justify-content:center;align-items:center;width:2.42rem;min-width:2.42rem;height:2.42rem;min-height:2.42rem;padding:0;display:inline-flex;position:relative}.pos-toolbar-search-toggle svg{width:1rem;height:1rem;display:block}.pos-toolbar-search-toggle.active{border-color:var(--line-strong)}.pos-toolbar-search-toggle-indicator{background:var(--brand-gold);border-radius:999px;width:.42rem;height:.42rem;position:absolute;top:.42rem;right:.42rem}.category-filters{scroll-snap-type:x proximity;gap:.5rem;margin:0;padding:.05rem 0 .18rem;display:flex;overflow-x:auto}.category-filter{-webkit-appearance:none;appearance:none;border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);cursor:pointer;scroll-snap-align:start;text-align:center;background:0 0;flex:0 0 100px;place-items:center;gap:.42rem;min-height:84px;padding:.5rem .44rem;font-size:.82rem;font-weight:700;display:grid}.category-filter img{object-fit:cover;border-radius:.42rem;width:36px;height:36px}.pos-category-filter span,.inventory-category-filter span{-webkit-line-clamp:2;word-break:break-word;-webkit-box-orient:vertical;max-width:100%;font-size:.78rem;line-height:1.14;display:-webkit-box;overflow:hidden}.product-grid{grid-template-columns:repeat(auto-fill,minmax(146px,1fr));gap:.62rem;display:grid}.pos-product-card{gap:.38rem;min-width:0;display:grid}.product-grid-empty{background:var(--surface-alt);border:1px dashed var(--line-soft);border-radius:var(--ui-radius-control);gap:.16rem;padding:.9rem;display:grid}.product-grid-empty strong{color:var(--text-main);font-size:.96rem}.product-grid-empty span{color:var(--text-muted);font-size:.84rem}.product-button{-webkit-appearance:none;appearance:none;background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);cursor:pointer;text-align:left;flex-direction:column;justify-content:flex-start;gap:.3rem;height:100%;min-height:184px;padding:.58rem;font-size:.92rem;font-weight:700;display:flex;position:relative}.product-button span{line-height:1.16}.product-button small{font-size:.78rem;font-weight:600}.product-price-stack{gap:.08rem;margin-top:auto;display:grid}.product-price-current{color:var(--text-main);font-size:.9rem;font-weight:800;line-height:1.1}.product-price-original{color:var(--text-muted);text-decoration:line-through}.product-stock-detail{color:var(--text-muted)}.product-badge-row{flex-wrap:wrap;gap:.3rem;display:flex}.product-stock-detail.sold-out{color:#b42318}.product-stock-badge{background:var(--warn-bg);border:1px solid var(--warn-line);color:var(--warn-text);border-radius:.42rem;align-self:flex-start;margin-top:.1rem;padding:.16rem .4rem;font-size:.72rem;font-weight:800}.product-stock-badge.sold-out,.product-button.sold-out{color:#b42318;background:#fff0ee;border-color:#efb0aa}.product-stock-badge.cart-limit,.product-button.cart-limit{color:#8a5b1f;border-color:#d4a85e}.product-stock-badge.promo{color:#6a4022;background:#efe6db;border-color:#cda26e}.product-image{border:1px solid var(--line-soft);object-fit:cover;border-radius:.45rem;width:100%;height:88px}.product-button:hover{border-color:var(--line-strong)}.product-button:disabled{cursor:not-allowed}.product-button.sold-out .product-image{filter:saturate(.78);border-color:#bc3f2f47}.pos-product-card-actions{gap:.34rem;display:grid}.pos-product-card-option{-webkit-appearance:none;appearance:none;background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);cursor:pointer;text-align:left;gap:.08rem;min-height:2.9rem;padding:.44rem .56rem;display:grid}.pos-product-card-option:hover{border-color:var(--line-strong)}.pos-product-card-option:disabled{color:var(--text-muted);cursor:not-allowed}.pos-product-card-option-label{font-size:.8rem;font-weight:800;line-height:1.14}.pos-product-card-option-detail{color:var(--text-muted);font-size:.72rem;font-weight:600;line-height:1.15}.production-layout{gap:var(--ui-content-gap);grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);display:grid}.production-catalog-column,.production-right-column{min-width:0}.production-right-column{grid-template-rows:auto minmax(230px,1fr);gap:.75rem;display:grid}.production-category-filters{flex-wrap:wrap;gap:.48rem;margin-bottom:.7rem;display:flex}.production-category-filter{-webkit-appearance:none;appearance:none;border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);cursor:pointer;background:0 0;align-items:center;gap:.38rem;min-height:2.42rem;padding:.28rem .58rem;font-size:.9rem;font-weight:700;display:inline-flex}.production-category-filter img{object-fit:cover;border-radius:999px;width:24px;height:24px}.production-product-grid,.production-run-grid,.ingredient-card-grid,.inventory-card-grid,.nutrition-card-grid,.promotion-card-grid,.promotion-selector-grid{gap:.62rem;display:grid}.production-product-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));margin:0}.production-product-card{-webkit-appearance:none;appearance:none;background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);cursor:pointer;text-align:left;place-items:start;gap:.26rem;min-height:154px;padding:.48rem .52rem;display:grid}.production-product-card img{border:1px solid var(--line-soft);object-fit:cover;border-radius:.42rem;width:100%;height:78px}.production-product-card strong{font-size:.96rem}.production-product-card span{font-size:.84rem;font-weight:700}.production-ingredient-panel,.production-timer-detail{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);min-height:230px;padding:.7rem}.production-ingredient-panel.collapsed{min-height:108px;padding-bottom:.5rem}.production-ingredient-header{grid-template-columns:78px minmax(0,1fr);align-items:center;gap:.6rem;display:grid}.production-ingredient-header h4{margin:0 0 .22rem}.production-ingredient-header img{border:1px solid var(--line-soft);object-fit:cover;border-radius:.5rem;width:78px;height:78px}.production-meta-item{color:var(--text-muted);align-items:center;gap:.34rem;margin:.1rem 0;font-size:.88rem;font-weight:700;display:flex}.production-meta-item img{border:0;border-radius:.3rem;width:18px;height:18px}.production-row{grid-template-columns:minmax(150px,1.1fr) minmax(110px,.8fr) auto;align-items:end;gap:.62rem;margin-top:.72rem;display:grid}.production-row label,.production-timer-adjust label{font-size:.9rem;font-weight:700}.production-panel-collapsed-message{justify-content:space-between;align-items:center;gap:.58rem;margin-top:.68rem;display:flex}.production-panel-collapsed-message p{margin:0}.production-ingredient-list{border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);max-height:235px;margin:.52rem 0 0;padding:0;list-style:none;overflow-y:auto}.production-ingredient-list li{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:.58rem;padding:.5rem .62rem;display:flex}.production-ingredient-list li:last-child{border-bottom:0}.production-ingredient-list strong{color:var(--text-main);font-size:.95rem;display:block}.production-ingredient-list small{color:var(--text-muted);font-size:.82rem;font-weight:700;display:block}.production-ingredient-required{text-align:right;font-size:.88rem;font-weight:800}.production-ingredient-required.ok{color:#1f7a47}.production-ingredient-required.missing,.production-error-message{color:#a61f1f}.production-run-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));margin-top:.3rem}.production-run-card{-webkit-appearance:none;appearance:none;background:var(--surface-main);border:1px solid var(--line-soft);border-left:4px solid var(--line-strong);border-radius:var(--ui-radius-control);color:var(--text-main);cursor:pointer;text-align:left;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:.58rem;min-height:116px;padding:.46rem .52rem;display:grid}.production-run-card-proofing{border-left-color:var(--line-strong)}.production-run-card-cooking{border-left-color:var(--warn-text)}.production-run-card-overdue{border-left-color:var(--risk-text)}.production-run-card img{border:1px solid var(--line-soft);object-fit:cover;border-radius:.42rem;width:68px;height:68px}.production-run-card-content{gap:.2rem;min-width:0;display:grid}.production-run-card-content strong{font-size:.95rem}.production-run-card-content span{font-size:.82rem;font-weight:700}.production-run-warning{background:var(--risk-bg);border:1px solid var(--risk-line);color:var(--risk-text);border-radius:.42rem;justify-content:center;align-items:center;width:28px;height:28px;font-size:1.02rem;font-weight:900;display:inline-flex}.production-runs-section{margin-top:.86rem}.production-timer-detail.expanded{min-height:300px}.production-timer-circle{border-radius:999px;justify-content:center;align-items:center;width:min(56vw,220px);height:min(56vw,220px);margin:.58rem auto .75rem;padding:11px;display:flex}.production-timer-circle-inner{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:999px;flex-direction:column;justify-content:center;align-items:center;gap:.18rem;width:100%;height:100%;display:flex}.production-timer-circle-inner strong{color:var(--text-main);font-size:clamp(1.5rem,4.4vw,2.35rem);line-height:1}.production-timer-circle-inner span{color:var(--text-muted);font-size:.86rem;font-weight:700}.production-timer-adjust{grid-template-columns:minmax(110px,.8fr) minmax(110px,.8fr) auto;align-items:end;gap:.52rem;display:grid}.production-finish-button{width:100%;min-height:3rem;font-size:clamp(1.12rem,2.8vw,1.48rem)}.production-error-message,.production-warning-message{margin-top:.62rem;font-size:.94rem;font-weight:800}.production-warning-message{color:var(--warn-text)}.wizard-panel,.purchase-wizard-launch,.purchase-entry-mode-panel,.purchase-csv-import-panel,.purchase-csv-preview,.purchase-entry-side-card,.purchase-draft-list,.wizard-summary,.purchase-planning-panel,.inventory-workbench-panel,.inventory-stock-quick-actions,.promotion-form-block,.promotion-summary-card,.promotion-card,.nutrition-card,.ingredient-inventory-card{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-panel)}.wizard-panel{gap:.75rem;padding:.86rem;display:grid}.purchase-wizard-launch{gap:.72rem;padding:.86rem;display:grid}.purchase-launch-button{justify-self:start}.purchase-entry-mode-panel,.purchase-csv-import-panel{justify-content:space-between;align-items:center;gap:.72rem;padding:.74rem .82rem;display:flex}.purchase-entry-mode-panel strong,.purchase-csv-import-main strong,.purchase-csv-preview-header strong{font-size:.96rem;display:block}.purchase-entry-mode-panel p,.purchase-csv-import-main p{color:var(--text-muted);margin:.12rem 0 0;font-size:.84rem}.purchase-entry-mode-toggle.active{background:var(--brand-deep);border-color:var(--brand-deep);color:#fff8ef}.purchase-csv-import-panel{align-items:stretch;gap:.62rem;display:grid}.purchase-csv-import-main,.purchase-csv-preview-header,.purchase-wizard-toolbar,.purchase-draft-list-header,.purchase-planning-section-head,.purchase-planning-panel-head,.inventory-workbench-head,.purchase-planning-order-head,.purchase-planning-order-meta{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.purchase-csv-upload-button{justify-self:end}.purchase-csv-file-input{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.purchase-csv-preview{gap:.62rem;padding:.7rem;display:grid}.purchase-csv-preview-header span,.purchase-planning-section-head p,.purchase-planning-panel-head p,.inventory-workbench-note,.purchase-planning-order-head p{color:var(--text-muted);margin:0;font-size:.82rem}.purchase-csv-preview-stats,.purchase-entry-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;display:grid}.purchase-csv-preview-stats div,.purchase-entry-summary-grid>div{border-right:1px solid var(--line-soft);gap:.12rem;min-width:0;padding:.46rem .58rem;display:grid}.purchase-csv-preview-stats div:last-child,.purchase-entry-summary-grid>div:last-child{border-right:0}.purchase-csv-preview-stats dt,.purchase-entry-summary-grid dt,.purchase-completion-line-money dt{color:var(--text-muted);font-size:.74rem;font-weight:700}.purchase-csv-preview-stats dd,.purchase-entry-summary-grid dd,.purchase-completion-line-money dd{color:var(--text-main);margin:0;font-size:.9rem;font-weight:800}.purchase-csv-batch-list,.purchase-csv-batch-review,.purchase-csv-line-list,.purchase-csv-expense-review ul,.purchase-csv-diagnostic-list,.purchase-planning-order-items{gap:.42rem;margin:0;padding:0;list-style:none;display:grid}.purchase-csv-batch-list li,.purchase-csv-batch-card,.purchase-planning-order-items li{border-top:1px solid var(--line-soft);gap:.12rem;padding-top:.42rem;display:grid}.purchase-csv-batch-list span,.purchase-csv-batch-card>span,.purchase-csv-line-list span,.purchase-csv-expense-review li span,.purchase-planning-order-items small,.purchase-draft-card p,.promotion-product-copy span,.promotion-summary-copy span,.promotion-card-copy p,.nutrition-card-content p,.ingredient-card-content p{color:var(--text-muted);margin:0;font-size:.82rem}.purchase-csv-batch-total{color:var(--text-main);font-size:.9rem;font-weight:850}.purchase-csv-line-list,.purchase-csv-expense-review ul{gap:0}.purchase-csv-line-list li,.purchase-csv-expense-review li{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1.35fr) minmax(84px,.45fr) auto;align-items:center;gap:.5rem;padding:.38rem 0;display:grid}.purchase-csv-line-list li:first-child,.purchase-csv-expense-review li:first-child{border-top:0}.purchase-csv-line-name{color:var(--text-main);font-weight:760}.purchase-csv-line-list strong,.purchase-csv-expense-review li strong{color:var(--text-main);text-align:right;font-size:.84rem}.purchase-csv-expense-review{border-top:1px solid var(--line-soft);gap:.38rem;padding-top:.5rem;display:grid}.purchase-wizard-panel{padding:.9rem}.purchase-wizard-toolbar h3,.purchase-planning-section-head h3,.purchase-planning-panel-head h3,.inventory-workbench-head h3{margin:0}.purchase-wizard-toolbar span{color:var(--text-muted);font-size:.84rem;font-weight:700}.purchase-sticky-context-bar,.purchase-step-context-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.55rem;display:grid}.purchase-sticky-context-bar{border-bottom:1px solid var(--line-soft);padding-bottom:.62rem}.purchase-sticky-context-bar strong,.purchase-sticky-context-bar span,.purchase-step-context-grid label{color:var(--text-muted);font-size:.78rem;font-weight:700}.purchase-wizard-step-content{gap:.72rem;min-width:0;display:grid}.wizard-progress{background:var(--surface-alt);border-radius:999px;height:.42rem;overflow:hidden}.wizard-progress-fill{background:var(--brand-deep);height:100%}.wizard-steps{gap:.42rem;padding-bottom:.05rem;display:flex;overflow-x:auto}.wizard-step{-webkit-appearance:none;appearance:none;border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-muted);cursor:pointer;background:0 0;flex:none;min-height:2.42rem;padding:.42rem .66rem;font-size:.84rem;font-weight:700}.wizard-step:disabled{cursor:not-allowed;opacity:.58}.purchase-wizard-actions{border-top:1px solid var(--line-soft);padding-top:.62rem}.purchase-entry-workbench{align-items:start;gap:var(--ui-content-gap);grid-template-columns:minmax(0,1.35fr) minmax(310px,.72fr);display:grid}.purchase-entry-line-editor,.purchase-entry-side-panel{gap:.72rem;min-width:0;display:grid}.purchase-entry-side-card,.purchase-draft-list,.wizard-summary{padding:.76rem}.purchase-entry-side-card h4,.purchase-draft-list h4{margin:0}.purchase-entry-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-entry-summary-grid>div:nth-child(2n){border-right:0}.purchase-entry-summary-total dd,.purchase-draft-total,.wizard-total-amount{color:var(--brand-deep);font-weight:850}.wizard-search-results{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.52rem;display:grid}.wizard-search-item{-webkit-appearance:none;appearance:none;background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);cursor:pointer;text-align:left;align-items:start;gap:.32rem;min-height:88px;padding:.58rem;display:grid}.inventory-wizard-type-grid .wizard-search-item{min-height:112px}.inventory-option-header{align-items:center;gap:.48rem;display:flex}.inventory-option-header img{object-fit:cover;border-radius:.42rem;width:34px;height:34px}.wizard-search-item span,.inventory-wizard-type-grid .wizard-search-item span{color:var(--text-muted);font-size:.82rem;line-height:1.3}.wizard-summary{gap:.42rem;display:grid}.wizard-summary p{margin:0}.wizard-selected-item{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);grid-template-columns:76px minmax(0,1fr);align-items:center;gap:.62rem;padding:.62rem;display:grid}.wizard-selected-item h4{margin:0 0 .2rem}.wizard-selected-item-image{object-fit:cover;border-radius:.45rem;width:76px;height:76px}.purchase-receipt-frame,.purchase-receipt-gallery{gap:.56rem;display:grid}.purchase-receipt-gallery{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.purchase-receipt-gallery-compact{grid-template-columns:repeat(auto-fill,minmax(110px,1fr))}.purchase-receipt-thumb{border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);gap:.38rem;margin:0;padding:.42rem;display:grid}.wizard-receipt-preview,.purchase-receipt-thumb .wizard-receipt-preview{object-fit:cover;border-radius:.42rem;width:100%;height:168px}.purchase-receipt-thumb figcaption{color:var(--text-muted);font-size:.78rem;font-weight:700}.purchase-draft-grid{gap:.52rem;display:grid}.purchase-draft-card{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:.6rem;padding:.52rem;display:grid}.purchase-draft-card.is-editing{border-color:var(--line-strong)}.purchase-draft-card img{object-fit:cover;border-radius:.42rem;width:56px;height:56px}.purchase-draft-card-actions{flex-wrap:wrap;justify-content:flex-end;gap:.38rem;display:flex}.purchase-draft-edit-note{background:var(--good-bg);border:1px solid var(--good-line);border-radius:var(--ui-radius-control);color:var(--good-text);margin:0;padding:.52rem .62rem;font-weight:700}.purchase-replica-layout{gap:var(--ui-content-gap);grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);display:grid}.purchase-replica-card,.purchase-confirmation-card{align-content:start}.inventory-view-tabs{flex-wrap:wrap;gap:.4rem;margin:0 0 .2rem;display:flex}.inventory-view-tab{border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-muted);background:0 0;min-height:2.45rem;padding:.4rem .64rem;font-size:.86rem;font-weight:700}.ingredient-filters{margin-top:.82rem}.inventory-category-filters{scrollbar-width:thin;gap:.42rem;margin-top:0;padding:.05rem 0 .1rem;overflow-x:auto}.inventory-category-filter{flex:0 0 98px;min-height:84px}.ingredient-card-grid,.inventory-card-grid,.nutrition-card-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.ingredient-inventory-card{-webkit-appearance:none;appearance:none;color:var(--text-main);cursor:pointer;text-align:left;grid-template-columns:74px minmax(0,1fr);align-items:center;gap:.68rem;padding:.6rem;display:grid}.ingredient-card-image,.nutrition-card-image,.promotion-product-image,.promotion-summary-image,.promotion-card-image{object-fit:cover;border-radius:.45rem}.ingredient-card-image{width:74px;height:74px}.ingredient-card-content h4,.nutrition-card-content h4,.promotion-card-copy h4{margin:0 0 .2rem}.inventory-workbench-panel,.inventory-stock-quick-actions,.promotion-workbench-panel{gap:.72rem;padding:.82rem;display:grid}.inventory-stock-quick-actions{grid-template-columns:minmax(0,1fr) auto;align-items:center}.inventory-stock-quick-actions-copy h3,.inventory-stock-quick-actions-copy p{margin:0}.inventory-stock-quick-actions-copy p{color:var(--text-muted);font-size:.84rem}.inventory-stock-quick-actions-row{justify-content:flex-end}.inventory-stock-toggle-row,.inventory-stock-toggle{align-items:center;gap:.5rem;display:flex}.inventory-stock-toggle{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);cursor:pointer;padding:.52rem .62rem}.inventory-stock-toggle input{width:auto}.inventory-product-inline-summary{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);gap:.38rem;padding:.64rem;display:grid}.inventory-product-inline-summary p,.inventory-consumption-total{margin:0}.inventory-consumption-total{color:var(--text-muted);font-weight:700}.inventory-consumption-list li{border-bottom:1px solid var(--line-soft);padding-block-start:.42rem;padding-block-end:.42rem}.promotion-form-block{gap:.52rem;padding:.68rem;display:grid}.promotion-form-block h4{margin:0}.promotion-selector-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}.promotion-product-option,.promotion-summary-card,.promotion-card{-webkit-appearance:none;appearance:none;color:var(--text-main);text-align:left;grid-template-columns:68px minmax(0,1fr);align-items:center;gap:.62rem;padding:.58rem;display:grid}.promotion-product-option{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);cursor:pointer}.promotion-product-image,.promotion-summary-image,.promotion-card-image{width:68px;height:68px}.promotion-product-copy,.promotion-summary-copy,.promotion-card-copy{gap:.16rem;min-width:0;display:grid}.promotion-discount-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.46rem;display:grid}.promotion-discount-button{-webkit-appearance:none;appearance:none;background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);cursor:pointer;min-height:2.6rem;font-weight:800}.promotion-card-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.promotion-card{grid-template-columns:1fr;align-items:stretch}.promotion-card-main{grid-template-columns:68px minmax(0,1fr);gap:.58rem;display:grid}.promotion-empty{color:var(--text-muted);margin:0;font-size:.86rem}.nutrition-link-card{grid-template-columns:auto minmax(0,1fr)}.nutrition-link-card input[type=checkbox]{width:1rem;height:1rem}.nutrition-card{grid-template-columns:80px minmax(0,1fr);gap:.62rem;padding:.62rem;display:grid}.nutrition-card-image{width:80px;height:80px}.purchase-planning-shell{min-width:0}.purchase-planning-grid{gap:var(--ui-content-gap);grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);display:grid}.purchase-planning-panel{align-content:start;gap:.76rem;padding:.82rem;display:grid}.purchase-planning-field{gap:.28rem;display:grid}.purchase-planning-field>span{color:var(--text-muted);font-size:.78rem;font-weight:700}.purchase-planning-control:disabled{cursor:not-allowed;opacity:.72}.purchase-planning-control-textarea{resize:vertical;min-height:5.5rem}.purchase-planning-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.62rem;display:grid}.purchase-planning-catalog,.purchase-planning-draft{gap:.62rem;display:grid}.purchase-planning-toolbar{grid-template-columns:auto minmax(220px,1fr);align-items:end;gap:.62rem;display:grid}.purchase-planning-kind-switch{flex-wrap:wrap;gap:.42rem;display:flex}.purchase-planning-kind-button{-webkit-appearance:none;appearance:none;border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-muted);cursor:pointer;background:0 0;min-height:2.42rem;padding:.4rem .62rem;font-size:.84rem;font-weight:700}.purchase-planning-search-results{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.48rem;display:grid}.purchase-planning-search-result{-webkit-appearance:none;appearance:none;background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);cursor:pointer;text-align:left;gap:.14rem;min-height:66px;padding:.52rem .58rem;display:grid}.purchase-planning-draft-list,.purchase-planning-order-list{gap:.52rem;display:grid}.purchase-planning-draft-row{border-top:1px solid var(--line-soft);grid-template-columns:minmax(160px,1fr) minmax(94px,.48fr) minmax(92px,.42fr) minmax(110px,.58fr) auto;align-items:end;gap:.52rem;padding-top:.52rem;display:grid}.purchase-planning-draft-copy{gap:.12rem;display:grid}.purchase-planning-draft-copy small{color:var(--text-muted);font-size:.76rem;font-weight:700}.purchase-planning-order-card{border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);gap:.52rem;padding:.62rem;display:grid}.purchase-planning-order-status{border:1px solid var(--line-soft);color:var(--text-muted);border-radius:.42rem;padding:.18rem .42rem;font-size:.76rem;font-weight:800}.purchase-planning-order-status.status-planned{background:var(--warn-bg);border-color:var(--warn-line);color:var(--warn-text)}.purchase-planning-order-status.status-received{background:var(--good-bg);border-color:var(--good-line);color:var(--good-text)}.purchase-planning-order-status.status-cancelled{background:var(--risk-bg);border-color:var(--risk-line);color:var(--risk-text)}.purchase-planning-order-items li{grid-template-columns:minmax(0,1fr) auto}@media (max-width:1180px) and (max-height:940px){.pos-layout{grid-template-columns:minmax(270px,360px) minmax(0,1fr)}.product-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr))}.product-button{min-height:164px;padding:.5rem}.product-image{height:74px}.production-layout,.purchase-entry-workbench,.purchase-planning-grid{gap:.72rem}.purchase-planning-draft-row{grid-template-columns:minmax(130px,1fr) repeat(3,minmax(82px,.48fr)) auto}}@media (max-width:980px){.pos-layout,.production-layout,.purchase-entry-workbench,.purchase-replica-layout,.purchase-planning-grid{grid-template-columns:1fr}.bill-panel{position:static}.production-right-column{grid-template-rows:auto}.inventory-stock-quick-actions{grid-template-columns:1fr}.inventory-stock-quick-actions-row{justify-content:flex-start}}@media (max-width:760px){.pos-topbar{grid-template-columns:minmax(0,1fr) auto}.pos-sale-drafts-strip{gap:.34rem}.pos-sale-draft-tab{flex-basis:min(188px,70vw)}.pos-toolbar-search.expanded{max-width:min(76vw,320px)}.pos-toolbar-search-input,.pos-toolbar-search-submit,.pos-toolbar-search-toggle{min-height:2.34rem}.pos-commercial-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-commercial-filter{min-height:2.7rem;padding:.46rem .55rem}.category-filter{flex-basis:82px;min-height:78px;padding:.44rem .38rem}.category-filter img{width:32px;height:32px}.product-grid,.production-product-grid,.production-run-grid,.ingredient-card-grid,.inventory-card-grid,.nutrition-card-grid,.promotion-card-grid,.promotion-selector-grid,.purchase-planning-search-results{grid-template-columns:1fr}.pos-mobile-toolbar{flex-direction:column;align-items:stretch}.pos-mobile-cart-toggle{width:100%}.bill-panel-header,.bill-panel-header-actions,.purchase-entry-mode-panel,.purchase-csv-import-main,.purchase-csv-preview-header,.purchase-wizard-toolbar,.purchase-draft-list-header,.purchase-planning-section-head,.purchase-planning-panel-head,.inventory-workbench-head,.purchase-planning-order-head,.purchase-planning-order-meta{flex-direction:column;align-items:stretch}.bill-panel-header-actions .secondary-button,.purchase-entry-mode-toggle,.purchase-csv-upload-button,.purchase-csv-import-actions .secondary-button,.purchase-csv-import-actions .action-button{width:100%}.payment-method-grid,.pos-cash-shortcuts-grid,.purchase-csv-preview-stats,.purchase-csv-line-list li,.purchase-csv-expense-review li,.purchase-entry-summary-grid,.purchase-planning-form-grid,.purchase-planning-toolbar,.production-row,.production-timer-adjust,.purchase-planning-draft-row,.purchase-draft-card,.wizard-selected-item,.ingredient-inventory-card,.promotion-product-option,.promotion-summary-card,.promotion-card-main,.nutrition-card{grid-template-columns:1fr}.purchase-csv-preview-stats div,.purchase-entry-summary-grid>div{border-right:0;border-top:1px solid var(--line-soft)}.purchase-draft-card-actions{justify-content:stretch}.purchase-draft-card-actions .secondary-button{width:100%}.wizard-receipt-preview,.purchase-receipt-thumb .wizard-receipt-preview{height:136px}.production-ingredient-list li{flex-direction:column;align-items:flex-start}.production-ingredient-required{text-align:left}.purchase-wizard-actions{padding:.62rem .9rem calc(.62rem + env(safe-area-inset-bottom,0px));z-index:12;margin-inline-start:-.9rem;margin-inline-end:-.9rem;position:sticky;bottom:0}.purchase-wizard-actions>*,.purchase-wizard-panel .button-row>*{flex:100%}}.finance-shell,.app-section-expenses,.payroll-shell,.summary-shell{box-shadow:none;background:0 0;border:0;gap:.76rem;margin-top:.14rem;padding:0}.daily-opening-card,.session-opening-details,.session-opening-source-breakdown,.session-opening-edit{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-panel)}.session-opening-details{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-bottom:.72rem;display:grid}.session-opening-details div{border-right:1px solid var(--line-soft);gap:.14rem;min-width:0;padding:.62rem .72rem;display:grid}.session-opening-details div:last-child{border-right:0}.session-opening-details span,.session-opening-source-breakdown span{color:var(--text-muted);font-size:.78rem;font-weight:700}.session-opening-details strong{color:var(--text-main);font-size:1rem}.session-opening-source-breakdown,.session-opening-edit{gap:.5rem;margin-bottom:.72rem;padding:.68rem .76rem;display:grid}.session-opening-edit label{color:var(--text-muted);font-size:.8rem;font-weight:700}.session-opening-edit input{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.finance-shell :-webkit-any(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.finance-shell :is(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.app-section-expenses :-webkit-any(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.app-section-expenses :is(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.payroll-shell :-webkit-any(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.payroll-shell :is(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.summary-shell :-webkit-any(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.summary-shell :is(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.payroll-employee-modal :-webkit-any(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.payroll-employee-modal :is(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.procurement-detail-edit-grid :-webkit-any(input,select){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.procurement-detail-edit-grid :is(input,select){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.summary-calendar-date-field :-webkit-any(input,select){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.summary-calendar-date-field :is(input,select){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.session-opening-edit input:focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.finance-shell :-webkit-any(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.finance-shell :is(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.app-section-expenses :-webkit-any(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.app-section-expenses :is(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.payroll-shell :-webkit-any(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.payroll-shell :is(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.summary-shell :-webkit-any(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.summary-shell :is(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.payroll-employee-modal :-webkit-any(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.payroll-employee-modal :is(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.procurement-detail-edit-grid :-webkit-any(input,select):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.procurement-detail-edit-grid :is(input,select):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.summary-calendar-date-field :-webkit-any(input,select):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.summary-calendar-date-field :is(input,select):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.session-opening-edit p,.session-opening-note{color:var(--text-muted);margin:0;font-size:.86rem;line-height:1.38}.finance-v2-status-row,.finance-context-banner,.finance-command-panel,.finance-health-panel,.finance-circuit-panel,.finance-transactions-table-shell,.finance-transaction-composer-shell,.finance-transactions-account-shell,.finance-amortization-table-shell,.finance-amortization-composer-shell,.finance-credit-detail-shell,.finance-investment-detail-shell,.finance-pockets-table-shell,.finance-pockets-detail-shell,.finance-accounts-grid-shell,.finance-account-movements-shell{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-panel)}.finance-section-nav-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.72rem;min-width:0;display:grid}.finance-section-nav-row .finance-section-tabs{margin-bottom:0}.finance-close-tab-row{pointer-events:none;justify-content:flex-end;margin:0 0 .72rem;display:flex}.finance-close-tab{border-color:var(--warn-line);color:var(--warn-text);pointer-events:auto;background:#fff6df;min-height:2.38rem}.finance-close-tab.active,.finance-close-tab:hover{background:var(--brand-mid);border-color:var(--brand-mid);color:#fff}.finance-cash-closing-shell{gap:.76rem;min-width:0;display:grid}.cash-closing-wizard-actions{border-top:1px solid var(--line-soft);grid-template-columns:minmax(120px,auto) 1fr minmax(120px,auto) minmax(150px,auto);align-items:center;gap:.65rem;margin-top:.8rem;padding-top:.8rem;display:grid}.cash-closing-reset-button,.cash-closing-next-button{justify-self:end}.finance-command-panel,.finance-health-panel,.finance-circuit-panel,.finance-transactions-table-shell,.finance-transaction-composer-shell,.finance-transactions-account-shell,.finance-amortization-table-shell,.finance-amortization-composer-shell,.finance-credit-detail-shell,.finance-investment-detail-shell,.finance-pockets-table-shell,.finance-pockets-detail-shell,.finance-accounts-grid-shell,.finance-account-movements-shell{gap:.76rem;padding:.82rem;display:grid}.finance-v2-header{padding-bottom:.72rem}.finance-v2-status-row,.finance-context-banner{justify-content:space-between;align-items:center;gap:.65rem;padding:.6rem .72rem;display:flex}.finance-section-detail{color:var(--text-muted);font-size:.84rem;font-weight:700}.finance-command-header,.finance-health-header,.finance-circuit-header,.finance-transactions-header,.finance-transactions-table-header,.finance-amortization-table-header,.finance-amortization-section-header,.finance-amortization-composer-header,.finance-credits-header,.finance-credit-detail-header,.finance-credit-detail-section-header,.finance-credit-dialog-header,.finance-investments-header,.finance-investment-detail-header,.finance-investment-dialog-header,.finance-pockets-header,.finance-pocket-dialog-header,.finance-accounts-toolbar,.finance-account-movements-header,.finance-account-dialog-header{justify-content:space-between;align-items:center;gap:.72rem;min-width:0;display:flex}.finance-command-header h3,.finance-health-header h3,.finance-circuit-header h4,.finance-transactions-header h3,.finance-credits-header h3,.finance-investments-header h3,.finance-pockets-header h3,.finance-account-card h4,.finance-account-dialog-header h2,.finance-movement-view h4{margin:0}.finance-command-grid,.finance-health-grid,.finance-circuit-grid,.finance-credit-card-grid,.finance-credit-detail-kpis,.finance-credit-detail-summary-grid,.finance-credit-card-meta,.finance-investment-card-grid,.finance-investment-detail-kpis,.finance-investment-detail-summary-grid,.finance-investment-card-meta,.finance-account-card-grid{gap:.62rem;display:grid}.finance-command-grid,.finance-health-grid,.finance-circuit-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.finance-credit-card-grid,.finance-investment-card-grid,.finance-account-card-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.finance-credit-detail-kpis,.finance-investment-detail-kpis,.finance-credit-detail-summary-grid,.finance-investment-detail-summary-grid,.finance-credit-card-meta,.finance-investment-card-meta,.finance-pocket-detail-grid,.finance-account-detail-grid,.finance-transaction-balance-strip,.finance-movement-detail-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.finance-command-card,.finance-health-card,.finance-circuit-card,.finance-credit-card,.finance-credit-detail-kpi-card,.finance-investment-card,.finance-investment-detail-kpi-card,.finance-pocket-detail-card,.finance-transaction-balance-card,.finance-transaction-detail-card,.finance-account-card,.finance-movement-card,.finance-transaction-card{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);box-shadow:none;color:var(--text-main)}.finance-command-card,.finance-health-card,.finance-circuit-card,.finance-credit-card,.finance-investment-card,.finance-account-card,.finance-transaction-card{gap:.52rem;padding:.66rem;display:grid}.finance-command-card-accent,.finance-credit-card.active,.finance-investment-card.active,.finance-account-card.active{border-color:var(--line-strong)}.finance-command-card strong,.finance-health-card strong,.finance-circuit-copy strong,.finance-credit-card-kpi strong,.finance-credit-detail-kpi-card strong,.finance-investment-card-kpi strong,.finance-investment-detail-kpi-card strong,.finance-account-balance,.finance-transaction-balance-card strong{color:var(--text-main);font-weight:850}.finance-command-card p,.finance-health-card p,.finance-circuit-copy p,.finance-credit-detail-summary-grid p,.finance-investment-detail-summary-grid p,.finance-credit-review-card p,.finance-investment-review-card p,.finance-transaction-review p,.finance-pocket-review-card p,.finance-account-detail-grid p,.finance-movement-detail-grid p,.finance-transaction-card p{color:var(--text-muted);margin:0;font-size:.84rem;line-height:1.36}.finance-health-label,.finance-account-type,.finance-account-number,.finance-account-meta,.finance-account-footnote,.finance-movement-counterparty-label,.finance-filter-summary{color:var(--text-muted);font-size:.78rem;font-weight:700}.finance-circuit-state,.finance-account-state-chip,.finance-filter-chip,.finance-credit-payment-mode-button,.finance-investment-creditor-type-button,.finance-transaction-kind-button,.finance-pocket-linked-count{border:1px solid var(--line-soft);color:var(--text-muted);border-radius:.42rem;padding:.24rem .46rem;font-size:.76rem;font-weight:800;line-height:1.1;display:inline-flex}.finance-circuit-state.ready,.finance-account-state-chip,.finance-filter-chip.active,.finance-credit-payment-mode-button.active,.finance-investment-creditor-type-button.active,.finance-transaction-kind-button.active{background:var(--good-bg);border-color:var(--good-line);color:var(--good-text)}.finance-circuit-state.attention{background:var(--warn-bg);border-color:var(--warn-line);color:var(--warn-text)}.finance-circuit-state.idle{background:var(--surface-alt)}.finance-transactions-workspace,.finance-amortization-workspace,.finance-pockets-layout{align-items:start;gap:var(--ui-content-gap);grid-template-columns:minmax(0,1.4fr) minmax(310px,.72fr);display:grid}.finance-credits-workspace,.finance-investments-workspace,.finance-pockets-workspace,.finance-accounts-workspace{gap:var(--ui-content-gap);display:grid}.finance-credits-shell,.finance-investments-shell,.finance-pockets-shell{gap:.76rem;display:grid}.finance-transactions-side-column{gap:.72rem;display:grid}.finance-transaction-kind-row,.finance-credit-payment-mode-row,.finance-investment-creditor-type-row,.finance-filter-row{flex-wrap:wrap;gap:.42rem;display:flex}.finance-transaction-kind-button,.finance-credit-payment-mode-button,.finance-investment-creditor-type-button,.finance-filter-chip{-webkit-appearance:none;appearance:none;cursor:pointer;background:0 0;min-height:2.34rem}.finance-transaction-form-grid,.finance-credit-form-grid,.finance-credit-payment-form,.finance-investment-form-grid,.finance-pocket-form-grid,.finance-account-form-grid,.finance-amortization-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.58rem;display:grid}.finance-transaction-form-grid label,.finance-credit-form-grid label,.finance-credit-payment-form label,.finance-investment-form-grid label,.finance-pocket-form-grid label,.finance-account-form-grid label,.finance-amortization-form-grid label{color:var(--text-muted);gap:.28rem;font-size:.78rem;font-weight:700;display:grid}.finance-credit-form-span-2,.finance-investment-form-span-2,.finance-pocket-form-span-2,.finance-account-form-span-2,.finance-pocket-detail-span-2{grid-column:1/-1}.finance-transaction-explainer,.finance-credit-payment-explainer,.finance-investment-inline-note,.finance-account-detail-note{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-muted);gap:.2rem;padding:.58rem .66rem;display:grid}.finance-amortization-summary-strip,.finance-amortization-goal-list,.finance-pocket-detail-grid,.finance-account-detail-grid,.finance-movement-detail-grid,.finance-transaction-balance-strip{gap:.52rem;display:grid}.finance-amortization-summary-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.finance-amortization-summary-card,.finance-amortization-detail-card,.finance-credit-detail-kpi-card,.finance-investment-detail-kpi-card,.finance-pocket-review-card,.finance-investment-review-card,.finance-credit-review-card,.finance-transaction-review{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);padding:.62rem}.finance-amortization-summary-card span,.finance-amortization-detail-grid p,.finance-credit-card-meta dt,.finance-investment-card-meta dt,.finance-pocket-detail-grid dt,.finance-account-detail-grid span,.finance-transaction-balance-card span{color:var(--text-muted);font-size:.76rem;font-weight:700}.finance-amortization-summary-card strong,.finance-credit-card-meta dd,.finance-investment-card-meta dd,.finance-pocket-detail-grid dd{color:var(--text-main);margin:0;font-weight:850}.finance-amortization-section,.finance-credit-detail-section{border-top:1px solid var(--line-soft);gap:.62rem;padding-top:.72rem;display:grid}.finance-amortization-table-scroll,.finance-credit-table-scroll,.finance-account-movement-table,.finance-transaction-table,.finance-transaction-table-extended{max-width:100%;overflow-x:auto}.finance-amortization-row-active,.finance-pockets-table tbody tr.active{background:var(--surface-alt)}.finance-credit-card-topbar,.finance-investment-card-topbar,.finance-account-card-head,.finance-transaction-card-head{justify-content:space-between;align-items:start;gap:.52rem;display:flex}.finance-credit-card-menu-shell,.finance-investment-card-menu-shell{position:relative}.finance-credit-card-menu-trigger,.finance-investment-card-menu-trigger{-webkit-appearance:none;appearance:none;border:1px solid var(--line-soft);cursor:pointer;background:0 0;border-radius:.42rem;justify-content:center;align-items:center;width:2rem;height:2rem;display:inline-flex}.finance-credit-card-menu,.finance-investment-card-menu{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);z-index:20;gap:.3rem;min-width:150px;padding:.38rem;display:grid;position:absolute;top:calc(100% + .35rem);right:0}.finance-empty-state{border:1px dashed var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-muted);background:0 0;padding:.82rem}.finance-movement-list,.finance-transaction-card-list{gap:.52rem;display:grid}.finance-movement-card{grid-template-columns:minmax(96px,.38fr) minmax(0,1fr) auto;align-items:center;gap:.58rem;padding:.58rem;display:grid}.finance-movement-datetime,.finance-movement-main{gap:.12rem;display:grid}.finance-movement-date,.finance-movement-counterparty-value{font-weight:800}.finance-movement-time,.finance-movement-description{color:var(--text-muted);font-size:.8rem}.finance-movement-amount{text-align:right;font-weight:850}.finance-movement-amount-in{color:var(--good-text)}.finance-movement-amount-out{color:var(--risk-text)}.finance-movement-amount-neutral{color:var(--text-muted)}.expenses-layout,.payroll-workbench{align-items:start;gap:var(--ui-content-gap);grid-template-columns:minmax(0,1.35fr) minmax(320px,.78fr);display:grid}.expenses-wizard-card,.expenses-bases-card,.expenses-history-card,.payroll-directory-panel,.payroll-side-card,.payroll-modal-section,.payroll-employee-card{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-panel);box-shadow:none;gap:.72rem;padding:.82rem;display:grid}.expenses-card-header,.expenses-history-header,.expense-payroll-section-header,.payroll-panel-header,.payroll-employee-card-main,.payroll-employee-card-header,.payroll-employee-modal-header{justify-content:space-between;align-items:center;gap:.72rem;min-width:0;display:flex}.expenses-card-copy,.payroll-toolbar-head,.payroll-employee-card-identity{gap:.18rem;min-width:0;display:grid}.expenses-card-copy h3,.expenses-history-header h3,.payroll-panel-header h3,.payroll-employee-card-identity h3,.payroll-modal-section>h3,.payroll-employee-modal-title h2{margin:0}.expenses-intro-copy,.expenses-empty-copy,.expenses-card-copy p,.payroll-panel-meta,.payroll-empty-inline,.expense-payroll-section-header span{color:var(--text-muted);font-size:.84rem}.expenses-history-filter-toolbar{border-bottom:1px solid var(--line-soft);grid-template-columns:repeat(auto-fit,minmax(160px,1fr));align-items:end;gap:.58rem;padding-bottom:.72rem;display:grid}.expenses-history-filter-title{color:var(--text-strong);align-self:center;font-size:.82rem;font-weight:800}.expenses-history-filter-field{color:var(--text-muted);gap:.28rem;font-size:.78rem;font-weight:700;display:grid}.expenses-history-filter-field input,.expenses-history-filter-field select{width:100%}.expenses-history-filter-actions{justify-content:flex-end;display:flex}.expenses-history-filter-actions .secondary-button{width:100%;min-height:2.45rem}.expenses-workspace-tabs,.expenses-stepper,.employee-weekday-grid,.employee-avatar-preset-grid,.expense-treatment-grid,.expense-courtesy-grid,.expense-employee-grid{flex-wrap:wrap;gap:.42rem;display:flex}.expenses-progress-track{background:var(--surface-alt);border-radius:999px;height:.42rem;overflow:hidden}.expenses-progress-fill{background:var(--brand-deep);height:100%}.expenses-step-button,.expense-treatment-card,.expense-employee-option,.expense-product-search-option,.employee-weekday-chip,.employee-avatar-preset{-webkit-appearance:none;appearance:none;background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);cursor:pointer;box-shadow:none}.expenses-step-button,.employee-weekday-chip{min-height:2.34rem;padding:.4rem .62rem}.expenses-step-button.active,.expense-treatment-card.active,.expense-employee-option.active,.expense-product-search-option.active,.employee-weekday-chip.active,.employee-avatar-preset.active{background:var(--surface-alt);border-color:var(--line-strong)}.employee-weekday-chip.day-off{background:var(--risk-bg);border-color:var(--risk-line);color:var(--risk-text)}.expenses-stage-panel{gap:.72rem;display:grid}.expenses-form-grid{gap:.62rem}.expense-payroll-section,.expense-consumption-shell,.expense-consumption-summary-card,.expense-courtesy-card{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);padding:.66rem}.expense-consumption-facts,.expense-consumption-summary-card,.payroll-employee-metrics,.payroll-employee-card-details,.payroll-employee-modal-summary,.payroll-modal-summary-list,.payroll-employee-card-stats{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.52rem;display:grid}.expense-consumption-facts div,.expense-consumption-summary-row,.payroll-employee-metrics div,.payroll-employee-card-details div,.payroll-employee-modal-summary div,.payroll-modal-summary-list div,.payroll-employee-stat{border-top:1px solid var(--line-soft);gap:.12rem;padding-top:.42rem;display:grid}.expense-consumption-facts dt,.payroll-employee-metrics dt,.payroll-employee-card-details dt,.payroll-employee-modal-summary dt,.payroll-modal-summary-list dt,.payroll-employee-stat small{color:var(--text-muted);font-size:.75rem;font-weight:700}.expense-consumption-facts dd,.payroll-employee-metrics dd,.payroll-employee-card-details dd,.payroll-employee-modal-summary dd,.payroll-modal-summary-list dd,.payroll-employee-stat strong{color:var(--text-main);margin:0;font-size:.9rem;font-weight:800}.expense-employee-option{text-align:left;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.5rem;padding:.5rem .58rem;display:grid}.expense-employee-option-copy,.expense-product-search-option-copy,.expense-product-search-option-meta{gap:.12rem;display:grid}.expense-employee-option-copy span,.expense-product-search-option-copy span,.expense-product-search-option-meta span,.expense-treatment-card span,.expense-courtesy-card span,.expense-courtesy-card small{color:var(--text-muted);font-size:.78rem}.expense-product-search-shell{gap:.42rem;display:grid;position:relative}.expense-product-search-dropdown{border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);gap:.36rem;max-height:260px;padding:.42rem;display:grid;overflow-y:auto}.expense-product-search-option{text-align:left;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.55rem;min-height:3rem;padding:.48rem .56rem;display:grid}.expense-product-search-option:disabled{cursor:not-allowed;opacity:.62}.expense-treatment-grid,.expense-courtesy-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));display:grid}.expense-treatment-card,.expense-courtesy-card{text-align:left;gap:.18rem;padding:.6rem;display:grid}.expense-courtesy-message{border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);margin:0;padding:.52rem .62rem;font-size:.84rem;font-weight:700}.expense-courtesy-message.success{background:var(--good-bg);border-color:var(--good-line);color:var(--good-text)}.expense-courtesy-message.warning{background:var(--warn-bg);border-color:var(--warn-line);color:var(--warn-text)}.expense-courtesy-message.neutral{background:var(--surface-alt);color:var(--text-muted)}.expenses-review-list{gap:.38rem;display:grid}.expenses-review-list p{border-bottom:1px solid var(--line-soft);justify-content:space-between;gap:.72rem;margin:0;padding-bottom:.38rem;display:flex}.payroll-overview-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:.62rem;display:grid}.payroll-overview-item,.payroll-compact-row,.payroll-card-chip{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control)}.payroll-overview-item{gap:.12rem;padding:.62rem .7rem;display:grid}.payroll-overview-item span,.payroll-overview-item small{color:var(--text-muted);font-size:.76rem}.payroll-overview-item strong{color:var(--text-main);font-size:1rem;line-height:1.15}.payroll-activity-column,.payroll-compact-list{gap:.66rem;display:grid}.payroll-compact-list{margin:0;padding:0;list-style:none}.payroll-compact-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.46rem;padding:.58rem .64rem;display:grid}.payroll-compact-row strong{display:block}.payroll-compact-row span{color:var(--text-muted);font-size:.78rem}.payroll-compact-row-amount{text-align:right;font-weight:850}.payroll-employee-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:.72rem;display:grid}.payroll-employee-card-main{grid-template-columns:auto minmax(0,1fr) auto;display:grid}.payroll-employee-card-tags{flex-wrap:wrap;gap:.36rem;display:flex}.payroll-card-chip{color:var(--text-muted);padding:.28rem .46rem;font-size:.74rem;font-weight:700}.payroll-card-chip.accent{background:var(--warn-bg);border-color:var(--warn-line);color:var(--warn-text)}.payroll-card-chip.muted{background:var(--surface-soft)}.employee-avatar-badge,.employee-avatar-preview{border:1px solid var(--line-soft);border-radius:999px;justify-content:center;align-items:center;font-weight:850;display:inline-flex}.employee-avatar-badge{width:2.45rem;height:2.45rem}.employee-avatar-preview{width:4rem;height:4rem;font-size:1.35rem}.payroll-employee-modal{max-width:min(1040px,100vw - 1.4rem)}.payroll-modal-form-grid,.payroll-modal-history-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.62rem;display:grid}.payroll-modal-section-wide,.payroll-modal-history-grid{grid-column:1/-1}.employee-avatar-preset{align-items:center;gap:.45rem;min-height:2.7rem;padding:.4rem .55rem;display:flex}.employee-avatar-preset-badge{border-radius:999px;justify-content:center;align-items:center;width:1.85rem;height:1.85rem;font-weight:850;display:inline-flex}.summary-primary-tabs,.summary-workbench-nav{gap:.44rem;padding-bottom:.1rem;display:flex;overflow-x:auto}.summary-primary-tab,.summary-workbench-nav-button{-webkit-appearance:none;appearance:none;border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);cursor:pointer;background:0 0;font-weight:700}.summary-primary-tab{flex:none;min-height:2.45rem;padding:.42rem .7rem}.summary-primary-tab.active,.summary-primary-tab[aria-selected=true],.summary-workbench-nav-button.active{background:var(--surface-alt);border-color:var(--line-strong)}.summary-workbench{align-items:start;gap:var(--ui-content-gap);grid-template-columns:minmax(0,1fr);width:100%;min-width:0;max-width:100%;display:grid;overflow-x:clip}.summary-workbench-main,.summary-detail-shell{gap:.76rem;min-width:0;display:grid}.summary-workbench-header{border-bottom:1px solid var(--line-soft);padding-bottom:.58rem}.summary-workbench-header h3{margin:0}.summary-workbench-context{color:var(--text-muted);margin:.16rem 0 0;font-size:.84rem}.summary-workbench-rail{min-width:0}.summary-workbench-nav{border-bottom:1px solid var(--line-soft);flex-direction:row;align-items:stretch;min-width:0;max-width:100%;padding-bottom:.5rem}.summary-workbench-nav-button{text-align:left;flex:0 0 clamp(10rem,17vw,14rem);gap:.12rem;min-width:0;padding:.56rem .62rem;display:grid}.summary-workbench-nav-button span{color:var(--text-muted);font-size:.78rem;font-weight:600}.summary-daily-board,.summary-hourly-shell,.summary-calendar-shell,.procurement-summary-shell,.cash-flow-summary-shell,.performance-summary-shell,.debt-summary-shell,.summary-placeholder-view{gap:var(--ui-content-gap);min-width:0;display:grid}.summary-daily-layout,.summary-hourly-shell,.summary-calendar-shell,.procurement-summary-grid,.cash-flow-summary-grid,.performance-summary-grid,.debt-summary-grid,.summary-placeholder-metrics{align-items:start;gap:var(--ui-content-gap);grid-template-columns:minmax(0,1.28fr) minmax(300px,.72fr);display:grid}.summary-daily-overview,.summary-daily-support-grid,.summary-hourly-kpi-grid,.summary-calendar-kpis,.procurement-summary-kpi-grid,.cash-flow-summary-kpi-grid,.performance-summary-kpi-grid,.debt-summary-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.6rem;display:grid}.summary-daily-panel,.summary-daily-table-panel,.summary-hourly-panel,.summary-hourly-chart-panel,.summary-hourly-top-panel,.summary-calendar-board,.summary-calendar-inspector,.procurement-summary-panel,.procurement-summary-section,.cash-flow-summary-panel,.performance-summary-panel,.debt-summary-panel,.summary-placeholder-panel{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-panel);box-shadow:none;gap:.72rem;padding:.82rem;display:grid}.summary-daily-panel-head,.summary-hourly-panel-head,.summary-calendar-head,.summary-calendar-inspector-head,.procurement-summary-head,.procurement-summary-section-head,.cash-flow-summary-head,.cash-flow-summary-section-head,.performance-summary-head,.performance-summary-section-head,.debt-summary-head,.debt-summary-section-head{justify-content:space-between;align-items:center;gap:.72rem;display:flex}.summary-daily-heading h3,.summary-hourly-heading h4,.summary-calendar-heading h4,.summary-calendar-inspector-head h4,.procurement-summary-head h4,.procurement-summary-section-head h4,.cash-flow-summary-heading h4,.cash-flow-summary-section-head h4,.performance-summary-heading h4,.performance-summary-section-head h4,.debt-summary-heading h4,.debt-summary-section-head h4,.summary-placeholder-copy h4{margin:0}.summary-daily-meta,.summary-hourly-heading p,.summary-calendar-heading p,.summary-calendar-inspector-head p,.procurement-summary-head p,.procurement-summary-section-head p,.cash-flow-summary-heading p,.cash-flow-summary-section-head p,.performance-summary-heading p,.performance-summary-section-head p,.debt-summary-heading p,.debt-summary-section-head p,.summary-placeholder-copy p{color:var(--text-muted);margin:0;font-size:.84rem}.summary-daily-filter-grid,.summary-hourly-filter-field,.summary-calendar-toolbar,.procurement-summary-range-controls,.cash-flow-summary-toolbar{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end;gap:.58rem;display:grid}.summary-daily-filter-field,.summary-hourly-filter-field,.summary-calendar-date-field,.procurement-summary-range-field,.cash-flow-summary-filter-field,.performance-summary-filter-field,.debt-summary-filter-field{color:var(--text-muted);gap:.28rem;font-size:.78rem;font-weight:700;display:grid}.summary-empty-state{border:1px dashed var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-muted);background:0 0;gap:.16rem;padding:.78rem;display:grid}.procurement-summary-product-providers{color:var(--text-muted);grid-column:1/-1;margin:0;font-size:.82rem;font-weight:650}.summary-empty-state strong{color:var(--text-main)}.summary-daily-table-scroll,.summary-hourly-chart,.procurement-summary-purchase-table,.procurement-detail-table,.procurement-summary-variation-table,.cash-flow-summary-table-wrap,.performance-summary-table-wrap,.debt-summary-table-wrap{max-width:100%;overflow-x:auto}.summary-daily-table,.cash-flow-summary-table,.performance-summary-table,.debt-summary-table{border-collapse:collapse;min-width:var(--ui-table-min);width:100%}.summary-daily-table th,.summary-daily-table td,.cash-flow-summary-table th,.cash-flow-summary-table td,.performance-summary-table th,.performance-summary-table td,.debt-summary-table th,.debt-summary-table td{border-bottom:1px solid var(--line-soft);text-align:left;vertical-align:top;padding:.5rem .55rem}.summary-record-badge,.summary-calendar-fc-event-chip{border:1px solid var(--line-soft);color:var(--text-muted);border-radius:.42rem;padding:.16rem .38rem;font-size:.72rem;font-weight:800;display:inline-flex}.summary-record-badge.module-pos,.summary-record-badge.kind-sale{background:var(--good-bg);border-color:var(--good-line);color:var(--good-text)}.summary-record-badge.module-compras,.summary-record-badge.kind-purchase,.summary-record-badge.module-gastos,.summary-record-badge.kind-expense,.summary-record-badge.kind-cash_correction{background:var(--warn-bg);border-color:var(--warn-line);color:var(--warn-text)}.summary-record-badge.module-tesoreria,.summary-record-badge.module-caja,.summary-record-badge.kind-treasury,.summary-record-badge.kind-cash_count{background:var(--surface-alt)}.summary-record-detail,.summary-hourly-top-copy,.cash-flow-summary-table-copy,.performance-summary-table-copy,.debt-summary-table-copy,.cash-flow-summary-side-copy,.performance-summary-side-copy,.debt-summary-side-copy{gap:.1rem;display:grid}.summary-record-detail span,.summary-record-role,.summary-record-account,.summary-record-payment,.summary-hourly-top-copy small,.cash-flow-summary-table-copy small,.performance-summary-table-copy small,.debt-summary-table-copy small,.cash-flow-summary-side-copy small,.performance-summary-side-copy small,.debt-summary-side-copy small{color:var(--text-muted);font-size:.78rem}.summary-record-amount,.performance-summary-table-amount,.debt-summary-table-amount{text-align:right;font-weight:850}.summary-record-amount.positive,.performance-summary-table-amount.positive strong{color:var(--good-text)}.summary-record-amount.negative,.performance-summary-table-amount.warning strong{color:var(--risk-text)}.summary-record-amount.neutral{color:var(--text-muted)}.summary-daily-stat-card,.summary-hourly-kpi-card,.summary-calendar-kpi,.procurement-summary-kpi-card,.cash-flow-summary-kpi-card,.performance-summary-kpi-card,.debt-summary-kpi-card,.summary-placeholder-metric-card{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);gap:.12rem;min-width:0;padding:.62rem .68rem;display:grid}.summary-daily-stat-card dt,.summary-hourly-kpi-card span,.summary-calendar-kpi span,.procurement-summary-kpi-card span,.cash-flow-summary-kpi-card span,.performance-summary-kpi-card span,.debt-summary-kpi-card span,.summary-placeholder-metric-card span{color:var(--text-muted);font-size:.74rem;font-weight:700}.summary-daily-stat-card dd,.summary-hourly-kpi-card strong,.summary-calendar-kpi strong,.procurement-summary-kpi-card strong,.cash-flow-summary-kpi-card strong,.performance-summary-kpi-card strong,.debt-summary-kpi-card strong,.summary-placeholder-metric-card strong{color:var(--text-main);margin:0;font-size:1rem;font-weight:850}.summary-daily-stat-card.emphasis,.summary-hourly-kpi-card.emphasis,.summary-calendar-kpi.emphasis,.procurement-summary-kpi-card.emphasis,.cash-flow-summary-kpi-card.emphasis,.performance-summary-kpi-card.emphasis,.debt-summary-kpi-card.emphasis{border-color:var(--line-strong)}.summary-daily-stat-card.positive,.summary-hourly-kpi-card.positive,.cash-flow-summary-kpi-card.positive,.performance-summary-kpi-card.positive,.debt-summary-kpi-card.positive{background:var(--good-bg);border-color:var(--good-line)}.summary-daily-stat-card.warning,.summary-calendar-kpi.warning,.summary-calendar-kpi.danger,.cash-flow-summary-kpi-card.warning,.performance-summary-kpi-card.warning,.debt-summary-kpi-card.warning{background:var(--warn-bg);border-color:var(--warn-line)}.summary-daily-board.summary-daily-records-board{gap:.68rem;width:100%;min-width:0;max-width:100%;overflow-x:clip}.summary-daily-overview.summary-daily-metric-strip{border-block:1px solid var(--line-soft);background:0 0;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:0;min-width:0;max-width:100%;margin:0;display:grid}.summary-daily-overview.summary-daily-metric-strip .summary-daily-stat-card{border:0;border-right:1px solid var(--line-soft);background:0 0;border-radius:0;grid-template-columns:minmax(0,1fr);gap:.08rem;padding:.52rem .72rem}.summary-daily-overview.summary-daily-metric-strip .summary-daily-stat-card:last-child{border-right:0}.summary-daily-overview.summary-daily-metric-strip .summary-daily-stat-card dd{text-align:left;font-size:1rem}.summary-daily-overview.summary-daily-metric-strip .summary-daily-stat-card small{color:var(--text-muted);font-size:.78rem}.summary-daily-filter-toolbar{border-block:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.55rem;min-width:0;max-width:100%;padding-block-start:.62rem;padding-block-end:.62rem;display:grid}.summary-daily-filter-toolbar .summary-daily-filter-grid{grid-template-columns:minmax(130px,.75fr) minmax(118px,1fr) minmax(112px,.82fr) minmax(112px,.82fr) minmax(130px,1fr) minmax(118px,.86fr);align-items:end;gap:.52rem;min-width:0}.summary-daily-filter-toolbar .summary-daily-filter-field{min-width:0}.summary-daily-filter-toolbar .summary-daily-filter-field :-webkit-any(input,select){width:100%;min-height:2.38rem}.summary-daily-filter-toolbar .summary-daily-filter-field :is(input,select){width:100%;min-height:2.38rem}.summary-daily-filter-actions{justify-content:flex-end;align-items:end;min-width:max-content;display:flex}.summary-daily-filter-actions .secondary-button{white-space:nowrap;min-height:2.38rem}.summary-daily-layout.summary-daily-records-layout{grid-template-columns:minmax(0,1fr);align-items:start;width:100%;min-width:0;max-width:100%}.summary-daily-table-panel.summary-daily-table-priority{grid-template-rows:auto auto minmax(0,1fr);width:100%;min-width:0;min-height:min(66dvh,740px);overflow:hidden}.summary-daily-table-panel.summary-daily-records-surface{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.summary-daily-table-panel.summary-daily-table-priority .summary-daily-table-scroll{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;width:100%;max-width:100%;max-height:min(58dvh,640px);overflow-x:auto}.summary-daily-table-panel.summary-daily-table-priority .summary-daily-table{table-layout:fixed;width:max(100%,1120px);min-width:1120px}.summary-daily-table-panel.summary-daily-table-priority .summary-daily-table tbody tr:hover{background:#b689640d}.summary-daily-col-time{width:5rem}.summary-daily-col-module,.summary-daily-col-kind{width:7.1rem}.summary-daily-col-role{width:7rem}.summary-daily-col-account{width:9.5rem}.summary-daily-col-payment{width:7.2rem}.summary-daily-col-detail{width:auto}.summary-daily-col-amount{width:8.1rem}.summary-daily-col-action{width:7.4rem}.summary-daily-table-panel.summary-daily-table-priority .summary-daily-table th,.summary-daily-table-panel.summary-daily-table-priority .summary-daily-table td{overflow:hidden}.summary-daily-table-panel.summary-daily-table-priority .summary-daily-table th:nth-child(8),.summary-daily-table-panel.summary-daily-table-priority .summary-daily-table td:nth-child(8){text-align:right}.summary-daily-table-panel.summary-daily-table-priority .summary-record-badge,.summary-daily-table-panel.summary-daily-table-priority .summary-record-time,.summary-daily-table-panel.summary-daily-table-priority .summary-record-role,.summary-daily-table-panel.summary-daily-table-priority .summary-record-account,.summary-daily-table-panel.summary-daily-table-priority .summary-record-payment,.summary-daily-table-panel.summary-daily-table-priority .summary-record-detail strong,.summary-daily-table-panel.summary-daily-table-priority .summary-record-detail span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.summary-daily-table-panel.summary-daily-table-priority .summary-record-badge,.summary-daily-table-panel.summary-daily-table-priority .summary-record-detail{min-width:0}.summary-daily-table-panel.summary-daily-table-priority .summary-record-amount{text-align:right;text-overflow:ellipsis;display:block;overflow:hidden}.summary-daily-table-panel.summary-daily-table-priority .summary-record-action{text-align:right}.summary-daily-table-panel.summary-daily-table-priority .summary-record-action .secondary-button{width:100%;min-height:2rem;padding-inline-start:.52rem;padding-inline-end:.52rem}.summary-daily-table-panel.summary-daily-table-priority .summary-record-action .muted-note{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.summary-daily-actions-rail{align-content:start;min-width:0}.summary-daily-action-stack{flex-wrap:wrap;gap:.55rem;display:flex}@media (max-width:1439px){.summary-daily-filter-toolbar{grid-template-columns:minmax(0,1fr);align-items:stretch}.summary-daily-filter-toolbar .summary-daily-filter-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.summary-daily-filter-actions{justify-content:flex-start;min-width:0}.summary-daily-actions-rail{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}}@media (min-width:1440px){.summary-daily-layout.summary-daily-records-layout{grid-template-columns:minmax(0,1fr) minmax(260px,300px)}}@media (max-width:720px){.summary-workbench-nav-button{flex-basis:min(76vw,16rem)}.summary-daily-filter-toolbar{padding-block-start:.55rem;padding-block-end:.55rem}.summary-daily-filter-toolbar .summary-daily-filter-grid{grid-template-columns:minmax(0,1fr)}.summary-daily-filter-actions .secondary-button{width:100%}.summary-daily-overview.summary-daily-metric-strip{grid-template-columns:minmax(0,1fr)}.summary-daily-overview.summary-daily-metric-strip .summary-daily-stat-card{border-bottom:1px solid var(--line-soft);border-right:0;padding-inline-start:0;padding-inline-end:0}.summary-daily-overview.summary-daily-metric-strip .summary-daily-stat-card:last-child{border-bottom:0}.summary-daily-table-panel.summary-daily-table-priority{padding-inline-start:.68rem;padding-inline-end:.68rem}.summary-daily-table-panel.summary-daily-records-surface{padding-inline-start:0;padding-inline-end:0}}.summary-hourly-chart-panel{min-width:0}.summary-hourly-heading{gap:.18rem;display:grid}.summary-hourly-chart{grid-template-columns:repeat(24,minmax(28px,1fr));align-items:end;gap:.5rem;min-height:220px;display:grid}.summary-hourly-chart-column{grid-template-rows:auto 1fr auto;align-items:stretch;gap:.28rem;min-width:28px;display:grid}.summary-hourly-chart-value,.summary-hourly-chart-label{color:var(--text-muted);text-align:center;white-space:nowrap;font-size:.76rem}.summary-hourly-chart-value{font-weight:700}.summary-hourly-chart-track{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:999px;align-items:end;min-height:120px;display:flex;overflow:hidden}.summary-hourly-chart-bar{background:var(--brand-deep);width:100%}.summary-hourly-top-list,.cash-flow-summary-side-list,.cash-flow-summary-note-list,.performance-summary-side-list,.performance-summary-note-list,.debt-summary-side-list,.debt-summary-note-list{gap:.46rem;margin:0;padding:0;list-style:none;display:grid}.summary-hourly-top-item,.cash-flow-summary-side-item,.performance-summary-side-item,.debt-summary-side-item{border-top:1px solid var(--line-soft);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.48rem;padding-top:.48rem;display:grid}.summary-hourly-top-rank{background:var(--surface-alt);border-radius:999px;justify-content:center;align-items:center;width:2rem;height:2rem;font-weight:850;display:inline-flex}.summary-hourly-top-copy strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.summary-hourly-top-amount{color:var(--text-main);text-align:right;white-space:nowrap;font-size:.84rem;font-weight:800}.summary-calendar-shell{grid-template-columns:minmax(0,1fr) minmax(300px,.32fr)}.summary-calendar-fullcalendar{min-height:min(720px,100vh - 260px)}.summary-calendar-fullcalendar .fc{color:var(--text-main);font:inherit}.summary-calendar-fullcalendar .fc-theme-standard .fc-scrollgrid,.summary-calendar-fullcalendar .fc-theme-standard td,.summary-calendar-fullcalendar .fc-theme-standard th{border-color:var(--line-soft)}.summary-calendar-fullcalendar .fc .fc-col-header-cell-cushion,.summary-calendar-fullcalendar .fc .fc-daygrid-day-number{color:var(--text-main);font-weight:700;text-decoration:none}.summary-calendar-fullcalendar .fc .fc-daygrid-event{cursor:grab;background:0 0;border:0}.summary-calendar-fc-event-content{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);gap:.08rem;padding:.22rem .32rem;display:grid}.summary-calendar-fullcalendar .fc .summary-calendar-fc-event.is-late .summary-calendar-fc-event-content{border-color:var(--risk-line)}.summary-calendar-fullcalendar .fc .summary-calendar-fc-event.is-paid .summary-calendar-fc-event-content{border-color:var(--good-line)}.summary-calendar-inspector-body,.summary-calendar-funding-panel{gap:.62rem;display:grid}.summary-calendar-inspector-row,.summary-calendar-confirm-grid div,.procurement-detail-summary div{border-top:1px solid var(--line-soft);gap:.12rem;padding-top:.42rem;display:grid}.summary-calendar-inspector-row span,.summary-calendar-confirm-grid span,.procurement-detail-summary span{color:var(--text-muted);font-size:.76rem;font-weight:700}.summary-calendar-inspector-block,.summary-calendar-funding-toggle-row,.summary-calendar-funding-panel,.summary-calendar-confirm-panel,.procurement-delete-confirm-card{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);padding:.66rem}.summary-calendar-funding-switch{-webkit-appearance:none;appearance:none;background:var(--surface-main);border:1px solid var(--line-soft);cursor:pointer;border-radius:999px;justify-content:flex-start;align-items:center;width:3.4rem;height:1.9rem;padding:.18rem;display:inline-flex}.summary-calendar-funding-switch>span{background:var(--line-strong);border-radius:999px;width:1.42rem;height:1.42rem}.summary-calendar-funding-switch.is-on{background:var(--good-bg);border-color:var(--good-line);justify-content:flex-end}.summary-calendar-confirm-modal,.procurement-receipt-viewer-overlay,.procurement-detail-viewer-overlay,.procurement-delete-confirm-overlay{z-index:var(--ui-modal-critical-z);background:#261d177a;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.summary-calendar-confirm-panel,.procurement-delete-confirm-card{width:100%;max-width:min(520px,100vw - 1.4rem)}.procurement-receipt-viewer,.procurement-detail-viewer{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-panel);gap:.72rem;width:min(1080px,100vw - 1.4rem);max-height:calc(100vh - 2rem);padding:.82rem;display:grid;overflow:auto}.procurement-receipt-viewer-head,.procurement-detail-viewer-head,.procurement-detail-viewer-actions,.procurement-delete-confirm-actions{justify-content:space-between;align-items:center;gap:.58rem;display:flex}.procurement-receipt-viewer-body{gap:.76rem;display:grid}.procurement-receipt-viewer-page{border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);margin:0;padding:.5rem}.procurement-receipt-viewer-page-frame{background:var(--surface-muted);justify-content:center;align-items:center;min-height:min(620px,100vh - 14rem);padding:.5rem;display:flex;overflow:auto}.procurement-receipt-viewer-page img{object-fit:contain;transform-origin:50%;width:100%;max-height:calc(100vh - 10rem);transition:transform .14s;display:block}.procurement-receipt-viewer-page-caption{justify-content:space-between;align-items:center;gap:.58rem;padding-top:.5rem;display:flex}.procurement-receipt-rotation-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.4rem;display:flex}.procurement-receipt-empty-state{border:1px dashed var(--line-strong);border-radius:var(--ui-radius-control);align-items:flex-start;gap:.62rem;padding:1rem;display:grid}.procurement-receipt-empty-state strong{color:var(--text-strong)}.procurement-receipt-empty-state span{color:var(--text-muted)}.procurement-receipt-upload-actions{flex-wrap:wrap;align-items:center;gap:.58rem;display:flex}.procurement-receipt-file-input{background:var(--surface-strong);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-strong);cursor:pointer;align-items:center;min-height:2.45rem;padding:.58rem .78rem;font-weight:800;display:inline-flex}.procurement-receipt-file-input input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.procurement-receipt-file-input:has(input:disabled){cursor:progress;opacity:.65}.procurement-receipt-upload-message{color:var(--text-muted);margin:0}.procurement-summary-purchase-table,.procurement-detail-table,.procurement-summary-variation-table{min-width:var(--ui-table-min);display:grid}.procurement-summary-purchase-row,.procurement-detail-row,.procurement-summary-variation-row{border-bottom:1px solid var(--line-soft);gap:.56rem;padding:.5rem .54rem;display:grid}.procurement-summary-purchase-row{grid-template-columns:minmax(220px,1.4fr) 110px 90px 110px minmax(190px,auto)}.procurement-detail-row{grid-template-columns:minmax(220px,1.5fr) 100px 100px 120px 120px 120px}.procurement-summary-variation-row{grid-template-columns:minmax(190px,1.1fr) minmax(130px,.7fr) minmax(150px,.8fr) minmax(120px,.7fr) minmax(120px,.7fr) minmax(105px,.55fr) minmax(170px,.9fr) minmax(230px,1.1fr)}.procurement-summary-invoice-arrow{width:100%;min-height:2rem;padding:.32rem .5rem}.procurement-summary-variation-select{background:var(--surface);border:1px solid var(--line-soft);border-radius:var(--radius-sm);color:var(--text);font:inherit;width:100%;min-height:2.1rem;padding:.32rem .5rem}.procurement-summary-purchase-row-head,.procurement-detail-row-head,.procurement-summary-variation-row-head{color:var(--text-muted);font-size:.76rem;font-weight:800}.procurement-summary-purchase-copy,.procurement-detail-item-copy,.procurement-summary-plan-copy{gap:.1rem;display:grid}.procurement-summary-purchase-copy small,.procurement-detail-item-copy small,.procurement-summary-plan-copy small,.procurement-summary-plan-meta span{color:var(--text-muted);font-size:.78rem}.procurement-summary-purchase-actions,.procurement-detail-viewer-actions,.procurement-delete-confirm-actions{flex-wrap:wrap}.procurement-detail-edit-panel,.procurement-detail-summary,.procurement-delete-confirm-summary,.procurement-summary-plan-item{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);padding:.62rem}.procurement-summary-variation-section{grid-column:1/-1}.procurement-detail-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.58rem;display:grid}.procurement-detail-summary,.procurement-delete-confirm-summary{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.52rem;display:grid}.procurement-summary-plan-list{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.procurement-summary-plan-item{gap:.52rem;display:grid}.procurement-summary-plan-meta{flex-wrap:wrap;gap:.42rem;display:flex}@media (max-width:1180px) and (max-height:940px){.finance-transactions-workspace,.finance-amortization-workspace,.finance-pockets-layout,.expenses-layout,.payroll-workbench,.summary-workbench,.summary-daily-layout,.summary-hourly-shell,.summary-calendar-shell,.procurement-summary-grid,.cash-flow-summary-grid,.performance-summary-grid,.debt-summary-grid{gap:.72rem}.finance-command-panel,.finance-transactions-table-shell,.finance-transaction-composer-shell,.expenses-wizard-card,.payroll-directory-panel,.summary-daily-panel,.summary-calendar-board,.procurement-summary-panel{padding:.72rem}.summary-calendar-fullcalendar{min-height:560px}}@media (max-width:980px){.finance-section-nav-row{grid-template-columns:1fr}.finance-close-tab-row{justify-content:flex-start;margin:0 0 .72rem}.cash-closing-wizard-actions{grid-template-columns:1fr}.cash-closing-reset-button,.cash-closing-next-button{justify-self:stretch}.finance-transactions-workspace,.finance-amortization-workspace,.finance-pockets-layout,.expenses-layout,.payroll-workbench,.summary-workbench,.summary-daily-layout,.summary-hourly-shell,.summary-calendar-shell,.procurement-summary-grid,.cash-flow-summary-grid,.performance-summary-grid,.debt-summary-grid,.summary-placeholder-metrics{grid-template-columns:1fr}.summary-workbench-nav{flex-direction:row}.summary-workbench-nav-button{flex:0 0 min(230px,74vw)}}@media (max-width:760px){.session-opening-details,.finance-command-grid,.finance-health-grid,.finance-circuit-grid,.finance-credit-card-grid,.finance-investment-card-grid,.finance-account-card-grid,.finance-amortization-summary-strip,.finance-transaction-form-grid,.finance-credit-form-grid,.finance-credit-payment-form,.finance-investment-form-grid,.finance-pocket-form-grid,.finance-account-form-grid,.finance-amortization-form-grid,.expense-consumption-facts,.expense-consumption-summary-card,.payroll-employee-metrics,.payroll-employee-card-details,.payroll-employee-modal-summary,.payroll-modal-summary-list,.payroll-employee-card-stats,.payroll-overview-strip,.payroll-modal-form-grid,.payroll-modal-history-grid,.expenses-history-filter-toolbar,.summary-daily-overview,.summary-daily-support-grid,.summary-hourly-kpi-grid,.summary-calendar-kpis,.procurement-summary-kpi-grid,.cash-flow-summary-kpi-grid,.performance-summary-kpi-grid,.debt-summary-kpi-grid,.procurement-detail-edit-grid{grid-template-columns:1fr}.finance-v2-status-row,.finance-context-banner,.finance-command-header,.finance-health-header,.finance-circuit-header,.finance-transactions-header,.finance-transactions-table-header,.finance-amortization-section-header,.finance-credits-header,.finance-credit-detail-header,.finance-investments-header,.finance-investment-detail-header,.finance-pockets-header,.finance-pocket-dialog-header,.finance-accounts-toolbar,.finance-account-movements-header,.expenses-card-header,.expenses-history-header,.expense-payroll-section-header,.payroll-panel-header,.payroll-employee-card-main,.payroll-employee-card-header,.payroll-employee-modal-header,.summary-daily-panel-head,.summary-hourly-panel-head,.summary-calendar-head,.summary-calendar-inspector-head,.procurement-summary-head,.procurement-summary-section-head,.cash-flow-summary-head,.cash-flow-summary-section-head,.performance-summary-head,.performance-summary-section-head,.debt-summary-head,.debt-summary-section-head,.procurement-receipt-viewer-page-caption,.procurement-receipt-viewer-head,.procurement-detail-viewer-head{flex-direction:column;align-items:stretch}.finance-movement-card,.finance-transaction-card-head,.payroll-compact-row,.expense-product-search-option,.expenses-review-list p,.summary-hourly-top-item,.cash-flow-summary-side-item,.performance-summary-side-item,.debt-summary-side-item,.procurement-summary-purchase-row,.procurement-detail-row,.procurement-summary-variation-row{grid-template-columns:1fr}.finance-movement-amount,.summary-record-amount,.performance-summary-table-amount,.debt-summary-table-amount,.payroll-compact-row-amount{text-align:left}.summary-calendar-fullcalendar{min-height:520px}.procurement-receipt-viewer,.procurement-detail-viewer{max-height:calc(100vh - 1rem);padding:.68rem}}.app-section-compliance,.app-section-settings,.modules-shell{box-shadow:none;background:0 0;border:0;gap:.76rem;margin-top:.14rem;padding:0}.app-section:has(.sync-kpi-grid){box-shadow:none;background:0 0;border:0;gap:.76rem;margin-top:.14rem;padding:0}.card:has(#status-title){box-shadow:none;background:0 0;border:0;gap:.76rem;margin-top:.14rem;padding:0}.app-section-compliance .app-section-title,.app-section-settings .app-section-title{border-bottom:1px solid var(--line-soft);margin:0;padding-bottom:.58rem}.app-section:has(.sync-kpi-grid) .app-section-title{border-bottom:1px solid var(--line-soft);margin:0;padding-bottom:.58rem}.card:has(#status-title) h2{border-bottom:1px solid var(--line-soft);margin:0;padding-bottom:.58rem}.compliance-list textarea,.preformat-textarea{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.app-section-compliance :-webkit-any(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.app-section-compliance :is(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.app-section-settings :-webkit-any(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.app-section-settings :is(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.role-access-card :-webkit-any(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.role-access-card :is(input,select,textarea){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);font:inherit;width:100%;min-height:2.42rem;padding:.46rem .62rem}.compliance-list textarea:focus,.preformat-textarea:focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.app-section-compliance :-webkit-any(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.app-section-compliance :is(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.app-section-settings :-webkit-any(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.app-section-settings :is(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.role-access-card :-webkit-any(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.role-access-card :is(input,select,textarea):focus{border-color:var(--line-strong);box-shadow:var(--ui-focus-ring);outline:none}.compliance-grid{align-items:start;gap:var(--ui-content-gap);grid-template-columns:repeat(auto-fit,minmax(300px,1fr));display:grid}.compliance-operational-grid{grid-template-columns:minmax(0,1.22fr) minmax(300px,.78fr)}.app-section-compliance .module-card,.app-section-settings .module-card,.compliance-panel,.sync-log-panel,.modules-shell .module-nav-card{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-panel);box-shadow:none}.card:has(#status-title){background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-panel);box-shadow:none}.app-section-compliance .module-card,.app-section-settings .module-card,.compliance-panel,.sync-log-panel{gap:.72rem;padding:.82rem;display:grid}.card:has(#status-title){gap:.72rem;padding:.82rem;display:grid}.compliance-panel-primary{grid-row:span 2}.compliance-period-line,.sync-readiness-summary,.sync-kpi-detail,.role-access-copy,.module-card-body small{color:var(--text-muted);margin:0;font-size:.84rem;line-height:1.38}.compliance-list,.sync-log-list,.sync-alert-list{gap:0;margin:0;padding:0;list-style:none;display:grid}.card:has(#status-title) ul{gap:0;margin:0;padding:0;list-style:none;display:grid}.compliance-list li,.sync-log-list li{border-bottom:1px solid var(--line-soft);padding:.44rem 0}.card:has(#status-title) li{border-bottom:1px solid var(--line-soft);padding:.44rem 0}.compliance-list li:last-child,.sync-log-list li:last-child{border-bottom:0}.card:has(#status-title) li:last-child{border-bottom:0}.checklist-item{align-items:center;gap:.5rem;display:flex}.checklist-item input{flex:none;width:1rem;height:1rem}.preformat-textarea{min-height:7rem;font-family:Cascadia Mono,SFMono-Regular,Consolas,monospace}.module-separator{border:0;border-top:1px solid var(--line-soft);margin:.82rem 0}.modules-toolbar,.section-heading-row{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:.72rem;margin-bottom:.82rem;padding-bottom:.58rem;display:flex}.modules-toolbar h2,.section-heading-row h2,.module-card-body h3,.sync-log-panel h3,.sync-log-panel h4,.compliance-panel h3,.compliance-panel h4{margin:0}.module-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.62rem;display:grid}.modules-shell .module-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.modules-shell .module-nav-card{-webkit-appearance:none;appearance:none;text-align:left;grid-template-rows:auto 1fr;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:.62rem;min-height:132px;padding:.78rem;display:grid}.modules-shell .module-nav-card:hover{border-color:var(--line-strong);box-shadow:none}.module-card-head{justify-content:space-between;align-items:center;gap:.55rem;display:flex}.module-card-icon{background:var(--surface-alt);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);justify-content:center;align-items:center;width:2.55rem;height:2.55rem;display:inline-flex}.module-card-icon img{width:1.35rem;height:1.35rem;display:block}.module-access-badge,.role-chip,.sync-status-chip{border:1px solid var(--line-soft);border-radius:.42rem;padding:.16rem .42rem;font-size:.74rem;font-weight:800;display:inline-flex}.module-access-badge,.role-chip{background:var(--surface-alt);color:var(--text-muted);letter-spacing:0;text-transform:none}.role-chip.admin{background:var(--warn-bg);border-color:var(--warn-line);color:var(--warn-text)}.role-chip.manager{background:var(--surface-alt);border-color:var(--line-soft);color:var(--text-muted)}.module-card-body{grid-column:1/2;gap:.16rem;min-width:0;display:grid}.module-card-arrow{color:var(--text-muted);grid-area:2/2/3/3;justify-content:end;align-items:end;display:inline-flex}.module-card-arrow svg{width:1rem;height:1rem;display:block}.sync-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.62rem;margin:0;display:grid}.sync-health-card{border-color:var(--line-soft)}.sync-health-healthy{background:var(--good-bg);border-color:var(--good-line)}.sync-health-degraded{background:var(--warn-bg);border-color:var(--warn-line)}.sync-health-blocked{background:var(--risk-bg);border-color:var(--risk-line)}.sync-log-panel{margin-top:0;overflow:hidden}.sync-log-panel .table-scroll{margin:0}.sync-log-list{max-height:260px;overflow-y:auto}.sync-alert-list{gap:.44rem}.sync-alert-item{border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);gap:.18rem;padding:.56rem .62rem;display:grid}.sync-alert-item span{color:var(--text-muted);font-size:.84rem;line-height:1.35}.sync-alert-info{background:var(--surface-alt)}.sync-alert-warn{background:var(--warn-bg);border-color:var(--warn-line)}.sync-alert-error{background:var(--risk-bg);border-color:var(--risk-line)}.sync-status-pass{background:var(--good-bg);border-color:var(--good-line);color:var(--good-text)}.sync-status-warn{background:var(--warn-bg);border-color:var(--warn-line);color:var(--warn-text)}.sync-status-fail{background:var(--risk-bg);border-color:var(--risk-line);color:var(--risk-text)}.role-access-overlay{z-index:var(--ui-modal-critical-z);background:#261d1794;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.role-access-card{background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-panel);box-shadow:var(--shadow-md);gap:.72rem;width:100%;max-width:min(560px,100vw - 1.4rem);padding:.92rem;display:grid}.role-access-card h2{margin:0}.role-access-actions,.session-access-actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;display:flex}.role-access-button{-webkit-appearance:none;appearance:none;background:var(--surface-main);border:1px solid var(--line-soft);border-radius:var(--ui-radius-control);color:var(--text-main);cursor:pointer;min-height:2.42rem;padding:.46rem .72rem;font-weight:800}.role-access-button.admin{background:var(--brand-deep);border-color:var(--brand-deep);color:#fff8ef}.role-access-button:hover{border-color:var(--line-strong)}.session-auth-form{gap:.32rem;display:grid}.session-auth-form label{color:var(--text-muted);font-size:.8rem;font-weight:700}@media (max-width:1180px) and (max-height:940px){.compliance-grid,.sync-kpi-grid,.module-grid{gap:.62rem}.app-section-compliance .module-card,.app-section-settings .module-card,.compliance-panel,.sync-log-panel,.modules-shell .module-nav-card{padding:.72rem}}@media (max-width:980px){.compliance-operational-grid{grid-template-columns:1fr}.compliance-panel-primary{grid-row:auto}}@media (max-width:760px){.compliance-grid,.module-grid,.modules-shell .module-grid,.sync-kpi-grid{grid-template-columns:1fr}.modules-toolbar,.section-heading-row,.role-access-actions,.session-access-actions{flex-direction:column;align-items:stretch}.role-access-actions .secondary-button,.role-access-actions .role-access-button,.session-access-actions .secondary-button,.session-access-actions .role-access-button{width:100%}.modules-shell .module-nav-card{min-height:auto}}
