.topbar-actions{position:relative;display:flex;align-items:center;gap:.55rem}.top-action{font-size:1.25rem}.status-picker{display:flex;align-items:center;gap:.35rem;padding:.35rem .55rem;border:1px solid var(--line);border-radius:10px;background:#fff}.status-picker span{color:#2e8b57}.status-picker select{border:0;background:transparent;min-width:9rem}.account-menu{position:relative}.account-trigger{display:grid;text-align:left;border:0;background:transparent;padding:.35rem .65rem;border-radius:10px;cursor:pointer}.account-trigger small{color:var(--muted)}.account-popover{position:absolute;right:0;top:calc(100% + .25rem);z-index:30;display:none;min-width:190px;padding:.4rem;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 35px #0002}.account-menu:hover .account-popover,.account-menu:focus-within .account-popover{display:grid}.account-popover button{border:0;background:transparent;padding:.7rem;text-align:left;border-radius:8px;cursor:pointer}.account-popover button:hover{background:#f3eded}.dashboard-columns{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.dashboard-panel{padding:1.2rem;background:#fff;border:1px solid var(--line);border-radius:16px}.employee-status-grid,.dashboard-orders{display:grid;gap:.55rem}.employee-status-grid article{display:grid;grid-template-columns:minmax(120px,1fr) minmax(100px,.7fr) auto;align-items:center;gap:.5rem;padding:.65rem;border-bottom:1px solid var(--line)}.dashboard-orders button{display:grid;text-align:left;gap:.2rem;padding:.7rem;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}.copy-phone{border:0;background:transparent;color:#660000;cursor:pointer;padding:.25rem}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.detail-grid>div{display:grid;gap:.25rem;padding:.7rem;border:1px solid var(--line);border-radius:10px}.detail-grid span{white-space:pre-wrap;overflow-wrap:anywhere}.overdue-row{background:#ffe6e6!important;color:#8b0000}.subsection-title{margin-top:1.5rem}.permission-table{width:100%;table-layout:fixed}.permission-table th,.permission-table td{text-align:center;padding:.45rem .2rem}.permission-table thead th:not(:first-child){height:125px;writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;font-size:.72rem}.permission-table th:first-child,.permission-table td:first-child{position:sticky;left:0;z-index:2;text-align:left;background:#fff;width:210px}.table-card table{width:100%;table-layout:fixed}.table-card th,.table-card td{overflow-wrap:anywhere}.table-card .icon-action{min-width:2rem}.table-scroll{overflow-y:auto;overflow-x:hidden}.section-head .icon-action{display:inline-grid}.hidden{display:none!important}
@media(min-width:1100px){#view-repair th:nth-child(1){width:13%}#view-repair th:nth-child(2){width:9%}#view-repair th:nth-child(3){width:26%}#view-repair th:nth-child(4){width:12%}#view-repair th:nth-child(5){width:32%}#view-repair th:nth-child(6){width:8%}#view-users th:nth-child(1){width:26%}#view-users th:nth-child(2){width:20%}#view-users th:nth-child(3){width:20%}#view-users th:nth-child(4){width:20%}#view-users th:nth-child(5){width:14%}}
@media(max-width:900px){.dashboard-columns,.detail-grid{grid-template-columns:1fr}.status-picker{display:none}.table-card{overflow-x:auto}.table-card table{min-width:720px}.account-trigger #topbarUserName{display:none}}

/* Korrekturen 2.7.1 */
.icon-action,.row-actions .icon-action{display:inline-flex;align-items:center;justify-content:center;width:2.55rem;height:2.55rem;min-width:2.55rem;padding:0;border:1px solid #cfc7c4;border-radius:9px;color:#333;background:#fff;line-height:1;vertical-align:middle;box-shadow:none}
.icon-action:hover,.row-actions .icon-action:hover{border-color:var(--red);color:var(--red);background:#f8eeee}
.icon-action.primary-button{color:#fff;background:var(--red);border-color:var(--red)}
.icon-action.primary-button:hover{color:#fff;background:var(--red-dark)}
.location-icon{display:inline-block;margin-right:.2rem;text-decoration:none}.location-link{text-decoration:underline;text-underline-offset:2px}
#towDetailDialog{max-height:calc(100vh - 2rem);padding:1.5rem;overflow:hidden}
#towDetailDialog .detail-grid{max-height:calc(100vh - 205px);overflow-y:auto;padding:0 .35rem .6rem 0}
#towDetailDialog .dialog-actions{position:relative;margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--line);background:#fff}
.permission-table thead th:not(:first-child){height:auto;min-height:0;padding:.75rem .2rem;writing-mode:horizontal-tb;transform:none;white-space:normal;word-break:break-word;hyphens:auto;font-size:.62rem;line-height:1.15}
.permission-table th:first-child,.permission-table td:first-child{width:200px}
.permission-table input{display:block;margin:auto}
.empty-hint{margin:.5rem 0;color:var(--muted)}

/* Verfeinerungen 2.7.2 */
.dashboard-orders>article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.7rem;border:1px solid var(--line);border-radius:10px;background:#fff}
.dashboard-orders .dashboard-order-open{display:grid;gap:.2rem;min-width:0;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}
.dashboard-order-location{display:flex;align-items:center;min-width:0;white-space:nowrap}.dashboard-order-location .location-link{max-width:16rem;overflow:hidden;text-overflow:ellipsis}
.employee-status-select,.status-picker select{appearance:none;min-width:10rem;padding:.55rem 2.1rem .55rem 2rem;border:1px solid #cfc7c4;border-radius:999px;color:#2b2726;background-color:#f7f4f3;background-image:radial-gradient(circle at 1rem 50%,#777 0 .28rem,transparent .31rem),linear-gradient(45deg,transparent 50%,#5d5552 50%),linear-gradient(135deg,#5d5552 50%,transparent 50%);background-position:0 0,calc(100% - 14px) 50%,calc(100% - 9px) 50%;background-size:auto,5px 5px,5px 5px;background-repeat:no-repeat;font-weight:700;cursor:pointer}
.employee-status-select:hover,.status-picker select:hover{border-color:var(--red);background-color:#fff}.employee-status-select:focus,.status-picker select:focus{outline:3px solid #66000022;border-color:var(--red)}.employee-status-select:disabled{cursor:not-allowed;opacity:.72}
.employee-status-select[data-status="ARBEITET"],.employee-status-select[data-status="BEREITSCHAFT"],.employee-status-select[data-status="TEL_ERREICHBAR"],.employee-status-select[data-status="LEITSTELLE"],.employee-status-select[data-status="BÜRO"]{background-image:radial-gradient(circle at 1rem 50%,#26884a 0 .28rem,transparent .31rem),linear-gradient(45deg,transparent 50%,#5d5552 50%),linear-gradient(135deg,#5d5552 50%,transparent 50%)}
.employee-status-select[data-status="PAUSE"],.employee-status-select[data-status="TERMIN"],.employee-status-select[data-status="AUSSENDIENST"]{background-image:radial-gradient(circle at 1rem 50%,#d78a00 0 .28rem,transparent .31rem),linear-gradient(45deg,transparent 50%,#5d5552 50%),linear-gradient(135deg,#5d5552 50%,transparent 50%)}
.employee-status-select[data-status="KRANK"],.employee-status-select[data-status="BEURLAUBT"],.employee-status-select[data-status="KOPFSCHMERZEN"]{background-image:radial-gradient(circle at 1rem 50%,#9b1919 0 .28rem,transparent .31rem),linear-gradient(45deg,transparent 50%,#5d5552 50%),linear-gradient(135deg,#5d5552 50%,transparent 50%)}
#view-vouchers th:nth-child(3){width:6%}#view-vouchers th:nth-child(5){width:19%}#view-vouchers th:nth-child(8){width:13%}

/* Verfeinerungen 2.7.3 */
.status-picker{padding:0;border:0;background:transparent}
.welcome-card{padding:1.15rem 1.4rem;border-radius:16px}
.welcome-card h1{font-size:clamp(1.35rem,2.2vw,2rem);letter-spacing:-.025em}
.welcome-card .eyebrow{margin-bottom:.2rem;font-size:.64rem}
.welcome-card .rank-badge{padding:.45rem .7rem;font-size:.68rem}

/* Finanzmodule 2.7.5 */
.money-value{font-weight:850;font-variant-numeric:tabular-nums}.money-value.negative{color:#b42318}.money-value.positive{color:#168447}
#view-billing th:nth-child(1){width:24%}#view-billing th:nth-child(2){width:20%}#view-billing th:nth-child(3){width:38%}#view-billing th:nth-child(4){width:18%}
#view-prices th:nth-child(1){width:12%}#view-prices th:nth-child(2){width:18%}#view-prices th:nth-child(3){width:9%}#view-prices th:nth-child(4),#view-prices th:nth-child(5){width:11%}#view-prices th:nth-child(6){width:15%}#view-prices th:nth-child(7){width:15%}#view-prices th:nth-child(8){width:9%}
#priceDialog .check-label{display:flex;grid-column:1/-1;align-items:center;gap:.7rem;padding:.8rem;border:1px solid var(--line);border-radius:10px;background:#faf8f7}#priceDialog .check-label input{width:1.2rem;height:1.2rem;margin:0;accent-color:var(--red)}
.order-form{display:grid;gap:1.35rem}.order-customer-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:1rem;padding:1.25rem;border:1px solid var(--line);border-radius:18px;background:#fff}.order-form label{display:grid;gap:.5rem;font-size:.91rem;font-weight:700;color:#3b3736}.order-form select,.order-form input{width:100%;height:3rem;padding:0 .85rem;border:1px solid #d7d0ce;border-radius:10px;background:#fff}.order-customer-info{grid-column:1/-1;padding:.75rem 1rem;border-radius:10px;color:#5e5552;background:#f5f1ef}.order-block-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}.order-block-head h2,.order-block-head p{margin:.2rem 0}.order-block-head p{color:var(--muted)}.order-vehicles{display:grid;gap:1rem}.order-vehicle-card{position:relative;min-width:0;margin:0;padding:1.25rem;border:1px solid var(--line);border-radius:18px;background:#fff}.order-vehicle-card legend{padding:0 .45rem;color:var(--red);font-weight:850}.order-vehicle-remove{position:absolute;top:.75rem;right:.75rem}.order-vehicle-fields{display:grid;grid-template-columns:2fr 1fr;gap:1rem;padding-right:3rem}.order-work-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem 1rem;margin-top:1rem}.order-work-list>strong{grid-column:1/-1}.order-work-list label{display:flex;align-items:center;gap:.65rem;padding:.7rem;border:1px solid #e8e0dd;border-radius:10px;font-weight:600}.order-work-list input{width:1.05rem;height:1.05rem;flex:0 0 auto;accent-color:var(--red)}.order-toolbox-line{margin-top:1rem;padding:.75rem;border-radius:10px;color:#315f43;background:#e8f4ed;font-weight:750}.order-vehicle-total{text-align:right;margin-top:.75rem;font-weight:850}.order-summary{display:flex;justify-content:flex-end;gap:1.5rem;flex-wrap:wrap;padding:1.1rem 1.25rem;border-radius:14px;color:#675f5c;background:#eee9e7}.order-summary span{display:grid;gap:.25rem}.order-summary strong{color:#282323;font-size:1.1rem}.order-summary .order-total strong{color:var(--red);font-size:1.35rem}.order-result{padding:1rem;border:1px solid #bad9c7;border-radius:12px;color:#25563a;background:#e8f4ed;font-weight:800}.payroll-placeholder{padding:2rem}.payroll-placeholder p{margin-bottom:0;color:var(--muted)}@media(max-width:800px){.order-customer-grid,.order-vehicle-fields,.order-work-list{grid-template-columns:1fr}.order-vehicle-fields{padding-right:0}.order-summary{justify-content:flex-start}}
.order-work-list{display:block}.order-work-list>strong{display:block;margin-bottom:.65rem}.order-work-rows{display:grid;gap:.65rem}.order-work-row{display:grid;grid-template-columns:minmax(0,1fr) 130px 42px;align-items:end;gap:.65rem}.order-work-row>[data-order-work]{width:100%;height:3rem;padding:0 .85rem;border:1px solid #d7d0ce;border-radius:10px}.order-work-row .order-quantity{display:grid;padding:0;border:0}.order-work-row .order-quantity input{width:100%;height:3rem;padding:0 .65rem}.order-customer-grid input[type="checkbox"]{width:1.1rem;height:1.1rem;padding:0;accent-color:var(--red)}.order-result{display:flex;align-items:center;justify-content:space-between;gap:1rem}.order-result strong{font-size:1.15rem}.order-result .icon-action{flex:0 0 auto}@media(max-width:800px){.order-work-row{grid-template-columns:minmax(0,1fr) 100px 42px}}
