/* KK0a: calm, accessible workspace and a separate public front door. */
.hidden, [hidden], #arbeitsbereich[hidden] { display:none !important; }
:root { --welcome-green:#1c5d51; --welcome-cream:#f5f3eb; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
button:focus-visible,a:focus-visible,summary:focus-visible { outline:3px solid #3f9584;outline-offset:4px; }
.welcome-page,.auth-page { color:#19372e;background:var(--welcome-cream);min-height:100vh; }
.welcome-page { padding:0 max(24px,calc((100vw - 1180px)/2));overflow:hidden; }
.welcome-nav { min-height:105px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #dedfd4; }
.brand-word { display:inline-flex;align-items:center;gap:16px;color:#19372e;font-weight:750;font-size:27px;letter-spacing:-1.4px;text-decoration:none;text-align:left; }
.brand-word span { border-left:1px solid #ccd1c4;padding-left:16px;font-size:11px;line-height:1.4;font-weight:500;letter-spacing:0;color:#607065;max-width:110px; }
.welcome-page .btn,.auth-page .btn { border-radius:9px;min-height:45px;padding:12px 20px; }
.welcome-page .btn-accent,.auth-page .btn-primary { background:var(--welcome-green);color:white;border:1px solid var(--welcome-green); }
.welcome-page .btn-secondary { background:transparent;border:1px solid #cad1c2;color:#19372e; }
.welcome-page .btn:hover,.auth-page .btn-primary:hover { filter:brightness(.94); }
.welcome-hero { display:grid;grid-template-columns:1.05fr 1fr;gap:70px;align-items:center;padding:78px 0 94px; }
.eyebrow { font-size:10px;font-weight:650;letter-spacing:1.9px;color:#617365;margin-bottom:17px;display:flex;align-items:center;gap:9px; }
.status-dot { width:7px;height:7px;background:#357763;border-radius:50%;display:inline-block; }
.welcome-copy h1 { font-size:clamp(42px,4.6vw,66px);line-height:1.09;font-weight:650;letter-spacing:-3px;margin:0 0 24px; }
.welcome-copy h1 span { color:#3b806c; }
.welcome-intro { font-size:16px;line-height:1.8;max-width:430px;color:#657369; }
.welcome-actions { display:flex;align-items:center;gap:22px;margin-top:30px;flex-wrap:wrap; }
.welcome-actions .btn { min-height:50px;gap:22px; }
.welcome-login { color:#486052;font-size:12px;text-decoration:underline;text-underline-offset:4px; }
.welcome-points { display:flex;gap:20px;margin-top:25px;font-size:11px;color:#6b786e;flex-wrap:wrap; }
.welcome-art { position:relative;padding:28px 20px 10px; }
.welcome-art::before { content:'';position:absolute;inset:-14px -38px 2px 0;background:#e2e8d8;border-radius:50% 48% 40% 42%;transform:rotate(-12deg); }
.sample-paper { position:relative;background:#fffefb;border:1px solid #e5e6dc;border-radius:5px;padding:33px;transform:rotate(3deg);box-shadow:0 24px 45px #283d2121; }
.paper-tag { position:absolute;top:1px;right:18px;z-index:1;font-size:10px;border:1px solid #cdd8c1;background:#f7f8f0;border-radius:20px;padding:8px 13px;transform:rotate(3deg); }
.paper-top { display:flex;gap:10px;align-items:center;font-size:10px;line-height:1.7; }
.sample-logo { width:31px;height:31px;background:#204f40;color:white;border-radius:5px;display:grid;place-items:center;font-size:19px;font-weight:600; }
.paper-top small { font-size:6px;letter-spacing:1px;color:#8b968c; }
.sample-draft { margin-left:auto;font-size:7px;letter-spacing:1.5px;color:#8e978a; }
.paper-title { display:flex;justify-content:space-between;align-items:baseline;margin:30px 0 20px; }
.paper-title h2 { font-size:23px;letter-spacing:-1px;font-weight:600; }
.paper-title>span { font-size:8px;color:#6e7b71; }
.paper-meta { display:flex;justify-content:space-between;font-size:8px;color:#879187;line-height:1.9;margin-bottom:27px; }
.paper-meta strong { display:block;color:#48604c;font-weight:500;font-size:9px; }
.paper-row { display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5e9df;padding:14px 0;font-size:10px;gap:10px; }
.paper-row small { display:block;font-size:8px;color:#97a092;margin-top:3px; }
.paper-row strong { font-weight:500;white-space:nowrap; }
.paper-row-head { font-size:7px;color:#8a968c;text-transform:uppercase;letter-spacing:1px;padding:8px 0; }
.paper-total { display:flex;justify-content:space-between;align-items:center;background:#edf2e8;padding:16px 12px;font-size:9px;margin-top:15px; }
.paper-total strong { font-size:20px;letter-spacing:-1px; }
.paper-footer { margin-top:24px;font-size:8px;color:#8d978c; }
.paper-confirm { display:flex;gap:11px;align-items:center;position:relative;z-index:1;background:#1d5f4f;color:#fff;border-radius:10px;padding:15px 21px;margin:-9px -12px 0 64px;box-shadow:0 10px 20px #273d2820;transform:rotate(-2deg); }
.paper-confirm>span { background:#ffffff1c;border-radius:50%;width:28px;height:28px;display:grid;place-items:center; }
.paper-confirm strong { font-size:11px;display:block;font-weight:500; }
.paper-confirm small { font-size:9px;display:block;margin-top:3px;color:#c3dcd0; }
.welcome-steps { display:grid;grid-template-columns:repeat(3,1fr);gap:45px;padding:30px 0 38px;border-top:1px solid #dedfd4; }
.welcome-steps article>span { color:#85937e;font-size:11px;font-family:monospace; }
.welcome-steps h2 { font-size:14px;font-weight:600;margin:10px 0 7px; }
.welcome-steps p { font-size:12px;line-height:1.7;color:#758073;max-width:275px; }
.welcome-footer { display:flex;justify-content:space-between;gap:20px;padding:23px 0;border-top:1px solid #dedfd4;color:#8a9386;font-size:10px; }
.auth-page:not(.hidden) { display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,460px);gap:70px;align-items:center;padding:70px max(24px,calc((100vw - 1040px)/2)); }
.auth-story .brand-word { margin-bottom:100px; }
.auth-story h1 { font-size:42px;line-height:1.18;letter-spacing:-1.8px;font-weight:600;margin-bottom:23px; }
.auth-story>p:not(.eyebrow) { font-size:15px;line-height:1.8;color:#6c786d;max-width:370px; }
.auth-story-note { margin-top:45px;font-size:11px;color:#84907c; }
.auth-card { background:#fffefb;border:1px solid #e1e5da;border-radius:16px;padding:36px;box-shadow:0 15px 55px #2b4b2210; }
.auth-back { font-size:11px;color:#7c8a79;margin-bottom:30px; }
.auth-card #anm-titel { font-size:24px;letter-spacing:-.8px; }
.auth-card #anm-text { font-size:13px;line-height:1.7;margin:12px 0 25px; }
.auth-card .field { background:white;min-height:46px;border-radius:8px; }
.auth-card .lbl { font-size:12px; }
.auth-card #anm-knopf { margin-top:22px; }
.is-app .inhalt { max-width:1180px; }
.is-app #hdr>div { max-width:1180px; }
.dashboard-welcome { display:flex;justify-content:space-between;gap:25px;align-items:center;padding:28px 0 35px; }
.dashboard-welcome h2,.offers-heading h2 { font-size:27px;letter-spacing:-1px;font-weight:600; }
.dashboard-welcome p:not(.eyebrow) { color:var(--text-leise);font-size:13px;margin-top:8px; }
.quick-actions { display:flex;gap:10px;flex-wrap:wrap; }
.quick-actions .btn { min-height:44px;padding:12px 19px; }
.setup-hint { display:flex;justify-content:space-between;gap:20px;align-items:center;padding:23px;background:var(--aktion-zart);border:1px solid var(--line);border-radius:12px;margin-bottom:25px; }
.setup-hint p { font-size:12px;color:var(--text-leise);margin-top:7px; }
#panel-invoice>div { max-width:850px;margin:auto; }
#panel-invoice h2 { font-size:27px;letter-spacing:-1px; }
.document-type { display:flex;gap:5px;padding:4px;border:1px solid var(--line);border-radius:9px;margin:20px 0;background:var(--grund);width:fit-content; }
.document-type button { padding:9px 23px;font-size:12px;color:var(--text-leise);border-radius:6px; }
.document-type button[aria-pressed=true] { background:var(--karte);color:var(--aktion);box-shadow:0 1px 4px #00000015; }
.wizard-steps { display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:10px 0 19px; }
.wizard-steps button { display:flex;gap:9px;align-items:center;font-size:12px;color:var(--text-leise); }
.wizard-steps button>span { display:grid;place-items:center;width:27px;height:27px;border:1px solid var(--line);border-radius:50%;font-size:11px; }
.wizard-steps button.active { color:var(--aktion);font-weight:600; }
.wizard-steps button.active>span { background:var(--aktion);border-color:var(--aktion);color:white; }
#panel-invoice .card-pad { padding:25px; }
#panel-invoice .field { min-height:43px; }
#panel-invoice .lbl { font-size:12px; }
.optional-fields { margin-top:16px;border-top:1px solid var(--line);padding-top:13px; }
.optional-fields summary { cursor:pointer;font-size:12px;color:var(--aktion);margin-bottom:12px; }
.optional-fields[open] { padding-bottom:8px; }
.wizard-navigation { display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:24px; }
#wizard-stand { font-size:11px;color:var(--text-leise);margin-right:auto; }
.document-actions { padding-top:15px;border-top:1px solid var(--line); }
.form-error { background:var(--kritisch-zart);border:1px solid var(--kritisch-linie);color:var(--kritisch-text);padding:13px 16px;border-radius:8px;font-size:13px; }
.review-summary { margin-bottom:22px; }
.review-parties { display:grid;grid-template-columns:1fr 1fr;gap:25px;background:var(--grund);padding:18px;border-radius:8px;margin-bottom:17px; }
.review-parties small { display:block;font-size:9px;color:var(--text-leise);letter-spacing:1px;margin-bottom:7px; }
.review-parties strong { font-size:14px;font-weight:600; }
.review-parties p { font-size:12px;line-height:1.7;color:var(--text-leise);margin-top:4px; }
.review-item { display:flex;justify-content:space-between;gap:20px;font-size:13px;padding:12px 0;border-bottom:1px solid var(--line); }
.review-item small { display:block;font-size:11px;color:var(--text-leise);margin-top:4px; }
.review-item strong { white-space:nowrap; }
.review-note { padding:12px;border-radius:7px;background:var(--aktion-zart);font-size:12px;line-height:1.6;margin-top:16px; }
.offers-heading { display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:27px; }
.offers-heading p.text-muted { font-size:13px;margin-top:8px; }
.offer-card { display:flex;align-items:center;gap:25px;background:var(--karte);border:1px solid var(--line);border-radius:12px;padding:23px; }
.offer-card>div:first-child { flex:1; }
.offer-card h3 { font-size:15px;font-weight:600;margin:7px 0; }
.offer-card p { color:var(--text-leise);font-size:11px; }
.offer-status { display:inline-block;padding:4px 8px;background:var(--aktion-zart);color:var(--aktion);font-size:9px;border-radius:5px; }
.offer-actions { display:flex;gap:8px;flex-wrap:wrap; }
.empty-state { padding:65px 25px;text-align:center;background:var(--karte);border:1px dashed var(--line);border-radius:12px; }
.empty-state>svg { width:32px;height:32px;color:var(--aktion);margin:auto; }
.empty-state h3 { font-size:20px;font-weight:600;margin:20px 0 10px; }
.empty-state p { max-width:430px;margin:0 auto 23px;font-size:13px;line-height:1.8;color:var(--text-leise); }
#positions>div { padding:15px;background:var(--karte); }
#positions .del-x { display:grid;place-items:center;min-width:28px;min-height:32px; }
@media(max-width:800px) {
 .welcome-hero { gap:24px;padding:50px 0 65px; }.welcome-copy h1 { font-size:45px;letter-spacing:-2px; }.sample-paper { padding:22px; }.welcome-art { padding:23px 10px 0; }.paper-confirm { margin-left:20px;padding:13px; }.welcome-intro { font-size:14px; }
 .auth-page:not(.hidden) { gap:35px;padding:35px;grid-template-columns:1fr 1fr; }.auth-story h1 { font-size:32px; }.auth-card { padding:25px; }
 .dashboard-welcome { align-items:flex-start;flex-direction:column; }.offer-card { flex-wrap:wrap; }.offer-actions { width:100%; }
}
@media(max-width:600px) {
 .welcome-page { padding:0 22px; }.welcome-nav { min-height:82px; }.brand-word { font-size:25px; }.brand-word span { font-size:10px; }.welcome-nav .btn { padding:9px 14px;min-height:40px;font-size:12px; }
 .welcome-hero { grid-template-columns:1fr;gap:45px;padding:43px 0 65px; }.welcome-copy h1 { font-size:49px;letter-spacing:-2.5px; }.welcome-intro { max-width:340px; }.welcome-art { max-width:400px;width:100%;margin:auto;padding:18px 16px 0; }.sample-paper { padding:30px; }.welcome-art::before { inset:-10px -5px 0; }.welcome-steps { grid-template-columns:1fr;gap:24px;padding:30px 0; }.welcome-steps article { padding-left:40px;position:relative; }.welcome-steps article>span { position:absolute;left:0;top:10px; }.welcome-steps h2 { margin-top:0; }.welcome-footer { flex-direction:column;gap:10px; }
 .auth-page:not(.hidden) { display:block;padding:24px 20px 45px; }.auth-story { margin-bottom:28px; }.auth-story .brand-word { margin-bottom:25px; }.auth-story h1 { font-size:28px; }.auth-story>p:not(.eyebrow),.auth-story .eyebrow,.auth-story-note { display:none; }.auth-card { padding:25px; }.auth-back { margin-bottom:22px; }
 .wizard-steps { gap:8px; }.wizard-steps button { font-size:10px;gap:5px; }.wizard-steps button>span { width:22px;height:22px; }.wizard-navigation { flex-wrap:wrap; }.wizard-navigation .btn { padding:10px 13px; }#wizard-stand { font-size:10px; }
 #panel-invoice .card-pad { padding:18px; }#panel-invoice .grid-cols-2 { grid-template-columns:1fr; }.review-parties { grid-template-columns:1fr;gap:17px; }
 #positions .grid-cols-12 { display:grid;grid-template-columns:1fr 1fr 36px; }#positions .js-beschreibung { grid-row:1;grid-column:1 / 3; }#positions .js-menge { grid-row:2;grid-column:1; }#positions .js-einheit { grid-row:2;grid-column:2; }#positions .js-preis { grid-row:3;grid-column:1 / 3; }#positions .col-span-1 { grid-row:1;grid-column:3; }#positions .field { font-size:16px!important; }#positions .js-menge::before {content:'Menge'; }
 [data-step="2"]>.grid-cols-12 { display:none; }.offers-heading,.setup-hint { align-items:flex-start;flex-direction:column; }.offer-card { padding:19px;gap:18px; }.offer-card>strong { font-size:16px; }
}
@media(prefers-reduced-motion:reduce) { * { scroll-behavior:auto!important;transition:none!important; } }

.document-template-bar { display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--karte);border:1px solid var(--line);border-radius:12px;padding:18px 22px;margin-bottom:20px; }
.document-template-bar>div { flex:1;max-width:480px; }
.document-template-bar .field { min-height:43px; }
.document-design { background:var(--karte);border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:22px; }
.document-design-nav { display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:20px; }
.document-design .vorlagen-raster { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media(max-width:600px) { .document-template-bar { flex-direction:column;align-items:stretch;padding:18px;gap:12px; }.document-template-bar>div { max-width:none; }.document-design { padding:15px; }.document-design .vorlagen-raster { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* Befunde der Geräte- und Barrierefreiheitsprüfung. */
button { min-height:24px; }
input[type="checkbox"],input[type="radio"] { min-width:24px;min-height:24px;flex-shrink:0; }
.eyebrow { color:#385646; }
.welcome-intro,.welcome-points,.auth-story>p:not(.eyebrow) { color:#405649; }
#app-tabs { overflow-x:auto;max-width:100%;overscroll-behavior-x:contain;scrollbar-width:thin;scroll-padding-inline:12px; }
.tabs-hinweis { display:none; }
@media(max-width:640px) {
 #app-tabs { gap:18px;padding-bottom:8px; }
 .tabs-hinweis { display:block;font-size:12px;color:var(--text-leise);margin:4px 0 8px; }
 button:not(.tab) { min-height:32px; }
}
@media(prefers-color-scheme:dark) {
 #arbeitsbereich .eyebrow { color:#a9d4ba; }
}

/* Approved modern document workspace. */
.modern-editor>div { max-width:none!important; }
.modern-editor .wizard-steps,.modern-editor .wizard-navigation,.modern-editor .wizard-final,.modern-editor #dokument-zusammenfassung { display:none!important; }
.modern-layout { display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:30px;align-items:start; }
.modern-layout>* { min-width:0; }
.modern-editor .card { border-radius:16px;box-shadow:0 2px 8px #152d2310; }
.modern-editor .sec-h { font-size:15px;letter-spacing:-.25px;color:var(--text); }
.modern-editor .field { border-radius:9px; }
.modern-editor .document-type { margin-bottom:26px; }
.modern-editor .editor-native { display:none!important; }
.editor-choice-trigger { display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;width:100%;border:1px solid var(--line);border-radius:10px;background:var(--grund);color:var(--text);padding:13px 15px;min-height:46px;font-size:13px; }
.editor-choice-trigger::after { content:'↗';color:var(--text-leise); }
.modern-preview { position:sticky;top:30px;padding-top:3px; }
.modern-preview-heading { display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:8px; }
.modern-preview-heading strong { font-size:12px; }
.editor-paper { background:white;color:#263c35;padding:28px 24px;border:1px solid #dfe5e1;border-radius:4px;box-shadow:0 14px 35px #192f2312;min-height:480px;font-size:11px;overflow-wrap:anywhere; }
.editor-paper-brand { font-size:18px;font-weight:700;color:#365e48;margin-bottom:35px; }
.editor-paper-recipient { line-height:1.7;margin-bottom:26px; }
.editor-paper h3 { font-size:25px;font-weight:600;letter-spacing:-1px; }
.editor-paper-meta { font-size:10px;color:#52645b;line-height:1.8;margin:7px 0 20px; }
.editor-paper-lines { margin-top:17px; }
.editor-paper-lines>div { display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #e2e8e3;padding:12px 0; }
.editor-paper-lines small { display:block;font-size:9px;color:#596c62;line-height:1.7;margin-top:4px; }
.editor-paper-lines strong { white-space:nowrap; }
.editor-paper-totals { margin:20px 0 0 auto; }
.editor-paper-totals p { display:flex;justify-content:space-between;gap:8px;padding:5px 0; }
.editor-paper-grand { border-top:1px solid #ccd8ce;margin-top:8px;font-size:14px;font-weight:600;padding-top:12px!important; }
.modern-caption { font-size:11px;color:var(--text-leise);line-height:1.7;margin:14px 0; }
.editor-dialog { width:min(620px,calc(100% - 32px));max-height:85vh;overflow-y:auto;padding:25px;border:1px solid var(--line);border-radius:18px;background:var(--karte);color:var(--text);box-shadow:0 25px 70px #0003; }
.editor-dialog::backdrop { background:#172b2366;backdrop-filter:blur(3px); }
.editor-dialog-heading { display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px; }
.editor-dialog-heading h2 { font-size:20px;font-weight:600; }
.editor-choices { display:grid;gap:10px;margin-top:15px; }
.editor-choice { padding:16px;border:1px solid var(--line);border-radius:10px;text-align:left;background:var(--grund);font-size:14px; }
.editor-choice[aria-pressed=true] { border-color:var(--aktion);background:var(--aktion-zart); }
#editor-dialog-body>.btn { margin:15px 8px 0 0; }
.editor-confirm-total { font-size:20px;font-weight:600;margin-top:18px; }
.editor-tax,.editor-units { display:flex;gap:4px;flex-wrap:wrap; }
.editor-tax button,.editor-units button { min-width:34px;min-height:32px;padding:5px 8px;border:1px solid var(--line);border-radius:6px;font-size:11px; }
.editor-tax button[aria-pressed=true],.editor-units button[aria-pressed=true] { color:var(--aktion);background:var(--aktion-zart);border-color:var(--aktion); }
.editor-tax button:disabled { opacity:.5; }
.modern-editor #positions>div { border:0;border-bottom:1px solid var(--line);border-radius:0;padding:18px 0; }
.modern-editor #positions>div>.grid { grid-template-columns:75px minmax(80px,1fr) minmax(100px,2fr) 100px 30px; }
.modern-editor #positions>div>.grid>* { min-width:0; }
.modern-editor [data-step="2"]>.grid-cols-12 { display:none; }
.modern-editor .document-actions { display:flex;flex-wrap:wrap;gap:12px; }
@media(max-width:950px){ .modern-layout{grid-template-columns:1fr;} .modern-preview{position:static;max-width:520px;width:100%;margin:auto;} }
@media(max-width:600px){ .modern-editor #positions>div>.grid{grid-template-columns:1fr 1fr 30px;} .modern-editor #positions .js-beschreibung{grid-column:1/3;grid-row:1;} .modern-editor #positions .js-menge{grid-row:2;grid-column:1;} .modern-editor #positions .editor-units{grid-row:3;grid-column:1/4;} .modern-editor #positions .js-preis{grid-row:2;grid-column:2;} .modern-editor #positions .col-span-1{grid-row:1;grid-column:3;} .modern-editor .document-actions .btn{width:100%;} .editor-dialog{padding:18px;} }

.editor-unit-trigger{min-height:43px;border:1px solid var(--line);border-radius:9px;background:var(--grund);padding:8px;font-size:12px;text-align:left;}
.modern-editor #positions .js-beschreibung{grid-column:1;grid-row:1;}
.modern-editor #positions .js-menge{grid-column:2;grid-row:1;}
.modern-editor #positions .editor-unit-trigger{grid-column:3;grid-row:1;}
.modern-editor #positions .js-preis{grid-column:4;grid-row:1;}
.modern-editor #positions .col-span-1{grid-column:5;grid-row:1;}
.modern-editor #positions>div>.grid{grid-template-columns:minmax(120px,2fr) 70px 70px 90px 30px;}
@media(max-width:600px){.modern-editor #positions>div>.grid{grid-template-columns:1fr 1fr 30px;}.modern-editor #positions .js-beschreibung{grid-column:1/3;grid-row:1;}.modern-editor #positions .js-menge{grid-column:1;grid-row:2;}.modern-editor #positions .editor-unit-trigger{grid-column:2;grid-row:2;}.modern-editor #positions .js-preis{grid-column:1/3;grid-row:3;}.modern-editor #positions .col-span-1{grid-column:3;grid-row:1;}}

@media(prefers-color-scheme:light){body.is-app:has(.modern-editor:not(.hidden)){--grund:#f5f7f8;--karte:#fff;--line:#e1e7e5;background:#f5f7f8;}.modern-editor .editor-choice-trigger,.modern-editor .editor-unit-trigger{background:#f8faf9;}}

.editor-position-heading{display:grid;grid-template-columns:minmax(120px,2fr) 70px 70px 90px 30px;gap:8px;color:var(--text-leise);font-size:11px;}@media(max-width:600px){.editor-position-heading{display:none;}}

/* Continuous document editor, approved proposal 02. */
.document-sheet-editor>div{max-width:980px!important;margin-inline:auto}
.document-sheet-editor .modern-layout{display:block}
.document-sheet-editor .editor-sheet{background:var(--karte);border:1px solid var(--line);border-radius:5px;padding:44px 48px;box-shadow:0 12px 32px #172b2307}
.document-sheet-editor .editor-sheet .card{border:0;box-shadow:none;background:transparent;border-radius:0;padding:0!important;margin:0}
.document-sheet-editor .editor-sheet>.optional-fields{margin:0 0 18px;border:0;padding:0}
.document-sheet-editor .sheet-letterhead{margin-bottom:40px}
.document-sheet-editor .sheet-letterhead>.lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.document-sheet-editor .sheet-letterhead .editor-choice-trigger{width:auto;max-width:100%;border:0;background:transparent;padding:4px 0;font-size:20px;font-weight:600;min-height:40px}
#sheet-company-address{font-size:12px;color:var(--text-leise);line-height:1.7}
.sheet-top{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:55px;align-items:start}
.sheet-top>*{min-width:0}
.document-sheet-editor .sheet-recipient>.flex{margin-bottom:8px}
.document-sheet-editor .sheet-recipient .sec-h{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--text-leise)}
.sheet-recipient .sec-h svg{display:none}
.document-sheet-editor .sheet-recipient .btn{font-size:11px;padding:5px 8px}
.document-sheet-editor .sheet-customer-search>.lbl{display:none}
.document-sheet-editor .sheet-customer-search{margin-bottom:8px}
.document-sheet-editor .sheet-customer-search .editor-choice-trigger{border:0;background:transparent;width:auto;padding:3px 0;font-size:12px;min-height:32px;color:var(--aktion)}
.document-sheet-editor .sheet-recipient label[for=inv-kname],.document-sheet-editor .sheet-recipient label[for=inv-kadresse]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.document-sheet-editor #inv-kname,.document-sheet-editor #inv-kadresse{border-color:transparent;background:transparent;padding:6px 3px;border-radius:4px}
.document-sheet-editor #inv-kname{font-size:15px;font-weight:600}
.document-sheet-editor #inv-kadresse{font-size:13px;line-height:1.8;min-height:66px}
.document-sheet-editor .sheet-recipient>.mb-3{margin-bottom:2px}
.document-sheet-editor .sheet-recipient .optional-fields{border:0;padding-top:6px;margin-top:6px}
.document-sheet-editor .sheet-recipient .optional-fields summary{font-size:11px;min-height:28px}
.document-sheet-editor .sheet-metadata>div{display:grid;grid-template-columns:105px minmax(0,1fr);gap:8px 10px;align-items:center;margin-bottom:13px!important}
.document-sheet-editor .sheet-metadata .lbl{font-size:11px;line-height:1.6;margin:0}
.document-sheet-editor .sheet-metadata .field{min-height:34px;font-size:12px;padding:7px 9px;background:var(--grund);border-color:transparent;border-radius:5px}
.document-sheet-editor .sheet-metadata p,.document-sheet-editor .sheet-metadata .editor-tax{grid-column:2;font-size:10px;margin:0}
.document-sheet-editor .sheet-metadata .editor-tax{flex-wrap:nowrap;gap:3px}
.document-sheet-editor .sheet-metadata .editor-tax button{padding:4px 5px;font-size:10px;min-width:0;border-color:transparent}
.sheet-document-title{font-size:32px;font-weight:600;letter-spacing:-1.3px;margin:40px 0 16px;color:var(--text)}
.document-sheet-editor .sheet-positions .editor-position-heading,.document-sheet-editor #positions>div>.grid{grid-template-columns:minmax(100px,1fr) 58px 68px 94px 103px 26px;gap:7px}
.document-sheet-editor .sheet-positions .editor-position-heading{border-block:1px solid var(--line);padding:12px 0}
.document-sheet-editor .sheet-positions .editor-position-heading>span:nth-child(n+2){text-align:right}
.document-sheet-editor #positions .js-beschreibung{grid-column:1}
.document-sheet-editor #positions .js-menge{grid-column:2}
.document-sheet-editor #positions .editor-unit-trigger{grid-column:3}
.document-sheet-editor #positions .js-preis{grid-column:4}
.document-sheet-editor #positions .editor-line-amount{grid-column:5;grid-row:1;font-size:13px;font-weight:500;text-align:right;white-space:nowrap}
.document-sheet-editor #positions .col-span-1{grid-column:6}
.document-sheet-editor #positions .field,.document-sheet-editor #positions .editor-unit-trigger{border:1px solid transparent;background:transparent;border-radius:4px;padding:6px 3px!important;min-height:36px}
.document-sheet-editor #positions .js-preis,.document-sheet-editor #positions .js-menge,.document-sheet-editor #positions .editor-unit-trigger{text-align:right}
.document-sheet-editor #positions .js-details{width:calc(100% - 380px);min-width:200px;min-height:38px!important;line-height:1.7}
.document-sheet-editor #positions .editor-unit-trigger{font-size:11px}
.document-sheet-editor #positions .editor-tax button{border-color:transparent;min-height:28px}
.document-sheet-editor #positions .js-satz~.js-mwst-label{font-size:10px}
.document-sheet-editor #positions>div{margin:0;padding:16px 0}
.document-sheet-editor #positions>div>div:last-child>label{font-size:10px}
.document-sheet-editor .sheet-positions>button{margin-top:13px;font-size:12px;padding-inline:0}
.document-sheet-editor .sheet-ending{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:55px;margin-top:42px!important}
.document-sheet-editor .sheet-ending>.sec-h,.document-sheet-editor .sheet-ending>.divider{display:none}
.sheet-tax-options p.text-sm{font-size:12px}
.sheet-tax-options p.text-xs{font-size:11px;line-height:1.8;margin-top:7px}
.sheet-tax-options #mwst-toggle{flex-shrink:0;margin-left:12px}
.sheet-totals>div{padding-bottom:10px;gap:15px;font-size:12px}
.sheet-totals #t-brutto{font-size:25px;white-space:nowrap}
.document-sheet-editor .sheet-footer{margin:35px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;padding:18px 0 0;background:transparent}
.document-sheet-editor .sheet-footer>div{display:flex;align-items:center;gap:12px;max-width:none}
.document-sheet-editor .sheet-footer .lbl{font-size:11px;margin:0;white-space:nowrap}
.document-sheet-editor .sheet-footer p{display:none}
.document-sheet-editor .sheet-footer .editor-choice-trigger{width:auto;font-size:11px;min-height:34px;border:0;background:transparent;padding:4px 8px}
.document-sheet-editor .sheet-footer>.btn{font-size:11px;min-height:34px;padding:5px 10px}
.sheet-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;color:var(--text-leise);font-size:11px}
.sheet-toolbar>div{display:flex;gap:8px}
.sheet-toolbar .btn{font-size:12px;padding:7px 10px}
.document-sheet-editor .document-actions{border:0;margin-top:20px;justify-content:flex-end}
.document-sheet-editor .field:hover,.document-sheet-editor .editor-unit-trigger:hover{border-color:var(--line)!important;background:var(--grund)!important}
.document-sheet-editor .field:focus,.document-sheet-editor .editor-unit-trigger:focus-visible{border-color:var(--aktion)!important;outline:2px solid var(--aktion);outline-offset:2px;background:var(--grund)!important}
@media(max-width:800px){
 .document-sheet-editor .editor-sheet{padding:30px 25px}
 .sheet-top,.document-sheet-editor .sheet-ending{gap:25px;grid-template-columns:minmax(0,1fr) 260px}
 .document-sheet-editor .sheet-positions .editor-position-heading,.document-sheet-editor #positions>div>.grid{grid-template-columns:minmax(90px,1fr) 50px 58px 78px 92px 24px}
}
@media(max-width:600px){
 .document-sheet-editor .editor-sheet{padding:24px 18px}
 .sheet-top,.document-sheet-editor .sheet-ending{grid-template-columns:1fr;gap:25px}
 .document-sheet-editor .sheet-letterhead{margin-bottom:28px}
 .document-sheet-editor .sheet-letterhead .editor-choice-trigger{font-size:18px}
 .document-sheet-editor .sheet-metadata{border-top:1px solid var(--line);padding-top:20px}
 .document-sheet-editor .sheet-metadata>div{grid-template-columns:120px minmax(0,1fr)}
 .document-sheet-editor .sheet-positions .editor-position-heading{display:none}
 .document-sheet-editor #positions>div>.grid{grid-template-columns:60px minmax(0,1fr) 100px 26px;gap:6px}
 .document-sheet-editor #positions .js-beschreibung{grid-column:1/4;grid-row:1}
 .document-sheet-editor #positions .js-menge{grid-column:1;grid-row:2;text-align:left}
 .document-sheet-editor #positions .editor-unit-trigger{grid-column:2;grid-row:2;text-align:left}
 .document-sheet-editor #positions .js-preis{grid-column:3;grid-row:2}
 .document-sheet-editor #positions .editor-line-amount{grid-column:2/4;grid-row:3}
 .document-sheet-editor #positions .col-span-1{grid-column:4;grid-row:1}
 .document-sheet-editor #positions .js-details{width:100%;min-width:0}
 .document-sheet-editor .field{font-size:16px!important}
 .sheet-document-title{font-size:29px;margin-top:30px}
 .document-sheet-editor .sheet-footer{align-items:stretch;gap:8px}
 .document-sheet-editor .sheet-footer>div{flex-wrap:wrap;gap:5px}
 .document-sheet-editor .sheet-footer .editor-choice-trigger{overflow-wrap:anywhere}
 .sheet-toolbar>span{display:none}
 .sheet-toolbar{justify-content:flex-end}
}
