/* Light mode deliberately has no palette overrides: original styles remain exact. */
.kupak-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:0 0 auto;width:max-content;max-width:100%;white-space:nowrap}.kupak-theme-toggle svg{display:block;flex:none}.kupak-theme-toggle:focus-visible{outline:3px solid #b59754;outline-offset:4px}
@media screen{
:root[data-kupak-theme=dark] :is(h1,h2){font-family:"Segoe UI",Arial,sans-serif!important;font-weight:750!important}
:root[data-kupak-theme=dark] body :is(button.btn:not([aria-label]),button.primary:not([aria-label]),button.selected:not([aria-label]),.local-kupak-view),:root[data-kupak-theme=dark] body.signed-in #app :is(button.btn:not([aria-label]),button.primary:not([aria-label]),button.selected:not([aria-label]),.local-kupak-view){border-radius:10px!important}
:root[data-kupak-theme=dark]{color-scheme:dark;--ink:#efe6cf;--muted:#c3b38d;--gold:#bea15b;--line:#776337;--settlement-border:#776337;--paper:#111110}
:root[data-kupak-theme=dark] body,:root[data-kupak-theme=dark] body.signed-in{background:#111110!important;color:#efe6cf!important}
:root[data-kupak-theme=dark] :is(#app,.layout,main,.page-content,.content){background:#111110!important;color:#efe6cf!important}
:root[data-kupak-theme=dark] :is(header,aside,.sidebar,footer,nav){background:#111110!important;color:#efe6cf!important;border-color:#776337!important}
:root[data-kupak-theme=dark] body.signed-in header,:root[data-kupak-theme=dark] body.signed-in .sidebar{background:#111110!important;color:#efe6cf!important;border-color:#776337!important}
:root[data-kupak-theme=dark] :is(.panel,.card,.record,.metric,.hint,.loginbox,.account,.shade .panel,.modal-shade>div,dialog,.modal,.popup,.phone-login-question,.overview-category,.overview-menu-group,.overview-menu-item,.overview-menu-visibility,.work-document-card,.modern-disclosure,.settlement-cleaning,.overview-favorites-menu,.tour-controls,.review-bar,.task-widget,.task-board,.task-board-card,.task-status-group,.task-row,.task-request-dialog,.task-decision-dialog,.sticky,.suggestions){background:#1c1c17!important;color:#efe6cf!important;border-color:#776337!important;box-shadow:0 5px 16px #0004!important}
:root[data-kupak-theme=dark] body.signed-in #app :is(.panel,.card,.record,.hint,.overview-category,.overview-menu-group,.overview-menu-item,.work-document-card,.modern-disclosure,.settlement-cleaning,.overview-favorites-menu){background:#1c1c17!important;color:#efe6cf!important;border-color:#776337!important}
:root[data-kupak-theme=dark] :is(h1,h2,h3,h4,h5,h6,p,label,legend,small,strong,b,span,li,dt,dd,summary){color:inherit}
:root[data-kupak-theme=dark] :is(.muted,.small,.task-meta,.task-times,.task-progress-confidence,.brand small,.eyebrow,.status,.comparison span){color:#c3b38d!important}
:root[data-kupak-theme=dark] :is(a,.comparison strong,.task-item-percent,.task-ring-value,#task-mini-value,#task-ring-value){color:#d9bf7b!important}
:root[data-kupak-theme=dark] :is(input,select,textarea,option),:root[data-kupak-theme=dark] body.signed-in :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]):not([type=hidden]),select,textarea),:root[data-kupak-theme=dark] body.signed-in #app :is(input,select,textarea,option){background:#171713!important;color:#f3ead4!important;border-color:#9d8244!important;box-shadow:inset 0 1px 3px #0006!important}
:root[data-kupak-theme=dark] :is(input,textarea)::placeholder{color:#aa9b78!important;opacity:1}
:root[data-kupak-theme=dark] :is(button,.btn,.pill,.account,.local-kupak-view),:root[data-kupak-theme=dark] body.signed-in :is(button,.btn,.pill,.account,.local-kupak-view),:root[data-kupak-theme=dark] body.signed-in #app :is(button,.btn,.pill,.account,.overview-favorite-pill,.overview-favorites-toggle){background:linear-gradient(#c4a96a,#a38749)!important;color:#15140f!important;border-color:#d4ba7b!important;box-shadow:0 3px 0 #695424,inset 0 1px 0 #e9d8ad!important}
:root[data-kupak-theme=dark] :is(button.selected,button[aria-pressed=true],button.primary,.btn.primary),:root[data-kupak-theme=dark] body.signed-in :is(button.selected,button[aria-pressed=true],button.primary,.btn.primary),:root[data-kupak-theme=dark] body.signed-in #app :is(button.selected,button[aria-pressed=true],button.primary,.btn.primary){background:linear-gradient(#3a3322,#16150f)!important;color:#ead29a!important;border-color:#c1a360!important}
:root[data-kupak-theme=dark] :is(button.subtle,.btn.subtle,.overview-rename,.overview-item-rename,.title-edit),:root[data-kupak-theme=dark] body.signed-in :is(button.subtle,.btn.subtle,.overview-rename,.overview-item-rename,.title-edit){background:transparent!important;color:#d9bf7b!important;box-shadow:none!important;border-color:transparent!important}
:root[data-kupak-theme=dark] :is(table,thead,tbody,tr,th,td,.tablewrap),:root[data-kupak-theme=dark] body.signed-in #app :is(table,thead,tbody,tr,th,td,.tablewrap){background:#1c1c17!important;color:#efe6cf!important;border-color:#776337!important}
:root[data-kupak-theme=dark] :is(th,thead,.tablewrap th),:root[data-kupak-theme=dark] body.signed-in #app :is(th,thead,.tablewrap th){background:#28251a!important;color:#e4cd94!important}
:root[data-kupak-theme=dark] :is(summary,.work-document-card>summary,.modern-disclosure>summary),:root[data-kupak-theme=dark] body.signed-in #app :is(summary,.work-document-card>summary,.modern-disclosure>summary){background:#1c1c17!important;color:#e8d7aa!important;border-color:#776337!important}
:root[data-kupak-theme=dark] body.signed-in #app #schedule-content :is(.inline-calendar,.inline-calendar th,.inline-calendar td,.schedule-sheet,.calendar-scroll){background:#1c1c17!important;color:#efe6cf!important;border-color:#776337!important}
:root[data-kupak-theme=dark] :is(.shade,.modal-shade){background:#000b!important}
:root[data-kupak-theme=dark] dialog::backdrop{background:#000b}
:root[data-kupak-theme=dark] :is(button,input,select,textarea,a):focus-visible{outline-color:#e8cc83!important}
:root[data-kupak-theme=dark] :is(input[type=checkbox],input[type=radio],progress){accent-color:#c3a25b}
:root[data-kupak-theme=dark] .task-mini-track,:root[data-kupak-theme=dark] .ring-track{stroke:#51462b!important}:root[data-kupak-theme=dark] .task-mini-arc,:root[data-kupak-theme=dark] .ring-value{stroke:#d2b56d!important}
}
@media print{
.kupak-theme-toggle{display:none!important}
:root[data-kupak-theme] {color-scheme:light!important}
:root[data-kupak-theme] :is(body,header,aside,footer,nav,main,#app,.layout,.panel,.card,.task-widget,#task-widget,.task-row,.task-status-group,.task-board,.task-board-card,.task-widget-list,.shade,.modal-shade,dialog,.modal,.modal-shade>div,details,summary,.hint,.record,table,thead,tbody,tr,th,td,input,select,textarea),:root[data-kupak-theme] body.signed-in #app :is(.panel,.card,table,thead,tbody,tr,th,td,input,select,textarea,summary){background:#fff!important;color:#000!important;border-color:#aaa!important;box-shadow:none!important}
:root[data-kupak-theme] :is(h1,h2,h3,h4,p,label,legend,small,strong,b,span,li,dt,dd,a,.muted,.eyebrow){color:#000!important;text-shadow:none!important}
}
