.sa-preferences{position:fixed;z-index:10050;top:18px;right:22px;display:flex;align-items:center;gap:3px;padding:4px;border:1px solid #d7e3ed;border-radius:11px;background:rgba(255,255,255,.88);box-shadow:0 8px 24px rgba(24,64,101,.10);backdrop-filter:blur(12px)}
.sa-preferences button{min-width:34px;height:30px;padding:0 8px;border:0;border-radius:7px;color:#526d87;background:transparent;font:700 11px/1 Inter,system-ui,sans-serif;cursor:pointer}
.sa-preferences button:hover{color:#0878de;background:#edf6fd}.sa-preferences button.active{color:#fff;background:#0878de}
.sa-preferences--workspace{position:static;top:auto;right:auto;flex:0 0 auto;margin-left:auto;box-shadow:none;background:#f7fafc;backdrop-filter:none}
.account:has(> .sa-preferences--in-account){display:flex;align-items:center;gap:5px}
.sa-preferences--in-account{margin-left:0;margin-right:2px}
html[data-sa-theme="dark"] body{color:#dbe8f5!important;background:#0c1522!important}
html[data-sa-theme="dark"] body.sa-login-page .shell{border-color:#263b50!important;background:#0c1623!important}
html[data-sa-theme="dark"] body.sa-login-page .promo{color:#dbe8f5!important;background:radial-gradient(circle at 20% 0,rgba(21,113,177,.18),transparent 34%),linear-gradient(150deg,#101d2b,#102232 58%,#123044)!important}
html[data-sa-theme="dark"] body.sa-login-page .loginPanel{border-color:#263b50!important;background:linear-gradient(rgba(12,23,35,.94),rgba(15,29,43,.97)),linear-gradient(155deg,#132a3e,#0c1723)!important}
html[data-sa-theme="dark"] body.sa-login-page .loginBox{border-color:#2a4055!important;background:rgba(17,30,44,.98)!important;box-shadow:0 28px 76px rgba(0,0,0,.34)!important}
html[data-sa-theme="dark"] body.sa-login-page .referencePromoCopy h1,html[data-sa-theme="dark"] body.sa-login-page .loginTitle{color:#e7f2fb!important}
html[data-sa-theme="dark"] body.sa-login-page .referencePromoCopy p,html[data-sa-theme="dark"] body.sa-login-page .referenceFeature small,html[data-sa-theme="dark"] .referenceSecurity{color:#9db2c7!important}
html[data-sa-theme="dark"] .referenceFeature b{color:#d7e7f5}html[data-sa-theme="dark"] .referenceFeatureIcon{border-color:#29465d;background:#172b3e}
html[data-sa-theme="dark"] .referenceDashboard{border-color:#2a435a;background:#142638;box-shadow:0 24px 58px rgba(0,0,0,.28)}
html[data-sa-theme="dark"] .referenceDashMain{background:#101f2e}html[data-sa-theme="dark"] .referenceDashTop{color:#d7e8f7}
html[data-sa-theme="dark"] .referenceRealModules>span{border-color:#284056;background:#162a3d}html[data-sa-theme="dark"] .referenceRealModules b{color:#d9e9f6}html[data-sa-theme="dark"] .referenceRealModules small{color:#8ea5ba}
html[data-sa-theme="dark"] .referenceRealNotice{border-color:#28516b;color:#a8c2d7;background:#12314a}
html[data-sa-theme="dark"] body.sa-login-page input{border-color:#385069!important;color:#e5eff8!important;background:#132639!important}html[data-sa-theme="dark"] body.sa-login-page input::placeholder{color:#718ba3!important}
html[data-sa-theme="dark"] .referenceAccess button,html[data-sa-theme="dark"] .referenceAccess a{border-color:#30495f;color:#78baf0;background:#15283a}
html[data-sa-theme="dark"] .sa-preferences{border-color:#31485c;background:rgba(17,31,45,.92)}html[data-sa-theme="dark"] .sa-preferences button{color:#9eb2c5}
html[data-sa-theme="dark"] body.sa-unified-page,html[data-sa-theme="dark"] body.sa-app-page,html[data-sa-theme="dark"] body.sa-budget-page{--sa-canvas:#0b1420!important;--sa-panel:#111f2e!important;--sa-panel-soft:#152638!important;--sa-border:#2c4155!important;--sa-text:#dce8f3!important;--sa-muted:#8fa6bb!important;--canvas:#0b1420!important;--surface:#111f2e!important;--surface-muted:#152638!important;--surface-strong:#1a3043!important;--line:#2c4155!important;--line-strong:#40596f!important;--ink:#dce8f3!important;--ink-soft:#b6c9d9!important;--muted:#8fa6bb!important;--blue-soft:#132d48!important;--teal-soft:#123b3d!important;--green-soft:#12382f!important;--amber-soft:#3a2d18!important;--rose-soft:#3a232a!important;background:#0b1420!important;color:#dce8f3!important}
html[data-sa-theme="dark"] body.sa-unified-page :is(.panel,.card,.modal-content,.toolbar,.topbar,header,main),html[data-sa-theme="dark"] body.sa-app-page :is(.panel,.card,.main,.topbar,.sa-page),html[data-sa-theme="dark"] body.sa-budget-page :is(.panel,.card,.main,.topbar,.modal-card){border-color:#2c4155!important;background-color:#111f2e!important;color:#dce8f3!important}
html[data-sa-theme="dark"] body :is(input,select,textarea){border-color:#3b5268!important;color:#e3edf6!important;background-color:#122538!important}
html[data-sa-theme="dark"] .sa-preferences--workspace{border-color:#31485c;background:#142638}
html[data-sa-theme="dark"] body.sa-jetisu-page::before{background:#0e1b29!important;border-color:#2c4155!important}
html[data-sa-theme="dark"] body.sa-jetisu-page :is(.section-nav,.work-panel,.queue-panel,.stats-panel,.reference-panel,.admin-panel,.profile-panel,.panel-head,.panel-body,.dropzone,.selection-item,.summary-item,.organization,.account-menu,.modal-card){border-color:#2c4155!important;background-color:#111f2e!important;color:#dce8f3!important}
html[data-sa-theme="dark"] body.sa-jetisu-page :is(h1,h2,h3,b,strong,.page-title,.panel-title){color:#e7f2fb!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] > .app.sa-product-grid,
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel{background:#0b1420!important;color:#dce8f3!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #moduleBody,
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #moduleBody > :is(.card,.panel,.section,.admin-workspace,.table-wrap),
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.card,.panel,.section-card,.toolbar,.filters,.actions,.table-wrap){border-color:#2b4155!important;color:#dce8f3!important;background:#111f2e!important;background-image:none!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #moduleBody :is(h1,h2,h3,h4,b,strong,.card-title,.section-title){color:#e7f2fb!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #moduleBody :is(p,small,.muted,.hint,.help,.card-sub,label){color:#9fb3c6!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #moduleBody :is(th,td){border-color:#2b4155!important;color:#cbdbe8!important;background:#111f2e!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #moduleBody th{color:#a9c2d6!important;background:#15283a!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #moduleBody :is(input,select,textarea){border-color:#3b5268!important;color:#e3edf6!important;background:#122538!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #moduleBody .btn-secondary{border-color:#3b5368!important;color:#c8daea!important;background:#172a3c!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] .damu-account--sidebar .damu-account-menu{border-color:#31495e!important;color:#dce8f3!important;background:#132436!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell,
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main{background:#0b1420!important;color:#dce8f3!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main :is(.toolbar,.status-row,.function-tabs,.panel,.section-card,.card,.table-wrap,.status,.lot-card,.modal-card){border-color:#2b4155!important;color:#dce8f3!important;background:#111f2e!important;background-image:none!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main :is(h1,h2,h3,h4,b,strong,.title,.section-title){color:#e7f2fb!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main :is(p,small,.muted,.hint,label){color:#9fb3c6!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main :is(th,td){border-color:#2b4155!important;color:#cbdbe8!important;background:#111f2e!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main th{color:#a9c2d6!important;background:#15283a!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] > header.topbar.sa-commandbar,
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] > header.topbar.sa-commandbar .brand.sa-brandmark{color:#dce8f3!important;border-color:#2b4155!important;background:#101d2a!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] > header.topbar.sa-commandbar .damu-organization,
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] > header.topbar.sa-commandbar .sa-preferences{color:#d4e4f1!important;border-color:#31495e!important;background:#142638!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] > header.topbar.sa-commandbar .damu-organization b{color:#e7f2fb!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation{color:#dce8f3!important;border-color:#2b4155!important;background:#101d2a!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sidebar-title{color:#89a4ba!important;border-color:#2b4155!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sa-menu-group.open{border-color:#2c4358!important;background:#142638!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation :is(.sa-menu-head,.sa-menu-link){color:#c6d9e8!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation :is(.sa-menu-head,.sa-menu-link):hover{color:#fff!important;background:#172b3e!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sa-sidebar-profile{border-color:#2d465b!important;background:#142638!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel > .module-head.sa-page-hero{color:#dce8f3!important;border-color:#2b4155!important;background:#111f2e!important;background-image:none!important;box-shadow:0 12px 30px rgba(0,0,0,.18)!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel > .module-head.sa-page-hero :is(.module-title,.sa-page-title){color:#e7f2fb!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel > .module-head.sa-page-hero :is(.module-desc,.sa-page-desc){color:#9fb4c7!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel > .module-head.sa-page-hero .module-icon{color:#65c8e6!important;border-color:#33536b!important;background:#163149!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > header.topbar,
html[data-sa-theme="dark"] body.sa-budget-page > .shell > header.topbar .topbar-brand{color:#dce8f3!important;border-color:#2b4155!important;background:#101d2a!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > header.topbar .topbar-org,
html[data-sa-theme="dark"] body.sa-budget-page > .shell > header.topbar .sa-preferences,
html[data-sa-theme="dark"] body.sa-budget-page > .shell > header.topbar .topbar-logout{color:#d4e4f1!important;border-color:#31495e!important;background:#142638!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > header.topbar :is(.topbar-org-name,.topbar-org-role){color:#d4e4f1!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > aside.side{color:#dce8f3!important;border-color:#2b4155!important;background:#101d2a!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > aside.side :is(.brand b,.brand span,.side-caption,.nav-title,.side-group-label,.side-nav-head,.nav-btn){color:#c6d9e8!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > aside.side .side-nav-group{border-color:transparent!important;background:transparent!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > aside.side :is(.side-nav-head,.nav-btn):hover{color:#fff!important;background:#172b3e!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main > .top{color:#dce8f3!important;border-color:#2b4155!important;background:#111f2e!important;background-image:none!important;box-shadow:0 12px 30px rgba(0,0,0,.18)!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main > .top .h1{color:#e7f2fb!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main > .top .top-subtitle{color:#9fb4c7!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main > .top .budget-page-icon{color:#65c8e6!important;border-color:#33536b!important;background:#163149!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main :is(input,select,textarea){border-color:#3b5268!important;color:#e3edf6!important;background:#122538!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main :is(input,textarea)::placeholder{color:#738da3!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation,
html[data-sa-theme="dark"] body.sa-budget-page > .shell > aside.side{border-color:#263b4e!important;box-shadow:none!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel > .module-head.sa-page-hero,
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main > .top{border-color:#263b4e!important;background:transparent!important;box-shadow:none!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #moduleBody{background:transparent!important;box-shadow:none!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > header.topbar .topbar-brand{background-color:transparent!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > header.topbar .topbar-brand-logo{background-color:transparent!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > aside.side button.side-nav-head,
html[data-sa-theme="dark"] body.sa-budget-page > .shell > aside.side .side-nav-group button.nav-btn{color:#bfd3e3!important;background:transparent!important;background-image:none!important;opacity:1!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > aside.side button.side-nav-head :is(.nav-title,.nav-label,span),
html[data-sa-theme="dark"] body.sa-budget-page > .shell > aside.side .side-nav-group button.nav-btn :is(.nav-title,.nav-label,span){color:inherit!important;opacity:1!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > aside.side button.side-nav-head:hover,
html[data-sa-theme="dark"] body.sa-budget-page > .shell > aside.side .side-nav-group button.nav-btn:hover,
html[data-sa-theme="dark"] body.sa-budget-page > .shell > aside.side .side-nav-group.open button.side-nav-head{color:#fff!important;background:#172b3e!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > aside.side .side-nav-group.open button.nav-btn.active{color:#fff!important;background:linear-gradient(135deg,#0878de,#0a91c1)!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main .function-tabs .function-tab-btn{color:#b9cede!important;border-color:#30495e!important;background:#142638!important;background-image:none!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main .function-tabs .function-tab-btn :is(.function-tab-text,b,strong,small,span){color:inherit!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main .function-tabs .function-tab-btn.active{color:#e8f5ff!important;border-color:#257fba!important;background:#16334b!important;background-image:none!important;box-shadow:inset 0 -2px 0 #168add!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main :is(.panel-head,.panel-body,.actions,.grid,.filters,.section-body,.table-shell){color:#cbdbe8!important;border-color:#2b4155!important;background:#111f2e!important;background-image:none!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main :is(.panel-head,.panel-body,.actions,.grid,.filters,.section-body,.table-shell) :is(h1,h2,h3,h4,b,strong,label,.label){color:#dce9f4!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main :is(.panel-body,.grid,.actions,.filters) :is(input,select,textarea,button:not(.primary):not(.btn-save)){color:#dce9f4!important;border-color:#3b5268!important;background:#122538!important;background-image:none!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main :is(.panel-body,.grid,.actions,.filters) :is(input,textarea)::placeholder{color:#7991a6!important;opacity:1!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sa-menu-group .sa-menu-head,
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sa-menu-group .sa-menu-link{color:#c6d9e8!important;opacity:1!important;background-image:none!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sa-menu-group .sa-menu-head :is(.sa-menu-title,.sa-menu-glyph,.sa-menu-arrow,span,div),
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sa-menu-group .sa-menu-link :is(.sa-menu-link-label,.sa-menu-index,span){color:inherit!important;opacity:1!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sa-menu-group .sa-menu-glyph{color:#68cee9!important;background:#17344b!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sa-menu-group .sa-menu-link.active{color:#fff!important;background:linear-gradient(135deg,#0878de,#0a91c1)!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.status.ok,.result.ok,.notice.ok),
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main :is(.status.ok,.pill.ok,.badge.ok,.active-badge){color:#9ed9f0!important;border-color:#315a73!important;background:#153249!important;background-image:none!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main :is(.panel-head,.section-head){color:#dce9f4!important;border-color:#2b4155!important;background:#15283a!important;background-image:none!important}
html[data-sa-theme="dark"] body.sa-budget-page > .shell > main table thead th{color:#eaf6ff!important;border-color:#315a73!important;background:#153d5a!important;background-image:none!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody,
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody > div.card,
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody > div.panel,
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody > div.section{color:#dce9f4!important;border-color:#2b4155!important;background:#111f2e!important;background-image:none!important;box-shadow:none!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody :is(.upload-box,.dropzone,.file-drop,.check-option,.option-card,.form-row,.toolbar,.actions,.filters,.big-empty,.additional-tools){color:#cbdbe8!important;border-color:#2b4155!important;background:#142638!important;background-image:none!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody :is(h1,h2,h3,h4,.card-title,.section-title,b,strong){color:#e7f2fb!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody :is(p,small,label,.muted,.hint,.help,.card-sub){color:#9fb4c7!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody :is(input,select,textarea){color:#e3edf6!important;border-color:#3b5268!important;background:#122538!important;background-image:none!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody :is(input,textarea)::placeholder{color:#7890a5!important;opacity:1!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody :is(.btn-secondary,button:not(.btn-primary):not(.primary):not(.btn-save)){color:#c9dbea!important;border-color:#3b5268!important;background:#172a3c!important;background-image:none!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] :is(.security-panel,.sa-consent-panel-v5,.modal-card,.dialog,.kp-modal){color:#dce9f4!important;border-color:#2b4155!important;background:#111f2e!important;background-image:none!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] :is(.security-head,.sa-consent-head-v5,.modal-head,.dialog-head,.security-actions,.sa-consent-actions-v5,.modal-foot,.dialog-foot){color:#dce9f4!important;border-color:#2b4155!important;background:#152638!important;background-image:none!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] :is(.security-head,.sa-consent-head-v5,.modal-head,.dialog-head) :is(h1,h2,h3,b,strong){color:#e7f2fb!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] :is(.security-head,.sa-consent-head-v5,.modal-head,.dialog-head) :is(p,span,small){color:#9fb4c7!important;opacity:1!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] :is(.security-body,.sa-consent-body-v5,.modal-body,.dialog-body){color:#cbdbe8!important;background:#111f2e!important;background-image:none!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] :is(.sa-consent-chip-v5,.sa-consent-note-v5,.sa-consent-privacy-v5){color:#cbdbe8!important;border-color:#315069!important;background:#142a3d!important;background-image:none!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] :is(.sa-consent-chip-v5,.sa-consent-note-v5,.sa-consent-privacy-v5) :is(b,strong,p,li,span){color:inherit!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] .damu-account-menu{color:#dce9f4!important;border-color:#31495e!important;background:#132436!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] .damu-account-menu :is(.damu-account-menu-head,.damu-account-menu-section,.damu-account-submenu,button,summary){color:#cbdbe8!important;border-color:#2b4155!important;background:transparent!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] .damu-account-menu :is(button,summary):hover{color:#fff!important;background:#1a3044!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] .damu-account--sidebar .damu-account-menu :is(.damu-account-menu-head,.damu-account-menu-section,.damu-account-submenu,button,summary,span,b,small){color:#cbdbe8!important;opacity:1!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] .damu-account--sidebar .damu-account-menu :is(button,summary){background:#132436!important;background-image:none!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody .sa-min-check,
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody .sa-min-card,
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody .sa-min-card > :is(.field,.sa-min-head,.sa-min-grid,.sa-min-actions,.sa-min-extra,.sa-clean-bottom),
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody .sa-min-card :is(.sa-excel-picker,.sa-excel-picker-label,.check-row,.sa-clean-card,.sa-clean-card-head,.sa-template,.sa-template-body,.sa-template-list,details,summary){color:#cbdbe8!important;border-color:#2b4155!important;background:#111f2e!important;background-image:none!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody .sa-min-card :is(h1,h2,h3,h4,b,strong,label,.label,summary){color:#e1edf7!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody .sa-min-card :is(p,small,.hint,.muted,.sa-clean-status){color:#9fb4c7!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody .sa-min-card .sa-excel-upload-mark{color:#fff!important;background:#0878de!important;background-image:none!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody .sa-min-card .sa-excel-picker-action{color:#9ed9f0!important;border-color:#315a73!important;background:#153249!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody .sa-min-card .sa-excel-picker-copy :is(strong,small){color:#cbdbe8!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody .sa-min-card :is(.check-row,.sa-min-options){color:#cbdbe8!important;border-color:#33495e!important;background:#142638!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody .sa-min-card .sa-min-extra > summary{color:#cbdbe8!important;background:#142638!important}
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody .sa-min-check .sa-min-extra,
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody .sa-min-check .sa-min-extra > summary,
html[data-sa-theme="dark"] body.sa-app-page[data-product-shell="v3"] #mainPanel #moduleBody .sa-clean-bottom{color:#cbdbe8!important;border-color:#2b4155!important;background:#111f2e!important;background-image:none!important}
@media(max-width:700px){.sa-preferences{top:12px;right:12px}}

/* Light-only product system. Dark mode and its switch were intentionally removed. */
.sa-preferences,.loginLanguage{display:none!important}
html,html[data-sa-theme="light"]{color-scheme:light!important;background:#eef5fa!important}
html body.sa-app-page,html body.sa-budget-page,html body.sa-unified-page{color:#17354f!important;background:#eef5fa!important;background-image:none!important}

/* Runtime safety net for legacy module colours. */
html body .sa-auto-blue-accent{color:#fff!important;border-color:#1688d3!important;background:#0878de!important;background-image:linear-gradient(135deg,#0878de,#0a91c1)!important}
html body .sa-auto-blue-accent *{color:inherit!important}
html body .sa-auto-blue-soft{color:#075f9e!important;border-color:#b9d9ed!important;background:#eaf5fd!important;background-image:none!important}
html body .sa-auto-blue-soft *{color:inherit!important}
html body .sa-auto-light-text{color:#294b67!important;opacity:1!important}

/* Exact wordmark, with no coloured or grey tile behind it. */
html body.sa-app-page[data-product-shell="v3"] > header.topbar.sa-commandbar{height:68px!important;min-height:68px!important;padding:0 16px!important;color:#294b67!important;border-bottom:1px solid #d9e6ef!important;background:#fff!important;background-image:none!important;box-shadow:0 7px 24px rgba(28,68,104,.065)!important}
html body.sa-app-page[data-product-shell="v3"] > header.topbar.sa-commandbar .brand.sa-brandmark{display:flex!important;align-items:center!important;width:232px!important;min-width:232px!important;height:68px!important;margin-left:-16px!important;padding:6px 8px!important;border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important}
html body.sa-app-page[data-product-shell="v3"] > header.topbar.sa-commandbar .brand.sa-brandmark .logo{display:flex!important;align-items:center!important;width:212px!important;height:56px!important;border:0!important;border-radius:0!important;background-color:transparent!important;background-image:none!important;box-shadow:none!important;overflow:visible!important}
html body.sa-app-page[data-product-shell="v3"] > header.topbar.sa-commandbar .brand.sa-brandmark .logo img{display:block!important;width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;object-position:left center!important;filter:none!important}
html body.sa-app-page[data-product-shell="v3"] > header.topbar.sa-commandbar .brand.sa-brandmark > div:last-child{display:none!important}
html body.sa-app-page[data-product-shell="v3"] > header.topbar.sa-commandbar .damu-organization{height:48px!important;color:#294b67!important;border:1px solid #dbe7ef!important;background:#f5f9fc!important;background-image:none!important}
html body.sa-app-page[data-product-shell="v3"] > header.topbar.sa-commandbar .damu-organization :is(b,span){color:#294b67!important;opacity:1!important}
html body.sa-app-page[data-product-shell="v3"] > header.topbar.sa-commandbar .damu-organization small{color:#0878b9!important;opacity:1!important}

/* Compact white navigation and a full profile popover opening to the right. */
html body.sa-app-page[data-product-shell="v3"] > .app.sa-product-grid{grid-template-columns:232px minmax(0,1fr)!important;min-height:calc(100dvh - 68px)!important;padding:12px!important;color:#17354f!important;background:#eef5fa!important;background-image:none!important}
html body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation{position:sticky!important;z-index:9000!important;top:80px!important;width:auto!important;height:calc(100dvh - 92px)!important;overflow:visible!important;color:#294b67!important;border:1px solid #dbe7ef!important;background:#fff!important;background-image:none!important;box-shadow:0 12px 30px rgba(28,68,104,.075)!important}
html body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sidebar-title{color:#6b879f!important;border-color:#e2ebf2!important}
html body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sa-menu-group{border-color:transparent!important;background:transparent!important;background-image:none!important}
html body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sa-menu-group.open{border-color:#dce9f2!important;background:#f6fafd!important}
html body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sa-menu-head{color:#294b67!important;background:transparent!important;opacity:1!important}
html body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sa-menu-head :is(.sa-menu-title,.sa-menu-arrow,span,div){color:inherit!important;opacity:1!important}
html body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sa-menu-glyph{color:#0878c8!important;background:#e8f5fc!important;background-image:none!important}
html body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sa-menu-link{color:#365c78!important;background:transparent!important;opacity:1!important}
html body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sa-menu-link :is(span,.sa-menu-link-label,.sa-menu-index){color:inherit!important;opacity:1!important}
html body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sa-menu-link:hover{color:#075f9e!important;background:#edf6fc!important}
html body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sa-menu-link.active{color:#fff!important;background:#0878de!important;background-image:linear-gradient(135deg,#0878de,#0a91c1)!important}
html body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation .sa-sidebar-profile{position:relative!important;z-index:1000!important;overflow:visible!important;color:#294b67!important;border-color:#dbe7ef!important;background:#f6f9fc!important;background-image:none!important}
html body.sa-app-page[data-product-shell="v3"] .damu-account--sidebar{position:relative!important;z-index:1000!important;overflow:visible!important}
html body.sa-app-page[data-product-shell="v3"] .damu-account--sidebar .userbox,html body.sa-app-page[data-product-shell="v3"] .damu-account--sidebar .userbox :is(.userbox-name,.userbox-login,.damu-account-caret){color:#294b67!important;background:transparent!important;opacity:1!important}
html body.sa-app-page[data-product-shell="v3"] .damu-account--sidebar .userbox-login{color:#66839a!important}
html body.sa-app-page[data-product-shell="v3"] .damu-account--sidebar .damu-account-menu{position:absolute!important;z-index:11000!important;top:auto!important;right:auto!important;bottom:0!important;left:calc(100% + 12px)!important;width:286px!important;min-width:286px!important;max-height:min(560px,calc(100dvh - 40px))!important;padding:8px!important;overflow:auto!important;color:#294b67!important;border:1px solid #d5e3ed!important;border-radius:14px!important;background:#fff!important;background-image:none!important;box-shadow:0 24px 70px rgba(10,43,70,.22)!important}
html body.sa-app-page[data-product-shell="v3"] .damu-account--sidebar .damu-account-menu :is(.damu-account-menu-head,.damu-account-menu-section,.damu-account-submenu,button,summary,span,b,small){color:#294b67!important;border-color:#e0e9f0!important;background:transparent!important;background-image:none!important;opacity:1!important}
html body.sa-app-page[data-product-shell="v3"] .damu-account--sidebar .damu-account-menu :is(button,summary):hover{color:#075f9e!important;background:#edf6fc!important}

/* One pale-blue page heading on every module. */
html body.sa-app-page[data-product-shell="v3"] #mainPanel{min-width:0!important;min-height:calc(100dvh - 92px)!important;color:#17354f!important;background:transparent!important;background-image:none!important}
html body.sa-app-page[data-product-shell="v3"] #mainPanel{position:relative!important;z-index:1!important}
html body.sa-app-page[data-product-shell="v3"] #mainPanel > .module-head.sa-page-hero{min-height:112px!important;margin:0 0 16px!important;padding:20px 22px!important;color:#173754!important;border:1px solid #cfe3f1!important;border-radius:16px!important;background:#edf7fd!important;background-image:linear-gradient(135deg,#edf7fd,#eefbff)!important;box-shadow:0 12px 30px rgba(31,81,120,.075)!important}
html body.sa-app-page[data-product-shell="v3"] #mainPanel > .module-head.sa-page-hero :is(.module-title,.module-kicker,.module-desc,.chip){color:#173754!important;opacity:1!important}
html body.sa-app-page[data-product-shell="v3"] #mainPanel > .module-head.sa-page-hero .module-kicker{color:#0878bd!important}
html body.sa-app-page[data-product-shell="v3"] #mainPanel > .module-head.sa-page-hero .module-desc{color:#66839b!important}
html body.sa-app-page[data-product-shell="v3"] #mainPanel > .module-head.sa-page-hero .module-icon{color:#0878ce!important;border-color:#b9d9ed!important;background:#fff!important;background-image:none!important;box-shadow:0 8px 18px rgba(27,99,151,.10)!important}

/* Flat workspace surfaces; no frame-inside-frame effect. */
html body.sa-app-page[data-product-shell="v3"] #moduleBody{color:#17354f!important;border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;overflow:visible!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody > :is(.card,.panel,.section,.sa-min-check,.admin-workspace,.profile-workspace,.whatsapp-workspace,.orders-workspace){color:#17354f!important;border:1px solid #d8e6ef!important;border-radius:16px!important;background:#fff!important;background-image:none!important;box-shadow:0 12px 32px rgba(26,72,107,.07)!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.card,.panel,.section-card,.sa-min-card,.sa-clean-card,.soft-details,.admin-card,.admin-table-card,.profile-card,.payment-card,.payment-panel,.toolbar,.filters,.actions,.table-wrap,.reference-shell,.orders-shell,.wa-shell,.whatsapp-shell){color:#17354f!important;border-color:#d8e6ef!important;background:#fff!important;background-image:none!important;box-shadow:none!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.profile-hero,.whatsapp-hero,.wa-hero,.orders-hero,.admin-hero,.card-hero,.section-hero){color:#173754!important;border-color:#cfe3f1!important;background:#edf7fd!important;background-image:linear-gradient(135deg,#edf7fd,#eefbff)!important;box-shadow:none!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.profile-hero,.whatsapp-hero,.wa-hero,.orders-hero,.admin-hero,.card-hero,.section-hero) *{color:#173754!important;opacity:1!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.field,.form-field,.form-group,.input-group,.check-row,.option-card,.profile-section,.profile-field,.wa-field,.whatsapp-field,.settings-group,.reference-summary,.sa-min-options,.sa-clean-bottom,.sa-clean-card-head,.sa-template,details,summary){color:#365873!important;border-color:#d9e6ee!important;background:#f7fbfe!important;background-image:none!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(h1,h2,h3,h4,.title,.card-title,.section-title,.profile-title,.orders-title,b,strong){color:#173754!important;opacity:1!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(p,small,.muted,.hint,.help,.card-sub,.label,label){color:#607e96!important;opacity:1!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(input,select,textarea){color:#17354f!important;border-color:#bfd4e3!important;background:#fff!important;background-image:none!important;opacity:1!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(input,textarea)::placeholder{color:#839aae!important;opacity:1!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.btn-primary,button.primary,.btn-save,[data-primary="true"]){color:#fff!important;border-color:#0878de!important;background:#0878de!important;background-image:linear-gradient(135deg,#0878de,#0a91c1)!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.btn-secondary,button:not(.btn-primary):not(.primary):not(.btn-save)){color:#315873!important;border-color:#bfd3e1!important;background:#fff!important;background-image:none!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.btn-secondary,button:not(.btn-primary):not(.primary):not(.btn-save)):hover{color:#075f9e!important;border-color:#82bce1!important;background:#edf6fc!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.reference-tabs,.orders-tabs,.tabs,.tab-list) button[aria-selected="true"],html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.reference-tabs,.orders-tabs,.tabs,.tab-list) button.active{color:#fff!important;border-color:#0878de!important;background:#0878de!important;background-image:linear-gradient(135deg,#0878de,#0a91c1)!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(table,.reference-table){color:#294b67!important;border-color:#d8e6ef!important;background:#fff!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(thead,th){color:#274b68!important;border-color:#cfe0eb!important;background:#eaf4fb!important;background-image:none!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(tbody,td,tr){color:#365873!important;border-color:#dce7ef!important;background:#fff!important;background-image:none!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody tbody tr:nth-child(even) td{background:#f8fbfd!important}

/* Excel, WhatsApp, profile, orders and reference modules: remove residual green/cream blocks. */
html body.sa-app-page[data-product-shell="v3"] #moduleBody .sa-min-card :is(.sa-min-grid,.field,.sa-excel-picker,.sa-excel-picker-label,.check-row,.sa-min-actions,.sa-min-extra,.sa-clean-bottom,.sa-clean-card,.sa-clean-card-head,.sa-template,.sa-template-body,.sa-template-list,.sa-hosp-mini,.status,.sa-hosp-help,details,summary){color:#365873!important;border-color:#d8e6ef!important;background:#f7fbfe!important;background-image:none!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody .sa-min-card .sa-excel-picker-label{background:#fff!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody .sa-min-card .sa-excel-upload-mark{color:#fff!important;background:#0878de!important;background-image:linear-gradient(135deg,#0878de,#0a91c1)!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody .sa-min-card .sa-excel-upload-mark{border-color:#0878de!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody .sa-min-card .sa-excel-picker-action{color:#075f9e!important;border-color:#a9cfe6!important;background:#edf7fd!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.status.ok,.result.ok,.notice.ok,.success,.success-box){color:#075f9e!important;border-color:#a9cee6!important;background:#edf7fd!important;background-image:none!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.profile-hero,.profile-banner){color:#173754!important;border-color:#cfe3f1!important;background:#edf7fd!important;background-image:linear-gradient(135deg,#edf7fd,#eefbff)!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.profile-hero,.profile-banner) :is(h1,h2,h3,b,strong,span,p,small){color:#173754!important;opacity:1!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.whatsapp-banner,.wa-banner,.whatsapp-titlebar,.wa-titlebar){color:#173754!important;border-color:#cfe3f1!important;background:#edf7fd!important;background-image:linear-gradient(135deg,#edf7fd,#eefbff)!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.whatsapp-banner,.wa-banner,.whatsapp-titlebar,.wa-titlebar) *{color:#173754!important;opacity:1!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody .stats-raport-intro{display:none!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody .whatsapp-settings-card > .module-head{display:flex!important;min-height:0!important;margin:0 0 10px!important;padding:0!important;justify-content:flex-end!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody .whatsapp-settings-card > .module-head > :first-child{display:none!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.grid,.admin-form-grid,.admin-data-grid,.profile-grid,.whatsapp-grid) > :is(.field,.form-field,.form-group){color:#365873!important;border-color:#d8e6ef!important;background:#f7fbfe!important;background-image:none!important;box-shadow:none!important}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.grid,.admin-form-grid,.admin-data-grid,.profile-grid,.whatsapp-grid) > :is(.field,.form-field,.form-group)::before,
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.grid,.admin-form-grid,.admin-data-grid,.profile-grid,.whatsapp-grid) > :is(.field,.form-field,.form-group)::after{background:none!important;box-shadow:none!important}

/* Every modal and dialog follows the same pale-blue title / white body pattern. */
html body :is(.security-modal.open,.modal-backdrop.open,.modal-overlay.open,.kp-modal-overlay,.links-modal,.ait-links-modal,.avr-modal-backdrop.open,.protocol-reader-overlay.open){padding:20px!important;background:rgba(11,31,49,.52)!important;backdrop-filter:blur(10px)!important}

/* Administration summary belongs to the primary page header. */
html body.sa-app-page[data-product-shell="v3"] .sa-page-hero-admin-stats{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(106px,1fr))!important;
  align-self:center!important;
  gap:10px!important;
  min-width:min(390px,40vw)!important;
}
html body.sa-app-page[data-product-shell="v3"] .sa-page-hero-admin-stat{
  min-width:0!important;
  padding:12px 14px!important;
  border:1px solid #cfe0ef!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.78)!important;
  box-shadow:0 8px 20px rgba(8,33,61,.045)!important;
}
html body.sa-app-page[data-product-shell="v3"] .sa-page-hero-admin-stat b{
  display:block!important;
  color:#173754!important;
  font-size:22px!important;
  line-height:1!important;
}
html body.sa-app-page[data-product-shell="v3"] .sa-page-hero-admin-stat span{
  display:block!important;
  margin-top:7px!important;
  color:#5d7991!important;
  font-size:10.5px!important;
  font-weight:850!important;
  line-height:1.2!important;
  text-transform:uppercase!important;
}

/* Every dialog covers the whole workspace, including the sticky navigation. */
html body.sa-app-page :is(.security-modal,.modal-backdrop,.modal-overlay,.kp-modal-overlay,.avr-modal-backdrop){
  position:fixed!important;
  inset:0!important;
  z-index:50000!important;
}
html body.sa-app-page :is(.security-panel,.modal-card,.modal-content,.kp-modal,.avr-modal){
  position:relative!important;
  z-index:1!important;
}
html body.modal-open{overflow:hidden!important}

@media (max-width:980px){
  html body.sa-app-page[data-product-shell="v3"] .sa-page-hero-admin-stats{
    grid-column:1 / -1!important;
    width:100%!important;
    min-width:0!important;
  }
}
@media (max-width:640px){
  html body.sa-app-page[data-product-shell="v3"] .sa-page-hero-admin-stats{
    grid-template-columns:1fr!important;
  }
}
html body :is(.security-panel,.sa-consent-panel-v5,.modal-card,.dialog,.kp-modal,.links-dialog,.ait-links-dialog,.avr-modal,.protocol-reader,.create-org-dialog,.create-login-dialog){color:#294b67!important;border:1px solid #cfdeea!important;border-radius:18px!important;background:#fff!important;background-image:none!important;box-shadow:0 30px 90px rgba(7,31,51,.25)!important;overflow:auto!important}
html body :is(.security-head,.sa-consent-head-v5,.modal-head,.dialog-head,.links-head,.ait-links-head,.avr-modal-head,.protocol-reader-head,.kp-modal .kp-card__head){color:#173754!important;border-color:#cfe1ed!important;background:#edf7fd!important;background-image:linear-gradient(135deg,#edf7fd,#eefbff)!important;box-shadow:none!important}
html body :is(.security-head,.sa-consent-head-v5,.modal-head,.dialog-head,.links-head,.ait-links-head,.avr-modal-head,.protocol-reader-head,.kp-modal .kp-card__head) :is(h1,h2,h3,b,strong,span,p,small){color:inherit!important;opacity:1!important}
html body :is(.security-body,.sa-consent-body-v5,.modal-body,.dialog-body,.links-body,.ait-links-body,.avr-modal-body,.protocol-reader-body){color:#365873!important;background:#fff!important;background-image:none!important}
html body :is(.security-actions,.sa-consent-actions-v5,.modal-foot,.dialog-foot,.links-foot,.ait-links-foot,.avr-modal-foot,.protocol-reader-foot){color:#365873!important;border-color:#dce7ef!important;background:#f7fbfe!important;background-image:none!important}
html body :is(.security-panel,.sa-consent-panel-v5,.modal-card,.dialog,.kp-modal,.links-dialog,.ait-links-dialog,.avr-modal,.protocol-reader) :is(.field,.form-field,.form-group,.card,.panel,.note,.info,.sa-consent-chip-v5,.sa-consent-note-v5,.sa-consent-privacy-v5){color:#365873!important;border-color:#d8e6ef!important;background:#f7fbfe!important;background-image:none!important}
html body :is(.security-panel,.sa-consent-panel-v5,.modal-card,.dialog,.kp-modal,.links-dialog,.ait-links-dialog,.avr-modal,.protocol-reader) :is(input,select,textarea){color:#17354f!important;border-color:#bfd4e3!important;background:#fff!important;background-image:none!important}

/* Budget Lots: same wordmark, light navigation and blue-only accents. */
html body.sa-budget-page > .shell{grid-template-columns:232px minmax(0,1fr)!important;grid-template-rows:68px minmax(0,1fr)!important;color:#17354f!important;background:#eef5fa!important;background-image:none!important}
html body.sa-budget-page > .shell > header.topbar{height:68px!important;min-height:68px!important;padding:0 16px!important;color:#294b67!important;border-bottom:1px solid #d9e6ef!important;background:#fff!important;background-image:none!important;box-shadow:0 7px 24px rgba(28,68,104,.065)!important}
html body.sa-budget-page > .shell > header.topbar .topbar-brand{display:flex!important;align-items:center!important;width:232px!important;min-width:232px!important;height:68px!important;margin-left:-16px!important;padding:6px 8px!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body.sa-budget-page > .shell > header.topbar .topbar-brand-logo{display:flex!important;align-items:center!important;width:212px!important;height:56px!important;border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;overflow:visible!important}
html body.sa-budget-page > .shell > header.topbar .topbar-brand-logo img{display:block!important;width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;object-position:left center!important;filter:none!important}
html body.sa-budget-page > .shell > header.topbar .topbar-brand-text{display:none!important}
html body.sa-budget-page > .shell > header.topbar .topbar-org{color:#294b67!important;border-color:#dbe7ef!important;background:#f5f9fc!important;background-image:none!important}
html body.sa-budget-page > .shell > header.topbar :is(.topbar-org-name,.topbar-org-role){color:#294b67!important;opacity:1!important}
html body.sa-budget-page > .shell > header.topbar .topbar-logout{color:#075f9e!important;border-color:#a9cee6!important;background:#fff!important;background-image:none!important}
html body.sa-budget-page > .shell > aside.side{width:232px!important;color:#294b67!important;border-right:1px solid #dbe7ef!important;background:#fff!important;background-image:none!important;box-shadow:10px 0 28px rgba(28,68,104,.06)!important}
html body.sa-budget-page > .shell > aside.side :is(.nav-title,.side-caption,.side-group-label){color:#6f8aa1!important;opacity:1!important}
html body.sa-budget-page > .shell > aside.side .side-nav-group{color:#294b67!important;border-color:transparent!important;background:transparent!important;background-image:none!important}
html body.sa-budget-page > .shell > aside.side .side-nav-group.open{border-color:#dbe8f1!important;background:#f5f9fc!important}
html body.sa-budget-page > .shell > aside.side :is(button.side-nav-head,.side-nav-group button.nav-btn){color:#315873!important;border-color:transparent!important;background:transparent!important;background-image:none!important;opacity:1!important}
html body.sa-budget-page > .shell > aside.side :is(button.side-nav-head,.side-nav-group button.nav-btn) :is(.nav-title,.nav-label,span){color:inherit!important;opacity:1!important}
html body.sa-budget-page > .shell > aside.side :is(button.side-nav-head,.side-nav-group button.nav-btn):hover{color:#075f9e!important;background:#edf6fc!important}
html body.sa-budget-page > .shell > aside.side .side-nav-group button.nav-btn.active{color:#fff!important;border-color:#0878de!important;background:#0878de!important;background-image:linear-gradient(135deg,#0878de,#0a91c1)!important}
html body.sa-budget-page > .shell > aside.side :is(.nav-icon,.nav-badge,.side-nav-icon){color:#0878c8!important;border-color:#c5deec!important;background:#e8f5fc!important;background-image:none!important}
html body.sa-budget-page > .shell > main{color:#17354f!important;background:#eef5fa!important;background-image:none!important}
html body.sa-budget-page > .shell > main > .top{color:#173754!important;border:1px solid #cfe3f1!important;background:#edf7fd!important;background-image:linear-gradient(135deg,#edf7fd,#eefbff)!important;box-shadow:0 12px 30px rgba(31,81,120,.075)!important}
html body.sa-budget-page > .shell > main > .top :is(.h1,.top-subtitle,.lead){color:#173754!important;opacity:1!important}
html body.sa-budget-page > .shell > main > .top :is(.top-subtitle,.lead){color:#66839b!important}
html body.sa-budget-page > .shell > main > .top .budget-page-icon{color:#0878ce!important;border-color:#b9d9ed!important;background:#fff!important;background-image:none!important}
html body.sa-budget-page > .shell > main :is(.toolbar,.status-row,.function-tabs,.panel,.section-card,.card,.table-wrap,.status,.lot-card,.panel-head,.panel-body,.actions,.grid,.filters,.section-body,.table-shell){color:#365873!important;border-color:#d8e6ef!important;background:#fff!important;background-image:none!important;box-shadow:none!important}
html body.sa-budget-page > .shell > main :is(.panel-head,.section-head){color:#173754!important;background:#edf7fd!important;background-image:none!important}
html body.sa-budget-page > .shell > main :is(h1,h2,h3,h4,b,strong,.title,.section-title,label,.label){color:#173754!important;opacity:1!important}
html body.sa-budget-page > .shell > main :is(p,small,.muted,.hint,.help){color:#607e96!important;opacity:1!important}
html body.sa-budget-page > .shell > main :is(input,select,textarea){color:#17354f!important;border-color:#bfd4e3!important;background:#fff!important;background-image:none!important}
html body.sa-budget-page > .shell > main :is(.btn.primary,button.primary,.btn-save){color:#fff!important;border-color:#0878de!important;background:#0878de!important;background-image:linear-gradient(135deg,#0878de,#0a91c1)!important}
html body.sa-budget-page > .shell > main :is(.status.ok,.pill.ok,.badge.ok,.active-badge){color:#075f9e!important;border-color:#a9cee6!important;background:#edf7fd!important;background-image:none!important}
html body.sa-budget-page > .shell > main .function-tabs .function-tab-btn{color:#315873!important;border-color:#cbdde9!important;background:#fff!important;background-image:none!important}
html body.sa-budget-page > .shell > main .function-tabs .function-tab-btn.active{color:#075f9e!important;border-color:#8fc3e3!important;background:#eaf5fd!important;background-image:none!important;box-shadow:inset 0 -2px 0 #0878de!important}
html body.sa-budget-page > .shell > main table{color:#365873!important;border-color:#d8e6ef!important;background:#fff!important}
html body.sa-budget-page > .shell > main table thead th{color:#274b68!important;border-color:#cfe0eb!important;background:#eaf4fb!important;background-image:none!important}
html body.sa-budget-page > .shell > main table :is(tbody,td,tr){color:#365873!important;border-color:#dce7ef!important;background:#fff!important;background-image:none!important}

@media(max-width:820px){
  html body.sa-app-page[data-product-shell="v3"] > .app.sa-product-grid{display:block!important;padding:0 0 20px!important}
  html body.sa-app-page[data-product-shell="v3"] > .app aside.sidebar.sa-navigation{position:relative!important;top:auto!important;width:100%!important;height:auto!important;min-height:0!important;border-radius:0 0 14px 14px!important}
  html body.sa-app-page[data-product-shell="v3"] .damu-account--sidebar .damu-account-menu{bottom:calc(100% + 8px)!important;left:0!important;width:min(286px,calc(100vw - 24px))!important;min-width:0!important}
  html body.sa-budget-page > .shell{display:block!important}
  html body.sa-budget-page > .shell > aside.side{position:relative!important;top:auto!important;width:100%!important;height:auto!important;min-height:0!important}
  html body.sa-budget-page > .shell > main{padding:12px!important}
}

/* Final light-only polish: exact brand crop, legible navigation and quieter Budget Lots forms. */
html body.sa-app-page[data-product-shell="v3"] > header.topbar.sa-commandbar .brand.sa-brandmark,
html body.sa-budget-page > .shell > header.topbar .topbar-brand-logo{
  background-color:transparent!important;
  background-image:url('/assets/sanaly-audit-wordmark-v1.png?v=20260809')!important;
  background-repeat:no-repeat!important;
  background-size:330px 220px!important;
  background-position:-56px -74px!important;
}
html body.sa-app-page[data-product-shell="v3"] > header.topbar.sa-commandbar .brand.sa-brandmark img,
html body.sa-budget-page > .shell > header.topbar .topbar-brand-logo img{display:none!important}

html[data-sa-theme="light"] body.sa-budget-page > .shell > aside.side,
html body.sa-budget-page > .shell > aside.side{color:#294b67!important;background:#fff!important;background-image:none!important}
html[data-sa-theme="light"] body.sa-budget-page > .shell > aside.side :is(.side-nav-group,.side-nav-head,.nav-btn,.side-group-label,.nav-title,.nav-label,.side-caption),
html body.sa-budget-page > .shell > aside.side :is(.side-nav-group,.side-nav-head,.nav-btn,.side-group-label,.nav-title,.nav-label,.side-caption){color:#315873!important;opacity:1!important}
html[data-sa-theme="light"] body.sa-budget-page > .shell > aside.side :is(.side-nav-head,.nav-btn) *,
html body.sa-budget-page > .shell > aside.side :is(.side-nav-head,.nav-btn) *{color:inherit!important;opacity:1!important}
html[data-sa-theme="light"] body.sa-budget-page > .shell > aside.side :is(.side-group-glyph,.nav-glyph,.side-nav-icon,.nav-icon),
html body.sa-budget-page > .shell > aside.side :is(.side-group-glyph,.nav-glyph,.side-nav-icon,.nav-icon){color:#0878c8!important;border-color:#c5deec!important;background:#e8f5fc!important;background-image:none!important;opacity:1!important}
html[data-sa-theme="light"] body.sa-budget-page > .shell > aside.side .nav-btn.active,
html body.sa-budget-page > .shell > aside.side .nav-btn.active{color:#fff!important;border-color:#0878de!important;background:#0878de!important;background-image:linear-gradient(135deg,#0878de,#0a91c1)!important}
html[data-sa-theme="light"] body.sa-budget-page > .shell > aside.side .nav-btn.active *,
html body.sa-budget-page > .shell > aside.side .nav-btn.active *{color:#fff!important}
html[data-sa-theme="light"] body.sa-budget-page > .shell > aside.side .nav-btn.active :is(.nav-glyph,.side-nav-icon),
html body.sa-budget-page > .shell > aside.side .nav-btn.active :is(.nav-glyph,.side-nav-icon){color:#fff!important;border-color:rgba(255,255,255,.42)!important;background:rgba(255,255,255,.12)!important;background-image:none!important}
html[data-sa-theme="light"] body.sa-budget-page > .shell > aside.side button.nav-btn:not(.active),
html[data-sa-theme="light"] body.sa-budget-page > .shell > aside.side button.nav-btn:not(.active).sa-auto-light-text,
html body.sa-budget-page > .shell > aside.side button.nav-btn:not(.active),
html body.sa-budget-page > .shell > aside.side button.nav-btn:not(.active).sa-auto-light-text{color:#315873!important;background:transparent!important;opacity:1!important}
html[data-sa-theme="light"] body.sa-budget-page > .shell > aside.side button.nav-btn:not(.active) *,
html body.sa-budget-page > .shell > aside.side button.nav-btn:not(.active) *{color:#315873!important;opacity:1!important}

html body.sa-budget-page > .shell > main :is(.toolbar,.status-row){padding:6px 4px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body.sa-budget-page > .shell > main .function-tabs{gap:6px!important;padding:5px!important;border:0!important;border-radius:12px!important;background:transparent!important}
html body.sa-budget-page > .shell > main .function-tabs .function-tab-btn{min-height:48px!important;padding:8px 12px!important;border-radius:11px!important}
html body.sa-budget-page > .shell > main .function-panel{border:1px solid #d8e6ef!important;border-radius:14px!important;background:#fff!important;box-shadow:0 10px 28px rgba(26,72,107,.055)!important;overflow:hidden!important}
html body.sa-budget-page > .shell > main .function-panel > .panel-head{padding:13px 16px!important;border:0!important;border-bottom:1px solid #d8e6ef!important;border-radius:0!important;background:#f3f8fc!important}
html body.sa-budget-page > .shell > main .function-panel > .panel-body{padding:15px 16px!important;background:#fff!important}
html body.sa-budget-page > .shell > main .budget-primary-rule-grid{display:grid!important;grid-template-columns:repeat(5,minmax(150px,1fr))!important;gap:10px!important;padding:0!important;border:0!important;background:transparent!important}
html body.sa-budget-page > .shell > main .budget-primary-rule-grid > .field{min-width:0!important;padding:0!important;border:0!important;background:transparent!important}
html body.sa-budget-page > .shell > main .budget-primary-rule-grid :is(input,select){min-height:42px!important}
html body.sa-budget-page > .shell > main details.budget-advanced{margin-top:12px!important;color:#315873!important;border:1px solid #d8e6ef!important;border-radius:12px!important;background:#f8fbfd!important;overflow:hidden!important}
html body.sa-budget-page > .shell > main details.budget-advanced > summary{display:grid!important;grid-template-columns:max-content minmax(0,1fr)!important;align-items:center!important;gap:10px!important;min-height:46px!important;padding:10px 13px!important;color:#315873!important;border:0!important;background:#f8fbfd!important;cursor:pointer!important;list-style:none!important}
html body.sa-budget-page > .shell > main details.budget-advanced > summary::-webkit-details-marker{display:none!important}
html body.sa-budget-page > .shell > main details.budget-advanced > summary::after{content:'⌄';grid-column:3;color:#0878c8;font-size:18px;line-height:1;transition:transform .18s ease}
html body.sa-budget-page > .shell > main details.budget-advanced[open] > summary::after{transform:rotate(180deg)}
html body.sa-budget-page > .shell > main .budget-advanced-title{color:#173754!important;font-weight:800!important}
html body.sa-budget-page > .shell > main .budget-advanced-subtitle{color:#6b879d!important;font-size:12px!important}
html body.sa-budget-page > .shell > main .budget-advanced-body{padding:12px 13px!important;border-top:1px solid #dce8f0!important;background:#fff!important}
html body.sa-budget-page > .shell > main .budget-advanced-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px 12px!important;padding:0!important;border:0!important;background:transparent!important}
html body.sa-budget-page > .shell > main .budget-advanced-grid > .field{min-width:0!important;padding:0!important;border:0!important;background:transparent!important}
html body.sa-budget-page > .shell > main .budget-advanced-grid .hint{margin-top:5px!important;padding:0!important;border:0!important;background:transparent!important;font-size:11px!important;line-height:1.35!important}
html body.sa-budget-page > .shell > main #blocking-create .actions{margin-top:12px!important;padding:0!important;border:0!important;background:transparent!important}
html body.sa-budget-page > .shell > main #blocking-create .actions .btn{min-height:40px!important}
html body.sa-budget-page > .shell > main .grid{align-items:start!important}
html body.sa-budget-page > .shell > main .grid > .field{display:flex!important;min-width:0!important;flex-direction:column!important;align-items:stretch!important}
html body.sa-budget-page > .shell > main .grid > .field > label{display:flex!important;align-items:end!important;min-height:18px!important;margin-bottom:6px!important;line-height:1.25!important}
html body.sa-budget-page > .shell > main .grid > .field > :is(input,select,.cabinet-combo){width:100%!important;min-height:42px!important;margin:0!important}
html body.sa-budget-page > .shell > main .cabinet-combo{position:relative!important;display:block!important;padding:0!important;border:0!important;background:transparent!important;overflow:visible!important}
html body.sa-budget-page > .shell > main .cabinet-combo > input{width:100%!important;height:42px!important;min-height:42px!important;padding-right:42px!important;border-radius:10px!important}
html body.sa-budget-page > .shell > main .cabinet-combo > .cabinet-combo-toggle{position:absolute!important;z-index:2!important;top:1px!important;right:1px!important;bottom:1px!important;width:39px!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0!important;color:#315873!important;border:0!important;border-left:1px solid #bfd4e3!important;border-radius:0 9px 9px 0!important;background:#f3f8fc!important;box-shadow:none!important}
html body.sa-budget-page > .shell > main .cabinet-combo > .cabinet-combo-toggle:hover{color:#075f9e!important;background:#eaf5fd!important}
html body.sa-budget-page > .shell > main .cabinet-combo-menu{top:calc(100% + 4px)!important;left:0!important;right:0!important;width:auto!important}
html body.sa-budget-page > .shell > main .activation-section-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;width:100%!important;padding:6px!important;border:1px solid #d8e6ef!important;border-radius:12px!important;background:#fff!important;overflow:visible!important}
html body.sa-budget-page > .shell > main .activation-section-tab{min-height:54px!important;padding:9px 11px!important;color:#315873!important;border:1px solid #cbdde9!important;border-left-width:1px!important;border-radius:10px!important;background:#fff!important;background-image:none!important;box-shadow:none!important;filter:none!important}
html body.sa-budget-page > .shell > main .activation-section-tab :is(b,span){color:inherit!important;opacity:1!important}
html body.sa-budget-page > .shell > main .activation-section-tab span{color:#6b879d!important}
html body.sa-budget-page > .shell > main .activation-section-tab:hover{color:#075f9e!important;border-color:#9bc9e4!important;background:#f3f9fd!important}
html body.sa-budget-page > .shell > main .activation-section-tab.active{color:#075f9e!important;border-color:#7ebce1!important;background:#eaf5fd!important;background-image:none!important;box-shadow:inset 0 -2px 0 #0878de!important;filter:none!important}
html body.sa-budget-page > .shell > main .activation-section-tab.active span{color:#527b98!important}
html body.sa-budget-page > .shell > main :is(.activation-workspace,.activation-block){color:#365873!important;border-color:#d8e6ef!important;border-top-color:#d8e6ef!important;background:#fff!important;background-image:none!important;box-shadow:none!important}
html body.sa-budget-page > .shell > main .activation-workspace :is(.grid,.actions,.table-wrap,.hint){color:#365873!important;border-color:#d8e6ef!important;background:#f8fbfd!important;background-image:none!important}
html body.sa-budget-page > .shell > main .activation-device-tab{color:#315873!important;border-color:#cbdde9!important;background:#fff!important;background-image:none!important}
html body.sa-budget-page > .shell > main .activation-device-tab.active{color:#075f9e!important;border-color:#7ebce1!important;background:#eaf5fd!important;background-image:none!important;box-shadow:inset 0 -2px 0 #0878de!important}
html body.sa-budget-page > .shell > main .sa-auto-blue-accent{color:#fff!important;border-color:#0878de!important;background:#0878de!important;background-image:linear-gradient(135deg,#0878de,#0a91c1)!important}
html body.sa-budget-page > .shell > main .sa-auto-blue-soft{color:#075f9e!important;border-color:#b9d9ed!important;background:#eaf5fd!important;background-image:none!important}
html body.sa-budget-page > .shell > main .breadcrumb{color:#607e96!important;border-color:transparent!important}
html body.sa-budget-page > .shell > main .breadcrumb *{color:inherit!important}
html body.sa-budget-page > .shell > main .function-tab-icon{color:#075f9e!important;border-color:#b9d9ed!important;background:#eaf5fd!important;background-image:none!important}
html body.sa-budget-page > .shell > main .function-tab-btn.active .function-tab-icon{color:#fff!important;border-color:#0878de!important;background:#0878de!important;background-image:linear-gradient(135deg,#0878de,#0a91c1)!important}
html body.sa-budget-page > .shell > main :is(.btn,button):not(.primary):not(.btn-save){color:#315873!important;border-color:#bfd3e1!important;background:#fff!important;background-image:none!important}
html body.sa-budget-page > .shell > main :is(.btn,button):not(.primary):not(.btn-save):hover{color:#075f9e!important;border-color:#82bce1!important;background:#edf6fc!important}
html body.sa-budget-page > .shell > main :is(input,select,textarea):focus,
html body.sa-budget-page > .shell > main .cabinet-combo:focus-within input{border-color:#1688d3!important;box-shadow:0 0 0 3px rgba(8,120,222,.12)!important;outline:0!important}

@media(max-width:1280px){
  html body.sa-budget-page > .shell > main .budget-primary-rule-grid{grid-template-columns:repeat(3,minmax(170px,1fr))!important}
}
@media(max-width:860px){
  html body.sa-budget-page > .shell > main .budget-primary-rule-grid,
  html body.sa-budget-page > .shell > main .budget-advanced-grid{grid-template-columns:1fr!important}
  html body.sa-budget-page > .shell > main details.budget-advanced > summary{grid-template-columns:1fr max-content!important}
  html body.sa-budget-page > .shell > main .budget-advanced-subtitle{grid-column:1 / -1!important}
  html body.sa-budget-page > .shell > main details.budget-advanced > summary::after{grid-column:2;grid-row:1 / span 2!important}
}

/* Final vertical rhythm: page headings start near the top edge instead of
   floating at the bottom of an oversized banner. */
html body.sa-app-page[data-product-shell="v3"] #mainPanel > .module-head.sa-page-hero{
  display:flex!important;
  align-items:flex-start!important;
  align-content:flex-start!important;
  min-height:104px!important;
  padding:12px 18px 14px!important;
}
html body.sa-app-page[data-product-shell="v3"] #mainPanel > .module-head.sa-page-hero .sa-page-heading{
  align-self:flex-start!important;
  margin:0!important;
}
html body.sa-budget-page > .shell > main > .top{
  display:flex!important;
  align-items:flex-start!important;
  align-content:flex-start!important;
  min-height:104px!important;
  padding:12px 18px 14px!important;
}
html body.sa-budget-page > .shell > main > .top .top-title{
  align-self:flex-start!important;
  margin:0!important;
}

/* Keep every control in a row on the same baseline. */
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.grid,.admin-form-grid,.profile-grid,.whatsapp-grid){
  align-items:start!important;
}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.grid,.admin-form-grid,.profile-grid,.whatsapp-grid) > :is(.field,.form-field,.form-group){
  display:flex!important;
  min-width:0!important;
  flex-direction:column!important;
  align-items:stretch!important;
}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(.grid,.admin-form-grid,.profile-grid,.whatsapp-grid) > :is(.field,.form-field,.form-group) > :is(label,.label){
  display:flex!important;
  align-items:flex-end!important;
  min-height:18px!important;
  margin:0 0 6px!important;
}
html body.sa-app-page[data-product-shell="v3"] #moduleBody :is(input,select,textarea,button){
  box-sizing:border-box!important;
}

/* The disclosure arrow belongs to the Budget Lots summary row. */
html body.sa-budget-page > .shell > main details.budget-advanced > summary{
  grid-template-columns:max-content minmax(0,1fr) max-content!important;
}
html body.sa-budget-page > .shell > main details.budget-advanced > summary::after{
  content:'⌄'!important;
  grid-column:3!important;
  grid-row:1 / span 2!important;
  align-self:center!important;
}

/* Settings rows use a top baseline: explanatory text under one control must
   not push the neighbouring select down. */
html body.sa-budget-page > .shell > main .settings-group-appointment .settings-group-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;
  align-content:start!important;
}
html body.sa-budget-page > .shell > main .settings-group-appointment .settings-group-grid > .field{
  align-self:start!important;
  justify-self:stretch!important;
}
html body.sa-budget-page > .shell > main .settings-group-appointment .settings-group-grid > .field > label{
  min-height:18px!important;
  margin:0 0 6px!important;
}

/* The navigation owns a fixed column. Keep nested groups inside that column
   so no horizontal scrollbar or clipped labels appear at desktop scale. */
html body.sa-budget-page > .shell > aside.side{
  box-sizing:border-box!important;
  max-width:232px!important;
  overflow-x:hidden!important;
}
html body.sa-budget-page > .shell > aside.side :is(.side-nav-group,.side-nav-head,.side-nav-items,.nav-btn){
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
}
html body.sa-budget-page > .shell > aside.side :is(.side-group-label,.nav-label){
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html body.sa-budget-page > .shell > main :is(.settings-control-board,.settings-control-group){
  box-sizing:border-box!important;
  max-width:100%!important;
}
@media(max-width:820px){
  html body.sa-budget-page > .shell > aside.side{
    width:100%!important;
    max-width:100%!important;
  }
}

/* Visibility state must win over layout helpers that turn form fields into
   flex containers. */
html body .hidden{
  display:none!important;
}
html body.sa-budget-page > .shell > main .hidden,
html body.sa-budget-page > .shell > main .grid > .field.hidden,
html body.sa-app-page[data-product-shell="v3"] #moduleBody .hidden{
  display:none!important;
}
