:root{color-scheme:dark;--bg:#080e16;--panel:#101923;--border:#263140;--text:#edf1fa;--muted:#a8b3c5;--purple:#8e93ff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.6 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a,input,textarea{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}h1,h2,p{margin-top:0}h1{font-size:32px;letter-spacing:-1px;margin-bottom:14px}h2{font-size:19px}.shell{display:flex;min-height:100vh}aside{width:240px;flex-shrink:0;padding:34px 22px;background:#0b111c;border-right:1px solid var(--border);display:flex;flex-direction:column}.logo{width:196px;max-height:125px;object-fit:contain;margin-bottom:35px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted);margin-bottom:12px}.nav{padding:12px 15px;border-radius:8px}.active{background:#17233a;color:var(--purple)}.aside-bottom{margin-top:auto;padding-top:40px;font-size:12px;color:var(--muted)}.pill{display:inline-block;border:1px solid #3c477d;border-radius:6px;padding:5px 8px;color:var(--purple);font-size:10px;letter-spacing:1px}.aside-bottom p{margin-top:15px}main{width:100%;max-width:1280px;padding:38px 42px}.topline,.toolbar{display:flex;gap:18px;align-items:center;justify-content:space-between;margin:20px 0}.topline p,.topline h2{margin:0}.notice{border:1px solid #3c477d;background:#18243b;border-radius:10px;padding:15px 18px;color:#c6d2ec;font-size:13px;margin-bottom:24px}.panel{border:1px solid var(--border);background:var(--panel);border-radius:14px;padding:24px}.setup,.login-form{max-width:680px}.setup h2:not(:first-child){margin-top:30px}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;padding:11px 17px;border-radius:8px;border:1px solid var(--border);white-space:nowrap;font-weight:600}.primary{background:#b98af4;color:#160c23;border-color:#cba9f8}.secondary{background:#19223a;color:var(--text)}.primary:hover{background:#cfaafa}.secondary:hover{background:#252e50}label{display:block;margin:16px 0 8px;font-size:13px;color:#c8d2e2}input,textarea{display:block;width:100%;border:1px solid #344059;background:#0c1420;color:var(--text);border-radius:7px;padding:12px;margin-top:7px;min-width:0}input:focus,textarea:focus{outline:2px solid var(--purple)}textarea{resize:vertical}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}small{display:block;color:var(--muted);font-size:12px}.setup button,.customer-editor>button,.login-form button{margin-top:20px}.login-form small{margin-top:15px}.search{display:flex;gap:10px;flex:1}.search input{margin:0}.customers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.customer{display:block;overflow-wrap:anywhere}.customer:hover{border-color:#6c75d8}.avatar{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:#283054;border:1px solid #465687;border-radius:50%;color:var(--purple);font-size:20px;margin-bottom:18px}.customer h2{margin-bottom:8px}.customer p{font-size:13px;color:var(--muted);margin-bottom:7px}.card-bottom{border-top:1px solid var(--border);padding-top:15px;margin-top:22px;font-size:12px;color:var(--purple);display:flex;justify-content:space-between}.empty{grid-column:1/-1;padding:42px}.empty p,.count{color:var(--muted)}.success,.error{padding:15px;border:1px solid #546f5f;border-radius:10px;color:#aae1bf;background:#14241c}.error{border-color:#87515e;color:#ffb9c8;background:#301923}.text-link{color:var(--purple);font-size:13px}footer{color:#8e9bb1;border-top:1px solid var(--border);font-size:11px;margin-top:40px;padding-top:18px}@media(max-width:1000px){.customers{grid-template-columns:repeat(2,minmax(0,1fr))}aside{width:190px}.logo{width:146px}main{padding:28px}}@media(max-width:680px){.shell{display:block}aside{width:100%;padding:15px 20px;border-right:0;border-bottom:1px solid var(--border);flex-direction:row;align-items:center;gap:20px}.logo{width:115px;max-height:65px;margin:0}aside>.eyebrow,.aside-bottom{display:none}.nav{margin-left:auto}main{padding:24px 16px}h1{font-size:28px}.grid,.customers{grid-template-columns:1fr}.toolbar{align-items:stretch;flex-direction:column}.topline{flex-wrap:wrap}.panel{padding:20px}.search{min-width:0}.search input{min-width:0}}
select{font:inherit;width:100%;padding:12px;border:1px solid #344059;border-radius:7px;background:#0c1420;color:var(--text);margin-top:7px}.nav:hover{background:#17233a}.inquiry-form{max-width:860px}.inquiry-section{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--border)}.check{display:flex;align-items:center;gap:12px}.check input{width:20px;height:20px;margin:0;flex-shrink:0}.pickup{margin-top:28px;color:var(--purple)}.hint{color:var(--muted);margin-top:24px;font-size:13px}.audio-banner{padding:16px 20px;border:1px solid #5969a7;border-radius:10px;background:#1c2b49;color:#dce6ff;margin:16px 0}.customer .audio-banner{font-size:12px;padding:10px}.customer .pill{margin-bottom:15px}.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}[hidden]{display:none!important}@media(max-width:680px){aside{flex-wrap:wrap;gap:8px}.nav{margin-left:0;padding:8px;font-size:12px}}
.service{margin:16px 0}.service summary{cursor:pointer;font-weight:bold}.offer-list{margin-top:25px}.section-title{margin-top:32px}.offer-line{border:1px solid #3b4b68;border-radius:10px;margin:20px 0;padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.offer-line label{margin:0}.offer-line:not(.compact-line) label:nth-of-type(2){grid-column:1/-1}.offer-line .check{grid-column:1/-1}.offer-form button{margin:10px 0}.offer-form textarea{min-height:90px}@media(max-width:680px){.offer-line{grid-template-columns:1fr}}
/* Compact position editor, shared by saved and newly added lines. */
.offer-line.compact-line{display:block;padding:12px 14px;margin:10px 0;border-color:#2d3c51;background:#0c1420}.line-main{display:grid;grid-template-columns:minmax(170px,2.5fr) minmax(60px,.65fr) minmax(80px,.9fr) minmax(90px,1fr) minmax(100px,1fr) 34px;gap:10px;align-items:end}.line-main label{font-size:11px;color:var(--muted);min-width:0}.line-main input{padding:9px 10px;margin-top:4px;font-size:13px}.line-total{align-self:stretch;display:flex;flex-direction:column;justify-content:flex-end;gap:10px;text-align:right;padding-bottom:9px}.line-total span{font-size:11px;color:var(--muted)}.line-total output{font-size:14px;font-weight:bold;white-space:nowrap}.offer-form .line-main .remove-line{height:37px;padding:4px;font-size:22px;margin:0 0 1px}.line-extras{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;margin-top:9px}.line-description{flex:1;min-width:170px}.line-description summary{cursor:pointer;color:var(--purple);font-size:12px}.description-state{color:var(--muted);font-size:11px}.line-description textarea{margin:7px 0;min-height:85px;font-size:13px}.line-description label{font-size:11px;margin-top:10px}.offer-line .optional-check{display:flex;font-size:12px;gap:6px;white-space:nowrap;margin:0;line-height:20px}.optional-check input{height:15px;width:15px}.line-optional-note{font-size:11px;color:var(--purple);line-height:20px}.is-optional{border-left:3px solid #8894ed!important}.business-snapshot{margin:22px 0}.business-snapshot summary{cursor:pointer}.offer-form #offer-sum{position:static}@media(max-width:1100px){.line-main{grid-template-columns:minmax(150px,2fr) 65px 80px 85px 95px 30px}main{min-width:0}}@media(max-width:800px){.line-main{grid-template-columns:1fr 1fr 1fr 32px}.line-main .line-name{grid-column:1/4}.line-main .remove-line{grid-column:4;grid-row:1}.line-main .line-total{grid-column:1/4;flex-direction:row;justify-content:space-between;align-items:center;padding-top:8px;padding-bottom:0}.line-extras{gap:8px}.line-optional-note{width:100%}.offer-form #offer-sum{position:static}.offer-line.compact-line{padding:12px}}

/* Compact, keyboard-accessible offer status choices. */
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important}
.offer-status-panel{padding:0 0 22px;margin-bottom:10px;border-bottom:1px solid var(--border)}.status-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 18px;margin-bottom:12px}.status-heading>span:first-child{font-size:13px;font-weight:600;color:#d7e0ef}.status-save-hint{font-size:12px;color:var(--muted)}.status-controls{display:flex;align-items:flex-start;gap:18px;flex-wrap:wrap}.status-options{border:0;padding:0;margin:0;display:flex;gap:8px;flex-wrap:wrap;min-width:0}.status-choice{position:relative;margin:0!important;cursor:pointer}.status-choice input{position:absolute;width:1px;height:1px;padding:0;margin:0;opacity:0;pointer-events:none}.status-chip{display:flex;align-items:center;gap:9px;min-height:40px;padding:8px 12px;border:1px solid #344059;border-radius:9px;background:#0c1420;color:#aebbd0;font-size:13px;transition:background .15s,border-color .15s}.status-dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.status-check{visibility:hidden;font-size:12px;margin-left:3px}.status-choice:hover .status-chip{border-color:#7d8bd0;color:#eef2ff}.status-choice input:checked+.status-chip{font-weight:600}.status-choice input:checked+.status-chip .status-check{visibility:visible}.status-choice input:checked+.status-0{background:#242e57;border-color:#7c86ec;color:#d2d9ff}.status-choice input:checked+.status-1{background:#172c41;border-color:#598fb9;color:#b2ddff}.status-choice input:checked+.status-2{background:#17352a;border-color:#4eaa82;color:#b1efd0}.status-choice input:checked+.status-3{background:#3c202d;border-color:#bb6983;color:#ffc2d4}.status-choice input:focus-visible+.status-chip{outline:2px solid #c8d5ff;outline-offset:3px}.status-history{margin-left:auto;font-size:12px;min-width:65px}.status-history summary{cursor:pointer;color:var(--muted);padding:10px 0}.status-history ul{list-style:none;padding:10px 12px;margin:4px 0 0;border:1px solid var(--border);border-radius:8px;background:#0c1420}.status-history li{display:flex;flex-direction:column;padding:5px 0}.status-history time{color:var(--muted);font-size:11px}.status-mail-note{font-size:11px;color:#a8b3c5;margin:9px 0 0}@media(max-width:600px){.status-options{display:grid;grid-template-columns:1fr 1fr;width:100%}.status-chip{justify-content:space-between}.status-history{margin-left:0}.status-controls{gap:6px}.status-save-hint{width:100%}}

.mail-preview{white-space:normal;line-height:1.65;padding:20px;background:#0c1420;border-radius:12px;overflow-wrap:anywhere}.mail-log{display:block;margin:12px 0}

.calendar-check{margin:1rem 0;font-size:.95rem}.calendar-result{padding:1rem 1.2rem;border:1px solid #67616f;border-radius:12px;margin-bottom:.6rem}.calendar-result p{margin:.5rem 0}.calendar-result small{display:block;color:inherit;opacity:.85}.calendar-clear{background:#16291f;border-color:#477657;color:#b9e3c5}.calendar-conflict,.calendar-unknown{background:#302516;border-color:#b38a46;color:#ffe0a1}.calendar-check a{font-size:.9rem}.calendar-override{margin-top:1rem}.calendar-override[hidden]{display:none}

.rental-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}.rental-tabs{display:flex;gap:12px;flex-wrap:wrap}.rental-card .topline{margin:0 0 15px}.rental-dates{margin-bottom:16px}.rental-card progress{width:100%;height:9px;accent-color:var(--purple);margin-bottom:12px}.rental-form select{width:100%;padding:12px;border:1px solid #344059;border-radius:7px;background:#0c1420;color:var(--text);font:inherit;margin-top:7px}.rental-checklist{border:1px solid var(--border);border-radius:10px;margin:24px 0;padding:12px 18px}.rental-checklist legend{font-weight:bold;padding:0 8px}.rental-cancel{margin:20px 0}.rental-cancel summary{cursor:pointer;color:var(--muted)}@media(max-width:800px){.rental-grid{grid-template-columns:1fr}}

.invoice-form .optional-check,.invoice-form .line-optional-note{display:none!important}.invoice-form input[readonly]{opacity:.75}.invoice-form details{margin:20px 0}.invoice-form #invoice-total{position:static}
/* Dashboard: current CRM data, scoped styles, readable on tablet and mobile. */
.dash-test{font-size:11px;color:var(--muted);letter-spacing:.6px}.dash-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin:26px 0}.dash-stat{position:relative;padding:20px 16px;border-top:2px solid var(--accent);transition:transform .15s,border-color .15s;min-width:0}.dash-stat:hover{transform:translateY(-3px);border-color:var(--accent)}.dash-stat>span:first-child{display:block;font-size:12px;min-height:38px;padding-right:8px}.dash-stat>strong{display:block;font-size:25px;letter-spacing:-.5px;color:var(--accent);margin:12px 0;overflow-wrap:anywhere}.dash-stat small{font-size:11px}.dash-arrow{position:absolute;top:12px;right:12px;color:var(--accent)}.mint{--accent:#9be1c7}.blue{--accent:#9acafa}.purple{--accent:#8e93ff}.rose{--accent:#efa9c3}.gold{--accent:#e8cf9e}.dash-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:20px}.dash-grid>.panel{min-width:0}.dash-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.dash-heading h2{margin:0}.dash-heading .text-link{white-space:nowrap}.dash-row{display:flex;align-items:center;gap:14px;padding:17px 0;border-bottom:1px solid var(--border);font-size:13px}.dash-row:last-child{border-bottom:0}.dash-row:hover .dash-detail>strong{color:var(--purple)}.dash-detail{flex:1;min-width:0;overflow-wrap:anywhere}.dash-detail>strong{display:block}.dash-date{background:#1b273b;border-radius:10px;text-align:center;padding:7px 10px;min-width:47px}.dash-date strong{font-size:22px;line-height:1.2}.dash-date small{text-transform:uppercase;font-size:10px}.dash-empty{color:var(--muted);font-size:13px;margin:22px 0}.dash-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;gap:5px}.dash-weekday{font-size:11px;color:var(--muted);padding:8px 0}.dash-day{display:flex;min-height:38px;justify-content:center;align-items:center;flex-direction:column;border:1px solid transparent;border-radius:8px;font-size:12px}.dash-day span{font-size:6px;line-height:8px}.dash-day.has-event{color:#b4c3ff;background:#202d4b}.dash-day.is-today{border-color:var(--purple)}.dash-month{padding:4px 10px;font-size:24px;color:var(--purple)}.dash-calendar-note{margin-top:18px;font-size:11px}.dash-calendar-events{display:none;margin-top:16px;padding:12px;background:#1b273b;border-radius:8px}.dash-calendar-events:target{display:block}.dash-calendar-events a{display:block;font-size:13px;padding:6px 0}.dash-bars{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px;margin-top:26px;align-items:end}.dash-bar{text-align:center;min-width:0}.dash-bar meter{display:block;appearance:none;writing-mode:vertical-lr;direction:rtl;width:100%;height:126px;border:0;border-radius:5px;background:#182338}.dash-bar meter::-webkit-meter-bar{background:#182338;border:0}.dash-bar meter::-webkit-meter-optimum-value{background:#8186ff}.dash-bar meter::-moz-meter-bar{background:#8186ff}.dash-bar small{font-size:10px;margin-top:9px}.dash-bar .dash-bar-value{font-size:8px;overflow-wrap:anywhere}.dash-overdue{color:#ffb9c8}.dash-mood{background:radial-gradient(ellipse at top right,#263f68,transparent 75%),#101c2e}.dash-mood>strong{display:block;font-size:34px;line-height:1.15;letter-spacing:-1px;color:#c6d5ff;margin:22px 0}.dash-mood>p:not(.eyebrow){color:var(--muted);font-size:13px}.dash-mood .primary{margin-top:8px}@media(max-width:1150px){.dash-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:850px){.dash-grid{grid-template-columns:1fr}.dash-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.dash-stat>strong{font-size:22px}.dash-grid .panel{padding:18px}.dash-row .pill{font-size:8px;padding:4px}.dash-bars{gap:4px}}
.dash-year{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:22px 0 14px}.dash-year label{margin:0}.dash-year select{width:auto;min-width:100px;margin:0}.dash-revenue{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dash-revenue>.panel{padding:16px 18px;background:#101923;border-color:#263140}.dash-revenue h2{font-size:14px;font-weight:500;color:#b7c3d6;margin-bottom:5px}.dash-revenue-value{display:block;font-size:25px;line-height:1.3;letter-spacing:-.4px;margin-bottom:3px;color:#e1e8f5;font-variant-numeric:tabular-nums}.dash-revenue-parts{display:flex;gap:24px;border-top:1px solid #263140;padding-top:10px;margin:10px 0 0;flex-wrap:wrap}.dash-revenue-parts strong{display:block;font-size:16px;font-weight:500;font-variant-numeric:tabular-nums}.dash-revenue-parts>div:first-child strong{color:#b6cfc3}.dash-revenue-note{font-size:12px;color:var(--muted);margin:12px 0 26px}.dash-revenue-warning{color:#e8cf9e;font-size:13px;margin:12px 0}.dash-revenue-chart{margin-top:20px}.dash-revenue-legend{display:flex;gap:22px;flex-wrap:wrap;font-size:12px;margin-bottom:22px}.dash-key{display:inline-block;width:10px;height:10px;background:#8186ff;margin-right:8px;border-radius:3px}.dash-key.potential{background:#e3bd80}.dash-revenue-month{display:grid;grid-template-columns:40px 1fr;gap:16px;align-items:center;margin-bottom:15px;font-size:13px}.dash-revenue-bar{display:grid;grid-template-columns:minmax(0,1fr) 115px;gap:18px;align-items:center;font-size:12px;min-height:25px}.dash-revenue-bar span{text-align:right;font-variant-numeric:tabular-nums}.dash-revenue-bar meter{width:100%;height:16px;appearance:none;border:0;background:#182338;border-radius:4px}.dash-revenue-bar meter::-webkit-meter-bar{background:#182338;border:0}.dash-revenue-bar meter::-webkit-meter-optimum-value{background:#8186ff}.dash-revenue-bar meter::-moz-meter-bar{background:#8186ff}.dash-revenue-bar.potential meter{height:8px}.dash-revenue-bar.potential meter::-webkit-meter-optimum-value{background:#e3bd80}.dash-revenue-bar.potential meter::-moz-meter-bar{background:#e3bd80}@media(max-width:740px){.dash-revenue{grid-template-columns:1fr}.dash-revenue-bar{grid-template-columns:minmax(0,1fr) 88px;gap:10px}.dash-revenue-month{gap:8px}}
/* Filled status badges in the dashboard agenda; labels remain visible without color. */
.dash-agenda .dash-status{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;white-space:nowrap;border-radius:999px;padding:5px 11px;font-size:11px;font-weight:600;line-height:1.5;background:#233044;color:#d1cadb}.dash-agenda .dash-status>span{font-size:9px}.dash-agenda .dash-status[data-status="Anfrage"]{background:#292453;color:#c7c1ff}.dash-agenda .dash-status[data-status="Angebot"]{background:#423316;color:#f1d081}.dash-agenda .dash-status[data-status="bestätigt"],.dash-agenda .dash-status[data-status="bezahlt"]{background:#163a2e;color:#a0e2bf}.dash-agenda .dash-status[data-status="gespielt"]{background:#21354b;color:#b4d7f4}.dash-agenda .dash-status[data-status="Abgesagt"]{background:#442330;color:#f2bac7}@media(max-width:480px){.dash-agenda .dash-status{padding:4px 8px;font-size:11px}.dash-agenda .dash-row{gap:9px}}
/* Customer dossier: compact overview first, explicit editing, scoped styles. */
.customer-profile{margin-top:12px}.customer-profile .panel{padding:21px;scroll-margin-top:18px}.customer-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:16px 0 20px;padding:24px;background:linear-gradient(115deg,#1d1729,#14151f);border:1px solid #3b3049;border-radius:13px}.customer-identity{display:flex;align-items:center;gap:17px;min-width:0}.customer-identity h2{font-size:25px;line-height:1.25;margin:0 0 8px;overflow-wrap:anywhere}.customer-identity .eyebrow{margin-bottom:6px}.customer-identity p:last-child{font-size:12px;color:var(--muted);margin:0}.customer-avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,#566096,#283054);color:#e4eaff;font-size:20px}.customer-event-picker{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}.customer-event-picker label{margin:0}.customer-event-picker select{flex:1;min-width:220px;margin:0}.customer-sections{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid var(--border);margin-bottom:20px;padding-bottom:8px}.customer-sections a{font-size:13px;padding:8px 12px;border-radius:6px;color:#c9c0d3}.customer-sections a:hover,.customer-sections a:focus-visible{background:#30223f;color:#eadbff}.customer-layout{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(245px,1fr);gap:18px;align-items:start}.customer-primary,.customer-secondary{display:grid;gap:18px;min-width:0}.customer-top-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px}.customer-top-cards>.panel{min-width:0}.customer-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px;flex-wrap:wrap}.customer-section-heading h2{font-size:16px;margin:0}.customer-section-heading .text-link{font-size:12px}.customer-facts{margin:17px 0 0}.customer-facts dt{font-size:11px;color:var(--muted);margin-top:12px}.customer-facts dd{font-size:13px;margin:2px 0 0;overflow-wrap:anywhere}.customer-facts a:hover{color:var(--purple)}.customer-preline{white-space:pre-line;overflow-wrap:anywhere;font-size:13px}.customer-profile h3{font-size:13px;margin:20px 0 8px;color:#c8b4e0}.customer-profile .hint{font-size:12px;color:var(--muted)}.customer-table-wrap{overflow-x:auto}.customer-services-table{width:100%;border-collapse:collapse;font-size:12px}.customer-services-table th{font-size:11px;font-weight:500;color:var(--muted);text-align:left;padding:10px 7px;border-bottom:1px solid var(--border);background:#131019}.customer-services-table td{padding:12px 7px;border-bottom:1px solid var(--border);vertical-align:top}.customer-services-table th:not(:first-child),.customer-services-table td:not(:first-child){text-align:right;white-space:nowrap}.customer-services-table td:first-child{min-width:145px;overflow-wrap:anywhere}.customer-services-table small{font-size:11px;white-space:normal}.customer-services-table details{margin-top:5px}.customer-services-table summary{color:var(--purple);cursor:pointer;font-size:11px}.customer-services-table details p{max-width:360px;white-space:pre-line}.customer-total{display:flex;justify-content:flex-end;gap:24px;align-items:center;margin:16px 0 0;font-size:13px}.customer-total strong{font-size:17px}.customer-document{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--border);font-size:13px}.customer-document:last-child{border-bottom:0}.customer-document>div,.customer-document>span:first-child{min-width:0;overflow-wrap:anywhere}.customer-document a:hover,.customer-document:hover>span>strong{color:var(--purple)}.customer-document small{margin-top:4px;font-size:11px}.customer-state{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;flex-shrink:0;padding:4px 9px;border-radius:99px;background:#302938;color:#d2c4de;font-size:11px;font-weight:500}.customer-state>span{font-size:8px}.customer-state[data-status="bestätigt"],.customer-state[data-status="Angenommen"],.customer-state[data-status="Bezahlt"],.customer-state[data-status="bezahlt"],.customer-state[data-status="Abgeschlossen"]{background:#163a2e;color:#a0e2bf}.customer-state[data-status="Anfrage"],.customer-state[data-status="Entwurf"]{background:#292453;color:#c7c1ff}.customer-state[data-status="Angebot"],.customer-state[data-status="Versendet"],.customer-state[data-status="Offen"],.customer-state[data-status="Teilbezahlt"]{background:#423316;color:#f1d081}.customer-state[data-status="Abgesagt"],.customer-state[data-status="Abgelehnt"],.customer-state[data-status="Storniert"]{background:#442330;color:#f2bac7}.customer-history{list-style:none;padding:0 0 0 17px;margin:20px 0;border-left:1px solid #463653}.customer-history li{position:relative;margin:0 0 20px;font-size:13px}.customer-history li:before{content:'';position:absolute;left:-21px;top:7px;width:7px;height:7px;border-radius:50%;background:#b89bd8}.customer-history small{font-size:11px;margin-top:4px}.customer-secondary .secondary{font-size:12px;white-space:normal;width:100%;text-align:center}.customer-money{display:grid;grid-template-columns:1fr auto;gap:12px;font-size:13px;margin:20px 0}.customer-money dt{color:var(--muted)}.customer-money dd{margin:0;text-align:right;font-weight:600;font-variant-numeric:tabular-nums}.customer-outstanding{color:#f1d081}.customer-invoice-action{border-top:1px solid var(--border);padding-top:14px;margin-top:14px}.customer-invoice-action small{font-size:11px;margin-bottom:12px}.customer-checks{list-style:none;padding:0;margin:15px 0;font-size:12px}.customer-checks li{display:flex;align-items:baseline;gap:8px;margin-bottom:9px;color:#b5aabe}.customer-checks li span{color:#a99ab9}.customer-checks li .is-done{color:#a0e2bf}.customer-rental+.customer-rental{margin-top:20px;padding-top:16px;border-top:1px solid var(--border)}.customer-directory{display:grid;gap:9px}.customer-directory-row{display:flex;align-items:center;gap:18px;padding:16px 20px;background:#101923;border:1px solid var(--border);border-radius:11px}.customer-directory-row:hover{border-color:#596ba7;background:#172238}.customer-directory-name{flex:1;min-width:0;overflow-wrap:anywhere}.customer-directory-name small{margin-top:3px}.customer-directory-contact{font-size:13px;overflow-wrap:anywhere;min-width:0;flex:1}.customer-directory-row>.text-link{white-space:nowrap}.customer-directory-row .customer-avatar{width:42px;height:42px;font-size:16px}@media(max-width:1100px){.customer-top-cards{grid-template-columns:1fr}.customer-layout{grid-template-columns:minmax(0,1.5fr) minmax(235px,1fr)}}@media(max-width:820px){.customer-layout{grid-template-columns:1fr}.customer-top-cards{grid-template-columns:1fr 1fr}.customer-hero{align-items:flex-start;flex-direction:column}.customer-directory-row{flex-wrap:wrap}.customer-directory-contact{flex-basis:45%}}@media(max-width:540px){.customer-top-cards{grid-template-columns:1fr}.customer-profile .panel{padding:17px}.customer-hero{padding:18px}.customer-identity h2{font-size:21px}.customer-directory-row{gap:12px;padding:14px}.customer-directory-name{flex-basis:65%}.customer-directory-contact{flex-basis:65%;font-size:12px}.customer-sections a{padding:8px;font-size:12px}.customer-document{align-items:flex-start;flex-wrap:wrap}.customer-profile .primary{white-space:normal}}
/* Reference-inspired navy customer workspace. */
body.customer-blue{--bg:#080e16;--panel:#101923;--border:#263140;--text:#edf1fa;--muted:#a8b3c5;--purple:#8e93ff;background:radial-gradient(ellipse at 70% 0,#152030 0,transparent 55%),#080e16;font-size:14px}.customer-blue .shell>aside{background:linear-gradient(170deg,#0b111c,#070d14);border-color:#1e2838;width:208px;padding:25px 18px}.customer-blue .logo{width:171px}.customer-blue .nav{font-size:13px;padding:10px 12px;margin:2px 0}.customer-blue .nav[href="?view=customers"]{background:linear-gradient(100deg,#292d65,#152044);box-shadow:inset 3px 0 #6962ff;color:#f1f1ff}.customer-blue .nav:hover{background:#17233a}.customer-blue .aside-bottom{border-top:1px solid #202a3a;margin-top:45px;padding-top:24px}.customer-blue .aside-bottom:before{content:'Good Music.\A Better People.';white-space:pre-line;display:block;font:italic 24px/1.7 Georgia,serif;color:#ccd5e7;margin:0 0 38px}.customer-blue .pill{color:#a3ace0;border-color:#323f60}.customer-blue main{max-width:1600px;padding:0 22px 28px;min-width:0}.customer-blue main>header{display:none}.customer-blue .customer-profile{margin:0}.customer-commandbar{display:flex;align-items:center;gap:18px;min-height:70px;border-bottom:1px solid #202a39;margin-bottom:0}.customer-quick-search{display:flex;align-items:center;position:relative;max-width:400px;flex:1;margin-right:auto}.customer-quick-search input{background:#1b2434;border:1px solid #303c50;border-radius:11px;padding:10px 40px 10px 15px;font-size:12px;margin:0}.customer-quick-search button{position:absolute;right:6px;top:5px;width:30px;height:30px;border:0;background:transparent;color:#b3bfd3;font-size:22px}.customer-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.customer-account{font-size:12px;min-width:95px}.customer-account small{font-size:10px}.customer-blue .primary{background:linear-gradient(180deg,#655cff,#4240f1);border:1px solid #7168ff;color:#fff;box-shadow:0 0 15px #534bfa33;font-size:12px;padding:10px 15px}.customer-blue .primary:hover{background:#6760ff}.customer-blue .secondary{background:#19223a;border:1px solid #3c477d;color:#b3b8ff;border-radius:7px;font-weight:500;padding:8px 12px}.customer-blue .secondary:hover{background:#252e50}.customer-blue .customer-hero{position:relative;min-height:190px;border:0;border-radius:0;margin:0;overflow:hidden;padding:20px 0;background:#0b121c;isolation:isolate}.customer-blue .customer-hero-copy{z-index:2;position:relative;width:66%;padding-right:20px}.customer-blue .customer-hero-copy>a{font-size:11px;color:#c1c9d8}.customer-hero-title{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:14px 0 10px}.customer-blue .customer-hero h1{font-size:25px;line-height:1.25;letter-spacing:-.5px;margin:0;overflow-wrap:anywhere}.customer-blue .customer-hero p{font-size:13px;color:#c6cddd;margin-bottom:12px}.customer-blue .customer-hero small{font-size:11px}.customer-hero-photo{position:absolute;z-index:0;inset:0 0 0 35%;background-image:linear-gradient(90deg,#0b121c 0,rgba(11,18,28,.6) 22%,rgba(11,18,28,.1) 70%),var(--customer-event-image,url('customer-event-other.png'));background-size:cover;background-position:center}.customer-blue .customer-sections{gap:8px;margin:0 0 18px;padding:0;border-color:#253040}.customer-blue .customer-sections a{display:flex;align-items:center;gap:7px;font-size:11px;color:#cdd5e3;border-radius:0;padding:13px 9px;border-bottom:2px solid transparent}.customer-blue .customer-sections a.selected{border-bottom-color:#6761ff;color:#fff}.customer-blue .customer-sections a:before{content:'◇';color:#7d82ff;font-size:13px}.customer-blue .customer-sections a:hover{background:#162037}.customer-blue .customer-layout{grid-template-columns:minmax(0,2.15fr) minmax(240px,1fr);gap:14px}.customer-blue .customer-primary,.customer-blue .customer-secondary,.customer-blue .customer-top-cards{gap:14px}.customer-blue .customer-top-cards{grid-template-columns:1fr 1fr}.customer-blue .customer-profile .panel{padding:16px;background:linear-gradient(135deg,#141c29,#0e1821);border:1px solid #273141;border-radius:9px;box-shadow:inset 0 1px #ffffff03}.customer-blue .customer-section-heading{margin-bottom:15px;gap:8px}.customer-blue .customer-section-heading h2{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500}.customer-blue .customer-section-heading .text-link{font-size:11px;color:#9299ff}.customer-icon{color:#797bff;font-size:21px;line-height:1;display:inline-block;min-width:21px;text-align:center}.customer-blue #customer-services .customer-icon{color:#de87d7}.customer-blue #customer-finances .customer-icon{color:#8ee9bd;background:#174c3d;border-radius:50%;font-size:14px;width:25px;height:25px;line-height:25px}.customer-blue .customer-contact-name{display:flex;align-items:center;gap:12px;font-size:13px}.customer-blue .customer-avatar{width:45px;height:45px;font-size:17px;background:linear-gradient(130deg,#566096,#283054);color:#e4eaff}.customer-blue .customer-facts{margin-top:10px}.customer-blue .customer-facts dt{color:#8e9bb1;font-size:10px;margin-top:10px}.customer-blue .customer-facts dd{font-size:12px;color:#d1d9e6}.customer-blue .customer-services-table th{background:#0c1420;border-color:#26303e;font-size:10px}.customer-blue .customer-services-table td{border-color:#222d3b;padding:10px 7px;font-size:11px}.customer-blue .customer-services-table details p{font-size:12px}.customer-blue .customer-services-table summary{color:#9299ff}.customer-blue .customer-total{font-size:12px;margin-top:14px}.customer-blue .customer-total strong{font-size:15px}.customer-blue .customer-history{border-color:#3a4860;margin:16px 0}.customer-blue .customer-history li{font-size:12px;margin-bottom:17px}.customer-blue .customer-history li:before{background:#75d6ac;box-shadow:0 0 0 3px #143a30}.customer-blue .customer-money{font-size:12px;gap:10px}.customer-blue .customer-outstanding{color:#ff899f}.customer-blue .customer-state{font-size:10px;padding:4px 9px}.customer-blue .customer-secondary .secondary{font-size:11px}.customer-blue .customer-secondary #customer-finances .secondary{background:linear-gradient(180deg,#615bff,#4143e9);border-color:#716bff;color:#fff;padding:10px}.customer-blue .customer-document{font-size:12px;padding:12px 0;border-color:#273141}.customer-blue .customer-profile h3{color:#b9c5df;font-size:12px}.customer-blue .customer-checks{font-size:11px}.customer-blue .customer-checks li{color:#b9c3d3;margin-bottom:8px}.customer-blue .customer-checks li .is-done{color:#86e4b6}.customer-blue .customer-preline{font-size:12px}.customer-blue .customer-profile .hint{font-size:11px}.customer-blue footer{border-color:#283343;color:#8e9bb1}.customer-blue .customer-event-picker{margin:14px 0}.customer-blue .customer-event-picker select{background:#172132;border-color:#344059}@media(min-width:1150px){.customer-blue .customer-primary{grid-template-columns:1fr 1fr}.customer-blue .customer-top-cards,.customer-blue #customer-services{grid-column:1/-1}.customer-blue #customer-documents,.customer-blue #customer-notes{align-self:start}}@media(max-width:1050px){.customer-blue .shell>aside{width:180px;padding:24px 13px}.customer-blue .logo{width:151px}.customer-blue main{padding:0 15px 24px}.customer-blue .customer-top-cards{grid-template-columns:1fr}.customer-blue .customer-account{display:none}.customer-blue .customer-hero-copy{width:78%}.customer-blue .customer-layout{grid-template-columns:minmax(0,1.6fr) minmax(225px,1fr)}}@media(max-width:760px){.customer-blue .customer-layout{grid-template-columns:1fr}.customer-blue .customer-top-cards{grid-template-columns:1fr 1fr}.customer-blue .customer-hero h1{font-size:22px}.customer-blue .customer-hero-copy{width:100%}.customer-blue .customer-hero-photo{opacity:.4}.customer-commandbar{flex-wrap:wrap;padding:12px 0;gap:10px}.customer-quick-search{min-width:180px}.customer-blue .customer-sections{gap:1px}.customer-blue .customer-sections a{padding:10px 7px}.customer-blue .customer-hero{padding:18px 0}}@media(max-width:680px){.customer-blue .shell>aside{width:100%;padding:12px 15px}.customer-blue .logo{width:115px}.customer-blue .customer-top-cards{grid-template-columns:1fr}.customer-blue .customer-hero h1{font-size:21px}.customer-blue .customer-commandbar .primary{font-size:11px}.customer-blue .customer-hero{min-height:180px}}

/* Shared navy palette across the CRM; document print styles remain separate. */
body{background:radial-gradient(ellipse at 70% 0,#152030 0,transparent 55%),var(--bg)}
.shell>aside{background:linear-gradient(170deg,#0b111c,#070d14);border-color:#1e2838}
.panel{background:linear-gradient(135deg,#141c29,#0e1821)}
.primary{background:linear-gradient(180deg,#655cff,#4240f1);border-color:#7168ff;color:#fff;box-shadow:0 0 15px #534bfa33}
.primary:hover{background:#6760ff}
.secondary{background:#19223a;border-color:#3c477d;color:#c2c8ff}
.secondary:hover{background:#252e50}
input,textarea,select{accent-color:#767bff}
select:focus{outline:2px solid var(--purple)}
.active{background:linear-gradient(100deg,#292d65,#152044);color:#eef1ff}
.dash-revenue>.panel{background:#101923}
.dash-revenue-parts{border-color:var(--border)}
.customer-directory-row{background:linear-gradient(135deg,#141c29,#0e1821)}

/* Invoice links must be block cards, with space below the creation form. */
.invoice-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px;margin-top:24px}
.invoice-list>.panel{display:block;min-width:0;overflow-wrap:anywhere}
.invoice-list>.panel:hover{border-color:#6c75d8}
.invoice-list>.panel p:last-child{margin-bottom:0}

/* Decorative desktop header: out of flow so dashboard data keeps its position. */
@media(min-width:901px){
.dashboard-page main{position:relative;isolation:isolate}
.dashboard-page main:before{content:"";position:absolute;z-index:-1;pointer-events:none;top:8px;right:20px;width:58%;height:220px;background:url('dashboard-dj-header.png') center right/cover no-repeat;opacity:.9;filter:brightness(1.22) contrast(1.04);-webkit-mask-image:radial-gradient(ellipse at center,#000 30%,transparent 76%);mask-image:radial-gradient(ellipse at center,#000 30%,transparent 76%)}
}

/* Signed-in account and logout in the shared sidebar, including mobile navigation. */
.sidebar-user{display:flex;align-items:center;gap:12px;margin-top:24px;padding:16px 0 0;border-top:1px solid var(--border);position:sticky;bottom:16px;background:#080e16;z-index:2}
.sidebar-user-avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#566096,#283054);border:1px solid #465687;color:#edf1fa;font-size:14px}
.sidebar-user-info{min-width:0}.sidebar-user-info strong{display:block;font-size:13px;overflow-wrap:anywhere}.sidebar-user-info small{font-size:11px}.sidebar-user-info form{margin:3px 0 0}
.sidebar-logout{border:0;background:transparent;color:#b4bfff;padding:2px 0;font-size:12px;text-align:left}.sidebar-logout:hover{text-decoration:underline;color:#fff}
@media(max-width:680px){.sidebar-user{position:static;flex-basis:100%;margin-top:8px;padding-top:12px}.sidebar-user-info{display:flex;align-items:center;gap:12px;flex:1}.sidebar-user-info small{display:none}.sidebar-user-info form{margin:0 0 0 auto}}

/* Shared team portrait for every signed-in account; names remain user-specific. */
.sidebar-user-avatar{overflow:hidden;position:relative}
.sidebar-user-avatar img{position:absolute;width:110px;height:auto;max-width:none;left:-35px;top:-2px}

.calendar-sync-row{padding:20px 0;border-top:1px solid var(--border);margin-top:18px}.calendar-sync-row p{margin:8px 0}.calendar-sync-row small{overflow-wrap:anywhere}body:has(.calendar-sync-row) main>.panel{margin-bottom:20px}

.customer-hero-photo[data-event-image="customer-event-hero.png"]{--customer-event-image:url("customer-event-hero.png")}
.customer-hero-photo[data-event-image="customer-event-corporate.png"]{--customer-event-image:url("customer-event-corporate.png")}
.customer-hero-photo[data-event-image="customer-event-birthday.png"]{--customer-event-image:url("customer-event-birthday.png")}
.customer-hero-photo[data-event-image="customer-event-party.png"]{--customer-event-image:url("customer-event-party.png")}
.customer-hero-photo[data-event-image="customer-event-other.png"]{--customer-event-image:url("customer-event-other.png")}
