/* PRIVATE follows the black palette of zfsa.ch/private/. */
.private-theme .language-switch button{color:#b8b6ae}.private-theme .language-switch button[aria-pressed="true"]{color:#f2eee6}.private-theme .language-switch button:hover{background:#30352e}
.zfsa-app.private-theme,.zfsa-dialog.private-theme{--ink:#f2eee6;--muted:#b8b6ae;--green:#c9b98f;--green-hover:#decca0;--paper:#0c0f0e;--line:#343735;--white:#151817;color:var(--ink);background:var(--paper)}
.private-theme .portal-shell,.private-theme .workspace,.private-theme .sidebar,.private-theme .topbar{background:#0c0f0e;color:#f2eee6;border-color:#343735}
.private-theme .sidebar{border-right:1px solid #343735}.private-theme .panel,.private-theme .record-row,.private-theme .dialog-head,.private-theme .detail-meta,.private-theme .stat-card{background:#151817;border-color:#343735;color:#f2eee6}
.private-theme .record-row:hover{background:#202422}.private-theme .nav-link,.private-theme .nav-label,.private-theme .today,.private-theme .account small,.private-theme .workspace-footer,.private-theme .muted,.private-theme .record-title small,.private-theme .detail-pairs dt{color:#b8b6ae}
.private-theme .nav-link.active,.private-theme .nav-link:hover{background:#242822;color:#f2eee6}.private-theme .nav-link small,.private-theme .record-icon,.private-theme .avatar{background:#282c27;color:#d2c49f}.private-theme .brand-logo{filter:brightness(0) invert(1)}
.private-theme .eyebrow,.private-theme .text-link,.private-theme .text-btn{color:#d2c49f}.private-theme .btn.primary{background:#c9b98f;border-color:#c9b98f;color:#101310}.private-theme .btn.primary:hover{background:#decca0}.private-theme .btn.secondary{background:#202422;border-color:#51564f;color:#f2eee6}.private-theme .btn.secondary:hover{background:#2a302a}
.private-theme .badge{background:#30352e;color:#e4dbbf}.private-theme .notice{background:#252a22;color:#e1d9c4}.private-theme .notice.error,.private-theme .form-error{background:#432c28;color:#ffe0d2}
.private-theme .field label,.private-theme label,.private-theme .checkline,.private-theme .detail-pairs dd{color:#e9e6de}.private-theme input,.private-theme textarea,.private-theme select{background:#0c0f0e!important;border-color:#51564f!important;color:#f2eee6!important;color-scheme:dark}.private-theme input:focus,.private-theme textarea:focus,.private-theme select:focus{outline-color:#c9b98f}.private-theme input::placeholder,.private-theme textarea::placeholder{color:#b0b0a8}
.private-theme .detail-pairs dd{white-space:pre-wrap;overflow-wrap:anywhere}.private-theme .dialog-head{border-color:#343735}.private-theme .private-hero-card{padding:36px 40px;margin:0 0 30px;border:1px solid #3c4038;border-radius:14px;background:radial-gradient(ellipse at 95% 80%,#37382a 0,transparent 65%),#151817}.private-hero-card h2{max-width:650px;font-size:clamp(26px,3vw,40px)}.private-hero-card p{max-width:640px;color:#c5c2b8;line-height:1.8}.private-section,.private-files{margin-top:24px}.private-empty{padding:6px 28px 24px;color:var(--muted)}.private-amount{font-family:Georgia,serif;font-size:36px;margin-bottom:24px}.private-amount small{display:block;font-family:Arial,sans-serif;color:var(--muted);font-size:13px;margin-top:8px}.private-files h2{margin-bottom:18px}.private-files form{display:flex;align-items:end;flex-wrap:wrap;gap:16px;margin-top:22px}.private-files input[type=file]{display:block;max-width:100%;margin-top:10px}.private-theme .record-row{flex-wrap:wrap}.private-theme .record-title{min-width:100px}.private-theme .field small{color:#b8b6ae}
@media(max-width:700px){.private-theme .private-hero-card{padding:26px 22px}.private-theme .record-row .btn{white-space:normal}.private-theme .heading-actions{max-width:100%}.private-theme .detail-pairs>div{grid-template-columns:1fr}.private-theme .panel-heading{flex-wrap:wrap;gap:14px}}

.private-theme .auth-layout,.private-theme .auth-story{background:#0c0f0e;color:#f2eee6}.private-theme .auth-main{background:#151817}.private-theme .auth-story h1,.private-theme .auth-form-wrap h2{color:#f2eee6}.private-theme .auth-links,.private-theme .auth-footer,.private-theme .auth-main .muted{color:#b8b6ae}

.portal-area-switch{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;margin-bottom:34px;border:1px solid #d8ddd4;border-radius:10px;background:#f0f2ec}
.portal-area-switch button{font:inherit;font-size:12px;font-weight:600;letter-spacing:.025em;min-height:46px;padding:10px 12px;border:1px solid transparent;border-radius:7px;background:transparent;color:#526057;cursor:pointer}
.portal-area-switch button[aria-pressed="true"]{background:#173f38;color:#fff;border-color:#173f38}
.portal-area-switch button[data-area="private"]{color:#161a17}.portal-area-switch button:hover{box-shadow:inset 0 0 0 1px #87917d}
.private-theme .portal-area-switch{background:#0c0f0e;border-color:#43483f}.private-theme .portal-area-switch button{color:#b8b6ae}.private-theme .portal-area-switch button[aria-pressed="true"]{background:#272c25;border-color:#c9b98f;color:#f2eee6}
