:root{--accent:#258f99;--accent-soft:#e9f5f5;--surface:#fff;--surface-soft:#f4f6f8;--surface-page:#f7f8fa}
.workspace{background:var(--surface-page)}.nav-symbol{display:block;width:17px;height:17px}.nav-symbol svg{width:17px;height:17px}.nav-item{font-size:12px;border-radius:8px}.nav-item.is-active{background:var(--accent);color:#fff;box-shadow:0 3px 9px #258f9918}.nav-item:hover{background:var(--accent-soft);color:var(--accent)}.nav-item.is-active:hover{background:var(--accent);color:#fff}.sidebar-tools{display:flex;justify-content:space-between;gap:9px;padding:15px 7px 0}.sidebar-tools button,.sidebar-tools a{width:30px;height:30px;display:grid;place-items:center;background:transparent;border:0;border-radius:7px;color:var(--muted);cursor:pointer}.sidebar-tools svg{width:17px;height:17px}.sidebar-tools button:hover,.sidebar-tools a:hover{background:var(--accent-soft);color:var(--accent)}.sidebar-compact .sidebar-tools{flex-direction:column;align-items:center;gap:7px}.sidebar-profile .profile-card{cursor:default}.sidebar-profile .profile-card:hover{background:transparent}.preferences-heading{margin-bottom:30px}.preferences-heading h1{font-size:32px;letter-spacing:-.04em;margin:0}.preferences-heading p,.preferences-content p{font-size:13px;color:var(--muted);line-height:1.7}.preferences-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:25px}.preferences-tabs{display:flex;flex-direction:column;gap:6px}.preferences-tabs button{padding:12px;border:0;border-radius:8px;background:transparent;color:var(--muted);text-align:left;font:inherit;font-size:12px;cursor:pointer}.preferences-tabs button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.preferences-content{background:var(--surface);border:1px solid var(--shell-border);border-radius:14px;padding:28px;min-width:0}.preferences-content h2{font-size:18px;margin:0 0 24px;letter-spacing:-.02em}.preferences-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.preferences-form label{display:grid;gap:8px;font-size:12px;color:var(--muted)}.preferences-form input:not([type=file]){width:100%;border:1px solid var(--shell-border);border-radius:9px;background:var(--surface);color:var(--ink);padding:11px;font:inherit;font-size:13px}.profile-picture-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding-bottom:22px;margin-bottom:4px;border-bottom:1px solid var(--shell-border)}.profile-picture-row img{width:72px;height:72px;object-fit:cover;border-radius:50%}.profile-picture-row input{font-size:11px;max-width:240px}.profile-picture-row small{font-size:10px}.preferences-form .form-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.preferences-form .wide-field{grid-column:1/-1}.theme-options{display:flex;gap:20px}.theme-options button{display:grid;gap:15px;min-width:150px;border:1px solid var(--shell-border);padding:14px;border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;font-size:12px;cursor:pointer}.theme-options button[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.theme-preview{height:95px;border-radius:6px;box-shadow:inset 30px 0 #258f9920,inset 0 14px #258f9910;border:1px solid #7b87992a}.light-preview{background:#f5f7fa}.dark-preview{background:#14171d}.access-row{display:flex;align-items:center;gap:16px;padding:16px 0;border-top:1px solid var(--shell-border);font-size:12px}.access-row>div{flex:1;min-width:0}.access-row small{display:block;font-size:10px;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}.access-row select{font:inherit;background:var(--surface);color:var(--ink);border:1px solid var(--shell-border);border-radius:7px;padding:8px}.access-active{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html[data-theme=dark]{color-scheme:dark;--ink:#e8ebee;--muted:#98a2af;--paper:#0e1014;--white:#191c22;--soft:#20242b;--surface:#191c22;--surface-soft:#20242b;--surface-page:#0e1014;--line:#2c313a;--line-strong:#3b424c;--shell-border:#2c313a;--shell-muted:#98a2af;--accent:#35a7b0;--accent-soft:#183238;--blue:#35a7b0;--blue-soft:#183238;--shell-active:#35a7b0;--success:#73c9a2}
html[data-theme=dark] .sidebar,html[data-theme=dark] .topbar,html[data-theme=dark] .apps-drawer,html[data-theme=dark] .login-panel{background:var(--surface);color:var(--ink)}html[data-theme=dark] .workspace{background:var(--surface-page)}html[data-theme=dark] :is(.workspace-section,.finance-metric,.finance-chart-card,.metric,.date-selector,.calendar-dialog,.calendar-presets button,.calendar-inputs input,.workspace-form input,.workspace-form select,.workspace-form textarea,.records-empty,.record-actions button,.settings-card,.content-card,.overview-card,.account-dialog,.modal-panel,.asset-card,.secondary-button,.app-card,.search-input,.upload-dropzone){background:var(--surface);border-color:var(--shell-border);color:var(--ink)}html[data-theme=dark] :is(.metric-value,.chart-total,.metric strong,.planning-summary strong,.breadcrumbs strong,.brand-button strong,.login-app-name,.preferences-heading h1,.page-head h1){color:var(--ink)}html[data-theme=dark] :is(.metric-label,.nav-item,.date-selector,.metric span,.sidebar-toggle,.profile-copy span){color:var(--muted)}html[data-theme=dark] .nav-item.is-active{color:#fff}html[data-theme=dark] .sidebar-toggle{background:var(--surface)}html[data-theme=dark] :is(.goal-progress,.calendar-modes,.calendar-month button,.app-card>span,.contract-preview,.user-row,.download-row,.preview-box,.color-info,.block-card){background:var(--surface-soft);color:var(--ink)}html[data-theme=dark] .calendar-modes button[aria-pressed=true]{background:var(--surface);color:var(--ink)}html[data-theme=dark] .calendar-days button{color:var(--ink)}html[data-theme=dark] .calendar-days button.selected{background:var(--accent);color:#fff}html[data-theme=dark] .calendar-days button.in-range{background:var(--accent-soft)}html[data-theme=dark] .week-progress{background:#18352a;color:#73c9a2}html[data-theme=dark] .login-form input{background:var(--surface-soft);color:var(--ink);border-color:var(--shell-border)}html[data-theme=dark] .stage-0{background:#303743;color:#c2ccdb}html[data-theme=dark] .stage-1{background:#1b354d;color:#82bce9}html[data-theme=dark] .stage-2{background:#352745;color:#c3a1ed}html[data-theme=dark] .stage-3{background:#1d3b30;color:#81cfaa}
@media(max-width:780px){.preferences-layout{grid-template-columns:1fr}.preferences-tabs{flex-direction:row;flex-wrap:wrap}.preferences-content{padding:22px}.preferences-form{grid-template-columns:1fr}.access-row{flex-wrap:wrap}.theme-options{flex-wrap:wrap}}
@media(max-width:1050px){.sidebar-compact .sidebar-tools{flex-direction:row}}
.preferences-form input{font-weight:400}html[data-theme=dark] .revenue-chart line{stroke:var(--shell-border)}.revenue-chart path[fill=none]{stroke:var(--accent)}.goal-progress span{background:var(--accent)}.chart-legend::before{background:var(--accent)}html[data-theme=dark] .stage-2{background:#40361d;color:#e3c16c}html[data-theme=dark] .stage-3{background:#352745;color:#c3a1ed}html[data-theme=dark] .stage-4{background:#422331;color:#ed9abc}html[data-theme=dark] .stage-5{background:#1d3b30;color:#81cfaa}

.access-row{flex-wrap:wrap;gap:16px}.access-row>div{min-width:180px;flex:1}.access-row label{display:flex;flex-direction:column;gap:6px;font-size:11px}.access-row select{min-width:130px}.access-row .access-active{flex-direction:row;align-items:center}
