body:not(.is-login){height:100dvh;overflow:hidden;display:flex;flex-direction:column}
body:not(.is-login) header.topbar{flex:0 0 88px;position:relative;z-index:30}
body:not(.is-login) .workspace{flex:1;min-height:0;overflow:hidden}
body:not(.is-login) nav.sidebar{position:relative;top:auto;height:100%;flex-shrink:0;overflow-y:auto}
body:not(.is-login) #app{height:100%;overflow:auto;min-width:0;flex:1;scrollbar-gutter:stable}
.release-notice{display:flex;align-items:center;gap:12px;padding:10px 24px;background:#fff0b3;border-bottom:1px solid #ddca8b;flex-shrink:0;font-size:13px}
.release-notice span{flex:1}.release-notice button{white-space:nowrap}
.order-table tbody tr.status-planned{background:#fff0b3}.order-table tbody tr.status-delivered{background:#d8f1de}.order-table tbody tr.status-empty{background:#c6eeed}
.order-table tbody tr.status-planned:hover{background:#ffe799}.order-table tbody tr.status-delivered:hover{background:#c7e9cf}.order-table tbody tr.status-empty:hover{background:#b2e2df}
.order-table td:first-child input[type=checkbox]{width:20px;height:20px;accent-color:#db2735}
.bulk-toolbar{margin:12px 0}.bulk-toolbar span{flex:1}
.order-table .order-driver{min-width:120px;max-width:210px;white-space:normal;overflow-wrap:anywhere}
.work-time td{white-space:nowrap}.work-time .table-scroll{max-width:100%;overflow:auto}
@media(max-width:760px){body:not(.is-login) header.topbar{flex-basis:76px}.release-notice{padding:8px;flex-wrap:wrap}.release-notice span{display:none}body:not(.is-login) .workspace{display:flex;flex-direction:column}body:not(.is-login) nav.sidebar{width:100%;height:auto;max-height:104px;flex:0 0 auto;overflow-x:auto;overflow-y:hidden}body:not(.is-login) #app{height:auto;min-height:0;width:100%}}


.monthly-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.monthly-kpi{background:white;border:1px solid #e0e5ed;border-radius:12px;padding:22px;box-shadow:0 4px 12px #17203308}.monthly-kpi p{color:#62708a;margin:0 0 8px}.monthly-kpi strong{display:block;font-size:32px;line-height:1.3;color:#172033}.monthly-kpi small{display:block;color:#62708a;margin-top:8px}.monthly-kpi strong.positive{color:#177b58}.monthly-kpi strong.negative{color:#ac303f}.monthly-overview td:nth-last-child(-n+3){text-align:right;font-variant-numeric:tabular-nums}.monthly-overview .table-scroll{overflow:auto}
@media(max-width:900px){.monthly-kpis{grid-template-columns:1fr}.monthly-kpi strong{font-size:28px}}
/* Keep every navigation destination reachable on a narrow screen. */
@media(max-width:760px){body:not(.is-login) nav.sidebar{display:flex;flex-flow:row nowrap;align-items:center;gap:5px;padding:8px;max-height:none}.sidebar .nav-group:has(>button:not([hidden])),.sidebar .sidebar-footer{display:contents}.sidebar .nav-caption,.sidebar .sidebar-footer>span{display:none}.sidebar button{flex:0 0 auto;white-space:nowrap;min-height:44px}.sidebar .nav-group .nav-create{margin:0}}
.order-glance{display:grid;grid-template-columns:1.3fr .8fr 1fr;gap:12px;margin:16px 0 20px}.order-glance>div{min-width:0;border:1px solid #e1e5ec;border-radius:10px;background:#f8f9fb;padding:15px}.order-glance span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:#687284;margin-bottom:8px}.order-glance strong{display:block;font-size:18px;overflow-wrap:anywhere}.order-glance .glance-price{background:#edf7f1;border-color:#cbe2d3}.order-glance .glance-price strong{font-size:24px;color:#216744}.order-glance .glance-next button{margin-top:8px}.order-status-line{display:flex;flex-wrap:wrap;gap:8px}.order-status-line .status{border:1px solid #dce1e8;padding:6px 10px}.desktop-order .order-heading{border-left:4px solid #c7192b;padding-left:16px}.desktop-order .order-workflow-hint{max-width:850px;line-height:1.5}
@media(max-width:900px){.order-glance{grid-template-columns:1fr}.order-glance .glance-price strong{font-size:22px}}
.desktop-order .group{scroll-margin-top:220px}
.draft-withdraw{margin:16px 0;padding:18px;border:1px solid #e4c990;border-radius:10px;background:#fff9ec;overflow-wrap:anywhere}.draft-withdraw[hidden]{display:none}.draft-withdraw h4{font-size:17px;margin:0 0 12px}.draft-withdraw-actions{display:flex;gap:10px;flex-wrap:wrap}.draft-withdraw .lexware-confirm{padding:12px 0;background:transparent}.draft-withdraw input[type=checkbox]{width:22px;height:22px;min-height:22px;accent-color:#c7192b}.draft-outcome #draft-manage{margin:8px 0 8px 12px}#draft-history-notice:not(:empty){padding:14px;border-radius:8px;background:#edf7f1;color:#216744}
@media(max-width:900px){.desktop-order .group{scroll-margin-top:20px}}
.lexware-flow h1{font-size:28px;margin:0 0 12px}.flow-step{display:flex;align-items:center;gap:10px;font-size:20px;margin:24px 0 16px}.flow-step>span{display:inline-grid;place-items:center;width:30px;height:30px;flex-shrink:0;border-radius:50%;color:white;background:#c7192b;font-size:16px}.flow-details{margin:12px 0;color:#626c7b;font-size:13px}.flow-details summary{cursor:pointer;padding:8px 0}.lexware-flow #collection-filter{margin:20px 0}.lexware-flow #collection-filter>button{margin-top:12px}.lexware-flow #collection-customer>label{max-width:600px}.lexware-flow input[type=checkbox],.lexware-send input[type=checkbox]{width:22px;height:22px;min-height:22px;accent-color:#c7192b}.flow-selection{display:flex;gap:16px;align-items:center;justify-content:space-between;background:#edf7f1;border:1px solid #cbe2d3;border-radius:10px;padding:18px;margin:20px 0}.flow-selection strong{font-size:20px}.lexware-send{scroll-margin-top:20px}.draft-summary{display:grid;grid-template-columns:1fr auto;gap:12px;padding:20px;background:#f3f6fa;border:1px solid #dce3ec;border-radius:10px;margin-bottom:16px}.draft-summary strong{font-size:22px}.draft-summary span{font-size:13px;color:#616c7e}.lexware-confirm{display:flex;align-items:flex-start;gap:12px;padding:18px;background:#fff8e7;border-radius:9px;margin:20px 0;font-size:15px;line-height:1.5}.lexware-confirm input{flex-shrink:0}.draft-outcome{margin:18px 0;padding:20px;border-radius:10px}.draft-outcome.success{background:#edf7f1;border:1px solid #cbe2d3}.draft-outcome strong{font-size:18px}.draft-outcome a{display:inline-block;padding:12px 16px;background:#c7192b;color:white;border-radius:8px;text-decoration:none;font-weight:600}.lexware-history>summary{cursor:pointer;font-weight:700;padding:18px;background:#fff;border:1px solid #dde3eb;border-radius:10px;margin:18px 0}.lexware-history .card>h2{font-size:20px}@media(max-width:650px){.flow-selection{align-items:stretch;flex-direction:column}.draft-summary{grid-template-columns:1fr}.draft-summary strong{font-size:20px}}
