/* Sava workspace system: quiet surfaces, dense information, one navigation. */
.sava-product{
 --paper:#f5f5f7;--white:#fff;--ink:#1d1d1f;--muted:#63636b;--line:#d8d8de;
 --green:#0066cc;--accent:#0066cc;--surface-soft:#f0f5fc;--surface-hover:#edf3fa;
 --focus:#0066cc;--focus-on-dark:#0066cc;--radius:12px;
 --motion-fast:160ms;--motion-normal:240ms;--motion-ease:cubic-bezier(.22,1,.36,1);
 --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 --serif:var(--sans);background:var(--paper);font-size:14px;line-height:1.65;padding-left:240px;--success:#1b6f42;--success-soft:#edf7f0;--warning:#805d16;--warning-soft:#fff6e5;--danger:#b4232d;--danger-soft:#fff1f2
}
.sava-product.panel-page{
 --panel-bg:var(--paper);--panel-paper:var(--white);--panel-ink:var(--ink);--panel-muted:var(--muted);
 --panel-green:var(--green);--panel-line:var(--line);--panel-amber:var(--green);--panel-sans:var(--sans)
}
.sava-product .app-sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:#fff;color:var(--ink);z-index:40;display:flex;flex-direction:column;padding:32px 18px 20px;border-right:1px solid var(--line);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c7c7ce transparent}
.app-logo{display:flex;gap:12px;align-items:center;padding:0 15px 35px;color:var(--ink);font-size:30px;font-weight:720;letter-spacing:-1.2px;line-height:1}
.app-logo img{opacity:1;border:1px solid #d8d8de;border-radius:8px;filter:none}.app-logo-dot{color:var(--green)}.app-logo small{display:block;font-size:9px;font-weight:500;letter-spacing:1.2px;margin-top:10px;color:var(--muted)}.app-nav-label{font-size:10px;letter-spacing:1px;color:var(--muted);padding:0 15px;margin-bottom:12px}
.sava-product .app-navigation{height:auto;display:grid;gap:5px;align-items:stretch;justify-content:stretch}
.app-menu-toggle{display:none;background:#f5f5f7;border:1px solid #c6c6ce;color:var(--ink);font-size:13px}
.datev-status-overview{border-left:3px solid #bc8546;padding:16px 18px;background:#faf6eb;color:#5d522e;font-size:13px;margin:18px 0}.datev-technical{margin:16px 0;border-top:1px solid var(--line);padding-top:14px}.datev-technical>summary{cursor:pointer;color:var(--green);font-size:12px;font-weight:600}.datev-plan-headline{font-weight:600;color:var(--ink);padding:12px 0}
.app-navigation>a{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:8px;font-size:13px;line-height:1.5;color:#515158;transition:background-color var(--motion-fast),color var(--motion-fast);min-height:44px}
.app-navigation>a:hover{background:#f5f5f7;color:var(--ink)}.app-navigation>a.is-current{background:#eaf3ff;color:#0059b3;font-weight:650}.app-navigation svg{height:18px;width:18px;flex-shrink:0;opacity:1}
.app-sidebar-bottom{margin-top:auto;padding:25px 12px 0}.app-sidebar-bottom>a{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);padding:12px 0 22px;min-height:44px}.app-owner{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:20px}.app-avatar{border:1px solid #d7e5f8;display:grid;place-items:center;border-radius:50%;background:#edf4ff;color:#0059b3;width:35px;height:35px;font-size:11px}.app-owner b{font-size:12px;color:var(--ink)}.app-owner small{display:block;font-size:11px;color:var(--muted);margin-top:2px}
.sava-product>.topnote{display:none}.sava-product>header{background:#fff;border-color:var(--line);backdrop-filter:none;z-index:30}.sava-product>header>nav{width:calc(100% - 64px);height:auto;min-height:72px;gap:16px;flex-wrap:wrap;padding-block:8px}.sava-product>header .brand{display:none}.sava-product>header .navlinks{margin-left:auto;gap:12px}.sava-product>header .navlinks>a,.sava-product>header .office-nav-label{display:none}.app-page-label{font-size:13px;font-weight:600}.app-local-label{font-size:10px;color:var(--muted);padding-left:12px;border-left:1px solid var(--line)}
.sava-product .wrap{width:calc(100% - 64px);max-width:1450px}.sava-product main{min-width:0}.sava-product h1,.sava-product h2,.sava-product h3{font-family:var(--sans);font-weight:600;letter-spacing:-.035em;line-height:1.2}.sava-product .pagehero,.sava-product .office-heading{padding:34px 0 26px;gap:25px}.sava-product .pagehero h1,.sava-product .office-heading h1{font-size:32px;line-height:1.2}.sava-product h1 br{display:none}.sava-product h1 em{font-style:normal;color:var(--green);font-weight:600}.sava-product .pagehero p,.sava-product .office-heading p{font-size:13px;line-height:1.7;margin-top:10px;max-width:680px}.sava-product .eyebrow,.sava-product .office-kicker{font-size:9px;letter-spacing:.1em;margin-bottom:10px}.sava-product .office-heading-stamp{display:none}
.sava-product .mail-heading{padding:34px 0 26px;align-items:center}.sava-product .mail-heading h1{font-size:32px;line-height:1.2}.sava-product .mail-heading h1 em{font-weight:600;color:var(--green)}.sava-product .mail-heading>div>p{margin-top:10px}.sava-product .mail-heading-note img{width:38px;height:38px}.sava-product .mail-gate{background:white;border-color:var(--line);border-radius:9px}.sava-product .mail-gate h2{font-size:25px}.sava-product .mail-list-header h2{font-size:20px}.sava-product .mail-sidebar,.sava-product .mail-connection{background:white;border-color:var(--line)}.sava-product .mail-nav-label{display:none}
.sava-product .office-kpi-balance,.sava-product .office-kpi-balance strong{color:#155d49}.sava-product .office-kpi-balance .office-kpi-label,.sava-product .office-kpi-balance .office-kpi-detail{color:#496e5a}
.sava-product .office-kpi-balance.is-negative{background:#fff0e9;border-color:#f1d8ca}.sava-product .office-kpi-balance.is-negative strong{color:#9d472e}.sava-product .office-kpi-balance.is-negative .office-kpi-detail,.sava-product .office-kpi-balance.is-negative .office-kpi-label{color:#805749}
.sava-product a.sr-only:focus{position:fixed;width:auto;height:auto;clip:auto;overflow:visible;top:8px;left:250px;padding:10px 20px;background:white;color:var(--green);z-index:100}
.sava-product .btn{min-height:44px;border-radius:9px;padding:10px 16px;font-size:13px;gap:12px;box-shadow:none}.sava-product .btn.light{background:#fff;border-color:#c6c6ce;color:#303038}.sava-product .btn.light:hover{background:#f5f5f7;border-color:#a3a3ad}.sava-product .btn.orange{background:var(--green)}.sava-product button:not(.btn){border-radius:5px}.sava-product input,.sava-product select,.sava-product textarea{font-size:13px}.sava-product .field label{font-size:13px;color:var(--ink);margin-bottom:6px}.sava-product .field input,.sava-product .field textarea,.sava-product .field select{border-radius:8px;border-color:#8a8a94;background:#fff;min-height:44px}.sava-product .field input:focus,.sava-product .field textarea:focus,.sava-product .field select:focus{border-color:var(--focus);outline:2px solid #0066cc26;outline-offset:1px}
.sava-product .office-card,.sava-product .panel,.sava-product .lead-card,.sava-product .mailbox-card,.sava-product .office-kpi,.sava-product .accounting-provider-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 2px 10px #1d1d1f04}.sava-product .office-card h2,.sava-product .panel h2,.sava-product .work-toolbar h2{font-size:19px;letter-spacing:-.025em}.sava-product .notice,.sava-product .office-ledger-note{font-size:11px;line-height:1.7;background:#f2f5fa;border-color:#d8e2ef;color:var(--muted)}.sava-product .office-ledger-note{background:none}.sava-product .privacy{font-size:11px;line-height:1.6}.sava-product .office-kpi{min-height:130px}.sava-product .office-kpi strong{font-family:var(--sans);font-size:29px;font-weight:600;letter-spacing:-1px}.sava-product .office-kpi-balance{background:#e8f1eb}.sava-product .office-kpi-open{background:#faf5e9}.sava-product .office-toolbar{margin-bottom:20px}.sava-product .office-table,.sava-product .accounting-table{font-size:12px}.sava-product th{background:#f5f5f7!important;color:var(--muted);font-size:10px;font-weight:600}.sava-product .office-table td,.sava-product .accounting-table td{padding-top:14px;padding-bottom:14px}.sava-product .footer{font-size:10px;margin-top:35px}.sava-product .empty{background:#fff;border-color:var(--line);border-radius:8px}.sava-product .office-gate{max-width:860px;margin:30px auto;background:#fff}.sava-product .office-gate h2{font-size:24px}.sava-product .work-layout{grid-template-columns:310px minmax(0,1fr)}.sava-product .samplebuttons button{min-height:33px;font-size:11px}.sava-product .office-tabs button{font-size:11px}.sava-product .accounting-knowledge-head h2{font-size:20px}.sava-product .accounting-config-grid{gap:15px}.sava-product [role=dialog]{max-width:calc(100vw - 32px)}
@media(min-width:1700px){.sava-product .wrap{width:calc(100% - 100px)}}
@media(max-width:1160px){.sava-product{padding-left:205px;--paper:#f5f5f7;--white:#fff;--ink:#1d1d1f;--muted:#63636b;--line:#d8d8de;--green:#0066cc;--accent:#0066cc;--surface-soft:#f0f5fc;--surface-hover:#edf3fa;--focus:#0066cc;--focus-on-dark:#0066cc;--radius:12px;--success:#1b6f42;--success-soft:#edf7f0;--warning:#805d16;--warning-soft:#fff6e5;--danger:#b4232d;--danger-soft:#fff1f2}.sava-product .app-sidebar{width:205px;padding-left:12px;padding-right:12px;background:#fff;color:var(--ink);border-right:1px solid var(--line);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c7c7ce transparent}.app-logo{padding-left:10px;color:var(--ink);font-size:30px;letter-spacing:-1.2px}.app-navigation>a{font-size:13px;padding-left:10px;gap:9px;color:#515158;border-radius:8px;min-height:44px}.sava-product .wrap,.sava-product>header>nav{width:calc(100% - 40px)}.sava-product .work-layout{grid-template-columns:1fr}.sava-product .office-kpis{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.sava-product{padding-left:0;padding-top:112px;--paper:#f5f5f7;--white:#fff;--ink:#1d1d1f;--muted:#63636b;--line:#d8d8de;--green:#0066cc;--accent:#0066cc;--surface-soft:#f0f5fc;--surface-hover:#edf3fa;--focus:#0066cc;--focus-on-dark:#0066cc;--radius:12px;--success:#1b6f42;--success-soft:#edf7f0;--warning:#805d16;--warning-soft:#fff6e5;--danger:#b4232d;--danger-soft:#fff1f2}.sava-product .app-sidebar{inset:0 0 auto;width:100%;height:112px;padding:0 14px;background:#fff;display:block;overflow:hidden;color:var(--ink);border-right:1px solid var(--line);scrollbar-width:thin;scrollbar-color:#c7c7ce transparent;border-right:0;border-bottom:1px solid var(--line)}.app-logo{height:56px;padding:0 5px;font-size:30px;gap:9px;color:var(--ink);letter-spacing:-1.2px}.app-logo img{width:26px;height:26px;border:1px solid #d8d8de;filter:none}.app-logo small{display:none;color:var(--muted);font-size:9px;letter-spacing:1.2px}.app-nav-label,.app-sidebar-bottom{display:none}.sava-product .app-navigation{display:flex;overflow-x:auto;gap:5px;scrollbar-width:thin;padding:3px 0 8px;height:56px;justify-content:flex-start;align-items:center}.app-navigation>a{white-space:nowrap;font-size:13px;padding:9px 12px;gap:7px;min-height:44px;color:#515158;border-radius:8px}.app-navigation svg{width:15px;height:15px;opacity:1}.sava-product>header{position:relative;top:auto}.sava-product>header>nav{height:auto;min-height:55px;width:calc(100% - 32px);gap:6px 12px}.app-local-label{display:none}.sava-product .wrap{width:calc(100% - 32px)}.sava-product .office-heading,.sava-product .pagehero{padding-top:24px;padding-bottom:22px}.sava-product .office-heading h1,.sava-product .pagehero h1{font-size:27px}.sava-product .pagehero p,.sava-product .office-heading p{font-size:12px}.sava-product .office-kpis{gap:10px}.sava-product .office-kpi{padding:16px;min-height:120px}.sava-product .office-kpi strong{font-size:24px}.sava-product .office-card,.sava-product .panel{padding:20px}.sava-product .office-gate{padding:24px 20px;display:block}.sava-product .office-gate .office-gate-icon{display:none}.sava-product .form-row{grid-template-columns:1fr}.sava-product .office-config-grid,.sava-product .accounting-config-grid{grid-template-columns:1fr}.sava-product .office-toolbar-actions{flex-wrap:wrap}.sava-product .footer{padding-bottom:24px}.sava-product .office-login{width:100%}}
@media(prefers-reduced-motion:reduce){.sava-product *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:760px){.app-menu-toggle{display:block;position:absolute;right:18px;top:9px;padding:9px 16px;min-height:38px;background:#f5f5f7;border:1px solid #c6c6ce;color:var(--ink);font-size:13px}.sava-product .app-sidebar.is-expanded{height:auto;max-height:90dvh;overflow:auto;box-shadow:0 20px 35px #1d1d1f1a}.sava-product .app-sidebar.is-expanded .app-navigation{height:auto;display:grid;grid-template-columns:1fr;overflow:visible;padding-bottom:20px}.sava-product .app-sidebar.is-expanded .app-navigation>a{font-size:13px;padding:13px}.sava-product .app-sidebar.is-expanded .app-navigation svg{width:18px;height:18px}}
@media(max-width:760px){.sava-product .mail-heading{padding:24px 0;display:block}.sava-product .mail-heading h1{font-size:27px}.sava-product .mail-heading-note{display:none}.sava-product .mail-grid{grid-template-columns:1fr}.sava-product .mail-gate{padding:24px;grid-template-columns:1fr}.sava-product .mail-gate-icon{display:none}.sava-product .mail-connection-actions{width:100%;display:grid;grid-template-columns:1fr}.sava-product .mail-connection-actions .btn{width:100%;min-height:44px}.sava-product a.sr-only:focus{left:16px}}

/* Shared readability and keyboard affordances across the local workspace. */
.sava-product :focus-visible,.sava-product .field input:focus-visible,
.sava-product .field textarea:focus-visible,.sava-product .field select:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.sava-product .app-sidebar :focus-visible{outline-color:var(--focus-on-dark)}
.sava-product .privacy,.sava-product .notice,.sava-product .office-ledger-note,
.sava-product .office-kpi-label,.sava-product .office-kpi-detail,.sava-product .office-month label,
.sava-product .office-today-copy,.sava-product .office-task-date,.sava-product .office-table .record-date,
.sava-product .office-table .record-contact,.sava-product .office-open-line,
.sava-product .office-inline-note,.sava-product .office-import-copy,.sava-product .office-import-issues,
.sava-product .office-table th,.sava-product .office-badge,
.sava-product .mail-list-note,.sava-product .mail-detail-eyebrow>span:last-child,
.sava-product .mail-detail-identity,.sava-product .mail-case-row .row-date,
.sava-product .accounting-catalog-note,.sava-product .accounting-inline-note,
.sava-product .accounting-action-note,.sava-product .accounting-datev-intro,
.sava-product .accounting-datev-bottom p,.sava-product .accounting-datev-preview-head p,
.sava-product .accounting-knowledge-status,.sava-product .accounting-knowledge-meta,
.sava-product .accounting-read-note,.sava-product .field label{font-size:12px;line-height:1.75;color:var(--muted)}
.sava-product .mail-connection-note{font-size:12px!important;color:var(--muted)}
.sava-product .office-task-date.overdue,.sava-product .office-kpi-detail.is-overdue,
.sava-product .office-badge.overdue{color:#7a5421}
.sava-product .office-badge.paid,.sava-product .office-badge.done{color:#32603b}
.sava-product .office-badge.cancelled,.sava-product .office-badge.archived{color:var(--muted)}
.sava-product .office-kpi-balance .office-kpi-label,.sava-product .office-kpi-balance .office-kpi-detail{color:#496e5a}
.sava-product .office-kpi-balance.is-negative .office-kpi-label,.sava-product .office-kpi-balance.is-negative .office-kpi-detail{color:#805749}
.sava-product .field input::placeholder,.sava-product .field textarea::placeholder{color:var(--muted)}
.sava-product .app-navigation>a{font-size:13px;min-height:44px}
.sava-product .btn{min-height:44px;border-radius:9px;box-shadow:none;font-size:13px}
@media(max-width:760px){
 .sava-product .field input,.sava-product .field select,.sava-product .field textarea{font-size:16px;min-height:44px}
 .sava-product .app-navigation>a{font-size:12px;min-height:44px;padding-block:10px}
 .sava-product .app-menu-toggle{min-height:44px;top:6px}
 .sava-product .samplebuttons button,.sava-product .office-tabs button,
 .sava-product .office-record-actions button,.sava-product .office-icon-button,
 .sava-product .office-task-check,.sava-product .office-task-edit{min-height:44px}
 .sava-product .office-icon-button,.sava-product .office-task-check,.sava-product .office-task-edit{min-width:44px}
 .sava-product .office-table td,.sava-product .accounting-table td{font-size:13px}
 .sava-product .office-toolbar-actions .btn,.sava-product .office-form-bottom .btn,
 .sava-product .accounting-datev-bottom .btn,.sava-product .accounting-datev-preview-head .btn{font-size:12px}
}

.sava-product .office-inline-note.is-error{color:#8b432d;background:#fbede5}
.sava-product .office-import-issues{color:#7a5421;background:#fbf1e5}


/* Learning stays close to the work, without competing with the primary action. */
.sava-product .app-page-label{min-width:0;overflow-wrap:anywhere}
.sava-product .app-help-link{
 display:inline-flex;align-items:center;justify-content:center;gap:7px;
 min-height:44px;padding:9px 12px;border:1px solid var(--line);border-radius:7px;
 color:var(--green);background:var(--white);font:600 12px/1.5 var(--sans);
 text-decoration:none;overflow-wrap:anywhere;
 transition:background-color var(--motion-fast),border-color var(--motion-fast),transform var(--motion-fast) var(--motion-ease)
}
.sava-product>header .navlinks>.app-help-link{display:inline-flex}
.sava-product .app-help-link:hover{background:var(--surface-soft);border-color:#aac4e6}
.sava-product .app-start-card{
 display:flex;align-items:center;justify-content:space-between;gap:20px 28px;
 margin:0 0 24px;padding:21px 24px;border:1px solid #d4e2f5;border-radius:var(--radius);
 background:#f0f5fc;color:var(--ink);min-width:0
}
.sava-product .app-start-card>div{min-width:0}
.sava-product .app-start-card h2{font:650 18px/1.35 var(--sans);letter-spacing:-.025em;margin:0}
.sava-product .app-start-card p{font:400 13px/1.75 var(--sans);color:var(--muted);margin:7px 0 0;max-width:590px;overflow-wrap:anywhere}
.sava-product .app-start-actions{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;flex:0 1 auto}
.sava-product .app-start-actions>a{
 display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;
 padding:10px 14px;border:1px solid #b8cbe5;border-radius:7px;
 background:var(--white);color:var(--green);font:600 12px/1.5 var(--sans);text-align:center;
 text-decoration:none;overflow-wrap:anywhere;
 transition:background-color var(--motion-fast),border-color var(--motion-fast),transform var(--motion-fast) var(--motion-ease)
}
.sava-product .app-start-actions>a:first-child{background:var(--green);border-color:var(--green);color:var(--white)}
.sava-product .app-start-actions>a:hover{background:#f5f8fc;border-color:#86abd8}
.sava-product .app-start-actions>a:first-child:hover{background:#0055aa;border-color:#0055aa}
.sava-product .app-context-help{
 margin:0 0 24px;border:1px solid var(--line);border-radius:9px;background:var(--white);
 color:var(--ink);min-width:0
}
.sava-product .app-context-help>summary{
 cursor:pointer;min-height:44px;padding:12px 17px;font:600 13px/1.6 var(--sans);
 color:var(--green);overflow-wrap:anywhere;border-radius:8px
}
.sava-product .app-context-help>summary::marker{color:var(--accent)}
.sava-product .app-context-help>summary:hover{background:var(--surface-soft)}
.sava-product .app-context-help[open]>summary{border-bottom:1px solid var(--line);border-radius:8px 8px 0 0}
.sava-product .app-context-help>div{padding:14px 17px 12px;max-width:850px;min-width:0}
.sava-product .app-context-help>div p{font-size:13px;line-height:1.8;color:var(--muted);overflow-wrap:anywhere}
.sava-product .app-context-help>div a{
 display:inline-flex;align-items:center;gap:8px;min-height:44px;padding-block:10px;
 color:var(--green);font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:4px;
 overflow-wrap:anywhere;max-width:100%
}
.sava-product .app-context-help>div a:hover{color:var(--accent)}
.sava-product .btn,.sava-product .panel-button{
 transition:background-color var(--motion-fast),border-color var(--motion-fast),transform var(--motion-fast) var(--motion-ease)
}
.sava-product .btn:hover{transform:none}
@media(prefers-reduced-motion:no-preference){
 .sava-product .app-help-link:active,.sava-product .app-start-actions>a:active,
 .sava-product .btn:active,.sava-product .panel-button:active{transform:translateY(1px)}
 .sava-product .app-context-help[open]>div{animation:app-help-reveal var(--motion-normal) var(--motion-ease)}
 @keyframes app-help-reveal{from{opacity:.5;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
}
@media(max-width:1050px){
 .sava-product .app-start-card{align-items:flex-start;flex-direction:column;gap:16px;background:#f0f5fc;border:1px solid #d4e2f5}
}
@media(max-width:760px){
 .sava-product>header>nav .navlinks{gap:8px;flex-wrap:wrap;justify-content:flex-end}
 .sava-product .app-help-link{font-size:12px;padding-inline:10px}
 .sava-product .app-start-card{padding:19px 18px;margin-bottom:20px;gap:16px;background:#f0f5fc;border:1px solid #d4e2f5}
 .sava-product .app-start-card h2{font-size:18px}
 .sava-product .app-start-actions{width:100%;align-items:stretch;gap:9px}
 .sava-product .app-start-actions>a{flex:1 1 145px;white-space:normal;font-size:12px;padding-inline:11px;border:1px solid #b8cbe5}
 .sava-product .app-context-help{margin-bottom:20px}
 .sava-product .app-context-help>summary{padding:12px 14px}
 .sava-product .app-context-help>div{padding:13px 14px 10px}
}
@media(prefers-reduced-motion:reduce){
 .sava-product *,.sava-product *::before,.sava-product *::after{
  animation:none!important;transition:none!important;scroll-behavior:auto!important
 }
 .sava-product .app-help-link,.sava-product .app-start-actions>a,.sava-product .btn,
 .sava-product .panel-button,.sava-product .app-context-help>div{transform:none!important}
}
/* Bright daily workspace: blue actions and neutral surfaces, semantic states stay separate. */
.sava-product{-webkit-font-smoothing:antialiased}
.sava-product .btn:not(.light):hover{background:#0055aa}
.sava-product .app-local-label{font-size:12px}
.sava-product .office-kpi-balance{background:#fff;border-color:var(--line)}
.sava-product .office-kpi-balance strong{color:var(--ink)}
.sava-product .office-kpi-balance .office-kpi-label,.sava-product .office-kpi-balance .office-kpi-detail{color:var(--muted)}
.sava-product .office-kpi-open{background:#fff}
.sava-product .office-kpi-balance.is-negative{background:var(--danger-soft);border-color:#edc4ca}
.sava-product .office-kpi-balance.is-negative strong{color:var(--danger)}
.sava-product .office-kpi-balance.is-negative .office-kpi-label,.sava-product .office-kpi-balance.is-negative .office-kpi-detail{color:#8c303b}
.sava-product .office-inline-note:not(.is-error){background:#f0f5fc;border-color:#d4e2f5;color:#354e70}
.sava-product .office-inline-note.is-error{color:var(--danger);background:var(--danger-soft)}
.sava-product .office-import-issues{color:var(--warning);background:var(--warning-soft)}
.sava-product .office-tabs{background:#ececf0}
.sava-product .office-tabs button[aria-pressed=true]{color:var(--green);background:#fff}
.sava-product .mail-case-row[aria-current=true]{background:#eef5ff;border-left-color:var(--green)}
.sava-product .mail-case-row .row-sender,.sava-product .mail-case-row .row-subject{color:var(--ink)}
.sava-product .mail-case-row .row-preview,.sava-product .mail-message-text,
.sava-product .mail-envelope dt,.sava-product .mail-envelope dd,.sava-product .mail-recipient,
.sava-product .mail-approval-info,.sava-product .mail-draft-footer>span{color:var(--muted)}
.sava-product .mail-composer input,.sava-product .mail-composer textarea{background:#fff;color:var(--ink)}
.sava-product .mail-composer input:disabled,.sava-product .mail-composer textarea:disabled{background:#f5f5f7;color:var(--muted)}
.sava-product .mail-detail,.sava-product .mail-sidebar,.sava-product .mail-connection{border-color:var(--line);border-radius:var(--radius)}
.sava-product .draft-text{background:#f5f7fb;border-left-color:#80acdf;color:#41414a}
.sava-product .lead-card .summary,.sava-product .lead-card ol{color:var(--muted)}
.sava-product .samplebuttons button,.sava-product .lead-actions button{min-height:44px;font-size:12px}
.sava-product .samplebuttons button{background:#f5f5f7;border-color:#d0d0d8;color:#41414a}
.sava-product .samplebuttons button:hover,.sava-product .samplebuttons button.active{background:#eaf3ff;color:#0059b3;border-color:#b7d1f1}
.sava-product .lead-actions button{background:#fff;border-color:#c6c6ce;color:#0059b3}
.sava-product .lead-actions button.primary{background:var(--green);border-color:var(--green);color:#fff}
.sava-product .lead-actions button.danger{color:var(--danger)}
.sava-product .office-table .record-name,.sava-product .office-task-title{color:var(--ink)}
.sava-product .office-table td{color:var(--muted)}
.sava-product .office-table .record-amount{color:var(--ink)}
.sava-product .office-table .record-amount.expense,.sava-product .office-table .record-amount.payable{color:var(--danger)}
.sava-product .office-drop{background:#fafafd;border-color:#b8c8de}
.sava-product .office-drop:hover,.sava-product .office-drop.drag-over{background:#eef5ff;border-color:var(--green)}
.sava-product .office-shortcut small,.sava-product .office-search-row>span{color:var(--muted)}
.sava-product .app-start-card>.app-help-link{background:transparent;border-color:transparent;color:var(--muted)}
.sava-product .app-start-card>.app-help-link:hover{background:#e7effb;color:var(--ink)}
@media(max-width:760px){
 .sava-product .app-sidebar{background:#fff}
 .sava-product .app-sidebar.is-expanded{border-bottom-color:var(--line)}
}
/* The complete navigation stays readable; groups collapse only in the narrow strip. */
.sava-product .app-nav-section{display:block;padding:17px 14px 5px;color:var(--muted);font-size:11px;font-weight:600;line-height:1.5;letter-spacing:.015em}
.sava-product .app-nav-section:first-child{padding-top:0}
.sava-product .mail-state-notice{background:#f0f5fc;border-color:#d4e2f5;color:#354e70}
.sava-product .mail-state-notice.warning{background:var(--warning-soft);border-color:#e4cf9e;color:var(--warning)}
.sava-product .mail-gate,.sava-product .office-gate{background:#fff;border-color:var(--line);border-radius:var(--radius)}
.sava-product .mail-gate-icon,.sava-product .office-gate-icon{background:#eef5ff;color:#0059b3}
.sava-product .office-gate .office-gate-icon{border-color:#d4e2f5}
.sava-product .office-conflict{background:var(--warning-soft);border-color:#d7b66f;color:#433a28}
.sava-product .office-conflict p,.sava-product .office-conflict label,.sava-product .office-conflict-hint{color:#68511f}
.sava-product .office-save-status{background:var(--success-soft);border-color:#b9d8c5;color:var(--success)}
@media(max-width:760px){
 .sava-product .app-nav-section{display:none}
 .sava-product .app-sidebar.is-expanded .app-nav-section{display:block;padding:17px 13px 5px}
}
/* Filter and confirmation controls use the same system; warnings remain warnings. */
.sava-product .office-month input,.sava-product .office-record-filters select,
.sava-product .office-search-row input,.sava-product .mail-list-header select,
.sava-product .accounting-catalog-filters input,.sava-product .accounting-catalog-filters select{
 background:#fff;color:var(--ink);border-color:#8a8a94;border-radius:8px;min-height:44px;font-size:13px
}
.sava-product .office-month input::placeholder,.sava-product .office-search-row input::placeholder{color:var(--muted)}
.sava-product .office-shortcuts,.sava-product .office-preview-head{background:#f8f8fa}
.sava-product .office-count,.sava-product .mail-count{background:#ececf0;color:var(--muted)}
.sava-product .office-open-line b{color:var(--ink)}
.sava-product .office-drop-mark{color:var(--green)}
.sava-product .mail-detail{background:#fff}
.sava-product .mail-analysis{color:var(--muted);border-top-color:var(--line)}
.sava-product .connection-dot{box-shadow:0 0 0 5px #f0f0f3}
.sava-product .connection-dot.connected{background:var(--success);box-shadow:0 0 0 5px var(--success-soft)}
.sava-product .connection-dot.unavailable{background:var(--warning);box-shadow:0 0 0 5px var(--warning-soft)}
.sava-product .office-settle{background:#1d1d1f66}
.sava-product .office-settle-card{background:#fff;border-color:var(--line);box-shadow:0 12px 70px #1d1d1f26}
.sava-product .office-toast,.sava-product .mail-toast{background:var(--success);box-shadow:0 5px 25px #1d1d1f1a}
.sava-product .office-toast.toast-error,.sava-product .mail-toast.toast-error{background:var(--danger)}
@media(max-width:760px){
 .sava-product .office-month input,.sava-product .office-record-filters select,
 .sava-product .office-search-row input,.sava-product .mail-list-header select,
 .sava-product .accounting-catalog-filters input,.sava-product .accounting-catalog-filters select{font-size:16px}
}
.sava-product .office-tabs button,.sava-product .office-record-actions button,
.sava-product .office-text-button,.sava-product .office-task-check,.sava-product .office-task-edit,
.sava-product .office-icon-button,.sava-product .mail-icon-button{min-height:44px}
.sava-product .office-task-check,.sava-product .office-task-edit,
.sava-product .office-icon-button,.sava-product .mail-icon-button{min-width:44px}
.sava-product .office-task-check{background:#f5f7fb;border-color:#9aabc0;color:#0059b3}
.sava-product .office-task-check:hover{background:#eaf3ff;color:#0059b3}
.sava-product .office-task-edit,.sava-product .office-icon-button,.sava-product .mail-icon-button{color:#0059b3}
.sava-product .office-task-check[aria-checked=true]{background:var(--success-soft);border-color:#91b79e;color:var(--success)}

.sava-product .mail-detail-empty>.btn{margin-top:20px}

/* Fachseiten use neutral reading colors; green is reserved for explicit successful states. */

.sava-product .office-kicker,.sava-product .office-check,
.sava-product .office-task-empty,.sava-product .office-drop>span:last-of-type,
.sava-product .office-drop input{color:var(--muted)}

.sava-product .office-task-empty strong{color:var(--ink)}

.sava-product .office-tabs button{color:var(--muted)}

.sava-product .office-tabs button:hover,.sava-product .office-tabs button[aria-pressed=true]{color:var(--green)}

.sava-product .office-icon-button:hover{background:#eef5ff}

.sava-product .office-record-actions button{color:#0059b3;background:#fff;border-color:#c6c6ce}

.sava-product .office-record-actions button:hover{background:#eef5ff}

.sava-product .office-record-actions button.primary{color:#0059b3;background:#eef5ff;border-color:#b7d1f1}

.sava-product .office-table tr.is-archived td{background:#f5f5f7;color:var(--muted)}

.sava-product .office-table tr.is-archived .record-name{color:var(--muted)}

.sava-product .office-shortcut>span:last-child{color:var(--green)}

.sava-product .office-empty{background:#fff}

.sava-product .office-empty h3{color:var(--ink)}

.sava-product .office-gate code,.sava-product .mail-gate code{background:#f0f0f3;color:var(--ink)}

.sava-product .office-drop input::file-selector-button{background:#fff;color:#0059b3;border-color:#b8c8de}

.sava-product .empty{color:var(--muted)}

.sava-product .empty>b{color:var(--ink)}

.sava-product .conn-details>summary{color:var(--green)}

.sava-product .conn-fields p{color:var(--muted)}

.sava-product .lead-meta .badge{color:var(--muted);background:#f0f0f3}

.sava-product .accounting-provider-category,.sava-product .accounting-provider-method,
.sava-product .accounting-catalog-empty,.sava-product .accounting-setup,
.sava-product .accounting-binding>span,.sava-product .accounting-binding code,
.sava-product .accounting-requirements,.sava-product .accounting-requirements ul,
.sava-product .accounting-contact-heading,.sava-product .accounting-contact-heading>span,
.sava-product .accounting-plan small,.sava-product .accounting-review-facts dt,
.sava-product .accounting-review-check,.sava-product .accounting-datev-form code,
.sava-product .accounting-knowledge-source small,.sava-product .accounting-knowledge-result pre,
.sava-product .accounting-knowledge-result>small,.sava-product .accounting-readiness,
.sava-product .accounting-readiness small,.sava-product .accounting-paging>span,
.sava-product .accounting-invoice-table td small,.sava-product .accounting-file-import-guide{color:var(--muted)}

.sava-product .accounting-setup strong,.sava-product .accounting-binding strong,
.sava-product .accounting-review-facts dd,.sava-product .accounting-datev-preview-head strong,
.sava-product .accounting-knowledge-result-head strong,.sava-product .accounting-invoice-table td strong,
.sava-product .accounting-invoice-table td:nth-child(4),.sava-product .accounting-file-import-guide strong{color:var(--ink)}

.sava-product .accounting-setup code{color:#41414a}

.sava-product .accounting-requirements summary,.sava-product .accounting-docs a,
.sava-product .accounting-payload-details,.sava-product .accounting-knowledge-status>summary,
.sava-product .accounting-knowledge-provider>summary,.sava-product .accounting-knowledge-result>a,
.sava-product .accounting-knowledge-provider>summary>span:first-child::before{color:var(--green)}

.sava-product .accounting-connection,.sava-product .accounting-review,
.sava-product .accounting-knowledge-provider{background:#fff;border-color:var(--line)}

.sava-product .accounting-setup,.sava-product .accounting-binding,
.sava-product .accounting-contact-heading,.sava-product .accounting-datev-preview-head,
.sava-product .accounting-readiness,.sava-product .accounting-paging,
.sava-product .accounting-read-note,.sava-product .accounting-file-import-guide{background:#f5f7fb;border-color:#d8e2ef}

.sava-product .accounting-inline-note{color:#354e70;background:#f0f5fc;border-color:#d4e2f5}

.sava-product .accounting-payload-details textarea{color:var(--ink);background:#fff;border-color:#8a8a94}

.sava-product .accounting-json{color:#41414a;background:#f5f5f7;border-color:var(--line)}

.sava-product .accounting-table td{color:var(--muted)}

.sava-product .accounting-provider:hover,.sava-product .accounting-plan:hover{background:#f5f5f7}

.sava-product .accounting-provider[aria-current=true],.sava-product .accounting-plan[aria-current=true]{background:#eef5ff;border-color:#b7d1f1}

.sava-product .accounting-badge.adapter{color:#0059b3;background:#eef5ff}

.sava-product .accounting-badge.file{color:var(--muted);background:#f0f0f3}
