@font-face{font-family:Archivo;src:url('/uebergabe/fonts/archivo-latin.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{font-family:Archivo,Arial,Helvetica,sans-serif}body{overflow-wrap:anywhere}.appbar{border-bottom:1px solid var(--line)}.appbar small:after{content:'';display:block;width:38px;height:3px;margin-top:7px;background:var(--red)}.crm-navigation{display:flex;gap:8px;flex-wrap:wrap;max-width:1250px;padding:18px 24px 0;margin:auto}.crm-navigation .button{border:0;background:transparent;box-shadow:none}.crm-navigation .button:first-child{background:var(--navy);color:white}.dashboard{padding-top:28px}.dash-heading{padding:24px 0 4px}.dash-heading .button{background:var(--yellow);color:var(--navy);border-color:var(--yellow);min-width:165px}.dash-toolbar{border:0;background:transparent;padding:0;gap:10px}.dash-toolbar .button{font-size:13px}.dash-search{flex-basis:100%;margin-bottom:5px}.dash-search input{min-height:54px;background:white;border-color:var(--line)}.dash-search span{font-size:12px;color:var(--muted)}.crm-statistik{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:26px 0 8px}.crm-stat{border:1px solid var(--line);border-radius:14px;text-align:left;background:white;color:var(--muted);padding:16px 13px;min-height:100px;display:flex;flex-direction:column;gap:7px}.crm-stat strong{font-size:26px;line-height:1;color:var(--navy)}.crm-stat span{font-size:12px;line-height:1.35}.crm-stat[aria-pressed=true]{border-color:var(--navy);box-shadow:inset 0 3px var(--yellow);background:#fff}.crm-card{padding:24px;min-width:0;background:#fff}.crm-card h2{font-size:23px;letter-spacing:-.5px;margin-top:7px}.crm-card .record-top{align-items:flex-start;gap:15px}.crm-badge{border:1px solid var(--line);background:var(--ground);font-size:11px;line-height:1.3;font-weight:700;padding:7px 10px;border-radius:25px;max-width:200px;flex-shrink:0}.crm-badge[data-status=fehlt]{border-color:var(--red);background:#fff7f7}.crm-badge[data-status=im_amt]{background:#fff8df}.crm-badge[data-status=ausgeliefert]{background:var(--navy);color:#fff}.crm-vehicle{font-size:14px;letter-spacing:.3px}.crm-note{padding:10px 13px;border-left:2px solid var(--yellow);font-size:13px;margin-top:0}.crm-card>.small{margin-bottom:16px}.crm-card .actions .button{font-size:12px;padding:10px 14px;flex:1 1 auto}.crm-record-tools{border-top:1px solid var(--line);padding-top:8px;margin-top:17px}.crm-record-tools summary{font-size:12px;color:var(--muted)}.crm-record-tools .actions{margin-top:6px}.crm-workspace{max-width:1250px;margin:auto;padding:30px 24px 20px;min-width:0}.crm-kopf{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:20px}.crm-kopf h1{font-size:34px;margin:9px 0;letter-spacing:-1px}.crm-kopf .actions{margin-top:4px}.crm-kopf .button{font-size:12px}.crm-tabs{display:flex;gap:8px;flex-wrap:wrap;padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:24px}.crm-tab{background:white;border:1px solid var(--line);color:var(--muted);border-radius:10px;min-height:49px;padding:12px 20px;font-weight:700;font-size:14px}.crm-tab[aria-pressed=true]{background:var(--navy);color:white;border-color:var(--navy)}.crm-antraege>.notice{margin-top:0;max-width:100%;font-size:13px}.crm-chat-frame{display:block;width:100%;height:calc(100dvh - 180px);min-height:560px;border:1px solid var(--line);border-radius:18px;background:white}.shell{padding-top:10px}.editor-toolbar{flex-wrap:wrap}.team-bar{flex-wrap:wrap}.team-bar span{min-width:0;overflow-wrap:anywhere}.team-login h2{font-size:31px}.team-login{border-top:4px solid var(--yellow)}.record-state{white-space:normal}#crm-status-dialog{max-width:560px}
@media(min-width:1050px){#protokoll-liste{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.crm-card{margin:0}.dash-empty{grid-column:1/-1}}
@media(max-width:1050px){.crm-statistik{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-card .record-top{flex-wrap:wrap}.crm-badge{flex-shrink:1}}
@media(max-width:620px){.crm-navigation{padding:12px 16px 0}.crm-workspace{padding:24px 16px 16px}.crm-kopf{flex-direction:column;gap:6px}.crm-kopf h1{font-size:29px}.crm-tabs{gap:6px}.crm-tab{flex:1 1 130px;padding:11px 10px;font-size:12px}.crm-statistik{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.crm-stat{min-height:86px;padding:13px}.crm-stat strong{font-size:24px}.crm-card{padding:20px}.crm-card h2{font-size:21px}.crm-card .actions{gap:8px}.crm-chat-frame{min-height:550px;height:calc(100dvh - 170px)}.dash-heading{align-items:flex-start}.dash-heading .button{min-width:0}.appbar{padding-left:16px;padding-right:16px}.appbar a{font-size:16px;min-width:0}.appbar{gap:10px}.language{max-width:115px}.appbar img{width:38px;height:38px}.team-bar{padding-left:16px;padding-right:16px}}
/* Konto und seltene Werkzeuge bleiben erreichbar, ohne den Arbeitsbereich zu verdrängen. */
.team-bar{display:block;max-width:1250px;margin:12px auto 0;padding:0 24px;border:0;background:transparent;box-shadow:none}.crm-account{border:1px solid var(--line);border-radius:12px;background:white;padding:0 14px}.crm-account>summary{display:flex;align-items:center;justify-content:space-between;font-size:12px;min-height:44px;list-style:none;gap:10px}.crm-account>summary:after{content:'+';font-size:18px;color:var(--muted)}.crm-account[open]>summary:after{content:'−'}.crm-account-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:5px 0 14px}.crm-account-actions .small{flex-basis:100%;margin:0}.crm-account-actions .button{font-size:12px}.dash-toolbar{align-items:end}.dash-search{flex:1 1 260px;margin:0}.crm-tools{position:relative;flex:0 0 auto}.crm-tools>summary{min-height:54px;display:flex;align-items:center;padding:10px 17px;border:1px solid var(--line);border-radius:10px;background:white;font-size:12px}.crm-tools-actions{position:absolute;right:0;top:60px;z-index:4;min-width:220px;display:grid;gap:8px;background:white;padding:12px;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 25px #00061912}.crm-tools-actions .button{width:100%}.crm-kopf>.actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px}.crm-tabs{margin-bottom:18px}.crm-antraege .antrag-editor__kopf{padding-top:0}
@media(max-width:620px){.team-bar{padding:0 16px}.crm-account{padding:0 12px}.crm-account-actions .button{flex:1 1 125px}.crm-kopf>.actions{width:100%;flex-wrap:nowrap}.crm-kopf>.actions .button{flex:1 1 0;min-width:0}.crm-workspace{padding-top:22px}.dash-heading{padding-top:12px;margin-bottom:22px}.dash-heading h1{margin-top:10px}.dash-heading p{font-size:14px}.dashboard{padding-top:16px}.crm-statistik{margin-top:20px}.dash-search{flex-basis:190px}.crm-navigation{padding-top:12px}}

.crm-save-notice{max-width:1200px;margin:.5rem auto;padding:.65rem 1rem;border-left:3px solid #ffc72c;background:#fff;font-size:.85rem;overflow-wrap:anywhere}.crm-save-notice p:empty{display:none}.crm-save-notice p{margin:.3rem 0}.crm-save-notice[data-state="fehler"]{border-color:#ef172b}.crm-save-notice[data-state="gespeichert"]{color:#425263}
/* Fachstatus bleibt durch Symbol und Text auch ohne Farbwahrnehmung lesbar. */
.crm-status-icon{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.crm-badge{display:inline-flex;align-items:center;gap:7px;max-width:250px;white-space:normal}.crm-badge[data-status=abholbereit]{color:#9a4400;background:#fff1dc;border-color:#efab51}.crm-badge[data-status=bei_mir]{color:#455363;background:#f1f4f7;border-color:#cbd2da}.crm-badge[data-status=im_amt]{color:#165a9a;background:#e9f3ff;border-color:#8eb9e6}.crm-badge[data-status=ausgeliefert]{color:#176137;background:#e8f5ec;border-color:#83bc97}.crm-badge[data-status=fehlt]{color:#a40016;background:#ffe5e8;border:2px solid #d00024;font-weight:800}.crm-badge[data-status=fehlt] .crm-status-icon{stroke-width:2.5}.crm-badge[data-status=individuell]{color:var(--navy);background:#f4f2fa;border-color:#c9bfdc}.crm-stat strong{display:flex;align-items:center;gap:9px}.crm-stat[data-status=abholbereit] .crm-status-icon{color:#a84c00}.crm-stat[data-status=im_amt] .crm-status-icon{color:#165a9a}.crm-stat[data-status=ausgeliefert] .crm-status-icon{color:#176137}.crm-stat[data-status=fehlt]{border-color:#d00024;color:#a40016;background:#fff3f5}.crm-stat[data-status=fehlt] .crm-status-icon{color:#c00020;stroke-width:2.5}.crm-statistik{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.crm-kopf .button .crm-badge{border:0;padding:2px 0;background:transparent}
/* Die Tabelle scrollt innerhalb der Übersicht; die Seite bleibt in Bildschirmbreite. */
.dashboard,.shell,.dash-toolbar,.dash-heading{min-width:0}.crm-table-host#protokoll-liste{display:block;min-width:0;max-width:100%}.crm-table-controls{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:20px 0 12px}.crm-table-controls>.small{margin:0;flex:1 1 240px;font-size:12px}.crm-column-picker{width:100%;border:1px solid var(--line);border-radius:12px;background:#fff}.crm-column-picker>summary{padding:13px 15px;font-size:13px;font-weight:700;cursor:pointer}.crm-column-choices{max-height:400px;overflow:auto;padding:0 14px 14px;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:15px}.crm-column-choices>button{justify-self:start;grid-column:1/-1}.crm-column-choices fieldset{min-width:0;margin:0;padding:10px;border:1px solid var(--line);border-radius:8px}.crm-column-choices legend{font-size:12px;font-weight:700;padding:0 5px}.crm-column-choice{display:flex;align-items:center;gap:4px;min-height:37px}.crm-column-choice label{display:flex;align-items:center;gap:8px;flex:1;min-width:0;font-size:12px}.crm-column-choice input{width:17px;height:17px;min-height:0;padding:0;flex:0 0 17px;accent-color:var(--navy)}.crm-column-move{width:30px;min-height:30px;padding:0;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--navy)}.crm-column-move:disabled{opacity:.3}.crm-table-scroll{max-width:100%;max-height:70dvh;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:12px;background:white;isolation:isolate}.crm-table-scroll:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}.crm-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px;line-height:1.45;table-layout:auto}.crm-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.crm-table th,.crm-table td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:13px 14px;text-align:left;min-width:150px;max-width:350px;overflow-wrap:anywhere;vertical-align:top}.crm-table th{position:sticky;top:0;z-index:2;background:#edf1f5;padding:0;vertical-align:middle;color:var(--navy);font-size:12px}.crm-sort{display:block;text-align:left;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;padding:14px;width:100%;min-height:48px;white-space:nowrap;cursor:pointer}.crm-sort:hover{background:#e0e7ef}.crm-sort:focus-visible,.crm-name-link:focus-visible{outline:3px solid var(--yellow);outline-offset:-3px}.crm-table td{background:#fff}.crm-table tbody tr:nth-child(even)>td{background:#f8fafc}.crm-table tbody tr:hover>td{background:#fff9e9}.crm-table [data-column=name]{min-width:200px}.crm-name-link{border:0;background:transparent;padding:0;color:var(--navy);font:inherit;font-weight:750;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.crm-table td>small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.crm-table [data-column=fin]{min-width:190px;letter-spacing:.3px}.crm-table [data-column=status]{min-width:200px}.crm-table th.crm-table-actions,.crm-table td.crm-table-actions{position:sticky;right:0;min-width:205px;width:205px;max-width:230px;border-right:0;border-left:1px solid var(--line);box-shadow:-5px 0 10px #0b213008;z-index:1}.crm-table th.crm-table-actions{z-index:3;padding:14px}.crm-table-actions .actions{display:flex;flex-direction:column;gap:6px;margin:0}.crm-table-actions .button{font-size:11px;padding:8px 10px;min-height:36px;white-space:normal;text-align:left}.crm-table-actions .crm-record-tools{padding-top:8px;margin-top:8px}.crm-table-actions .crm-record-tools summary{cursor:pointer;font-size:11px}.crm-table-actions .crm-record-tools .actions{margin-top:8px}.crm-table tr:last-child td{border-bottom:0}
@media(max-width:620px){.crm-statistik{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-stat{min-height:82px}.crm-table-controls{gap:9px;margin-top:15px}.crm-table-scroll{max-height:65dvh;border-radius:9px}.crm-table th,.crm-table td{padding:11px 10px;min-width:130px}.crm-table .crm-sort{padding:12px 10px}.crm-table th.crm-table-actions,.crm-table td.crm-table-actions{width:142px;min-width:142px;max-width:142px;padding:10px 8px}.crm-table-actions .button{font-size:10px;padding:7px 8px}.crm-table-actions .crm-record-tools summary{font-size:10px}.crm-column-choices{grid-template-columns:1fr;max-height:50dvh}.crm-table [data-column=name]{min-width:170px}.crm-table [data-column=status]{min-width:180px}}
.crm-table-actions .actions>*{flex:0 0 auto}.crm-column-choice label{margin:0}.crm-table-actions .text-button{text-align:left;font-size:11px;min-height:36px}

.crm-file-row{padding:18px;margin:14px 0;border:1px solid #d8dde6;border-radius:16px;background:#fff;overflow-wrap:anywhere}.crm-file-row .button{margin:4px 8px 4px 0}
