:root{--desktop-navy:#082444;--desktop-blue:#0875e8;--desktop-text:#092849;--desktop-border:#dbe5ef}.srOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body.desktopSignedIn{background:#f5f8fc;color:var(--desktop-text)}body.desktopSignedIn>header{display:none}body.desktopSignedIn>main{max-width:none;padding:0;margin:0}body.desktopSignedIn #workspace{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:start}body.desktopSignedIn #workspace[hidden]{display:none!important}.desktopSidebar{position:sticky;top:0;display:flex;flex-direction:column;height:100vh;background:var(--desktop-navy);padding:24px 12px 16px;color:#fff;overflow-y:auto}.desktopBrand{display:flex;flex-direction:column;align-items:center;gap:8px;color:#fff;text-decoration:none;margin-bottom:28px;padding:0 10px}.desktopBrand img{width:112px;height:94px;object-fit:contain;background:white;border-radius:10px}.desktopBrand strong{font-size:18px}.desktopSidebar nav{display:flex;flex-direction:column;gap:5px}.desktopNavButton,.desktopSidebar #desktopLogout{display:flex;align-items:center;gap:14px;border:0;border-radius:6px;text-align:left;background:transparent;color:#eef4fd;padding:13px 12px;font-size:14px;line-height:1.4;min-height:46px;width:100%}.desktopNavButton:hover,.desktopSidebar #desktopLogout:hover{background:#133c66}.desktopNavButton.active{background:#155595;font-weight:700}.desktopNavIcon{font-size:22px;width:24px;text-align:center;flex:none}.desktopAdminNav{border-top:1px solid #37536c;padding-top:18px;margin-top:auto!important}.desktopSidebar small{padding:10px 16px;color:#a9bdd1}.desktopSidebar [hidden],#desktopMain [hidden]{display:none!important}#desktopMain{min-width:0;padding:0 32px 48px}.desktopTopbar{height:76px;margin:0 -32px 28px;padding:12px 32px;border-bottom:1px solid var(--desktop-border);background:#fff;display:flex;align-items:center;gap:20px;position:relative}.desktopGlobalSearch{flex:1;max-width:680px}.desktopGlobalSearch input,#desktopSearch{width:100%;border:1px solid #d4dfe9;border-radius:6px;padding:10px 14px;background:#f5f8fc;color:var(--desktop-text);font-size:14px}.desktopTopbar #desktopConnection{margin-left:auto;white-space:nowrap;font-size:12px;color:#174832}.desktopTopbar #desktopConnection:before{content:'';display:inline-block;width:9px;height:9px;background:#139c42;border-radius:50%;margin-right:8px}.desktopTopbar #desktopConnection.offline:before{background:#e5a000}.desktopUser{display:flex;align-items:center;gap:8px;font-size:13px;border:0;border-left:1px solid var(--desktop-border);border-radius:0;background:white;color:var(--desktop-text);white-space:nowrap}.desktopUserAvatar{display:grid;place-items:center;color:#fff;background:#134976;width:32px;height:32px;border-radius:50%;font-size:16px}.desktopUser strong{font-weight:600}#desktopUserMenu{position:absolute;right:26px;top:65px;z-index:20;background:#fff;border:1px solid var(--desktop-border);box-shadow:0 10px 30px #09284920;padding:16px;min-width:180px;border-radius:8px}#desktopUserMenu span{display:block;margin-bottom:10px}#desktopMenuToggle{display:none}.desktopHeading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:22px}.desktopHeading h1{font-size:30px;letter-spacing:-.5px;margin:0;line-height:1.2;color:var(--desktop-text)}#desktopScope{font-size:13px;color:#61748b;margin:8px 0 0}.desktopCreateButtons{display:flex;gap:12px;flex-wrap:wrap}.desktopCreateButtons button{background:var(--desktop-blue);border:1px solid var(--desktop-blue);color:#fff;border-radius:6px;padding:11px 16px;font-size:14px;font-weight:600}.desktopCreateButtons button:hover{background:#0065d1}.desktopStats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.desktopStat{display:flex;align-items:center;gap:17px;text-align:left;padding:18px;border:0;border-radius:8px;min-height:90px;color:var(--desktop-text)}.desktopStat strong{display:block;font-size:29px;line-height:1.2}.desktopStat small{display:block;font-size:14px;margin-top:4px;color:#435878}.desktopStatIcon{display:grid;place-items:center;font-size:30px;width:48px;height:48px;border-radius:8px}.statBlue{background:#edf7ff}.statBlue .desktopStatIcon{background:#d9edff;color:#0879d9}.statPurple{background:#f5f0ff}.statPurple .desktopStatIcon{background:#ede3ff;color:#834af2}.statGreen{background:#eff9f3}.statGreen .desktopStatIcon{background:#ddf3e5;color:#129b41}.statYellow{background:#fff8ed}.statYellow .desktopStatIcon{background:#ffedc8;color:#d18a00}.desktopFilters{display:grid;grid-template-columns:minmax(190px,1.7fr) repeat(3,minmax(110px,1fr)) auto;align-items:center;gap:12px}.desktopFilters label{min-width:0}.desktopFilters select,.desktopFilters button{font-size:13px;background:#fff;border:1px solid #d4dfe9;border-radius:6px;padding:10px;min-height:40px;width:100%;color:var(--desktop-text)}#desktopListStatus{font-size:12px;color:#60768e;margin:10px 0 12px}.desktopTableCard{background:#fff;border:1px solid var(--desktop-border);border-radius:7px;overflow:hidden;margin-bottom:20px}.desktopTableCard h2{margin:0;padding:13px 18px;background:#f0f5fb;border-bottom:1px solid var(--desktop-border);font-size:19px;color:var(--desktop-text)}.desktopTableCard h2>span:first-child{color:#0875d7;margin-right:10px}#desktopPlansTable h2>span:first-child{color:#8354e9}.desktopTableScroll{overflow-x:auto}.desktopTableCard table{width:100%;border-collapse:collapse;font-size:13px;min-width:670px}.desktopTableCard th{background:#eaf0f7;text-align:left;color:#143150;padding:10px 16px;border-bottom:1px solid var(--desktop-border);font-size:12px;white-space:nowrap}.desktopTableCard th button{font:inherit;color:inherit;border:0;background:transparent;padding:0}.desktopTableCard td{padding:11px 16px;border-bottom:1px solid #e4ebf3;vertical-align:middle}.desktopTableCard tr:last-child td{border-bottom:0}.desktopTableCard tr:nth-child(even){background:#fafcff}.desktopTableCard tbody tr:hover{background:#f1f7ff}.desktopTableCard td strong{display:block;font-size:13px}.desktopTableCard td small{display:block;color:#637489;font-size:12px;margin-top:3px}.desktopTableCard td:last-child{min-width:110px}.desktopOpen{background:var(--desktop-blue);color:#fff;border:0;border-radius:4px;padding:7px 13px;font-size:12px;font-weight:600;white-space:nowrap}.desktopTableCard td select{display:block;width:100%;max-width:185px;padding:5px;margin-top:6px;border:1px solid #d8e3ef;border-radius:4px;font-size:11px}.desktopStatus{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:20px;white-space:nowrap;font-size:11px;font-weight:600}.desktopStatus:before{font-size:11px;content:'●'}.status-finished{background:#d9f7e2;color:#08762a}.status-followUp{background:#fff0c5;color:#9d6800}.status-unfinished{background:#ffe0e4;color:#c52038}.status-offer{background:#eee3ff;color:#773ed4}.status-planning{background:#e7f1ff;color:#2765a5}.desktopNoRows{text-align:center;padding:28px!important;color:#6b7d90}.legacyTop,.legacyLists,#empty{display:none!important}.desktopPane,.desktopProject,#desktopMaterialPicker,#createForm,#desktopDashboard{display:none}.desktopProject{margin-top:12px;grid-template-columns:minmax(0,1fr)}.desktopBack{justify-self:start;border:1px solid #cfdeeb;background:#fff;padding:9px 14px;margin-bottom:10px;border-radius:6px}#workspace[data-view=overview] #desktopDashboard,#workspace[data-view=projects] #desktopDashboard,#workspace[data-view=planning] #desktopDashboard,#workspace[data-view=bath] #desktopDashboard{display:block}#workspace[data-view=project] .desktopProject,#workspace[data-view=material] .desktopProject{display:grid}#workspace[data-view=material] #desktopMaterialPicker{display:block}#workspace[data-view=create] #createForm:not([hidden]){display:block}#workspace[data-view=admin] #desktopPane-admin,#workspace[data-view=system] #desktopPane-system,#workspace[data-view=faults] #desktopPane-faults,#workspace[data-view=service] #desktopPane-service,#workspace[data-view=klima] #desktopPane-klima,#workspace[data-view=heizung] #desktopPane-heizung,#workspace[data-view=heatload] #desktopPane-heatload,#workspace[data-view=finance] #desktopPane-finance{display:block}.desktopMaterialPicker{border:1px solid var(--desktop-border);border-radius:8px;background:#fff;padding:18px}.desktopMaterialPicker label{display:flex;flex-direction:column;gap:8px;max-width:550px}.desktopMaterialPicker select{padding:10px;border:1px solid var(--desktop-border);border-radius:6px}.desktopMaterialPicker p{font-size:13px;color:#61748b}#workspace[data-view=material] #surveyContent>.card:not(#materialPanel):not(#manufacturerCard){display:none}#workspace[data-view=material] #notesCard,#workspace[data-view=material] #attachmentsCard,#workspace[data-view=material] #accessLog{display:none!important}.desktopPane .card,#detail .card{border-color:var(--desktop-border);border-radius:8px;background:#fff}.desktopPane{min-width:0}.desktopSignedIn #message:not(:empty){position:relative;margin-left:292px;margin-right:32px;padding:12px;border:1px solid #d5e2ee;border-radius:6px;background:#fff}.desktopSignedIn #message:empty{display:none}.desktopPane details>summary{font-size:18px;color:#123250}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #58a6f3;outline-offset:2px}.desktopMenuBackdrop{display:none}
@media(min-width:1700px){#desktopMain{padding-left:48px;padding-right:48px}.desktopTopbar{margin-left:-48px;margin-right:-48px;padding-left:48px;padding-right:48px}.desktopHeading h1{font-size:34px}.desktopTableCard table{font-size:14px}.desktopTableCard td{padding-top:13px;padding-bottom:13px}}
@media(max-width:1200px){body.desktopSignedIn #workspace{grid-template-columns:225px minmax(0,1fr)}.desktopSidebar{padding-left:8px;padding-right:8px}.desktopBrand strong{font-size:16px}.desktopNavButton{font-size:13px;padding-left:9px;padding-right:9px;gap:9px}#desktopMain{padding-left:22px;padding-right:22px}.desktopTopbar{margin-left:-22px;margin-right:-22px;padding-left:22px;padding-right:22px;gap:10px}.desktopStats{gap:10px}.desktopStat{padding:14px;gap:10px}.desktopStatIcon{width:36px;height:40px;font-size:24px}.desktopStat small{font-size:12px}.desktopFilters{grid-template-columns:repeat(4,minmax(90px,1fr))}.desktopFilters label:first-child{grid-column:span 2}.desktopFilters button{grid-column:span 2}.desktopHeading h1{font-size:26px}.desktopHeading{flex-wrap:wrap}.desktopSignedIn #message:not(:empty){margin-left:245px}.desktopTopbar #desktopConnection{font-size:11px}.desktopUser strong{max-width:160px;white-space:normal}}
@media(max-width:850px){body.desktopSignedIn #workspace{display:block}.desktopSidebar{position:fixed;top:0;left:0;bottom:0;z-index:101;width:255px;height:100dvh;transform:translateX(-100%);transition:transform .18s ease}.desktopMenuOpen .desktopSidebar{transform:translateX(0)}#desktopMenuToggle{display:block;border:0;background:#edf4fc;font-size:22px;padding:6px 10px}#desktopMain{padding:0 16px 35px}.desktopTopbar{margin:0 -16px 22px;padding:12px 16px;height:auto;min-height:66px;flex-wrap:wrap}.desktopGlobalSearch{order:4;flex-basis:100%;max-width:none}.desktopTopbar #desktopConnection{margin-left:auto}.desktopUser{font-size:12px}.desktopUserAvatar{width:28px;height:28px}.desktopHeading h1{font-size:25px}.desktopStats{grid-template-columns:repeat(2,minmax(0,1fr))}.desktopFilters{grid-template-columns:repeat(2,minmax(0,1fr))}.desktopFilters label:first-child{grid-column:span 2}.desktopFilters button{grid-column:span 2}.desktopStat{min-height:80px}.desktopStat strong{font-size:26px}.desktopSignedIn #message:not(:empty){margin:12px 16px}.desktopCreateButtons{gap:8px}.desktopCreateButtons button{padding:9px 12px;font-size:12px}.desktopMaterialPicker{padding:14px}.desktopPane .card{padding:14px}.desktopProject{display:none}.desktopTableCard td,.desktopTableCard th{padding-left:12px;padding-right:12px}}
@media print{.desktopSidebar,.desktopTopbar,.desktopHeading,.desktopDashboard,.desktopBack{display:none!important}body.desktopSignedIn #workspace{display:block}#desktopMain{padding:0}.desktopPane{display:block}}

.desktopMobileLogo{display:none}#workspace[data-view="material"][data-material-ready="false"] .desktopProject{display:none!important}@media(max-width:850px){.desktopMobileLogo{display:block;width:50px;height:42px;object-fit:contain}.desktopTopbar{height:auto;min-height:76px;flex-wrap:wrap}}

/* Freigegebene Variante 2: helle Navigation, dunkle Kopfzeile, Karten. */
.desktopSidebar{background:#fff;color:#12365c;border-right:1px solid #e1e9f2}.desktopBrand{color:#12365c}.desktopBrand img{width:205px;height:105px;border-radius:0}.desktopNavButton,.desktopSidebar #desktopLogout{color:#163657}.desktopNavButton:hover,.desktopSidebar #desktopLogout:hover{background:#f0f7ff}.desktopNavButton.active{background:#e3f2ff;color:#006bef}.desktopAdminNav{border-top-color:#dfe8f2}.desktopSidebar small{color:#65788f}.desktopTopbar{background:#183a5e;color:#fff}.desktopGlobalSearch{margin-left:auto;max-width:580px}.desktopGlobalSearch input{background:#234567;color:#fff;border-color:#60768d}.desktopGlobalSearch input::placeholder{color:#d1dfed}.desktopTopbar #desktopConnection{color:#fff}.desktopUser{background:transparent;color:white;border-left-color:#60768d}.desktopUserAvatar{background:transparent}#desktopUserMenu{color:#12365c}.desktopTabs{display:flex;margin:0 0 22px;max-width:450px;border:1px solid #cad9e8;border-radius:7px;overflow:hidden}.desktopTabs button{flex:1;border:0;border-right:1px solid #cad9e8;border-radius:0;background:#fff;color:#12365c;padding:13px}.desktopTabs button:last-child{border-right:0}.desktopTabs .active{background:#0875e8;color:#fff;font-weight:bold}.desktopFilters{grid-template-columns:minmax(180px,1.6fr) minmax(140px,1fr) minmax(140px,1fr) auto;background:transparent;border:0;padding:0}.desktopFilters label{color:#233b56;font-size:13px;display:flex;flex-direction:column;gap:6px}.desktopFilters input,.desktopFilters select{background:white;min-height:46px}.desktopCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.desktopJobCard{border:1px solid #e0eaf4;border-radius:9px;background:#fff;padding:20px;box-shadow:0 2px 8px #09284903;min-width:0}.desktopKind{display:inline-block;border-radius:7px;padding:4px 12px;background:#deeeff;color:#12365c;font-size:12px;font-weight:bold}.kind-planning{background:#e8dfff;color:#4b20a6}.kind-bath{background:#d8f6ff;color:#136986}.desktopJobCard h2{font-size:21px;color:#0b2346;margin:14px 0}.desktopLocation{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:62px}.desktopLocation p{white-space:pre-line;margin:0;color:#596b80;line-height:1.6;font-size:14px}.desktopStatus{white-space:nowrap}.desktopCardMeta{display:grid;grid-template-columns:1fr auto;gap:12px;border-top:1px solid #dde8f2;padding-top:16px;margin:17px 0;color:#60718a;font-size:13px}.desktopCardMeta span:nth-child(even){text-align:right}.desktopCardOpen{width:100%;border:0;border-radius:6px;background:#deefff;color:#0672ef;font-weight:bold;padding:10px}.desktopCardOpen:hover{background:#c8e4ff}.desktopJobCard>select{width:100%;margin-top:10px;padding:8px;border:1px solid #dbe5ef;border-radius:6px}.desktopNoRows{grid-column:1/-1}#desktopListStatus{font-size:12px;color:#6b7e93}#desktopScope{display:none}@media(max-width:1300px){.desktopCards{grid-template-columns:repeat(2,minmax(0,1fr))}.desktopFilters{grid-template-columns:repeat(3,minmax(0,1fr))}.desktopFilters label:first-child{grid-column:auto}.desktopFilters button{grid-column:1/-1}}@media(max-width:850px){.desktopCards{grid-template-columns:1fr}.desktopFilters{grid-template-columns:repeat(2,minmax(0,1fr))}.desktopFilters label:first-child{grid-column:1/-1}.desktopFilters button{grid-column:1/-1}.desktopBrand img{width:195px}.desktopLocation{flex-wrap:wrap}.desktopCardMeta{font-size:13px}.desktopTabs{max-width:none}}

/* 3.0.14: breites Original-Logo wie in der freigegebenen Vorschau. */
.desktopBrandbar{display:none}.desktopBrand img{width:100%;max-width:236px;height:auto;object-fit:contain}
@media(max-width:850px){
 .desktopBrandbar{display:flex;align-items:center;justify-content:center;background:#fff;margin:0 -16px;padding:18px 22px;border-bottom:1px solid #e3eaf2}
 .desktopBrandbar .desktopMobileLogo{display:block;width:100%;max-width:520px;height:auto;object-fit:contain}
 .desktopTopbar{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:14px;margin-bottom:22px;padding:14px 16px 16px}
 #desktopMenuToggle{grid-column:1;grid-row:1;min-height:42px;padding:6px 10px}
 .desktopTopbar #desktopConnection{grid-column:2;grid-row:1;margin:0;justify-self:end;font-size:13px}
 .desktopUser{grid-column:1/-1;grid-row:2;justify-self:start;border:0;padding:6px 0;font-size:14px;white-space:normal}
 .desktopUser strong{max-width:none;white-space:normal;text-align:left}
 .desktopGlobalSearch{grid-column:1/-1;grid-row:3;width:100%;margin-left:0;max-width:none}
 #desktopUserMenu{top:106px;right:16px;max-width:calc(100% - 32px)}
}

@media print{.desktopBrandbar{display:none!important}}

.kind-heizung{background:#fde8d0;color:#8a4a00}.desktopOfferTick{display:flex;align-items:center;gap:6px;margin-top:8px;padding:7px 10px;border:2px solid #e0a030;border-radius:6px;background:#fff4d6;font-weight:700;cursor:pointer}.desktopOfferTick input{width:auto}
