:root{--green:#1f8f4e;--green-dark:#146638;--green-soft:#eaf7ef;--ink:#17211b;--muted:#67736b;--line:#dce6df;--bg:#f4f7f5;--white:#fff;--shadow:0 12px 35px rgba(20,70,40,.08)}*{box-sizing:border-box}body{margin:0;font-family:Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--ink)}a{color:var(--green-dark)}.layout{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.sidebar{background:#112b1d;color:#fff;padding:24px;display:flex;flex-direction:column;gap:24px}.brand{display:flex;align-items:center;gap:12px}.brand-mark{display:grid;place-items:center;width:45px;height:45px;border-radius:13px;background:var(--green);font-weight:900}.brand div{display:grid}.brand small{opacity:.7}.sidebar nav{display:grid;gap:6px}.sidebar nav a{color:#dcebe2;text-decoration:none;padding:11px 13px;border-radius:10px}.sidebar nav a:hover{background:rgba(255,255,255,.08)}.sidebar-foot{margin-top:auto;display:grid;gap:4px;font-size:13px}.sidebar-foot a{color:#fff;margin-top:8px}.content{padding:32px;min-width:0}.page-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:24px}.page-head h1{font-size:34px;margin:4px 0}.page-head p{margin:0;color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:800;color:var(--green)}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:var(--shadow);overflow:auto}.panel h2{margin-top:0}.panel-head,.actionbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.actionbar form{margin:0}.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:15px;margin-bottom:22px}.stats article{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;display:grid;gap:8px}.stats span{color:var(--muted);font-size:13px}.stats strong{font-size:26px}.stats .smaller{font-size:18px}.two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label{display:grid;gap:6px;font-size:13px;font-weight:700}.form-grid .full{grid-column:1/-1}.compact{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}input,select,textarea{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font:inherit}textarea{min-height:100px;resize:vertical}.button{border:0;border-radius:10px;padding:11px 16px;background:var(--green);color:#fff;text-decoration:none;font-weight:800;cursor:pointer;width:max-content}.button.secondary{background:var(--green-soft);color:var(--green-dark)}.button.dark{background:#263c30}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:12px;border-bottom:1px solid var(--line);white-space:nowrap}th{font-size:12px;text-transform:uppercase;color:var(--muted)}.badge{display:inline-block;background:var(--green-soft);color:var(--green-dark);padding:5px 9px;border-radius:999px;font-size:12px}.badge.big{font-size:14px;padding:9px 13px}.cards,.timeline{display:grid;gap:10px}.card-link,.timeline a{display:grid;gap:5px;padding:14px;border:1px solid var(--line);border-radius:12px;text-decoration:none;color:inherit;background:#fff}.timeline a{border-left:4px solid var(--green)}.timeline span,.timeline small,.card-link small{color:var(--muted)}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.project-card{display:grid;gap:8px;padding:18px;border:1px solid var(--line);border-radius:16px;text-decoration:none;color:inherit;background:#fff}.project-card:hover{border-color:var(--green);transform:translateY(-1px)}.project-card strong{font-size:18px}.project-card small,.project-card>span:last-child{color:var(--muted)}.flash{padding:12px 15px;border-radius:10px;margin-bottom:16px;background:var(--green-soft);color:var(--green-dark)}.flash.danger{background:#ffecec;color:#9b1c1c}.report-sections{display:grid;gap:16px;margin-bottom:20px}.report-sections article{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}.report-sections article.new{border:2px solid var(--green)}.report-sections span{display:block;font-weight:800;color:var(--green-dark);margin-bottom:12px}.report-sections pre{white-space:pre-wrap;font:inherit;line-height:1.55;margin:0}dl{display:grid;grid-template-columns:120px 1fr;gap:8px}dt{font-weight:800}dd{margin:0;color:var(--muted)}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#eff9f2,#dff1e6)}.login-card{width:min(440px,100%);background:#fff;padding:32px;border-radius:22px;box-shadow:var(--shadow);display:grid;gap:16px}.login-card label{display:grid;gap:7px;font-weight:700}.pricing{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.pricing article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}.price{font-size:35px;font-weight:900;color:var(--green-dark)}@media(max-width:1050px){.stats,.project-grid{grid-template-columns:1fr 1fr}.two,.pricing{grid-template-columns:1fr}}@media(max-width:760px){.layout{grid-template-columns:1fr}.content{padding:18px}.form-grid,.stats,.project-grid{grid-template-columns:1fr}.page-head{align-items:flex-start;gap:16px;flex-direction:column}.sidebar nav{grid-template-columns:1fr 1fr}}


/* Digi Arbeitsberichte 3.0 – Berichte, Signaturen und Auswertungen */
.subpanel{border:1px solid var(--line);border-radius:16px;padding:18px;background:#f9fbfa}.subpanel h2,.signature-card h2{margin:3px 0 6px}.muted{color:var(--muted)}.repeat-list{display:grid;gap:10px;margin-top:14px}.repeat-row{display:grid;grid-template-columns:minmax(220px,1fr) 150px 44px;gap:10px;align-items:center}.photo-row{display:grid;grid-template-columns:minmax(220px,1.2fr) 160px minmax(220px,1fr) 44px;gap:10px;align-items:center}.icon-button{width:42px;height:42px;border:0;border-radius:10px;background:#ffecec;color:#9b1c1c;font-size:22px;cursor:pointer}.signature-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.signature-card{border:1px solid var(--line);border-radius:16px;padding:18px;background:#fff}.signature-card p{color:var(--muted);margin-top:0}.signature-pad{display:block;width:100%;height:190px;border:2px dashed #aac8b5;border-radius:12px;background:#fff;touch-action:none;margin:12px 0}.submit-button{justify-self:start;font-size:16px;padding:14px 20px}.photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.photo-gallery figure{margin:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}.photo-gallery img{display:block;width:100%;height:230px;object-fit:cover}.photo-gallery figcaption{display:grid;gap:3px;padding:12px}.photo-gallery figcaption span{font-size:13px;color:var(--muted)}.signature-display-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.signature-display-grid article{border:1px solid var(--line);border-radius:14px;padding:16px;display:grid;gap:8px}.signature-display-grid article>span{font-size:12px;text-transform:uppercase;color:var(--muted);font-weight:800}.signature-display-grid img{width:100%;max-width:360px;height:120px;object-fit:contain;background:#fff;border-bottom:1px solid var(--line)}.gps-line{margin-top:18px}.dashboard-stats{grid-template-columns:repeat(5,1fr)}.utilization-list,.consumption-list{display:grid;gap:14px}.utilization-list article{display:grid;gap:7px}.utilization-list article>div:first-child,.consumption-list article{display:flex;justify-content:space-between;gap:12px}.utilization-list span,.consumption-list span{color:var(--muted)}.progress{height:9px;background:#e6eee9;border-radius:999px;overflow:hidden}.progress span{display:block;height:100%;background:var(--green);border-radius:999px}.report-meta{grid-template-columns:repeat(5,1fr)}
@media(max-width:1000px){.photo-row{grid-template-columns:1fr 1fr}.photo-row .icon-button{grid-column:2}.signature-grid,.signature-display-grid{grid-template-columns:1fr}.photo-gallery{grid-template-columns:1fr 1fr}.dashboard-stats,.report-meta{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.repeat-row,.photo-row{grid-template-columns:1fr}.photo-row .icon-button{grid-column:auto}.photo-gallery{grid-template-columns:1fr}.signature-pad{height:170px}.dashboard-stats,.report-meta{grid-template-columns:1fr}.button{min-height:44px}.panel{padding:16px}table{min-width:720px}}

.sidebar-version{margin-top:auto;padding:16px;font-size:.78rem;opacity:.7}.report-number-banner{padding:14px 18px;margin-bottom:16px;border-radius:12px;background:#eaf5ee;color:#185b35}.company-logo-preview img{max-height:110px;max-width:280px}.status-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:12px 0 22px}.status-summary div{padding:14px;border:1px solid #dfe8e1;border-radius:12px}.status-summary span,.status-summary strong{display:block}.status-summary strong{font-size:1.8rem}.auth-card.wide{max-width:760px}.inline-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.sidebar{display:flex;flex-direction:column}.checkbox{display:flex;gap:8px;align-items:center}

/* 3.5.2 UI-Korrekturen */
.system-info-grid{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:14px;margin-bottom:22px}.system-info-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:6px 12px}.system-info-card span{color:var(--muted);font-size:13px}.system-info-card strong{font-size:22px;overflow-wrap:anywhere}.system-info-card small{grid-column:2;color:var(--muted);white-space:normal}.migration-line{margin:18px 0 0}.company-active{display:flex!important;align-items:center!important;align-self:end;min-height:44px;padding:0 4px}.company-active input{width:18px;height:18px;margin:0}.company-active span{line-height:1.2}.inline-edit{display:grid;grid-template-columns:repeat(2,minmax(160px,1fr));gap:8px;padding:12px 0;min-width:520px}.inline-edit textarea{min-height:44px}.link-danger{border:0;background:transparent;color:#a51d1d;text-decoration:underline;cursor:pointer;padding:6px 0}.billing-toggle{display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid var(--line);border-radius:12px;padding:4px;margin-bottom:14px}.billing-option{border:0;background:transparent;padding:12px;border-radius:9px;font-weight:800;cursor:pointer}.billing-option.active{background:var(--green);color:#fff}.billing-option span{display:inline-block;margin-left:6px;padding:2px 7px;border-radius:999px;background:var(--green-soft);color:var(--green-dark)}.billing-option.active span{background:#fff}.billing-notice{padding:14px 16px;border:1px solid var(--line);border-radius:12px;margin-bottom:16px;background:#fff}.yearly-notice,.yearly-price{display:none}body[data-billing-cycle="yearly"] .monthly-notice,body[data-billing-cycle="yearly"] .monthly-price{display:none}body[data-billing-cycle="yearly"] .yearly-notice,body[data-billing-cycle="yearly"] .yearly-price{display:block}.old-price{text-decoration:line-through;color:var(--muted);font-size:18px}.action-price{font-size:35px;font-weight:900;color:#c62828}.pricing article.chosen{border:2px solid var(--green)}.pricing ul{padding-left:0;list-style:none;display:grid;gap:8px;min-height:130px}
@media(max-width:1050px){.system-info-grid{grid-template-columns:1fr 1fr}}@media(max-width:760px){.system-info-grid{grid-template-columns:1fr}.inline-edit{grid-template-columns:1fr;min-width:280px}}

/* Projekt-Cockpit und Customizing */
.resource-summary { display:flex; flex-wrap:wrap; gap:.5rem; margin:0 0 1rem; }
.detail-table { margin-top:.75rem; min-width:560px; }
tfoot th { border-top:2px solid #dfe7e2; }
textarea { min-height:110px; }
.panel details summary { cursor:pointer; font-weight:700; color:#246b43; }
.danger-button { border:0; background:#b42318; color:#fff; margin-top:1rem; }
.danger-button:hover { background:#8f1c14; }
.employee-head-actions { display:flex; gap:.65rem; flex-wrap:wrap; margin-top:1rem; }
.employee-data-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
.employee-data-item { padding:.8rem; border-radius:.65rem; background:#f7faf8; }
.employee-data-item span,.employee-data-item strong { display:block; }
.employee-data-item span { color:#6a796f; font-size:.82rem; margin-bottom:.25rem; }
@media (max-width:700px){.employee-data-grid{grid-template-columns:1fr}.detail-table{min-width:0}}

/* 3.5.4 – Detailaktionen, Projektvorlagen und Berichtserweiterungen */
.detail-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.back-button{margin-left:auto}.uniform-action-button{min-height:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;padding-top:0;padding-bottom:0}.employee-head-actions form{margin:0}.employee-head-actions form .uniform-action-button{margin-top:0}.section-subtitle{font-size:1rem;color:var(--muted);margin:.5rem 0 1rem}.additional-heading{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--line)}.additional-marker,.additional-report-note span{color:#c62828!important}.additional-report-note{border:2px solid #c62828!important;background:#fff7f7!important}.template-list{display:grid;gap:10px;margin-top:18px}.template-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:12px}.template-list article div{display:grid;gap:3px}.template-list small{color:var(--muted)}.button.compact{min-height:38px;height:38px;margin:0;padding:0 12px}@media(max-width:760px){.detail-page-head{align-items:stretch}.back-button{margin-left:0;width:100%}.template-list article{align-items:flex-start;flex-direction:column}}


/* 3.5.5 – Arbeitsleistungs-Auswahl */
.work-service-list { display: grid; gap: .75rem; }
.work-service-row { display: grid; grid-template-columns: 42px minmax(220px, 1.2fr) minmax(220px, 1fr) 42px; gap: .65rem; align-items: center; }
.work-service-check { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 0; }
.work-service-check input { width: 20px; height: 20px; accent-color: var(--green, #18864b); }
.work-service-row input[type="text"] { width: 100%; }
@media (max-width: 760px) {
  .work-service-row { grid-template-columns: 42px 1fr 42px; }
  .work-service-row .work-service-info { grid-column: 2 / 4; }
}
.locked-service-text{display:flex;align-items:center;min-height:44px;padding:.65rem .8rem;border:1px solid #dfe6df;border-radius:8px;background:#f5f7f5;font-weight:700}.service-list{display:grid;gap:.6rem;margin:1rem 0}.service-item{display:flex;gap:.7rem;align-items:center;padding:.7rem;border:1px solid #e3e8e3;border-radius:8px}.template-cockpit{border-left:5px solid var(--green,#2f7d4a)}.inline-manage{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #eee}.additional-marker{display:block;color:#c62828;font-size:.75rem;font-weight:700;margin-top:.2rem}.work-service-row{grid-template-columns:auto minmax(220px,1fr) minmax(220px,1fr) auto}.locked-service.work-service-row{grid-template-columns:auto auto minmax(220px,1fr)}

/* 3.6.1 – Zeitbuchungen und Abwesenheiten */
.time-action-grid{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:14px;margin-bottom:18px}.time-action-grid form{margin:0}.time-action{width:100%;min-height:92px;border:0;border-radius:16px;color:#fff;font-weight:900;font-size:1.05rem;display:grid;place-items:center;align-content:center;gap:5px;cursor:pointer;box-shadow:var(--shadow)}.time-action span{font-size:.76rem;font-weight:600;opacity:.9}.time-action.start{background:#218838}.time-action.end{background:#c62828}.time-action.sick{background:#ef7d00}.time-action.vacation{background:#d5ab00;color:#2f2700}.time-action:disabled{opacity:.45;cursor:not-allowed}.active-time-note{padding:12px 15px;border-radius:12px;background:#eaf7ef;color:#146638;font-weight:800}.modal[hidden]{display:none}.modal{position:fixed;inset:0;background:rgba(10,25,16,.58);z-index:1000;display:grid;place-items:center;padding:20px}.modal-card{width:min(650px,100%);background:#fff;border-radius:18px;padding:22px;box-shadow:0 20px 70px rgba(0,0,0,.25)}.modal-close{border:0;background:transparent;font-size:2rem;line-height:1;cursor:pointer}.time-sections{margin-top:20px}.absence-list{display:grid;gap:12px}.absence-list article{border:1px solid var(--line);border-radius:12px;padding:14px;display:grid;gap:12px}.absence-list article>div{display:grid;gap:5px}.status-pill{width:max-content;border-radius:999px;padding:4px 9px;font-size:.75rem;font-weight:800;background:#eef2ef}.status-genehmigt{background:#e7f6eb;color:#146638}.status-abgelehnt{background:#ffe8e8;color:#a51d1d}.decision-form{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center}.button.approve{background:#218838}.button.reject{background:#c62828}@media(max-width:1050px){.time-action-grid{grid-template-columns:1fr 1fr}}@media(max-width:760px){.time-action-grid{grid-template-columns:1fr}.decision-form{grid-template-columns:1fr}.decision-form .button{width:100%}}


/* 3.6.2 Projekt-Cockpit und Berichtsmaterialien */
.resource-section{padding:1rem 0;border-top:1px solid #e5ebe7}.resource-section:first-of-type{border-top:0}.resource-add-form{margin-top:1rem}.service-item{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.additional-marker{display:block;color:#c62828;font-size:.72rem;font-weight:700;margin-left:.35rem}.locked-service-text,.locked-material-name{font-weight:700}.locked-service-text .additional-marker,.locked-material-name .additional-marker{margin-left:0}.project-material-list{display:grid;gap:.65rem}.project-material-row{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(110px,.5fr) minmax(130px,.6fr) minmax(190px,.8fr);gap:.7rem;align-items:center;padding:.75rem;border:1px solid #e1e8e3;border-radius:10px}.not-needed-check{display:flex;align-items:center;gap:.45rem;margin:0}.not-needed-check input{width:auto}.danger-text{color:#c62828;font-weight:700}.not-needed-row{opacity:.8}@media(max-width:850px){.project-material-row{grid-template-columns:1fr}.resource-add-form{grid-template-columns:1fr}}

/* 3.6.3 – getrennte Ressourcenbereiche und Berichtspositionen */
.resource-main-title,.resource-add-title{font-size:1.25rem;font-weight:900;color:var(--ink);margin:1rem 0 .8rem}.resource-add-title{padding-top:.9rem;border-top:1px dashed var(--line)}.catalog-only-note{margin:0;font-size:.82rem}.report-item-section{display:grid;gap:.75rem}.report-item-row{display:grid;grid-template-columns:42px minmax(190px,1.3fr) minmax(100px,.45fr) minmax(120px,.55fr) minmax(210px,1fr) minmax(155px,.65fr) 42px;gap:.6rem;align-items:center;padding:.7rem;border:1px solid var(--line);border-radius:10px}.report-item-row.simple{grid-template-columns:42px minmax(220px,1fr) minmax(220px,1fr) minmax(155px,.65fr) 42px}.report-item-row .locked-value{min-height:44px;display:flex;align-items:center;padding:.65rem .8rem;background:#f5f7f5;border:1px solid var(--line);border-radius:8px;font-weight:700}.strike-check{display:flex;align-items:center;gap:.35rem;font-size:.78rem;font-weight:700}.strike-check input,.confirm-check input{width:20px;height:20px}.report-item-row.is-struck .locked-value,.report-item-row.is-struck input[type=text],.report-item-row.is-struck input[type=number],.report-item-row.is-struck select{text-decoration:line-through;opacity:.65}.report-section-title{font-size:1.25rem;font-weight:900;margin:0}.report-item-head{display:grid;grid-template-columns:42px minmax(190px,1.3fr) minmax(100px,.45fr) minmax(120px,.55fr) minmax(210px,1fr) minmax(155px,.65fr) 42px;gap:.6rem;color:var(--muted);font-size:.75rem;font-weight:800;text-transform:uppercase;padding:0 .7rem}.report-item-head.simple{grid-template-columns:42px minmax(220px,1fr) minmax(220px,1fr) minmax(155px,.65fr) 42px}@media(max-width:1050px){.report-item-row,.report-item-row.simple,.report-item-head,.report-item-head.simple{grid-template-columns:42px 1fr}.report-item-head{display:none}.report-item-row>*:not(.confirm-check){grid-column:2}.report-item-row .icon-button{grid-column:1/-1}}

.preparation-note{display:block;font-size:.78rem;line-height:1.25;margin-top:.2rem;font-weight:400;}


/* 3.6.9 – Checkbox-Ausrichtung und Systemadmin-Customizing */
.checkbox-row{display:flex!important;flex-direction:row!important;align-items:center!important;gap:.65rem;min-height:44px;line-height:1.35;margin:0;}
.checkbox-row input[type="checkbox"]{flex:0 0 auto;width:20px!important;height:20px!important;margin:0!important;align-self:center;}
.project-delete-confirmation .checkbox-row,.delete-confirmation .checkbox-row{align-items:center!important;}
.company-customizing-selector select{min-height:46px;}
.company-customizing-selector input[type="search"]{min-height:46px;}

/* DigiMobil Login – Patch 10.0.4 */
.digimobil-login-page{min-height:100vh;padding:32px;display:grid;place-items:center;background:radial-gradient(circle at top left,rgba(31,143,78,.2),transparent 35%),linear-gradient(135deg,#eef8f1 0%,#f8fbf9 52%,#e0f1e6 100%)}
.digimobil-login-shell{width:min(1120px,100%);display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);overflow:hidden;border:1px solid rgba(31,143,78,.16);border-radius:28px;background:#fff;box-shadow:0 28px 70px rgba(17,43,29,.16)}
.digimobil-marketing-panel{position:relative;padding:54px;display:flex;flex-direction:column;justify-content:center;gap:34px;color:#fff;background:linear-gradient(145deg,#102b1c 0%,#174c2c 56%,#1f8f4e 100%)}
.digimobil-marketing-panel:after{content:"";position:absolute;right:-90px;bottom:-120px;width:320px;height:320px;border:52px solid rgba(255,255,255,.06);border-radius:50%;pointer-events:none}
.digimobil-brand{position:relative;z-index:1;display:flex;align-items:center;gap:14px}.digimobil-brand-mark{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:#fff;color:#176a3b;font-size:18px;font-weight:900;box-shadow:0 10px 28px rgba(0,0,0,.18)}.digimobil-brand div{display:grid;gap:2px}.digimobil-brand strong{font-size:23px}.digimobil-brand small{color:rgba(255,255,255,.72)}
.digimobil-hero-copy{position:relative;z-index:1}.digimobil-kicker{display:block;margin-bottom:10px;color:#79e4a5;font-size:12px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.digimobil-hero-copy h1{max-width:680px;margin:0 0 18px;font-size:clamp(34px,4vw,54px);line-height:1.06}.digimobil-hero-copy p{max-width:650px;margin:0;color:rgba(255,255,255,.78);font-size:18px;line-height:1.65}
.digimobil-benefits{position:relative;z-index:1;display:grid;gap:13px;margin:0;padding:0;list-style:none}.digimobil-benefits li{display:flex;gap:11px;align-items:flex-start;color:rgba(255,255,255,.92);line-height:1.4}.digimobil-benefits li span{flex:0 0 auto;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:rgba(121,228,165,.17);color:#8bf0b2;font-weight:900}
.digimobil-trust-note{position:relative;z-index:1;display:grid;gap:5px;padding-top:20px;border-top:1px solid rgba(255,255,255,.16)}.digimobil-trust-note span{color:rgba(255,255,255,.65)}
.digimobil-access-panel{padding:48px;display:flex;flex-direction:column;justify-content:center;gap:22px;background:#fff}.digimobil-login-card{display:grid;gap:18px}.digimobil-login-card h2{margin:2px 0 7px;font-size:34px}.digimobil-login-card p{margin:0;color:var(--muted);line-height:1.5}.digimobil-login-card label{display:grid;gap:7px;font-size:13px;font-weight:800}.digimobil-login-card input{padding:13px 14px}.digimobil-login-button{width:100%;padding:13px 18px;font-size:15px}.digimobil-demo-note{color:var(--muted);line-height:1.45}
.digimobil-register-box{display:grid;grid-template-columns:auto 1fr;gap:15px;padding:20px;border:1px solid #cfe5d6;border-radius:17px;background:#f1faf4}.digimobil-register-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:#d9f1e1;color:var(--green-dark);font-size:25px;font-weight:700}.digimobil-register-box strong{font-size:17px}.digimobil-register-box p{margin:6px 0 14px;color:var(--muted);font-size:14px;line-height:1.48}.digimobil-register-box .button{display:inline-block;font-size:13px}.digimobil-login-version{text-align:center;color:#89958d;font-size:12px}
@media(max-width:900px){.digimobil-login-page{padding:18px}.digimobil-login-shell{grid-template-columns:1fr}.digimobil-marketing-panel{padding:38px}.digimobil-access-panel{padding:38px}.digimobil-hero-copy h1{font-size:38px}}
@media(max-width:520px){.digimobil-login-page{padding:0;place-items:stretch}.digimobil-login-shell{border:0;border-radius:0}.digimobil-marketing-panel,.digimobil-access-panel{padding:28px 22px}.digimobil-marketing-panel{gap:25px}.digimobil-hero-copy h1{font-size:32px}.digimobil-hero-copy p{font-size:16px}.digimobil-register-box{grid-template-columns:1fr}.digimobil-register-icon{display:none}}

/* 10.0.4 – DigiMobil Login und Markenauftritt */
.digimobil-login-page{min-height:100vh;padding:clamp(18px,4vw,54px);display:grid;place-items:center;background:radial-gradient(circle at 12% 10%,rgba(49,179,100,.2),transparent 32%),linear-gradient(135deg,#0d281b 0%,#173e29 48%,#edf8f1 48%,#f7fbf8 100%)}
.digimobil-login-shell{width:min(1180px,100%);display:grid;grid-template-columns:minmax(340px,.82fr) minmax(480px,1.18fr);background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 30px 90px rgba(7,35,20,.26)}
.digimobil-login-panel{padding:clamp(30px,5vw,58px);display:flex;flex-direction:column;justify-content:center;min-height:720px}
.digimobil-login-brand{margin-bottom:54px}.digimobil-login-brand .brand-mark{width:56px;height:56px;border-radius:17px;font-size:1.08rem}.digimobil-login-brand strong{font-size:1.35rem}.digimobil-login-brand small{color:var(--muted);opacity:1}
.digimobil-login-copy h1{font-size:clamp(2.25rem,5vw,3.6rem);line-height:1;margin:.35rem 0 1rem}.digimobil-login-copy p{color:var(--muted);line-height:1.6;margin:0 0 24px;max-width:480px}
.digimobil-login-form{display:grid;gap:16px}.digimobil-login-form label{display:grid;gap:7px;font-weight:800;font-size:.88rem}.digimobil-login-form input{min-height:50px}.digimobil-login-button{width:100%;min-height:52px;margin-top:4px;font-size:1rem}.digimobil-demo-note{display:block;margin-top:16px;color:var(--muted);line-height:1.45}.digimobil-version{margin-top:auto;padding-top:35px;color:var(--muted);font-size:.78rem}
.digimobil-marketing-panel{position:relative;padding:clamp(34px,5vw,64px);display:flex;flex-direction:column;justify-content:center;background:linear-gradient(155deg,#153c28,#0d281b);color:#fff;overflow:hidden}.digimobil-marketing-panel:after{content:"DM";position:absolute;right:-35px;bottom:-80px;font-size:19rem;line-height:1;font-weight:900;color:rgba(255,255,255,.035);pointer-events:none}.digimobil-marketing-copy,.digimobil-benefits,.digimobil-register-card{position:relative;z-index:1}.digimobil-marketing-panel .eyebrow{color:#74dc99}.digimobil-marketing-copy h2{font-size:clamp(2rem,4vw,3.4rem);line-height:1.08;margin:.5rem 0 1.2rem;max-width:720px}.digimobil-marketing-copy p{max-width:680px;color:#c8ddd0;line-height:1.65;margin:0}
.digimobil-benefits{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:30px 0}.digimobil-benefits article{display:grid;grid-template-columns:40px 1fr;gap:12px;padding:16px;border:1px solid rgba(255,255,255,.13);border-radius:15px;background:rgba(255,255,255,.055)}.digimobil-benefits article>span{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#2da75d;color:#fff;font-size:.74rem;font-weight:900}.digimobil-benefits article div{display:grid;gap:5px}.digimobil-benefits strong{font-size:.98rem}.digimobil-benefits small{color:#bcd2c4;line-height:1.45}
.digimobil-register-card{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:22px;border-radius:18px;background:#fff;color:var(--ink);box-shadow:0 14px 45px rgba(0,0,0,.16)}.digimobil-register-card h3{font-size:1.25rem;margin:.25rem 0 .45rem}.digimobil-register-card p{margin:0;color:var(--muted);line-height:1.45}.digimobil-register-label{color:var(--green);font-size:.74rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.digimobil-register-button{flex:0 0 auto;white-space:nowrap}
@media(max-width:950px){.digimobil-login-page{background:linear-gradient(145deg,#0d281b,#edf8f1)}.digimobil-login-shell{grid-template-columns:1fr}.digimobil-login-panel{min-height:auto}.digimobil-login-brand{margin-bottom:34px}.digimobil-version{margin-top:22px;padding-top:0}.digimobil-marketing-panel{min-height:auto}.digimobil-benefits{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.digimobil-login-page{padding:0;display:block;background:#fff}.digimobil-login-shell{border-radius:0;box-shadow:none}.digimobil-login-panel,.digimobil-marketing-panel{padding:30px 22px}.digimobil-benefits{grid-template-columns:1fr}.digimobil-register-card{align-items:stretch;flex-direction:column}.digimobil-register-button{width:100%;text-align:center}.digimobil-marketing-copy h2{font-size:2rem}}

/* 10.0.5 – DigiMobil Registrierungsseite und Paketdarstellung */
.digimobil-register-page{min-height:100vh;padding:clamp(18px,4vw,52px);display:grid;place-items:center;background:radial-gradient(circle at 86% 12%,rgba(49,179,100,.18),transparent 30%),linear-gradient(135deg,#edf8f1 0%,#f8fbf9 50%,#0d281b 50%,#173e29 100%)}
.digimobil-register-shell{width:min(1240px,100%);display:grid;grid-template-columns:minmax(430px,.88fr) minmax(540px,1.12fr);overflow:hidden;border-radius:28px;background:#fff;box-shadow:0 30px 90px rgba(7,35,20,.25)}
.digimobil-register-form-panel{padding:clamp(34px,5vw,64px);display:flex;flex-direction:column;justify-content:center;min-width:0;background:#fff}
.digimobil-register-back{width:max-content;margin-bottom:26px;color:var(--muted);font-size:.86rem;font-weight:800;text-decoration:none}.digimobil-register-back:hover{color:var(--green)}
.digimobil-register-brand{margin-bottom:34px}.digimobil-register-brand .brand-mark{width:54px;height:54px;border-radius:16px}.digimobil-register-brand strong{font-size:1.3rem}.digimobil-register-brand small{color:var(--muted);opacity:1}
.digimobil-register-heading h1{margin:.45rem 0 1rem;font-size:clamp(2.15rem,4vw,3.3rem);line-height:1.05}.digimobil-register-heading p{max-width:620px;margin:0 0 26px;color:var(--muted);line-height:1.6}
.digimobil-register-form{gap:15px}.digimobil-register-form label{font-size:.82rem}.digimobil-register-form input{min-height:48px}.digimobil-register-submit{width:100%;min-height:52px;margin-top:4px;font-size:1rem}
.digimobil-register-login-note{margin:20px 0 0;color:var(--muted);font-size:.9rem}.digimobil-register-login-note a{font-weight:900}.digimobil-register-form-panel .digimobil-version{margin-top:28px;padding-top:0}
.digimobil-register-packages-panel{position:relative;padding:clamp(36px,5vw,62px);display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:#fff;background:linear-gradient(155deg,#153c28,#0d281b)}.digimobil-register-packages-panel:after{content:"DM";position:absolute;right:-50px;bottom:-95px;font-size:20rem;line-height:1;font-weight:900;color:rgba(255,255,255,.035);pointer-events:none}.digimobil-register-packages-copy,.digimobil-package-list,.digimobil-package-note{position:relative;z-index:1}.digimobil-register-packages-panel .eyebrow{color:#74dc99}.digimobil-register-packages-copy h2{margin:.5rem 0 1rem;font-size:clamp(2rem,4vw,3.25rem);line-height:1.08}.digimobil-register-packages-copy p{max-width:680px;margin:0;color:#c8ddd0;line-height:1.6}
.digimobil-package-list{display:grid;gap:14px;margin:28px 0 22px}.digimobil-package-card{padding:19px 20px;border:1px solid rgba(255,255,255,.14);border-radius:17px;background:rgba(255,255,255,.06);backdrop-filter:blur(6px)}.digimobil-package-card.featured{border-color:#69d991;background:rgba(45,167,93,.18);box-shadow:0 10px 34px rgba(0,0,0,.16)}.digimobil-package-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.digimobil-package-top>div{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:3px 12px}.digimobil-package-top>div>span{grid-column:1/-1;color:#8be8ad;font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.09em}.digimobil-package-top strong{font-size:1.75rem}.digimobil-package-top small{color:#bdd3c5}.digimobil-package-badge{padding:6px 9px;border-radius:999px;background:#fff;color:#176a3b;font-size:.7rem;font-weight:900;white-space:nowrap}.digimobil-package-card ul{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;margin:16px 0 0;padding:15px 0 0;border-top:1px solid rgba(255,255,255,.12);list-style:none}.digimobil-package-card li{position:relative;padding-left:19px;color:#d8e9de;font-size:.86rem}.digimobil-package-card li:before{content:"✓";position:absolute;left:0;color:#7ce4a3;font-weight:900}
.digimobil-package-note{display:grid;gap:5px;padding:16px 18px;border-radius:14px;background:#fff;color:var(--ink)}.digimobil-package-note span{color:var(--muted);font-size:.84rem;line-height:1.45}
@media(max-width:980px){.digimobil-register-page{padding:18px;background:linear-gradient(145deg,#edf8f1,#0d281b)}.digimobil-register-shell{grid-template-columns:1fr}.digimobil-register-form-panel,.digimobil-register-packages-panel{padding:38px}.digimobil-register-form-panel{padding-left:clamp(38px,9vw,86px);padding-right:clamp(38px,9vw,86px)}}
@media(max-width:620px){.digimobil-register-page{display:block;padding:0;background:#fff}.digimobil-register-shell{border-radius:0;box-shadow:none}.digimobil-register-form-panel,.digimobil-register-packages-panel{padding:30px 22px}.digimobil-register-form{grid-template-columns:1fr}.digimobil-register-form .full{grid-column:auto}.digimobil-package-card ul{grid-template-columns:1fr}.digimobil-package-top{align-items:stretch;flex-direction:column}.digimobil-package-badge{width:max-content}}

/* 10.0.6 – Einheitliche Benutzerstaffelung und Leistungsübersicht */
.digimobil-pricing-showcase{position:relative;z-index:1;display:grid;gap:24px}.digimobil-pricing-intro h2{margin:.45rem 0 .8rem;font-size:clamp(2rem,4vw,3.1rem);line-height:1.08}.digimobil-pricing-intro p{max-width:680px;margin:0;color:#c8ddd0;line-height:1.58}.digimobil-register-packages-panel .digimobil-pricing-showcase>.digimobil-pricing-intro .eyebrow,.digimobil-pricing-page-panel .eyebrow{color:#74dc99}
.digimobil-tier-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.digimobil-tier-card{display:grid;grid-template-columns:44px 1fr;align-items:center;gap:13px;min-height:88px;padding:16px 17px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(255,255,255,.065);box-shadow:0 10px 28px rgba(0,0,0,.08);transition:transform .18s ease,border-color .18s ease,background .18s ease}.digimobil-tier-card:hover{transform:translateY(-2px);border-color:rgba(116,220,153,.62);background:rgba(45,167,93,.16)}.digimobil-tier-card-wide{grid-column:1/-1}.digimobil-tier-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#2da75d;font-size:1.05rem}.digimobil-tier-card div{display:grid;gap:5px}.digimobil-tier-card strong{font-size:.98rem}.digimobil-tier-card div span{color:#bcd2c4;font-size:.88rem;font-weight:700}
.digimobil-features-card{padding:20px;border-radius:18px;background:#fff;color:var(--ink);box-shadow:0 14px 40px rgba(0,0,0,.15)}.digimobil-features-heading{margin-bottom:16px}.digimobil-features-kicker{color:var(--green);font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.digimobil-features-heading h3{margin:.35rem 0 0;font-size:1.3rem}.digimobil-feature-list{display:grid;grid-template-columns:1fr 1fr;gap:9px 18px;margin:0;padding:0;list-style:none}.digimobil-feature-list li{position:relative;padding-left:22px;color:#44534a;font-size:.84rem;line-height:1.4}.digimobil-feature-list li:before{content:"✓";position:absolute;left:0;top:0;color:var(--green);font-weight:900}
.digimobil-pricing-page-head{margin-bottom:22px}.digimobil-pricing-page-panel{position:relative;overflow:hidden;padding:clamp(28px,5vw,54px);border-radius:24px;color:#fff;background:linear-gradient(155deg,#153c28,#0d281b);box-shadow:0 24px 65px rgba(7,35,20,.2)}.digimobil-pricing-page-panel:after{content:"DM";position:absolute;right:-45px;bottom:-90px;font-size:20rem;line-height:1;font-weight:900;color:rgba(255,255,255,.035);pointer-events:none}.digimobil-pricing-page-panel .digimobil-tier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:720px){.digimobil-tier-grid,.digimobil-pricing-page-panel .digimobil-tier-grid,.digimobil-feature-list{grid-template-columns:1fr}.digimobil-tier-card-wide{grid-column:auto}.digimobil-pricing-page-panel{padding:28px 20px;border-radius:18px}}

/* 10.0.7 – Testphase, Paketstatus und Werkzeugverwaltung */
.subscription-status-top{position:sticky;top:12px;z-index:20;margin-left:auto;margin-bottom:16px;width:max-content;max-width:100%;display:flex;gap:10px;align-items:center;padding:10px 14px;border-radius:999px;background:#e7f8ed;color:#176a3b;border:1px solid #bce5ca;box-shadow:var(--shadow)}.subscription-status-top.expired{background:#fff0f0;color:#9b1c1c;border-color:#f0b8b8}.subscription-status-top span{font-size:.82rem}.digimobil-trial-banner{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:17px 20px;border-radius:16px;background:linear-gradient(100deg,#f7d046,#ffec9a);color:#3f3200;box-shadow:0 13px 30px rgba(0,0,0,.15)}.digimobil-trial-banner strong{font-size:1.25rem}.digimobil-trial-banner span{font-weight:700}.digimobil-tier-card form{grid-column:1/-1;margin:4px 0 0}.digimobil-tier-card form .button{width:100%}.subscription-summary,.subscription-profile-card{margin-top:20px}.danger-button{background:#b42318!important}@media(max-width:700px){.digimobil-trial-banner{align-items:flex-start;flex-direction:column}.subscription-status-top{position:static;margin-left:0}}

/* DigiMobil Preisdesign v2 */
.pricing-v2{display:grid;gap:24px}.pricing-v2-hero{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:24px;align-items:stretch;padding:30px;border-radius:26px;background:linear-gradient(135deg,#102a43,#174f68);color:#fff;box-shadow:0 22px 55px rgba(15,42,67,.2)}.pricing-v2-kicker{display:block;margin-bottom:10px;font-size:.76rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#8ee3d1}.pricing-v2-hero h2{margin:0 0 10px;font-size:clamp(1.9rem,4vw,3.2rem);line-height:1.05;color:#fff}.pricing-v2-hero p{max-width:680px;margin:0;color:rgba(255,255,255,.82);font-size:1.02rem;line-height:1.65}.pricing-v2-trial{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:22px;border:1px solid rgba(255,255,255,.24);border-radius:22px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px)}.pricing-v2-trial-badge{display:inline-flex;margin-bottom:10px;padding:6px 10px;border-radius:999px;background:#fff;color:#123b4c;font-size:.72rem;font-weight:900;letter-spacing:.12em}.pricing-v2-trial strong{font-size:1.25rem}.pricing-v2-trial small{margin-top:6px;color:rgba(255,255,255,.78)}.pricing-v2-grid{display:grid;grid-template-columns:repeat(5,minmax(170px,1fr));gap:14px}.pricing-v2-card{position:relative;display:flex;flex-direction:column;min-height:260px;padding:22px;border:1px solid #d9e5ea;border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(35,74,91,.08);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.pricing-v2-card:hover{transform:translateY(-4px);border-color:#66b8a8;box-shadow:0 18px 38px rgba(35,74,91,.14)}.pricing-v2-card.is-current{border:2px solid #198f78;background:linear-gradient(180deg,#effcf8,#fff)}.pricing-v2-current{align-self:flex-start;margin-bottom:18px;padding:5px 9px;border-radius:999px;background:#e7f8f3;color:#11705f;font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.pricing-v2-users{font-size:1.12rem;font-weight:800;color:#173b4d}.pricing-v2-price{display:flex;flex-direction:column;margin:16px 0}.pricing-v2-price strong{font-size:2rem;line-height:1;color:#0d6f61}.pricing-v2-price span{margin-top:6px;color:#647985;font-size:.82rem}.pricing-v2-card p{flex:1;margin:0 0 18px;color:#667b86;line-height:1.55;font-size:.9rem}.pricing-v2-button{width:100%;justify-content:center}.pricing-v2-contact-card{background:linear-gradient(160deg,#f4f8fb,#eaf5f2)}.pricing-v2-features{display:grid;grid-template-columns:270px 1fr;gap:30px;padding:30px;border-radius:24px;background:#f5f8fa;border:1px solid #dde8ed}.pricing-v2-features-head span{font-size:.74rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#16816e}.pricing-v2-features-head h3{margin:8px 0 10px;font-size:1.8rem;color:#173b4d}.pricing-v2-features-head p{margin:0;color:#6a7d87;line-height:1.6}.pricing-v2-feature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin:0;padding:0;list-style:none}.pricing-v2-feature-list li{position:relative;padding:11px 12px 11px 36px;border-radius:12px;background:#fff;color:#294b5b;box-shadow:0 5px 16px rgba(32,69,84,.05)}.pricing-v2-feature-list li:before{content:'✓';position:absolute;left:13px;top:10px;color:#16816e;font-weight:900}.subscription-status-top strong{display:block}.form-grid label small{display:block;margin-top:5px;color:#71828a;font-size:.76rem;font-weight:500}
@media(max-width:1180px){.pricing-v2-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pricing-v2-contact-card{grid-column:1/-1}}@media(max-width:760px){.pricing-v2-hero,.pricing-v2-features{grid-template-columns:1fr}.pricing-v2-grid,.pricing-v2-feature-list{grid-template-columns:1fr}.pricing-v2-contact-card{grid-column:auto}.pricing-v2-hero{padding:22px}.pricing-v2-trial{align-items:flex-start;text-align:left}.pricing-v2-features{padding:22px}}

/* 10.0.9 – helle Preisansicht, saubere Registrierung und DigiMobil-Dialoge */
.digimobil-pricing-page-panel{padding:0;background:transparent;color:var(--ink);box-shadow:none;overflow:visible}.digimobil-pricing-page-panel:after{display:none}
.pricing-v3{display:grid;gap:24px}.pricing-v3-hero,.pricing-v3-features{background:#fff;border:1px solid #e2ebe5;border-radius:24px;box-shadow:0 18px 50px rgba(18,68,40,.09)}
.pricing-v3-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:30px;padding:clamp(26px,4vw,46px)}.pricing-v3-kicker,.subscription-summary-kicker{display:block;margin-bottom:8px;color:var(--green);font-size:.72rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.pricing-v3-copy h2{margin:0 0 12px;color:var(--ink);font-size:clamp(2rem,4vw,3rem);line-height:1.08}.pricing-v3-copy p{max-width:720px;margin:0;color:var(--muted);line-height:1.65}.pricing-v3-trial{min-width:230px;padding:22px 24px;border-radius:20px;background:linear-gradient(145deg,#eaf8ef,#f7fcf9);border:1px solid #cae9d5;display:grid;gap:3px;text-align:center}.pricing-v3-trial-days{color:var(--green);font-size:1.7rem;font-weight:950}.pricing-v3-trial strong{font-size:1.12rem}.pricing-v3-trial small{color:var(--muted)}
.pricing-v3-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.pricing-v3-card{position:relative;display:flex;flex-direction:column;min-height:285px;padding:24px;border:1px solid #dde9e1;border-radius:20px;background:#fff;box-shadow:0 14px 36px rgba(18,68,40,.07);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.pricing-v3-card:hover{transform:translateY(-3px);border-color:#9dd5b1;box-shadow:0 20px 44px rgba(18,68,40,.12)}.pricing-v3-card.is-current{border:2px solid var(--green);box-shadow:0 20px 48px rgba(45,167,93,.15)}.pricing-v3-current{width:max-content;margin-bottom:16px;padding:6px 10px;border-radius:999px;background:#e7f7ed;color:#17733e;font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.pricing-v3-users{font-size:1.15rem;font-weight:900}.pricing-v3-price{display:grid;gap:4px;margin:16px 0}.pricing-v3-price strong{font-size:1.75rem;line-height:1}.pricing-v3-price span{color:var(--muted);font-size:.78rem}.pricing-v3-card>p{margin:0 0 22px;color:var(--muted);font-size:.86rem;line-height:1.5}.pricing-v3-card form{margin-top:auto}.pricing-v3-button{width:100%}.pricing-v3-button:disabled{cursor:default;opacity:.7}.pricing-v3-contact-card{background:linear-gradient(145deg,#f4fbf6,#fff)}
.pricing-v3-features{padding:clamp(26px,4vw,42px)}.pricing-v3-features-head span{color:var(--green);font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.pricing-v3-features-head h3{margin:.35rem 0 .5rem;font-size:1.55rem}.pricing-v3-features-head p{margin:0;color:var(--muted)}.pricing-v3-feature-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 22px;margin:24px 0 0;padding:0;list-style:none}.pricing-v3-feature-list li{position:relative;padding:13px 14px 13px 42px;border-radius:13px;background:#f7faf8;color:#405047;font-size:.88rem;line-height:1.4}.pricing-v3-feature-list li:before{content:"✓";position:absolute;left:14px;top:12px;display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#dff4e7;color:#178044;font-weight:900}
.subscription-summary-v3{margin-top:24px;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:28px}.subscription-summary-v3 h2{margin:0 0 8px}.subscription-summary-v3 p{margin:4px 0;color:var(--muted)}
body.modal-open{overflow:hidden}.digimobil-modal{position:fixed;inset:0;z-index:5000;display:none;place-items:center;padding:20px}.digimobil-modal.is-open{display:grid}.digimobil-modal-backdrop{position:absolute;inset:0;background:rgba(9,31,19,.62);backdrop-filter:blur(5px)}.digimobil-modal-card{position:relative;z-index:1;width:min(520px,100%);padding:34px;border-radius:24px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.28);animation:digimobilModalIn .18s ease-out}.digimobil-modal-close{position:absolute;right:16px;top:14px;width:36px;height:36px;border:0;border-radius:50%;background:#f0f5f2;color:#526158;font-size:1.4rem;cursor:pointer}.digimobil-modal-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:18px;border-radius:16px;background:var(--green);color:#fff;font-weight:950}.digimobil-modal-kicker{color:var(--green);font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.11em}.digimobil-modal-card h2{margin:.45rem 0 .8rem;font-size:1.65rem}.digimobil-modal-card>p{margin:0;color:var(--muted);line-height:1.6}.digimobil-modal-highlight{margin:20px 0;padding:16px 18px;border-left:4px solid var(--green);border-radius:12px;background:#f0f8f3;color:#33453a;font-size:.9rem;line-height:1.55}.digimobil-modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.button-secondary{background:#edf3ef!important;color:#34443a!important}.digimobil-modal-actions .danger-button{background:#b83b3b!important;color:#fff!important}@keyframes digimobilModalIn{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
/* Registrierung: klare, vollständige Zweispalten-Darstellung */
.digimobil-register-page{padding:clamp(20px,3vw,44px);align-items:start;background:#eef5f0}.digimobil-register-shell{width:min(1480px,100%);grid-template-columns:minmax(430px,.72fr) minmax(660px,1.28fr);align-items:start;overflow:visible;background:transparent;box-shadow:none;gap:24px}.digimobil-register-form-panel,.digimobil-register-packages-panel{border:1px solid #dfeae3;border-radius:26px;background:#fff;color:var(--ink);box-shadow:0 20px 60px rgba(18,68,40,.1)}.digimobil-register-form-panel{position:sticky;top:24px;padding:clamp(32px,4vw,52px)}.digimobil-register-packages-panel{padding:0;overflow:visible}.digimobil-register-packages-panel:after{display:none}.digimobil-register-packages-panel .pricing-v3{gap:16px}.digimobil-register-packages-panel .pricing-v3-hero,.digimobil-register-packages-panel .pricing-v3-features{border:0;box-shadow:none}.digimobil-register-packages-panel .pricing-v3-hero{border-radius:26px 26px 0 0;border-bottom:1px solid #e4ece7}.digimobil-register-packages-panel .pricing-v3-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 28px}.digimobil-register-packages-panel .pricing-v3-card{min-height:235px}.digimobil-register-packages-panel .pricing-v3-contact-card{grid-column:1/-1;min-height:auto}.digimobil-register-packages-panel .pricing-v3-features{border-top:1px solid #e4ece7;border-radius:0 0 26px 26px}.digimobil-register-packages-panel .pricing-v3-feature-list{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1250px){.pricing-v3-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.digimobil-register-shell{grid-template-columns:1fr}.digimobil-register-form-panel{position:static}.digimobil-register-packages-panel .pricing-v3-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.digimobil-register-packages-panel .pricing-v3-contact-card{grid-column:auto}}
@media(max-width:850px){.pricing-v3-hero{grid-template-columns:1fr}.pricing-v3-trial{min-width:0}.pricing-v3-grid,.digimobil-register-packages-panel .pricing-v3-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pricing-v3-feature-list,.digimobil-register-packages-panel .pricing-v3-feature-list{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.digimobil-register-page{padding:0}.digimobil-register-shell{gap:0}.digimobil-register-form-panel,.digimobil-register-packages-panel{border-radius:0;border-left:0;border-right:0;box-shadow:none}.pricing-v3-grid,.digimobil-register-packages-panel .pricing-v3-grid,.pricing-v3-feature-list,.digimobil-register-packages-panel .pricing-v3-feature-list{grid-template-columns:1fr}.digimobil-register-packages-panel .pricing-v3-grid{padding:0 18px}.pricing-v3-card{min-height:auto}.subscription-summary-v3{align-items:stretch;flex-direction:column}.digimobil-modal-card{padding:28px 22px}.digimobil-modal-actions{flex-direction:column-reverse}.digimobil-modal-actions .button{width:100%}}


/* 10.0.10 – Testhinweis nur bei Registrierung und farbige Registrierungskarten */
.pricing-v3-registration .pricing-v3-trial{background:linear-gradient(145deg,#ff9f1c,#f47f17);border-color:#e9700e;color:#fff;box-shadow:0 14px 34px rgba(238,126,25,.24)}
.pricing-v3-registration .pricing-v3-trial-days,.pricing-v3-registration .pricing-v3-trial strong{color:#fff}
.pricing-v3-registration .pricing-v3-trial small{color:rgba(255,255,255,.9)}
.pricing-v3-registration .pricing-v3-card{background:linear-gradient(145deg,var(--green),#197a45);border-color:#176c3d;color:#fff;box-shadow:0 16px 36px rgba(24,122,69,.2)}
.pricing-v3-registration .pricing-v3-card:hover{border-color:#c9f1d7;box-shadow:0 22px 46px rgba(24,122,69,.28)}
.pricing-v3-registration .pricing-v3-card.is-current{border-color:#fff}
.pricing-v3-registration .pricing-v3-users,.pricing-v3-registration .pricing-v3-price strong{color:#fff}
.pricing-v3-registration .pricing-v3-price span,.pricing-v3-registration .pricing-v3-card>p{color:rgba(255,255,255,.84)}
.pricing-v3-registration .pricing-v3-current{background:rgba(255,255,255,.94);color:#176c3d}
.pricing-v3-registration .pricing-v3-contact-card{background:linear-gradient(145deg,#237f4d,#155f37)}
.pricing-v3-registration .pricing-v3-button{background:#fff!important;color:#176c3d!important;border-color:#fff!important}
.pricing-v3-registration .pricing-v3-button:hover{background:#edf9f1!important}
.digimobil-register-packages-panel .pricing-v3-hero{grid-template-columns:minmax(0,1fr) 230px}
@media(max-width:850px){.digimobil-register-packages-panel .pricing-v3-hero{grid-template-columns:1fr}}

/* 10.0.11 – neue Preise, grüner Hero und klare Paketaktionen */
.pricing-v3-subscription .pricing-v3-hero{position:relative;overflow:hidden;background:linear-gradient(145deg,var(--green-dark),#174f31);border-color:#16492e;color:#fff;box-shadow:0 20px 54px rgba(13,40,27,.2)}
.pricing-v3-subscription .pricing-v3-hero:after{content:"DM";position:absolute;right:-24px;bottom:-72px;color:rgba(255,255,255,.045);font-size:13rem;font-weight:950;line-height:1;pointer-events:none}
.pricing-v3-subscription .pricing-v3-copy{position:relative;z-index:1}
.pricing-v3-subscription .pricing-v3-kicker{color:#8ce8ad}
.pricing-v3-subscription .pricing-v3-copy h2{color:#fff}
.pricing-v3-subscription .pricing-v3-copy p{color:rgba(255,255,255,.78)}
.pricing-v3-trust-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:24px 0 0;padding:0;list-style:none}
.pricing-v3-trust-list li{position:relative;padding-left:27px;color:rgba(255,255,255,.94);font-size:.88rem;font-weight:750}
.pricing-v3-trust-list li:before{content:"✓";position:absolute;left:0;top:-2px;display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:rgba(140,232,173,.17);color:#9af0b9;font-weight:950}
.pricing-v3-button.is-downgrade{background:#fff;color:var(--green-dark);border:1px solid #bcd8c6;box-shadow:none}
.pricing-v3-button.is-downgrade:hover{background:#edf7f0}
.pricing-v3-card.is-current .pricing-v3-button{background:#e5eee8!important;color:#4c5e53!important;border-color:#d3dfd7!important}
.digimobil-register-packages-panel .pricing-v3-registration .pricing-v3-hero{background:#fff}
@media(max-width:680px){.pricing-v3-trust-list{grid-template-columns:1fr}.pricing-v3-subscription .pricing-v3-hero:after{font-size:9rem}}

/* 10.0.12 – einheitliche grüne Bereiche und weiße Paketkarten */
.pricing-v3-subscription .pricing-v3-features,
.pricing-v3-registration .pricing-v3-features{
  position:relative;
  overflow:hidden;
  background:linear-gradient(145deg,var(--green-dark),#174f31);
  border-color:#16492e;
  color:#fff;
  box-shadow:0 20px 54px rgba(13,40,27,.18);
}
.pricing-v3-subscription .pricing-v3-features:after,
.pricing-v3-registration .pricing-v3-features:after{
  content:"DM";
  position:absolute;
  right:-24px;
  bottom:-72px;
  color:rgba(255,255,255,.04);
  font-size:13rem;
  font-weight:950;
  line-height:1;
  pointer-events:none;
}
.pricing-v3-subscription .pricing-v3-features-head,
.pricing-v3-subscription .pricing-v3-feature-list,
.pricing-v3-registration .pricing-v3-features-head,
.pricing-v3-registration .pricing-v3-feature-list{position:relative;z-index:1}
.pricing-v3-subscription .pricing-v3-features-head span,
.pricing-v3-registration .pricing-v3-features-head span{color:#8ce8ad}
.pricing-v3-subscription .pricing-v3-features-head h3,
.pricing-v3-registration .pricing-v3-features-head h3{color:#fff}
.pricing-v3-subscription .pricing-v3-features-head p,
.pricing-v3-registration .pricing-v3-features-head p{color:rgba(255,255,255,.78)}
.pricing-v3-subscription .pricing-v3-feature-list li,
.pricing-v3-registration .pricing-v3-feature-list li{
  background:rgba(255,255,255,.09);
  border-color:rgba(255,255,255,.14);
  color:#fff;
}
.pricing-v3-subscription .pricing-v3-feature-list li:before,
.pricing-v3-registration .pricing-v3-feature-list li:before{
  background:rgba(140,232,173,.18);
  color:#9af0b9;
}

.digimobil-register-packages-panel .pricing-v3-registration .pricing-v3-hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(145deg,var(--green-dark),#174f31);
  border-color:#16492e;
  color:#fff;
}
.digimobil-register-packages-panel .pricing-v3-registration .pricing-v3-hero:after{
  content:"DM";
  position:absolute;
  right:-24px;
  bottom:-72px;
  color:rgba(255,255,255,.045);
  font-size:13rem;
  font-weight:950;
  line-height:1;
  pointer-events:none;
}
.digimobil-register-packages-panel .pricing-v3-registration .pricing-v3-copy,
.digimobil-register-packages-panel .pricing-v3-registration .pricing-v3-trial{position:relative;z-index:1}
.digimobil-register-packages-panel .pricing-v3-registration .pricing-v3-kicker{color:#8ce8ad}
.digimobil-register-packages-panel .pricing-v3-registration .pricing-v3-copy h2{color:#fff}
.digimobil-register-packages-panel .pricing-v3-registration .pricing-v3-copy p{color:rgba(255,255,255,.78)}

.pricing-v3-registration .pricing-v3-card,
.pricing-v3-registration .pricing-v3-contact-card{
  background:#fff;
  border-color:#dfeae3;
  color:var(--ink);
  box-shadow:0 14px 32px rgba(18,68,40,.1);
}
.pricing-v3-registration .pricing-v3-card:hover{
  border-color:#9dc8ac;
  box-shadow:0 20px 42px rgba(18,68,40,.16);
}
.pricing-v3-registration .pricing-v3-card.is-current{border-color:var(--green)}
.pricing-v3-registration .pricing-v3-users,
.pricing-v3-registration .pricing-v3-price strong{color:var(--green-dark)}
.pricing-v3-registration .pricing-v3-price span,
.pricing-v3-registration .pricing-v3-card>p{color:var(--muted)}
.pricing-v3-registration .pricing-v3-current{background:var(--green-soft);color:var(--green-dark)}
.pricing-v3-registration .pricing-v3-button{
  background:var(--green)!important;
  color:#fff!important;
  border-color:var(--green)!important;
}
.pricing-v3-registration .pricing-v3-button:hover{background:var(--green-dark)!important}

.digimobil-register-packages-panel .pricing-v3-features{
  border-top:0;
  border-radius:0 0 26px 26px;
}
@media(max-width:680px){
  .pricing-v3-subscription .pricing-v3-features:after,
  .pricing-v3-registration .pricing-v3-features:after,
  .digimobil-register-packages-panel .pricing-v3-registration .pricing-v3-hero:after{font-size:9rem}
}

/* Navigation: optische Trennung des System-Admin-Bereichs */
.sidebar nav .nav-section-separator{margin:22px 0 4px;padding:16px 13px 0;border-top:1px solid rgba(255,255,255,.18)}
.sidebar nav .nav-section-separator span{display:block;color:#91b6a0;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
@media(max-width:760px){.sidebar nav .nav-section-separator{grid-column:1/-1;margin-top:16px}}


/* 10.0.14 – Grundlizenznamen */
.pricing-v3-plan-name {
  margin-top: 0.2rem;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text, #17352a);
}
.pricing-v3-card.is-current .pricing-v3-plan-name {
  color: inherit;
}

/* 10.0.16 – Projekt-Cockpit und Berichtserstellung im DigiMobil-SaaS-Design */
.dm-page-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:center;margin-bottom:24px;padding:clamp(28px,4vw,46px);overflow:hidden;border:1px solid #16492e;border-radius:26px;background:linear-gradient(145deg,var(--green-dark),#174f31);color:#fff;box-shadow:0 20px 54px rgba(13,40,27,.2)}
.dm-page-hero:after{content:"DM";position:absolute;right:-28px;bottom:-76px;color:rgba(255,255,255,.045);font-size:13rem;font-weight:950;line-height:1;pointer-events:none}
.dm-page-hero-copy,.dm-page-hero-status{position:relative;z-index:1}.dm-page-kicker{display:block;margin-bottom:8px;color:#8ce8ad;font-size:.72rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.dm-page-hero h1{margin:0 0 10px;color:#fff;font-size:clamp(2rem,4vw,3.25rem);line-height:1.05}.dm-page-hero p{max-width:760px;margin:0;color:rgba(255,255,255,.8);font-size:1rem;line-height:1.6}
.dm-page-hero-status{min-width:210px;padding:22px 24px;border:1px solid rgba(255,255,255,.18);border-radius:18px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px)}.dm-page-hero-status small{display:block;margin-bottom:7px;color:rgba(255,255,255,.7);font-size:.7rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.dm-page-hero-status strong{display:block;color:#fff;font-size:1.25rem;line-height:1.25}.dm-report-number-card strong{font-size:1rem;word-break:break-word}
.dm-quick-nav{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}.dm-quick-nav a{padding:8px 12px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.08);color:#fff;font-size:.78rem;font-weight:750;text-decoration:none;transition:.18s ease}.dm-quick-nav a:hover{background:#fff;color:var(--green-dark);transform:translateY(-1px)}
.dm-content-card{border:1px solid #dfeae3;border-radius:22px;background:#fff;box-shadow:0 14px 34px rgba(18,68,40,.08)}.dm-content-card>.panel-head:first-child{padding-bottom:16px;border-bottom:1px solid #edf2ef}.dm-highlight-card{border-left:5px solid var(--green)}
.dm-project-stats{gap:14px;margin:0 0 24px}.dm-project-stats article{border:1px solid #dfeae3;border-radius:18px;background:#fff;box-shadow:0 10px 24px rgba(18,68,40,.06)}
.dm-content-card[id]{scroll-margin-top:24px}.dm-content-card h2{color:var(--green-dark)}.dm-content-card .resource-section{margin-top:22px;padding-top:22px;border-top:1px solid #e6eee9}.dm-content-card table{border-radius:14px;overflow:hidden}.dm-content-card thead{background:#f0f7f2}
.dm-report-form-card{padding:clamp(20px,3vw,34px)}.dm-report-form-card>.report-number-banner{margin:-4px 0 24px;padding:14px 18px;border:1px solid #d8e8de;border-radius:14px;background:var(--green-soft);color:var(--green-dark)}
.dm-form-section{scroll-margin-top:24px;border:1px solid #dfeae3!important;border-radius:18px!important;background:#fbfdfb!important;box-shadow:none!important}.dm-form-section>.panel-head{margin-bottom:18px;padding-bottom:15px;border-bottom:1px solid #e7eee9}.dm-form-section .report-section-title,.dm-form-section h2{color:var(--green-dark)}
.dm-report-form-card .form-grid>label{padding:14px;border:1px solid #e3ece6;border-radius:14px;background:#fff}.dm-report-form-card .form-grid>label.full{padding:16px}.dm-report-form-card input,.dm-report-form-card select,.dm-report-form-card textarea{margin-top:7px}.dm-report-form-card .submit-button{margin-top:8px;padding:16px;font-size:1rem;box-shadow:0 10px 24px rgba(24,122,69,.2)}
.dm-report-overview{margin-top:24px}.dm-report-overview table{margin-top:6px}.signature-grid{scroll-margin-top:24px}.signature-card{border:1px solid #dfeae3!important;border-radius:18px!important;box-shadow:0 10px 24px rgba(18,68,40,.06)!important}
@media(max-width:900px){.dm-page-hero{grid-template-columns:1fr}.dm-page-hero-status{min-width:0}.dm-page-hero:after{font-size:9rem}.dm-project-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.dm-page-hero{padding:25px 20px;border-radius:20px}.dm-page-hero h1{font-size:2rem}.dm-quick-nav{gap:7px}.dm-quick-nav a{font-size:.72rem}.dm-project-stats{grid-template-columns:1fr}.dm-report-form-card{padding:16px}.dm-report-form-card .form-grid>label{padding:11px}}

/* DigiMobil 10.0.17 – Office-Cockpit */
.office-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:22px}.office-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.office-kpis a{display:flex;flex-direction:column;gap:5px;padding:20px;border:1px solid #dfe9e3;border-radius:18px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 8px 24px rgba(18,58,38,.06)}.office-kpis span{font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#597064}.office-kpis strong{font-size:2rem;color:#173f2c}.office-kpis small{color:#74847b}.office-panel-head{align-items:center}.office-total{padding:7px 12px;border-radius:999px;background:#edf5f0;color:#24583d;font-weight:800}.office-table td small,.office-report-link small{display:block;margin-top:3px;color:#74847b}.office-report-link{text-decoration:none}.office-actions,.workflow-buttons{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.button.compact{padding:8px 12px;font-size:.86rem}.workflow-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#edf2ef;color:#355347;font-size:.78rem;font-weight:800;white-space:nowrap}.workflow-neu{background:#fff2df;color:#9b5a00}.workflow-in-pruefung{background:#e8f0ff;color:#285ca8}.workflow-ergaenzung-erforderlich{background:#fff0ed;color:#a33b2c}.workflow-freigegeben{background:#e8f7ee;color:#207442}.workflow-summary{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 20px;margin-bottom:20px;border:1px solid #dce8e1;border-radius:16px;background:#fff}.workflow-summary>div:first-child span{display:block;color:#718078;font-size:.82rem}.workflow-summary>div:first-child strong{font-size:1.15rem;color:#173f2c}.workflow-return-form{display:flex;gap:8px;align-items:center}.workflow-return-form input{min-width:260px}.button.warning{background:#d7791f;color:#fff;border-color:#d7791f}.workflow-history{margin-bottom:20px}.workflow-timeline article{position:relative;display:grid;grid-template-columns:18px 1fr auto;gap:12px;padding:14px 0;border-bottom:1px solid #edf1ef}.workflow-timeline article:last-child{border-bottom:0}.workflow-dot{width:10px;height:10px;margin-top:5px;border-radius:50%;background:#2f7d4a}.workflow-timeline small{display:block;margin-top:3px;color:#74847b}.workflow-timeline p{margin:8px 0 0;padding:10px 12px;border-radius:10px;background:#f5f8f6}.return-notice{margin-bottom:18px;padding:18px 20px;border-left:5px solid #d7791f;border-radius:14px;background:#fff6ea}.return-notice p{margin:5px 0}.return-notice blockquote{margin:12px 0 0;padding:10px 12px;border-radius:10px;background:#fff;color:#6b421b}.empty-state{padding:36px;text-align:center}.empty-state strong,.empty-state span{display:block}.empty-state span{margin-top:5px;color:#74847b}@media(max-width:980px){.office-kpis{grid-template-columns:repeat(2,1fr)}.workflow-summary{align-items:flex-start;flex-direction:column}.workflow-return-form{width:100%}.workflow-return-form input{min-width:0;flex:1}}@media(max-width:640px){.office-hero{align-items:flex-start;flex-direction:column}.office-kpis{grid-template-columns:1fr}.workflow-return-form{align-items:stretch;flex-direction:column}.workflow-buttons{align-items:stretch;flex-direction:column}.workflow-buttons form,.workflow-buttons .button{width:100%}.workflow-timeline article{grid-template-columns:18px 1fr}.workflow-timeline .workflow-badge{grid-column:2;justify-self:start}}

.report-compact-hint{font-size:.68rem;line-height:1.25;margin-top:4px;max-width:760px}

/* DigiMobil 10.0.19 – Mitarbeiter- und Office-Portale */
.portal-hero{margin-bottom:18px}.portal-filter{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:20px}.portal-filter>div:first-child{min-width:150px}.portal-filter strong{display:block;font-size:1.05rem}.filter-presets{display:flex;gap:8px;flex-wrap:wrap}.filter-chip{border:1px solid var(--line);background:#fff;color:var(--green-dark);border-radius:999px;padding:9px 14px;font-weight:700;cursor:pointer}.filter-chip:hover,.filter-chip.active{background:var(--green-dark);color:#fff;border-color:var(--green-dark)}.custom-range{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.custom-range label{font-size:.75rem;color:var(--muted);font-weight:700}.custom-range input{display:block;margin-top:4px;min-width:138px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:#fff}.employee-kpis article small,.office-hours-total span{display:block;color:var(--muted);font-size:.76rem;margin-top:3px}.attention-panel{border:1px solid #f1bc72;background:#fffaf1}.portal-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.portal-action-card{display:flex;flex-direction:column;gap:5px;padding:15px;border:1px solid #efcf9f;border-radius:14px;background:#fff;color:var(--ink);text-decoration:none}.portal-action-card:hover{transform:translateY(-1px);box-shadow:var(--shadow)}.portal-action-card small{color:#a45c00;font-weight:700}.portal-columns{margin:20px 0}.assignment-list,.absence-list{display:flex;flex-direction:column;gap:10px}.assignment-list>a,.absence-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fbfdfb;text-decoration:none;color:var(--ink)}.assignment-list a span,.absence-list article span,.absence-list article div span{display:block;color:var(--muted);font-size:.82rem}.absence-list article div{min-width:0}.office-hours-panel{margin-bottom:20px}.office-hours-total{text-align:right;padding:8px 14px;border-radius:12px;background:var(--green-soft)}.office-hours-total strong{display:block;font-size:1.35rem;color:var(--green-dark)}table tfoot th{background:#f0f6f2}.workflow-badge{white-space:nowrap}
@media(max-width:900px){.portal-filter{align-items:stretch;flex-direction:column}.custom-range{width:100%}.custom-range label{flex:1}.custom-range input{width:100%;min-width:0}.portal-columns{grid-template-columns:1fr}.office-hours-total{text-align:left}}

/* DigiMobil 10.0.22 – Einheitliches SaaS-Design für alle Anwendungsseiten */
:root{
  --dm-hero:#174f31;
  --dm-hero-deep:#113a25;
  --dm-card-radius:20px;
  --dm-card-shadow:0 14px 34px rgba(18,68,40,.08);
  --dm-card-shadow-hover:0 18px 42px rgba(18,68,40,.13);
}

/* Einheitlicher Seitenkopf wie „Pakete & Preise“ */
.content>.page-head,
.content>section.page-head{
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin:0 0 24px;
  padding:clamp(26px,4vw,44px);
  overflow:hidden;
  border:1px solid #16492e;
  border-radius:26px;
  background:linear-gradient(145deg,var(--dm-hero),var(--dm-hero-deep));
  color:#fff;
  box-shadow:0 20px 54px rgba(13,40,27,.19);
}
.content>.page-head:after,
.content>section.page-head:after{
  content:"DM";
  position:absolute;
  right:-25px;
  bottom:-72px;
  color:rgba(255,255,255,.045);
  font-size:12rem;
  font-weight:950;
  line-height:1;
  pointer-events:none;
}
.content>.page-head>* ,
.content>section.page-head>*{position:relative;z-index:1}
.content>.page-head h1,
.content>section.page-head h1{margin:4px 0 8px;color:#fff;font-size:clamp(2rem,4vw,3rem);line-height:1.08}
.content>.page-head h2,
.content>section.page-head h2{color:#fff}
.content>.page-head p,
.content>section.page-head p{max-width:780px;color:rgba(255,255,255,.78);line-height:1.55}
.content>.page-head .eyebrow,
.content>section.page-head .eyebrow{color:#8ce8ad}
.content>.page-head .button.secondary,
.content>section.page-head .button.secondary,
.content>.page-head .back-button,
.content>section.page-head .back-button{
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.11);
  color:#fff;
  backdrop-filter:blur(8px);
}
.content>.page-head .button.secondary:hover,
.content>section.page-head .button.secondary:hover,
.content>.page-head .back-button:hover,
.content>section.page-head .back-button:hover{background:#fff;color:var(--green-dark)}

/* Karten und Inhaltsbereiche */
.panel,.card,.subpanel,.signature-card,.system-info-card{
  border-color:#dfeae3;
  border-radius:var(--dm-card-radius);
  box-shadow:var(--dm-card-shadow);
}
.panel{margin-bottom:22px}
.panel:hover{border-color:#d4e4da}
.panel h2,.panel h3,.card h2,.subpanel h2{color:var(--green-dark)}
.panel-head{padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid #edf2ef}
.panel-head:last-child{margin-bottom:0}
.two{gap:22px}
.two>.panel{height:100%}

/* Formulare */
.form-grid{gap:16px}
.form-grid label{color:#294437;font-size:.78rem;letter-spacing:.01em}
input,select,textarea{
  border:1px solid #d8e5dc;
  border-radius:12px;
  background:#fbfdfb;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
input:hover,select:hover,textarea:hover{border-color:#b8d3c2;background:#fff}
input:focus,select:focus,textarea:focus{
  outline:none;
  border-color:var(--green);
  background:#fff;
  box-shadow:0 0 0 4px rgba(31,143,78,.11);
}
input[type="checkbox"],input[type="radio"]{accent-color:var(--green)}

/* Einheitliche Aktionen */
.button,button[type="submit"]{
  border-radius:11px;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease;
}
.button:hover,button[type="submit"]:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(18,68,40,.15)}
.button.secondary{border:1px solid #cfe1d5;background:#f0f7f2}
.button.danger-button,.danger-button,.button.reject{background:#b53b3b;color:#fff}
.button.approve{background:var(--green);color:#fff}

/* Tabellen */
.panel>table,.table-wrap,table{border-radius:14px}
.table-wrap{overflow:auto;border:1px solid #e2ebe5;background:#fff}
table{background:#fff}
thead{background:#f0f7f2}
th{color:#52685d;font-size:.7rem;letter-spacing:.055em}
tbody tr{transition:background .15s ease}
tbody tr:hover{background:#f7fbf8}
td,th{padding:13px 14px}
tbody tr:last-child td{border-bottom:0}
table .button{padding:8px 12px;font-size:.82rem}

/* Kennzahlen und Übersichten */
.stats,.stats-grid,.system-info-grid{gap:16px}
.stats article,.stats-grid .card,.system-info-card{
  position:relative;
  overflow:hidden;
  border:1px solid #dfeae3;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 26px rgba(18,68,40,.065);
}
.stats article:before,.stats-grid .card:before,.system-info-card:before{
  content:"";
  position:absolute;
  top:0;left:0;right:0;
  height:4px;
  background:linear-gradient(90deg,var(--green),#63bd83);
}
.stats article:hover,.stats-grid .card:hover,.system-info-card:hover{box-shadow:var(--dm-card-shadow-hover);transform:translateY(-1px)}
.stats span,.stats-grid span{font-weight:700}

/* Listen, Timeline und leere Zustände */
.card-link,.timeline a,.project-card,.assignment-list>a,.absence-list article{
  border-color:#dfeae3;
  border-radius:14px;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.card-link:hover,.timeline a:hover,.project-card:hover,.assignment-list>a:hover{
  border-color:#a9cfb7;
  box-shadow:0 10px 24px rgba(18,68,40,.09);
  transform:translateY(-1px);
}
.empty-state,
tbody tr:only-child td[colspan]{padding:36px 20px;color:var(--muted);text-align:center}
.badge,.status-pill,.workflow-badge{font-weight:800}

/* Modale Dialoge */
.modal-card,.digimobil-modal-card{
  border:1px solid #dce8e1;
  border-radius:22px;
  box-shadow:0 28px 80px rgba(8,35,21,.25);
}

/* Detailseiten */
.detail-page-head dl{color:#fff}
dl{column-gap:18px;row-gap:10px}
dt{color:#294437}
.danger-zone{border-color:#efc4c4;background:#fffafa}
.danger-zone h2{color:#8d2929}

/* Seiten, die eigene Hero-Komponenten verwenden */
.dm-hero,.office-hero,.portal-hero{
  border-radius:26px;
  box-shadow:0 20px 54px rgba(13,40,27,.19);
}

/* Navigation etwas ruhiger und klarer */
.sidebar nav a{display:flex;align-items:center;min-height:42px;font-weight:650;transition:background .16s ease,color .16s ease,transform .16s ease}
.sidebar nav a:hover{background:rgba(255,255,255,.1);color:#fff;transform:translateX(2px)}
.subscription-status-top{border-radius:16px;box-shadow:0 10px 26px rgba(18,68,40,.08)}

@media(max-width:900px){
  .content>.page-head,.content>section.page-head{align-items:flex-start;flex-direction:column}
  .content>.page-head:after,.content>section.page-head:after{font-size:9rem}
  .system-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .content>.page-head,.content>section.page-head{padding:24px 20px;border-radius:20px}
  .content>.page-head h1,.content>section.page-head h1{font-size:2rem}
  .panel,.card,.subpanel,.signature-card{border-radius:16px}
  .system-info-grid{grid-template-columns:1fr}
  td,th{padding:11px 12px}
}

/* DigiMobil 10.0.23 – Office-Cockpit Kopfbereich */
.office-command-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:34px;
  margin-bottom:18px;
  padding:clamp(28px,4vw,46px);
  overflow:hidden;
  border:1px solid #16492e;
  border-radius:26px;
  background:linear-gradient(145deg,#174f31,#113a25);
  color:#fff;
  box-shadow:0 20px 54px rgba(13,40,27,.19);
}
.office-command-hero:after{
  content:"OFFICE";
  position:absolute;
  right:-34px;
  bottom:-45px;
  color:rgba(255,255,255,.045);
  font-size:clamp(5.8rem,13vw,10rem);
  font-weight:950;
  line-height:1;
  pointer-events:none;
}
.office-command-copy,.office-hero-summary{position:relative;z-index:1}
.office-command-hero .dm-eyebrow{color:#8ce8ad;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
.office-command-hero h1{margin:8px 0 10px;color:#fff;font-size:clamp(2.1rem,4.3vw,3.25rem);line-height:1.04}
.office-command-hero p{max-width:720px;margin:0;color:rgba(255,255,255,.78);font-size:1.02rem;line-height:1.6}
.office-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.office-command-hero .button{position:relative;z-index:2}
.office-command-hero .office-primary-action{border-color:#fff;background:#fff;color:#174f31}
.office-command-hero .office-primary-action:hover{background:#eaf7ef;color:#113a25}
.office-command-hero .button.secondary{border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.1);color:#fff;backdrop-filter:blur(8px)}
.office-command-hero .button.secondary:hover{background:#fff;color:#174f31}
.office-hero-summary{
  min-width:210px;
  padding:22px 24px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:20px;
  background:rgba(255,255,255,.1);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter:blur(10px);
}
.office-hero-summary span,.office-hero-summary small{display:block;color:rgba(255,255,255,.72)}
.office-hero-summary span{font-size:.76rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.office-hero-summary strong{display:block;margin:5px 0 1px;color:#fff;font-size:2.65rem;line-height:1}
.office-kpis-modern{gap:14px;margin-bottom:24px}
.office-kpis-modern .office-kpi{position:relative;overflow:hidden;padding:21px 22px;border-radius:20px;box-shadow:0 12px 30px rgba(18,68,40,.08);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.office-kpis-modern .office-kpi:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#2f7d4a}
.office-kpis-modern .office-kpi:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(18,68,40,.13);border-color:#b8d6c3}
.office-kpis-modern .office-kpi strong{font-size:2.25rem;line-height:1.05}
.office-kpis-modern .office-kpi i{position:absolute;right:20px;top:20px;color:#83a190;font-size:1.2rem;font-style:normal}
.office-kpis-modern .office-kpi-new:before{background:#df8a22}
.office-kpis-modern .office-kpi-review:before{background:#3676c8}
.office-kpis-modern .office-kpi-return:before{background:#c9503f}
.office-kpis-modern .office-kpi-approved:before{background:#2f8b55}
@media(max-width:900px){.office-command-hero{grid-template-columns:1fr}.office-hero-summary{min-width:0;max-width:320px}}
@media(max-width:640px){.office-command-hero{padding:25px 20px;border-radius:20px}.office-hero-actions{align-items:stretch;flex-direction:column}.office-hero-actions .button{width:100%}.office-hero-summary{max-width:none}.office-kpis-modern .office-kpi{padding:18px 20px}}

/* DigiMobil 10.0.24 – Unternehmens-Dashboard */
.company-command-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:34px;margin-bottom:18px;padding:clamp(28px,4vw,46px);overflow:hidden;border:1px solid #16492e;border-radius:26px;background:linear-gradient(145deg,#174f31,#113a25);color:#fff;box-shadow:0 20px 54px rgba(13,40,27,.19)}
.company-command-hero:after{content:"DIGIMOBIL";position:absolute;right:-42px;bottom:-42px;color:rgba(255,255,255,.045);font-size:clamp(5rem,11vw,9rem);font-weight:950;line-height:1;pointer-events:none}
.company-command-copy,.company-hero-summary{position:relative;z-index:1}.company-command-hero .dm-eyebrow{color:#8ce8ad;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.company-command-hero h1{margin:8px 0 10px;color:#fff;font-size:clamp(2.1rem,4.3vw,3.25rem);line-height:1.04}.company-command-hero p{max-width:760px;margin:0;color:rgba(255,255,255,.78);font-size:1.02rem;line-height:1.6}.company-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.company-command-hero .company-primary-action{border-color:#fff;background:#fff;color:#174f31}.company-command-hero .company-primary-action:hover{background:#eaf7ef;color:#113a25}.company-command-hero .button.secondary{border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.1);color:#fff;backdrop-filter:blur(8px)}.company-command-hero .button.secondary:hover{background:#fff;color:#174f31}.company-hero-summary{min-width:220px;padding:22px 24px;border:1px solid rgba(255,255,255,.18);border-radius:20px;background:rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.12);backdrop-filter:blur(10px)}.company-hero-summary span,.company-hero-summary small{display:block;color:rgba(255,255,255,.72)}.company-hero-summary span{font-size:.76rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.company-hero-summary strong{display:block;margin:5px 0 3px;color:#fff;font-size:2.65rem;line-height:1}.company-kpis-modern{gap:14px;margin-bottom:24px}.company-kpis-modern .company-kpi{position:relative;overflow:hidden;padding:21px 22px;border-radius:20px;box-shadow:0 12px 30px rgba(18,68,40,.08);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.company-kpis-modern .company-kpi:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#2f7d4a}.company-kpis-modern .company-kpi:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(18,68,40,.13);border-color:#b8d6c3}.company-kpis-modern .company-kpi strong{font-size:2.18rem;line-height:1.05}.company-kpis-modern .company-kpi small{color:var(--muted);font-size:.76rem}.company-kpis-modern .company-kpi-employees:before{background:#2f8b55}.company-kpis-modern .company-kpi-projects:before{background:#3676c8}.company-kpis-modern .company-kpi-reports:before{background:#7c5dc7}.company-kpis-modern .company-kpi-time:before{background:#df8a22}.company-kpis-modern .company-kpi-stock:before{background:#c9503f}.company-dashboard-columns .panel{min-height:100%}
@media(max-width:900px){.company-command-hero{grid-template-columns:1fr}.company-hero-summary{min-width:0;max-width:320px}}
@media(max-width:640px){.company-command-hero{padding:25px 20px;border-radius:20px}.company-hero-actions{align-items:stretch;flex-direction:column}.company-hero-actions .button{width:100%}.company-hero-summary{max-width:none}.company-kpis-modern .company-kpi{padding:18px 20px}}


/* DigiMobil 10.0.25 – eigenständiger Kopfbereich im Mitarbeiter-Portal */
.employee-command-hero{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:32px;
  margin-bottom:22px;
  padding:34px 38px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:26px;
  background:linear-gradient(145deg,#174f31,#113a25);
  box-shadow:0 24px 55px rgba(17,58,37,.22);
}
.employee-command-hero:after{
  content:"";
  position:absolute;
  top:-85px;
  right:-55px;
  width:270px;
  height:270px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(91,208,132,.24),rgba(91,208,132,0) 68%);
  pointer-events:none;
}
.employee-command-copy,.employee-hero-summary{position:relative;z-index:1}
.employee-command-hero .dm-eyebrow{color:#8ce8ad;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
.employee-command-hero h1{margin:8px 0 10px;color:#fff;font-size:clamp(2.1rem,4.3vw,3.25rem);line-height:1.04}
.employee-command-hero p{max-width:700px;margin:0;color:rgba(255,255,255,.78);font-size:1.02rem;line-height:1.6}
.employee-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.employee-command-hero .button{position:relative;z-index:2}
.employee-command-hero .employee-primary-action{border-color:#fff;background:#fff;color:#174f31}
.employee-command-hero .employee-primary-action:hover{background:#eaf7ef;color:#113a25}
.employee-command-hero .button.secondary{border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.1);color:#fff;backdrop-filter:blur(8px)}
.employee-command-hero .button.secondary:hover{background:#fff;color:#174f31}
.employee-hero-summary{
  min-width:220px;
  padding:22px 24px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:20px;
  background:rgba(255,255,255,.09);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
}
.employee-hero-summary span,.employee-hero-summary small{display:block;color:rgba(255,255,255,.72)}
.employee-hero-summary span{font-size:.76rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.employee-hero-summary strong{display:block;margin:5px 0 4px;color:#fff;font-size:2.65rem;line-height:1}
@media(max-width:900px){.employee-command-hero{grid-template-columns:1fr}.employee-hero-summary{min-width:0;max-width:320px}}
@media(max-width:640px){.employee-command-hero{padding:25px 20px;border-radius:20px}.employee-hero-actions{align-items:stretch;flex-direction:column}.employee-hero-actions .button{width:100%}.employee-hero-summary{max-width:none}}


.assignment-conflict-list{display:grid;gap:10px;margin-top:18px}.assignment-conflict-item{display:grid;gap:4px;padding:14px 16px;border:1px solid #f0c9c9;border-radius:14px;background:#fff8f8}.assignment-conflict-item span{width:max-content;padding:4px 8px;border-radius:999px;background:#ffe5e5;color:#9d2828;font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.assignment-conflict-item strong{color:#26352c}.assignment-conflict-item small{color:var(--muted)}


/* Patch 10.0.30 – Projektzuweisungen entfernen */
.assignment-action-column,
.assignment-action-cell {
  width: 3.25rem;
  text-align: right;
}
.assignment-action-cell form { margin: 0; display: inline-flex; }
.assignment-delete-button {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid #fecaca;
  border-radius: .65rem;
  background: #fff;
  color: #b91c1c;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.assignment-delete-button:hover,
.assignment-delete-button:focus-visible {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
  transform: translateY(-1px);
  outline: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* Patch 10.0.31 – zentrale DigiMobil-Bestätigungsdialoge */
.assignment-delete-button {
  border-color: #b91c1c;
  background: #dc2626;
  color: #fff;
  box-shadow: 0 5px 14px rgba(185, 28, 28, .28);
  font-weight: 900;
}
.assignment-delete-button:hover,
.assignment-delete-button:focus-visible {
  background: #991b1b;
  border-color: #7f1d1d;
  box-shadow: 0 7px 18px rgba(127, 29, 29, .38);
}
.dm-confirm-card .digimobil-modal-icon { font-size: 1.35rem; }
.dm-confirm-card .digimobil-modal-icon.is-danger { background: #dc2626; }
.dm-success-button { background: var(--green) !important; color: #fff !important; }
.dm-success-button:hover { filter: brightness(.92); }
.dm-confirm-card #dm-confirm-detail[hidden] { display: none; }

/* Patch 10.0.32 – Ressourcen im Projekt-Cockpit */
.resource-workspace {
  margin-top: 1.5rem;
  width: 100%;
  overflow: visible;
}
.resource-workspace > h2 { margin-bottom: .35rem; }
.resource-accordion {
  margin-top: 1.25rem;
  border: 1px solid #dbe8df;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 55, 36, .08);
  overflow: hidden;
}
.resource-accordion[open] { border-color: #c7ddcf; }
.resource-section-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  background: var(--green-dark);
  color: #fff;
}
.resource-section-summary::-webkit-details-marker { display: none; }
.resource-section-summary span { font-size: 1.08rem; font-weight: 900; }
.resource-section-summary small { color: rgba(255,255,255,.76); font-weight: 700; }
.resource-section-summary::after {
  content: '⌄';
  margin-left: auto;
  font-size: 1.2rem;
  transition: transform .2s ease;
}
.resource-accordion[open] .resource-section-summary::after { transform: rotate(180deg); }
.resource-section-body { padding: 1.15rem 1.25rem 1.35rem; }
.resource-section-body table {
  width: 100%;
  table-layout: auto;
  margin: 0;
}
.resource-section-body th,
.resource-section-body td {
  padding: .9rem 1rem;
  vertical-align: top;
  white-space: normal;
  overflow-wrap: anywhere;
}
.resource-section-body th:first-child,
.resource-section-body td:first-child { min-width: 16rem; width: 32%; }
.resource-section-body th:nth-child(2),
.resource-section-body td:nth-child(2) { min-width: 7rem; width: 12%; }
.resource-section-body th:nth-child(3),
.resource-section-body td:nth-child(3) { min-width: 28rem; }
.resource-section-body .inline-edit {
  display: grid;
  grid-template-columns: minmax(7rem, .7fr) minmax(7rem, .7fr) minmax(15rem, 2fr) auto;
  gap: .65rem;
  align-items: end;
  width: 100%;
}
.resource-section-body .inline-edit input,
.resource-section-body .inline-edit select { min-width: 0; width: 100%; }
.resource-section-body td > form + form { margin-top: .65rem; }
.resource-section-body .resource-add-title {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid #e5eee8;
}
.resource-section-body .resource-add-form {
  grid-template-columns: minmax(15rem, 2fr) minmax(7rem, .7fr) minmax(8rem, .8fr) auto;
  align-items: end;
}
.resource-section-body .resource-add-form .full { grid-column: 1 / -2; }
@media (max-width: 1100px) {
  .resource-section-body { overflow-x: auto; }
  .resource-section-body table { min-width: 920px; }
  .resource-section-body .resource-add-form { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .resource-section-body .resource-add-form .full { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .resource-section-summary { align-items: flex-start; padding: .9rem 1rem; }
  .resource-section-summary small { display: none; }
  .resource-section-body { padding: .9rem; }
  .resource-section-body table { min-width: 820px; }
  .resource-section-body .resource-add-form { grid-template-columns: 1fr; }
  .resource-section-body .resource-add-form .full { grid-column: auto; }
}


/* 10.0.33 – DigiMobil Logo, PWA und Benachrichtigungscenter */
.brand-logo-mark{width:58px;height:58px;padding:0;overflow:hidden;background:#fff;border:1px solid rgba(255,255,255,.22);box-shadow:0 10px 24px rgba(0,0,0,.2)}
.brand-logo-mark img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.digimobil-topbar{position:relative;z-index:20;min-height:52px;margin-bottom:18px;display:flex;justify-content:flex-end;align-items:center;gap:14px}
.digimobil-topbar-title{margin-right:auto;display:grid;gap:2px}.digimobil-topbar-title strong{color:var(--green-dark);font-size:1.05rem}.digimobil-topbar-title span{color:var(--muted);font-size:.78rem}
.notification-bell{position:relative;width:46px;height:46px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow);font-size:1.2rem;cursor:pointer}.notification-bell:hover{border-color:var(--green);transform:translateY(-1px)}
.notification-bell b{position:absolute;right:-5px;top:-6px;min-width:22px;height:22px;padding:0 5px;display:grid;place-items:center;border:2px solid #fff;border-radius:999px;background:#e44b4b;color:#fff;font-size:.7rem}
.notification-panel{position:absolute;right:0;top:56px;width:min(390px,calc(100vw - 36px));overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 24px 70px rgba(12,48,28,.22)}
.notification-panel header{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 14px;border-bottom:1px solid var(--line)}.notification-panel header div{display:grid;gap:3px}.notification-panel header small{color:var(--muted)}.notification-panel header button{border:0;background:transparent;font-size:1.7rem;color:var(--muted);cursor:pointer}
.notification-list{display:grid}.notification-list a{display:grid;grid-template-columns:38px 1fr;gap:11px;padding:15px 18px;border-bottom:1px solid #edf2ee;color:inherit;text-decoration:none}.notification-list a:hover{background:var(--green-soft)}.notification-list a>span{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:var(--green-soft)}.notification-list a div{display:grid;gap:4px}.notification-list small{color:var(--muted);line-height:1.35}
.notification-panel footer{display:flex;gap:9px;padding:14px 18px;background:#f7faf8}.notification-panel footer .button{flex:1;width:auto;padding:10px 12px;font-size:.78rem}
@media(max-width:760px){.digimobil-topbar{position:sticky;top:0;margin:-18px -18px 18px;padding:12px 18px;background:rgba(244,247,245,.94);backdrop-filter:blur(12px)}.digimobil-topbar-title span{display:none}.notification-panel{position:fixed;top:72px;right:14px;left:14px;width:auto}.brand-logo-mark{width:52px;height:52px}}

/* DigiMobil Logo-Patch 10.0.34 */
.digimobil-sidebar-brand{display:flex;width:100%;min-height:148px;padding:0;align-items:center;justify-content:center;overflow:hidden;border-radius:18px;background:#0c1712;text-decoration:none}
.digimobil-sidebar-brand img{display:block;width:100%;max-width:215px;height:138px;object-fit:contain}
.digimobil-login-brand-logo{display:flex;justify-content:center;margin:0 0 34px}
.digimobil-login-brand-logo img{display:block;width:min(100%,310px);max-height:210px;object-fit:contain}
.digimobil-login-logo-below-button{display:flex;justify-content:center;margin-top:18px;padding-top:8px}
.digimobil-login-logo-below-button img{display:block;width:min(100%,360px);max-height:250px;object-fit:contain}
@media(max-width:760px){.digimobil-sidebar-brand{min-height:118px}.digimobil-sidebar-brand img{max-width:190px;height:108px}.digimobil-login-brand-logo img,.digimobil-login-logo-below-button img{width:min(100%,285px)}}


/* 10.0.37 – Navigation Professional, Dashboard-Zentrale und Login-Logo */
.sidebar-navigation .nav-section-first{margin-top:4px;border-top:0;padding-top:4px}
.sidebar-navigation .nav-section-separator{margin:20px 0 5px;padding:14px 13px 0}
.sidebar-navigation .nav-section-separator span{font-size:10px;letter-spacing:.14em}

.digimobil-sidebar-brand{min-height:132px;padding:10px;background:#fff;border:1px solid rgba(255,255,255,.18)}
.digimobil-sidebar-brand img{width:100%;max-width:240px;height:auto;max-height:112px;object-fit:contain}
.digimobil-login-brand-logo{margin:0 0 30px}
.digimobil-login-brand-logo img{width:min(100%,520px);max-height:250px;object-fit:contain}
.digimobil-login-logo-below-button{display:none!important}

.dashboard-hub-hero{margin-bottom:26px;padding:28px 30px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(135deg,#fff 0%,#edf7f0 100%);box-shadow:var(--shadow)}
.dashboard-hub-hero h1{margin:6px 0 8px;color:var(--green-dark);font-size:clamp(2rem,4vw,3.2rem)}
.dashboard-hub-hero p{margin:0;color:var(--muted);font-size:1.02rem}
.dashboard-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.dashboard-hub-card{min-height:300px;padding:26px;display:flex;flex-direction:column;gap:22px;border:1px solid var(--line);border-radius:22px;background:#fff;color:inherit;text-decoration:none;box-shadow:var(--shadow);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.dashboard-hub-card:hover{transform:translateY(-4px);border-color:var(--green);box-shadow:0 22px 52px rgba(12,48,28,.16)}
.dashboard-hub-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:18px;background:var(--green-soft);font-size:2rem}
.dashboard-hub-card div{display:grid;gap:10px}
.dashboard-hub-card h2{margin:0;color:var(--green-dark);font-size:1.35rem}
.dashboard-hub-card p{margin:0;color:var(--muted);line-height:1.55}
.dashboard-hub-card>strong{margin-top:auto;color:var(--green);font-size:.95rem}
@media(max-width:1050px){.dashboard-hub-grid{grid-template-columns:1fr}.dashboard-hub-card{min-height:210px}.digimobil-login-brand-logo img{width:min(100%,440px)}}
@media(max-width:760px){.digimobil-sidebar-brand{min-height:96px}.digimobil-sidebar-brand img{max-width:210px;max-height:80px}.digimobil-login-brand-logo img{width:min(100%,350px);max-height:190px}.dashboard-hub-hero{padding:22px}.dashboard-hub-card{min-height:190px;padding:22px}}

/* 10.0.38 – DigiMobil Communication Center */
.chat-launcher-wrap{position:fixed;right:28px;bottom:26px;z-index:90}.chat-launcher{position:relative;width:62px;height:62px;border:0;border-radius:22px;background:linear-gradient(145deg,var(--green),var(--green-dark));color:#fff;font-size:1.65rem;box-shadow:0 18px 42px rgba(9,54,29,.34);cursor:pointer;transition:.18s}.chat-launcher:hover{transform:translateY(-3px) scale(1.03)}.chat-launcher b{position:absolute;right:-5px;top:-6px;min-width:24px;height:24px;padding:0 6px;border:2px solid #fff;border-radius:999px;background:#e44b4b;color:#fff;font-size:.7rem;place-items:center}
.chat-center{position:fixed;right:26px;bottom:100px;z-index:89;width:min(980px,calc(100vw - 52px));height:min(720px,calc(100vh - 130px));overflow:hidden;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 28px 90px rgba(8,42,24,.28)}
.chat-center-header{height:72px;padding:16px 20px;display:flex;justify-content:space-between;align-items:center;background:var(--green-dark);color:#fff}.chat-center-header div{display:grid;gap:3px}.chat-center-header small{color:rgba(255,255,255,.72)}.chat-center-header>button,.chat-team-modal header button{border:0;background:transparent;color:inherit;font-size:1.8rem;cursor:pointer}
.chat-tabs{height:54px;padding:7px 12px;display:flex;gap:8px;border-bottom:1px solid var(--line);background:#f7faf8}.chat-tabs button{flex:1;border:0;border-radius:12px;background:transparent;color:var(--muted);font-weight:800;cursor:pointer}.chat-tabs button.active{background:#fff;color:var(--green-dark);box-shadow:0 5px 16px rgba(12,48,28,.1)}
.chat-layout{height:calc(100% - 126px);display:grid;grid-template-columns:300px 1fr}.chat-channel-list{min-width:0;padding:12px;border-right:1px solid var(--line);background:#fbfdfb;overflow:auto}.chat-list-tools input,.chat-conversation-head input{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:12px}.chat-channel{width:100%;margin-top:8px;padding:12px;display:grid;grid-template-columns:38px 1fr;gap:10px;text-align:left;border:1px solid transparent;border-radius:14px;background:transparent;cursor:pointer}.chat-channel:hover,.chat-channel.active{background:var(--green-soft);border-color:#cfe5d5}.chat-channel>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#fff}.chat-channel div{min-width:0;display:grid;gap:3px}.chat-channel strong,.chat-channel small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-channel small{color:var(--muted)}.chat-create-team{width:100%;margin-top:12px;padding:11px;border:1px dashed var(--green);border-radius:12px;background:#fff;color:var(--green-dark);font-weight:800;cursor:pointer}
.chat-conversation{min-width:0;display:grid;grid-template-rows:auto 1fr auto;background:#f4f7f5}.chat-conversation-head{padding:14px 18px;display:grid;grid-template-columns:1fr minmax(150px,230px);gap:14px;align-items:center;border-bottom:1px solid var(--line);background:#fff}.chat-conversation-head div{display:grid;gap:3px}.chat-conversation-head small{color:var(--muted)}.chat-messages{padding:18px;overflow:auto;scroll-behavior:smooth}.chat-empty{height:100%;display:grid;place-items:center;text-align:center;color:var(--muted)}.chat-empty.compact{height:auto;padding:24px 8px}.chat-error{color:#b62d2d}
.chat-message{max-width:82%;margin:0 0 13px;padding:12px 14px;border:1px solid var(--line);border-radius:16px 16px 16px 5px;background:#fff;box-shadow:0 6px 18px rgba(12,48,28,.06)}.chat-message.own{margin-left:auto;border-radius:16px 16px 5px 16px;background:#eaf6ed}.chat-message.pinned{border-color:#e4b443;box-shadow:inset 4px 0 #e4b443}.chat-message header{display:flex;gap:8px;align-items:center;margin-bottom:7px}.chat-message header time{margin-left:auto;color:var(--muted);font-size:.72rem}.chat-message p{margin:0 0 8px;line-height:1.48;white-space:normal}.chat-message footer{margin-top:9px;display:flex;justify-content:space-between;gap:8px}.chat-message footer button{border:0;border-radius:999px;background:#edf2ee;padding:4px 7px;cursor:pointer}.chat-reactions{display:flex;flex-wrap:wrap;gap:5px}.chat-image{display:block;max-width:min(100%,390px);max-height:280px;border-radius:12px;object-fit:cover}.chat-message audio,.chat-message video{max-width:100%}.chat-file,.chat-location-link{display:inline-flex;margin-top:7px;padding:8px 10px;border-radius:10px;background:#f0f4f1;color:var(--green-dark);text-decoration:none;font-weight:700}
.chat-composer,.chat-news-form{padding:12px 16px;border-top:1px solid var(--line);background:#fff}.chat-composer textarea,.chat-news-form textarea,.chat-news-form input{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:12px;resize:vertical}.chat-composer-actions{margin-top:8px;display:flex;gap:8px;align-items:center}.chat-composer-actions>span{min-width:0;margin-right:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:.78rem}.chat-icon-button{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:11px;background:#fff;cursor:pointer}.chat-news-form{display:grid;gap:9px}.chat-news{margin-bottom:14px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff}.chat-news.pinned{border-color:#e4b443}.chat-news header{display:flex;justify-content:space-between;gap:14px}.chat-news header small{color:var(--muted)}.chat-news p{line-height:1.55}
.chat-modal-backdrop{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:18px;background:rgba(4,24,13,.58)}.chat-team-modal{width:min(560px,100%);max-height:90vh;overflow:auto;padding:20px;display:grid;gap:16px;border-radius:20px;background:#fff}.chat-team-modal header{display:flex;justify-content:space-between;align-items:center}.chat-team-modal header button{color:var(--muted)}.chat-team-modal label{display:grid;gap:6px}.chat-team-modal input,.chat-team-modal textarea{padding:10px 12px;border:1px solid var(--line);border-radius:11px}.chat-user-list{max-height:230px;overflow:auto;display:grid;gap:6px}.chat-user-list label{padding:8px;display:flex;gap:10px;align-items:center;border-radius:10px;background:#f6f9f7}.chat-user-list span{display:grid}.chat-user-list small{color:var(--muted)}
@media(max-width:760px){.chat-launcher-wrap{right:16px;bottom:16px}.chat-launcher{width:56px;height:56px}.chat-center{inset:10px;width:auto;height:auto;border-radius:20px}.chat-center-header{height:64px}.chat-tabs{height:50px}.chat-layout{height:calc(100% - 114px);grid-template-columns:1fr}.chat-channel-list{max-height:34%;border-right:0;border-bottom:1px solid var(--line)}.chat-conversation{min-height:0}.chat-conversation-head{grid-template-columns:1fr}.chat-message{max-width:94%}.chat-composer-actions{flex-wrap:wrap}.chat-composer-actions>span{order:2;width:100%}}


/* 10.0.39 – Communication Center UX */
.chat-center[hidden],.chat-modal-backdrop[hidden],#chatTeamModal[hidden]{display:none!important}
.chat-team-modal-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:4px}
.chat-team-modal-actions .button.secondary{background:#eef3ef;color:var(--green-dark);border:1px solid var(--line)}
.chat-team-modal[aria-busy="true"]{opacity:.72;pointer-events:none}
@media(max-width:560px){.chat-team-modal-actions{flex-direction:column-reverse}.chat-team-modal-actions .button{width:100%}}

/* 10.0.40 – klare Trennung von Chats, News und Systembenachrichtigungen */
.chat-news-form[hidden], .chat-team-modal[hidden], .chat-center[hidden], .chat-modal-backdrop[hidden] { display: none !important; }
.notification-bell b[hidden] { display: none !important; }
.notification-filters { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #f7faf8; }
.notification-filters button { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 7px 10px; color: var(--muted); font-size: .72rem; font-weight: 700; cursor: pointer; }
.notification-filters button.active { border-color: var(--green); background: var(--green-soft); color: var(--green-dark); }
.notification-list { max-height: 430px; overflow-y: auto; }
.notification-list a time { color: var(--muted); font-size: .68rem; }
.notification-item.notification-danger > span { background: #feecec; }
.notification-item.notification-warning > span { background: #fff4d8; }
.notification-item.notification-success > span { background: #e6f7ec; }
.notification-item.notification-info > span { background: #e9f2ff; }
.notification-empty { padding: 26px 18px; text-align: center; color: var(--muted); }
.notification-error { color: #a62929; }


/* Patch 10.0.41 – interaktive Benachrichtigungen */
.notification-settings{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;border-bottom:1px solid var(--line);background:#fbfdfb}.notification-settings>div{display:grid;gap:2px}.notification-settings small{color:var(--muted)}
.notification-switch{min-width:76px;height:34px;display:flex;align-items:center;justify-content:space-between;gap:7px;padding:4px 9px 4px 4px;border:1px solid var(--line);border-radius:999px;background:#e8ece9;color:var(--muted);cursor:pointer;font-size:.72rem}.notification-switch span{width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.18);transition:transform .2s}.notification-switch.active{border-color:var(--green);background:var(--green);color:#fff}.notification-switch.active span{transform:translateX(30px)}.notification-switch:disabled{opacity:.58;cursor:not-allowed}
.notification-list .notification-item{display:block;border-bottom:1px solid #edf2ee;background:#fff}.notification-list .notification-item.is-unread{background:#f1f8f3;border-left:4px solid var(--green)}.notification-list .notification-item.is-read{opacity:.78}.notification-open{width:100%;display:grid;grid-template-columns:38px 1fr;gap:11px;padding:14px 16px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.notification-open:hover{background:var(--green-soft)}.notification-open>span{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:var(--green-soft)}.notification-open div{display:grid;gap:4px}.notification-open small{color:var(--muted);line-height:1.35}.notification-open time{color:var(--muted);font-size:.68rem}
.notification-actions{display:flex;justify-content:flex-end;gap:8px;padding:0 16px 12px 65px}.notification-actions button{border:0;border-radius:8px;padding:7px 10px;cursor:pointer;font-size:.7rem;font-weight:700}.notification-action-open{background:var(--green);color:#fff}.notification-read-toggle{background:#edf2ee;color:var(--green-dark)}
@media(max-width:520px){.notification-settings{align-items:flex-start}.notification-actions{padding-left:16px;justify-content:stretch}.notification-actions button{flex:1}.notification-panel footer{flex-direction:column}.notification-panel footer .button{width:100%}}

/* 10.0.42 Sicherheit & Betrieb */
.filter-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,260px) auto auto;gap:10px;align-items:center;margin-bottom:18px}.warning-panel{border-left:5px solid #d99916;background:#fffaf0}.status-badge{display:inline-block;padding:4px 8px;border-radius:999px;background:var(--green-soft);color:var(--green-dark);font-size:12px;font-weight:800}.table-wrap{overflow:auto}.panel-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}@media(max-width:760px){.filter-row{grid-template-columns:1fr}.page-head{gap:12px}.page-head form{width:100%}.page-head form .button{width:100%}}


/* 10.0.43 Security Center */
.security-status-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.system-info-card.system-card-danger{border-color:#efb7b7;background:#fff5f5}.system-info-card.system-card-warning{border-color:#efd38a;background:#fffaf0}.security-alert{display:flex;gap:12px;align-items:center;justify-content:space-between}.security-alert span{color:var(--muted)}.backup-center-head{align-items:center}.backup-summary{display:grid;gap:2px;text-align:right}.backup-summary span{color:var(--muted);font-size:.78rem}.backup-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}.backup-actions form{margin:0}.button.danger{background:#b83232;color:#fff;border-color:#b83232}.status-badge.status-danger{background:#fee7e7;color:#a82424}.security-user-filter{grid-template-columns:minmax(260px,1fr) auto auto}.table-wrap td small.muted{display:block;margin-top:4px}.system-info-card a{color:var(--green-dark);font-weight:800;text-decoration:none}.system-info-card a:hover{text-decoration:underline}
@media(max-width:1150px){.security-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.security-status-grid{grid-template-columns:1fr}.security-alert{align-items:flex-start;flex-direction:column}.backup-center-head{align-items:flex-start;flex-direction:column}.backup-summary{text-align:left}.backup-actions{flex-direction:column;align-items:stretch}.backup-actions .button,.backup-actions form,.backup-actions form button{width:100%}.security-user-filter{grid-template-columns:1fr}}


/* Einsatzplanung 10.0.44 */
.planning-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-end}.planning-view-switch{display:flex;gap:8px}.planning-toolbar{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:18px;padding:14px 18px}.planning-toolbar form{margin:0}.planning-create{margin-bottom:18px}.planning-create summary{cursor:pointer;font-weight:800;font-size:1.05rem}.planning-form{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px}.planning-form label{display:flex;flex-direction:column;gap:6px}.planning-form .span-2{grid-column:1/-1}.planning-form select[multiple]{min-height:130px}.planning-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;align-items:start}.planning-day{padding:0;overflow:hidden}.planning-day.is-selected{outline:2px solid var(--primary,#2f7d4a)}.planning-day>header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:rgba(47,125,74,.08);border-bottom:1px solid rgba(0,0,0,.08)}.planning-day>header strong,.planning-day>header span{display:block}.planning-day>header span{font-size:.86rem;opacity:.7}.planning-items{padding:10px}.deployment{display:flex;gap:10px;justify-content:space-between;padding:12px;margin-bottom:9px;border:1px solid rgba(0,0,0,.09);border-left:5px solid #64748b;border-radius:10px;background:var(--card-bg,#fff)}.deployment.status-bestätigt{border-left-color:#16a34a}.deployment.status-in-arbeit{border-left-color:#f59e0b}.deployment.status-abgeschlossen{border-left-color:#0ea5e9}.deployment.status-abgesagt{border-left-color:#dc2626;opacity:.7}.deployment-main strong,.deployment-main span,.deployment-main small{display:block}.deployment-main span{margin-top:3px}.deployment-main small{margin-top:5px;opacity:.72}.deployment-main p{margin:8px 0 0;font-size:.9rem}.deployment-actions{display:flex;gap:6px;align-items:flex-start}.deployment-actions form{margin:0}.deployment-actions select{max-width:125px;padding:6px}.icon-button.danger{border:0;background:#fee2e2;color:#991b1b;border-radius:8px;width:32px;height:32px;cursor:pointer}.empty-state{padding:20px;text-align:center;opacity:.6}@media(max-width:760px){.planning-header,.planning-toolbar{align-items:stretch;flex-direction:column}.planning-view-switch{display:grid;grid-template-columns:repeat(3,1fr)}.planning-form{grid-template-columns:1fr}.planning-form .span-2{grid-column:auto}.planning-board{grid-template-columns:1fr}.deployment{flex-direction:column}.deployment-actions{justify-content:space-between}}

/* DigiMobil 10.0.45 - read-only deployment widgets */
.dashboard-deployment-widget{margin:20px 0}.deployment-widget-head{align-items:flex-start}.deployment-widget-head p{margin:5px 0 0}.deployment-widget-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.deployment-widget-tabs,.deployment-widget-period{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.deployment-widget-period strong{min-width:150px;text-align:center;color:var(--green-dark)}.deployment-widget-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.deployment-widget-summary span{padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#f7faf8;color:var(--muted);font-size:.82rem}.deployment-widget-summary strong{display:block;color:var(--green-dark);font-size:1.2rem}.deployment-widget-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-top:16px}.deployment-widget-days.is-month{grid-template-columns:repeat(3,minmax(0,1fr))}.deployment-widget-day{min-width:0;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.deployment-widget-day>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;background:#f3f8f5;border-bottom:1px solid var(--line)}.deployment-widget-day>header strong,.deployment-widget-day>header span{display:block}.deployment-widget-day>header span{font-size:.76rem;color:var(--muted)}.deployment-widget-list{display:flex;flex-direction:column}.deployment-widget-item{padding:12px;border-bottom:1px solid #edf2ef}.deployment-widget-item:last-child{border-bottom:0}.deployment-widget-item-main{display:flex;gap:9px}.deployment-widget-item-main strong,.deployment-widget-item-main span,.deployment-widget-item-main small{display:block}.deployment-widget-item-main span{margin-top:2px;color:#355347;font-size:.84rem}.deployment-widget-item-main small{margin-top:4px;color:var(--muted);font-size:.74rem;line-height:1.35}.deployment-status-dot{flex:0 0 9px;width:9px;height:9px;margin-top:5px;border-radius:50%;background:#5c9272}.status-geplant .deployment-status-dot{background:#2f7d4a}.status-bestätigt .deployment-status-dot{background:#d3a72f}.status-in-arbeit .deployment-status-dot{background:#3478c7}.status-abgeschlossen .deployment-status-dot{background:#86938c}.status-abgesagt .deployment-status-dot{background:#bd4b43}.deployment-widget-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:10px;padding-left:18px;font-size:.76rem}.deployment-widget-actions a{font-weight:700}.deployment-widget-actions .workflow-badge{padding:4px 8px;font-size:.68rem}.deployment-widget-empty{padding:16px;margin:0}.deployment-mode-employee .deployment-widget-days{grid-template-columns:repeat(7,minmax(0,1fr))}
@media(max-width:1180px){.deployment-widget-days,.deployment-mode-employee .deployment-widget-days{grid-template-columns:repeat(3,minmax(0,1fr))}.deployment-widget-days.is-month{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.deployment-widget-head,.deployment-widget-toolbar{align-items:stretch;flex-direction:column}.deployment-widget-tabs{display:grid;grid-template-columns:repeat(3,1fr)}.deployment-widget-tabs .filter-chip{text-align:center}.deployment-widget-period{justify-content:space-between}.deployment-widget-summary{grid-template-columns:repeat(2,1fr)}.deployment-widget-days,.deployment-widget-days.is-month,.deployment-mode-employee .deployment-widget-days{grid-template-columns:1fr}.deployment-widget-day{min-width:100%}}

/* Projektverwaltung 2.0 */
.project-status-tabs{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:.75rem;margin:0 0 1.25rem}.project-status-tab{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.5rem;padding:1rem;border:1px solid var(--border,#dfe7e1);border-radius:14px;background:#fff;text-decoration:none;color:inherit}.project-status-tab.active{border-color:#2f7d4a;box-shadow:0 0 0 2px rgba(47,125,74,.12)}.project-status-tab small{font-weight:800;background:#eef6f0;padding:.2rem .5rem;border-radius:999px}.project-search-form{display:flex;gap:.75rem;align-items:end;flex-wrap:wrap}.project-search-form label{flex:1;min-width:260px}.project-management-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}.project-management-card{border:1px solid #dfe7e1;border-left:6px solid #8b9b90;border-radius:14px;padding:1rem;background:#fff}.project-management-card.status-geplant{border-left-color:#3b82f6}.project-management-card.status-begonnen{border-left-color:#eab308}.project-management-card.status-abgeschlossen{border-left-color:#22c55e}.project-management-card.status-archiviert{border-left-color:#64748b}.project-management-card.status-papierkorb{border-left-color:#ef4444}.project-card-head{display:flex;justify-content:space-between;gap:.75rem;align-items:center}.project-number{font-weight:800;color:#2f7d4a}.project-management-card dl{display:grid;gap:.45rem;margin:1rem 0}.project-management-card dl div{display:flex;justify-content:space-between;gap:1rem}.project-management-card dt{color:#6b7280}.project-management-card dd{margin:0;text-align:right;font-weight:650}@media(max-width:900px){.project-status-tabs{grid-template-columns:repeat(2,1fr)}}

/* Patch 10.0.48 - Projekt-Navigation und aufgeräumte Projektübersicht */
.project-overview-panel{overflow:visible}
.project-management-grid{grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:1rem}
.project-management-card{display:flex;flex-direction:column;min-height:300px;padding:1.25rem 1.35rem;overflow:hidden}
.project-card-main{margin-top:1.15rem}
.project-card-main h3{margin:0 0 .45rem;font-size:1.18rem;color:var(--green-dark)}
.project-customer{margin:0;color:var(--ink);font-size:1rem}
.project-card-facts{display:grid;grid-template-columns:minmax(180px,1.45fr) minmax(140px,1fr) minmax(90px,.6fr);gap:1rem;margin:1.35rem 0 1.15rem;padding:1rem 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.project-card-facts div{display:grid;align-content:start;gap:.35rem;min-width:0}
.project-card-facts span{font-size:.78rem;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.045em}
.project-card-facts strong{font-size:.95rem;line-height:1.35;color:var(--ink);overflow-wrap:anywhere}
.project-card-actions{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;margin-top:auto}
.project-card-actions form{margin:0;display:inline-flex}
.project-card-actions .button{white-space:nowrap}
.project-create-panel{max-width:1050px}
.project-create-form{margin-top:1.25rem}
.project-create-actions{display:flex;gap:.75rem;align-items:center}
@media(max-width:900px){.project-management-grid{grid-template-columns:1fr}.project-card-facts{grid-template-columns:1fr 1fr}.project-card-facts div:first-child{grid-column:1/-1}}
@media(max-width:600px){.project-management-card{min-height:0;padding:1rem}.project-card-facts{grid-template-columns:1fr}.project-card-facts div:first-child{grid-column:auto}.project-card-actions{display:grid;grid-template-columns:1fr 1fr}.project-card-actions .button,.project-card-actions form,.project-card-actions form .button{width:100%;justify-content:center;text-align:center}.project-create-actions{display:grid;grid-template-columns:1fr}.project-create-actions .button{width:100%;text-align:center}}


/* Patch 10.0.62 – Arbeit & Erfassung: Projektbasierter Berichtsstart */
.report-project-picker{margin-bottom:20px;overflow:visible}
.report-project-picker-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.report-project-picker-head h1{margin:.2rem 0 .35rem;color:var(--green-dark);font-size:clamp(1.55rem,2.4vw,2.2rem)}
.report-project-count{min-width:42px;height:42px;display:grid;place-items:center;border-radius:999px;background:var(--green-soft);color:var(--green-dark);font-weight:900}
.report-project-group{margin-top:22px}
.report-project-group>h2{margin:0 0 12px;font-size:1rem;color:var(--green-dark)}
.report-project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}
.report-project-card{display:flex;flex-direction:column;gap:9px;padding:18px;border:1px solid var(--line);border-left:5px solid var(--green);border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(12,48,28,.05)}
.report-project-card.is-selected{outline:2px solid rgba(35,145,78,.22);background:#fbfefc}
.report-project-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.report-project-number{font-size:.78rem;font-weight:900;letter-spacing:.03em;color:var(--green)}
.report-project-card h3{margin:0;color:var(--green-dark);font-size:1.08rem}
.report-project-card p{margin:0;color:var(--muted)}
.report-project-meta{display:grid;gap:5px;margin:4px 0 8px;color:#456255;font-size:.82rem}
.report-project-card .button{margin-top:auto;width:100%;text-align:center;justify-content:center}
.report-project-done{padding:9px 11px;border-radius:11px;background:#e7f7ec;color:#176b36;font-weight:800;font-size:.82rem}
.report-project-empty{padding:26px;border:1px dashed var(--line);border-radius:14px;text-align:center;color:var(--muted)}
.report-project-empty strong{display:block;color:var(--green-dark);margin-bottom:4px}
@media(max-width:680px){.report-project-picker{padding:16px}.report-project-picker-head{align-items:center}.report-project-grid{grid-template-columns:1fr}.report-project-card{padding:15px}}

/* Patch 10.0.63 - Berichtserstellung: Projektsuche und Erfassungsdesign */
.report-project-tools{display:grid;gap:12px;margin:18px 0 8px;padding:16px;border:1px solid #dce9e1;border-radius:16px;background:linear-gradient(135deg,#f8fcf9,#fff)}
.report-project-search{display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid #cedfd4;border-radius:13px;background:#fff;box-shadow:0 6px 18px rgba(18,68,40,.05)}
.report-project-search>span{font-size:1.35rem;color:var(--green);font-weight:900}
.report-project-search input{width:100%;margin:0!important;padding:13px 0;border:0!important;outline:0;background:transparent;font-size:1rem;box-shadow:none!important}
.report-project-filter-chips{display:flex;flex-wrap:wrap;gap:8px}
.report-project-filter-chips button{padding:9px 13px;border:1px solid #d5e3da;border-radius:999px;background:#fff;color:#446153;font-weight:800;cursor:pointer;transition:.18s ease}
.report-project-filter-chips button:hover,.report-project-filter-chips button.is-active{border-color:var(--green);background:var(--green-soft);color:var(--green-dark);transform:translateY(-1px)}
.report-project-search-empty{margin:0;padding:12px;border-radius:11px;background:#fff8e8;color:#76570a;font-weight:750}
.report-project-card[hidden],.report-project-group[hidden]{display:none!important}

.report-capture-progress{position:sticky;top:10px;z-index:12;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 4px;padding:10px;border:1px solid #d9e7de;border-radius:16px;background:rgba(255,255,255,.94);box-shadow:0 10px 30px rgba(17,65,38,.08);backdrop-filter:blur(10px)}
.report-capture-progress a{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 8px;border-radius:11px;color:#456052;font-size:.8rem;font-weight:850;text-decoration:none;transition:.18s ease}
.report-capture-progress a:hover{background:var(--green-soft);color:var(--green-dark)}
.report-capture-progress span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e5f3e9;color:var(--green-dark);font-size:.72rem}

.dm-report-form-card .report-entry-card{position:relative;margin-top:14px;padding:clamp(18px,2.4vw,28px)!important;border:1px solid #dce8e0!important;border-radius:20px!important;background:linear-gradient(180deg,#fff,#fbfdfb)!important;box-shadow:0 12px 34px rgba(17,65,38,.07);scroll-margin-top:95px;overflow:hidden}
.dm-report-form-card .report-entry-card:before{content:attr(data-step);position:absolute;top:14px;right:18px;color:#e5efe8;font-size:2rem;font-weight:950;line-height:1}
.dm-report-form-card .report-entry-card>.panel-head{position:relative;z-index:1;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid #e4eee7}
.dm-report-form-card .report-entry-card .eyebrow{color:var(--green);font-weight:900;letter-spacing:.08em}
.dm-report-form-card .report-entry-card h2{color:var(--green-dark);font-size:clamp(1.15rem,2vw,1.45rem)}
.dm-report-form-card .report-entry-card .report-compact-hint{max-width:760px;line-height:1.5}
.report-entry-card-title{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #e5eee8}
.report-entry-card-title h2{margin:.25rem 0 0}
.report-remarks-card label{display:block;padding:0!important;border:0!important;background:transparent!important}
.report-remarks-card textarea{min-height:130px;resize:vertical}

.dm-report-form-card .report-item-section{gap:10px}
.dm-report-form-card .report-item-row{border-color:#dce7e0;background:#fff;box-shadow:0 5px 14px rgba(19,63,39,.04)}
.dm-report-form-card .report-item-row:hover{border-color:#bcd5c5;box-shadow:0 8px 20px rgba(19,63,39,.07)}
.dm-report-form-card .section-subtitle{display:flex;align-items:center;gap:8px;margin:22px 0 10px;color:#294a38;font-size:.95rem}
.dm-report-form-card .section-subtitle:before{content:none;display:none}
.dm-report-form-card .add-report-row{margin-top:12px;border-style:dashed}
.report-resource-subcard{margin-top:0!important}

.report-photo-card #photo-rows{display:grid;gap:12px}
.report-photo-card .photo-row{padding:12px;border:1px solid #dce8e0;border-radius:14px;background:#fff}
.report-photo-card #add-photo{min-width:130px}
.report-signature-section{display:grid!important;grid-template-columns:1fr 1fr;gap:18px;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important}
.report-signature-section:before{display:none}
.report-signature-section .signature-card{margin:0;background:linear-gradient(180deg,#fff,#fbfdfb)!important}
.report-save-bar{position:sticky;bottom:12px;z-index:15;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding:14px 16px;border:1px solid #cfe2d5;border-radius:17px;background:rgba(255,255,255,.95);box-shadow:0 16px 42px rgba(12,52,29,.17);backdrop-filter:blur(12px)}
.report-save-bar>div{display:grid;gap:2px}.report-save-bar>div strong{color:var(--green-dark)}.report-save-bar>div span{color:var(--muted);font-size:.82rem}
.report-save-bar .submit-button{margin:0!important;min-width:190px;justify-content:center}

@media(max-width:900px){
  .report-capture-progress{grid-template-columns:1fr 1fr;position:relative;top:auto}
  .report-signature-section{grid-template-columns:1fr}
  .report-save-bar{bottom:8px}
}
@media(max-width:620px){
  .report-project-tools{padding:12px}
  .report-project-filter-chips{display:grid;grid-template-columns:1fr 1fr}
  .report-project-filter-chips button{width:100%}
  .report-capture-progress{grid-template-columns:1fr 1fr;padding:7px}
  .report-capture-progress a{justify-content:flex-start;font-size:.72rem;padding:8px 6px}
  .dm-report-form-card .report-entry-card{padding:16px!important;border-radius:16px!important}
  .report-save-bar{position:relative;bottom:auto;display:grid;padding:14px}
  .report-save-bar .submit-button{width:100%;min-width:0}
}

/* Patch 10.0.64 - einheitliche Leerhinweise in der Berichtserfassung */
.report-empty-message{font-size:.68rem;line-height:1.5;margin:0;max-width:760px}

/* Patch 10.0.67 – fortlaufende Berichtsdokumentation */
.service-progress-head,.service-progress-row{grid-template-columns:minmax(220px,2fr) minmax(180px,1.5fr) minmax(120px,.8fr) minmax(120px,.8fr) 42px!important}
.material-ledger-head,.material-entry-row{grid-template-columns:minmax(220px,2fr) 110px 110px minmax(180px,1.4fr) 42px!important}
.resource-location-head,.resource-location-row{grid-template-columns:minmax(220px,1.6fr) minmax(180px,1.4fr) minmax(230px,1.2fr) 42px!important}
.completion-check{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid var(--border,#d9e2dc);border-radius:10px;background:#fff;font-size:.9rem;font-weight:700}
.completion-check.partial:has(input:checked){background:#fff3df;border-color:#e79b2f;color:#8b5200}.completion-check.complete:has(input:checked){background:#e8f6ed;border-color:#4c9b68;color:#1d6b38}
.report-ledger-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;margin:8px 0;border:1px solid #dce5df;border-radius:12px;background:#f4f7f5}.report-ledger-row.is-locked{opacity:.96}.report-ledger-origin{display:block;margin-top:5px;color:#66736b;font-weight:500}.report-ledger-state{font-weight:800;color:#43564a;white-space:nowrap}
.report-save-actions{display:flex;gap:10px;flex-wrap:wrap}.report-material-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.report-material-total-grid article{display:flex;justify-content:space-between;gap:12px;padding:13px 15px;border:1px solid #dce5df;border-radius:12px;background:#f7faf8}.report-material-total-grid span{font-weight:800;color:#2f7d4a}
@media(max-width:850px){.service-progress-head,.material-ledger-head,.resource-location-head{display:none!important}.service-progress-row,.material-entry-row,.resource-location-row{display:grid!important;grid-template-columns:1fr!important}.report-ledger-row{align-items:flex-start;flex-direction:column}.report-ledger-state{white-space:normal}}

/* Patch 10.0.68 - Material-Soll/Ist und Geräte-Schlüssel */
.material-progress-row{grid-template-columns:minmax(240px,2fr) minmax(120px,1fr) minmax(210px,1.2fr) minmax(90px,.7fr) minmax(160px,1fr) 24px;align-items:center}
.material-progress-row.is-complete{opacity:.75;background:var(--surface-muted,#f3f6f4)}
.material-progress-bar{height:9px;background:#e5e9e6;border-radius:999px;overflow:hidden}.material-progress-bar i{display:block;height:100%;background:#2f855a;border-radius:inherit}
.material-choice{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.material-choice label{display:flex;gap:7px;align-items:center;margin:0;font-weight:700}
.device-key-box{display:grid;gap:7px}.device-key-box label{display:flex;align-items:center;gap:7px;margin:0}.device-key-location{min-width:210px}
@media(max-width:900px){.material-progress-row{grid-template-columns:1fr}.device-key-location{min-width:0;width:100%}}


/* Patch 10.0.69 - Berichtserfassung: erledigte Leistungen und Material-Teilmenge */
.material-progress-row{display:grid!important;grid-template-columns:minmax(280px,2fr) minmax(190px,auto) minmax(200px,1fr)!important;gap:14px;align-items:center}
.material-progress-row .material-main{min-width:0}
.material-progress-row .material-balance{display:block;margin-top:5px;font-size:.92rem;line-height:1.45;color:var(--text-muted,#5f6b66)}
.material-progress-row .material-progress-bar{margin-top:9px}
.material-progress-row .material-note{width:100%;min-width:0}
.material-partial-summary{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;margin:14px 0;background:var(--surface-muted,#f3f6f4);border-radius:12px}
.material-partial-summary span{color:var(--text-muted,#5f6b66)}
#material-partial-quantity{font-size:1.1rem}
@media(max-width:900px){.material-progress-row{grid-template-columns:1fr!important}.material-progress-row .material-choice{justify-content:flex-start}}

/* Patch 10.0.70 - Teilmengen-Modal und direkte Soll/Ist-Aktualisierung */
.material-partial-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:transparent;padding:0}
.material-partial-summary-grid>div{display:grid;gap:4px;padding:12px 14px;background:var(--surface-muted,#f3f6f4);border-radius:12px}
.material-partial-summary-grid strong{font-size:1.05rem}
.material-partial.is-selected{background:#fff3df;border-color:#e79b2f;color:#8b5200}
.material-progress-row.has-current-usage .material-balance{color:#1f6f3e;font-weight:700}
@media(max-width:650px){.material-partial-summary-grid{grid-template-columns:1fr}}

/* Patch 10.0.71 - Materialwerte unter dem Namen und echtes Teilmengen-Modal */
.material-progress-row .material-main {
  width: 100%;
  min-width: 0;
}

.material-progress-row .locked-value {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-items: start !important;
  justify-items: stretch;
  gap: 4px;
  width: 100%;
}

.material-progress-row .locked-value > strong {
  display: block;
  width: 100%;
  line-height: 1.35;
}

.material-progress-row .material-balance {
  display: block !important;
  width: 100%;
  margin-top: 2px;
  white-space: normal;
}

#material-partial-modal[hidden] {
  display: none !important;
}

#material-partial-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 30000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  isolation: isolate;
}

#material-partial-modal .dm-project-modal__backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 0;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#material-partial-modal .dm-project-modal__dialog {
  position: relative !important;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  margin: auto;
  padding: 26px;
  border: 1px solid var(--line, #dce4df);
  border-radius: 18px;
  background: var(--panel, #ffffff);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

#material-partial-modal .dm-project-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 650px) {
  #material-partial-modal {
    align-items: flex-end;
    padding: 12px;
  }

  #material-partial-modal .dm-project-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 20px;
    border-radius: 18px 18px 12px 12px;
  }

  #material-partial-modal .dm-project-modal__actions {
    flex-direction: column-reverse;
  }

  #material-partial-modal .dm-project-modal__actions .button {
    width: 100%;
  }
}

/* Patch 10.0.74 - Entwurfsstatus auf den Projektkarten */
.report-project-draft {
  padding: 9px 11px;
  border: 1px solid #efd17a;
  border-radius: 11px;
  background: #fff7d6;
  color: #8a5a00;
  font-weight: 800;
  font-size: .82rem;
}

.report-project-card .report-draft-button {
  border-color: #d8a619;
  background: #f4c542;
  color: #4c3600;
  font-weight: 800;
}

.report-project-card .report-draft-button:hover,
.report-project-card .report-draft-button:focus-visible {
  background: #e8b82f;
  color: #3e2b00;
}

/* Patch 10.0.78 - Office-Prüfung und Druckansicht */
.report-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 760px) {
  .report-detail-head {
    align-items: stretch;
  }

  .report-detail-actions {
    justify-content: stretch;
  }

  .report-detail-actions .button {
    flex: 1 1 100%;
    text-align: center;
  }
}

@media print {
  @page {
    size: A4;
    margin: 14mm;
  }

  html,
  body {
    background: #fff !important;
  }

  body {
    color: #111 !important;
    font-size: 10.5pt;
  }

  .sidebar,
  .topbar,
  .mobile-menu-toggle,
  .role-view-warning,
  .flash-messages,
  .no-print,
  button,
  .button {
    display: none !important;
  }

  .layout,
  .main,
  .content,
  main {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .page-head,
  .panel,
  .stats article,
  .report-sections article,
  .workflow-summary,
  .workflow-history {
    break-inside: avoid;
    box-shadow: none !important;
  }

  .page-head {
    margin-bottom: 12mm;
    padding-bottom: 5mm;
    border-bottom: 2px solid #1d5f3d;
  }

  .panel,
  .workflow-summary,
  .workflow-history,
  .stats article,
  .report-sections article {
    border: 1px solid #cfd8d2 !important;
    background: #fff !important;
  }

  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .photo-gallery figure,
  .signature-display-grid article,
  table,
  tr,
  img {
    break-inside: avoid;
  }

  a {
    color: inherit !important;
    text-decoration: none !important;
  }

  pre {
    white-space: pre-wrap !important;
    overflow: visible !important;
  }
}

/* Patch 10.0.79 - Korrigierte Berichte im Office */
.workflow-korrigierter-bericht {
  background: #fff0dc;
  color: #a95700;
  border-color: #f0c382;
}

.office-kpis-modern .office-kpi-corrected:before {
  background: #e88922;
}

.office-kpi-corrected strong {
  color: #a95700;
}

/* Patch 10.0.82 - Geräteschlüssel lesbar und Berichtserstellung aufgeräumt */
.resource-location-row .device-key-box {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(220px, auto) minmax(260px, 1fr);
  align-items: center;
  gap: 10px 16px;
  margin-top: 2px;
  padding: 12px 14px;
  border: 1px solid var(--border, #d9e2dc);
  border-radius: 12px;
  background: var(--surface-muted, #f6f8f7);
}

.resource-location-row .device-key-box label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: 100%;
  min-width: 0;
  margin: 0;
  white-space: normal;
}

.resource-location-row .device-key-box label span {
  display: block;
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.resource-location-row .device-key-box .device-key-location {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 760px) {
  .resource-location-row .device-key-box {
    grid-template-columns: 1fr;
  }
}



/* Patch 10.0.84 - Projektberichtsvorgaben, Verfügbarkeit und Projekttermine */
.project-report-requirements {
  margin-top: 8px;
  padding: 18px;
  border: 1px solid var(--border, #d9e2dc);
  border-radius: 16px;
  background: var(--surface-muted, #f7f9f8);
}
.project-report-check {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  margin: 12px 0 16px;
}
.project-report-check input { width: auto; margin-top: 4px; }
.project-report-check span { display: grid; gap: 3px; }
.project-report-limits {
  display: grid;
  grid-template-columns: repeat(4, minmax(145px, 1fr));
  gap: 12px;
}
.project-report-type-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.report-type-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  border: 0 !important;
}
.report-type-button small { opacity: .85; font-weight: 800; }
.report-type-interim { background: #2563eb !important; color: #fff !important; }
.report-type-final { background: #168449 !important; color: #fff !important; }
.report-type-control { background: #c93f3f !important; color: #fff !important; }
.report-type-maintenance { background: #e88922 !important; color: #fff !important; }
.report-type-inspection { background: #7550b8 !important; color: #fff !important; }
.report-type-service { background: #435466 !important; color: #fff !important; }
.report-type-disabled {
  background: #e9eeeb !important;
  color: #6d7771 !important;
  cursor: not-allowed;
}
.report-project-empty-types { color: var(--muted, #6c7771); font-size: .9rem; }

.pro-assignment-dialog {
  max-height: min(88vh, 820px);
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
}
.pro-assignment-form-scroll {
  min-height: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.pro-assignment-form-body {
  min-height: 0;
  overflow-y: auto;
  padding-right: 5px;
}
.pro-assignment-sticky-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  flex-shrink: 0;
  margin: 12px -4px -4px;
  padding: 14px 4px 4px;
  border-top: 1px solid var(--border, #d9e2dc);
  background: var(--panel, #fff);
}

.report-timing-notice {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 800;
}
.report-timing-notice.is-early {
  border: 1px solid #9dd5b5;
  background: #eaf8ef;
  color: #17683b;
}
.report-timing-notice.is-delay {
  border: 1px solid #efbd7e;
  background: #fff1df;
  color: #995000;
}

@media (max-width: 850px) {
  .project-report-limits { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
}
@media (max-width: 560px) {
  .project-report-limits { grid-template-columns: 1fr; }
  .project-report-type-buttons { flex-direction: column; }
  .report-type-button { width: 100%; }
  .pro-assignment-sticky-actions { flex-direction: column-reverse; }
  .pro-assignment-sticky-actions .button { width: 100%; }
}


/* Patch 10.0.85 - Nur Zwischen- und Endberichte */
.project-report-requirements {
  display: none !important;
}

.report-type-interim {
  background: #2563eb !important;
  color: #fff !important;
}

.report-type-final {
  background: #168449 !important;
  color: #fff !important;
}

.project-status-projektverzug,
.status-project-delay {
  background: #fff0dc;
  color: #9a5200;
  border-color: #efbd7e;
}


/* Patch 10.0.87 - Berichtformular erst nach Berichtstyp-Auswahl */
.report-form-hidden {
  display: none !important;
}


/* Patch 10.0.88 - Vollständige Korrekturmaske */
.edit-additional-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border, #d8e1dc);
}

.edit-additional-block .section-subtitle {
  margin: 0 0 10px;
}

.edit-additional-block > .button {
  margin-top: 10px;
}

.edit-additional-row {
  margin-top: 8px;
  padding: 12px;
  border: 1px dashed #aac6b5;
  border-radius: 12px;
  background: #f7fbf8;
}

.edit-additional-row .edit-remove-added-row {
  align-self: center;
}

@media (max-width: 850px) {
  .edit-additional-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .edit-additional-row > * {
    width: 100%;
    min-width: 0;
  }
}


/* Patch 10.0.89 - Vorhandene Einträge in Korrektur löschen */
.delete-existing-item {
  margin-left: auto;
}

.existing-item-marked-for-delete {
  position: relative;
  opacity: .48;
  background: #fff3f3 !important;
  border-color: #e2a3a3 !important;
}

.existing-item-marked-for-delete::after {
  content: "Wird beim Speichern gelöscht";
  position: absolute;
  inset: 8px 10px auto auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #b42318;
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
}

#delete-existing-item-modal[hidden] {
  display: none !important;
}

#delete-existing-item-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 32000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#delete-existing-item-modal .dm-project-modal__backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, .68);
}

#delete-existing-item-modal .dm-project-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  padding: 24px;
  border-radius: 18px;
  background: var(--panel, #fff);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
}

@media (max-width: 650px) {
  .delete-existing-item {
    width: 100%;
    margin-left: 0;
  }
}


/* Patch 10.0.91 - Entfernen-Button für vorhandene Korrekturpositionen */
.edit-remove-existing-row {
  margin-left: auto;
  flex: 0 0 auto;
}

@media (max-width: 850px) {
  .edit-remove-existing-row {
    width: 100%;
    margin-left: 0;
  }
}


/* Patch 10.0.92 - DigiMobil-Löschdialog */
#delete-existing-item-modal[hidden] {
  display: none !important;
}

#delete-existing-item-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 34000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

#delete-existing-item-modal .dm-project-modal__backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, .68);
  backdrop-filter: blur(2px);
}

#delete-existing-item-modal .delete-existing-dialog {
  position: relative;
  z-index: 1;
  width: min(500px, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(180, 35, 24, .18);
  border-radius: 20px;
  background: var(--panel, #fff);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
}

#delete-existing-item-modal .dm-project-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

#delete-existing-item-modal .dm-project-modal__head h2 {
  margin: 2px 0 0;
}

#delete-existing-item-modal .dm-project-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 560px) {
  #delete-existing-item-modal {
    align-items: flex-end;
    padding: 12px;
  }

  #delete-existing-item-modal .delete-existing-dialog {
    width: 100%;
    border-radius: 20px 20px 14px 14px;
  }

  #delete-existing-item-modal .dm-project-modal__actions {
    flex-direction: column-reverse;
  }

  #delete-existing-item-modal .dm-project-modal__actions .button {
    width: 100%;
  }
}


/* Patch 10.0.93 - Geräteschlüssel als Checkbox vor Ablageort */
.device-key-checkbox,
.device-key-box label {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--border, #d8e1dc);
  border-radius: 11px;
  background: var(--surface-muted, #f7f9f8);
  font-weight: 800;
  white-space: normal;
}

.device-key-checkbox input[type="checkbox"],
.device-key-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
}

.device-key-checkbox span,
.device-key-box label span {
  min-width: 0;
  overflow: visible;
  white-space: normal;
}


/* Patch 10.0.94 - Geräte: Verbleib breit, Schlüsselsteuerung darunter */
.resource-location-row .device-location-select,
.edit-additional-row .device-location-select {
  width: 100%;
  min-width: 0;
}

.resource-location-row .device-key-controls,
.edit-additional-row .device-key-controls,
.device-key-controls {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  align-items: center;
  gap: 10px 14px;
  width: 100%;
  min-width: 0;
  margin-top: 4px;
}

.device-key-controls .device-key-box,
.device-key-controls .device-key-checkbox {
  width: 100%;
  min-width: 0;
}

.device-key-controls .device-key-location,
.device-key-controls .edit-device-key-location {
  width: 100%;
  min-width: 0;
}

@media (max-width: 820px) {
  .resource-location-row .device-key-controls,
  .edit-additional-row .device-key-controls,
  .device-key-controls {
    grid-template-columns: 1fr;
  }
}


/* Patch 10.0.95 - Unterschriften und Löschsymbole */
.danger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #d64545;
  border-radius: 10px;
  background: #fff2f2;
  color: #b42318;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.danger-icon:hover,
.danger-icon:focus-visible {
  background: #b42318;
  color: #fff;
  border-color: #b42318;
}

#edit-signatures .signature-pad {
  width: 100%;
  min-height: 190px;
  border: 1px solid var(--border, #d8e1dc);
  border-radius: 14px;
  background: #fff;
  touch-action: none;
  cursor: crosshair;
}

@media (max-width: 650px) {
  .danger-icon {
    width: 42px !important;
    min-width: 42px;
  }
}


/* Patch 10.0.96 - korrekter Berichtsstatus unter Aktuell laufend */
.report-project-current-status {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  margin: 10px 0 4px;
  padding: 10px 12px;
  border: 1px solid var(--border, #d8e1dc);
  border-radius: 12px;
  background: #f7f9f8;
  color: #3d4a43;
}

.report-project-current-status .status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.report-project-current-status .report-status-link {
  margin-left: auto;
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
}

.report-status-none { color: #69766f; background: #f7f9f8; }
.report-status-draft { color: #9a6500; background: #fff7d9; border-color: #ead27a; }
.report-status-new { color: #1f5fa8; background: #eaf3ff; border-color: #9fc3ee; }
.report-status-corrected { color: #a95700; background: #fff0dc; border-color: #f0c382; }
.report-status-review { color: #6b46a8; background: #f3edff; border-color: #c7b4eb; }
.report-status-correction { color: #a62b2b; background: #fff0f0; border-color: #e6a4a4; }
.report-status-approved { color: #17683b; background: #eaf8ef; border-color: #9dd5b5; }
.report-status-archived { color: #59645e; background: #eef1ef; border-color: #c7cfca; }

@media (max-width: 620px) {
  .report-project-current-status { flex-wrap: wrap; }
  .report-project-current-status .report-status-link {
    width: 100%;
    margin-left: 19px;
  }
}


/* Patch 10.0.97 - Status identisch zur Berichtsverwaltung */
.report-project-card-head .report-mgmt-badge {
  position: static;
  justify-self: auto;
  margin-left: auto;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 900;
  white-space: nowrap;
}

.report-project-card-head .status-entwurf {
  background: #fff4c7;
  color: #715800;
}

.report-project-card-head .status-gesendet {
  background: #e7f1ff;
  color: #195aa0;
}

.report-project-card-head .status-in_pruefung {
  background: #fff0dc;
  color: #9a5300;
}

.report-project-card-head .status-freigegeben {
  background: #e5f7eb;
  color: #176b36;
}

.report-project-card-head .status-korrektur {
  background: #ffe7e5;
  color: #9b2f27;
}

.report-project-card-head .status-archiviert {
  background: #eceff1;
  color: #45515a;
}

.report-project-card-head .status-none {
  background: #f0f3f1;
  color: #59645e;
}

.report-project-filter-chips button {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}


/* Patch 10.0.98 - Office-Bericht öffnen und Filter-Fix */
.report-project-filter-chips,
.report-project-filter-chips button {
  position: relative;
  z-index: 5;
}

.report-project-filter-chips button {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.report-project-card-head .report-mgmt-badge {
  position: static;
  margin-left: auto;
}


/* Patch 10.0.99 - vollständige Berichtansicht und Projektfilter */
.report-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.report-detail-items {
  display: grid;
  gap: 10px;
}

.report-detail-item {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--border, #d8e1dc);
  border-radius: 12px;
  background: var(--surface-muted, #f7f9f8);
}

.detail-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.detail-list > div {
  display: grid;
  grid-template-columns: minmax(130px, .7fr) minmax(0, 1.3fr);
  gap: 12px;
}

.detail-list dt {
  font-weight: 800;
}

.detail-list dd {
  margin: 0;
}

.report-project-filter-chips,
.report-project-filter-chips button {
  position: relative;
  z-index: 20;
}

.report-project-filter-chips button {
  pointer-events: auto !important;
  cursor: pointer !important;
}

@media (max-width: 760px) {
  .report-detail-grid {
    grid-template-columns: 1fr;
  }
}


/* Patch 10.1.00 - Office-Workflow und Berichtsdaten */
.report-master-data-grid > .panel {
  min-width: 0;
  overflow: hidden;
}

.report-master-data-grid .detail-list > div {
  min-width: 0;
}

.report-master-data-grid .detail-list dd {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.page-actions .inline-form {
  display: inline-flex;
  margin: 0;
}

.button.warning {
  background: #fff0dc;
  border-color: #efbd7e;
  color: #9a5200;
}

.button.success {
  background: #e8f7ed;
  border-color: #9bd3ad;
  color: #176b36;
}

#request-correction-dialog[hidden] {
  display: none !important;
}

#request-correction-dialog {
  position: fixed;
  inset: 0;
  z-index: 35000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#request-correction-dialog .dm-project-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .68);
}

#request-correction-dialog .office-correction-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 24px;
  border-radius: 20px;
  background: var(--panel, #fff);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
}

#request-correction-dialog textarea {
  width: 100%;
  resize: vertical;
}

@media (max-width: 760px) {
  .page-actions,
  .page-actions .inline-form,
  .page-actions .button {
    width: 100%;
  }

  #request-correction-dialog {
    align-items: flex-end;
    padding: 12px;
  }
}


/* Patch 10.1.02 - Pflichtleistungen und statusabhängige Historie */
.report-ledger-row {
  margin-bottom: 8px;
}

.report-ledger-row.is-locked {
  border-left: 4px solid #73847b;
  background: #f1f4f2;
}

.report-ledger-row.is-editable-origin {
  border-left: 4px solid #d98a24;
  background: #fff7eb;
}

.report-ledger-origin {
  display: block;
  margin-top: 5px;
  line-height: 1.4;
}

.report-ledger-origin a {
  font-weight: 800;
  color: inherit;
  text-decoration: underline;
}

.required-service-incomplete {
  outline: 3px solid rgba(180, 35, 24, .35);
  outline-offset: 3px;
  border-radius: 12px;
  animation: required-service-pulse .8s ease-in-out 2;
}

@keyframes required-service-pulse {
  0%, 100% { background: inherit; }
  50% { background: #fff0f0; }
}


/* Patch 10.1.03 - Heute, Meine Projekte und Endbericht-Sperre */
.report-project-closed-note {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #d6a0a0;
  border-radius: 12px;
  background: #fff0f0;
  color: #9b2f27;
  font-weight: 800;
}


/* Patch 10.1.04 - Workflow, Historie und Bearbeitungsschutz */
.report-edit-lock-banner {
  display: grid;
  gap: 5px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid #e2b766;
  border-radius: 14px;
  background: #fff7df;
  color: #7a5100;
}

.edit-history-panel {
  border-left: 4px solid #7f9187;
  background: #f6f8f7;
}

.edit-history-group + .edit-history-group {
  margin-top: 18px;
}

.edit-history-list {
  display: grid;
  gap: 9px;
}

.edit-history-entry {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  padding: 12px 14px;
  border: 1px solid var(--border, #d8e1dc);
  border-radius: 12px;
  background: #fff;
}

.edit-history-entry p,
.edit-history-entry small {
  width: 100%;
  margin: 0;
}

.edit-history-entry small {
  color: var(--muted, #68746d);
}

.report-live-edit-indicator {
  display: block;
  margin-top: 5px;
  color: #9a5200;
  font-weight: 800;
}


/* Patch 10.1.05 - aktive Bearbeitung, Lesemodus und Glockenkontakt */
.report-edit-conflict-modal {
  display: flex;
  align-items: center;
  justify-content: center;
}

.report-edit-conflict-dialog,
.report-contact-editor-dialog {
  position: relative;
  z-index: 1;
  width: min(590px, 100%);
  padding: 24px;
  border-radius: 20px;
  background: var(--panel, #fff);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
}

.report-edit-conflict-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.report-edit-conflict-actions .button {
  width: 100%;
  text-align: center;
}

#contact-editor-modal[hidden] {
  display: none !important;
}

#contact-editor-modal {
  position: fixed;
  inset: 0;
  z-index: 36000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.report-contact-editor-dialog textarea {
  width: 100%;
  resize: vertical;
}

@media (max-width: 720px) {
  .report-edit-conflict-actions {
    grid-template-columns: 1fr;
  }

  .report-edit-conflict-dialog,
  .report-contact-editor-dialog {
    padding: 18px;
  }
}


/* Patch 10.1.06 - robuster aktiver Bearbeitungsschutz */
.report-live-edit-indicator {
  display: block;
  margin-top: 5px;
  font-weight: 800;
}

.report-edit-conflict-dialog .muted {
  margin-top: 4px;
}


/* Patch 10.1.08 - Bearbeitungssperre entfernt */
.report-edit-lock-banner,
.report-edit-conflict-modal,
.report-live-edit-indicator,
#contact-editor-modal {
  display: none !important;
}


/* Patch 10.1.09 - stabile Berichtdetailansicht */
.report-master-data-grid {
  align-items: stretch;
}

.report-master-data-grid > .panel {
  overflow: visible;
}

.report-detail-list {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  width: 100%;
  margin: 0;
}

.report-detail-list > div {
  display: grid !important;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) !important;
  align-items: start;
  column-gap: 20px;
  row-gap: 4px;
  width: 100%;
  min-width: 0;
  padding: 11px 0;
  border-bottom: 1px solid #edf2ef;
}

.report-detail-list > div:last-child {
  border-bottom: 0;
}

.report-detail-list dt,
.report-detail-list dd {
  min-width: 0;
  margin: 0;
  line-height: 1.45;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.report-detail-list dt {
  font-weight: 800;
  color: var(--ink);
}

.report-detail-list dd {
  color: var(--muted);
}

.report-master-data-grid .report-master-panel,
.report-master-data-grid .report-time-panel {
  min-height: 100%;
}

@media (max-width: 980px) {
  .report-master-data-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .report-detail-list > div {
    grid-template-columns: 1fr !important;
    gap: 3px;
  }

  .report-detail-list dt {
    margin-bottom: 2px;
  }
}


/* Patch 10.1.10 - automatische Projektarchivierung */
.project-auto-archive-info {
  display: grid;
  gap: 4px;
  margin: 0 0 14px;
  padding: 11px 13px;
  border: 1px solid #e3c36f;
  border-radius: 12px;
  background: #fff8df;
  color: #765500;
}

.project-auto-archive-info strong {
  font-weight: 900;
}

.project-auto-archive-info span,
.project-auto-archive-info small {
  line-height: 1.35;
}

.project-auto-archive-info small {
  opacity: .82;
}


/* Patch 10.1.12 - archivierte Berichte aus Projektdetails */
.report-project-readonly-note {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid #b8c9bf;
  border-radius: 14px;
  background: #f3f7f5;
  color: #365245;
}

.report-project-readonly-note strong {
  font-weight: 900;
}


/* Patch 10.1.14 - eindeutiges Öffnen von Projektberichten */
.project-report-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.project-report-main-link {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.project-report-main-link:hover,
.project-report-main-link:focus {
  color: inherit;
  text-decoration: none;
}

.project-report-main-link .additional-marker {
  display: block;
}

.project-report-actions {
  position: static !important;
  z-index: auto !important;
}

@media (max-width: 700px) {
  .project-report-entry {
    grid-template-columns: 1fr;
  }

  .project-report-actions .button {
    width: 100%;
  }
}

/* Patch 10.1.19 Support */
.sidebar-support-create{width:100%;text-align:left;border:0;background:transparent;color:inherit;padding:10px 14px;cursor:pointer;font:inherit}
.digimobil-support-top{border:1px solid #d8e5dd;background:#fff;border-radius:10px;padding:8px 11px;font-weight:700;cursor:pointer}
.dm-support-modal[hidden]{display:none}.dm-support-modal{position:fixed;inset:0;z-index:7000;display:flex;align-items:center;justify-content:center;padding:1rem}.dm-support-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.55)}.dm-support-dialog{position:relative;width:min(760px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:16px;padding:1.2rem;box-shadow:0 24px 70px rgba(15,23,42,.28)}.dm-support-dialog-head{display:flex;justify-content:space-between;gap:1rem}.dm-support-close{border:0;background:transparent;font-size:1.8rem;cursor:pointer}.dm-support-context{padding:.7rem;border:1px solid #dbe5df;border-radius:10px;background:#f8faf9}.dm-support-shot{max-width:100%;max-height:360px;border-radius:10px;border:1px solid #cbd5e1}
.support-ticket-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:1rem}.support-chat{margin-top:1.2rem;padding-top:1rem;border-top:1px solid #e2e8f0}.support-chat-list{display:flex;flex-direction:column;gap:.75rem}.support-chat-message{width:min(78%,760px);padding:.8rem .9rem;border:1px solid #dbe4ee;border-radius:14px}.support-chat-customer{align-self:flex-start;background:#fff;border-bottom-left-radius:5px}.support-chat-pn{align-self:flex-end;background:#ecfdf5;border-color:#bbf7d0;border-bottom-right-radius:5px}.support-chat-head{display:flex;justify-content:space-between;gap:1rem}.support-chat-message p{white-space:pre-wrap}.support-comment-form{display:grid;gap:.75rem;margin-top:1rem}.support-attachments{display:grid;gap:.45rem;margin-top:.65rem}.support-attachment{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.65rem;padding:.55rem;border:1px solid #dbe4ee;border-radius:9px;background:#fff}.support-attachment img{width:72px;height:54px;object-fit:cover;border-radius:7px}
@media(max-width:900px){.support-ticket-layout{grid-template-columns:1fr}}@media(max-width:700px){.digimobil-support-top span{display:none}.support-chat-message{width:100%}}


/* Patch 10.1.21 - Support Ticketstatus Kacheln */
.support-status-overview{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:12px;
  margin:0 0 18px;
}

.support-status-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:86px;
  padding:16px 18px;
  border:1px solid #dbe5df;
  border-radius:15px;
  background:#fff;
  color:#173b2e;
  text-decoration:none;
  box-shadow:0 3px 12px rgba(15,55,38,.05);
  transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;
}

.support-status-card:hover{
  transform:translateY(-1px);
  border-color:#9fc5ad;
  box-shadow:0 7px 18px rgba(15,55,38,.09);
}

.support-status-card.active{
  border-color:#2f7d4a;
  box-shadow:0 0 0 2px rgba(47,125,74,.12);
}

.support-status-card span{
  font-weight:700;
}

.support-status-card strong{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:42px;
  padding:0 10px;
  border-radius:12px;
  background:#eef7f1;
  color:#1e6338;
  font-size:1.25rem;
}

.support-status-card.active strong{
  background:#dff2e5;
}

.support-ticket-list-head{
  margin-bottom:12px;
}

@media(max-width:650px){
  .support-status-overview{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .support-status-card{
    min-height:76px;
    padding:13px 14px;
  }
}


/* Patch 10.1.22 - Ticketstatus im geöffneten Support-Ticket */
.support-ticket-state-panel{
  display:grid;
  gap:14px;
}

.support-ticket-state-card{
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:16px 18px;
  border:1px solid #cfe2d6;
  border-radius:15px;
  background:#f3faf5;
  box-shadow:0 3px 12px rgba(15,55,38,.05);
}

.support-ticket-state-label{
  color:#648173;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.support-ticket-state-card strong{
  color:#1f6b3c;
  font-size:1.35rem;
  line-height:1.2;
}

.support-ticket-meta-grid{
  margin-top:2px;
}

.support-ticket-meta-grid > div{
  min-width:0;
}

.support-ticket-meta-grid strong{
  overflow-wrap:anywhere;
}


/* Patch 10.1.23 - Support Ticket schließen */
.support-ticket-close-zone{
  margin-top:4px;
  padding-top:14px;
  border-top:1px solid #e2e8f0;
}

.support-ticket-close-zone form{
  margin:0;
}

.support-ticket-closed-note{
  display:grid;
  gap:3px;
  margin-top:4px;
  padding:12px 14px;
  border:1px solid #bbf7d0;
  border-radius:12px;
  background:#ecfdf5;
}

.support-ticket-closed-note strong{
  color:#166534;
}

.support-ticket-closed-note span{
  color:#4b7160;
  font-size:.88rem;
}


/* Patch 10.1.24 - DigiMobil Style Popup: Ticket schließen */
.dm-ticket-close-modal[hidden]{
  display:none;
}

.dm-ticket-close-modal{
  position:fixed;
  inset:0;
  z-index:7600;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1rem;
}

.dm-ticket-close-backdrop{
  position:absolute;
  inset:0;
  background:rgba(13,40,27,.58);
  backdrop-filter:blur(2px);
}

.dm-ticket-close-dialog{
  position:relative;
  width:min(520px,100%);
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:16px;
  padding:22px;
  border:1px solid #d8e5dd;
  border-radius:18px;
  background:#fff;
  box-shadow:0 26px 80px rgba(13,40,27,.28);
}

.dm-ticket-close-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  border-radius:14px;
  background:#edf7f0;
  color:#25633c;
  font-size:1.45rem;
  font-weight:800;
}

.dm-ticket-close-copy{
  display:grid;
  gap:6px;
}

.dm-ticket-close-copy h2{
  margin:0;
  color:#15352b;
}

.dm-ticket-close-copy p{
  margin:2px 0 0;
  line-height:1.5;
}

.dm-ticket-close-copy small{
  color:#6a7d74;
  line-height:1.45;
}

.dm-ticket-close-actions{
  grid-column:1/-1;
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding-top:4px;
}

@media(max-width:560px){
  .dm-ticket-close-dialog{
    grid-template-columns:1fr;
    padding:18px;
  }

  .dm-ticket-close-actions{
    grid-column:1;
    flex-direction:column-reverse;
  }

  .dm-ticket-close-actions .button{
    width:100%;
  }
}


/* Patch 10.1.30 - Bericht Detaildokumentation */
.report-doc-section{overflow:hidden}
.report-doc-table{display:grid;gap:0;border:1px solid #dfe8e3;border-radius:12px;overflow:hidden}
.report-doc-row{display:grid;gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid #e5ece8;background:#fff}
.report-doc-row:last-child{border-bottom:0}
.report-doc-head{background:#f1f7f3;color:#49675a;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.035em}
.report-doc-services .report-doc-row{grid-template-columns:minmax(220px,1.4fr) minmax(110px,.45fr) minmax(220px,1fr)}
.report-doc-materials .report-doc-row,.report-doc-resources .report-doc-row{grid-template-columns:minmax(220px,1.4fr) minmax(120px,.55fr) minmax(120px,.55fr) minmax(150px,.7fr)}
.report-doc-value-primary{font-weight:800;color:#1f6b3c}
.report-doc-note{padding:9px 14px 11px 14px;background:#fafcfb;border-bottom:1px solid #e5ece8;color:#5b6f65;font-size:.9rem}
@media(max-width:850px){
  .report-doc-head{display:none}
  .report-doc-services .report-doc-row,.report-doc-materials .report-doc-row,.report-doc-resources .report-doc-row{grid-template-columns:1fr}
  .report-doc-row>span:not(.badge){display:block}
  .report-doc-materials .report-doc-row span:nth-child(2)::before{content:"Gesamt benötigt: ";font-weight:700;color:#60756a}
  .report-doc-materials .report-doc-row span:nth-child(3)::before{content:"Entnommen: ";font-weight:700;color:#60756a}
  .report-doc-materials .report-doc-row span:nth-child(4)::before{content:"Rest: ";font-weight:700;color:#60756a}
  .report-doc-resources .report-doc-row span:nth-child(2)::before{content:"Benötigt: ";font-weight:700;color:#60756a}
  .report-doc-resources .report-doc-row span:nth-child(3)::before{content:"Eingesetzt: ";font-weight:700;color:#60756a}
  .report-doc-resources .report-doc-row span:nth-child(4)::before{content:"Standort: ";font-weight:700;color:#60756a}
}


/* Patch 10.1.37 - tagesaktuelle Arbeitsberichte im Mitarbeiter-Portal */
.employee-report-today{border-color:#d8e6de}
.employee-report-today-head{align-items:flex-start}
.employee-report-all-done{background:#eaf6ee;color:#23663d;border-color:#cfe7d7}
.employee-report-requirements{display:grid;gap:10px}
.employee-report-requirement{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px;border:1px solid #e1e9e4;border-radius:14px;background:#fff}
.employee-report-requirement.is-open{border-color:#efd8d8;background:#fffafa}
.employee-report-requirement.is-done{background:#f8fcf9}
.employee-report-state{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;font-weight:900;font-size:1.05rem}
.is-open .employee-report-state{background:#fdecec;color:#a43d3d}
.is-done .employee-report-state{background:#e6f4eb;color:#247044}
.employee-report-project{display:grid;gap:2px}
.employee-report-project strong{color:#183a2e}
.employee-report-project span{color:#536b60}
.employee-report-project small{color:#7a8d84}
.employee-report-action{display:grid;justify-items:end;gap:7px;text-align:right}
.employee-report-open-label{font-size:.84rem;font-weight:800;color:#a43d3d}
.employee-report-done-label{font-size:.84rem;font-weight:800;color:#247044}
.employee-report-info{display:grid;gap:4px;margin-top:14px;padding:13px 15px;border-radius:12px;background:#f0f6f2;border:1px solid #dce9e1}
.employee-report-info strong{color:#275441;font-size:.9rem}
.employee-report-info span{color:#587066;font-size:.86rem;line-height:1.5}
.employee-report-empty{display:grid;gap:3px;padding:16px;border:1px dashed #d6e3dc;border-radius:13px;background:#fbfdfc}
.employee-report-empty span{color:#71837a}
@media(max-width:720px){
  .employee-report-requirement{grid-template-columns:40px minmax(0,1fr)}
  .employee-report-action{grid-column:1/-1;justify-items:stretch;text-align:left}
  .employee-report-action .button{text-align:center}
}


/* Patch 10.1.39 - Arbeitswoche im Mitarbeiter-Portal */
.employee-workweek-panel{
  border-color:#d8e6de;
}
.employee-workweek-head{
  align-items:flex-start;
}
.employee-workweek-head p{
  margin:.2rem 0 0;
}
.employee-workweek-grid{
  display:grid;
  grid-template-columns:repeat(7,minmax(145px,1fr));
  gap:10px;
  overflow-x:auto;
  padding-bottom:4px;
}
.employee-workday-card{
  min-width:145px;
  border:1px solid #dfe8e3;
  border-radius:14px;
  background:#fff;
  overflow:hidden;
}
.employee-workday-card.is-today{
  border-color:#6aa47f;
  box-shadow:0 0 0 2px rgba(47,125,74,.10);
}
.employee-workday-card > header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:11px 12px;
  background:#f4f8f5;
  border-bottom:1px solid #e1e9e4;
}
.employee-workday-card.is-today > header{
  background:#eaf5ed;
}
.employee-workday-card > header div{
  display:grid;
  gap:1px;
}
.employee-workday-card > header span{
  color:#536b60;
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.035em;
}
.employee-workday-card > header strong{
  color:#183a2e;
  font-size:1rem;
}
.employee-workday-card > header b{
  padding:4px 7px;
  border-radius:999px;
  background:#2f7d4a;
  color:#fff;
  font-size:.7rem;
}
.employee-workday-projects{
  display:grid;
  gap:8px;
  padding:10px;
}
.employee-workday-project{
  display:grid;
  gap:3px;
  padding:10px;
  border:1px solid #e2e9e5;
  border-radius:10px;
  background:#fbfdfc;
  color:inherit;
  text-decoration:none;
  transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.employee-workday-project:hover{
  transform:translateY(-1px);
  border-color:#9fc5ad;
  box-shadow:0 5px 14px rgba(15,55,38,.08);
}
.employee-workday-project strong{
  color:#183a2e;
  line-height:1.3;
}
.employee-workday-project span{
  color:#5f7469;
  font-size:.83rem;
}
.employee-workday-project small{
  color:#839087;
  font-size:.75rem;
}
.employee-workday-empty{
  padding:12px 8px;
  color:#8a9891;
  font-size:.82rem;
  text-align:center;
}
.employee-workweek-info{
  display:grid;
  gap:3px;
  margin-top:14px;
  padding:12px 14px;
  border:1px solid #dce9e1;
  border-radius:12px;
  background:#f4f8f5;
}
.employee-workweek-info strong{
  color:#275441;
  font-size:.88rem;
}
.employee-workweek-info span{
  color:#61766b;
  font-size:.84rem;
  line-height:1.45;
}
@media(max-width:1100px){
  .employee-workweek-grid{
    grid-template-columns:repeat(7,170px);
  }
}


/* Patch 10.1.41 - Mitarbeiterportal Abschluss */
.employee-report-archive-note{
  display:block;
  margin-top:5px;
  max-width:220px;
  color:#708178;
  line-height:1.35;
}
.employee-hero-actions button.button{
  font:inherit;
}
.report-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid #e2e9e5;
}
.report-pagination span{
  color:#60736a;
}
@media(max-width:650px){
  .report-pagination{flex-wrap:wrap}
}


/* Patch 10.1.46 - Tagesbericht Buttons */
.employee-report-create-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}
.employee-report-create-actions .report-type-button{
  white-space:nowrap;
}
@media(max-width:720px){
  .employee-report-create-actions{
    justify-content:stretch;
  }
  .employee-report-create-actions .button{
    flex:1 1 100%;
    text-align:center;
  }
}


/* Patch 10.1.49 - Office Berichtsseiten */
.office-report-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid #e2e9e5;
}
.office-report-pagination span{
  color:#60736a;
}
@media(max-width:650px){
  .office-report-pagination{flex-wrap:wrap}
}

/* Patch 10.1.51 - Menüpunkte normale Schriftstärke */
.sidebar nav a,.sidebar nav button{font-weight:400}


/* Patch 10.1.52 - Arbeitsleistungen: Status direkt neben Checkbox */
.service-progress-row > input[name="project_service_info[]"]{
  min-height:44px;
  height:44px;
  box-sizing:border-box;
}
.service-progress-row .completion-check{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  min-height:44px!important;
  height:44px!important;
  box-sizing:border-box;
  margin:0!important;
  padding:0 10px!important;
  white-space:nowrap;
  line-height:1!important;
}
.service-progress-row .completion-check input[type="checkbox"]{
  flex:0 0 auto;
  width:20px!important;
  height:20px!important;
  min-height:20px!important;
  margin:0!important;
}
.service-progress-row .completion-check span{
  display:inline!important;
  margin:0!important;
  padding:0!important;
  line-height:1.2!important;
}

/* Patch 10.1.54 Projektvorlagen */
.project-template-layout{display:grid;grid-template-columns:minmax(260px,.7fr) minmax(0,2fr);gap:18px;align-items:start}.project-template-list{display:grid;gap:7px;margin-top:14px}.project-template-list a{display:flex;justify-content:space-between;padding:10px 12px;border:1px solid #dfe8e3;border-radius:10px;text-decoration:none;color:inherit}.template-item-card{padding:14px;margin:10px 0;border:1px solid #dfe8e3;border-radius:12px}.pro-template-actions{margin:16px 0}.pro-template-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}@media(max-width:900px){.project-template-layout,.pro-template-action-grid{grid-template-columns:1fr}}


/* Patch 10.1.55 - eigene Projektvorlagen-Kachel */
.pro-template-management-tile{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin:0 0 16px;
  padding:18px 20px;
  border:1px solid #cfe2d5;
  background:linear-gradient(135deg,#f7fbf8 0%,#edf7f0 100%);
}
.pro-template-management-main{
  display:flex;
  align-items:center;
  gap:15px;
  min-width:0;
}
.pro-template-management-icon{
  display:grid;
  place-items:center;
  flex:0 0 50px;
  width:50px;
  height:50px;
  border-radius:14px;
  border:1px solid #d4e5da;
  background:#fff;
  font-size:1.45rem;
  box-shadow:0 6px 18px rgba(26,78,48,.07);
}
.pro-template-management-main h2{
  margin:.15rem 0 .3rem;
  color:#193a2d;
}
.pro-template-management-main p{
  margin:0;
  color:#64796e;
  line-height:1.45;
}
.pro-template-management-actions{
  flex:0 0 auto;
}
@media(max-width:760px){
  .pro-template-management-tile{
    align-items:stretch;
    flex-direction:column;
  }
  .pro-template-management-actions .button{
    width:100%;
    justify-content:center;
  }
}


/* Patch 10.1.56 - kompakte Projektvorlagen-Zeilenansicht */
.project-template-create-panel,
.project-template-select-panel,
.project-template-editor{
  margin-top:16px;
}

.project-template-create-form{
  display:grid;
  grid-template-columns:minmax(280px,1fr) auto;
  gap:12px;
  align-items:end;
}

.project-template-picker{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.project-template-head-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.project-template-add-row{
  margin:18px 0;
  padding:15px;
  border:1px solid #dce7e0;
  border-radius:14px;
  background:#f8fbf9;
}

.project-template-add-head{
  margin-bottom:12px;
}

.project-template-add-head h3{
  margin:.2rem 0 0;
}

.template-item-form-add{
  display:grid;
  grid-template-columns:minmax(150px,.7fr) minmax(240px,1.5fr) minmax(100px,.5fr) minmax(100px,.5fr) minmax(180px,1fr) auto;
  gap:10px;
  align-items:end;
}

.template-position-table-wrap{
  overflow-x:auto;
  border:1px solid #dfe8e3;
  border-radius:14px;
}

.template-position-table{
  width:100%;
  min-width:980px;
  border-collapse:collapse;
}

.template-position-table th,
.template-position-table td{
  padding:10px 12px;
  border-bottom:1px solid #e7ede9;
  vertical-align:middle;
  text-align:left;
}

.template-position-table th{
  background:#f2f7f4;
  color:#566d61;
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.035em;
}

.template-position-table tbody tr:last-child td{
  border-bottom:0;
}

.template-position-table input,
.template-position-table select{
  width:100%;
  min-height:40px;
  box-sizing:border-box;
}

.template-type-badge{
  display:inline-flex;
  padding:5px 9px;
  border-radius:999px;
  background:#edf5f0;
  color:#356048;
  font-size:.74rem;
  font-weight:800;
  white-space:nowrap;
}

.template-not-applicable{
  color:#9aa8a0;
  font-weight:700;
}

.template-row-actions{
  display:flex;
  gap:7px;
  align-items:center;
  white-space:nowrap;
}

.template-row-actions form{
  margin:0;
}

.template-item-row-form{
  display:contents;
}

.template-add-button{
  min-height:44px;
}

@media(max-width:1050px){
  .template-item-form-add{
    grid-template-columns:1fr 1fr 1fr;
  }
  .template-add-button{
    grid-column:1/-1;
  }
}

@media(max-width:760px){
  .project-template-create-form,
  .project-template-picker,
  .template-item-form-add{
    grid-template-columns:1fr;
  }
}

/* Patch 10.1.57 */
.template-catalog-field{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(240px,1.2fr);gap:10px}
.template-catalog-field[hidden],.template-service-name[hidden],.template-resource-field[hidden]{display:none!important}
#position-add,#position-list{scroll-margin-top:18px}
@media(max-width:900px){.template-catalog-field{grid-template-columns:1fr}}


/* PN-KI Phase 2.2: kompakte KI-/Chat-Aktionen nebeneinander.
   Nur CSS; keine Digimobil-Logik wird veraendert. */
#chatLauncherWrap.chat-launcher-wrap{position:fixed!important;right:12px!important;bottom:12px!important;z-index:1199!important;width:38px!important;height:38px!important;}
#chatLauncher.chat-launcher{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;border-radius:12px!important;font-size:.95rem!important;padding:0!important;display:grid!important;place-items:center!important;box-shadow:0 6px 16px rgba(9,54,29,.22)!important;}
#chatLauncher.chat-launcher b{min-width:17px!important;height:17px!important;padding:0 3px!important;font-size:.55rem!important;right:-5px!important;top:-6px!important;}
#dmAiFab.dm-ai-fab{position:fixed!important;right:58px!important;bottom:12px!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;border-radius:12px!important;font-size:11px!important;padding:0!important;display:grid!important;place-items:center!important;box-sizing:border-box!important;z-index:1200!important;}
@media(max-width:760px){#chatLauncherWrap.chat-launcher-wrap{right:8px!important;bottom:8px!important;width:36px!important;height:36px!important}#chatLauncher.chat-launcher{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;border-radius:11px!important;font-size:.9rem!important}#dmAiFab.dm-ai-fab{right:52px!important;bottom:8px!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;border-radius:11px!important;font-size:10px!important}}
