/* Each new experience shares controls, but keeps its own spatial identity. */
.reference-app.next-app{--theme-bg:inherit;--theme-surface:inherit;--theme-surface-raised:inherit;--theme-text:inherit;--theme-muted:inherit;--theme-border:inherit;--theme-accent:inherit;--theme-accent-contrast:inherit;--theme-panel-radius:inherit;--theme-shadow:inherit;--surface:var(--theme-surface);--text:var(--theme-text);--border:var(--theme-border);--accent:var(--theme-accent);--input-bg:var(--theme-surface-raised)}
.reference-app.next-app{--ref-bg:var(--theme-bg);--ref-panel:var(--theme-surface);--ref-text:var(--theme-text);--ref-muted:var(--theme-muted);--ref-line:var(--theme-border);--ref-accent:var(--theme-accent);--ref-nav-bg:var(--theme-sidebar-bg);--ref-nav-text:var(--theme-sidebar-text);--ref-radius:var(--theme-panel-radius);--ref-nav:218px;--ref-rail:0px;--ref-shadow:var(--theme-shadow);font-family:Inter,"Segoe UI",Arial,sans-serif;background:var(--ref-bg);isolation:isolate}
html[data-theme-mode="dark"] .next-app{color-scheme:dark}
.next-app .nn-workspace{margin-left:var(--ref-nav);padding:0;min-width:0;max-width:none;width:calc(100% - var(--ref-nav))}
.next-app .nn-header{position:relative;inset:auto;z-index:25;padding:0 24px;background:var(--ref-bg);border-bottom:1px solid var(--ref-line);border-radius:0;box-shadow:none;backdrop-filter:blur(20px)}
.nn-command{display:flex;align-items:center;gap:14px;min-height:76px;border-bottom:1px solid var(--ref-line)}
.nn-actions{display:flex;align-items:center;gap:8px;margin-left:auto;flex-shrink:0}
.nn-search{display:flex;align-items:center;gap:10px;min-width:0;width:min(470px,45vw);height:40px;padding:0 14px;border:1px solid var(--ref-line);border-radius:8px;background:var(--theme-surface-raised);color:var(--ref-muted);text-align:left;font-size:12px}
.nn-search span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nn-search kbd{margin-left:auto;white-space:nowrap;font:10px inherit;opacity:.65}
.nn-user{display:flex;align-items:center;gap:10px;background:none;color:var(--ref-text);border:0;text-align:left;padding:0 0 0 10px;max-width:190px}.nn-user i{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:color-mix(in srgb,var(--ref-accent) 22%,var(--ref-panel));color:var(--ref-text);font-style:normal;font-size:12px}.nn-user span{min-width:0}.nn-user strong,.nn-user small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nn-user strong{font-size:12px}.nn-user small{font-size:10px;color:var(--ref-muted)}
.nn-context{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:22px 0}.nn-heading{min-width:0}.nn-heading small{display:block;color:var(--ref-muted);font-size:10px;text-transform:uppercase;letter-spacing:.12em;margin-bottom:7px}.nn-heading strong{font-size:clamp(19px,1.9vw,28px);letter-spacing:-.7px;line-height:1.2;font-weight:650;display:block}
.nn-location{display:flex;align-items:center;gap:8px;flex-shrink:0;max-width:58%}.nn-location label{min-width:0;max-width:190px}.nn-location label>span{display:block;color:var(--ref-muted);font-size:9px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:3px}.nn-location select{width:100%;height:36px;padding:4px 26px 4px 9px;border-radius:6px;font-size:11px;min-height:36px}.nn-location .ref-sync{font-size:10px;margin-left:5px}
.next-app .nn-content{padding:22px 24px 30px;max-width:1900px;margin:auto;width:100%;min-width:0}.nn-content>.reference-module{min-width:0}
.next-app .nn-sidebar{left:0;inset-block:0;width:var(--ref-nav);z-index:40;border-right:1px solid var(--ref-line);border-radius:0;padding:0;box-shadow:none}.nn-brand{display:flex;align-items:center;gap:10px;padding:26px 17px;color:var(--ref-nav-text);min-height:92px}.nn-brand>.ref-icon{color:var(--ref-accent);height:35px;width:35px;flex-basis:35px}.nn-brand span{font-size:21px;letter-spacing:-.8px;line-height:1.1;font-weight:750}.nn-brand em{font-style:normal;color:var(--ref-accent)}.nn-brand small{font-weight:400;font-size:9px;line-height:1.4;letter-spacing:.06em;display:block;margin-top:7px;opacity:.72}.nn-sidebar>nav{padding:0 12px 15px}.nn-sidebar .ref-nav-item{min-height:45px;font-size:12px;gap:11px;padding:10px;border-radius:6px;margin-bottom:3px}.nn-sidebar .ref-nav-item .ref-icon{width:19px;height:19px;flex-basis:19px}.next-app .nn-sidebar .ref-nav-item.is-current{color:var(--theme-accent-contrast);background:var(--ref-accent)}.nn-all-modules{border-top:1px solid var(--ref-line);margin-top:13px;padding-top:10px}.nn-all-modules summary{font-size:11px;padding:10px;cursor:pointer;color:var(--ref-nav-text);opacity:.78}
.nn-side-end{padding:16px;color:var(--ref-nav-text);font-size:10px}.nn-side-end>small{opacity:.5;font-size:9px}.nn-sidebar-art{position:relative;padding:76px 13px 18px;margin-bottom:16px;overflow:hidden;border:1px solid var(--ref-line);border-radius:10px;background:linear-gradient(145deg,transparent,color-mix(in srgb,var(--ref-accent) 16%,transparent))}.nn-sidebar-art svg{position:absolute;right:-12px;top:-14px;width:130px;height:120px;color:var(--ref-accent);opacity:.55}.nn-sidebar-art strong{display:block;position:relative;font-size:15px;font-weight:500;max-width:125px;line-height:1.5;letter-spacing:-.4px}.nn-sidebar-art small{display:block;margin-top:12px;opacity:.6;font-size:9px}
.next-app .ref-theme-button{color:var(--ref-text);background:var(--ref-panel);border:1px solid var(--ref-line);padding:8px 10px;min-height:38px;font-size:11px}.next-app .ref-icon-button{color:var(--ref-text);background:transparent;border:1px solid var(--ref-line);width:36px;min-width:36px;height:36px}.next-app .ref-menu-button{display:none}.next-app .ref-workspace-footer{padding:0 24px 24px;font-size:10px}.next-app .ref-mobile-nav{display:none}
.ref-theme-aurora-network .nn-sidebar-art{background:radial-gradient(at 100% 0,#0083b955,transparent 70%),linear-gradient(135deg,#09202e,#1c1451)}.ref-theme-aurora-network .nn-brand em{background:linear-gradient(110deg,#06e2ef,#9b65ff);color:transparent;background-clip:text}.ref-theme-aurora-network .nn-sidebar .ref-nav-item.is-current{background:linear-gradient(100deg,#074da3,#4329a6);color:#fff;border-left:3px solid #12deef}
.ref-theme-muelle-industrial{--ref-nav:194px}.ref-theme-muelle-industrial .nn-header{border-bottom:3px solid #ee7824}.ref-theme-muelle-industrial .nn-heading strong{font-family:"Arial Narrow",Impact,sans-serif;text-transform:uppercase;letter-spacing:1px}.ref-theme-muelle-industrial .nn-sidebar-art{border-radius:1px;border-bottom:6px solid #ee7824;background:repeating-linear-gradient(120deg,transparent 0 28px,#ffffff05 28px 33px)}.ref-theme-muelle-industrial .nn-search,.ref-theme-muelle-industrial .nn-sidebar .ref-nav-item{border-radius:3px}
.ref-theme-senda-natural .nn-sidebar-art{background:radial-gradient(ellipse at bottom right,#5b983a4d,transparent 70%);border:0;padding-top:90px}.ref-theme-senda-natural .nn-header{background:#f5faf3}.ref-theme-senda-natural .nn-sidebar{border-right-color:#dce9dc}.ref-theme-senda-natural .nn-sidebar .ref-nav-item.is-current{border-radius:6px}.ref-theme-senda-natural .nn-heading strong{font-weight:500;color:#174a36}
.ref-theme-legado-gold{--ref-nav:210px}.ref-theme-legado-gold .nn-brand span,.ref-theme-legado-gold .nn-heading strong{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:0}.ref-theme-legado-gold .nn-heading strong{font-size:31px}.ref-theme-legado-gold .nn-sidebar-art strong{font-family:Georgia,serif;font-style:italic;font-size:19px;color:#e3c181}.ref-theme-legado-gold .nn-sidebar .ref-nav-item.is-current{background:linear-gradient(100deg,#d8b87929,#c9a46308);color:#f0cc8a;border-left:2px solid #dfbd79}.ref-theme-legado-gold .nn-command{min-height:68px}.ref-theme-legado-gold .nn-search{border:none;background:transparent}
.ref-theme-cristal-cobalt{--ref-nav:220px;background:radial-gradient(at 15% 0,#3c63bb80,transparent 50%),radial-gradient(at 90% 80%,#7946b560,transparent 60%),var(--ref-bg)!important}.ref-theme-cristal-cobalt .nn-sidebar{inset:14px auto 14px 14px;width:calc(var(--ref-nav) - 16px);border:1px solid #b8cfff42;border-radius:22px;background:linear-gradient(150deg,#122654bb,#17255599);backdrop-filter:blur(24px)}.ref-theme-cristal-cobalt .nn-header{background:transparent;border:0}.ref-theme-cristal-cobalt .nn-command{border-color:#b8cfff33}.ref-theme-cristal-cobalt .nn-sidebar .ref-nav-item.is-current{background:linear-gradient(115deg,#718aff,#7359e8);color:white;box-shadow:0 0 18px #7466ff70}.ref-theme-cristal-cobalt .nn-sidebar-art{border-radius:16px;background:radial-gradient(at bottom right,#756de870,#27366b44)}
.ref-theme-pulso-control{--ref-nav:198px}.ref-theme-pulso-control .nn-context{padding:16px 0}.ref-theme-pulso-control .nn-command{min-height:62px}.ref-theme-pulso-control .nn-sidebar-art{display:none}.ref-theme-pulso-control .nn-sidebar .ref-nav-item.is-current{background:#054e40;color:#8affe0;border-left:3px solid #00d9a0}
.ref-theme-vector-fleet{--ref-nav:72px}.ref-theme-vector-fleet .nn-workspace{margin-left:72px;width:calc(100% - 72px)}.ref-theme-vector-fleet .nn-sidebar{width:260px;transform:translateX(-110%);visibility:hidden}.ref-theme-vector-fleet .nn-command>.nn-brand{min-height:60px;padding:8px 0}.ref-theme-vector-fleet .nn-brand small{display:none}.ref-theme-vector-fleet .nn-command>.nn-search{margin-left:20px}.next-app .nn-rail{display:flex;position:fixed;inset:0 auto 0 0;width:72px;background:var(--ref-nav-bg);z-index:35;padding:23px 10px;align-items:center;gap:14px;flex-direction:column}.nn-rail>svg{color:var(--ref-accent);margin:0 0 20px}.nn-rail button{display:grid;place-items:center;background:transparent;border:1px solid transparent;color:var(--ref-muted);width:44px;height:44px;border-radius:8px}.nn-rail button:hover{background:var(--theme-surface-raised);color:var(--ref-accent)}.ref-theme-vector-fleet .ref-menu-button{display:grid}.ref-theme-vector-fleet .nn-rail .nn-rail-menu{margin-top:auto}
.ref-theme-cerca-community{--ref-nav:0px}.ref-theme-cerca-community .nn-workspace{margin:0;width:100%}.ref-theme-cerca-community .nn-header{padding-inline:32px;background:#fcfbff}.ref-theme-cerca-community .nn-command>.nn-brand{color:var(--ref-text);padding:12px 0;min-height:70px}.ref-theme-cerca-community .nn-command>.nn-brand small{display:none}.ref-theme-cerca-community .nn-sidebar{width:260px;transform:translateX(-110%);visibility:hidden}.ref-theme-cerca-community .ref-menu-button{display:grid}.nn-top-links{display:flex;flex:1;align-items:center;gap:3px;margin-left:18px}.nn-top-links .ref-nav-item{width:auto;font-size:11px;gap:6px;padding:10px}.nn-top-links .ref-nav-item>.ref-icon{display:none}.nn-top-links .ref-nav-item.is-current{color:var(--ref-accent);background:#ece6ff;border-radius:20px}.ref-theme-cerca-community .nn-user{display:none}.ref-theme-cerca-community .nn-content{padding-inline:32px}
.ref-theme-mente-route .nn-sidebar-art{background:radial-gradient(at 30% 25%,#6264b95c,transparent 65%),linear-gradient(135deg,#212542,#101725)}.ref-theme-mente-route .nn-sidebar .ref-nav-item.is-current{background:#333e71;color:#e3eaff}.ref-theme-mente-route .nn-brand>.ref-icon{filter:drop-shadow(0 0 9px #8b83ff88)}
.ref-theme-horizonte-business .nn-sidebar{background:linear-gradient(165deg,#152b4c,#0e1e37);border:0}.ref-theme-horizonte-business .nn-brand em{color:#56a5ff}.ref-theme-horizonte-business .nn-header{background:#f9fcff}.ref-theme-horizonte-business .nn-sidebar-art{background:linear-gradient(145deg,#294d7e,#1d3356);border-color:#648bc23d}
@media(min-width:1025px){.next-app:is(.ref-theme-vector-fleet,.ref-theme-cerca-community).nav-open>.nn-sidebar{visibility:visible;transform:none;z-index:1002}.next-app:is(.ref-theme-vector-fleet,.ref-theme-cerca-community).nav-open>.ref-nav-scrim{display:block;position:fixed;inset:0;z-index:1001;background:#0009}.next-app:is(.ref-theme-vector-fleet,.ref-theme-cerca-community) .ref-drawer-close{display:block}}
@media(max-width:1350px){.nn-location .ref-sync{display:none}.nn-user span{display:none}.nn-user{padding-left:0}.nn-top-links{display:none}.nn-location{max-width:55%}.nn-command{gap:8px}.nn-heading strong{font-size:22px}.next-app .nn-header{padding-inline:18px}.next-app .nn-content{padding:18px}}
@media(max-width:1024px){.reference-app.next-app{--ref-nav:0px;--ref-rail:0px}.next-app .nn-workspace,.next-app.ref-theme-vector-fleet .nn-workspace{margin:0;width:100%}.next-app .nn-sidebar{inset:0 auto 0 0;transform:translateX(-110%);visibility:hidden;width:min(300px,calc(100vw - 44px));height:100dvh;border-radius:0;z-index:1002}.next-app.nav-open>.nn-sidebar{visibility:visible;transform:none}.next-app .ref-drawer-close{display:block;color:var(--ref-nav-text);background:none;border:0;border-bottom:1px solid var(--ref-line);min-height:44px}.next-app .nn-rail{display:none}.next-app .ref-menu-button{display:grid;place-items:center;flex-shrink:0}.next-app .nn-header{position:relative;padding:0 18px}.next-app .nn-command{min-height:65px}.next-app .nn-content{padding:18px 18px 110px}.next-app .ref-workspace-footer{padding-bottom:108px}.nn-context{padding:17px 0;align-items:flex-start}.nn-location{max-width:53%;flex-wrap:wrap}.nn-location label{max-width:165px;flex:1 1 100px}.next-app .nn-search{width:100%;max-width:450px}.next-app .ref-mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:45;padding:5px 8px calc(5px + env(safe-area-inset-bottom));width:100%;border-top:1px solid var(--ref-line);background:var(--ref-panel);border-radius:0;box-shadow:0 -4px 18px #0000000c;gap:3px}.next-app .ref-mobile-nav .ref-nav-item{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:57px;padding:6px 2px;text-align:center;color:var(--ref-muted);font-size:10px;overflow:hidden}.next-app .ref-mobile-nav .ref-nav-item.is-current{color:var(--ref-accent);background:color-mix(in srgb,var(--ref-accent) 10%,transparent)}.next-app .ref-mobile-nav .ref-nav-item>b{display:none}.next-app .ref-mobile-nav .ref-nav-item>span{overflow-wrap:normal}.next-app .ref-nav-scrim{inset:0;z-index:1001}.nn-side-end{padding:10px 16px}.nn-sidebar-art{display:none}.nn-brand{min-height:82px}.ref-theme-vector-fleet .nn-command>.nn-brand{display:none}.ref-theme-vector-fleet .nn-command>.nn-search{margin:0}.ref-theme-cerca-community .nn-command>.nn-brand{flex:1}.next-app .nn-user{display:none}}
@media(max-width:600px){.next-app .nn-header{padding:0 12px}.nn-command{gap:7px}.nn-actions{gap:6px}.nn-actions>.ref-icon-button{display:none}.next-app .nn-search{padding:0 10px;height:38px}.nn-search kbd{display:none}.next-app .ref-theme-button{padding:7px 9px}.next-app .ref-theme-button>.ref-icon{display:none}.nn-context{display:block;padding:16px 0}.nn-heading small{font-size:8px;letter-spacing:.07em}.nn-heading strong,.ref-theme-legado-gold .nn-heading strong{font-size:22px}.nn-location{max-width:none;margin-top:14px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.nn-location label{max-width:none}.nn-location label:only-of-type{grid-column:1/-1}.nn-location select{font-size:12px;height:38px}.next-app .nn-content{padding:12px 12px 95px}.ref-theme-cerca-community .nn-command>.nn-brand{gap:7px}.ref-theme-cerca-community .nn-command>.nn-brand span{font-size:19px}.ref-theme-cerca-community .nn-command>.nn-brand svg{width:25px;height:25px;flex-basis:25px}}
@media(max-height:550px) and (max-width:1024px){.next-app .ref-mobile-nav{display:none}.next-app .nn-content{padding-bottom:24px}.next-app .ref-workspace-footer{padding-bottom:20px}.nn-command{min-height:52px}.nn-context{padding:10px 0}.nn-sidebar .nn-brand{min-height:62px;padding-block:12px}}
@media(prefers-reduced-motion:reduce){.next-app *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.reference-app.next-app .ref-mobile-nav>.ref-nav-item{width:100%;min-width:0;max-width:none;justify-self:stretch;flex:none}
.reference-app.next-app .ref-module{--ri-bg:var(--ref-bg);--ri-panel:var(--ref-panel);--ri-text:var(--ref-text);--ri-muted:var(--ref-muted);--ri-line:var(--ref-line);--ri-accent:var(--ref-accent);--ri-soft:var(--ref-soft,var(--ref-panel));--ri-input:var(--ref-panel);--ri-radius:var(--ref-radius);--theme-accent-contrast:inherit;--surface:var(--ref-panel);--text:var(--ref-text);--border:var(--ref-line);--accent:var(--ref-accent);--input-bg:var(--ref-panel)}
.reference-app.next-app :is(.nn-content,.modal) .button{background:var(--ref-panel);color:var(--ref-text);border:1px solid var(--ref-line);border-radius:var(--theme-control-radius,8px);min-height:40px;font-size:12px;line-height:1.35;white-space:normal}
.reference-app.next-app :is(.nn-content,.modal) .button.primary{background:var(--ref-accent);color:var(--theme-accent-contrast);border-color:var(--ref-accent)}
.reference-app.next-app :is(.nn-content,.modal) .button.orange{background:#ffddb5;color:#653c0f;border-color:#f1be7b}
.reference-app.next-app :is(.nn-content,.modal) .button.danger{background:color-mix(in srgb,#ef6565 10%,var(--ref-panel));color:#e86d6d;border-color:#a54b4b}
.reference-app.next-app :is(.nn-content,.modal) .whatsapp-button{background:#e2f3e8;color:#18542d;border-color:#a4cfb2}
.nn-module{display:grid;gap:22px}.nn-module-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.nn-module-heading>.ref-heading{flex:1}.nn-module-heading>.ref-period-controls{flex:0 1 45%;justify-content:flex-end}.nn-module .ref-stat-origin{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.nn-module .ref-stat{display:flex;gap:12px;align-items:flex-start;padding:18px!important;border:1px solid var(--ref-line)!important;background:var(--ref-panel)!important;border-radius:var(--ref-radius)!important}.nn-module .ref-stat-value{font-size:clamp(19px,2vw,30px)!important;white-space:normal}.nn-module .ref-stat-label{font-size:10px!important}.nn-module .ref-stat-note{font-size:11px!important}.nn-module .ref-stat>.ref-symbol{width:27px;flex-basis:27px}.nn-module .ref-statistics{margin-bottom:0}.nn-module :is(.ref-section-heading,.ref-panel-heading){color:var(--ref-text)}
.nn-module :is(.nn-module-control,.nn-module-business){display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:20px;align-items:start}.nn-module .nn-module-station{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px;align-items:start}.nn-module .nn-module-glass{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:20px;align-items:start}.nn-module .nn-module-ledger{display:grid;grid-template-columns:220px minmax(0,1fr);gap:26px;align-items:start}.nn-module :is(.nn-module-island,.nn-module-support,.nn-module-records,.nn-module-summary){display:grid;gap:18px;min-width:0}.nn-module .nn-module-actions .ref-actions{gap:8px}.nn-module :is(.nn-module-support,.nn-module-station>.nn-module-actions) .ref-actions{display:grid;grid-template-columns:1fr}.nn-module .nn-module-summary .ref-stat-origin{grid-template-columns:1fr}.nn-module .nn-module-toolbar{border:1px solid var(--ref-line);border-radius:var(--ref-radius);padding:12px;background:var(--ref-panel)}.nn-module .nn-module-tiles .ref-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.nn-module .nn-module-tiles .button{min-height:64px}.nn-module .nn-module-dispatch{display:grid;gap:15px}.ref-theme-legado-gold .nn-module .ref-title{font-family:Georgia,serif!important;font-weight:400!important}.ref-theme-legado-gold .nn-module .ref-stat-value{font-family:Georgia,serif!important}.ref-theme-muelle-industrial .nn-module .ref-surface{border-radius:4px}.ref-theme-cristal-cobalt .nn-module{--ri-panel:#2b406d;--ri-input:#21365c;--ri-soft:#354d7a}
@media(max-width:1250px){.nn-module :is(.nn-module-control,.nn-module-business){grid-template-columns:1fr}.nn-module .nn-module-glass{grid-template-columns:1fr}.nn-module .nn-module-glass .nn-module-summary{grid-row:1}.nn-module .nn-module-glass .nn-module-summary .ref-stat-origin{grid-template-columns:repeat(2,minmax(0,1fr))}.nn-module .nn-module-support .ref-actions{display:flex}.nn-module-heading{flex-wrap:wrap}.nn-module-heading>.ref-period-controls{flex:1 1 100%;justify-content:flex-start}}
@media(max-width:900px){.nn-module :is(.nn-module-station,.nn-module-ledger){grid-template-columns:1fr}.nn-module .nn-module-summary .ref-stat-origin{grid-template-columns:repeat(2,minmax(0,1fr))}.nn-module .nn-module-station>.nn-module-actions .ref-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.nn-module .ref-stat-origin{grid-template-columns:repeat(2,minmax(0,1fr))}.nn-module .ref-stat{padding:14px!important;gap:8px}.nn-module .ref-stat>.ref-symbol{display:none}.nn-module .ref-stat-value{font-size:22px!important}}
@media(max-width:600px){.nn-module{gap:18px}.nn-module .ref-stat-origin{gap:8px}.nn-module .ref-stat{padding:12px!important}.nn-module .ref-stat-value{font-size:20px!important;letter-spacing:-.8px}.nn-module .ref-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}.nn-module .ref-actions>.button{width:100%;min-height:44px}.nn-module .nn-module-tiles .button{min-height:52px}.nn-module .nn-module-support .ref-actions{display:grid}.nn-module .ref-surface.card-pad{padding:14px}.nn-module .ref-period-controls input{font-size:16px}.reference-app.next-app .modal .button{min-height:44px}}
.reference-app.next-app .receivable-payment-balance{background:var(--ref-panel);border-color:var(--ref-line);color:var(--ref-text)}.reference-app.next-app .receivable-payment-balance small{color:var(--ref-muted)}
html[data-design="modern"][data-theme] .reference-app.next-app :is(.ref-module,.modal) .button.primary{background:var(--ref-accent)!important;color:var(--theme-accent-contrast)!important;border-color:var(--ref-accent)!important}
.reference-app.next-app .tracking-mode-tabs button[aria-pressed="true"]{color:var(--theme-accent-contrast);background:var(--ref-accent)}
.reference-app.next-app .modal :is(.separation-note,.bill-upload-note,.pdf-transfer-note,.receivable-invoice-import,.receivable-invoice-empty,.receivable-invoice-summary>div,.receivable-invoice-summary>p,.receivable-special-total,.receivable-customer-picker,.receivable-customer-result,.receivable-customer-result>b,.receivable-customer-selected,.receivable-customer-empty,.receivable-reminder-last,.receivable-template-example,.preview-stat,.check-row,.notice-email-modal,.notice-message-preview,.notice-preview-list label,.notice-settings-heading,.office-bank-distribution,.office-bank-row,.office-debit-toggle,.office-allocation-preview,.office-existing-receipt,.return-items-editor,.return-item-row,.return-item-number,.return-credit-preview,.receiving-manual-confirm-item,.receiving-manual-confirm-check,.receiving-batch-result,.support-detail-grid>div,.support-description,.support-message,.support-resolution-form,.support-evidence){background:var(--ref-panel);color:var(--ref-text);border-color:var(--ref-line)}
.reference-app.next-app .modal .pdf-preview-stats{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}.reference-app.next-app .modal .preview-stat{min-width:0;overflow-wrap:anywhere}.reference-app.next-app .modal .support-modal-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.reference-app.next-app .modal :is(.support-message,.support-description){overflow-wrap:anywhere}@media(max-width:760px){.reference-app.next-app .modal .support-modal-columns{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1024px){.reference-app.next-app .ref-mobile-nav{padding-left:max(8px,env(safe-area-inset-left,0px));padding-right:max(8px,env(safe-area-inset-right,0px));grid-template-columns:repeat(var(--nn-nav-count,5),minmax(0,1fr))}.reference-app.next-app .nn-location select{font-size:16px;min-height:44px}.reference-app.next-app .nn-command>.ref-menu-button{min-width:44px;width:44px;height:44px}.reference-app.next-app .nn-command .ref-theme-button{min-height:44px}}
/* Keep the drawer above the backdrop; legacy nav-open rules have higher specificity. */
.reference-app.next-app.nav-open>.ref-nav-scrim{z-index:1001}
.reference-app.next-app.nav-open>.nn-sidebar{z-index:1002}
/* The reference dashboards begin at the command bar, without a second slogan header. */
.nn-dashboard-shell .nn-command{border-bottom:0;min-height:72px;gap:14px}
.nn-dashboard-shell .nn-command>.nn-location{flex:0 1 355px;max-width:380px;margin-left:auto}
.nn-dashboard-shell .nn-command>.nn-search{flex:1 1 220px;max-width:330px;width:auto}
.nn-dashboard-shell .nn-command>.nn-location label{max-width:170px}
.nn-dashboard-shell .nn-actions{margin-left:0}
.nn-dashboard-shell .nn-top-links{margin-left:8px}
.nn-dashboard-shell .nn-command>.nn-brand{flex-shrink:0}
@media(min-width:1151px){.nn-dashboard-shell .nn-command>.nn-location .ref-sync{display:none}.nn-dashboard-shell .nn-command>.nn-location label>span{font-size:8px}}
@media(max-width:1150px){.nn-dashboard-shell .nn-command{flex-wrap:wrap;gap:10px;padding-block:10px}.nn-dashboard-shell .nn-command>.nn-location{order:2;flex:1 1 100%;max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.nn-dashboard-shell .nn-command>.nn-location label{max-width:none}.nn-dashboard-shell .nn-command>.nn-search{max-width:none}.nn-dashboard-shell .nn-actions{margin-left:auto}}
@media(min-width:1151px){.ref-theme-cerca-community .nn-dashboard-shell .nn-location{display:flex;flex-basis:280px;max-width:280px}.ref-theme-cerca-community .nn-dashboard-shell .nn-command>.nn-brand{margin-right:12px}}
@media(max-width:600px){.nn-dashboard-shell .nn-command{gap:7px;padding-block:9px}.nn-dashboard-shell .nn-command>.nn-location{margin-top:6px}.nn-dashboard-shell .nn-command>.nn-location select{min-height:44px;font-size:16px}.nn-dashboard-shell .nn-command>.nn-search{flex-basis:120px}}
