.platform-modules{margin:18px 0 22px}.platform-badge,.coming-chip{display:inline-flex;align-items:center;border-radius:999px;padding:7px 11px;background:#e8f1ff;color:#0648a8;font-size:12px;font-weight:800}.platform-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.platform-module-card{min-height:142px;padding:18px;border:1px solid #dfe6ef;border-radius:18px;background:#fff;text-align:left;display:flex;flex-direction:column;gap:8px;box-shadow:0 8px 24px rgba(28,44,72,.06);transition:.18s ease}.platform-module-card:hover{transform:translateY(-2px);border-color:#9bbce8;box-shadow:0 12px 30px rgba(28,44,72,.1)}.platform-module-card>span{font-size:28px}.platform-module-card strong{font-size:17px;color:#15243a}.platform-module-card small{font-size:13px;line-height:1.45;color:#65748a}.platform-page-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:20px}.service-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.service-preview-grid article{padding:24px;border:1px solid #dfe6ef;border-radius:20px;background:#fff;box-shadow:0 8px 26px rgba(28,44,72,.06)}.service-preview-grid article>span{font-size:34px}.service-preview-grid h2{margin:12px 0 8px}.service-preview-grid p{min-height:48px;color:#65748a;line-height:1.5}.service-preview-grid button{margin-top:14px;width:100%;border:0;border-radius:12px;padding:11px;background:#eef3f8;color:#617087;font-weight:700}.topbar-brand:after{content:"ONE";margin-left:8px;font-size:11px;font-weight:900;letter-spacing:.12em;color:#0648a8;background:#e8f1ff;border-radius:999px;padding:5px 8px}@media(max-width:980px){.platform-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.platform-module-grid,.service-preview-grid{grid-template-columns:1fr}.platform-module-card{min-height:120px}.platform-page-head{flex-direction:column}.topbar-brand:after{display:none}}

/* Dokumentencenter 4.1.2 */
.document-library-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:20px;align-items:start}
.document-library-sidebar{position:sticky;top:88px;padding:18px;border:1px solid var(--border,#dfe4ea);border-radius:18px;background:var(--surface,#fff)}
.doc-category-list{display:grid;gap:7px}.doc-category-item{width:100%;display:flex;justify-content:space-between;gap:12px;padding:11px 12px;border:0;border-radius:11px;background:transparent;text-align:left;cursor:pointer}.doc-category-item:hover,.doc-category-item.active{background:var(--soft,#eef4ff)}
.doc-category-item b{font-size:12px;min-width:28px;text-align:center;padding:2px 7px;border-radius:999px;background:rgba(0,0,0,.06)}
.doc-smart-filters{display:grid;gap:7px;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--border,#e5e7eb)}
.doc-smart-filter{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border:0;border-radius:11px;background:transparent;cursor:pointer}.doc-smart-filter.active,.doc-smart-filter:hover{background:var(--soft,#eef4ff)}
.doc-library-toolbar{display:flex;gap:12px;align-items:center}.doc-library-toolbar .search-wrap{flex:1}.doc-library-meta{display:flex;justify-content:space-between;gap:16px;margin:12px 2px 16px;color:var(--muted,#64748b);font-size:13px}
.knowledge-document-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}.knowledge-document-card{border:1px solid var(--border,#e2e8f0);border-radius:16px;background:var(--surface,#fff);overflow:hidden;cursor:pointer;transition:.18s transform,.18s box-shadow}.knowledge-document-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(15,23,42,.10)}
.document-card-top{display:flex;justify-content:space-between;padding:14px 14px 0}.file-badge{font-size:11px;font-weight:800;letter-spacing:.05em;padding:7px 8px;border-radius:9px;background:#eaf1ff}.favorite-button{border:0;background:transparent;font-size:20px;color:#aab2bf;cursor:pointer}.favorite-button.active{color:#f59e0b}.document-card-body{padding:12px 14px}.document-card-meta{display:flex;gap:6px;flex-wrap:wrap}.document-card-meta span,.document-status-badge{font-size:11px;padding:4px 7px;border-radius:999px;background:#f1f5f9}.document-card-body h3{margin:10px 0 6px}.document-card-body p{margin:0;color:var(--muted,#64748b);font-size:13px;line-height:1.45}.knowledge-document-card footer{display:flex;justify-content:space-between;gap:8px;padding:11px 14px;border-top:1px solid var(--border,#edf0f3);font-size:12px;color:var(--muted,#64748b)}
.document-filter-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.document-filter-row select{min-width:150px}.document-upload-form{display:grid;gap:14px}.document-upload-form label{display:grid;gap:6px;font-weight:650}.document-upload-form input,.document-upload-form select,.document-upload-form textarea{width:100%;box-sizing:border-box}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.file-drop{padding:18px;border:1px dashed #94a3b8;border-radius:14px;background:#f8fafc}.document-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.document-detail-grid>div{padding:12px;border-radius:12px;background:#f8fafc}.document-detail-grid small{display:block;color:#64748b;margin-bottom:4px}.document-detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.document-library-empty{text-align:center;padding:48px 20px;border:1px dashed #cbd5e1;border-radius:16px}
@media(max-width:850px){.document-library-layout{grid-template-columns:1fr}.document-library-sidebar{position:static}.doc-category-list,.doc-smart-filters{display:flex;overflow:auto}.doc-category-item,.doc-smart-filter{min-width:max-content}.doc-library-toolbar{align-items:stretch;flex-direction:column}.form-grid,.document-detail-grid{grid-template-columns:1fr}}


/* Dashboard 4.1.4 – rollenbezogene Live-Arbeitsübersicht */
.dashboard-daily-brief,.dashboard-priority-panel{margin:0 0 18px;padding:20px;border:1px solid var(--ho-border,#dfe5ee);border-radius:22px;background:var(--ho-surface,#fff);box-shadow:var(--ho-shadow-sm,0 1px 3px rgba(16,24,40,.08))}
.dashboard-daily-head{align-items:center}.dashboard-daily-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dashboard-daily-card{display:flex;align-items:center;gap:13px;min-height:104px;padding:15px;border:1px solid var(--ho-border,#dfe5ee);border-radius:16px;background:var(--ho-surface-muted,#f8fafc);text-align:left;transition:.18s ease}
.dashboard-daily-card:hover{transform:translateY(-2px);background:#fff;box-shadow:0 10px 24px rgba(16,24,40,.08)}
.daily-card-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:13px;font-size:20px;font-weight:900}.daily-card-icon.blue{color:#175cd3;background:#eaf2ff}.daily-card-icon.amber{color:#9a6700;background:#fff7df}.daily-card-icon.green{color:#16794a;background:#e9f8f0}.daily-card-icon.red{color:#b42318;background:#fff0ee}
.dashboard-daily-card small,.dashboard-daily-card strong,.dashboard-daily-card em{display:block}.dashboard-daily-card small{color:var(--ho-text-muted,#667085);font-size:12px;font-weight:700}.dashboard-daily-card strong{margin:3px 0 1px;color:var(--ho-text,#172033);font-size:25px;line-height:1}.dashboard-daily-card em{color:var(--ho-text-muted,#667085);font-size:11px;font-style:normal;line-height:1.3}
.dashboard-priority-list{display:grid;gap:9px}.dashboard-priority-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:12px;border:1px solid var(--ho-border,#dfe5ee);border-radius:14px;background:#fff;text-align:left}.dashboard-priority-item:hover{box-shadow:0 7px 18px rgba(16,24,40,.07)}.dashboard-priority-item .priority-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;font-weight:900}.dashboard-priority-item strong,.dashboard-priority-item small{display:block}.dashboard-priority-item small{margin-top:3px;color:var(--ho-text-muted,#667085);font-size:12px}.dashboard-priority-item>b{color:#98a2b3;font-size:22px}.dashboard-priority-item.danger .priority-icon{background:var(--ho-danger-soft,#fff0ee);color:var(--ho-danger,#b42318)}.dashboard-priority-item.warning .priority-icon{background:var(--ho-warning-soft,#fff7df);color:var(--ho-warning,#9a6700)}.dashboard-priority-item.info .priority-icon{background:var(--ho-info-soft,#eff6ff);color:var(--ho-info,#175cd3)}.dashboard-priority-item.success .priority-icon{background:var(--ho-success-soft,#e9f8f0);color:var(--ho-success,#16794a)}
@media(max-width:980px){.dashboard-daily-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.dashboard-daily-brief,.dashboard-priority-panel{padding:15px;border-radius:18px}.dashboard-daily-grid{grid-template-columns:1fr}.dashboard-daily-card{min-height:86px}.dashboard-priority-item{grid-template-columns:38px minmax(0,1fr) auto;padding:10px}}

/* Hilpert One v4.2.0 – Geräteakten */
.device-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.device-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) 190px 170px auto;gap:12px;align-items:center;margin:22px 0 12px}
.device-toolbar select{min-height:46px;border:1px solid var(--line,#d9e1ee);border-radius:12px;background:#fff;padding:0 12px;color:#17233c}
.device-meta-row{display:flex;justify-content:space-between;gap:16px;color:#66738b;font-size:.9rem;margin-bottom:16px}
.device-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:16px}
.device-card{background:#fff;border:1px solid #dfe6f1;border-radius:18px;padding:18px;box-shadow:0 8px 28px rgba(27,55,101,.06);cursor:pointer;transition:.18s ease}
.device-card:hover{transform:translateY(-2px);border-color:#a9c6ee;box-shadow:0 12px 34px rgba(27,55,101,.1)}
.device-card-head{display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:start}
.device-symbol{width:48px;height:48px;border-radius:14px;background:#eaf3ff;color:#0755b8;display:grid;place-items:center;font-size:1.4rem}
.device-card h3{margin:3px 0 2px;font-size:1.05rem;color:#13203a}.device-card p{margin:0;color:#66738b;font-size:.9rem}
.device-code{display:inline-flex;font-size:.72rem;font-weight:800;letter-spacing:.08em;color:#0755b8;text-transform:uppercase}
.device-status{border-radius:999px;padding:6px 9px;font-size:.72rem;font-weight:800;background:#e8f7ee;color:#19713d}.device-status.inactive,.device-status.removed{background:#eef1f5;color:#657087}.device-status.planned{background:#fff4dc;color:#9a6200}
.device-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.device-card-grid div{background:#f7f9fc;border-radius:12px;padding:10px}.device-card-grid small,.device-detail-grid small{display:block;color:#78849a;font-size:.72rem;margin-bottom:4px}.device-card-grid strong{font-size:.86rem;color:#24314b;line-height:1.35}
.device-due.overdue{background:#fff0f0!important}.device-due.overdue strong{color:#b42318}.device-due.soon{background:#fff7e8!important}.device-due.soon strong{color:#9a6200}
.device-card footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf1f6;padding-top:13px;color:#66738b;font-size:.82rem}
.device-detail{display:grid;gap:20px}.device-detail-hero{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;background:linear-gradient(135deg,#f3f8ff,#fff);border:1px solid #dfe9f7;border-radius:18px;padding:20px}.device-detail-hero h3{margin:7px 0 4px;font-size:1.35rem}.device-detail-hero p{margin:0;color:#66738b}
.device-qr-box{width:150px;flex:0 0 150px;text-align:center}.device-qr-box img{width:132px;height:132px;background:#fff;border:1px solid #dfe6f1;border-radius:12px;padding:6px}.device-qr-box small{display:block;color:#66738b;margin-top:6px}
.device-detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.device-detail-grid>div{border:1px solid #e4e9f1;border-radius:12px;padding:12px;background:#fff}.device-detail-actions{display:flex;gap:10px;flex-wrap:wrap}
.device-timeline{border-top:1px solid #e7ebf2;padding-top:18px}.device-timeline-entry{display:grid;grid-template-columns:34px 1fr;gap:12px;position:relative;padding-bottom:18px}.device-timeline-entry>span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#eaf3ff;color:#0755b8;font-weight:900}.device-timeline-entry time{display:block;color:#77849b;font-size:.75rem}.device-timeline-entry strong{display:block;margin:2px 0}.device-timeline-entry p{margin:0;color:#66738b}.device-form{display:grid;gap:14px}
@media(max-width:900px){.device-toolbar{grid-template-columns:1fr 1fr}.device-toolbar .search-wrap{grid-column:1/-1}.device-detail-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.device-page-heading{align-items:stretch;flex-direction:column}.device-page-heading .primary{width:100%}.device-toolbar{grid-template-columns:1fr}.device-toolbar .search-wrap{grid-column:auto}.device-grid{grid-template-columns:1fr}.device-card-grid{grid-template-columns:1fr}.device-detail-hero{flex-direction:column}.device-qr-box{width:100%;flex-basis:auto}.device-detail-grid{grid-template-columns:1fr}.device-detail-actions>*{width:100%}}


/* Hilpert One v4.2.1 – Kundenakten */
.customer-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.customer-toolbar{display:grid;grid-template-columns:minmax(300px,1fr) 190px 170px;gap:12px;align-items:center;margin:22px 0 12px}.customer-toolbar select{min-height:46px;border:1px solid var(--line,#d9e1ee);border-radius:12px;background:#fff;padding:0 12px;color:#17233c}
.customer-meta-row{display:flex;justify-content:space-between;gap:16px;color:#66738b;font-size:.9rem;margin-bottom:16px}.customer-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px}
.customer-card{background:#fff;border:1px solid #dfe6f1;border-radius:18px;padding:18px;box-shadow:0 8px 28px rgba(27,55,101,.06);cursor:pointer;transition:.18s ease}.customer-card:hover{transform:translateY(-2px);border-color:#a9c6ee;box-shadow:0 12px 34px rgba(27,55,101,.1)}
.customer-card-head{display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:start}.customer-avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#edf4ff;color:#0755b8;font-weight:900;font-size:1.25rem}.customer-avatar.large{width:62px;height:62px;border-radius:18px;font-size:1.55rem;flex:0 0 62px}.customer-number{display:inline-flex;font-size:.71rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#0755b8}.customer-card h3{margin:3px 0 2px;font-size:1.05rem;color:#13203a}.customer-card p{margin:0;color:#66738b;font-size:.9rem}.customer-status{border-radius:999px;padding:6px 9px;font-size:.72rem;font-weight:800;background:#e8f7ee;color:#19713d}.customer-status.inactive{background:#eef1f5;color:#657087}
.customer-card-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:17px 0}.customer-card-stats div{padding:10px;border-radius:12px;background:#f7f9fc}.customer-card-stats small,.customer-card-stats strong{display:block}.customer-card-stats small{font-size:.7rem;color:#78849a}.customer-card-stats strong{font-size:1.15rem;color:#24314b;margin-top:3px}.customer-card footer{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #edf1f6;padding-top:13px;color:#66738b;font-size:.82rem}
.customer-detail{display:grid;gap:18px}.customer-detail-hero{display:flex;align-items:center;gap:15px;padding:20px;border:1px solid #dfe9f7;border-radius:18px;background:linear-gradient(135deg,#f3f8ff,#fff)}.customer-detail-hero>div:nth-child(2){flex:1}.customer-detail-hero h3{margin:4px 0;font-size:1.35rem}.customer-detail-hero p{margin:0;color:#66738b}.customer-detail-actions{display:flex;gap:10px;flex-wrap:wrap}
.customer-tabs{display:flex;gap:6px;overflow:auto;border-bottom:1px solid #e4e9f1;padding-bottom:8px}.customer-tabs button{min-width:max-content;border:0;border-radius:10px;padding:9px 12px;background:transparent;color:#66738b;font-weight:750}.customer-tabs button.active,.customer-tabs button:hover{background:#eaf3ff;color:#0755b8}.customer-tab-content{min-height:220px}.customer-tab-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:14px}.customer-tab-head h3{margin:2px 0 0}
.customer-overview-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:14px}.customer-info-panel{border:1px solid #e4e9f1;border-radius:16px;padding:18px;background:#fff}.customer-info-panel h3{margin:4px 0 14px}.customer-contact-list{display:grid;gap:10px}.customer-contact-list span{display:grid;grid-template-columns:26px 1fr;align-items:start;color:#66738b}.customer-contact-list strong{color:#24314b;font-weight:700}.customer-kpi-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.customer-kpi-grid div{display:flex;flex-direction:column;justify-content:center;min-height:96px;padding:14px;border:1px solid #e4e9f1;border-radius:14px;background:#f8fafc}.customer-kpi-grid small{color:#78849a}.customer-kpi-grid strong{font-size:1.65rem;color:#17233c;margin-top:4px}
.customer-location-list,.customer-order-list,.customer-related-list{display:grid;gap:10px}.customer-location-list article,.customer-order-list article,.customer-related-list>button,.customer-related-list>a,.customer-related-list>div{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px;border:1px solid #e4e9f1;border-radius:14px;background:#fff;text-align:left;text-decoration:none;color:inherit}.customer-location-list article{grid-template-columns:auto 1fr}.customer-location-list p,.customer-order-list p{margin:3px 0 0;color:#66738b}.customer-location-list small{display:block;margin-top:4px;color:#77849b}.location-pin,.related-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#eaf3ff;color:#0755b8;font-weight:900}.customer-related-list strong,.customer-related-list small{display:block}.customer-related-list small{margin-top:3px;color:#77849b}.customer-related-list b{font-size:20px;color:#98a2b3}
.customer-order-list article{grid-template-columns:minmax(0,1fr) auto}.customer-order-list strong{display:block;margin-top:4px}.order-status{border-radius:999px;padding:6px 9px;font-size:.72rem;font-weight:800;background:#eef1f5;color:#657087}.order-status.completed{background:#e8f7ee;color:#19713d}.order-status.in_progress,.order-status.on_the_way{background:#eaf3ff;color:#0755b8}.order-status.scheduled{background:#fff4dc;color:#9a6200}
.customer-timeline{display:grid}.customer-timeline article{display:grid;grid-template-columns:36px 1fr;gap:12px;padding-bottom:18px}.customer-timeline article>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#eaf3ff;color:#0755b8;font-weight:900}.customer-timeline time{display:block;color:#77849b;font-size:.75rem}.customer-timeline strong{display:block;margin:2px 0}.customer-timeline p{margin:0;color:#66738b}.customer-form{display:grid;gap:14px}.check-row{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:9px}.check-row input{width:auto!important}.customer-inline-link{border:0;background:transparent;padding:0;color:inherit;font:inherit;font-weight:inherit;cursor:pointer;text-align:left}.customer-inline-link:hover{color:#0755b8;text-decoration:underline}
@media(max-width:900px){.customer-toolbar{grid-template-columns:1fr 1fr}.customer-toolbar .search-wrap{grid-column:1/-1}.customer-overview-grid{grid-template-columns:1fr}}
@media(max-width:620px){.customer-page-heading{align-items:stretch;flex-direction:column}.customer-page-heading .primary{width:100%}.customer-toolbar{grid-template-columns:1fr}.customer-toolbar .search-wrap{grid-column:auto}.customer-grid{grid-template-columns:1fr}.customer-card-stats{grid-template-columns:1fr 1fr}.customer-card footer{align-items:flex-start;flex-direction:column}.customer-detail-hero{align-items:flex-start;flex-wrap:wrap}.customer-detail-hero .customer-status{margin-left:auto}.customer-detail-actions>*{width:100%}.customer-kpi-grid{grid-template-columns:1fr 1fr}.customer-tab-head{align-items:stretch;flex-direction:column}.customer-tab-head button{width:100%}}

/* Hilpert One v4.3.0 – Kundendienst */
.dashboard-daily-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.service-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.service-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0 14px}
.service-stat{min-height:98px;border:1px solid #dfe6f1;border-radius:17px;background:#fff;padding:15px;display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;text-align:left;box-shadow:0 7px 24px rgba(27,55,101,.055)}
.service-stat:hover,.service-stat.active{border-color:#9fc2ef;background:#f8fbff}.service-stat small,.service-stat strong,.service-stat em{display:block}.service-stat small{font-size:.74rem;color:#748198}.service-stat strong{font-size:1.55rem;color:#15243a;margin:2px 0}.service-stat em{font-size:.72rem;color:#8792a5;font-style:normal}
.service-mode-row{display:flex;gap:8px;flex-wrap:wrap;margin:5px 0 12px}.service-mode-row .filter-chip.active{background:#0755b8;color:#fff;border-color:#0755b8}
.service-toolbar{display:grid;grid-template-columns:minmax(320px,1fr) 190px 210px;gap:12px;align-items:center;margin-bottom:12px}.service-toolbar select{min-height:46px;border:1px solid var(--line,#d9e1ee);border-radius:12px;background:#fff;padding:0 12px;color:#17233c}
.service-meta-row{display:flex;justify-content:space-between;gap:16px;color:#66738b;font-size:.9rem;margin-bottom:16px}
.service-order-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:16px}
.service-order-card{position:relative;background:#fff;border:1px solid #dfe6f1;border-left:5px solid #b8c4d6;border-radius:18px;padding:18px;box-shadow:0 8px 28px rgba(27,55,101,.06);cursor:pointer;transition:.18s ease;overflow:hidden}.service-order-card:hover{transform:translateY(-2px);border-color:#a9c6ee;box-shadow:0 12px 34px rgba(27,55,101,.1)}.service-order-card.high{border-left-color:#e59a18}.service-order-card.emergency{border-left-color:#d52f2f;background:linear-gradient(140deg,#fff 70%,#fff2f2)}
.service-order-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}.service-order-number{display:inline-flex;font-size:.71rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#0755b8}.service-order-head h3{margin:4px 0 2px;font-size:1.08rem;color:#13203a}.service-order-head p{margin:0;color:#66738b}
.service-priority{border-radius:999px;padding:6px 9px;font-size:.7rem;font-weight:850;background:#eef1f5;color:#647086}.service-priority.high{background:#fff4dc;color:#956000}.service-priority.emergency{background:#ffe9e9;color:#b42318}
.service-order-context{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:17px 0}.service-order-context span{padding:10px;border-radius:12px;background:#f7f9fc;min-width:0}.service-order-context small,.service-order-context strong{display:block}.service-order-context small{font-size:.68rem;color:#7b879b}.service-order-context strong{margin-top:3px;font-size:.8rem;color:#26344d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.service-order-address{display:flex;gap:8px;align-items:flex-start;color:#66738b;font-size:.84rem;margin-bottom:14px}.service-order-card footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #edf1f6;padding-top:13px}.service-type{font-size:.75rem;font-weight:800;color:#59677e}
.service-detail{display:grid;gap:18px}.service-detail-hero{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;background:linear-gradient(135deg,#f3f8ff,#fff);border:1px solid #dfe9f7;border-radius:18px;padding:20px}.service-detail-hero h3{margin:7px 0 4px;font-size:1.35rem}.service-detail-hero p{margin:0;color:#66738b}.service-detail-badges{display:flex;gap:8px;flex-wrap:wrap}.service-detail-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.service-overview-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:14px}.service-long-text{color:#536078;line-height:1.6}.service-internal-note{margin-top:16px;border-radius:12px;background:#fff4dc;color:#7b5300;padding:13px}.service-internal-note p{margin:4px 0 0}.service-result-panel{border:1px solid #cae8d5;background:#f1fbf4;border-radius:16px;padding:18px}.service-result-panel h3{margin:3px 0 8px}.service-result-panel p{margin:0;color:#3c5c47;line-height:1.55}
.service-timeline{display:grid}.service-timeline article{display:grid;grid-template-columns:36px 1fr;gap:12px;padding-bottom:18px}.service-timeline article>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#eaf3ff;color:#0755b8;font-weight:900}.service-timeline time{display:block;color:#77849b;font-size:.75rem}.service-timeline strong{display:block;margin:2px 0}.service-timeline p{margin:0;color:#66738b}.service-timeline small{display:block;margin-top:4px;color:#98a1b0}
.service-material-list{display:grid;gap:9px}.service-material-list article{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:11px;align-items:center;border:1px solid #e4e9f1;border-radius:13px;padding:12px}.service-material-list article>span{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#eaf3ff;color:#0755b8}.service-material-list strong,.service-material-list small{display:block}.service-material-list small{margin-top:3px;color:#77849b}.service-material-list b{color:#25334b}.service-form{display:grid;gap:14px}
@media(max-width:980px){.service-stat-grid{grid-template-columns:1fr 1fr}.service-toolbar{grid-template-columns:1fr 1fr}.service-toolbar .search-wrap{grid-column:1/-1}.service-overview-grid{grid-template-columns:1fr}}
@media(max-width:640px){.service-page-heading{flex-direction:column;align-items:stretch}.service-page-heading .primary{width:100%}.service-stat-grid,.service-toolbar{grid-template-columns:1fr}.service-toolbar .search-wrap{grid-column:auto}.service-order-grid{grid-template-columns:1fr}.service-order-context{grid-template-columns:1fr}.service-detail-hero{flex-direction:column}.service-detail-actions{width:100%;justify-content:stretch}.service-detail-actions>*{flex:1}.service-stat-grid{gap:9px}.service-stat{min-height:82px}.service-mode-row{overflow:auto;flex-wrap:nowrap;padding-bottom:4px}.service-mode-row button{min-width:max-content}}


/* Hilpert One v4.3.1 – Digitale Wartungsprotokolle */
.maintenance-empty{display:flex;min-height:310px;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:36px}
.maintenance-empty-icon{width:72px;height:72px;border-radius:24px;background:#edf9f4;color:#12805c;display:grid;place-items:center;font-size:34px;font-weight:900}
.maintenance-empty h3{margin:4px 0 0;font-size:24px}.maintenance-empty p{max-width:560px;color:var(--muted,#68738a);line-height:1.55}
.maintenance-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.maintenance-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
.maintenance-summary-grid article{border:1px solid var(--line,#e3e7ef);background:#fff;border-radius:15px;padding:14px;display:flex;flex-direction:column;gap:4px}
.maintenance-summary-grid small,.maintenance-signature-summary small,.maintenance-measurements small{color:var(--muted,#68738a);font-size:11px;text-transform:uppercase;letter-spacing:.05em}
.maintenance-summary-grid strong{font-size:16px;color:var(--ink,#17233e)}.maintenance-summary-grid span{font-size:12px;color:var(--muted,#68738a)}
.maintenance-report-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:14px}.maintenance-report-grid h4{margin:12px 0 5px}.maintenance-report-grid p{white-space:pre-wrap;line-height:1.5}
.maintenance-warning-title{color:#b51e2d}
.maintenance-measurements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.maintenance-measurements span{border:1px solid var(--line,#e3e7ef);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:3px}.maintenance-measurements strong{font-size:17px}
.maintenance-signature-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px;padding:14px;border:1px solid var(--line,#e3e7ef);border-radius:14px;background:#f8fafc}
.maintenance-signature-summary span{display:flex;flex-direction:column;gap:3px}
.maintenance-form{display:flex;flex-direction:column;gap:16px}.maintenance-form-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px;border-radius:15px;background:#f4f7fb}.maintenance-form-intro h3{margin:2px 0 4px}.maintenance-form-intro p{margin:0;color:var(--muted,#68738a)}
.maintenance-form fieldset{border:1px solid var(--line,#e3e7ef);border-radius:15px;padding:14px;margin:0}.maintenance-form legend{font-weight:800;padding:0 7px;color:var(--ink,#17233e)}
.maintenance-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.maintenance-checklist legend{grid-column:1/-1}
.maintenance-checklist label{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #e6eaf1;border-radius:11px;background:#fff;font-weight:650;cursor:pointer}.maintenance-checklist label:has(input:checked){background:#effaf6;border-color:#9bd7c1;color:#0e6a4d}.maintenance-checklist input{position:absolute;opacity:0;pointer-events:none}.maintenance-checklist label span{width:23px;height:23px;border-radius:7px;border:1px solid #cfd6e2;display:grid;place-items:center;color:transparent;background:#fff}.maintenance-checklist input:checked+span{background:#13966c;border-color:#13966c;color:#fff}
.maintenance-measurement-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.signature-field p{margin:0 0 10px;color:var(--muted,#68738a)}.signature-field canvas{display:block;width:100%;height:150px;border:1px dashed #9aa5b7;border-radius:12px;background:#fff;touch-action:none}.signature-actions{display:flex;justify-content:flex-end;margin-top:5px}
.maintenance-confirm{display:flex!important;align-items:flex-start!important;flex-direction:row!important;gap:9px!important;padding:12px;border-radius:12px;background:#fff8e9;border:1px solid #f0d48d}.maintenance-confirm input{margin-top:2px}
@media(max-width:900px){.maintenance-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.maintenance-report-grid{grid-template-columns:1fr}.maintenance-measurement-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.maintenance-summary-grid,.maintenance-signature-summary,.maintenance-checklist,.maintenance-measurement-form{grid-template-columns:1fr}.maintenance-head-actions{justify-content:flex-start}.maintenance-form-intro{flex-direction:column}.signature-field canvas{height:130px}}
