:root{color:#21302c;--surface:#fff;--ink:#21302c;--muted:#4f625c;--accent:#17634f;--line:#d8e1d8;--tint:#e7f1e9;--gap:1.15rem;background:#f5f6f0;font:100%/1.5 system-ui,sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}body{flex-direction:column;min-height:100vh;margin:0;display:flex}.wrap{width:min(100% - 2rem,76rem);margin-inline:auto}.workspace{align-items:start;gap:var(--gap);flex:1;grid-template-columns:10rem minmax(0,1fr);padding-block:clamp(1.5rem,4vw,3rem);display:grid}.page-nav{background:var(--surface);border:1px solid var(--line);border-radius:.7rem;flex-direction:column;align-items:stretch;gap:.25rem;padding:.45rem}.page-nav a,.review-nav a{border-radius:.4rem;padding:.55rem .65rem}.page-nav a{color:var(--ink);text-decoration:none}.page-nav a:hover,.page-nav a[aria-current=page]{background:var(--tint)}.page-nav a[aria-current=page]{font-weight:700}.review-nav{gap:.25rem;margin-inline-start:-.65rem}@media (width<=56rem){.workspace{grid-template-columns:minmax(0,1fr)}.page-nav{flex-flow:wrap}}a{color:var(--accent);text-underline-offset:.2em}button,input,select{font:inherit;color:inherit}button{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:.45rem;padding:.48rem .8rem}button:hover{background:var(--tint)}.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.primary:hover{background:var(--ink)}:focus-visible{outline-offset:3px;outline:3px solid #b25528}.skip{z-index:2;background:#fff;padding:.5rem;position:absolute;top:.5rem;left:1rem}.skip:not(:focus){transform:translateY(-200%)}.shell-header{background:var(--surface);border-bottom:1px solid var(--line)}.header-inner,.footer-inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.85rem;padding-block:.95rem;display:flex}.brand{color:var(--ink);font-size:1.25rem;font-weight:800;text-decoration:none}.brand span{color:var(--accent)}nav,.actions{flex-wrap:wrap;align-items:center;gap:.65rem 1rem;display:flex}.shell-footer{background:var(--surface);border-top:1px solid var(--line);color:var(--muted);font-size:.9rem}.eyebrow{color:var(--accent);font-weight:650}h1,h2,h3,h4,p{margin:0}h1{letter-spacing:-.045em;font-size:clamp(2rem,5vw,3.5rem);line-height:1.1}h2{font-size:1.55rem}h3{font-size:1.1rem}h4{margin-top:.9rem}p{color:var(--muted)}h1+p,h3+p,h4+p{margin-top:.4rem}.page-heading{margin-bottom:var(--gap)}.page-heading .eyebrow{margin-block:.45rem}.grid{gap:var(--gap);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.panel,.kpis>div{background:var(--surface);border:1px solid var(--line);border-radius:.7rem;min-width:0;padding:clamp(.85rem,2vw,1.4rem)}.daily-chart{width:100%;height:clamp(19rem,38vw,25rem);overflow:hidden}#today-daily,#today-demand{margin-block-start:var(--gap)}.daily-chart+details{margin-top:.6rem}.daily-chart+details summary{cursor:pointer}.dashboard-section{gap:var(--gap);margin-top:2rem;display:grid}.notice{margin-block:var(--gap);color:var(--muted)}.date-panel h2{font-size:1.1rem}#hoy>h1,#hoy>.date-panel{margin-block-end:var(--gap)}.dates{flex-wrap:wrap;align-items:end;gap:.6rem;margin-top:.65rem;display:flex}.dates label{gap:.2rem;font-size:.9rem;display:grid}.association-pagination:not([hidden]),#cash-review-pagination:not([hidden]){flex-wrap:wrap;align-items:center;gap:.6rem;margin-top:.65rem;display:flex}.dates input,.dates select{border:1px solid var(--line);background:#fff;border-radius:.35rem;padding:.42rem}#comparison{margin-top:.8rem}.kpis{gap:var(--gap);grid-template-columns:repeat(3,minmax(0,1fr));margin:0;display:grid}dt{color:var(--muted)}dd{margin:0;font-weight:680}.kpis dd{letter-spacing:-.04em;font-size:clamp(1.35rem,3vw,2.5rem)}.kpis .kpi-variation{letter-spacing:normal;margin-top:.5rem;font-size:.9rem}.stats{margin:.6rem 0 0}.stats div{border-bottom:1px solid var(--line);justify-content:space-between;gap:.5rem;padding-block:.35rem;display:flex}.stats dd{text-align:right}.bars{gap:.5rem;margin:.8rem 0 0;padding:0;list-style:none;display:grid}.bars li{grid-template-columns:7rem minmax(1rem,1fr) auto;align-items:center;gap:.5rem;font-size:.9rem;display:grid}.track{background:var(--line);border-radius:.3rem;overflow:hidden}.track span{background:var(--accent);height:.65rem;display:block}.table-scroll{margin-top:.5rem;overflow:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:.9rem}th,td{border-bottom:1px solid var(--line);padding:.4rem .5rem}td{text-align:right}.heatmap th,.heatmap td{text-align:center;min-width:2.35rem}.heatmap th:first-child{background:var(--surface);position:sticky;left:0}.heat-hit{background:var(--tint);color:var(--ink);font-weight:800}.heat-hit[data-volume="2"]{background:var(--accent);color:#fff}dialog{border:1px solid var(--line);width:min(100% - 2rem,33rem);color:var(--ink);border-radius:.7rem;padding:1.3rem}dialog::backdrop{background:#121d28a0}dialog form{margin-top:1rem}@media (width<=44rem){.grid,.kpis{grid-template-columns:1fr}}.dashboard-section{grid-template-columns:minmax(0,1fr)}.rule-filter{flex-wrap:wrap;align-items:center;gap:.55rem;margin-top:.65rem;display:flex}.rule-filter select{font:inherit;color:inherit}@media (width<=25rem){.bars li{grid-template-columns:minmax(0,1fr) minmax(1rem,1fr) auto}}.theme-picker{color:var(--on-header);position:relative}.theme-picker summary{border:1px solid var(--header-line);cursor:pointer;border-radius:.45rem;place-items:center;min-width:2.75rem;min-height:2.6rem;font-size:1.3rem;line-height:1;display:grid}.theme-picker summary::-webkit-details-marker{display:none}.theme-picker summary:hover{background:var(--header-hover)}.theme-menu{z-index:1;inset-inline-end:0;width:max-content;min-width:9.5rem;color:var(--ink);background:var(--surface);border:1px solid var(--control-line);border-radius:.45rem;margin:0;padding:.35rem .6rem .55rem;position:absolute;top:calc(100% + .3rem);box-shadow:0 .3rem .85rem #0002}.theme-picker fieldset{border:0;margin:0;padding:0}.theme-picker legend{padding-inline:.3rem}.shell-header .theme-menu button{width:100%;color:var(--ink);background:var(--surface);border-color:var(--control-line);margin-top:.45rem}.shell-header .theme-menu button:hover{background:var(--surface-hover)}.shell-header .theme-menu :focus-visible{outline-color:var(--focus)}.theme-picker label{cursor:pointer;align-items:center;gap:.4rem;padding:.3rem;display:flex}.theme-picker label:hover{background:var(--surface-hover)}.theme-picker input{accent-color:var(--accent)}@media (width<=45rem){.actions{position:relative}.theme-picker{position:static}}#customer-query{border:1px solid var(--control-line);background:var(--surface);width:min(100%,14rem);color:var(--ink);border-radius:.45rem;padding:.48rem .65rem}#customer-query::placeholder{color:var(--muted)}#action-dialog input[type=file]{max-width:100%;margin-block:.4rem .8rem;display:block}#search-results:empty{display:none}#search-results small{display:block}#search-results li+li{margin-top:.8rem}body .shell-header{background:var(--header);border-color:var(--highlight)}body .shell-header a{color:var(--on-header)}body .shell-header .brand span{color:var(--highlight)}body .shell-header button{background:var(--header);color:var(--on-header);border-color:var(--header-line)}body .shell-header button:hover{background:var(--header-hover)}body :focus-visible{outline-color:var(--focus)}body .shell-header :focus-visible{outline-color:var(--highlight)}body h1,body h2,body .kpis dd{color:var(--heading)}body button:hover{background:var(--surface-hover)}body .primary{color:var(--on-accent)}body .primary:hover{background:var(--accent-strong);border-color:var(--accent-strong)}body .dates input,body .dates select,body .rule-filter select{color:var(--ink);background:var(--surface);border:1px solid var(--control-line)}body .shell-footer{color:var(--subtle)}body .kpis>div{border-top:.25rem solid var(--accent)}body .track span{background:var(--graph)}body .heat-hit{background:var(--tint);color:var(--ink)}body .heat-hit[data-volume="2"]{background:var(--highlight);color:var(--on-highlight)}body .notice{color:var(--info);background:var(--info-bg);border-radius:.45rem;padding:.55rem .8rem}body dialog,body .skip{background:var(--surface)}body dialog::backdrop{background:var(--dialog-backdrop)}.heatmap-chart{--heatmap-zero:#e1e4e8;--heatmap-low:#83beff;--heatmap-high:#174783;width:100%;height:16rem}[data-theme=dark] .heatmap-chart{--heatmap-zero:#495465;--heatmap-low:#3a67a9;--heatmap-high:#a3d5ff}.distribution-chart{width:100%;height:16rem}#customer-search{position:relative}#customer-matches{z-index:2;inset-inline:0;border:1px solid var(--control-line);background:var(--surface);border-radius:.45rem;max-height:16rem;padding:.35rem .6rem;position:absolute;top:calc(100% + .3rem);overflow:auto;box-shadow:0 .3rem .85rem #0002}#customer-matches ul{margin:0;padding:0;list-style:none}#customer-matches li{margin-top:.3rem}#customer-matches button{text-align:start;overflow-wrap:anywhere;width:100%;color:var(--ink);background:var(--surface);border-color:var(--control-line)}#customer-matches button:hover{background:var(--surface-hover)}#audit-calendar{padding-block-end:.75rem}.audit-calendar{border-collapse:separate;border-spacing:.15rem;width:max-content}.audit-calendar th,.audit-calendar td{text-align:left;border:0;padding:0;font-size:.75rem}.audit-calendar th{padding-inline-end:.4rem}.audit-calendar thead td{min-width:.85rem;height:1rem;position:relative}.audit-calendar thead td>span{position:absolute;inset-block-start:0;inset-inline-start:0}.audit-day{border:1px solid var(--line);border-radius:.15rem;width:.85rem;height:.85rem;display:block}.audit-day[data-has-orders=true]{background:var(--accent);border-color:var(--accent)}.audit-calendar [aria-current=date] .audit-day{border:2px solid var(--ink);box-shadow:inset 0 0 0 1px var(--surface)}@media (width<=34rem){.audit-calendar{--day-size:clamp(.4rem, calc((100vw - 8.5rem) / 28), .85rem);border-spacing:.075rem .15rem}.audit-calendar thead td{min-width:var(--day-size)}.audit-day{width:var(--day-size);height:var(--day-size)}.audit-calendar [aria-current=date] .audit-day{box-shadow:none}}body.blue-theme{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--ink);--surface:#fff;--surface-hover:#f8faf9;--ink:#0b1118;--muted:#334155;--subtle:#64748b;--line:#e3e0dc;--control-line:#94a3b8;--accent:#21756f;--accent-strong:#155e59;--on-accent:#fff;--tint:#e5f2f0;--heading:#0b2e48;--info:#0e4164;--info-bg:#e7f5fd;--graph:#1687c7;--highlight:#35b6e8;--header:#082236;--on-header:#f8fafc;--header-line:#64748b;--header-hover:#0e4164;--on-highlight:#061826;--focus:#12618f;--dialog-backdrop:#061826a0;background:#f7f7f5}body.blue-theme[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--surface:#0f1d2e;--surface-hover:#132538;--ink:#f8fafc;--muted:#cbd5e1;--subtle:#94a3b8;--line:#ffffff1a;--control-line:#64748b;--accent:#5eead4;--accent-strong:#35b6e8;--on-accent:#061826;--tint:#10332f;--heading:#f8fafc;--info:#7dd3fc;--info-bg:#102e43;--graph:#35b6e8;--header:#0b1624;--focus:#35b6e8;background:#07131f}body.cascada-theme{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--ink);--surface:#fff;--surface-hover:#f5f5f5;--ink:#1e1e20;--muted:#596268;--subtle:#596268;--line:#bbc3c6;--control-line:#596268;--accent:#962715;--accent-strong:#782011;--on-accent:#fff;--tint:#e2e5e6;--heading:#1e1e20;--info:#596268;--info-bg:#f5f5f5;--graph:#962715;--highlight:#962715;--on-highlight:#fff;--header:#1e1e20;--on-header:#fff;--header-line:#bbc3c6;--header-hover:#782011;--focus:#962715;--dialog-backdrop:#1e1e20a0;background:#fff}body.cascada-theme[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--surface:#1e1e20;--surface-hover:#303236;--ink:#fff;--muted:#bbc3c6;--subtle:#bbc3c6;--line:#596268;--control-line:#bbc3c6;--accent:#bbc3c6;--accent-strong:#fff;--on-accent:#1e1e20;--tint:#303236;--heading:#fff;--info:#bbc3c6;--info-bg:#303236;--graph:#bbc3c6;--focus:#bbc3c6;background:#18181a}.cascada-theme .shell-header .brand span{color:var(--on-header)}.cascada-theme .shell-header :focus-visible{outline-color:#bbc3c6}.cascada-theme .primary{color:#fff;background:#962715;border-color:#962715}.cascada-theme .primary:hover{background:#782011;border-color:#782011}.cascada-theme .kpis>div{border-top-color:#962715}body.indigo-theme{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--ink);--surface:#fff;--surface-hover:#eef0f7;--ink:#1d2335;--muted:#454f66;--subtle:#566179;--line:#d6dbe8;--control-line:#76819b;--accent:#3730a3;--accent-strong:#27216f;--on-accent:#fff;--tint:#e1e3fa;--heading:#24204d;--info:#373078;--info-bg:#ecebfa;--graph:#4f46c8;--order-graph:#a85d0a;--highlight:#4f46c8;--on-highlight:#fff;--header:#23203f;--on-header:#f7f7fd;--header-line:#8a86a6;--header-hover:#39345d;--focus:#4338b8;--header-focus:#f4b45e;--dialog-backdrop:#17142ca0;background:#f3f4f8}body.indigo-theme[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--surface:#212436;--surface-hover:#2b2f46;--ink:#f3f4fc;--muted:#ced3e7;--subtle:#aeb7d0;--line:#404863;--control-line:#8791ae;--accent:#b8b5ff;--accent-strong:#d5d3ff;--on-accent:#1c1848;--tint:#34315b;--heading:#eae9ff;--info:#d5d3ff;--info-bg:#302c51;--graph:#a7a2ff;--order-graph:#f4b45e;--highlight:#a7a2ff;--on-highlight:#1c1848;--header:#1b1a30;--focus:#b8b5ff;background:#161827}.indigo-theme .shell-header .brand span{color:var(--header-focus)}.indigo-theme .shell-header :focus-visible{outline-color:var(--header-focus)}.indigo-theme .order-series .track span{background:var(--order-graph)}
