/* Shared appearance tokens. Printed documents intentionally retain a light canvas. */
:root{--pe-surface:#fff;--pe-surface-soft:#f0f6f2;--pe-surface-raised:#fff;--pe-canvas:#f4f7f6;--pe-theme-ink:#183b36;--pe-theme-muted:#60776f;--pe-theme-faint:#718a80;--pe-theme-line:#dce8e1;--pe-theme-accent:#087f6c;--pe-theme-accent-soft:#e4f5ec;--pe-theme-shadow:0 10px 32px rgba(23,62,49,.045);--pe-theme-ease:cubic-bezier(.2,.7,.2,1)}
html[data-theme=dark]{--pe-surface:#15272d;--pe-surface-soft:#1b3036;--pe-surface-raised:#1b3238;--pe-canvas:#0d1b20;--pe-theme-ink:#e1eee9;--pe-theme-muted:#adc3ba;--pe-theme-faint:#94aea3;--pe-theme-line:#2b444a;--pe-theme-accent:#83dfbf;--pe-theme-accent-soft:#214d42;--pe-theme-shadow:0 14px 38px rgba(0,0,0,.14);--pe-navy:#e1eee9;--pe-ink:#e1eee9;--pe-muted:#adc3ba;--pe-line:#2b444a;--pe-teal:#83dfbf;--bs-body-bg:#0d1b20;--bs-body-color:#e1eee9;--bs-border-color:#2b444a;--bs-secondary-color:#adc3ba;--bs-tertiary-bg:#1b3036}
html{scroll-behavior:smooth}body{accent-color:var(--pe-theme-accent)}
.pe-theme-picker{position:relative;z-index:1090;color:var(--pe-theme-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:.75rem;flex-shrink:0;line-height:1.5}
.pe-theme-picker summary{list-style:none;min-height:40px;display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid var(--pe-theme-line);border-radius:10px;background:var(--pe-surface);color:var(--pe-theme-muted);cursor:pointer;user-select:none;transition:background .18s,border-color .18s,box-shadow .18s}
.pe-theme-picker summary::-webkit-details-marker{display:none}.pe-theme-picker summary:hover,.pe-theme-picker[open] summary{background:var(--pe-surface-soft);border-color:var(--pe-theme-accent)}.pe-theme-picker summary:focus-visible{outline:3px solid var(--pe-theme-accent);outline-offset:3px}.pe-theme-picker summary>span:first-child{font-size:21px;line-height:20px;width:21px;text-align:center}.pe-theme-chevron{font-size:12px;opacity:.7}.pe-theme-options{position:absolute;right:0;top:calc(100% + 10px);width:215px;background:var(--pe-surface-raised);border:1px solid var(--pe-theme-line);border-radius:15px;padding:9px;box-shadow:0 18px 48px #051f2229;animation:pe-menu-enter .16s var(--pe-theme-ease)}.pe-theme-caption{display:block;font-size:.56rem;letter-spacing:1.5px;color:var(--pe-theme-faint);padding:8px 11px}.pe-theme-options button{font:inherit;border:0;background:transparent;color:var(--pe-theme-ink);min-height:43px;width:100%;display:flex;align-items:center;gap:12px;padding:9px 11px;border-radius:8px;cursor:pointer;text-align:left}.pe-theme-options button>span:first-child{font-size:21px;width:23px;text-align:center}.pe-theme-options button:hover,.pe-theme-options button[aria-pressed=true]{background:var(--pe-theme-accent-soft);color:var(--pe-theme-accent)}.pe-theme-check{margin-left:auto;visibility:hidden;font-size:14px}.pe-theme-options button[aria-pressed=true] .pe-theme-check{visibility:visible}.pe-theme-options p{font-size:.62rem;line-height:1.7;color:var(--pe-theme-muted);margin:8px 10px 4px;padding-top:9px;border-top:1px solid var(--pe-theme-line)}.pe-theme-picker.pe-theme-auth{position:absolute;right:25px;top:27px}.pe-theme-auth .pe-theme-current,.pe-theme-auth .pe-theme-chevron{display:none}
.pe-workspace{background:var(--pe-canvas)!important}.pe-main{position:relative}.pe-header{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.pe-workspace .card,.acct-panel,.qte-panel{box-shadow:var(--pe-theme-shadow);transition:border-color .2s,box-shadow .25s var(--pe-theme-ease)}.pe-workspace .card:hover,.acct-panel:hover,.qte-panel:hover{border-color:#bcd9ca!important;box-shadow:0 14px 38px #183c320a}.pe-workspace .btn,.pe-workspace .form-control,.pe-workspace .form-select,.button{transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s var(--pe-theme-ease)}.pe-workspace .btn:active,.button:active{transform:translateY(1px)}.pe-workspace .btn-primary:hover,.pe-workspace .btn-success:hover,.button:hover{transform:translateY(-1px)}.pe-workspace .form-control:focus,.pe-workspace .form-select:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--pe-theme-accent) 16%,transparent)!important}.acct-hint,.qte-hint{color:var(--pe-theme-muted)!important}.pe-workspace .table tbody tr{transition:background-color .15s}.pe-workspace .table tbody tr:hover{background-color:var(--pe-surface-soft)}.pe-workspace .pe-nav-link{transition:background .18s,color .18s,box-shadow .18s}.pe-in-view{animation:pe-surface-enter .42s var(--pe-theme-ease) both}.pe-menu[open] .pe-menu-panel,dialog[open]{animation:pe-menu-enter .18s var(--pe-theme-ease)}
@keyframes pe-surface-enter{from{opacity:.65;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes pe-menu-enter{from{opacity:.6;transform:translateY(5px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
/* Workspace surfaces and legacy Bootstrap screens. */
html[data-theme=dark] body{background:var(--pe-canvas)!important;color:var(--pe-theme-ink)!important}html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] h4,html[data-theme=dark] h5,html[data-theme=dark] h6{color:var(--pe-theme-ink)!important}html[data-theme=dark] a{color:var(--pe-theme-accent)}html[data-theme=dark] .text-muted,html[data-theme=dark] .text-secondary,html[data-theme=dark] .text-dark,html[data-theme=dark] .text-body-secondary{color:var(--pe-theme-muted)!important}html[data-theme=dark] .pe-header,html[data-theme=dark] .site-header{background:rgba(16,33,38,.96);border-color:var(--pe-theme-line)}html[data-theme=dark] .pe-brand,html[data-theme=dark] .brand{color:var(--pe-theme-ink)}html[data-theme=dark] .pe-brand-mark,html[data-theme=dark] .brand-mark{background:#274b43;color:#e6f5ee}html[data-theme=dark] .pe-nav-link{color:#adc4bd}html[data-theme=dark] .pe-nav-link:hover,html[data-theme=dark] .pe-nav-link.active{color:var(--pe-theme-accent);background:var(--pe-theme-accent-soft);box-shadow:none}html[data-theme=dark] .pe-quick-open,html[data-theme=dark] .pe-quick-open kbd,html[data-theme=dark] .pe-menu-panel,html[data-theme=dark] .pe-mobile-toggle,html[data-theme=dark] .pe-avatar,html[data-theme=dark] .pe-quick-dialog,html[data-theme=dark] .pe-mobile-dialog,html[data-theme=dark] .pe-quick-dialog>input{background:var(--pe-surface);border-color:var(--pe-theme-line);color:var(--pe-theme-ink)}html[data-theme=dark] .pe-menu-panel a,html[data-theme=dark] .pe-mobile-link,html[data-theme=dark] .pe-quick-result{color:var(--pe-theme-muted)}html[data-theme=dark] .pe-menu-panel a:hover,html[data-theme=dark] .pe-mobile-link:hover,html[data-theme=dark] .pe-mobile-link.active,html[data-theme=dark] .pe-quick-result:hover{background:var(--pe-theme-accent-soft);color:var(--pe-theme-accent)}html[data-theme=dark] .pe-close{color:var(--pe-theme-ink);background:var(--pe-surface-soft)}html[data-theme=dark] .pe-account-name{color:var(--pe-theme-ink);border-color:var(--pe-theme-line)}html[data-theme=dark] .pe-workspace-context{color:var(--pe-theme-muted)}html[data-theme=dark] .pe-footer{background:#102126;border-color:var(--pe-theme-line);color:var(--pe-theme-faint)}html[data-theme=dark] .pe-footer-brand{color:var(--pe-theme-ink)}
html[data-theme=dark] .pe-workspace .card,html[data-theme=dark] .pe-workspace .card-header,html[data-theme=dark] .bg-white,html[data-theme=dark] .modal-content,html[data-theme=dark] .dropdown-menu,html[data-theme=dark] .offcanvas{background:var(--pe-surface)!important;color:var(--pe-theme-ink)!important;border-color:var(--pe-theme-line)!important}html[data-theme=dark] .bg-light,html[data-theme=dark] .btn-light,html[data-theme=dark] .bg-body-tertiary,html[data-theme=dark] .list-group-item{background:var(--pe-surface-soft)!important;color:var(--pe-theme-ink)!important;border-color:var(--pe-theme-line)!important}html[data-theme=dark] .form-control,html[data-theme=dark] .form-select,html[data-theme=dark] .input-group-text{background:#102126!important;color:var(--pe-theme-ink)!important;border-color:var(--pe-theme-line)!important}html[data-theme=dark] .form-control::placeholder{color:#8ba59d;opacity:1}html[data-theme=dark] .form-label{color:#b8cec4!important}html[data-theme=dark] .form-control:focus,html[data-theme=dark] .form-select:focus{background:#152c31!important;border-color:var(--pe-theme-accent)!important}html[data-theme=dark] .table{--bs-table-bg:var(--pe-surface);--bs-table-color:var(--pe-theme-ink);--bs-table-border-color:var(--pe-theme-line);--bs-table-hover-bg:#1e373b;--bs-table-hover-color:#e1eee9;color:var(--pe-theme-ink)}html[data-theme=dark] .table th,html[data-theme=dark] .table td{color:var(--pe-theme-muted);border-color:var(--pe-theme-line)!important}html[data-theme=dark] .table thead th,html[data-theme=dark] .table-light{background:#1c3438!important;color:#afc9bb!important}html[data-theme=dark] .pe-workspace .btn-outline-dark,html[data-theme=dark] .btn-outline-secondary{color:#d0e3d9;background:transparent;border-color:#4c6865}html[data-theme=dark] .pe-workspace .btn-primary,html[data-theme=dark] .pe-workspace .btn-success{background:#168263!important;border-color:#168263!important;color:#fff!important}html[data-theme=dark] .pe-workspace .btn-dark{background:#304d48;border-color:#406357;color:#edfaf0}html[data-theme=dark] .border,html[data-theme=dark] .border-top,html[data-theme=dark] .border-bottom,html[data-theme=dark] .border-start{border-color:var(--pe-theme-line)!important}html[data-theme=dark] .nav-tabs,html[data-theme=dark] hr{border-color:var(--pe-theme-line)}html[data-theme=dark] .nav-tabs .nav-link{color:var(--pe-theme-muted)}html[data-theme=dark] .nav-tabs .nav-link.active{background:var(--pe-surface);color:var(--pe-theme-accent);border-color:var(--pe-theme-line)}html[data-theme=dark] .alert{border-color:var(--pe-theme-line);box-shadow:none}html[data-theme=dark] .alert-success{background:#183e32;color:#b5edcd}html[data-theme=dark] .alert-info{background:#183541;color:#c3e3ef}html[data-theme=dark] .alert-danger{background:#442c31;color:#ffd7d4}html[data-theme=dark] .alert-warning{background:#453d27;color:#f8e7ad}html[data-theme=dark] .project-header-banner,html[data-theme=dark] #workdocEditor,html[data-theme=dark] .kanban-board .card{background:var(--pe-surface)!important;color:var(--pe-theme-ink)!important}html[data-theme=dark] [style*="color: #0b132b"],html[data-theme=dark] [style*="color:#0b132b"],html[data-theme=dark] [style*="color: #0f172a"],html[data-theme=dark] [style*="color: #334155"]{color:var(--pe-theme-ink)!important}html[data-theme=dark] [style*="background: #ffffff"],html[data-theme=dark] [style*="background-color: #ffffff"],html[data-theme=dark] [style*="background: #fafafa"]{background:var(--pe-surface)!important}
/* Financial workspaces share surfaces, contrast and amounts with the rest of the app. */
.qte-paper .qte-paper-top p,.qte-paper .qte-paper-label span,.qte-paper .qte-document-details p:not(.qte-eyebrow),.qte-paper .qte-document-details dt,.qte-paper .qte-document-details dd,.qte-paper .qte-document-copy p{color:#52664d}.qte-paper .qte-document-table>tbody>tr>td{color:#456447}.qte-paper .qte-document-copy h3{color:#4f7040}
html[data-theme=dark] .qte-paper .qte-totals dt,html[data-theme=dark] .qte-paper .qte-totals dd,html[data-theme=dark] .qte-paper strong,html[data-theme=dark] .qte-paper .qte-eyebrow{color:#335d43}
html[data-theme=dark] .qte-editing-banner,html[data-theme=dark] .qte-deleted-notice,html[data-theme=dark] .qte-revision-notice{background:var(--pe-surface-soft);border-color:var(--pe-theme-line);color:var(--pe-theme-ink)}html[data-theme=dark] .qte-delete-form{background:#3a272c;border-color:#694047;color:#f1d7da}html[data-theme=dark] .qte-delete-details summary,html[data-theme=dark] .qte-library-delete summary{color:#efb9bc}html[data-theme=dark] .qte-revision-history,html[data-theme=dark] .qte-delete-details{border-color:var(--pe-theme-line)}
html[data-theme=dark] .acct-shell,html[data-theme=dark] .qte-shell{color:var(--pe-theme-ink)}html[data-theme=dark] .acct-panel,html[data-theme=dark] .qte-panel,html[data-theme=dark] .acct-stat,html[data-theme=dark] .acct-filter,html[data-theme=dark] .acct-company,html[data-theme=dark] .qte-company{background:var(--pe-surface);border-color:var(--pe-theme-line);color:var(--pe-theme-ink)}html[data-theme=dark] .acct-stat strong,html[data-theme=dark] .qte-panel strong,html[data-theme=dark] .acct-row-title,html[data-theme=dark] .qte-reference,html[data-theme=dark] .qte-totals dd{color:#dcf1e5}html[data-theme=dark] .acct-stat-accent,html[data-theme=dark] .acct-panel-dark,html[data-theme=dark] .qte-panel-dark{background:#1b463a;border-color:#2d6854;color:#e0f2e2}html[data-theme=dark] .acct-stat-accent strong{color:#c7f3af}html[data-theme=dark] .acct-panel-dark p,html[data-theme=dark] .qte-panel-dark p{color:#b9d4ba}html[data-theme=dark] .acct-tabs,html[data-theme=dark] .acct-notice,html[data-theme=dark] .acct-readonly,html[data-theme=dark] .acct-status-banner,html[data-theme=dark] .qte-save-bar,html[data-theme=dark] .qte-step-badge,html[data-theme=dark] .qte-count{background:var(--pe-surface-soft);border-color:var(--pe-theme-line);color:var(--pe-theme-muted)}html[data-theme=dark] .acct-tabs a{color:var(--pe-theme-muted)}html[data-theme=dark] .acct-tabs a.is-active{background:#295246;color:#c9f2d8;box-shadow:none}html[data-theme=dark] .acct-hint,html[data-theme=dark] .qte-hint,html[data-theme=dark] .acct-lead,html[data-theme=dark] .acct-row-caption,html[data-theme=dark] .acct-stat small,html[data-theme=dark] .acct-stat-label,html[data-theme=dark] .acct-filter-note,html[data-theme=dark] .qte-panel-heading p:last-child,html[data-theme=dark] .qte-heading>div>p:last-child{color:var(--pe-theme-muted)!important}html[data-theme=dark] .acct-credit{color:#8fe2b6}html[data-theme=dark] .acct-debit{color:#edc28b}html[data-theme=dark] .acct-pill,html[data-theme=dark] .acct-pill-prepared{background:#27443a;color:#c8e3bb}html[data-theme=dark] .acct-pill-expense{background:#453e2c;color:#eac48c}html[data-theme=dark] .acct-empty,html[data-theme=dark] .qte-empty{color:var(--pe-theme-muted)}html[data-theme=dark] .acct-metadata dt,html[data-theme=dark] .qte-builder legend,html[data-theme=dark] .qte-builder .form-label,html[data-theme=dark] .qte-totals dt{color:#b6cebe}html[data-theme=dark] .acct-metadata dd{color:#e2f0e7}html[data-theme=dark] .qte-builder fieldset,html[data-theme=dark] .qte-totals>div{border-color:var(--pe-theme-line)}html[data-theme=dark] .qte-remove-line{background:#2c403d;color:#c3d9c7}html[data-theme=dark] .qte-preview-icon{background:#23473b;border-color:#345d47;color:#badb9a}html[data-theme=dark] .qte-paper{background:#fff;color:#254639;--pe-theme-muted:#60776f}html[data-theme=dark] .qte-paper h1,html[data-theme=dark] .qte-paper h2,html[data-theme=dark] .qte-paper h3{color:#274a35!important}html[data-theme=dark] .qte-paper .table{--bs-table-bg:#fff;--bs-table-color:#345741;--bs-table-border-color:#e0e9db}html[data-theme=dark] .qte-paper .table td{color:#456447;border-color:#e0e9db!important}html[data-theme=dark] .qte-paper .table thead th{background:#3f6e49!important;color:#f2f8eb!important}
/* Public pages and authentication. */
.pe-logo-preview{background:var(--pe-surface-soft)}
.pe-public-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px;max-width:650px;margin:24px auto 0;color:var(--pe-theme-muted);font:12px/1.5 Inter,system-ui,sans-serif}.pe-public-footer .pe-theme-options{top:auto;bottom:calc(100% + 10px)}
html[data-theme=dark] .acct-summary-list li,html[data-theme=dark] .acct-summary-list .acct-total{color:#b4cbb7;border-color:#365b49}html[data-theme=dark] .acct-summary-list strong{color:#d4efd7}html[data-theme=dark] .acct-notice strong{color:#d6ead0}html[data-theme=dark] .acct-empty p,html[data-theme=dark] .acct-status-banner p{color:var(--pe-theme-muted)}html[data-theme=dark] .qte-library-filter a{background:var(--pe-surface-soft);color:var(--pe-theme-muted);border-color:var(--pe-theme-line)}html[data-theme=dark] .qte-library-filter a.is-active{background:var(--pe-theme-accent-soft);color:var(--pe-theme-accent)}
html[data-theme=dark] .left-panel,html[data-theme=dark] .form-wrapper,html[data-theme=dark] .form-card,html[data-theme=dark] .form-container,html[data-theme=dark] .create-card{background:var(--pe-surface);color:var(--pe-theme-ink)}html[data-theme=dark] .form-header{background:var(--pe-surface-soft)}html[data-theme=dark] .pill-btn,html[data-theme=dark] .custom-input{background:var(--pe-surface-soft);color:var(--pe-theme-ink);border-color:var(--pe-theme-line)}html[data-theme=dark] .pill-btn.selected{background:#168263;color:#fff}html[data-theme=dark] .btn-back{border-color:#547567;color:#d4e7de}html[data-theme=dark] .step-subtitle,html[data-theme=dark] .hub-subtitle,html[data-theme=dark] .card-desc{color:var(--pe-theme-muted)}html[data-theme=dark] .card-title{color:var(--pe-theme-ink)}html[data-theme=dark] .form-body input:not([type=hidden]),html[data-theme=dark] .form-body select,html[data-theme=dark] .form-body textarea{background:#102126;border-color:var(--pe-theme-line);color:var(--pe-theme-ink)}
html[data-theme=dark] .mock-row.active{background:var(--pe-surface)}
html[data-theme=dark] .form-header p,html[data-theme=dark] .form-body .progress{color:var(--pe-theme-muted)}
html[data-theme=dark] .setup-label,html[data-theme=dark] .setup-custom>label,html[data-theme=dark] .setup-intro,html[data-theme=dark] .setup-note,html[data-theme=dark] .step-progress,html[data-theme=dark] .setup-create small{color:var(--pe-theme-muted)}html[data-theme=dark] .setup-kicker{color:#9ecf9e}html[data-theme=dark] .setup-create{background:var(--pe-surface-soft);border-color:var(--pe-theme-line);color:var(--pe-theme-ink)}html[data-theme=dark] .pill-btn:has(input:checked){background:#284c38;border-color:#7aa96c;color:#d9edce}html[data-theme=dark] .nav-buttons{border-color:var(--pe-theme-line)}
html[data-theme=dark] .acct-empty{background:var(--pe-surface-soft);border-color:var(--pe-theme-line)}html[data-theme=dark] .acct-empty strong{color:var(--pe-theme-ink)}html[data-theme=dark] .acct-form-subheading,html[data-theme=dark] .acct-details summary{color:#bdd8bd}html[data-theme=dark] .acct-pill-void{background:#394240;color:#c4cfca}html[data-theme=dark] .acct-pill-filed{background:#214b36;color:#b7e3bd}
html[data-theme=dark] .mini-board{background:#223b36;color:#d7e8db}html[data-theme=dark] .board-item{background:#1a302c;color:#deebdf}html[data-theme=dark] .board-column-title,html[data-theme=dark] .form-illustration>strong{color:#d7e8db}html[data-theme=dark] .step-number{background:var(--pe-canvas);color:#b7caaa}html[data-theme=dark] .steps article{border-color:var(--pe-theme-line)}html[data-theme=dark] .section-top>p,html[data-theme=dark] .overline,html[data-theme=dark] .steps p,html[data-theme=dark] .ai-copy li{color:var(--pe-theme-muted)}html[data-theme=dark] .form-line{color:#adc3aa}html[data-theme=dark] .form-line i{border-color:#385246}html[data-theme=dark] .hero .preview{color:#102e31}html[data-theme=dark] .hero .assistant-note{color:#102e31}
html[data-theme=dark] .pf-check,html[data-theme=dark] .pf-snapshot-note,html[data-theme=dark] .pf-payment-note,html[data-theme=dark] .pf-source-tag,html[data-theme=dark] .pf-total-summary dt,html[data-theme=dark] .pf-invoice-meta dt{color:var(--pe-theme-muted)}html[data-theme=dark] .pf-total-summary dd,html[data-theme=dark] .pf-total-summary .pf-grand-total dt,html[data-theme=dark] .pf-invoice-meta dd{color:#deefdf}html[data-theme=dark] .pf-payment-record{background:#1b3d32;border-color:#315645}html[data-theme=dark] .pf-payment-record h3{color:#b7e3bd}html[data-theme=dark] .pf-pill-issued{background:#303b54;color:#d3dcf7}html[data-theme=dark] .pf-pill-sent{background:#483d23;color:#f6daa3}html[data-theme=dark] .pf-pill-paid{background:#234e38;color:#c0f0ca}html[data-theme=dark] .qte-paper .pf-invoice-meta dt,html[data-theme=dark] .qte-paper .pf-invoice-meta dd,html[data-theme=dark] .qte-paper .pf-total-summary dt,html[data-theme=dark] .qte-paper .pf-total-summary dd{color:#335d43}
html[data-theme=dark] .auth-form-side{background:var(--pe-canvas)}html[data-theme=dark] .brand-logo,html[data-theme=dark] .auth-title{color:var(--pe-theme-ink)!important}html[data-theme=dark] .auth-subtitle,html[data-theme=dark] .divider{color:var(--pe-theme-muted)}html[data-theme=dark] .auth-brand-side{background:linear-gradient(145deg,#14332e,#102126)}html[data-theme=dark] .site-header .desktop-nav a,html[data-theme=dark] .site-header .sign-in{color:#bdd2c9}html[data-theme=dark] .features,html[data-theme=dark] .workflow{background:var(--pe-canvas)}html[data-theme=dark] .feature-card,html[data-theme=dark] .ai-example,html[data-theme=dark] .form-illustration{background:var(--pe-surface);border-color:var(--pe-theme-line)}html[data-theme=dark] .feature-card p,html[data-theme=dark] .section-intro p,html[data-theme=dark] .workflow p,html[data-theme=dark] .site-footer{color:var(--pe-theme-muted)}html[data-theme=dark] .time-card,html[data-theme=dark] .forms-card,html[data-theme=dark] .clarity-card,html[data-theme=dark] .ai-section{background:#142a28}html[data-theme=dark] .ai-section p{color:#adccbb}html[data-theme=dark] .ai-example,html[data-theme=dark] .ai-question,html[data-theme=dark] .ai-step>span{color:#d0e5d6;border-color:#355148}html[data-theme=dark] .ai-question,html[data-theme=dark] .ai-example-bottom{background:#1c3930}html[data-theme=dark] .site-footer{background:#102126}html[data-theme=dark] .footer-top,html[data-theme=dark] .footer-bottom{border-color:var(--pe-theme-line)}html[data-theme=dark] .section-heading h2{color:#e5f0e8}html[data-theme=dark] .section-heading h2 span{color:#a8c7a5}html[data-theme=dark] .hero h1{color:#fff!important}html[data-theme=dark] .hero .preview h2,html[data-theme=dark] .hero .preview h3{color:#274935!important}
@media(max-width:1200px){.pe-header-actions{gap:10px}.pe-header-inner{gap:20px}.pe-quick-label{display:none}}
@media(max-width:1350px){.pe-desktop-nav{display:none}.pe-mobile-toggle{display:block}}
@media(max-width:600px){.pe-theme-current,.pe-theme-chevron{display:none}.pe-theme-picker summary{width:38px;min-height:38px;padding:6px;justify-content:center}.pe-theme-options{width:205px}.pe-header-actions{gap:9px}.pe-theme-picker.pe-theme-auth{right:18px;top:23px}.site-header .header-actions{gap:9px}.site-header .sign-in{font-size:.72rem}.site-header .button.small{padding:10px 12px;font-size:.72rem}.site-header .brand{font-size:1rem}.site-header .brand-mark{width:28px;height:28px}}
@media(max-width:600px){.site-header .pe-theme-options{position:fixed;right:16px;top:84px}}
@media(max-width:380px){.site-header .header-inner{gap:8px}.site-header .brand{font-size:.9rem;gap:6px}.site-header .header-actions{gap:7px;margin-left:auto}.site-header .button.small{font-size:.65rem;padding:9px;gap:0}.site-header .button.small .arrow{display:none}.site-header .sign-in{font-size:.65rem}.site-header .shell{padding-left:16px;padding-right:16px}}
/* Project modules declare light surfaces locally; use the same theme palette. */
html[data-theme=dark] .project-header-banner,html[data-theme=dark] .module-wrapper{background:var(--pe-surface)!important;color:var(--pe-theme-ink);border-color:var(--pe-theme-line)!important}
html[data-theme=dark] #timesheets section,html[data-theme=dark] #timesheets .rounded-3{background:var(--pe-surface-soft);border-color:var(--pe-theme-line)!important}
html[data-theme=dark] .premium-tabs .nav-link{color:var(--pe-theme-muted)}
html[data-theme=dark] .premium-tabs .nav-link.active{background:var(--pe-theme-accent-soft)!important;color:var(--pe-theme-accent)!important;border-color:var(--pe-theme-accent)!important}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.pe-in-view{transform:none!important;opacity:1!important}}
@media print{html[data-theme],html[data-theme=dark]{color-scheme:light!important;--pe-theme-ink:#173532;--pe-theme-muted:#52665c;--pe-theme-line:#ddd;--pe-surface:#fff;--pe-surface-soft:#fff;--pe-surface-raised:#fff;--pe-canvas:#fff}html[data-theme] body,html[data-theme] .acct-panel,html[data-theme] .qte-panel,html[data-theme] .qte-paper,html[data-theme] .card{background:#fff!important;color:#111!important;box-shadow:none!important}.pe-theme-picker{display:none!important}html[data-theme] h1,html[data-theme] h2,html[data-theme] h3,html[data-theme] h4,html[data-theme] .acct-stat strong{color:#173532!important}html[data-theme] .table{--bs-table-bg:#fff!important;--bs-table-color:#111!important}html[data-theme] .table td{color:#111!important}.pe-in-view{animation:none!important;transform:none!important}}
