.qrio-help-links .theme-toggle{display:block;width:100%;padding:12px;border:0;border-top:1px solid #e3e8e7;margin-top:4px;background:transparent;text-align:left;font:inherit;color:inherit;border-radius:5px;cursor:pointer}.qrio-help-links .theme-toggle:hover{background:#edf2f1}.theme-toggle:focus-visible{outline:2px solid #869785;outline-offset:2px}
html[data-theme=dark]{color-scheme:dark;--ink:#e1ebe6;--muted:#b1c1ba;--line:#3a4b44;--lime:#a9bea6;background:#111a17}
html[data-theme=dark] body{background:#111a17!important;color:#e1ebe6!important}
html[data-theme=dark] :is(header,footer,aside.qrio-sidebar,.page-actions,main,section){border-color:#3a4b44!important}
html[data-theme=dark] :is(aside.qrio-sidebar,header,.page-actions,.qrio-help-links,dialog,.document-panel,.message-card,.associated-lease,.pending-card,.metric-tile,.management-card,.management-chart,.company,.guide-index a,.tip){background:#1a2721!important;color:#e1ebe6!important;border-color:#3a4b44!important}
html[data-theme=dark] :is(h1,h2,h3,h4,p,small,label,legend,summary,li,time,.lead,.eyebrow,.local,.workspace-label,.brand-parent,.site-parent,.profile,.unread-label,.associated-status,footer,header,header b,.brand,.site-brand){color:#e1ebe6!important}
html[data-theme=dark] :is(a,button){color:#c3d8be!important}
html[data-theme=dark] :is(input,select,textarea){background:#111d17!important;color:#e1ebe6!important;border-color:#586c60!important;accent-color:#a9c39b}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#a9b8b0}
html[data-theme=dark] :is(.secondary,.message-tools,.message-actions button,#moreMessages,#authButton,.site-account a,.site-account button,.theme-toggle){background:#213229!important;color:#e1ebe6!important;border-color:#586c60!important}
html[data-theme=dark] :is(.primary,.auth-actions .primary){background:#b6cdae!important;color:#15251a!important}
html[data-theme=dark] :is(.billing-note,.offer-note,.guide-note,.upload-panel,.banner,.local,.message-card.unread,#messagesStatus:not(:empty),#scheduleMessage:not(:empty),#scheduleResult:not(:empty),#documentMessage:not(:empty),#accessNote,.unread-label){background:#24382c!important;color:#e1ebe6!important;border-color:#526a55!important}
html[data-theme=dark] aside.qrio-sidebar nav :is(a,button){background:transparent!important;color:#c5d4cb!important}
html[data-theme=dark] aside.qrio-sidebar nav :is(.selected,[aria-current=page],a:hover,button:hover){background:#304938!important;box-shadow:inset 3px 0 #b6cdae;color:#fff!important}
html[data-theme=dark] :is(.qrio-help-links a:hover,.qrio-help-button:hover,.theme-toggle:hover,.notification-link:hover){background:#304938!important}
html[data-theme=dark] :is(th,td,table,.document-card,.message-tools){border-color:#3a4b44!important;color:#e1ebe6!important}
html[data-theme=dark] th{background:#213229!important}html[data-theme=dark] td{background:#1a2721!important}
html[data-theme=dark] .badge{background:#304938!important;color:#e1ebe6!important}
html[data-theme=dark] :is(.notification-count,.cart-count){background:#b6cdae!important;color:#15251a!important;border-color:#1a2721!important}
html[data-theme=dark] :is(.qrio-help-fixed,.qrio-search-fixed){background:#1a2721!important}
html[data-theme=dark] dialog::backdrop{background:#000a}
html[data-theme=dark] :is(button,a,input,select,textarea,summary):focus-visible{outline-color:#c3d8be!important}
/* Preserve the artwork and scanning contrast, not the interface theme. */
html[data-theme=dark] :is(#qrpreview,#qrLogoPreview,#pdfPages canvas){background:#fff;color:#000}
@media print{html[data-theme=dark] body{background:#fff!important;color:#000!important}html[data-theme=dark] :is(p,h1,h2,h3,li,summary){color:#000!important}}

html[data-theme=dark] .linked-lease-card{background:#213229;color:#e1ebe6;border-color:#3a4b44}

html[data-theme=dark] #records td:last-child button,html[data-theme=dark] #records td:last-child .schedule-link{background:#293e30!important;border-color:#586c60!important;color:#e1ebe6!important}
html[data-theme=dark] #records td:last-child button:hover,html[data-theme=dark] #records td:last-child .schedule-link:hover{background:#36503e!important;border-color:#a9bea6!important}

/* Library action links follow the same dark palette as workspace table buttons. */
html[data-theme=dark] .documents-page :is(.document-actions button,.invoice-action){background:#293e30!important;border-color:#586c60!important;color:#e1ebe6!important}
html[data-theme=dark] .documents-page :is(.document-actions button,.invoice-action):hover{background:#36503e!important;border-color:#a9bea6!important}
