:root{--bg:#f4f6f8;--card:#fff;--text:#1d2430;--muted:#697386;--line:#e3e7ed;--accent:#d99b22;--dark:#202733;--good:#22875a;--bad:#c74444;--shadow:0 8px 28px rgba(22,34,51,.08)}
*{box-sizing:border-box}body{margin:0;font:15px/1.45 system-ui,-apple-system,Segoe UI,Roboto,Arial;color:var(--text);background:var(--bg)}a{color:inherit;text-decoration:none}.shell{display:grid;grid-template-columns:230px 1fr;min-height:100vh}.sidebar{background:var(--dark);color:#fff;padding:22px 14px;position:sticky;top:0;height:100vh}.brand{font-weight:800;font-size:22px;padding:4px 10px 22px}.brand span{color:var(--accent)}.nav a{display:block;padding:11px 12px;border-radius:10px;margin:3px 0;color:#d9dee8}.nav a:hover,.nav a.active{background:#313b4b;color:#fff}.main{padding:28px;max-width:1500px;width:100%}.top{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:22px}.top h1{font-size:28px;margin:0}.muted{color:var(--muted)}.grid{display:grid;gap:16px}.stats{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:var(--shadow)}.stat strong{display:block;font-size:28px;margin-top:5px}.two{grid-template-columns:1.1fr .9fr}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px;padding:10px 14px;background:var(--dark);color:#fff;cursor:pointer;font-weight:650}.btn.gold{background:var(--accent);color:#1e1e1e}.btn.green{background:var(--good)}.btn.red{background:var(--bad)}.btn.ghost{background:#eef1f5;color:var(--text)}.actions{display:flex;gap:8px;flex-wrap:wrap}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-grid .wide{grid-column:1/-1}label{font-weight:650;font-size:13px}input,select,textarea{width:100%;margin-top:5px;padding:10px 11px;border:1px solid #ccd3dd;border-radius:9px;background:#fff;font:inherit}textarea{min-height:90px;resize:vertical}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:11px 10px;border-bottom:1px solid var(--line);white-space:nowrap}th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#edf1f5;font-size:12px}.badge.active{background:#e4f6ed;color:#11663f}.badge.done{background:#e7edf9;color:#315b9b}.flash{padding:12px 14px;border-radius:10px;margin-bottom:18px;background:#e7f7ef;color:#176843}.flash.err{background:#fdecec;color:#9b2e2e}.timer{font-size:34px;font-weight:800;letter-spacing:.03em}.job-card{display:flex;justify-content:space-between;gap:16px;align-items:center}.thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}.thumb{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.thumb img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.thumb p{margin:8px;font-size:12px}.report{max-width:900px}.report h2{margin-top:24px}.report-head{display:flex;justify-content:space-between;border-bottom:2px solid var(--dark);padding-bottom:12px}.kpi{font-size:26px;font-weight:800}.mobile-top{display:none}.empty{padding:24px;text-align:center;color:var(--muted)}
@media(max-width:900px){.shell{display:block}.sidebar{position:static;height:auto;padding:12px}.brand{padding:4px 4px 10px}.nav{display:flex;overflow:auto;gap:4px}.nav a{white-space:nowrap}.main{padding:16px}.stats,.two,.form-grid{grid-template-columns:1fr 1fr}.top h1{font-size:23px}}
@media(max-width:600px){.stats,.two,.form-grid{grid-template-columns:1fr}.job-card{align-items:flex-start;flex-direction:column}.top{align-items:flex-start;flex-direction:column}.main{padding:12px}.card{padding:14px}.timer{font-size:28px}}
@media print{.sidebar,.top,.no-print,.flash{display:none!important}.shell{display:block}.main{padding:0;max-width:none}.card{box-shadow:none;border:0}.report{max-width:none}}
.sidebar{display:flex;flex-direction:column}.sidebar-user{margin-top:auto;padding:14px 10px 4px;border-top:1px solid rgba(255,255,255,.12);display:grid;gap:2px}.sidebar-user span{font-size:12px;color:#aeb7c5}.sidebar-user a{font-size:13px;color:#f0c878;margin-top:5px}.row-line{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}.row-line:last-child{border-bottom:0}.link{color:#8c6010;text-decoration:underline;text-underline-offset:2px}.hint{background:#f6f1e5;border:1px solid #eadbb9;border-radius:10px;padding:10px 12px}.warning{border-color:#e2c37f;background:#fffaf0}.document-head{display:flex;justify-content:space-between;gap:24px;border-bottom:2px solid var(--dark);padding-bottom:16px;margin-bottom:24px}.doc-title{text-align:right;font-size:20px;font-weight:800;letter-spacing:.06em}.doc-title span{font-size:13px;letter-spacing:0;color:var(--muted)}.address-block{margin:24px 0;min-height:90px}.totals{margin:18px 0 0 auto;max-width:350px}.totals>div{display:flex;justify-content:space-between;padding:5px 0}.totals .grand{font-size:18px;border-top:2px solid var(--dark);margin-top:5px;padding-top:10px}.invoice-footer{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid var(--line);margin-top:35px;padding-top:14px;font-size:12px;color:var(--muted)}.mini{border:0;border-radius:8px;padding:4px 9px;cursor:pointer}.mini.danger{background:#fdecec;color:#9b2e2e}.signature-pad{width:100%;height:220px;border:2px dashed #aeb6c2;border-radius:12px;background:#fff;touch-action:none;display:block;margin:12px 0}.signature-preview{max-width:360px;max-height:150px;border-bottom:1px solid #999;object-fit:contain;background:#fff}.signature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.signature-lines{margin-top:55px;display:grid;grid-template-columns:1fr 1fr;gap:40px}.signature-lines>div{border-top:1px solid #555;padding-top:6px}.login-body{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#202733,#333e50);padding:18px}.login-card{width:min(460px,100%);background:#fff;border-radius:20px;padding:28px;box-shadow:0 20px 70px rgba(0,0,0,.28)}.login-card h1{margin:4px 0 4px}.login-card form{display:grid;gap:12px}.brand.big{color:#202733;padding:0 0 18px;font-size:28px}.full{width:100%;margin-top:6px}hr{border:0;border-top:1px solid var(--line);margin:22px 0}.card h2:first-child{margin-top:0}
@media(max-width:900px){.sidebar-user{display:none}.signature-list{grid-template-columns:1fr}.invoice-footer{grid-template-columns:1fr}.document-head{align-items:flex-start}.row-line{align-items:flex-start}}
@media(max-width:600px){.signature-lines{grid-template-columns:1fr;gap:45px}.document-head{flex-direction:column}.doc-title{text-align:left}.login-card{padding:20px}.actions form{width:auto}}
@media print{.document-head{break-inside:avoid}.report table{font-size:12px}.report th,.report td{white-space:normal}.signature-pad{display:none}.signature-preview{max-width:260px}.report{padding:0!important}}
/* HandwerkerPilot SaaS v2 – public website + platform */
.public-body{background:#f7f8fa}.public-nav{max-width:1240px;margin:auto;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.public-nav .brand{padding:0}.public-nav nav{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.public-nav nav>a:not(.btn){color:#4d5869;font-weight:650}.public-lang{font-size:12px;color:var(--muted)}.public-lang a,.login-langs a,.lang-switch a{font-weight:750}.public-main{overflow:hidden}.hero{max-width:1240px;margin:30px auto 70px;padding:54px 24px;display:grid;grid-template-columns:1.15fr .85fr;gap:60px;align-items:center}.hero h1{font-size:clamp(42px,6vw,74px);line-height:1.02;letter-spacing:-.045em;margin:14px 0 20px;max-width:760px}.hero p{font-size:19px;line-height:1.65;color:var(--muted);max-width:720px}.eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.1em;font-size:12px;font-weight:850;color:#8c6010;background:#fff5d9;border:1px solid #f0d897;padding:6px 9px;border-radius:999px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0 12px}.btn.large{padding:13px 19px;font-size:16px}.hero-demo{background:#202733;border-radius:26px;padding:22px;box-shadow:0 30px 80px rgba(20,28,42,.25);color:#fff;transform:rotate(1deg)}.demo-top{display:flex;gap:7px;margin-bottom:20px}.demo-top span{width:9px;height:9px;border-radius:50%;background:#657083}.demo-card,.demo-row>div,.demo-finish{background:#2d3746;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:18px}.demo-card{display:grid;gap:7px}.demo-card strong{font-size:44px;color:#f2b33a}.demo-card small{color:#c1cad6}.demo-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.demo-row>div{display:grid;gap:6px}.demo-row strong{font-size:28px}.demo-finish{color:#baf0d2}.public-section{max-width:1240px;margin:0 auto 80px;padding:0 24px}.section-head{max-width:760px;margin-bottom:28px}.section-head h2{font-size:clamp(31px,4vw,46px);letter-spacing:-.03em;margin:12px 0}.section-head p{font-size:17px;color:var(--muted)}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.feature-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:var(--shadow)}.feature-card h3{margin:0 0 8px;font-size:18px}.feature-card p{margin:0;color:var(--muted)}.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:stretch}.price-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;box-shadow:var(--shadow)}.price-card.featured{border:2px solid var(--accent);transform:translateY(-8px)}.price-card h3{font-size:21px;margin:0 0 12px}.price-card strong{font-size:38px}.price-card span{color:var(--muted)}.price-card p{color:var(--muted)}.popular{position:absolute;right:18px;top:18px;background:#fff0c7;color:#77510c;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:850}.center{text-align:center;margin-top:30px}.public-footer{border-top:1px solid var(--line);max-width:1240px;margin:auto;padding:24px;display:flex;align-items:center;justify-content:space-between;color:var(--muted)}.public-footer .brand{padding:0;color:var(--dark)}.login-langs{text-align:right;margin-top:-42px;margin-bottom:24px;font-size:12px;color:var(--muted)}.login-note{text-align:center;color:var(--muted);margin:18px 0 0}.lang-switch{font-size:12px;margin-top:7px;color:#c8d0dc}.platform-shell{max-width:1500px;margin:auto;padding:28px}.inline-form{display:flex;gap:7px;align-items:center}.inline-form select{min-width:105px;margin:0}.platform-shell .brand.big{padding:0;color:var(--dark);font-size:24px}.platform-shell .top h1{margin-top:8px}.subscription-chip{display:inline-block;padding:5px 9px;border-radius:999px;background:#eef1f5;font-size:12px;font-weight:750}
@media(max-width:900px){.public-nav{align-items:flex-start}.public-nav nav{justify-content:flex-end}.hero{grid-template-columns:1fr;gap:30px;padding-top:28px}.hero-demo{max-width:620px}.feature-grid,.pricing-grid{grid-template-columns:1fr 1fr}.price-card.featured{transform:none}.platform-shell{padding:16px}}
@media(max-width:650px){.public-nav{display:block}.public-nav nav{margin-top:14px;justify-content:flex-start}.public-nav nav>a:not(.btn){display:none}.hero{margin-top:0;padding-top:30px}.hero h1{font-size:42px}.hero p{font-size:17px}.feature-grid,.pricing-grid,.demo-row{grid-template-columns:1fr}.public-footer{display:block}.public-footer p{margin-bottom:0}.login-langs{margin-top:-40px}.inline-form{display:grid;grid-template-columns:1fr}.inline-form select{width:100%}}
.hp-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.checkline{display:flex;align-items:center;gap:9px;font-weight:700}.checkline input[type=checkbox]{width:auto;margin:0;flex:0 0 auto}
/* HandwerkerPilot SaaS v3 – catalog, templates, billing and operator */
.register-wide{width:min(760px,100%)}.hp-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}.checkline{display:flex!important;align-items:center;gap:9px;font-weight:600}.checkline input{width:auto;margin:0}.platform-shell{max-width:1380px;margin:0 auto;padding:28px}.platform-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 16px}.platform-tabs a{padding:9px 12px;border-radius:9px;background:#eef1f5;font-weight:650}.platform-tabs a.active{background:var(--dark);color:#fff}.platform-edit{display:grid;gap:9px;min-width:300px;padding:12px 0}.inline-form{display:flex;gap:7px;align-items:center}.inline-form select{margin-top:0;min-width:105px}.subscription-chip{display:inline-block;padding:5px 9px;border-radius:999px;background:#fff2ce;color:#815400;font-weight:800;font-size:12px}.compact-pricing .price-card{padding:16px}.article-edit{display:grid;grid-template-columns:2fr .7fr .7fr 1fr .7fr auto auto;gap:8px;align-items:end}.article-edit input,.article-edit select{margin-top:0}.danger-btn{border:0;background:#fdecec;color:#a33131;padding:9px 11px;border-radius:9px;cursor:pointer;font-weight:650}.template-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);gap:18px;align-items:start}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}.invoice-preview{background:#fff;border:1px solid #dfe4eb;border-radius:12px;padding:28px;min-height:650px;box-shadow:0 10px 28px rgba(30,40,55,.08);position:sticky;top:18px}.preview-head{display:flex;justify-content:space-between;gap:20px;border-bottom:3px solid var(--preview-accent,#d99b22);padding-bottom:16px}.preview-logo{font-size:20px;font-weight:850;color:var(--preview-accent,#d99b22)}.preview-recipient{margin:45px 0 28px}.preview-table{width:100%;border-collapse:collapse}.preview-table th,.preview-table td{padding:8px;border-bottom:1px solid #e5e9ef;font-size:12px}.preview-total{margin:24px 0 0 auto;max-width:260px;display:grid;grid-template-columns:1fr auto;gap:6px}.preview-footer{border-top:1px solid #dfe4eb;margin-top:55px;padding-top:12px;font-size:11px;color:#6c7585}.preview-classic{font-family:Georgia,'Times New Roman',serif}.preview-compact{padding:20px;min-height:560px}.billing-summary{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.billing-summary strong{font-size:22px}.pay-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.paypal-btn{background:#0070ba}.bank-box{background:#f8fafc;border:1px solid #dfe5ec;border-radius:12px;padding:14px;margin-top:12px}.billing-plan{position:relative}.billing-plan.current{outline:2px solid var(--accent)}.billing-price{font-size:28px;font-weight:850;margin:8px 0}.billing-price small{font-size:13px;font-weight:500;color:var(--muted)}.billing-note{font-size:12px;color:var(--muted);min-height:40px}.operator-warning{background:#fff8e7;border:1px solid #e5c77b;border-radius:12px;padding:12px}.lang-switch{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:750;color:#6a7484}.lang-switch a:hover{text-decoration:underline}.payment-status{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.muted-box{background:#f7f8fa;border:1px solid var(--line);border-radius:10px;padding:12px}.country-vat-line{display:flex;justify-content:space-between;gap:10px;margin-top:6px;font-size:13px}.country-vat-line strong{white-space:nowrap}
@media(max-width:1050px){.template-layout{grid-template-columns:1fr}.invoice-preview{position:static}.article-edit{grid-template-columns:1fr 1fr 1fr}.article-edit .article-desc{grid-column:1/-1}}
@media(max-width:700px){.platform-shell{padding:14px}.article-edit{grid-template-columns:1fr}.check-grid{grid-template-columns:1fr}.inline-form{align-items:stretch;flex-direction:column}.billing-summary{align-items:flex-start;flex-direction:column}.invoice-preview{padding:18px}.preview-head{flex-direction:column}.platform-edit{min-width:240px}}
.preview-table>div{display:grid;grid-template-columns:minmax(0,1fr) 95px 95px;gap:10px;padding:9px 0;border-bottom:1px solid #e5e9ef;font-size:12px}.preview-table>div>*:nth-child(n+2){text-align:right}.preview-title{text-align:right;font-weight:850;letter-spacing:.05em}.preview-title small{font-weight:650;letter-spacing:0}.preview-head small{display:block;margin-top:5px;color:var(--muted);font-weight:500}.preview-classic .preview-head{border-bottom-width:1px}.preview-classic .preview-title{font-family:Georgia,'Times New Roman',serif}.preview-compact .preview-recipient{margin:26px 0 18px}.preview-compact .preview-table>div{padding:6px 0}.invoice-preview.logo-right .preview-head{flex-direction:row-reverse}.invoice-preview.logo-right .preview-title{text-align:left}

/* ============================================================
   HandwerkerPilot SaaS v3.1 - accounting-workspace UI refresh
   Clean business-software layout inspired by modern bookkeeping apps.
   ============================================================ */
:root{
  --bg:#f5f7f8;--card:#fff;--text:#17202a;--muted:#6b7785;--line:#e4e9ed;
  --accent:#0f766e;--accent-2:#0b5f59;--accent-soft:#e8f5f3;--nav:#17212d;
  --nav-hover:#233142;--good:#16835d;--good-soft:#e8f7f0;--warn:#b7791f;
  --bad:#c23b42;--shadow:0 2px 8px rgba(18,32,47,.05),0 12px 30px rgba(18,32,47,.04)
}
body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;background:var(--bg);color:var(--text)}
.btn{border-radius:8px;padding:9px 14px;font-weight:700;box-shadow:none;transition:.16s ease;background:#25303d}
.btn:hover{transform:translateY(-1px);filter:brightness(.98)}
.btn.primary{background:var(--accent);color:#fff}.btn.primary:hover{background:var(--accent-2)}
.btn.gold{background:var(--accent);color:#fff}.btn.gold:hover{background:var(--accent-2)}
.btn.ghost{background:#fff;color:#273342;border:1px solid #dce3e8}.btn.ghost:hover{background:#f7f9fa}
.btn.icon-btn{padding:8px 10px;background:#f2f5f6;color:#31404e;border:1px solid #e0e6e9}
.card{border-radius:12px;border:1px solid var(--line);box-shadow:var(--shadow);padding:20px}
.card h2{font-size:19px;letter-spacing:-.015em}.card h3{letter-spacing:-.01em}
input,select,textarea{border-radius:7px;border:1px solid #cfd8de;background:#fff;min-height:40px;transition:border-color .15s,box-shadow .15s}
input:focus,select:focus,textarea:focus{outline:none;border-color:#52a89f;box-shadow:0 0 0 3px rgba(15,118,110,.11)}
label{color:#344250;font-size:12.5px}.muted{color:var(--muted)}
table{font-size:14px}th{background:#fafbfc;border-bottom:1px solid #dde4e8;color:#71808d;font-size:11px;padding:10px 12px}td{padding:12px;border-bottom:1px solid #edf0f2}tbody tr:hover{background:#fbfcfc}
.badge{font-weight:700;padding:5px 9px;background:#eef2f4;color:#596775}.badge.active{background:var(--good-soft);color:#11684d}
.subscription-chip{display:inline-flex;padding:5px 9px;border-radius:999px;background:#edf3f4;color:#33505a;font-size:11px;font-weight:800;letter-spacing:.04em}
.flash{border-radius:8px;border:1px solid #ccebdd;background:#eaf8f1;color:#176848}.flash.err{border-color:#f0c9cb;background:#fff0f0;color:#a12f35}
.hint{border-radius:9px;background:#f7fafb;border:1px solid #dfe7ea}.warning{background:#fffaf0;border-color:#ead6a8}
.count-pill{display:inline-flex;padding:5px 10px;border-radius:999px;background:#eff4f5;font-size:12px;font-weight:700;color:#52616c}
.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.card-head h2{margin:0 0 3px}.card-head p{margin:0}
.strong-link{font-weight:800}.reference-code{background:#f2f5f6;border:1px solid #e1e7ea;border-radius:6px;padding:4px 7px;font:12px ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap}

/* Tenant/customer workspace */
.app-body .shell{grid-template-columns:238px minmax(0,1fr)}
.app-body .sidebar{background:var(--nav);padding:0 12px 16px;box-shadow:4px 0 18px rgba(14,26,38,.06)}
.sidebar-brand{padding:21px 10px 14px;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:8px}.sidebar-brand .brand{padding:0;font-size:20px}.sidebar-brand small{display:block;color:#91a0ae;margin-top:2px;padding-left:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nav-section{text-transform:uppercase;letter-spacing:.08em;color:#718191;font-size:9.5px;font-weight:800;padding:16px 10px 5px}
.nav a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:7px;margin:2px 0;color:#cbd4dc;font-size:13.5px;font-weight:600}
.nav a:hover{background:var(--nav-hover);color:#fff}.nav a.active{background:#24423f;color:#eafaf7;box-shadow:inset 3px 0 0 #36b9a8}
.nav-icon{width:20px;height:20px;border-radius:5px;display:grid;place-items:center;color:#91a4b4;font-size:13px;font-weight:800}.nav a.active .nav-icon{color:#55d0c0}
.sidebar-user{padding:13px 10px 3px}.sidebar-user strong{font-size:13.5px}.sidebar-user span{color:#91a0ae}.sidebar-user a{color:#79d0c4}
.app-body .main{max-width:none;padding:26px 32px 50px}.app-body .top{margin-bottom:18px}.app-body .top h1{font-size:26px;letter-spacing:-.025em}.app-body .stats{gap:14px}.app-body .stat{min-height:114px}.app-body .stat strong{font-size:27px}.app-body .stat .muted{font-size:12px;font-weight:700;color:#768490}
.app-body .two{gap:18px}.app-body .job-card{padding:12px 0}.app-body .report{max-width:980px}.app-body .template-layout{align-items:start}.app-body .preview-card{background:#f8fafb}

/* Platform/operator workspace */
.platform-body{background:#f4f6f7}.platform-app{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}
.platform-sidebar{position:sticky;top:0;height:100vh;background:var(--nav);color:#fff;display:flex;flex-direction:column;padding:0 12px 14px}
.platform-brand{padding:22px 11px 17px;border-bottom:1px solid rgba(255,255,255,.09);margin-bottom:8px}.platform-brand .brand{padding:0;color:#fff;font-size:20px}.platform-brand small{display:block;color:#8293a1;font-size:11px;margin-top:2px}
.platform-nav{display:flex;flex-direction:column}.platform-nav .nav-section{text-transform:uppercase;letter-spacing:.085em;color:#718191;font-size:9.5px;font-weight:800;padding:16px 10px 5px}.platform-nav a{display:flex;align-items:center;gap:10px;padding:10px;border-radius:7px;margin:2px 0;color:#cbd5dc;font-size:13.5px;font-weight:650}.platform-nav a:hover{background:var(--nav-hover);color:#fff}.platform-nav a.active{background:#24423f;color:#f0fffc;box-shadow:inset 3px 0 0 #37b9a8}.platform-nav .nav-icon{color:#8ea0af}.platform-nav a.active .nav-icon{color:#55d0c0}.nav-count{margin-left:auto;min-width:20px;height:20px;border-radius:999px;background:#e9faf7;color:#116b61;display:grid;place-items:center;font-size:10px;font-weight:900}
.platform-sidebar-foot{margin-top:auto;border-top:1px solid rgba(255,255,255,.1);padding:14px 10px 4px;display:grid;gap:3px}.platform-sidebar-foot strong{font-size:13px}.platform-sidebar-foot span{font-size:10.5px;color:#8fa0ad;overflow:hidden;text-overflow:ellipsis}.platform-sidebar-foot a{font-size:12px;color:#7bd2c6;margin-top:4px}
.platform-main{min-width:0;padding:0 30px 48px;max-width:1600px;width:100%;margin:0 auto}.workspace-topbar{height:92px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #e2e7ea;margin-bottom:22px}.workspace-topbar h1{font-size:25px;letter-spacing:-.025em;margin:0 0 4px}.workspace-topbar p{margin:0;color:var(--muted);font-size:13px}
.platform-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.platform-stats .stat{min-height:118px}.platform-stats .stat-label{display:block;color:#70808c;font-size:12px;font-weight:700}.platform-stats .stat strong{font-size:27px;letter-spacing:-.03em}.platform-stats .stat small{display:block;color:#8b98a3;margin-top:3px}
.dashboard-grid{grid-template-columns:minmax(0,2fr) minmax(280px,.8fr);margin-top:18px;align-items:start}.quick-card{display:grid;gap:2px}.quick-link{display:flex;align-items:center;gap:12px;padding:12px;border-radius:9px;border:1px solid transparent}.quick-link:hover{background:#f7faf9;border-color:#e2ebe9}.quick-link>span{width:34px;height:34px;border-radius:8px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;font-weight:900}.quick-link div{display:grid}.quick-link small{color:var(--muted);font-size:11px;margin-top:2px}
.billing-admin-grid{grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}.compact-side{position:sticky;top:18px}.inline-form{display:flex;align-items:center;gap:6px}.inline-form select{margin:0;min-width:92px;min-height:34px;padding:6px 8px}.inline-form .btn{white-space:nowrap}
.edit-popover{position:relative}.edit-popover summary{list-style:none}.edit-popover summary::-webkit-details-marker{display:none}.platform-edit{position:absolute;right:0;z-index:10;width:330px;background:#fff;border:1px solid #dfe5e8;border-radius:10px;padding:14px;box-shadow:0 18px 50px rgba(19,33,47,.18);display:grid;gap:8px}.platform-edit label{display:block}
.admin-price{box-shadow:none}.admin-price h3{font-size:18px}.table-input{max-width:105px;margin:0;min-height:34px;padding:6px 8px}
.settings-columns{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr);gap:18px;align-items:start}.info-panel{position:sticky;top:18px}.section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.section-title h3{margin:0 0 4px}.section-title p{margin:0}.switchline{display:flex;align-items:center;gap:7px;white-space:nowrap}.switchline input{width:auto;min-height:0;margin:0}.process-step{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #edf0f2}.process-step>span{width:28px;height:28px;border-radius:50%;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;font-weight:800}.process-step div{display:grid;gap:2px}.process-step small{color:var(--muted)}
.platform-template-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,.85fr);gap:18px;align-items:start}.sticky-preview{position:sticky;top:18px}.logo-preview-box{background:#f7f9fa;border:1px solid #e2e7ea;border-radius:10px;padding:15px;margin:10px 0;display:grid;place-items:center;min-height:100px}.logo-preview-box img{max-width:280px;max-height:95px;object-fit:contain}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}.checkline{display:flex;align-items:center;gap:7px;font-weight:600}.checkline input{width:auto;min-height:0;margin:0}

/* Invoice template preview */
.invoice-preview{--preview-accent:#0f766e;background:#fff;border:1px solid #dfe5e8;border-radius:8px;overflow:hidden;box-shadow:0 8px 30px rgba(20,35,50,.08);font-size:10px;min-height:570px;position:relative;color:#28343f}.preview-accent{height:8px;background:var(--preview-accent)}.preview-head{display:flex;justify-content:space-between;gap:25px;padding:24px 28px 18px;border-bottom:1px solid #e4e8eb}.preview-head>div:first-child{display:flex;flex-direction:column;gap:6px}.preview-logo{max-width:150px;max-height:52px;object-fit:contain;object-position:left center}.logo-right .preview-head{flex-direction:row-reverse}.logo-right .preview-logo{object-position:right center}.preview-title{text-align:right;color:var(--preview-accent);font-size:16px;font-weight:900;letter-spacing:.04em}.preview-title small{color:#44515c;font-size:9px;letter-spacing:0}.preview-head small{color:#75818b;line-height:1.5}.preview-meta-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:24px;padding:22px 28px}.preview-meta-grid>div{display:flex;flex-direction:column;gap:5px}.preview-meta-grid small{color:#7a8791}.preview-table{margin:0 28px}.preview-table>div{display:grid;grid-template-columns:1fr 80px 80px;gap:10px;padding:10px 11px;border-bottom:1px solid #e6eaed}.preview-table>div:first-child{background:var(--preview-accent);color:#fff;font-size:8.5px}.preview-total{margin:18px 28px 0 auto;width:215px;display:flex;justify-content:space-between;border-top:2px solid var(--preview-accent);padding-top:10px;font-size:13px}.preview-payment{margin:20px 28px;background:#f3f7f7;border-left:3px solid var(--preview-accent);padding:13px;display:grid;gap:4px}.preview-payment strong{color:var(--preview-accent)}.preview-footer{position:absolute;left:28px;right:28px;bottom:18px;padding-top:9px;border-top:1px solid #e3e7ea;color:#79858e}.preview-classic .preview-accent{display:none}.preview-classic .preview-table>div:first-child{background:#eef1f3;color:#2c3945}.preview-compact{min-height:510px}.preview-compact .preview-head{padding-top:18px;padding-bottom:14px}.preview-compact .preview-meta-grid{padding-top:16px;padding-bottom:16px}.preview-compact .preview-payment{margin-top:14px}

/* Login refinement */
.login-body{background:linear-gradient(135deg,#15202c 0%,#233342 55%,#173c39 100%)}.lex-login{border-radius:14px;padding:30px;border:1px solid rgba(255,255,255,.4)}.lex-login .brand.big{font-size:25px}.lex-login h1{font-size:24px;letter-spacing:-.02em}.login-langs{position:absolute;margin-top:-46px;right:30px;font-size:11px;color:#73818c}

/* Public pages remain HandwerkerPilot branded but use the same visual system */
.public-body{background:#f8fafb}.public-nav{background:rgba(255,255,255,.9);backdrop-filter:blur(12px);border-bottom:1px solid #edf0f2;position:sticky;top:0;z-index:20}.public-nav .btn.gold,.hero .btn.gold{background:var(--accent);color:#fff}.eyebrow{background:var(--accent-soft);border-color:#c7e5e1;color:#17685f}.hero-demo{background:#17212d}.demo-card strong{color:#61c8ba}.price-card.featured{border-color:var(--accent)}.popular{background:var(--accent-soft);color:#16685f}

@media(max-width:1100px){.platform-app{grid-template-columns:220px minmax(0,1fr)}.platform-main{padding-left:20px;padding-right:20px}.billing-admin-grid,.settings-columns,.platform-template-layout{grid-template-columns:1fr}.compact-side,.info-panel,.sticky-preview{position:static}.dashboard-grid{grid-template-columns:1fr}.platform-stats{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.app-body .shell{display:block}.app-body .sidebar{position:static;height:auto;padding-bottom:10px}.sidebar-brand{padding:12px 4px 9px}.app-body .nav{display:flex;overflow:auto;gap:4px;padding-bottom:4px}.app-body .nav-section{display:none}.app-body .nav a{white-space:nowrap}.app-body .main{padding:18px 14px 40px}.platform-app{display:block}.platform-sidebar{position:static;height:auto;padding-bottom:10px}.platform-brand{padding:12px 5px 9px}.platform-nav{flex-direction:row;overflow:auto;gap:4px}.platform-nav .nav-section{display:none}.platform-nav a{white-space:nowrap}.platform-sidebar-foot{display:none}.platform-main{padding:0 14px 35px}.workspace-topbar{height:auto;padding:18px 0}.edit-popover{position:static}.platform-edit{position:fixed;left:16px;right:16px;top:80px;width:auto;max-height:75vh;overflow:auto}.login-langs{position:static;margin:0 0 8px}}
@media(max-width:600px){.platform-stats{grid-template-columns:1fr}.workspace-topbar{align-items:flex-start;flex-direction:column}.workspace-topbar .actions{width:100%}.workspace-topbar .actions .btn{flex:1}.check-grid{grid-template-columns:1fr}.preview-meta-grid{grid-template-columns:1fr}.preview-table>div{grid-template-columns:1fr 60px 65px}.app-body .main{padding:13px 10px 30px}.card{padding:15px}.inline-form{flex-wrap:wrap}}

/* ============================================================
   HandwerkerPilot v4.0 – connected office + job-site workspace
   ============================================================ */
.status-open{background:#eef5ff;color:#315f9d}.status-overdue{background:#fff1df;color:#9a5c08}.status-paid{background:#e8f7f0;color:#11684d}.status-cancelled{background:#f3f4f6;color:#737b84}.status-draft{background:#eef1f4;color:#596775}.status-sent{background:#e9f4f4;color:#176b62}
.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.kpi-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px;box-shadow:var(--shadow)}.kpi-card span{display:block;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.kpi-card strong{display:block;font-size:26px;letter-spacing:-.03em;margin-top:4px}.kpi-card small{color:#8a96a0}
.crm-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.crm-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.crm-tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin:15px 0}.crm-tabs a{padding:10px 12px;border-bottom:2px solid transparent;font-weight:700;color:#63717d}.crm-tabs a.active{color:var(--accent);border-color:var(--accent)}
.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.info-item{background:#fafbfc;border:1px solid #edf0f2;border-radius:9px;padding:12px}.info-item small{display:block;color:var(--muted);font-size:11px;margin-bottom:3px}.info-item strong{font-size:13px}
.timeline{display:grid;gap:0}.timeline-item{position:relative;padding:0 0 18px 26px;border-left:2px solid #dce6e5;margin-left:7px}.timeline-item:before{content:"";position:absolute;width:10px;height:10px;border-radius:50%;background:var(--accent);left:-6px;top:4px}.timeline-item:last-child{border-left-color:transparent}.timeline-item small{color:var(--muted)}
.calendar-list{display:grid;gap:8px}.calendar-day{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.calendar-date{padding:8px 12px;background:#f8fafb;border-bottom:1px solid var(--line);font-weight:800}.appointment{display:grid;grid-template-columns:95px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 12px;border-bottom:1px solid #edf0f2}.appointment:last-child{border-bottom:0}.appointment-time{font-weight:800;color:var(--accent)}
.email-template-editor{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:18px}.mail-log-status.sent{color:var(--good);font-weight:800}.mail-log-status.failed{color:var(--bad);font-weight:800}.audit-list{font:12px ui-monospace,SFMono-Regular,Consolas,monospace}.audit-list td{white-space:normal;vertical-align:top}
.job-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.job-summary-grid>div{background:#f8fafb;border:1px solid #e8edef;border-radius:9px;padding:11px}.job-summary-grid small{display:block;color:var(--muted)}.job-summary-grid strong{font-size:17px}.document-chip{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:9px;padding:9px 11px;margin:6px 0}.team-chips{display:flex;gap:7px;flex-wrap:wrap}.team-chip{display:inline-flex;gap:6px;align-items:center;background:#edf5f4;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:700}
.payment-reference{font:700 13px ui-monospace,SFMono-Regular,Consolas,monospace;background:#edf3f4;border-radius:6px;padding:5px 8px;color:#244f4a}.payment-box{background:#f5f9f9;border-left:4px solid var(--accent);border-radius:8px;padding:14px}.paid-box{background:#edf9f3;border-left-color:var(--good)}.overdue-box{background:#fff7e8;border-left-color:#d59025}.credit-box{background:#f3f0ff;border-left-color:#7762bd}
.article-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.article-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:15px}.article-card.favorite{border-color:#a8d8d2;box-shadow:0 0 0 2px var(--accent-soft)}.article-card .price{font-size:21px;font-weight:850;margin:7px 0}.article-card .sku{font:11px ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--muted)}
.security-callout{display:grid;grid-template-columns:42px 1fr;gap:12px;background:#f7faf9;border:1px solid #dfeae7;border-radius:10px;padding:14px}.security-callout>span{width:38px;height:38px;border-radius:9px;background:var(--accent-soft);display:grid;place-items:center;color:var(--accent);font-weight:900}
.system-health{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.health-item{background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px}.health-ok{color:var(--good)}.health-warn{color:var(--warn)}

/* v4 public sales website */
.mobile-nav-toggle{display:none;border:0;background:transparent;font-size:24px}.hero-v4{padding-top:68px;padding-bottom:60px}.trust-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.trust-row span{font-size:12px;font-weight:700;color:#48606a;background:#eef6f5;border:1px solid #d8eae7;border-radius:999px;padding:6px 9px}.public-stat-strip{max-width:1192px;margin:-35px auto 80px;padding:18px 24px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.public-stat-strip>div{text-align:center;padding:10px;border-right:1px solid #edf0f2}.public-stat-strip>div:last-child{border-right:0}.public-stat-strip strong{display:block;color:var(--accent);font-size:26px}.public-stat-strip span{color:var(--muted);font-size:12px}.feature-grid-v4 .feature-card{min-height:190px}.feature-icon{width:38px;height:38px;border-radius:10px;background:var(--accent-soft);display:grid;place-items:center;font-size:20px;margin-bottom:14px}.workflow-section{background:#fff;border:1px solid var(--line);border-radius:22px;padding:36px;box-shadow:var(--shadow)}.workflow-row{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.workflow-step{position:relative;display:grid;gap:7px;text-align:center;padding:15px 8px;background:#f8fafb;border:1px solid #e6ecee;border-radius:10px}.workflow-step span{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#fff;font-weight:850;margin:auto}.workflow-step b{font-size:12px}.price-card ul{padding-left:18px;color:var(--muted);min-height:80px}.price-card .btn{margin-top:8px}.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.faq-grid details{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 18px}.faq-grid summary{font-weight:800;cursor:pointer}.faq-grid p{color:var(--muted);margin-bottom:0}.public-cta{max-width:1192px;margin:0 auto 80px;background:#17212d;color:#fff;border-radius:22px;padding:34px 40px;display:flex;align-items:center;justify-content:space-between;gap:25px}.public-cta h2{font-size:32px;margin:10px 0 0}.public-footer-v4{max-width:none;padding:30px max(24px,calc((100vw - 1192px)/2));display:grid;grid-template-columns:1fr auto auto;gap:24px;background:#fff}.public-footer-v4 nav{display:flex;gap:14px;flex-wrap:wrap;align-items:center}.public-footer-v4 p{margin:4px 0;color:var(--muted)}
.public-legal{max-width:920px;margin:45px auto 80px;padding:0 24px}.public-legal .card{padding:28px}.contact-layout{max-width:1050px;margin:45px auto 80px;padding:0 24px;display:grid;grid-template-columns:1fr .75fr;gap:20px}

@media(max-width:1100px){.workflow-row{grid-template-columns:repeat(4,1fr)}.info-grid,.system-health{grid-template-columns:1fr 1fr}.job-summary-grid{grid-template-columns:1fr 1fr}.email-template-editor{grid-template-columns:1fr}}
@media(max-width:900px){.kpi-grid{grid-template-columns:1fr 1fr}.public-stat-strip{grid-template-columns:1fr 1fr}.public-stat-strip>div{border-right:0}.feature-grid-v4{grid-template-columns:1fr 1fr}.workflow-row{grid-template-columns:1fr 1fr}.contact-layout{grid-template-columns:1fr}.public-footer-v4{grid-template-columns:1fr}.public-nav{flex-wrap:wrap}.mobile-nav-toggle{display:block}.public-nav nav{display:none;width:100%;padding:10px 0}.public-nav nav.open{display:flex;flex-direction:column;align-items:stretch}.public-nav nav .btn{text-align:center}.faq-grid{grid-template-columns:1fr}.public-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.kpi-grid,.info-grid,.job-summary-grid,.system-health,.public-stat-strip,.feature-grid-v4,.workflow-row{grid-template-columns:1fr}.appointment{grid-template-columns:78px 1fr}.appointment .actions{grid-column:1/-1}.public-cta{margin-left:12px;margin-right:12px;padding:25px}.public-cta h2{font-size:25px}.workflow-section{margin-left:12px;margin-right:12px;padding:24px}.hero-v4{padding-top:35px}.hero h1{font-size:42px}}

/* HandwerkerPilot v4.0.1 brand logo */
.site-logo-link{display:inline-flex;align-items:center;flex:0 0 auto}
.site-logo{display:block;height:64px;width:auto;max-width:245px;object-fit:contain}
.footer-logo{display:block;width:min(380px,100%);height:auto;margin:0 0 10px}
.logo-preview-box img{max-width:100%;object-fit:contain}
@media(max-width:900px){.site-logo{height:54px;max-width:210px}}
@media(max-width:600px){.site-logo{height:48px;max-width:185px}.footer-logo{max-width:230px}}

/* v4.0.2 brand claim */
.site-logo-link{text-decoration:none;color:inherit}
.site-brand-block{display:grid;grid-template-columns:auto;justify-items:start;line-height:1}
.site-brand-claim{display:block;margin-top:3px;margin-left:3px;font-size:8.5px;font-weight:850;letter-spacing:.055em;color:#0d4e63;white-space:nowrap}
.site-brand-subclaim{display:block;margin-top:4px;margin-left:3px;font-size:8px;font-weight:650;letter-spacing:.015em;color:#526579;white-space:nowrap}
@media(max-width:1100px){.site-brand-claim{font-size:7.5px}.site-brand-subclaim{font-size:7px}}
@media(max-width:900px){.site-brand-claim{font-size:7px}.site-brand-subclaim{font-size:6.6px}}
@media(max-width:600px){.site-brand-claim{font-size:6.4px;letter-spacing:.025em}.site-brand-subclaim{font-size:6px}}

/* v4.1 security challenge */
.captcha-box{display:flex;align-items:center;gap:14px;margin:14px 0;padding:14px 16px;border:1px solid #d8e3e8;border-radius:12px;background:#f7fafb}.captcha-box>div{display:flex;flex-direction:column;gap:3px;flex:1}.captcha-label{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#637381}.captcha-question{font-size:20px;color:#17212b}.captcha-box small{color:#718096}.captcha-input{width:110px!important;min-width:90px!important;text-align:center;font-size:18px!important;font-weight:700}.login-card .captcha-box{background:#f8fafc}.public-body .captcha-box{max-width:520px}@media(max-width:620px){.captcha-box{align-items:stretch;flex-direction:column}.captcha-input{width:100%!important}}

/* v4.1 operator company editor, invoice filters and archive info */
.company-admin-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.company-admin-head h1{margin:0 0 4px}.company-admin-head .actions{flex-wrap:wrap;justify-content:flex-end}
.company-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.company-stat{background:#fff;border:1px solid var(--line);border-radius:11px;padding:15px;box-shadow:var(--shadow)}.company-stat small{display:block;color:var(--muted);font-weight:700;margin-bottom:5px}.company-stat strong{font-size:23px;letter-spacing:-.025em}
.company-admin-form{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:18px;align-items:start}.company-admin-form .card{min-width:0}.sticky-actions{position:sticky;bottom:0;z-index:5;display:flex;justify-content:flex-end;gap:8px;padding:13px 0 2px;margin-top:16px;background:linear-gradient(to bottom,rgba(244,246,247,0),#f4f6f7 25%)}
.invoice-filter{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;padding:12px 14px;background:#f8fafb;border:1px solid #e3e9ec;border-radius:10px;margin:0 0 16px}.invoice-filter label{min-width:135px;flex:0 1 180px}.invoice-filter select,.invoice-filter input{margin-bottom:0}.filter-actions{display:flex;gap:7px;align-items:center;padding-bottom:1px}.filter-actions .btn{white-space:nowrap}
.archive-path-info{display:grid;gap:7px;margin:15px 0;padding:13px;background:#f8fafb;border:1px solid #e2e8eb;border-radius:10px}.archive-path-info strong{font-size:12px;color:#4e5e6a}.archive-path-info code{display:block;overflow:auto;padding:8px 9px;border-radius:7px;background:#eef3f4;color:#24404a;font-size:11px;white-space:nowrap}
.invoice-kind-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:15px}.invoice-kind-tabs .btn.active{background:var(--accent);border-color:var(--accent);color:#fff}
@media(max-width:1050px){.company-admin-form{grid-template-columns:1fr}.company-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.company-admin-head{flex-direction:column}.company-admin-head .actions{justify-content:flex-start}.company-stats{grid-template-columns:1fr}.invoice-filter{align-items:stretch}.invoice-filter label{flex:1 1 100%}.filter-actions{width:100%;flex-wrap:wrap}.sticky-actions{position:static}}
/* v4.1 company editor layout correction */
.company-admin-form{display:block}.company-admin-form>.settings-columns{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr)}
.company-admin-head>div{display:grid;gap:2px}.company-admin-head>div strong{font-size:22px;letter-spacing:-.02em}.company-admin-head>div span{display:block;font-size:12px}
@media(max-width:1050px){.company-admin-form>.settings-columns{grid-template-columns:1fr}}

/* ============================================================
   HandwerkerPilot v4.3 – verified marketplace, backups, invoice language
   ============================================================ */
.trade-register-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 6px}
.trade-choice{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--line);border-radius:10px;background:#f9fbfb;font-weight:700}.trade-choice input{width:auto;min-height:0;margin-top:3px}.trade-choice small{display:block;color:var(--muted);font-weight:500;margin-top:3px}
.trade-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.trade-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;box-shadow:var(--shadow)}.trade-card.approved{border-color:#a7d8c8}.trade-card.pending{border-color:#ecd59e}.trade-card.rejected{border-color:#ecc0c0}.trade-card h3{margin:0 0 5px}.trade-card .proof-meta{font-size:12px;color:var(--muted);margin:8px 0}
.review-card{display:grid;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.review-card:last-child{border-bottom:0}.review-form{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;align-items:end}.review-form label{margin:0}.review-form .actions{justify-content:flex-end}.btn.danger{background:#fff1f1;color:#a52c2c;border-color:#efcaca}.btn.danger:hover{background:#fde8e8}
.marketplace-public{background:#f6f9fa;min-height:100vh}.marketplace-hero{max-width:1080px;margin:0 auto;padding:55px 24px 22px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:28px;align-items:center}.marketplace-hero h1{font-size:45px;line-height:1.05;margin:10px 0 14px;letter-spacing:-.04em}.marketplace-hero p{font-size:18px;color:#5d6d79;max-width:680px}.marketplace-benefits{display:grid;gap:9px;background:#17212d;color:#fff;border-radius:18px;padding:24px}.marketplace-benefits span{display:flex;gap:9px;align-items:center}.marketplace-form-card{max-width:1080px;margin:0 auto 70px;padding:28px}.marketplace-form-card h2{margin-top:0}.consent-line{display:flex;gap:10px;align-items:flex-start;padding:12px;background:#f7faf9;border:1px solid #dce8e5;border-radius:9px}.consent-line input{width:auto;min-height:0;margin-top:3px}.success-card{max-width:760px;margin:70px auto;text-align:center;padding:38px}.success-card .success-icon{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;margin:0 auto 16px;background:#e7f7f1;color:#167354;font-size:30px;font-weight:900}
.lead-files{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.lead-file{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid #dfe6e9;border-radius:8px;background:#fff;font-size:12px}.marketplace-card{border-left:4px solid var(--accent)}.marketplace-card .marketplace-meta{display:flex;gap:8px;flex-wrap:wrap;margin:7px 0 10px}.marketplace-card .marketplace-meta span{font-size:11px;background:#f0f5f5;border-radius:999px;padding:5px 8px;color:#526570}.marketplace-card .lead-contact{background:#f8fafb;border:1px solid #e6ebed;border-radius:9px;padding:10px;margin-top:10px}
.invoice-row-actions,.invoice-detail-actions{display:flex;gap:5px;flex-wrap:wrap;align-items:center}.invoice-row-actions .btn{padding:6px 8px;font-size:11px}.invoice-language-note{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0;padding:10px 12px;background:#f5f9f8;border:1px solid #dce9e6;border-radius:9px;font-size:12px}.invoice-language-note strong{color:var(--accent)}
.backup-list{display:grid;gap:9px}.backup-item{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:11px 13px;border:1px solid var(--line);border-radius:9px;background:#fff}.backup-item code{font-size:11px}.restore-box{padding:15px;background:#fff8e8;border:1px solid #efdcae;border-radius:10px}.verification-status-card{border-left:4px solid #d7a12d}.verification-status-card.approved{border-left-color:var(--good)}.verification-status-card.rejected{border-left-color:var(--danger)}
@media(max-width:850px){.trade-register-grid,.marketplace-hero{grid-template-columns:1fr}.review-form{grid-template-columns:1fr}.review-form .actions{justify-content:flex-start}.marketplace-hero{padding-top:32px}.marketplace-hero h1{font-size:36px}}
@media(max-width:600px){.trade-register-grid{grid-template-columns:1fr}.backup-item{align-items:flex-start;flex-direction:column}.invoice-detail-actions .btn{width:100%;text-align:center;justify-content:center}}
/* v4.4 customer portal */
.customer-app .sidebar-brand small{display:block;margin-top:4px}.message-thread{display:flex;flex-direction:column;gap:10px;margin:14px 0;max-height:520px;overflow:auto;padding:4px}.message-bubble{max-width:78%;padding:11px 13px;border-radius:14px;background:#f1f5f9;border:1px solid #e2e8f0}.message-bubble.mine{align-self:flex-end;background:#e6fffb;border-color:#99f6e4}.message-bubble.theirs{align-self:flex-start}.message-bubble small{display:block;margin-top:6px;color:#64748b}.review-card{padding:16px 0;border-bottom:1px solid #e5e7eb}.review-card:last-child{border-bottom:0}.customer-app .row-line{gap:12px}.customer-app .actions{flex-wrap:wrap}.marketplace-home-section .actions{justify-content:flex-start}
@media(max-width:760px){.message-bubble{max-width:92%}.public-nav nav{gap:10px}}

/* ============================================================
   HandwerkerPilot v4.5 – workspace + homepage redesign
   ============================================================ */
:root{--hp-nav:#12202d;--hp-nav-soft:#1b2d3c;--hp-teal:#0f8277;--hp-teal-soft:#e7f6f3;--hp-blue:#3976c7;--hp-amber:#c88b20;--hp-purple:#7959bb;--hp-rose:#b95a72;--hp-surface:#f5f7f9;--hp-radius:14px}
.app-body{background:var(--hp-surface)}
.app-body .shell{grid-template-columns:272px minmax(0,1fr);transition:grid-template-columns .2s ease}
.app-body .shell.sidebar-collapsed{grid-template-columns:84px minmax(0,1fr)}
.app-body .sidebar{background:linear-gradient(180deg,#12202d 0%,#142534 100%);padding:0 13px 14px;overflow:hidden;z-index:40}
.sidebar-brand-v45{height:78px;display:flex;align-items:center;gap:8px;border-bottom:1px solid rgba(255,255,255,.08);position:relative}
.sidebar-brand-link{min-width:0;display:flex;align-items:center;gap:10px;flex:1;color:#fff}.sidebar-brand-link img{width:38px;height:38px;border-radius:9px;object-fit:contain;background:rgba(255,255,255,.05)}.sidebar-brand-link>span{display:grid;min-width:0}.sidebar-brand-link b{font-size:18px;line-height:1.1;letter-spacing:-.025em}.sidebar-brand-link b span{color:#48c8b8}.sidebar-brand-link small{font-size:11px;color:#90a2af;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px}.sidebar-collapse{width:28px;height:28px;border:0;border-radius:7px;background:rgba(255,255,255,.07);color:#b9c6ce;cursor:pointer;font-size:20px;display:grid;place-items:center}.sidebar-collapse:hover{background:rgba(255,255,255,.14);color:#fff}
.sidebar-search{height:38px;margin:12px 3px 8px;border:1px solid rgba(255,255,255,.09);border-radius:9px;background:rgba(255,255,255,.055);display:flex;align-items:center;gap:7px;padding:0 10px;color:#88a0af}.sidebar-search input{border:0!important;background:transparent!important;color:#e8f0f4!important;padding:0!important;margin:0!important;min-width:0;outline:0;box-shadow:none!important;font-size:12px}.sidebar-search input::placeholder{color:#718896}
.nav-v45{display:grid;gap:4px;overflow:auto;overscroll-behavior:contain;padding:2px 0 8px;scrollbar-width:thin;scrollbar-color:#314454 transparent}.nav-v45 a,.nav-group-toggle{width:100%;min-height:40px;display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:9px;border:0;background:transparent;color:#cbd7de;font:600 13px/1.25 inherit;text-align:left;cursor:pointer;margin:0}.nav-v45 a:hover,.nav-group-toggle:hover{background:rgba(255,255,255,.07);color:#fff}.nav-v45 a.active{background:linear-gradient(90deg,rgba(33,164,148,.24),rgba(33,164,148,.10));box-shadow:inset 3px 0 0 #43c6b5;color:#fff}.nav-v45 .nav-icon{flex:0 0 22px;width:22px;height:22px;color:#8198a7}.nav-v45 a.active .nav-icon{color:#64d3c5}.nav-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-chevron{margin-left:auto;color:#718896;transition:transform .18s ease}.nav-group.open>.nav-group-toggle .nav-chevron{transform:rotate(180deg)}.nav-group-links{display:none;padding:2px 0 5px 19px;position:relative}.nav-group-links:before{content:"";position:absolute;left:20px;top:0;bottom:7px;width:1px;background:rgba(255,255,255,.08)}.nav-group.open>.nav-group-links{display:grid;gap:1px}.nav-group-links a{min-height:36px;padding-top:7px;padding-bottom:7px}.nav-home{margin-bottom:3px!important}
.sidebar-user-v45{display:grid!important;grid-template-columns:38px minmax(0,1fr);gap:9px;align-items:center;margin-top:auto;padding:14px 5px 2px;border-top:1px solid rgba(255,255,255,.09)}.user-avatar{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#1c9387,#52c5b7);display:grid;place-items:center;font-size:14px;font-weight:900;color:#fff}.user-meta{display:grid;min-width:0}.user-meta strong{font-size:12.5px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-meta span{font-size:10.5px!important;color:#8194a2!important}.sidebar-user-menu{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;margin-top:5px}.sidebar-user-menu a{font-size:11px!important;margin:0!important}.sidebar-user-menu .lang-switch{font-size:10px;color:#8097a5}
.sidebar-collapsed .sidebar-brand-link>span,.sidebar-collapsed .sidebar-search input,.sidebar-collapsed .nav-label,.sidebar-collapsed .nav-chevron,.sidebar-collapsed .user-meta,.sidebar-collapsed .sidebar-user-menu{display:none}.sidebar-collapsed .sidebar-brand-v45{justify-content:center}.sidebar-collapsed .sidebar-brand-link{flex:0}.sidebar-collapsed .sidebar-collapse{position:absolute;right:-2px;bottom:5px;transform:rotate(180deg)}.sidebar-collapsed .sidebar-search{justify-content:center;padding:0}.sidebar-collapsed .nav-v45 a,.sidebar-collapsed .nav-group-toggle{justify-content:center;padding-left:7px;padding-right:7px}.sidebar-collapsed .nav-group-links{padding-left:0}.sidebar-collapsed .nav-group-links:before{display:none}.sidebar-collapsed .sidebar-user-v45{display:flex!important;justify-content:center;padding-left:0;padding-right:0}
.main-v45{padding:0 30px 48px!important;min-width:0}.app-toolbar{height:72px;margin:0 -2px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #e2e7eb;position:sticky;top:0;background:rgba(245,247,249,.94);backdrop-filter:blur(12px);z-index:25}.toolbar-left,.toolbar-actions{display:flex;align-items:center;gap:9px}.toolbar-menu{display:none;width:38px;height:38px;border-radius:9px;border:1px solid #dce3e7;background:#fff;cursor:pointer;color:#40515d}.toolbar-search{width:min(350px,32vw);height:39px;display:flex;align-items:center;gap:8px;padding:0 11px;background:#fff;border:1px solid #dde4e8;border-radius:10px;color:#84949f;box-shadow:0 2px 8px rgba(26,44,58,.03)}.toolbar-search input{border:0!important;margin:0!important;padding:0!important;outline:0;box-shadow:none!important;background:transparent!important;font-size:12.5px}.toolbar-quick{font-size:12px;font-weight:750;padding:8px 10px;border-radius:8px;color:#38505d}.toolbar-quick:hover{background:#fff;box-shadow:0 2px 9px rgba(20,38,52,.06)}.toolbar-company{display:flex;align-items:center;gap:8px;padding:5px 6px 5px 10px;border:1px solid #dfe5e8;border-radius:10px;background:#fff;max-width:210px}.toolbar-company span{font-size:11.5px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.toolbar-company b{width:29px;height:29px;border-radius:8px;background:var(--hp-teal-soft);color:var(--hp-teal);display:grid;place-items:center}.page-content{max-width:1500px;width:100%;margin:0 auto}
.page-eyebrow{display:block;color:var(--hp-teal);font-size:10.5px;text-transform:uppercase;letter-spacing:.09em;font-weight:850;margin-bottom:5px}.dashboard-head h1{font-size:30px!important}.btn.primary{background:var(--hp-teal);color:#fff}.btn.primary:hover{filter:brightness(.95)}
.kpi-grid-v45{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:18px}.kpi-grid-v45 .kpi-card{display:flex;align-items:center;gap:12px;padding:15px;border-radius:13px;min-height:105px;transition:transform .15s ease,box-shadow .15s ease}.kpi-grid-v45 .kpi-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(22,40,55,.10)}.kpi-grid-v45 .kpi-card>div{min-width:0}.kpi-grid-v45 .kpi-card small{display:block;color:#6d7b86;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.045em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kpi-grid-v45 .kpi-card strong{display:block;font-size:20px;line-height:1.2;margin:4px 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kpi-grid-v45 .kpi-card em{display:block;font-style:normal;color:#8b98a1;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kpi-icon{flex:0 0 38px;width:38px;height:38px;border-radius:11px;display:grid!important;place-items:center!important;font-size:16px!important;font-weight:900;color:#fff!important}.kpi-icon.teal{background:#168d81}.kpi-icon.blue{background:#4b79b9}.kpi-icon.amber{background:#c48a2d}.kpi-icon.purple{background:#775cb1}.kpi-icon.green{background:#398b63}.kpi-icon.rose{background:#af6177}
.dashboard-layout-v45{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(300px,.65fr);gap:16px;align-items:start}.dashboard-jobs{padding:0;overflow:hidden}.dashboard-jobs .card-head{padding:18px 18px 11px;margin:0;border-bottom:1px solid #edf0f2}.job-overview-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto 20px;gap:11px;align-items:center;padding:13px 18px;border-bottom:1px solid #edf0f2}.job-overview-row:last-child{border-bottom:0}.job-overview-row:hover{background:#f8faf9}.job-overview-icon{width:34px;height:34px;border-radius:9px;background:#edf6f5;color:var(--hp-teal);display:grid;place-items:center;font-weight:900}.job-overview-row>div{display:grid;min-width:0}.job-overview-row strong{font-size:13.5px}.job-overview-row small{color:#7c8992;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-arrow{font-size:22px;color:#9aa6ad}.dashboard-side-v45{display:grid;gap:16px}.time-widget .widget-icon{width:34px;height:34px;border-radius:9px;background:#edf6f5;color:var(--hp-teal);display:grid;place-items:center}.status-dot{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#788790;margin-bottom:8px}.status-dot:before{content:"";width:7px;height:7px;border-radius:50%;background:#abb5bb}.status-dot.live{color:#1a7558}.status-dot.live:before{background:#2daa7d;box-shadow:0 0 0 4px #e7f7f0}.quick-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.quick-action-grid a{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #e3e8eb;border-radius:10px;background:#fbfcfc}.quick-action-grid a:hover{border-color:#bcded8;background:#f3faf8}.quick-action-grid span{width:28px;height:28px;border-radius:8px;background:#edf6f5;color:var(--hp-teal);display:grid;place-items:center}.quick-action-grid b{font-size:11.5px}.text-link{color:var(--hp-teal);font-weight:800}

/* Public navigation v4.5 */
.public-nav-v45{max-width:none!important;padding:0!important;background:rgba(255,255,255,.96)!important;box-shadow:0 1px 0 rgba(28,46,58,.05)}.public-nav-inner{width:min(1280px,100%);min-height:86px;margin:auto;padding:11px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}.public-nav-v45 .site-logo{height:42px;max-width:205px}.public-nav-v45 .site-brand-claim{font-size:6.9px}.public-nav-v45 .site-brand-subclaim{font-size:6.5px}.public-menu{display:flex;align-items:center;gap:4px!important;flex-wrap:nowrap!important}.public-menu>a:not(.btn),.public-menu-button{border:0;background:transparent;padding:10px 9px;border-radius:8px;color:#40505b;font:750 12.5px/1.2 inherit;cursor:pointer;white-space:nowrap}.public-menu>a:not(.btn):hover,.public-menu-button:hover,.public-menu-group.open>.public-menu-button{background:#f2f6f5;color:#173b38}.public-menu-group{position:relative}.public-menu-button span{font-size:10px;color:#8a979f;margin-left:2px}.public-dropdown{display:none;position:absolute;top:calc(100% + 8px);left:0;width:290px;padding:8px;background:#fff;border:1px solid #e0e6e9;border-radius:12px;box-shadow:0 18px 55px rgba(23,40,54,.15);z-index:60}.public-menu-group.open>.public-dropdown{display:grid}.public-dropdown-right{left:auto;right:0}.public-dropdown a{display:grid;gap:2px;padding:10px 11px;border-radius:9px}.public-dropdown a:hover{background:#f4f8f7}.public-dropdown b{font-size:12.5px}.public-dropdown small{font-size:10.5px;color:#7c8a93;font-weight:500;line-height:1.35}.public-cta-btn{margin-left:5px;padding:10px 14px!important;border-radius:9px!important}.public-lang{display:flex;gap:4px;align-items:center;margin-left:3px}.public-lang a{font-size:10.5px}.public-lang span{color:#a5afb5}.mobile-nav-toggle{width:40px;height:40px;border-radius:9px!important;background:#f3f6f7!important;color:#29414d!important}
.audience-section{max-width:1192px;margin:0 auto 76px;padding:0 24px;display:grid;grid-template-columns:1fr 1fr;gap:16px}.audience-card{display:grid;grid-template-columns:52px minmax(0,1fr);gap:18px;padding:27px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 35px rgba(28,45,58,.06)}.audience-card.customer-audience{background:linear-gradient(135deg,#f7fbfa,#edf8f5)}.audience-icon{width:48px;height:48px;border-radius:13px;background:#edf6f5;display:grid;place-items:center;font-size:22px}.audience-card h2{font-size:22px;line-height:1.2;letter-spacing:-.025em;margin:9px 0 8px}.audience-card p{color:#667680;margin:0 0 13px;line-height:1.6}.audience-card .actions{gap:18px}
.maintenance-preview-bar{position:relative;z-index:19;display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;padding:8px 18px;background:#fff5d8;border-bottom:1px solid #ead79b;color:#6d5216;font-size:11px}.maintenance-preview-bar strong{font-size:11px}.maintenance-preview-bar a{text-decoration:underline;font-weight:800}

/* Maintenance / under construction */
.maintenance-language-switch{display:flex;justify-content:flex-end;gap:7px;margin:-14px -14px 18px 0}.maintenance-language-switch a{display:inline-flex;align-items:center;gap:5px;padding:7px 9px;border:1px solid #dfe7e9;border-radius:9px;background:#fff;color:#5c6c74;font-size:11px;font-weight:850;text-decoration:none;transition:.15s}.maintenance-language-switch a:hover{border-color:#91cfc7;color:#176e65;transform:translateY(-1px)}.maintenance-language-switch a.active{background:#e8f5f3;border-color:#a9ddd6;color:#176e65}.maintenance-language-links{display:inline-flex;align-items:center;gap:6px}.maintenance-language-links a{color:#849199;font-weight:750;text-decoration:none}.maintenance-language-links a.active{color:#137469}.maintenance-language-links a:hover{color:#137469}
.maintenance-body{min-height:100vh;background:radial-gradient(circle at 18% 12%,#eaf8f5 0,transparent 34%),linear-gradient(145deg,#f7fafb 0%,#eef4f5 100%);display:grid;place-items:center;padding:24px}.maintenance-shell{width:min(780px,100%)}.maintenance-card{background:#fff;border:1px solid #dfe7e9;border-radius:24px;padding:48px;text-align:center;box-shadow:0 30px 90px rgba(25,45,58,.12)}.maintenance-logo{display:block;width:min(430px,90%);height:auto;margin:0 auto 24px}.maintenance-badge{display:inline-flex;padding:7px 11px;border-radius:999px;background:#e8f5f3;color:#176e65;font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}.maintenance-card h1{font-size:clamp(30px,5vw,48px);line-height:1.08;letter-spacing:-.04em;margin:18px 0 12px}.maintenance-card>p{max-width:600px;margin:0 auto;color:#667781;font-size:16px;line-height:1.7}.maintenance-note{display:inline-flex;margin-top:18px;padding:9px 13px;background:#fff7df;border:1px solid #ecd797;border-radius:9px;color:#735619;font-size:12px;font-weight:750}.maintenance-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:28px}.maintenance-foot{display:flex;justify-content:center;gap:20px;margin-top:26px;padding-top:18px;border-top:1px solid #edf0f2;color:#849199;font-size:11px}.maintenance-foot a{font-weight:750;color:#41626a}
.maintenance-admin-card{margin:0 0 18px;background:linear-gradient(135deg,#fff,#f5f9f8);border:1px solid #dfe7e8;border-radius:14px;padding:18px;box-shadow:var(--shadow)}.maintenance-admin-card.is-active{border-color:#e3c978;background:linear-gradient(135deg,#fffdf5,#fff9e9)}.maintenance-admin-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.maintenance-admin-head>div{display:flex;gap:12px}.maintenance-admin-icon{width:40px;height:40px;border-radius:11px;background:#e8f5f3;color:#137469;display:grid;place-items:center;font-size:15px}.maintenance-admin-head h2{margin:0 0 3px;font-size:18px}.maintenance-admin-head p{margin:0;color:#75838c;font-size:12px}.maintenance-state{display:inline-flex;padding:6px 9px;border-radius:999px;background:#ecf3f4;color:#53646e;font-size:10.5px;font-weight:850;white-space:nowrap}.is-active .maintenance-state{background:#fff0bd;color:#735411}.maintenance-switch{display:flex;align-items:center;gap:10px;margin-bottom:15px;padding:11px 12px;border:1px solid #e1e7e9;border-radius:10px;background:#fff}.maintenance-switch input{display:none}.maintenance-switch span{width:38px;height:22px;border-radius:999px;background:#ccd5da;position:relative;transition:.2s}.maintenance-switch span:after{content:"";width:16px;height:16px;border-radius:50%;background:#fff;position:absolute;left:3px;top:3px;box-shadow:0 1px 4px rgba(0,0,0,.18);transition:.2s}.maintenance-switch input:checked+span{background:var(--hp-teal)}.maintenance-switch input:checked+span:after{transform:translateX(16px)}.maintenance-admin-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.maintenance-explain{margin:13px 0 0;font-size:11px;line-height:1.55}

/* Platform polish */
.platform-sidebar{background:linear-gradient(180deg,#12202d,#142534)}.platform-nav a{border-radius:9px}.workspace-topbar{height:82px}.platform-main{padding-left:26px;padding-right:26px}.platform-body .card{border-radius:13px}.platform-body .platform-stats .stat{border-top:3px solid #dbe9e7}.platform-body .platform-stats .stat:nth-child(1){border-top-color:#4a9a90}.platform-body .platform-stats .stat:nth-child(2){border-top-color:#c79137}.platform-body .platform-stats .stat:nth-child(3){border-top-color:#b96071}.platform-body .platform-stats .stat:nth-child(4){border-top-color:#4779b0}

@media(max-width:1280px){.kpi-grid-v45{grid-template-columns:repeat(3,minmax(0,1fr))}.toolbar-quick{display:none}.public-nav-inner{padding-left:18px;padding-right:18px}.public-menu{gap:1px!important}.public-menu>a:not(.btn),.public-menu-button{padding-left:7px;padding-right:7px;font-size:12px}.public-cta-btn{padding-left:10px!important;padding-right:10px!important}}
@media(max-width:1050px){.app-body .shell{grid-template-columns:230px minmax(0,1fr)}.dashboard-layout-v45{grid-template-columns:1fr}.dashboard-side-v45{grid-template-columns:1fr 1fr}.toolbar-company span{display:none}.public-nav-v45 .mobile-nav-toggle{display:block}.public-menu{display:none!important;position:absolute;left:14px;right:14px;top:78px;background:#fff;border:1px solid #e1e6e9;border-radius:13px;padding:10px;box-shadow:0 18px 55px rgba(23,40,54,.16);align-items:stretch!important}.public-menu.open{display:flex!important;flex-direction:column}.public-menu>a:not(.btn),.public-menu-button{text-align:left;width:100%;padding:11px}.public-menu-group{width:100%}.public-dropdown,.public-dropdown-right{position:static;width:100%;box-shadow:none;border:0;border-radius:8px;background:#f7f9fa;margin:2px 0 7px}.public-cta-btn{width:100%;margin:3px 0}.public-lang{justify-content:center;padding:7px}.audience-section{grid-template-columns:1fr}.public-nav-inner{min-height:78px}}
@media(max-width:900px){.app-body .shell,.app-body .shell.sidebar-collapsed{display:block}.app-body .sidebar{position:fixed;left:0;top:0;bottom:0;width:276px;height:100vh!important;transform:translateX(-105%);transition:transform .2s ease;padding-bottom:14px;box-shadow:12px 0 40px rgba(12,28,39,.22)}.app-body .sidebar.mobile-open{transform:translateX(0)}.sidebar-collapse{display:none}.app-body .nav-v45{display:grid;overflow:auto}.app-body .nav-v45 a{white-space:normal}.sidebar-user-v45{display:grid!important}.main-v45{padding:0 14px 36px!important}.app-toolbar{height:64px}.toolbar-menu{display:grid;place-items:center}.toolbar-search{width:min(330px,48vw)}.kpi-grid-v45{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-side-v45{grid-template-columns:1fr}.audience-section{padding:0 16px}.maintenance-card{padding:34px 24px}}
@media(max-width:620px){.toolbar-search{display:none}.toolbar-company{max-width:48px;padding-left:6px}.kpi-grid-v45{grid-template-columns:1fr}.kpi-grid-v45 .kpi-card{min-height:88px}.dashboard-head{align-items:flex-start!important}.dashboard-head .actions{width:100%}.dashboard-head .actions .btn{flex:1}.job-overview-row{grid-template-columns:34px minmax(0,1fr) 18px}.job-overview-row .badge{display:none}.quick-action-grid{grid-template-columns:1fr 1fr}.audience-card{grid-template-columns:1fr;padding:21px}.audience-icon{width:42px;height:42px}.maintenance-admin-head{flex-direction:column}.maintenance-admin-form .form-grid{grid-template-columns:1fr}.maintenance-card{padding:30px 18px}.maintenance-actions .btn{width:100%}}

/* ============================================================
   HandwerkerPilot v4.6 – Mitarbeiter & digitale Personalakte
   ============================================================ */
.personnel-summary,.employee-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px}.personnel-summary>div,.employee-kpis>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px 17px;box-shadow:var(--shadow)}.personnel-summary span,.employee-kpis span{display:block;color:var(--muted);font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.personnel-summary strong,.employee-kpis strong{display:block;margin-top:4px;font-size:22px;letter-spacing:-.03em}.employee-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.personnel-grid{align-items:start}.employee-list{display:grid;gap:7px}.employee-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto 18px;gap:11px;align-items:center;padding:11px;border:1px solid #e5eaed;border-radius:11px;background:#fff;color:inherit;transition:.15s}.employee-row:hover{border-color:#b9d8d4;background:#f7fbfa;transform:translateY(-1px)}.employee-avatar{width:40px;height:40px;border-radius:11px;background:linear-gradient(135deg,#163343,#1e756d);color:#fff;display:grid;place-items:center;font-weight:900}.employee-row-main{min-width:0;display:grid;gap:2px}.employee-row-main strong{font-size:13px}.employee-row-main span{font-size:11.5px;color:#53636e}.employee-row-main small{font-size:10.5px;color:#87939b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.employee-row-side{display:grid;gap:4px;justify-items:end}.employee-row-side small{font-size:10px;color:#87939b}.employee-arrow{font-size:20px;color:#9aa7ae}.employee-top h1{margin:5px 0 2px}.employee-tabs{position:sticky;top:81px;z-index:8;background:#f5f7f8;padding-top:7px}.employee-profile-form{display:grid;gap:16px}.employee-profile-form>.card{scroll-margin-top:145px}.sensitive-card{border-color:#dbe8e5;background:linear-gradient(180deg,#fff,#fbfdfd)}.sensitive-head{display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:start;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid #e5ecea}.sensitive-head>span{width:36px;height:36px;border-radius:10px;background:#e8f5f2;display:grid;place-items:center}.sensitive-head h2{margin:0 0 3px}.sensitive-head p{margin:0;color:#718089;font-size:11.5px;line-height:1.5}.sensitive-clear{display:flex;gap:14px;flex-wrap:wrap;padding:10px 12px;border:1px solid #e7ecee;border-radius:9px;background:#f8fafb}.sensitive-clear label{display:flex!important;align-items:center;gap:6px;font-size:10.5px!important;color:#6a7881}.sensitive-clear input{width:auto!important}.access-card{margin-top:16px;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:20px;align-items:center}.access-card form{display:flex;gap:9px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.document-list,.absence-list{display:grid;gap:7px}.personnel-doc,.absence-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid #e5eaed;border-radius:10px;background:#fbfcfc}.personnel-doc>div:first-child,.absence-row>div:first-child{display:grid;gap:3px}.personnel-doc strong,.absence-row strong{font-size:12px}.personnel-doc span,.personnel-doc small,.absence-row small{font-size:10.5px;color:#75848d}.absence-row>div:first-child{grid-template-columns:auto 1fr;align-items:center}.absence-row small{grid-column:1/-1}.personnel-doc .actions{flex-wrap:nowrap}.personnel-doc form,.absence-row form{margin:0}
@media(max-width:1050px){.employee-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.access-card{grid-template-columns:1fr}.access-card form{justify-content:flex-start}}
@media(max-width:720px){.personnel-summary,.employee-kpis{grid-template-columns:1fr 1fr}.employee-row{grid-template-columns:38px minmax(0,1fr) 16px}.employee-row-side{display:none}.employee-tabs{position:static;overflow:auto;flex-wrap:nowrap}.employee-tabs a{white-space:nowrap}.personnel-doc,.absence-row{align-items:flex-start}.sensitive-clear{display:grid;grid-template-columns:1fr}}
@media(max-width:460px){.personnel-summary,.employee-kpis{grid-template-columns:1fr}.employee-row{grid-template-columns:36px minmax(0,1fr) 14px}}

/* ============================================================
   HandwerkerPilot v4.7 – top account/language, document preview,
   company profile and production reset
   ============================================================ */
.toolbar-menu-wrap{position:relative;display:flex;align-items:center}.toolbar-menu-button{border:1px solid #dfe5e8;background:#fff;min-height:40px;border-radius:10px;display:flex;align-items:center;gap:8px;padding:5px 9px;cursor:pointer;color:#31434f;box-shadow:0 2px 8px rgba(22,40,54,.035)}.toolbar-menu-button:hover{border-color:#bdd7d4;background:#fbfdfd}.toolbar-lang-button{font-size:11.5px;font-weight:800}.toolbar-lang-button .flag{font-size:18px;line-height:1}.toolbar-menu-button .caret{font-size:11px;color:#8b99a2}.toolbar-profile-button{padding:5px 8px 5px 5px;max-width:240px}.toolbar-profile-button>b{width:30px;height:30px;border-radius:8px;background:linear-gradient(135deg,#13877d,#5fcbbb);color:#fff;display:grid;place-items:center;font-size:12px}.profile-copy{display:grid;text-align:left;line-height:1.2;min-width:0}.profile-copy strong{font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-copy small{font-size:9.5px;color:#84939d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.toolbar-dropdown{position:absolute;right:0;top:calc(100% + 8px);width:225px;background:#fff;border:1px solid #dfe6e9;border-radius:12px;box-shadow:0 18px 48px rgba(20,36,50,.17);padding:7px;z-index:80;display:none}.toolbar-menu-wrap.open .toolbar-dropdown{display:grid}.toolbar-dropdown>a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;color:#334651}.toolbar-dropdown>a:hover{background:#f1f8f7;color:#176d64}.toolbar-dropdown>a>span:first-child{width:25px;text-align:center}.toolbar-dropdown>a div{display:grid}.toolbar-dropdown>a strong{font-size:12px}.toolbar-dropdown>a small{font-size:9.5px;color:#88959e}.dropdown-head{display:grid;gap:2px;padding:8px 10px 10px;margin-bottom:4px;border-bottom:1px solid #edf0f2}.dropdown-head strong{font-size:12px}.dropdown-head small{font-size:10px;color:#7b8993;overflow:hidden;text-overflow:ellipsis}.toolbar-dropdown .dropdown-logout{color:#a23c3c}.toolbar-dropdown .dropdown-logout:hover{background:#fff2f2;color:#8d2f2f}.platform-top-actions{align-items:center!important}.platform-top-actions>.btn{white-space:nowrap}.platform-sidebar{padding-bottom:14px}.platform-nav{padding-bottom:10px}.sidebar-user-v45,.platform-sidebar-foot{display:none!important}

.document-preview-dialog{width:min(1100px,94vw);height:min(820px,90vh);padding:0;border:0;border-radius:14px;overflow:hidden;box-shadow:0 28px 90px rgba(11,25,35,.35);background:#fff}.document-preview-dialog::backdrop{background:rgba(8,18,26,.62);backdrop-filter:blur(3px)}.document-preview-head{height:64px;padding:0 16px 0 20px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #e4e9ec;background:#fbfcfc}.document-preview-head>div{display:grid;gap:1px;min-width:0}.document-preview-head strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.document-preview-head small{font-size:10px;color:#82909a}.dialog-close{width:36px;height:36px;border:1px solid #dfe5e8;background:#fff;border-radius:9px;font-size:21px;cursor:pointer;color:#50616d}.document-preview-dialog iframe{display:block;width:100%;height:calc(100% - 64px);border:0;background:#edf1f3}.doc-preview-button{min-width:38px}

.company-profile-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.company-profile-summary>div{border:1px solid #e5eaed;border-radius:10px;padding:11px;background:#fbfcfc}.company-profile-summary span{display:block;color:#7a8892;font-size:10px;text-transform:uppercase;font-weight:800}.company-profile-summary strong{display:block;margin-top:3px;font-size:14px}.production-reset-card{border:1px solid #efc6c6!important;background:linear-gradient(180deg,#fff,#fffafa)!important}.production-reset-card .card-head{border-bottom:1px solid #f3dddd;padding-bottom:14px}.reset-count-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.reset-count-grid>div{background:#fff;border:1px solid #eadede;border-radius:9px;padding:10px}.reset-count-grid span{display:block;font-size:9.5px;color:#8b7777;text-transform:uppercase;font-weight:800}.reset-count-grid strong{font-size:19px;color:#5a3434}.production-reset-form{display:grid;gap:11px;margin-top:14px}.production-reset-form .btn.danger,.btn.danger{background:#ad3e3e;color:#fff;border-color:#ad3e3e}.production-reset-form .btn.danger:hover,.btn.danger:hover{background:#932e2e}

@media(max-width:1100px){.reset-count-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-copy{display:none}.toolbar-profile-button{max-width:none}.toolbar-menu-button .caret{display:none}}
@media(max-width:720px){.toolbar-lang-button>span:nth-child(2){display:none}.toolbar-lang-button{padding-left:7px;padding-right:7px}.toolbar-dropdown{position:fixed;right:12px;top:66px}.document-preview-dialog{width:96vw;height:90vh}.reset-count-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-top-actions>.btn{display:none}}

/* ============================================================
   HandwerkerPilot v4.8 – structured company/trade profile
   ============================================================ */
.profile-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.profile-facts>div{border:1px solid #e2e8eb;background:#f9fbfb;border-radius:11px;padding:12px}.profile-facts span{display:block;font-size:9.5px;text-transform:uppercase;letter-spacing:.04em;color:#7d8b95;font-weight:800}.profile-facts strong{display:block;font-size:14px;margin-top:4px}.profile-facts small{display:block;color:#87949c;font-size:9.5px;margin-top:2px}.profile-score{display:flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid #dce7e5;background:#f8fcfb;border-radius:10px}.profile-score strong{font-size:18px;color:#0f8277}.profile-score span{font-size:10px;color:#687a84}.company-admin-head>.actions{margin-left:auto;display:flex;gap:7px;flex-wrap:wrap}.table-wrap select.table-input{min-width:150px}.trade-card .security-callout+form{margin-top:10px}
@media(max-width:980px){.profile-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.profile-facts{grid-template-columns:1fr}.profile-score{width:100%;justify-content:center}.company-admin-head>.actions{margin-left:0}}

/* ============================================================
   HandwerkerPilot v4.9 – unified premium workspace design
   ============================================================ */
:root{
  --v49-bg:#f3f6f8;--v49-surface:#ffffff;--v49-surface-2:#f8fafb;
  --v49-text:#10212e;--v49-muted:#6d7c87;--v49-line:#e2e9ed;
  --v49-teal:#0b8a7d;--v49-teal-dark:#086b62;--v49-teal-soft:#e7f7f4;
  --v49-navy:#102432;--v49-navy-2:#142d3d;--v49-blue:#4d7fc4;
  --v49-amber:#c88a2b;--v49-red:#bd5260;--v49-green:#24835f;
  --v49-r-lg:18px;--v49-r-md:13px;
  --v49-shadow:0 1px 2px rgba(16,36,50,.03),0 10px 30px rgba(16,36,50,.055);
  --v49-shadow-hover:0 4px 12px rgba(16,36,50,.06),0 18px 42px rgba(16,36,50,.09)
}
.v49-ui,.app-body,.platform-body{background:radial-gradient(circle at 92% 0,rgba(11,138,125,.045),transparent 28%),var(--v49-bg)}
.app-body,.platform-body{color:var(--v49-text)}
.card{border:1px solid var(--v49-line);border-radius:var(--v49-r-lg);box-shadow:var(--v49-shadow);background:var(--v49-surface)}
.card:hover{border-color:#d7e2e6}
.card-head{margin-bottom:18px}.card-head h2{font-size:18px;color:var(--v49-text)}
.muted{color:var(--v49-muted)}
.top{margin-bottom:20px}.top h1{font-size:27px!important;letter-spacing:-.035em!important;color:var(--v49-text)}
.top>div>.muted{font-size:13px;line-height:1.6;margin-top:3px}
.btn{min-height:39px;border-radius:10px;padding:9px 14px;box-shadow:none;transition:transform .16s,box-shadow .16s,background .16s,border-color .16s}
.btn:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(19,42,56,.09)}
.btn.primary,.btn.gold{background:linear-gradient(135deg,var(--v49-teal),#0aa191);color:#fff}.btn.primary:hover,.btn.gold:hover{background:linear-gradient(135deg,var(--v49-teal-dark),#078e82)}
.btn.ghost{background:#fff;color:#334751;border:1px solid #dce5e9}.btn.ghost:hover{border-color:#bcd3d1;background:#f7fbfa;color:#174d48}
.btn.red,.btn.danger{background:#b84450;color:#fff}
input,select,textarea{border:1px solid #ccd8de;border-radius:10px;background:#fff;min-height:43px;padding:10px 12px;color:#18303d}
input:hover,select:hover,textarea:hover{border-color:#b8c8cf}input:focus,select:focus,textarea:focus{border-color:#55b4aa;box-shadow:0 0 0 4px rgba(11,138,125,.10)}
label{font-size:12px;color:#334954;font-weight:750}.form-grid{gap:14px 16px}
.table-wrap{border:1px solid #e5ebee;border-radius:13px;overflow:auto;background:#fff}table{background:#fff}th{position:sticky;top:0;z-index:1;background:#f7f9fa!important;color:#74848e!important;font-size:10.5px!important;letter-spacing:.055em!important;padding:11px 13px!important}td{padding:13px!important}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8fbfa!important}
.badge{border-radius:999px;padding:5px 9px;font-size:10.5px;letter-spacing:.015em}.badge.active{background:#e8f7f0;color:#17684e}.badge.done{background:#edf3fb;color:#315f97}.badge.cancelled{background:#f7eeee;color:#9d4850}.badge.overdue{background:#fff2dc;color:#8d601b}
.flash{border-radius:12px;padding:13px 15px;box-shadow:0 3px 14px rgba(28,54,66,.04)}
.hint,.muted-box,.payment-box,.security-callout{border-radius:12px}

/* shared workspace navigation */
.app-body .shell{grid-template-columns:276px minmax(0,1fr)}
.app-body .sidebar,.platform-sidebar{background:linear-gradient(180deg,var(--v49-navy) 0%,#112a3a 55%,#102636 100%);box-shadow:8px 0 32px rgba(10,29,42,.07)}
.sidebar-brand-v45,.platform-brand-v49{height:82px;border-bottom:1px solid rgba(255,255,255,.08)}
.sidebar-brand-link,.platform-brand-link{display:flex;align-items:center;gap:10px;min-width:0;color:#fff}.sidebar-brand-link img,.platform-brand-link img{width:40px;height:40px;border-radius:11px;object-fit:cover;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.sidebar-brand-link b,.platform-brand-link b{font-size:18px;letter-spacing:-.025em;color:#fff}.sidebar-brand-link b span,.platform-brand-link b span{color:#39c7b6}.sidebar-brand-link small,.platform-brand-link small{display:block;color:#8fa6b4;font-size:10.5px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nav-v45,.platform-nav{gap:3px}.nav-v45 a,.nav-group-toggle,.platform-nav a{border-radius:10px;min-height:42px;color:#cbd7de}.nav-v45 a:hover,.nav-group-toggle:hover,.platform-nav a:hover{background:rgba(255,255,255,.065);color:#fff}.nav-v45 a.active,.platform-nav a.active{background:linear-gradient(90deg,rgba(44,193,174,.23),rgba(44,193,174,.08));box-shadow:inset 3px 0 0 #47cfbd;color:#fff}.nav-icon{font-size:12px!important}.nav-count,.nav-bubble{margin-left:auto;min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#dcf7f2;color:#0b675e;display:inline-grid;place-items:center;font-size:10px;font-weight:900}
.nav-section{color:#718997!important;font-size:9px!important;letter-spacing:.095em!important}
.sidebar-search{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.08)}.sidebar-search input{color:#dfe8ed!important}.sidebar-search input::placeholder{color:#6f8795}
.main-v45,.platform-main{padding-left:34px!important;padding-right:34px!important;max-width:1680px}
.app-toolbar,.workspace-topbar{height:78px;border-bottom:1px solid #e1e8eb;background:rgba(243,246,248,.92);backdrop-filter:blur(16px);position:sticky;top:0;z-index:28}
.toolbar-search{border-radius:12px;border-color:#dce5e9;box-shadow:0 2px 12px rgba(17,42,56,.035)}
.toolbar-quick{color:#35505c;border-radius:9px}.toolbar-quick:hover{background:#fff;color:#0b746a}
.toolbar-menu-button,.toolbar-profile-button{border-radius:11px!important;border-color:#dce5e9!important;box-shadow:0 2px 10px rgba(20,42,55,.035)}
.toolbar-dropdown{border-radius:14px!important;border-color:#dce5e9!important;box-shadow:0 22px 60px rgba(13,35,49,.16)!important;padding:7px!important}
.toolbar-dropdown a{border-radius:9px!important}
.toolbar-profile-button b{background:linear-gradient(135deg,#0a8e80,#4bc5b5)!important}

/* company workspace */
.app-body:not(.customer-app) .page-content{padding-bottom:26px}
.app-body:not(.customer-app) .kpi-card,.platform-stats .stat{border-radius:16px;box-shadow:var(--v49-shadow);overflow:hidden;position:relative}
.app-body:not(.customer-app) .kpi-card:after,.platform-stats .stat:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,transparent,rgba(11,138,125,.28),transparent)}
.kpi-grid-v45{gap:14px}.kpi-grid-v45 .kpi-card{min-height:110px}.kpi-grid-v45 .kpi-icon{border-radius:12px;box-shadow:0 7px 18px rgba(16,55,70,.14)}
.dashboard-layout-v45{gap:18px}.dashboard-jobs,.time-widget,.dashboard-side-v45>.card{border-radius:17px}
.job-overview-row{transition:background .15s,transform .15s}.job-overview-row:hover{background:#f5faf8;transform:translateX(2px)}
.quick-action-grid a{border-radius:11px;background:#fbfcfd}.quick-action-grid a:hover{background:#f3faf8}
.crm-tabs{gap:7px;border-bottom-color:#e2e9ed}.crm-tabs a{border-radius:9px 9px 0 0}.crm-tabs a.active{background:#f1f9f7}

/* customer portal v4.9 */
.customer-shell-v49{grid-template-columns:256px minmax(0,1fr)!important}
.customer-sidebar-v49{padding:0 13px 15px!important;display:flex;flex-direction:column}
.customer-nav-v49{padding-top:12px;display:grid!important;overflow:visible!important}.customer-nav-v49 a{font-size:13.5px}.customer-side-help{margin-top:auto;display:grid;grid-template-columns:32px 1fr;gap:9px;align-items:start;padding:13px 10px;border:1px solid rgba(255,255,255,.075);border-radius:12px;background:rgba(255,255,255,.035);color:#dce7ed}.customer-side-help>span{width:30px;height:30px;border-radius:9px;background:rgba(65,204,185,.13);color:#5ed7c7;display:grid;place-items:center;font-weight:900}.customer-side-help div{display:grid;gap:2px}.customer-side-help strong{font-size:11.5px}.customer-side-help small{font-size:9.5px;color:#839aa8;line-height:1.45}
.customer-main-v49{max-width:1640px!important}.customer-toolbar-v49{margin-bottom:24px}.customer-toolbar-title{display:grid;line-height:1.25}.customer-toolbar-title small{color:#7a8993;font-size:10px;text-transform:uppercase;letter-spacing:.07em;font-weight:800}.customer-toolbar-title strong{font-size:14px;margin-top:3px}.customer-new-job{background:#edf7f5;color:#0a7268}.customer-new-job:hover{background:#dff3ef}
.customer-welcome-v49{display:flex;justify-content:space-between;gap:26px;align-items:center;padding:28px 30px;margin-bottom:15px;border-radius:20px;background:linear-gradient(125deg,#102e3d 0%,#124c52 63%,#0b8074 100%);color:#fff;box-shadow:0 16px 42px rgba(14,47,57,.16);overflow:hidden;position:relative}.customer-welcome-v49:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-90px;top:-125px;background:rgba(255,255,255,.065)}.customer-welcome-v49>div,.customer-welcome-v49>a{position:relative;z-index:1}.customer-welcome-v49 h1{font-size:30px;letter-spacing:-.04em;margin:7px 0 7px}.customer-welcome-v49 p{max-width:750px;margin:0;color:#cce0e5;font-size:13.5px;line-height:1.6}.eyebrow-soft{display:inline-flex;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.11);color:#bbede6;font-size:9.5px;font-weight:850;text-transform:uppercase;letter-spacing:.075em}
.customer-kpis-v49{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 26px}.customer-kpis-v49>a{display:flex;align-items:center;gap:12px;padding:15px 16px;border:1px solid var(--v49-line);border-radius:15px;background:#fff;box-shadow:var(--v49-shadow);transition:.16s}.customer-kpis-v49>a:hover{transform:translateY(-2px);box-shadow:var(--v49-shadow-hover);border-color:#bdded9}.customer-kpis-v49>a>span{width:38px;height:38px;border-radius:11px;background:var(--v49-teal-soft);color:var(--v49-teal);display:grid;place-items:center;font-weight:900}.customer-kpis-v49>a>div{display:grid}.customer-kpis-v49 small{font-size:10px;color:#7a8992;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.customer-kpis-v49 strong{font-size:23px;line-height:1.15;margin-top:2px}
.customer-app .top{align-items:center}.customer-app .grid.two{gap:16px}.customer-app .grid.two>.card{border-radius:17px;overflow:hidden;position:relative}.customer-app .grid.two>.card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(#30b5a5,#0f8176)}.customer-app .card-head h2{font-size:19px;margin:7px 0 4px}.customer-app .card-head .muted{font-size:11px}.customer-app .row-line{padding:12px 0}.customer-app .row-line>.actions{justify-content:flex-end}.customer-app .security-callout{border-color:#d5ebe7;background:#f5fbfa}.customer-app .message-bubble{border-radius:16px;box-shadow:0 2px 8px rgba(25,47,59,.04)}.customer-app .message-bubble.mine{background:#e8f8f5;border-color:#c1e8e1}.customer-app .review-card{border-bottom-color:#e7edef}

/* operator workspace */
.platform-brand-v49{display:flex;align-items:center;padding:0 8px!important}.platform-brand-link{width:100%}.platform-sidebar{padding-left:13px;padding-right:13px}.platform-main{max-width:1700px!important}.platform-stats{grid-template-columns:repeat(5,minmax(0,1fr))!important}.platform-stats .stat{padding:18px;min-height:112px!important}.platform-stats .stat-label{font-size:10px!important;text-transform:uppercase;letter-spacing:.055em}.platform-stats .stat strong{font-size:25px!important;margin-top:8px}.platform-stats .stat small{font-size:10.5px}.dashboard-grid{gap:18px}.quick-card{border-radius:17px}.quick-link{border-radius:11px}.quick-link:hover{background:#f3faf8;border-color:#d7ebe7;transform:translateX(2px)}.quick-link>span{border-radius:10px}.settings-columns,.billing-admin-grid,.platform-template-layout{gap:20px}.platform-body .section-title{padding-bottom:4px}.platform-body .info-panel{border-radius:17px}.platform-body .maintenance-admin-card,.platform-body .production-reset-card{border-radius:17px}
.platform-body .platform-nav{padding-bottom:12px;overflow-y:auto}.platform-body .nav-section{margin-top:3px}

/* login/public consistency */
.login-body{background:radial-gradient(circle at 20% 15%,rgba(33,173,155,.18),transparent 30%),linear-gradient(145deg,#102432,#18384a)}.login-card{border-radius:22px;border:1px solid rgba(255,255,255,.75);box-shadow:0 28px 80px rgba(5,24,35,.28)}

@media(max-width:1280px){.platform-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}.customer-kpis-v49{grid-template-columns:repeat(2,minmax(0,1fr))}.main-v45,.platform-main{padding-left:22px!important;padding-right:22px!important}}
@media(max-width:900px){.customer-shell-v49{display:block!important}.customer-sidebar-v49{position:fixed!important;left:0;top:0;bottom:0;width:270px!important;height:100vh!important;transform:translateX(-105%);transition:transform .2s;z-index:80;box-shadow:15px 0 50px rgba(8,27,39,.28)}.customer-sidebar-v49.mobile-open{transform:translateX(0)!important}.customer-toolbar-v49 .toolbar-menu{display:grid!important;place-items:center}.customer-side-help{margin-top:auto}.customer-main-v49{padding:0 14px 34px!important}.customer-welcome-v49{padding:24px}.platform-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){.customer-toolbar-title,.customer-new-job,.customer-toolbar-v49 .profile-copy{display:none}.customer-toolbar-v49{height:64px}.customer-welcome-v49{align-items:flex-start;flex-direction:column;border-radius:16px;padding:22px 19px}.customer-welcome-v49 h1{font-size:25px}.customer-welcome-v49 .btn{width:100%}.customer-kpis-v49{grid-template-columns:1fr 1fr;gap:9px}.customer-kpis-v49>a{padding:12px}.customer-app .grid.two{grid-template-columns:1fr}.platform-stats{grid-template-columns:1fr!important}.main-v45,.platform-main{padding-left:12px!important;padding-right:12px!important}.card{border-radius:14px;padding:16px}.top{align-items:flex-start}.top .actions,.top>.btn{width:100%}.top>.btn{justify-content:center}}

/* ============================================================
   HandwerkerPilot v4.9.2 — public/customer standalone UI polish
   Safe presentation layer: no business/database logic changes.
   ============================================================ */
.public-body{background:linear-gradient(180deg,#f8fbfc 0,#f4f7f9 45%,#f7f9fa 100%);min-height:100vh}
.public-nav{max-width:none!important;margin:0!important;padding:14px max(22px,calc((100vw - 1180px)/2))!important;min-height:72px;background:rgba(255,255,255,.94)!important;border-bottom:1px solid #e6edef;box-shadow:0 1px 0 rgba(14,45,59,.025);backdrop-filter:blur(14px);display:flex;align-items:center;justify-content:space-between;gap:18px;position:sticky;top:0;z-index:40}
.public-nav .brand{padding:0!important;font-size:20px;letter-spacing:-.025em;color:#102b3a}.public-nav .brand span{color:#10a895}.public-nav nav{display:flex;align-items:center;gap:7px}.public-nav nav>a{padding:9px 11px;border-radius:9px;color:#405560!important;font-size:12.5px;font-weight:750}.public-nav nav>a:hover{background:#eef7f5;color:#0a7468!important}.public-nav .lang-switch{margin:0!important;display:flex;align-items:center;gap:6px;font-size:11px;color:#8a989f}.public-nav .lang-switch a{padding:6px 7px;border-radius:7px;background:#f4f7f8;font-weight:850}.public-nav .lang-switch a:hover{background:#e8f5f2;color:#08766b}
.public-main{overflow:visible!important}.public-search-main,.public-profile-main,.public-marketplace-main,.public-customer-job-main{width:min(1120px,calc(100% - 34px));margin:0 auto;padding:34px 0 72px}.public-simple-main{max-width:960px!important;margin:0 auto!important;padding:42px 22px 76px!important}
.public-card{background:#fff;border:1px solid #e0e9ec;border-radius:18px;padding:24px;box-shadow:0 10px 32px rgba(20,52,67,.065)}.public-card+.public-card{margin-top:18px}.public-card h1,.public-card h2,.public-card h3{letter-spacing:-.025em}.public-card .muted{color:#71828c}
.marketplace-hero{max-width:none!important;margin:0 0 20px!important;padding:34px 36px!important;display:block!important;background:linear-gradient(125deg,#112e3c 0%,#174e54 67%,#0a887a 100%);border:0;border-radius:22px;color:#fff;box-shadow:0 18px 45px rgba(15,51,60,.15);position:relative;overflow:hidden}.marketplace-hero:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-88px;top:-130px;background:rgba(255,255,255,.07)}.marketplace-hero>*{position:relative;z-index:1}.marketplace-hero .eyebrow{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.14);color:#c9f4ed}.marketplace-hero h1{max-width:780px;font-size:clamp(32px,4.2vw,48px)!important;line-height:1.06!important;margin:13px 0 10px!important;color:#fff}.marketplace-hero p{max-width:780px!important;font-size:15px!important;line-height:1.65;color:#d2e4e8!important;margin:0!important}
.search-filter-card{padding:20px 22px}.search-filter-grid{grid-template-columns:minmax(260px,1.35fr) minmax(220px,.8fr) auto!important;gap:12px!important;align-items:end}.search-filter-grid .btn{height:43px;min-width:126px;background:#0b8c7e}.search-filter-grid label{font-size:12px;color:#4e626d}.search-filter-grid input,.search-filter-grid select{height:43px;border-color:#d4e0e4;background:#fbfcfd}
.marketplace-results{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}.marketplace-company-card{position:relative;min-height:178px;padding:22px 23px;transition:transform .16s,box-shadow .16s,border-color .16s}.marketplace-company-card:hover{transform:translateY(-2px);border-color:#c4dfdb;box-shadow:0 16px 42px rgba(15,55,67,.095)}.marketplace-company-card h2{font-size:22px;margin:14px 0 5px}.marketplace-company-card .btn{margin-top:8px}.marketplace-results>.empty{grid-column:1/-1;min-height:130px;display:grid;place-items:center;background:#fff;border:1px dashed #cfdcdf;border-radius:18px;box-shadow:none;color:#71828c}
.company-profile-card{padding:30px}.company-profile-card .card-head h1{font-size:clamp(30px,4vw,44px);margin:10px 0 7px}.company-profile-card .chip-list{gap:7px}.company-profile-card .member-chip{background:#eef8f6;border:1px solid #d5ebe7;color:#1e625c}.company-profile-card .actions{margin-top:22px!important;padding-top:20px;border-top:1px solid #e8edef}.company-reviews-card{padding:28px}.company-reviews-card>h2{margin-top:0}.company-reviews-card .review-card{padding:16px 0;border-bottom:1px solid #e9eef0}.company-reviews-card .review-card:last-child{border-bottom:0}
.marketplace-form-card{border-radius:20px!important;padding:28px!important}.marketplace-form-card .form-grid{gap:15px}.marketplace-form-card label{font-size:12.5px;color:#3e5662}.marketplace-form-card input,.marketplace-form-card select,.marketplace-form-card textarea{border-color:#d7e2e6;background:#fbfcfd;border-radius:10px}.marketplace-form-card input:focus,.marketplace-form-card select:focus,.marketplace-form-card textarea:focus{outline:0;border-color:#66c6ba;box-shadow:0 0 0 3px rgba(26,164,148,.10);background:#fff}.marketplace-form-card .security-callout{border-radius:13px;background:#f1faf8;border-color:#d5ebe7;margin-bottom:20px}.marketplace-form-card .consent-line{margin-top:14px}.marketplace-form-card .btn.full{height:46px;border-radius:11px;background:#0a8d7f;color:#fff}
.public-customer-job-main .marketplace-form-card{margin-bottom:18px}.public-customer-job-main .marketplace-form-card>.card{box-shadow:none;border-color:#e4ebee;background:#fbfcfd}.public-customer-job-main .actions{margin-top:15px}.public-customer-job-main .row-line{padding:13px 0}
.public-simple-main>.card{border-radius:20px;padding:30px;box-shadow:0 14px 42px rgba(18,49,63,.07)}.public-simple-main>.card>h1{font-size:34px;margin:0 0 22px}.public-simple-main .legal-text{line-height:1.75;color:#334b57}
.public-body .flash{max-width:1120px;margin-left:auto;margin-right:auto}
@media(max-width:860px){.public-nav{padding-left:16px!important;padding-right:16px!important}.public-nav nav{gap:2px}.public-nav nav>a{padding:8px;font-size:12px}.public-search-main,.public-profile-main,.public-marketplace-main,.public-customer-job-main{width:min(100% - 24px,1120px);padding-top:22px}.marketplace-hero{padding:28px 24px!important;border-radius:18px}.search-filter-grid{grid-template-columns:1fr 1fr!important}.search-filter-grid .btn{grid-column:1/-1;width:100%}.marketplace-results{grid-template-columns:1fr!important}}
@media(max-width:620px){.public-nav{min-height:62px;flex-wrap:wrap}.public-nav nav{order:3;width:100%;justify-content:flex-start;overflow:auto}.public-nav nav>a{white-space:nowrap}.public-nav .lang-switch{margin-left:auto!important}.public-search-main,.public-profile-main,.public-marketplace-main,.public-customer-job-main{width:min(100% - 18px,1120px);padding-top:14px}.marketplace-hero{padding:24px 19px!important}.marketplace-hero h1{font-size:31px!important}.search-filter-card,.public-card,.marketplace-form-card,.company-profile-card,.company-reviews-card{padding:18px!important;border-radius:15px!important}.search-filter-grid{grid-template-columns:1fr!important}.search-filter-grid .btn{grid-column:auto}.company-profile-card .actions>.btn,.company-profile-card .actions>form{width:100%}.company-profile-card .actions>form .btn{width:100%}.public-simple-main{padding:24px 10px 55px!important}.public-simple-main>.card{padding:20px}.public-simple-main>.card>h1{font-size:28px}}


/* HandwerkerPilot v4.10 – CenterView-style quote/invoice editor */
.doc-editor-top{align-items:flex-start}
.doc-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}
.doc-editor-main{display:grid;gap:18px;min-width:0}
.doc-editor-side{position:sticky;top:88px}
.doc-summary-card{border:1px solid rgba(15,118,110,.16);box-shadow:0 18px 50px rgba(15,23,42,.10)}
.doc-summary-lines{display:grid;gap:0;margin:18px 0;border-top:1px solid var(--border,#e2e8f0)}
.doc-summary-lines>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--border,#e2e8f0)}
.doc-summary-lines .grand{font-size:1.18rem;color:#0f172a;padding-top:16px}
.doc-summary-lines .grand strong{color:#0f766e;font-size:1.35rem}
.doc-editor-actions{display:grid;gap:9px}
.doc-editor-actions .btn{width:100%;justify-content:center}
.doc-editor-note{font-size:.86rem;line-height:1.5;margin-top:14px}
.doc-items-card{overflow:hidden}
.doc-editor-table{min-width:960px}
.doc-editor-table th{white-space:nowrap;font-size:.76rem;text-transform:uppercase;letter-spacing:.05em}
.doc-editor-table td{vertical-align:top}
.doc-editor-table td:first-child{min-width:330px}
.doc-editor-table select,.doc-editor-table input{margin:0;min-height:40px}
.doc-editor-table .editor-description{margin-top:7px}
.doc-editor-table .editor-qty{width:90px}
.doc-editor-table .editor-unit{width:100px}
.doc-editor-table .editor-price{width:125px}
.doc-editor-table .editor-vat{width:85px}
.editor-line-total{font-weight:800;white-space:nowrap;padding-top:15px!important}
.editor-launch-card{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(135deg,rgba(15,118,110,.06),rgba(255,255,255,.98))}
.editor-launch-card h2{margin-bottom:5px}
@media(max-width:1100px){.doc-editor-layout{grid-template-columns:1fr}.doc-editor-side{position:static}.doc-summary-card{max-width:none}}
@media(max-width:720px){.doc-editor-layout{gap:12px}.doc-editor-top{gap:10px}.editor-launch-card{align-items:flex-start;flex-direction:column}.doc-editor-actions{grid-template-columns:1fr}.doc-summary-lines .grand strong{font-size:1.2rem}}

/* HandwerkerPilot v4.10.1 – operator billing + responsive invoice editor */
.doc-editor-table{min-width:0!important;width:100%!important;table-layout:fixed!important}
.doc-editor-table th,.doc-editor-table td{white-space:normal!important;overflow-wrap:anywhere}
.doc-editor-table td:first-child{min-width:0!important;width:38%}
.doc-editor-table th:nth-child(2),.doc-editor-table td:nth-child(2){width:9%}
.doc-editor-table th:nth-child(3),.doc-editor-table td:nth-child(3){width:10%}
.doc-editor-table th:nth-child(4),.doc-editor-table td:nth-child(4){width:13%}
.doc-editor-table th:nth-child(5),.doc-editor-table td:nth-child(5){width:9%}
.doc-editor-table th:nth-child(6),.doc-editor-table td:nth-child(6){width:13%}
.doc-editor-table th:last-child,.doc-editor-table td:last-child{width:54px;text-align:center}
.doc-editor-table input,.doc-editor-table select,.doc-editor-table .editor-qty,.doc-editor-table .editor-unit,.doc-editor-table .editor-price,.doc-editor-table .editor-vat{width:100%!important;min-width:0!important;max-width:100%!important}
.editor-table-wrap{overflow-x:hidden!important}
.billing-head-card{margin-bottom:18px}.billing-admin-grid-v4101{grid-template-columns:minmax(0,1fr) 310px}.invoice-title-cell{display:grid;gap:2px;margin-top:6px;white-space:normal}.invoice-title-cell small{color:var(--muted);font-size:11px}.badge.draft{background:#fff5d8;color:#805c00}.invoice-admin-actions{min-width:420px}.recurring-big-number{font-size:48px;font-weight:850;line-height:1;color:#0f766e;margin:12px 0}.platform-doc-editor .doc-editor-main{min-width:0}.platform-invoice-items td{vertical-align:middle}.platform-invoice-items .editor-line-total{padding-top:13px!important}.recurring-editor-grid{grid-template-columns:minmax(0,1.1fr) minmax(380px,.9fr);align-items:start}.rec-custom-fields{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px;border:1px dashed #d7e1e5;border-radius:12px;background:#f9fbfb}.recurring-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.recurring-row:last-child{border-bottom:0}.recurring-row>div:first-child{display:grid;gap:4px;min-width:0}.recurring-row>div:first-child span,.recurring-row>div:first-child small{color:var(--muted)}.recurring-row>.actions{justify-content:flex-end}
@media(max-width:1200px){.recurring-editor-grid{grid-template-columns:1fr}.billing-admin-grid-v4101{grid-template-columns:1fr}.recurring-summary-card{position:static}.invoice-admin-actions{min-width:0}}
@media(max-width:900px){.doc-editor-table{display:block!important}.doc-editor-table thead{display:none}.doc-editor-table tbody{display:grid;gap:12px}.doc-editor-table tbody tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px;border:1px solid #e3e9ec;border-radius:12px;background:#fff}.doc-editor-table tbody td{display:block!important;width:auto!important;min-width:0!important;padding:0!important;border:0!important}.doc-editor-table tbody td:first-child{grid-column:1/-1}.doc-editor-table tbody td:nth-last-child(2){align-self:end;padding:10px 0!important}.doc-editor-table tbody td:last-child{align-self:end}.recurring-row{align-items:flex-start;flex-direction:column}.recurring-row>.actions{justify-content:flex-start}.rec-custom-fields{grid-template-columns:1fr}}

/* v4.11 – document workspace + marketplace reviews */
.hp411-editor-card{overflow:hidden}.hp411-add-menu{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.hp411-add-menu .btn{padding:8px 11px;font-size:12px}.hp411-editor-hint{display:flex;gap:10px;flex-wrap:wrap;padding:10px 14px;margin:-2px 0 12px;border:1px solid #e3ecef;border-radius:12px;background:#f7fafb;color:#5c6d76;font-size:11px}.hp411-editor-hint span{display:inline-flex;align-items:center;gap:5px}.hp411-doc-table{table-layout:fixed!important;width:100%!important;min-width:0!important}.hp411-doc-table td:first-child{width:43%!important}.hp411-doc-table th:nth-child(2),.hp411-doc-table td:nth-child(2){width:8%!important}.hp411-doc-table th:nth-child(3),.hp411-doc-table td:nth-child(3){width:9%!important}.hp411-doc-table th:nth-child(4),.hp411-doc-table td:nth-child(4){width:11%!important}.hp411-doc-table th:nth-child(5),.hp411-doc-table td:nth-child(5){width:8%!important}.hp411-doc-table th:nth-child(6),.hp411-doc-table td:nth-child(6){width:13%!important}.hp411-doc-table th:last-child,.hp411-doc-table td:last-child{width:62px!important}.hp411-doc-table .editor-item-row{transition:opacity .14s ease,background .14s ease}.hp411-doc-table .editor-item-row.dragging{opacity:.45;background:#eef8f6}.hp411-doc-table .editor-item-row.not-in-total{background:#fbfcfd}.hp411-doc-table .editor-item-row.not-in-total .editor-line-total{color:#7d8a91}.hp411-row-toolbar{display:grid;grid-template-columns:auto minmax(120px,.9fr) minmax(125px,.8fr);gap:7px;align-items:center;margin-bottom:7px}.hp411-drag{cursor:grab;color:#7a8a92;font-weight:900;letter-spacing:-2px;user-select:none}.hp411-row-toolbar .editor-type,.hp411-row-toolbar .editor-included{min-height:34px!important;font-size:11px}.hp411-doc-table .editor-article{min-height:36px!important}.hp411-doc-table .editor-description{width:100%;resize:vertical;min-height:48px!important;padding:9px 10px;margin-top:7px}.hp411-cost-details{margin-top:7px;border-top:1px dashed #dce4e7;padding-top:6px}.hp411-cost-details summary{cursor:pointer;color:#60717a;font-size:11px;font-weight:800}.hp411-cost-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.hp411-cost-grid .wide{grid-column:1/-1}.hp411-cost-grid label{font-size:9.5px;color:#71818a}.hp411-cost-grid input,.hp411-cost-grid select{min-height:34px!important;font-size:11px}.hp411-row-actions{display:grid;grid-template-columns:1fr 1fr;gap:4px}.hp411-row-actions .mini{width:27px;height:27px;padding:0;justify-content:center}.editor-line-cost{display:block;font-size:9px;margin-top:3px}.hp411-side{display:grid;gap:14px}.hp411-margin-box{margin-top:14px;padding-top:12px;border-top:1px dashed #d9e3e6;display:grid;gap:8px}.hp411-margin-box>div{display:flex;justify-content:space-between;gap:12px;font-size:12px}.hp411-margin-box span{color:#687982}.hp411-margin-box strong{color:#264d49}.hp411-live-preview{padding:14px}.hp411-preview-paper{background:#fff;border:1px solid #dfe7ea;border-radius:12px;box-shadow:0 8px 24px rgba(28,52,63,.07);padding:18px;min-height:260px}.hp411-preview-brand{font-size:11px;color:#60717a;font-weight:800}.hp411-preview-kind{font-size:18px;font-weight:900;color:#0f766e;text-align:right;margin-top:-12px}.hp411-preview-title{font-size:12px;font-weight:800;margin:24px 0 12px;padding-bottom:8px;border-bottom:1px solid #e7edef}.hp411-preview-rows{display:grid;gap:6px}.hp411-preview-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;font-size:9.5px;line-height:1.25}.hp411-preview-row.heading{font-weight:900;font-size:10.5px;margin-top:6px}.hp411-preview-row.text{display:block;color:#677983}.hp411-preview-row.subtotal{border-top:1px solid #dfe6e9;padding-top:5px;font-weight:800}.hp411-preview-row.optional,.hp411-preview-row.alternative{color:#526872}.hp411-preview-total{display:flex;justify-content:space-between;gap:12px;margin-top:14px;padding-top:10px;border-top:2px solid #0f766e;font-size:12px;font-weight:900}.hp411-save-card{padding:14px}.hp411-save-card .doc-editor-actions{grid-template-columns:1fr!important}.hp411-doc-table .editor-item-row[data-item-type="heading"] td:first-child textarea{font-weight:900;font-size:14px}.hp411-doc-table .editor-item-row[data-item-type="text"] td:first-child textarea{font-style:italic;color:#5e6f78}.hp411-doc-table .editor-item-row[data-item-type="subtotal"] td:first-child textarea{font-weight:900}.hp411-doc-table .editor-item-row[data-item-type="heading"] td:nth-child(n+2):nth-child(-n+6),.hp411-doc-table .editor-item-row[data-item-type="text"] td:nth-child(n+2):nth-child(-n+6),.hp411-doc-table .editor-item-row[data-item-type="subtotal"] td:nth-child(n+2):nth-child(-n+6){opacity:.35}.hp411-review-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0}.hp411-review-metrics>div{padding:9px;border:1px solid #e5ebee;border-radius:10px;background:#fafcfc}.hp411-review-metrics span{display:block;font-size:9.5px;color:#72828a;text-transform:uppercase;font-weight:800}.hp411-review-metrics strong{font-size:13px}.verified-review-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 8px;background:#e9f8f4;color:#17665c;font-size:10px;font-weight:850}.company-review-reply{margin-top:10px;padding:10px 12px;background:#f7fafb;border-left:3px solid #0f766e;border-radius:0 9px 9px 0}.company-review-reply strong{display:block;font-size:11px;margin-bottom:4px}.hp411-dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.hp411-dashboard-kpis .card{padding:16px}.hp411-dashboard-kpis small{display:block;color:#72818a;text-transform:uppercase;font-weight:850;font-size:10px}.hp411-dashboard-kpis strong{display:block;font-size:29px;margin-top:6px}.hp411-dashboard-card .row-line{align-items:center}.hp411-attachment{display:inline-flex;align-items:center;gap:6px;margin-top:7px;padding:6px 9px;border-radius:9px;border:1px solid #dfe8eb;background:#fff;font-size:11px;text-decoration:none}.hp411-message-upload{margin-top:8px}.hp411-message-upload input[type=file]{font-size:11px}
@media(max-width:1200px){.hp411-doc-table td:first-child{width:38%!important}.hp411-row-toolbar{grid-template-columns:auto 1fr}.hp411-row-toolbar .editor-included{grid-column:2}.hp411-review-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.hp411-doc-table tbody tr{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hp411-doc-table tbody td:first-child{grid-column:1/-1!important}.hp411-row-actions{display:flex}.hp411-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hp411-add-menu{justify-content:flex-start}.hp411-editor-hint{display:grid}}
@media(max-width:560px){.hp411-dashboard-kpis,.hp411-review-metrics{grid-template-columns:1fr}.hp411-row-toolbar{grid-template-columns:auto 1fr}.hp411-add-menu .btn{flex:1 1 44%}.hp411-preview-paper{padding:14px}.hp411-cost-grid{grid-template-columns:1fr}}
/* v4.11 review refinements */
.hp411-rating-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 16px}.hp411-rating-grid label{display:grid;gap:5px}.hp411-review-card .hp411-review-metrics>span,.hp411-rating-summary .hp411-review-metrics>span,.company-reviews-card .hp411-review-metrics>span{padding:9px 10px;border:1px solid #e5ebee;border-radius:10px;background:#fafcfc;display:flex;justify-content:space-between;gap:8px;align-items:center}.hp411-review-metrics>span b{font-size:13px;color:#244c48}.hp411-company-reply{margin-top:12px;padding:11px 13px;border-left:3px solid #0f766e;border-radius:0 10px 10px 0;background:#f5faf9}.hp411-company-reply strong{display:block;font-size:11px;margin-bottom:4px}.hp411-company-reply p{margin:0}.hp411-review-reply{margin-top:14px;padding-top:12px;border-top:1px solid #e6ecef}.hp411-review-reply textarea{margin-top:5px}.hp411-rating-big{font-size:25px;color:#0f766e}.hp411-review-form .badge{margin-top:5px;display:inline-flex}.hp411-review-card>.card-head{align-items:flex-start}.hp411-review-card>.card-head>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
@media(max-width:900px){.hp411-rating-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.hp411-rating-grid{grid-template-columns:1fr}}

/* v4.11.1 – professional document editor: no horizontal scrolling */
.hp4111-editor-top{gap:16px}.hp4111-editor-top>.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.hp4111-workspace{grid-template-columns:minmax(0,1fr) 320px;gap:16px}.hp4111-workspace.hp4111-side-hidden{grid-template-columns:minmax(0,1fr)}.hp4111-workspace.hp4111-side-hidden>.doc-editor-side{display:none}.hp4111-side-toggle{white-space:nowrap}
.hp4111-meta-card{padding:18px 20px}.hp4111-meta-card .card-head{margin-bottom:12px}.hp4111-meta-card .card-head h2{margin-bottom:2px}.hp4111-meta-card .form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.hp4111-meta-card .form-grid>.wide{grid-column:1/-1}.hp4111-meta-card label{min-width:0}.hp4111-meta-card input,.hp4111-meta-card select{min-width:0;width:100%}.hp4111-meta-card textarea{min-height:64px;resize:vertical}
.hp411-editor-card{padding:18px 20px!important;overflow:hidden}.hp411-editor-card>.card-head{gap:12px;align-items:flex-start}.hp411-editor-card>.card-head>div:first-child{min-width:210px}.hp411-add-menu{padding:4px;border:1px solid #dde7ea;border-radius:12px;background:#f8fafb;gap:4px}.hp411-add-menu .btn{border:0!important;box-shadow:none!important;border-radius:9px;padding:8px 10px;font-size:11px}.hp411-add-menu .btn.ghost{background:transparent}.hp411-add-menu .btn:hover{background:#eef5f4}.hp4111-catalog-btn{font-weight:800}.hp411-editor-hint{margin:4px 0 12px;padding:9px 11px;border-style:dashed;background:#fbfcfc}
.hp4111-items-head{display:flex;justify-content:space-between;gap:12px;padding:0 13px 7px;color:#71818a;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.045em}.hp4111-items{display:grid;gap:10px;width:100%;min-width:0;max-width:100%}.hp4111-item{display:block;width:100%;min-width:0;max-width:100%;padding:0;border:1px solid #dfe8eb;border-radius:13px;background:#fff;overflow:hidden;transition:border-color .15s,box-shadow .15s,opacity .14s}.hp4111-item:hover{border-color:#c9ddd9;box-shadow:0 7px 22px rgba(24,57,68,.055)}.hp4111-item.dragging{opacity:.45;background:#eef8f6}.hp4111-item.not-in-total{background:#fbfcfd}.hp4111-item.not-in-total .editor-line-total{color:#73838a}
.hp4111-item-topbar{display:flex;align-items:center;gap:7px;min-width:0;padding:8px 10px;border-bottom:1px solid #e7edef;background:#f8fafb}.hp4111-item-topbar .hp411-drag{flex:0 0 auto;font-size:14px}.hp4111-pos-no{display:inline-grid;place-items:center;flex:0 0 31px;height:28px;border-radius:8px;background:#e9f6f4;color:#176a61;font-size:10px;font-weight:900;letter-spacing:.04em}.hp4111-item-topbar .editor-type{width:142px!important;min-width:118px!important;max-width:142px!important;height:30px!important;min-height:30px!important;padding:3px 28px 3px 8px!important;font-size:10.5px}.hp4111-item-topbar .editor-included{width:145px!important;min-width:125px!important;max-width:145px!important;height:30px!important;min-height:30px!important;padding:3px 28px 3px 8px!important;font-size:10.5px}.hp4111-item-topbar .hp411-row-actions{display:flex!important;grid-template-columns:none!important;gap:4px;margin-left:auto;flex:0 0 auto}.hp4111-item-topbar .hp411-row-actions .mini{width:29px;height:29px;border-radius:8px}
.hp4111-item-main{display:grid;gap:11px;padding:12px;min-width:0;max-width:100%}.hp4111-description-zone{display:grid;gap:6px;min-width:0}.hp4111-field-label,.hp4111-price-grid label>span,.hp4111-line-total-box>span{display:block;color:#647780;font-size:9.5px;font-weight:850;text-transform:uppercase;letter-spacing:.035em}.hp4111-item .editor-article,.hp4111-item .editor-description,.hp4111-item input,.hp4111-item select,.hp4111-item textarea{box-sizing:border-box;max-width:100%;min-width:0}.hp4111-item .editor-article{width:100%!important;min-height:34px!important;height:34px!important;margin:0!important;font-size:11px}.hp4111-item .editor-description{width:100%;min-height:70px!important;margin:0!important;padding:10px 11px!important;resize:vertical;font-size:12px;line-height:1.45;background:#fff}
.hp4111-price-grid{display:grid;grid-template-columns:minmax(70px,.7fr) minmax(78px,.8fr) minmax(105px,1fr) minmax(76px,.72fr) minmax(118px,1.2fr);gap:8px;align-items:end;min-width:0;max-width:100%}.hp4111-price-grid label{display:grid;gap:5px;min-width:0}.hp4111-price-grid input{width:100%!important;min-width:0!important;max-width:100%!important;height:36px!important;min-height:36px!important;margin:0!important;padding:7px 9px!important;font-size:12px}.hp4111-suffix-field{position:relative;min-width:0}.hp4111-suffix-field input{padding-right:24px!important}.hp4111-suffix-field b{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:11px;color:#71818a;pointer-events:none}.hp4111-line-total-box{display:grid;align-content:end;gap:5px;min-width:0;padding:0 2px 3px 8px;border-left:1px solid #e6ecef}.hp4111-line-total-box .editor-line-total{padding:0!important;min-height:36px;display:flex;align-items:center;justify-content:flex-end;font-size:14px;font-weight:900;color:#183c39;white-space:nowrap}.hp4111-line-total-box .editor-line-cost{text-align:right;min-height:10px;margin:0;font-size:9px}
.hp4111-item>.hp411-cost-details{margin:0 12px 12px;padding:8px 10px;border:1px dashed #dce5e8;border-radius:9px;background:#fbfcfd}.hp4111-item>.hp411-cost-details summary{font-size:10.5px;color:#5b7079}.hp4111-item>.hp411-cost-details[open] summary{margin-bottom:7px}.hp4111-item .hp411-cost-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr);gap:8px;margin-top:0}.hp4111-item .hp411-cost-grid .wide{grid-column:auto}.hp4111-item .hp411-cost-grid input,.hp4111-item .hp411-cost-grid select{width:100%!important;min-width:0!important;min-height:34px!important;height:34px!important;margin-top:4px!important}
.hp4111-item[data-item-type="heading"] .hp4111-price-grid,.hp4111-item[data-item-type="text"] .hp4111-price-grid,.hp4111-item[data-item-type="subtotal"] .hp4111-price-grid{display:none}.hp4111-item[data-item-type="heading"] .editor-article,.hp4111-item[data-item-type="text"] .editor-article,.hp4111-item[data-item-type="subtotal"] .editor-article,.hp4111-item[data-item-type="heading"] .editor-included,.hp4111-item[data-item-type="text"] .editor-included,.hp4111-item[data-item-type="subtotal"] .editor-included{display:none}.hp4111-item[data-item-type="heading"] .editor-description{min-height:48px!important;font-size:15px;font-weight:900;background:#fbfcfd}.hp4111-item[data-item-type="text"] .editor-description{min-height:60px!important;font-style:italic;color:#52666f}.hp4111-item[data-item-type="subtotal"] .editor-description{min-height:46px!important;font-weight:900;background:#fbfcfd}.hp4111-item[data-item-type="optional"]{border-left:3px solid #8bbeb7}.hp4111-item[data-item-type="alternative"]{border-left:3px solid #aab7c0}
.hp411-side{gap:12px}.hp411-side .doc-summary-card{padding:16px}.hp411-side .doc-summary-card h2{font-size:18px;margin-bottom:10px}.hp411-side .doc-summary-card>label{font-size:10.5px}.hp411-side .doc-summary-card>label input{min-height:38px}.hp411-side .doc-summary-lines{margin:12px 0}.hp411-side .doc-summary-lines>div{padding:9px 0;font-size:12px}.hp411-side .doc-summary-lines .grand{font-size:1.05rem;padding-top:12px}.hp411-side .doc-summary-lines .grand strong{font-size:1.22rem}.hp411-side .hp411-margin-box{margin-top:10px;padding-top:10px;gap:6px}.hp411-live-preview{padding:12px}.hp411-live-preview .card-head{margin-bottom:10px}.hp411-live-preview .card-head h2{font-size:17px;margin-bottom:2px}.hp411-live-preview .card-head p{font-size:10.5px;line-height:1.35}.hp411-preview-paper{width:100%;box-sizing:border-box;min-height:0;aspect-ratio:210/297;padding:16px;overflow:hidden}.hp411-preview-title{margin:22px 0 10px}.hp411-preview-rows{gap:5px}.hp411-preview-row{font-size:8.8px}.hp411-save-card{padding:12px}.hp411-save-card .btn{min-height:40px}
@media(max-width:1250px){.hp4111-meta-card .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hp4111-meta-card .form-grid>.wide{grid-column:1/-1}.hp4111-workspace{grid-template-columns:minmax(0,1fr) 300px}.hp4111-price-grid{grid-template-columns:minmax(66px,.7fr) minmax(72px,.75fr) minmax(100px,1fr) minmax(72px,.7fr) minmax(108px,1.1fr)}}
@media(max-width:1100px){.hp4111-workspace{grid-template-columns:1fr}.hp4111-workspace>.doc-editor-side{position:static}.hp4111-side-toggle{display:none}.hp4111-side{grid-template-columns:minmax(0,.8fr) minmax(260px,1fr);align-items:start}.hp4111-save-card{grid-column:1/-1}.hp411-preview-paper{aspect-ratio:auto;min-height:300px}}
@media(max-width:760px){.hp4111-editor-top{align-items:flex-start}.hp4111-editor-top>.actions{width:100%;justify-content:flex-start}.hp4111-meta-card .form-grid{grid-template-columns:1fr}.hp4111-meta-card .form-grid>.wide{grid-column:auto}.hp411-editor-card{padding:14px!important}.hp411-editor-card>.card-head{display:grid}.hp411-add-menu{justify-content:flex-start}.hp4111-items-head{display:none}.hp4111-item-topbar{flex-wrap:wrap}.hp4111-item-topbar .hp411-row-actions{margin-left:0}.hp4111-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hp4111-line-total-box{grid-column:1/-1;border-left:0;border-top:1px solid #e6ecef;padding:8px 0 0}.hp4111-line-total-box .editor-line-total{justify-content:flex-start}.hp4111-line-total-box .editor-line-cost{text-align:left}.hp4111-item .hp411-cost-grid{grid-template-columns:1fr}.hp4111-side{grid-template-columns:1fr}.hp4111-save-card{grid-column:auto}}
@media(max-width:480px){.hp4111-item-topbar .editor-type,.hp4111-item-topbar .editor-included{width:calc(50% - 28px)!important;max-width:none!important;min-width:105px!important}.hp4111-item-topbar .hp411-row-actions{width:100%;justify-content:flex-end}.hp4111-price-grid{grid-template-columns:1fr 1fr}.hp411-add-menu .btn{flex:1 1 45%}.hp4111-meta-card{padding:15px}.hp411-preview-paper{padding:13px}}

/* HandwerkerPilot v4.11.3 -------------------------------------------------- */
/* Public website: stronger brand presence and calmer desktop proportions. */
.public-nav-v45{position:sticky;top:0;z-index:80;border-bottom:1px solid rgba(28,58,68,.08);backdrop-filter:saturate(150%) blur(14px)}
.public-nav-v45 .public-nav-inner{width:min(1320px,100%);min-height:112px;padding:10px 28px;gap:28px}
.public-nav-v45 .hp4112-home-logo{min-width:270px}
.public-nav-v45 .site-logo.site-logo-full{height:80px;max-width:330px;width:auto;object-fit:contain;filter:drop-shadow(0 4px 10px rgba(11,55,74,.08))}
.v4-public .hero-v4{width:min(1320px,100%);margin-top:0;margin-bottom:58px;padding:78px 28px 72px;position:relative;isolation:isolate}
.v4-public .hero-v4:before{content:"";position:absolute;z-index:-1;inset:18px 8px 8px;border-radius:34px;background:linear-gradient(135deg,rgba(15,118,110,.07),rgba(255,255,255,.2) 52%,rgba(24,113,180,.06));border:1px solid rgba(20,81,91,.055)}
.v4-public .hero-v4 h1{max-width:720px;font-size:clamp(48px,5.45vw,78px);line-height:.99}
.v4-public .hero-v4 p{max-width:690px;font-size:18px}
.v4-public .hero-demo{border:1px solid rgba(255,255,255,.12);box-shadow:0 32px 90px rgba(18,37,48,.22);transform:rotate(.5deg)}
.v4-public .hero-actions .btn{min-height:48px;display:inline-flex;align-items:center;justify-content:center}
.v4-public .public-stat-strip{width:min(1190px,calc(100% - 48px));margin-top:-25px}

/* Consistent logo header on public marketplace/profile pages. */
.public-subnav-v4112{max-width:none;width:100%;min-height:92px;padding:10px max(24px,calc((100vw - 1180px)/2));background:rgba(255,255,255,.97);border-bottom:1px solid #e7edef;box-shadow:0 6px 24px rgba(27,48,58,.04);position:sticky;top:0;z-index:70}
.public-brand-logo{display:inline-flex;align-items:center;min-width:220px;text-decoration:none}
.public-brand-logo img{display:block;height:64px;width:auto;max-width:275px;object-fit:contain}
.public-subnav-v4112 nav{margin-left:auto}
.public-subnav-v4112 .lang-switch{margin:0;color:#697981;white-space:nowrap}

/* Trades + service activation, inspired by clear preference/toggle screens. */
.hp4112-trades-top{align-items:flex-start}
.hp4112-trade-kpis{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.hp4112-trade-kpis span{min-width:132px;padding:11px 14px;border:1px solid #dce8e8;border-radius:13px;background:#fff;color:#60727a;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.035em;box-shadow:0 5px 18px rgba(25,60,66,.035)}
.hp4112-trade-kpis b{display:block;color:#143d3a;font-size:23px;line-height:1.1;margin-bottom:3px}
.hp4112-trade-grid{align-items:stretch}
.hp4112-trade-card{border-color:#e0e8eb;transition:.16s ease}
.hp4112-trade-card.is-approved{border-color:#cfe5e1;background:linear-gradient(180deg,#fff,#fbfefd)}
.hp4112-services-card{margin-top:18px;padding:22px!important;scroll-margin-top:112px}
.hp4112-services-form{display:grid;gap:18px}
.hp4112-service-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.hp4112-service-group{overflow:hidden;border:1px solid #dfe8eb;border-radius:15px;background:#fff}
.hp4112-service-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;background:#f7faf9;border-bottom:1px solid #e7eeee}
.hp4112-service-group-head>div{display:grid;gap:2px}
.hp4112-service-group-head strong{font-size:14px;color:#183d3a}
.hp4112-service-group-head small{font-size:10px;color:#718188}
.hp4112-service-list{display:grid}
.hp4112-service-row{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:11px 14px;margin:0;border:0;border-bottom:1px solid #edf1f2;background:#fff;cursor:pointer}
.hp4112-service-row:last-child{border-bottom:0}
.hp4112-service-row:hover{background:#fbfdfd}
.hp4112-service-row.is-on{background:#fbfffe}
.hp4112-service-row>input{position:absolute;opacity:0;pointer-events:none}
.hp4112-switch{position:relative;width:35px;height:20px;border-radius:999px;background:#c7d0d4;box-shadow:inset 0 0 0 1px rgba(26,54,64,.08);transition:.15s}
.hp4112-switch:after{content:"";position:absolute;width:16px;height:16px;left:2px;top:2px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(25,45,52,.22);transition:.15s}
.hp4112-service-row>input:checked+.hp4112-switch{background:#168d80}
.hp4112-service-row>input:checked+.hp4112-switch:after{transform:translateX(15px)}
.hp4112-service-copy{display:grid;gap:2px;min-width:0}
.hp4112-service-copy b{font-size:12.5px;color:#243d45;overflow-wrap:anywhere}
.hp4112-service-copy small{font-size:9.5px;color:#7b8a91;font-weight:600}
.hp4112-service-row .badge{font-size:9px;white-space:nowrap}
.hp4112-services-save{position:sticky;bottom:12px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid #cfe0df;border-radius:13px;background:rgba(255,255,255,.95);box-shadow:0 12px 38px rgba(26,56,65,.12);backdrop-filter:blur(12px)}
.hp4112-services-save>div{display:grid;gap:2px}.hp4112-services-save small{color:#718188;font-size:10px}

/* Operator service catalogue/review. */
.hp4112-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hp4112-platform-review,.hp4112-service-admin{scroll-margin-top:24px}
.hp4112-service-admin-table table{min-width:980px}
.hp4112-service-admin-table td:nth-child(2){min-width:230px}
.hp4112-service-admin-table .table-input{margin-bottom:5px}

/* Customer job service selection. */
.hp4112-job-service-box{border:1px solid #dfe8eb;border-radius:13px;padding:13px 14px;background:#f9fbfb}
.hp4112-job-service-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}
.hp4112-job-service-head strong{display:block;font-size:13px;color:#183d3a}
.hp4112-job-service-head small{display:block;margin-top:3px;color:#718188;font-size:10px;line-height:1.4}
.hp4112-job-service-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.hp4112-job-service-option{display:flex;align-items:center;gap:8px;min-width:0;margin:0;padding:9px 10px;border:1px solid #dfe8eb;border-radius:9px;background:#fff;color:#344b53;font-size:11.5px;font-weight:700;cursor:pointer}
.hp4112-job-service-option:hover{border-color:#bcd9d5;background:#fbfffe}
.hp4112-job-service-option:has(input:checked){border-color:#73b9ae;background:#ecfaf7;color:#155c54}
.hp4112-job-service-option input{width:15px;height:15px;accent-color:#14877b;flex:0 0 auto}
.hp4112-job-service-option[hidden]{display:none!important}
.hp4112-service-empty{padding:9px 2px 2px}
.hp4112-job-services{margin:9px 0 12px}

/* Public company discovery/profile. */
.hp4112-search-hero{padding-bottom:6px}
.hp4112-search-hero p{max-width:760px;color:#65777f;font-size:15px}
.hp4112-search-filter{padding:18px 20px!important}
.hp4112-search-filter .search-filter-grid{grid-template-columns:1fr 1.15fr .8fr auto;align-items:end}
.hp4112-company-results{align-items:stretch}
.hp4112-company-card{display:flex;flex-direction:column;min-height:255px;padding:22px!important;border-color:#dde7e9;transition:transform .15s,box-shadow .15s,border-color .15s}
.hp4112-company-card:hover{transform:translateY(-2px);border-color:#c5dcd8;box-shadow:0 15px 40px rgba(23,54,63,.09)}
.hp4112-company-card-top{display:flex;gap:6px;flex-wrap:wrap}
.hp4112-company-card h2{margin:13px 0 5px;font-size:22px}
.hp4112-rating-line{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:8px 0 12px;font-size:11px;color:#73838a}
.hp4112-rating-line strong{color:#173e3a;font-size:13px}
.hp4112-card-services{margin-bottom:16px}
.hp4112-company-card>.btn{margin-top:auto;align-self:flex-start}
.hp4112-public-services{margin-top:22px;padding-top:18px;border-top:1px solid #e7edef}
.hp4112-public-service-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hp4112-public-service-group{padding:12px 13px;border:1px solid #e0e8ea;border-radius:12px;background:#fbfcfc}
.hp4112-public-service-group>strong{display:block;margin-bottom:8px;color:#183d3a;font-size:12px}
.hp4112-service-chip{background:#eef9f6!important;border-color:#d5ebe6!important;color:#275c56!important}

@media(max-width:1180px){
  .public-nav-v45 .public-nav-inner{min-height:94px}.public-nav-v45 .site-logo.site-logo-full{height:63px;max-width:275px}.public-nav-v45 .hp4112-home-logo{min-width:220px}
  .hp4112-search-filter .search-filter-grid{grid-template-columns:1fr 1fr 1fr}.hp4112-search-filter .search-filter-grid button{grid-column:1/-1}
}
@media(max-width:900px){
  .public-nav-v45 .site-logo.site-logo-full{height:58px;max-width:245px}.public-nav-v45 .public-nav-inner{min-height:84px}
  .public-subnav-v4112{min-height:80px;padding:8px 18px}.public-brand-logo img{height:55px;max-width:235px}
  .hp4112-service-groups,.hp4112-review-grid,.hp4112-public-service-groups{grid-template-columns:1fr}
  .hp4112-trade-kpis{justify-content:flex-start}.hp4112-search-filter .search-filter-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:650px){
  .public-nav-v45 .hp4112-home-logo{min-width:0}.public-nav-v45 .site-logo.site-logo-full{height:52px;max-width:210px}
  .v4-public .hero-v4{padding:46px 18px 48px}.v4-public .hero-v4:before{inset:8px 5px;border-radius:23px}.v4-public .hero-v4 h1{font-size:43px}
  .public-subnav-v4112{flex-wrap:wrap}.public-subnav-v4112 nav{order:3;width:100%;margin:0;justify-content:flex-start}.public-brand-logo img{height:49px;max-width:205px}.public-subnav-v4112 .lang-switch{margin-left:auto}
  .hp4112-job-service-list,.hp4112-search-filter .search-filter-grid{grid-template-columns:1fr}
  .hp4112-services-card{padding:15px!important}.hp4112-service-row{grid-template-columns:auto minmax(0,1fr) auto}.hp4112-service-row>input{display:none}.hp4112-service-row .hp4112-switch{grid-column:1}.hp4112-service-copy{grid-column:2}.hp4112-service-row .badge{grid-column:3}.hp4112-services-save{align-items:stretch;flex-direction:column}.hp4112-services-save .btn{width:100%}
  .hp4112-trade-kpis span{min-width:0;flex:1}.hp4112-company-card{min-height:0}
}

/* v4.11.3 – Office/mobile licences and mobile workspace */
.license-plan-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}
.license-company-summary,.billing-license-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:2px 0 16px}
.license-company-summary>div,.billing-license-summary>div{display:grid;gap:3px;padding:13px 14px;border:1px solid #dfe9ea;border-radius:12px;background:#f8fbfb}
.license-company-summary span,.billing-license-summary span{font-size:11px;font-weight:800;color:#50666d}
.license-company-summary strong,.billing-license-summary strong{font-size:22px;color:#173f3b}
.license-company-summary small,.billing-license-summary small{font-size:10px;color:#72838a;line-height:1.35}
.license-type-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}
.license-type-badge.office{background:#e8f7f4;color:#13675e;border:1px solid #cfeae4}
.license-type-badge.mobile{background:#eef3ff;color:#395d9d;border:1px solid #dbe5fb}
.license-summary>div{display:flex;flex-direction:column;gap:2px}
.employee-license-card{margin-bottom:16px}
.license-user-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.license-user-form label{min-width:240px;margin:0}
.license-user-form .btn{margin-bottom:1px}
.mobile-dashboard-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px}
.mobile-dashboard-kpis .card{min-height:120px}
.mobile-dashboard-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.license-plan-list,.public-license-list{display:grid;gap:7px;margin:14px 0 18px;padding:0;list-style:none}
.license-plan-list li,.public-license-list li{font-size:11px;line-height:1.4;color:#60737b}
.public-license-explain{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px auto 0;max-width:1070px}
.public-license-explain>div{display:grid;gap:5px;padding:15px 17px;border:1px solid #dfe8ea;border-radius:14px;background:#fff}
.public-license-explain strong{font-size:12px;color:#183f3b}
.public-license-explain span{font-size:11px;color:#6a7d84;line-height:1.5}
.billing-plan-grid .price-card ul{padding-left:0}

@media(max-width:760px){
  .license-plan-fields,.license-company-summary,.billing-license-summary,.mobile-dashboard-kpis,.mobile-dashboard-actions,.public-license-explain{grid-template-columns:1fr}
  .license-user-form{align-items:stretch}.license-user-form label{min-width:0;width:100%}.license-user-form .btn{width:100%}
}
.license-howto-card{margin-bottom:18px}
.license-howto-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.license-howto-grid>div{display:grid;grid-template-columns:auto 1fr;column-gap:10px;row-gap:3px;padding:13px 14px;border:1px solid #e1e9eb;border-radius:12px;background:#fafcfc}
.license-howto-grid b{grid-row:1/3;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e7f6f3;color:#14695f;font-size:12px}
.license-howto-grid strong{font-size:11px;color:#263f46}
.license-howto-grid span{font-size:10px;color:#718087;line-height:1.45}
@media(max-width:900px){.license-howto-grid{grid-template-columns:1fr}}
.settings-license-strip{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.settings-license-counts{display:flex;gap:10px;flex-wrap:wrap}.settings-license-counts span{padding:7px 10px;border:1px solid #e0e8ea;border-radius:999px;background:#f9fbfb;font-size:10px;color:#5e7179}.settings-license-counts b{color:#173f3b}


/* v4.13.0 – company recurring invoice position editor and plan feature controls */
#recurringRows .recurring-row{display:grid;grid-template-columns:minmax(220px,2.3fr) 90px 100px 120px 88px 42px;gap:8px;align-items:center;padding:0;margin:0 0 9px;border:0}
#recurringRows .recurring-row>input{min-width:0;width:100%}
#recurringRows .recurring-row>.recurring-remove{width:42px;padding:10px 0}
.plan-feature-admin{display:grid;gap:7px;padding:12px 0;border-top:1px solid var(--line)}
.plan-feature-admin .checkline{margin:0}
@media(max-width:900px){#recurringRows .recurring-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(85px,.6fr) minmax(85px,.6fr);align-items:center}#recurringRows .recurring-row>input:nth-child(4),#recurringRows .recurring-row>input:nth-child(5){grid-column:auto}#recurringRows .recurring-row>.recurring-remove{justify-self:end}}
@media(max-width:620px){#recurringRows .recurring-row{grid-template-columns:1fr 1fr}#recurringRows .recurring-row>input:first-child{grid-column:1/-1}}

/* HandwerkerPilot v4.13.3 – verified review experience */
.hp4133-review-page-head,.hp4133-company-review-head{align-items:flex-end}
.hp4133-review-page-head .muted,.hp4133-company-review-head .muted{max-width:760px}
.hp4133-review-list{display:grid;gap:16px;margin-top:16px}.hp4133-review-list.company{margin-top:16px}
.hp4133-review-card{padding:0;overflow:hidden;border:1px solid #dfe8ee;box-shadow:0 12px 34px rgba(11,34,57,.07)}
.hp4133-review-card-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:20px 22px 14px;background:linear-gradient(180deg,#fff 0%,#f8fbfd 100%);border-bottom:1px solid #e7eef2}
.hp4133-review-company h2{font-size:20px;margin:8px 0 2px;color:#10283d}.hp4133-review-company p{margin:0;color:#6d7f8d;font-size:12px}
.hp4133-review-score{min-width:110px;text-align:right}.hp4133-review-score strong{display:block;font-size:30px;line-height:1;color:#0f5f97}.hp4133-review-score span{display:block;margin-top:5px;color:#f2a900;letter-spacing:1px;font-size:17px}
.hp4133-review-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:16px 22px 0}
.hp4133-review-metrics>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid #dfe9ef;border-radius:12px;background:#f8fbfd}
.hp4133-review-metrics span{font-size:10px;text-transform:uppercase;letter-spacing:.04em;font-weight:850;color:#6d7f8d}.hp4133-review-metrics b{font-size:15px;color:#0b2239}
.hp4133-review-body{padding:18px 22px 4px}.hp4133-review-body h3{font-size:18px;margin:0 0 8px;color:#0b2239}.hp4133-review-body p{font-size:14px;line-height:1.65;color:#334c5e;margin:0;white-space:normal}
.hp4133-company-reply{margin:16px 22px 2px;padding:14px 16px;border-radius:12px;background:#eef8f6;border-left:4px solid #18a892}.hp4133-company-reply>span{display:block;font-size:11px;text-transform:uppercase;font-weight:900;color:#147d6e;margin-bottom:6px}.hp4133-company-reply p{margin:0;line-height:1.55}.hp4133-company-reply small{display:block;color:#70818c;margin-top:7px}
.hp4133-review-footer,.hp4133-review-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 22px 18px;color:#71838f;font-size:11px}.hp4133-review-footer>div{display:flex;gap:12px;flex-wrap:wrap}.hp4133-review-footer .edited,.hp4133-review-meta .edited{color:#0f5f97;font-weight:800}.hp4133-edit-review{white-space:nowrap}
.hp4133-review-editor{padding:0;overflow:hidden;border:1px solid #cfe0ea;box-shadow:0 14px 38px rgba(11,34,57,.09);margin-top:18px}
.hp4133-review-editor-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:20px 22px;background:linear-gradient(135deg,#f6fbff,#eff8f7);border-bottom:1px solid #dde9ef}.hp4133-review-editor-head h2{margin:7px 0 3px;font-size:22px}.hp4133-review-editor-head p{margin:0;color:#657987}
.hp4133-score-preview{text-align:right}.hp4133-score-preview strong{font-size:30px;color:#0f5f97;display:block;line-height:1}.hp4133-score-preview span{color:#f2a900;letter-spacing:1px}
.hp4133-review-editor form{padding:20px 22px}.hp4133-rating-editor-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.hp4133-rating-editor-grid label,.hp4133-review-copy-grid label{display:grid;gap:6px;font-size:11px;font-weight:850;color:#4e6574}.hp4133-rating-editor-grid select{min-height:43px;background:#fff}
.hp4133-review-copy-grid{display:grid;grid-template-columns:1fr;gap:14px;margin-top:16px}.hp4133-review-copy-grid input,.hp4133-review-copy-grid textarea{background:#fff}.hp4133-review-copy-grid textarea{resize:vertical;min-height:120px}
.hp4133-rating-overview{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;align-items:center;padding:20px 22px}.hp4133-overall-score{text-align:center;border-right:1px solid #e0e8ed;padding-right:20px}.hp4133-overall-score strong{display:block;font-size:44px;line-height:1;color:#0f5f97}.hp4133-overall-score span{display:block;color:#f2a900;font-size:19px;letter-spacing:2px;margin:6px 0}.hp4133-overall-score small{color:#71838f}.hp4133-summary-metrics{padding:0}
.hp4133-review-reply{margin:14px 22px 20px;padding:16px;border:1px solid #dfe9ef;border-radius:12px;background:#f8fbfd}.hp4133-review-reply label{display:grid;gap:7px}.hp4133-review-reply label>span{font-size:11px;font-weight:850;color:#526a79}.hp4133-review-reply textarea{background:#fff;resize:vertical}.hp4133-review-reply .actions{align-items:center;margin-top:10px}
.hp4133-review-meta{justify-content:flex-start;padding-top:10px;padding-bottom:0;flex-wrap:wrap}.hp4133-review-empty{text-align:center;padding:34px}.hp4133-review-empty strong{display:block;font-size:18px;margin-bottom:6px}
.verified-review-badge{background:#e7f7f3;color:#137666;border:1px solid #cfeae4}
@media(max-width:900px){.hp4133-review-metrics,.hp4133-rating-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hp4133-rating-overview{grid-template-columns:1fr}.hp4133-overall-score{border-right:0;border-bottom:1px solid #e0e8ed;padding:0 0 18px}}
@media(max-width:560px){.hp4133-review-card-head,.hp4133-review-editor-head{flex-direction:column}.hp4133-review-score,.hp4133-score-preview{text-align:left}.hp4133-review-metrics,.hp4133-rating-editor-grid{grid-template-columns:1fr}.hp4133-review-footer{align-items:flex-start;flex-direction:column}.hp4133-edit-review{width:100%;justify-content:center}.hp4133-review-card-head,.hp4133-review-metrics,.hp4133-review-body,.hp4133-review-footer,.hp4133-review-editor form,.hp4133-review-editor-head{padding-left:16px;padding-right:16px}.hp4133-company-reply,.hp4133-review-reply{margin-left:16px;margin-right:16px}}

/* HandwerkerPilot v4.13.4 – context-sensitive page help */
.hp-context-help-root{display:inline-flex;align-items:center;position:relative}.hp-context-help-trigger{height:42px;display:inline-flex;align-items:center;gap:8px;padding:0 13px;border:1px solid #d8e5ee;border-radius:12px;background:#fff;color:#12324a;font:inherit;font-weight:800;cursor:pointer;box-shadow:0 4px 14px rgba(15,48,70,.06);transition:.18s ease}.hp-context-help-trigger:hover{border-color:#89b7d5;background:#f3f9fd;transform:translateY(-1px)}.hp-context-help-icon{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:#e7f3fb;color:#176fa8;font-size:14px;font-weight:900}.hp-context-help-label{font-size:13px}.hp-context-help-root.is-floating{position:fixed;right:24px;bottom:24px;z-index:131}.hp-context-help-root.is-floating>.hp-context-help-trigger{height:46px;padding:0 16px;box-shadow:0 14px 35px rgba(9,42,65,.2)}.hp-context-help-overlay{position:fixed;inset:0;background:rgba(8,27,42,.46);backdrop-filter:blur(2px);z-index:190}.hp-context-help-drawer{position:fixed;top:0;right:0;width:min(500px,94vw);height:100vh;background:#f7fafc;z-index:191;box-shadow:-24px 0 70px rgba(7,33,52,.25);transform:translateX(105%);transition:transform .24s ease;display:flex;flex-direction:column;overflow:auto;color:#102a3c}.hp-context-help-drawer.open{transform:translateX(0)}.hp-context-help-head{padding:26px 28px 18px;background:linear-gradient(145deg,#0b2a45,#12486f);color:#fff;display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.hp-context-help-head h2{margin:5px 0 0;font-size:26px;line-height:1.16;color:#fff}.hp-context-help-eyebrow{font-size:10px;font-weight:900;letter-spacing:.12em;color:#76d4c7}.hp-context-help-x{width:38px;height:38px;border-radius:11px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#fff;font-size:24px;line-height:1;cursor:pointer}.hp-context-help-x:hover{background:rgba(255,255,255,.16)}.hp-context-help-intro{margin:0;padding:22px 28px 8px;color:#526b7c;line-height:1.65;font-size:14px}.hp-context-help-section{padding:14px 28px}.hp-context-help-section h3{margin:0 0 12px;font-size:14px;text-transform:uppercase;letter-spacing:.05em;color:#173b55}.hp-context-help-steps{display:grid;gap:10px}.hp-context-help-steps article{display:grid;grid-template-columns:34px 1fr;gap:12px;padding:14px;background:#fff;border:1px solid #dfe9ef;border-radius:14px;box-shadow:0 5px 16px rgba(13,48,70,.04)}.hp-context-help-steps article>span{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#e8f4fb;color:#126b9f;font-weight:900}.hp-context-help-steps strong{display:block;font-size:13px;color:#132f43;margin:1px 0 4px}.hp-context-help-steps p,.hp-context-help-tips p{margin:0;color:#607586;font-size:12.5px;line-height:1.55}.hp-context-help-tips{display:grid;gap:9px}.hp-context-help-tips>div{display:grid;grid-template-columns:26px 1fr;gap:9px;padding:12px 13px;border-radius:12px;background:#edf8f6;border:1px solid #d4ece8}.hp-context-help-tips>div>span{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:#d7f1ec;color:#118775;font-weight:900}.hp-context-help-footer{margin-top:auto;padding:18px 28px 24px;border-top:1px solid #dfe9ef;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:14px}.hp-context-help-footer>span{font-size:10.5px;color:#8294a0}.hp-context-help-footer .btn{white-space:nowrap}.hp-help-open{overflow:hidden}.platform-top-actions .hp-context-help-trigger{height:42px}.customer-toolbar-v49 .hp-context-help-trigger{height:40px}.public-customer-job-page .hp-context-help-root.is-floating .hp-context-help-trigger{background:#0b2a45;color:#fff;border-color:#0b2a45}.public-customer-job-page .hp-context-help-root.is-floating .hp-context-help-icon{background:rgba(255,255,255,.12);color:#fff}
@media(max-width:760px){.hp-context-help-label{display:none}.hp-context-help-trigger{padding:0 9px}.hp-context-help-root.is-floating{right:14px;bottom:14px}.hp-context-help-root.is-floating .hp-context-help-label{display:inline}.hp-context-help-drawer{width:100vw;max-width:100vw}.hp-context-help-head{padding:22px 20px 16px}.hp-context-help-head h2{font-size:22px}.hp-context-help-intro,.hp-context-help-section{padding-left:20px;padding-right:20px}.hp-context-help-footer{padding:16px 20px 20px;align-items:flex-end}.hp-context-help-footer>span{max-width:180px}}

/* ============================================================
   HandwerkerPilot v4.13.6 – Baustellen-Dokumentenscanner
   ============================================================ */
.hp-job-scanner{margin:0 0 16px}.hp-scanner-launch{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 15px;border:1px solid #cfe4e1;border-radius:12px;background:linear-gradient(135deg,#f3fbfa,#fff)}.hp-scanner-launch>div{display:flex;align-items:center;gap:12px;min-width:0}.hp-scanner-launch strong{display:block;font-size:13px}.hp-scanner-launch small{display:block;margin-top:3px;color:#6d7c85;font-size:10.5px;line-height:1.45}.hp-scanner-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#dff3f0;color:#137469;font-size:19px;font-weight:900;flex:0 0 auto}.hp-scanner-dialog{width:min(1120px,96vw);height:min(900px,94vh);padding:0;border:0;border-radius:16px;background:#f5f7f8;box-shadow:0 34px 110px rgba(5,20,31,.42);overflow:hidden}.hp-scanner-dialog::backdrop{background:rgba(5,16,25,.68);backdrop-filter:blur(4px)}.hp-scanner-shell{height:100%;display:flex;flex-direction:column}.hp-scanner-head{height:66px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 18px 0 22px;background:#fff;border-bottom:1px solid #e0e7ea}.hp-scanner-head>div{display:grid;gap:2px;min-width:0}.hp-scanner-head strong{font-size:15px}.hp-scanner-head small{color:#7b8992;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hp-scanner-main{flex:1;min-height:0;overflow:auto;padding:16px}.hp-scanner-fields{display:grid;grid-template-columns:1fr 1.35fr 1fr;gap:10px;padding:13px;background:#fff;border:1px solid #e1e7e9;border-radius:12px}.hp-scanner-fields label{margin:0}.hp-scanner-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}.hp-scanner-actions>span{margin-left:auto;font-size:10.5px;color:#7c8992}.hp-scanner-empty{min-height:250px;border:2px dashed #cbd7dc;border-radius:14px;background:#fff;display:grid;place-items:center;align-content:center;text-align:center;padding:30px;color:#74828b}.hp-scanner-empty span{font-size:42px}.hp-scanner-empty strong{font-size:14px;color:#41535e;margin-top:8px}.hp-scanner-empty p{max-width:430px;margin:5px auto 0;font-size:11px;line-height:1.55}.hp-scanner-pages{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.hp-scan-page{background:#fff;border:1px solid #dfe6e9;border-radius:12px;padding:9px;box-shadow:0 5px 18px rgba(18,39,53,.05)}.hp-scan-preview{display:block;width:100%;height:auto;max-height:260px;background:#e9edef;border-radius:8px;object-fit:contain;margin:auto}.hp-scan-page-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px}.hp-scan-page-tools strong{font-size:11.5px}.hp-scan-page-tools .actions{gap:5px;flex-wrap:wrap;justify-content:flex-end}.hp-scan-page-tools .btn{min-height:32px;padding:5px 8px;font-size:10px}.hp-scanner-crop{position:absolute;inset:66px 0 0;background:#15232d;z-index:5;padding:14px;overflow:auto;color:#fff}.hp-scanner-dialog{position:relative}.hp-scanner-crop-head{display:grid;gap:2px;margin:0 auto 10px;max-width:900px}.hp-scanner-crop-head strong{font-size:14px}.hp-scanner-crop-head small{color:#b5c0c7}.hp-crop-canvas-wrap{display:grid;place-items:center;min-height:300px}.hp-crop-canvas-wrap canvas{max-width:100%;height:auto;max-height:calc(94vh - 210px);touch-action:none;box-shadow:0 12px 40px rgba(0,0,0,.35);background:#fff}.hp-scanner-crop>.actions{max-width:900px;margin:12px auto 0;justify-content:flex-end}.hp-scanner-crop .btn.ghost{background:#fff}.hp-scanner-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;background:#fff;border-top:1px solid #dfe6e9}.hp-scanner-foot>div{display:grid;gap:2px;min-width:0}.hp-scanner-foot span{font-size:11px;font-weight:800;color:#176e65}.hp-scanner-foot small{font-size:9.5px;color:#7c8992}.hp-scanner-foot .btn{min-width:150px}.hp-scanner-main.is-cropping{overflow:hidden}
@media(max-width:760px){.hp-scanner-launch{align-items:flex-start;flex-direction:column}.hp-scanner-launch .btn{width:100%}.hp-scanner-dialog{width:100vw;height:100dvh;max-width:none;max-height:none;border-radius:0}.hp-scanner-head{height:60px}.hp-scanner-main{padding:10px}.hp-scanner-fields{grid-template-columns:1fr}.hp-scanner-actions{display:grid;grid-template-columns:1fr 1fr}.hp-scanner-actions .btn{width:100%}.hp-scanner-actions>span{grid-column:1/-1;margin:0;text-align:center}.hp-scanner-pages{grid-template-columns:1fr 1fr;gap:8px}.hp-scan-preview{max-height:210px}.hp-scan-page-tools{display:grid}.hp-scan-page-tools .actions{justify-content:stretch}.hp-scan-page-tools .btn{flex:1}.hp-scanner-foot{padding-bottom:max(12px,env(safe-area-inset-bottom));align-items:stretch}.hp-scanner-foot>div{display:none}.hp-scanner-foot .btn{width:100%}.hp-scanner-crop{inset:60px 0 0}.hp-crop-canvas-wrap canvas{max-height:calc(100dvh - 190px)}}
@media(max-width:460px){.hp-scanner-pages{grid-template-columns:1fr}.hp-scan-preview{max-height:300px}.hp-scanner-actions{grid-template-columns:1fr}}

/* ============================================================
   HandwerkerPilot v4.13.7 – Belegscanner & Materialübernahme
   ============================================================ */
.hp-receipts-card{overflow:hidden}.hp-receipt-list{display:grid;gap:8px}.hp-receipt-review{display:grid;gap:14px}.hp-receipt-summary .form-grid>div{display:grid;gap:3px;padding:10px 12px;border:1px solid #e1e8eb;border-radius:10px;background:#fafcfc}.hp-receipt-summary .form-grid>div strong{font-size:13px}.hp-ocr-hint{margin:0}.hp-markup-box{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:14px 0;padding:12px 13px;border:1px solid #dce8eb;border-radius:12px;background:#f8fbfc}.hp-markup-box label{margin:0;max-width:190px}.hp-markup-box small{color:#71808a;flex:1;min-width:180px}.hp-receipt-items-wrap{margin-top:12px}.hp-receipt-items-wrap table{min-width:980px}.hp-receipt-items-wrap input,.hp-receipt-items-wrap select{min-width:88px}.hp-receipt-items-wrap td:first-child input{min-width:220px}.hp-receipt-items-wrap .hp-receipt-remove{min-width:36px;padding:8px}.hp-receipt-actions{margin-top:12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hp-receipt-actions .grow{flex:1}.hp-scanner-fields label>small{display:block;margin-top:4px;color:#74828b;line-height:1.4}.hp-scanner-fields label>strong{display:block;margin-bottom:5px;color:#173c52;font-size:12px}
@media(max-width:760px){.hp-markup-box{align-items:stretch;flex-direction:column}.hp-markup-box label,.hp-markup-box .btn{max-width:none;width:100%}.hp-receipt-actions{align-items:stretch;flex-direction:column}.hp-receipt-actions .grow{display:none}.hp-receipt-actions .btn{width:100%}.hp-receipt-items-wrap table{min-width:760px}}

/* v4.13.9 – time approval & automatic billing */
.hp4139-time-stats{margin-bottom:16px}.hp4139-billing-source{border:1px solid #dfe8ec;border-radius:13px;background:#f9fbfc;padding:13px 14px;display:grid;gap:9px}.hp4139-source-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.hp4139-source-head strong{font-size:14px}.hp4139-time-options{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(160px,.6fr);gap:10px}.hp4139-review-note{display:block;white-space:normal;max-width:250px;margin-top:5px;color:#9a5c08;font-size:11px;line-height:1.35}.hp4139-review-actions{display:flex;gap:7px;align-items:flex-start}.hp4139-time-review{position:relative}.hp4139-time-review>summary{list-style:none;white-space:nowrap}.hp4139-time-review>summary::-webkit-details-marker{display:none}.hp4139-time-review[open] .hp4139-time-review-form{display:grid}.hp4139-time-review-form{position:absolute;right:0;z-index:30;width:min(380px,86vw);display:grid;grid-template-columns:1fr 1fr;gap:9px;background:#fff;border:1px solid #dce5e8;border-radius:14px;padding:14px;box-shadow:0 20px 55px rgba(19,33,47,.2)}.hp4139-time-review-form label:nth-last-of-type(1),.hp4139-time-review-form button{grid-column:1/-1}.hp4139-time-review-form textarea{min-height:64px}.hp4139-time-card table td{vertical-align:top}
@media(max-width:760px){.hp4139-time-options{grid-template-columns:1fr}.hp4139-time-stats{grid-template-columns:1fr 1fr}.hp4139-time-review-form{position:fixed;left:12px;right:12px;top:92px;width:auto;max-height:calc(100vh - 110px);overflow:auto;z-index:100}.hp4139-review-actions{flex-direction:column}.hp4139-review-actions .btn{width:100%}}

/* v4.13.11 – own HandwerkerPilot line icons, safe delete controls, shared customer PWA */
.hp-icon-svg{width:18px;height:18px;display:block;flex:0 0 auto}.nav-icon .hp-icon-svg{width:17px;height:17px}.nav-v45 .nav-icon{display:inline-flex;align-items:center;justify-content:center}.hp-delete-btn{display:inline-flex;align-items:center;gap:6px}.hp-delete-btn .hp-icon-svg{width:15px;height:15px}.hp41311-photo-thumb{position:relative;padding-bottom:8px}.hp41311-photo-delete{margin:6px 8px 0}.hp41311-photo-delete .btn{width:100%;justify-content:center}.hp41311-app-start{min-height:100vh;display:grid;place-items:center;padding:24px}.hp41311-launch-card{max-width:760px;width:min(94vw,760px)}.hp41311-launch-brand{display:flex;gap:14px;align-items:center;margin-bottom:20px}.hp41311-launch-brand img{width:54px;height:54px;border-radius:14px}.hp41311-launch-brand strong{font-size:24px;color:#0b2a45}.hp41311-launch-brand strong span{color:#1aa99a}.hp41311-launch-brand small{display:block;color:#6f8294;margin-top:2px}.hp41311-launch-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.hp41311-launch-option{display:flex;gap:14px;align-items:flex-start;text-decoration:none;color:#11293c;border:1px solid #d8e3ea;border-radius:18px;padding:20px;background:#fff;transition:.18s ease}.hp41311-launch-option:hover{border-color:#27a99b;box-shadow:0 10px 28px rgba(13,52,73,.09);transform:translateY(-1px)}.hp41311-launch-option>span{width:44px;height:44px;border-radius:13px;background:#e9f7f5;color:#168f84;display:grid;place-items:center}.hp41311-launch-option>span .hp-icon-svg{width:23px;height:23px}.hp41311-launch-option strong{display:block;font-size:17px}.hp41311-launch-option small{display:block;color:#6b7f8e;line-height:1.45;margin-top:5px}.hp41311-customer-app-card{max-width:760px}.hp41311-customer-app-icon{width:58px;height:58px;border-radius:18px;background:#e6f7f4;color:#168f84;display:grid;place-items:center;margin-bottom:12px}.hp41311-customer-app-icon .hp-icon-svg{width:30px;height:30px}.hp-ocr-hint strong{font-weight:800}.hp-ocr-hint code{background:#eef3f6;border-radius:6px;padding:2px 6px}@media(max-width:720px){.hp41311-launch-grid{grid-template-columns:1fr}.hp41311-launch-card{padding:22px}.hp41311-launch-brand strong{font-size:21px}}


/* v4.13.12 – operator company creation, role management and grouped plan areas */
.hp41312-company-create{border-color:#d7e7e7;background:linear-gradient(180deg,#fff,#fbfdfd)}
.hp41312-company-options{display:grid;gap:8px}.hp41312-company-options .checkline{margin:0}
.hp41312-company-users .table-wrap{overflow:auto}.hp41312-user-table{min-width:980px}.hp41312-user-table select.table-input{min-width:130px}
.plan-feature-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.plan-feature-admin>p{font-size:11px;line-height:1.45;margin:6px 0 10px}.plan-feature-group{display:grid;gap:6px;padding:10px;border:1px solid #e3eaed;border-radius:11px;background:#fafcfc}.plan-feature-group>span{font-size:10px;text-transform:uppercase;letter-spacing:.055em;color:#6d808a;font-weight:850;margin-bottom:2px}.plan-feature-admin{gap:10px!important}
@media(max-width:620px){.plan-feature-head{align-items:flex-start;flex-direction:column}.hp41312-company-create .form-grid{grid-template-columns:1fr}}

/* v4.13.13 – receipt review with original document beside OCR suggestions */
.hp-receipt-workspace{display:grid;grid-template-columns:minmax(320px,.82fr) minmax(0,1.35fr);gap:16px;align-items:start}
.hp-receipt-preview-pane{position:sticky;top:88px;border:1px solid #dce7ec;border-radius:14px;background:#f6f9fb;overflow:hidden;min-width:0}
.hp-receipt-preview-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border-bottom:1px solid #dce7ec;background:#fff}
.hp-receipt-preview-head>div{display:grid;gap:2px;min-width:0}.hp-receipt-preview-head strong{color:#173c52}.hp-receipt-preview-head small{color:#6f8190;line-height:1.35}
.hp-receipt-preview-frame{display:block;width:100%;height:min(72vh,860px);min-height:560px;border:0;background:#eef3f5}
.hp-receipt-review-pane{min-width:0;display:grid;gap:12px}.hp-receipt-review-pane .hp-ocr-hint{margin:0}
.hp-ocr-raw{border:1px solid #dce7ec;border-radius:12px;background:#fbfcfd;padding:10px 12px}.hp-ocr-raw summary{cursor:pointer;font-weight:800;color:#173c52}.hp-ocr-raw p{margin:7px 0}.hp-ocr-raw pre{margin:8px 0 0;max-height:240px;overflow:auto;white-space:pre-wrap;word-break:break-word;background:#0e2232;color:#e9f1f5;border-radius:10px;padding:12px;font-size:12px;line-height:1.45}
@media(max-width:1050px){.hp-receipt-workspace{grid-template-columns:1fr}.hp-receipt-preview-pane{position:relative;top:auto}.hp-receipt-preview-frame{height:520px;min-height:420px}}
@media(max-width:640px){.hp-receipt-preview-head{align-items:stretch;flex-direction:column}.hp-receipt-preview-head .btn{width:100%;justify-content:center}.hp-receipt-preview-frame{height:62vh;min-height:360px}}

/* v4.13.15: desktop context help is docked instead of covering page actions. */
@media(min-width:901px){
  .hp-context-help-drawer{width:430px;max-width:430px}
  .hp-context-help-overlay{display:none!important}
  html.hp-help-open{overflow-y:auto!important;overflow-x:auto!important}
  html.hp-help-open .main-v45,
  html.hp-help-open .shell>.main,
  html.hp-help-open .platform-main,
  html.hp-help-open .customer-main-v49{padding-right:455px!important;transition:padding-right .22s ease}
  html.hp-help-open .page-content{max-width:100%}
}
@media(max-width:900px){html.hp-help-open{overflow:hidden!important}}

/* v4.17.85 – company contextual help now uses exactly the same desktop dock as the operator.
   No company-only open-layout override: the shared v4.13.15 rules above control both areas. */
.app-body .page-content{min-width:0}
.app-body .table-wrap{max-width:100%;overflow-x:auto}

/* HandwerkerPilot v4.14.1 – Pro Suite + Lager */
.hp414-head{align-items:flex-start}.hp414-project-layout,.hp414-cost-layout{display:grid;grid-template-columns:minmax(240px,300px) minmax(0,1fr);gap:16px}.hp414-project-list{padding:0;overflow:hidden}.hp414-project-list>.card-head,.hp414-project-list>h2{padding:18px 18px 8px;margin:0}.hp414-project-search{padding:0 14px 10px}.hp414-project-scroll{max-height:760px;overflow:auto}.hp414-project-row,.hp414-cost-job{display:flex;gap:7px;flex-direction:column;padding:13px 16px;border-top:1px solid var(--border,#e3e8ee);text-decoration:none;color:inherit}.hp414-project-row:hover,.hp414-project-row.active,.hp414-cost-job:hover,.hp414-cost-job.active{background:rgba(16,128,143,.08)}.hp414-project-row small,.hp414-cost-job small{color:var(--muted,#6d7986)}.hp414-project-row .badge{align-self:flex-start}.hp414-project-hero,.hp414-cost-hero{display:flex;justify-content:space-between;gap:18px;align-items:center}.hp414-project-hero h2,.hp414-cost-hero h2{margin:8px 0 4px}.hp414-project-kpis{display:grid;grid-template-columns:repeat(5,minmax(86px,1fr));gap:8px}.hp414-project-kpis>div{padding:10px 12px;border:1px solid var(--border,#e3e8ee);border-radius:10px;background:var(--surface-soft,#f7f9fb)}.hp414-project-kpis strong{display:block;font-size:1.05rem}.hp414-project-kpis span{font-size:.75rem;color:var(--muted,#6d7986)}.hp414-project-panels{margin-top:16px}.hp414-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hp414-quick-grid a{display:flex;gap:10px;align-items:center;border:1px solid var(--border,#e3e8ee);padding:12px;border-radius:10px;color:inherit;text-decoration:none}.hp414-quick-grid a:hover{background:rgba(16,128,143,.08)}.hp414-quick-grid span{font-size:1.3rem}.hp414-timeline{position:relative;padding-left:8px}.hp414-timeline-row{position:relative;display:grid;grid-template-columns:18px 1fr;gap:12px;padding:0 0 18px}.hp414-timeline-row:before{content:"";position:absolute;left:8px;top:14px;bottom:-3px;width:1px;background:var(--border,#dde3e9)}.hp414-timeline-row:last-child:before{display:none}.hp414-timeline-dot{width:11px;height:11px;border-radius:50%;margin-top:5px;background:#7c8c9a;box-shadow:0 0 0 4px rgba(124,140,154,.13)}.hp414-timeline-row.kind-chat .hp414-timeline-dot,.hp414-timeline-row.kind-voice .hp414-timeline-dot{background:#11808f}.hp414-timeline-row.kind-issue .hp414-timeline-dot{background:#b45545}.hp414-timeline-row.kind-decision .hp414-timeline-dot,.hp414-timeline-row.kind-form .hp414-timeline-dot{background:#5b7f46}.hp414-timeline-row small{display:block;color:var(--muted,#6d7986);margin-bottom:3px}.hp414-timeline-row strong{display:block}.hp414-timeline-row p{margin:3px 0 0}.hp414-offline-state{margin-left:auto}.listening{animation:hp414pulse 1s infinite}@keyframes hp414pulse{50%{opacity:.55}}.hp414-form-result{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hp414-form-result>div{border:1px solid var(--border,#e3e8ee);border-radius:9px;padding:10px}.hp414-form-result span{display:block;color:var(--muted,#6d7986);font-size:.8rem}.hp414-form-result strong{display:block;margin-top:4px}.hp414-board-wrap{overflow:auto;padding:0}.hp414-board{min-width:1180px}.hp414-board-head,.hp414-board-row{display:grid;grid-template-columns:180px repeat(7,minmax(135px,1fr))}.hp414-board-head>div{padding:10px;border-right:1px solid var(--border,#e3e8ee);border-bottom:1px solid var(--border,#e3e8ee);background:var(--surface-soft,#f7f9fb);text-align:center}.hp414-board-head>div:first-child{text-align:left}.hp414-board-head small{display:block;color:var(--muted,#6d7986)}.hp414-board-person{padding:12px;border-right:1px solid var(--border,#e3e8ee);border-bottom:1px solid var(--border,#e3e8ee)}.hp414-board-person small{display:block;color:var(--muted,#6d7986);margin-top:3px}.hp414-board-cell{min-height:112px;padding:6px;border-right:1px solid var(--border,#e3e8ee);border-bottom:1px solid var(--border,#e3e8ee);transition:.15s}.hp414-board-cell.drag-over{background:rgba(16,128,143,.12);box-shadow:inset 0 0 0 2px rgba(16,128,143,.35)}.hp414-plan-card{padding:8px;border-radius:8px;background:rgba(31,116,135,.12);border-left:3px solid #1f7487;margin-bottom:6px;cursor:grab}.hp414-plan-card.dragging{opacity:.45}.hp414-plan-card small,.hp414-plan-card strong,.hp414-plan-card span{display:block}.hp414-plan-card span{font-size:.76rem;color:var(--muted,#6d7986);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hp414-absence{font-size:.76rem;padding:5px 7px;border-radius:6px;background:rgba(180,85,69,.12);margin-bottom:5px}.hp414-cost-job{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.hp414-cost-job>div{min-width:0}.hp414-cost-job strong,.hp414-cost-job small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hp414-cost-job>span{font-weight:700}.positive{color:#2e7447}.negative{color:#ad463d}.hp414-margin-big{text-align:right}.hp414-margin-big span,.hp414-margin-big small{display:block}.hp414-margin-big strong{font-size:2rem}.hp414-cost-kpis{margin:16px 0}.hp414-cost-lines>div{display:flex;justify-content:space-between;gap:20px;padding:9px 0;border-bottom:1px solid var(--border,#e3e8ee)}.hp414-cost-lines .grand{font-size:1.08rem;font-weight:700}.hp414-incoming-row .actions{align-items:center}.hp414-asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.hp414-asset-card{border:1px solid var(--border,#e3e8ee);border-radius:12px;padding:14px}.hp414-asset-card h3{margin:5px 0}.hp414-inspection{margin-top:10px;padding:7px 9px;border-radius:7px;background:rgba(46,116,71,.1)}.hp414-inspection.due{background:rgba(180,85,69,.12);font-weight:700}.hp414-maint-row .actions{flex-wrap:wrap}.hp414-import-preview{overflow:auto;max-height:560px}.hp414-import-preview table{width:100%;border-collapse:collapse}.hp414-import-preview th,.hp414-import-preview td{padding:8px;border-bottom:1px solid var(--border,#e3e8ee);text-align:left;font-size:.85rem}.hp414-import-preview th{position:sticky;top:0;background:var(--surface,#fff);z-index:2}
@media(max-width:1100px){.hp414-project-layout,.hp414-cost-layout{grid-template-columns:1fr}.hp414-project-scroll{max-height:300px}.hp414-project-kpis{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.hp414-project-hero,.hp414-cost-hero{align-items:flex-start;flex-direction:column}.hp414-project-kpis{width:100%;grid-template-columns:repeat(2,1fr)}.hp414-form-result{grid-template-columns:1fr}.hp414-quick-grid{grid-template-columns:1fr}.hp414-margin-big{text-align:left}}


/* HandwerkerPilot v4.14.1 – Lager & Material */
.hp4141-stock-kpis{margin-bottom:16px}.hp4141-low{margin-bottom:16px}.hp4141-low-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.hp4141-low-list span{background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;padding:8px 10px;font-size:13px}.hp4141-stock-actions .card{height:100%}.hp4141-stock-search{max-width:340px}.hp4141-stock-table{min-width:980px}.hp4141-stock-table th,.hp4141-stock-table td{white-space:nowrap}.hp4141-stock-table td:first-child{min-width:230px;white-space:normal}.hp4141-movements{max-height:430px;overflow:auto}@media(max-width:900px){.hp4141-stock-search{max-width:none;width:100%}.hp4141-stock-table{min-width:850px}}

/* HandwerkerPilot v4.14.3 – OCR-Eingangsrechnung -> Lager */
.hp4143-mode-card{margin:16px 0}.hp4143-safety{margin-top:12px;padding:10px 12px;border-radius:10px;background:rgba(17,128,143,.08);border:1px solid rgba(17,128,143,.2);font-size:.88rem}.hp4143-review-card{margin:16px 0;border:1px solid rgba(201,145,38,.35)}.hp4143-review-location{display:flex;align-items:end;gap:16px;justify-content:space-between;margin-bottom:12px}.hp4143-review-location label{min-width:260px}.hp4143-review-table{min-width:980px}.hp4143-review-table th,.hp4143-review-table td{vertical-align:middle}.hp4143-review-table td:first-child,.hp4143-review-table th:first-child{width:46px;text-align:center}.hp4143-review-table select{min-width:280px}.hp4143-small{width:120px}.hp4143-row-stock{margin-top:6px;display:flex;gap:6px;align-items:center}@media(max-width:760px){.hp4143-review-location{align-items:stretch;flex-direction:column}.hp4143-review-location label{min-width:0;width:100%}.hp4143-review-table{min-width:850px}}
.hp4143-kpi-link{text-decoration:none;color:inherit}.hp4143-kpi-link:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(24,58,76,.08)}

/* HandwerkerPilot v4.14.9 – Betreiber Besucherstatistik */
.hpvis-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.hpvis-stats{display:grid;grid-template-columns:repeat(6,minmax(135px,1fr));gap:14px;margin-bottom:16px}
.hpvis-stats .card{min-width:0}.hpvis-stats .stat strong{font-size:29px}.hpvis-note{border:1px solid #d7e3ef;background:#f6faff;color:#53677e;border-radius:12px;padding:12px 14px;margin-bottom:18px;font-size:13px;font-weight:650}
.hpvis-card{margin-bottom:18px}.hpvis-card>h2{margin-top:0}.hpvis-filter{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));gap:12px;align-items:end}.hpvis-filter>label,.hpvis-settings label,.hpvis-inline label{display:grid;gap:6px;font-size:12px;font-weight:800;color:#52677f}.hpvis-filter input,.hpvis-filter select,.hpvis-settings input,.hpvis-settings textarea,.hpvis-inline input{width:100%;border:1px solid #cfdae6;border-radius:9px;padding:10px 11px;background:#fff;color:#10263e;font:inherit}.hpvis-filter-buttons{display:flex;gap:8px;flex-wrap:wrap}.hpvis-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:18px}.hpvis-bars{display:flex;align-items:flex-end;gap:8px;min-height:190px;overflow-x:auto;padding:14px 4px 2px}.hpvis-bar{min-width:42px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px}.hpvis-bar strong{font-size:11px}.hpvis-bar small{font-size:10px;color:#718197;white-space:nowrap}.hpvis-bar-fill{width:100%;max-width:48px;background:linear-gradient(180deg,#56a0ff,#1d70e5);border-radius:8px 8px 3px 3px;min-height:3px}.hpvis-ranking{display:grid;gap:3px}.hpvis-ranking>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #edf2f7}.hpvis-ranking>div:last-child{border-bottom:0}.hpvis-ranking strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hpvis-ranking span{font-size:13px;color:#6a7d92;font-weight:700}.hpvis-table{min-width:1140px}.hpvis-table td small{display:block;color:#74869a;font-size:11px;margin-top:4px;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hpvis-ip{font-family:Consolas,Monaco,monospace;font-weight:750}.hpvis-path{color:#1558a1;display:block;max-width:280px;word-break:break-word}.hpvis-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;color:#6d7f93;font-weight:750}.hpvis-pagination>div{display:flex;gap:6px}.hpvis-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 8px;border:1px solid #cdd9e6;border-radius:8px;background:#fff;color:#164f91;text-decoration:none;font-weight:800}.hpvis-pagination a.active{background:#0b2a45;color:#fff;border-color:#0b2a45}.hpvis-settings{display:grid;grid-template-columns:1fr 1fr;gap:20px}.hpvis-settings .checkline{display:flex;align-items:flex-start;gap:10px;padding:9px 0}.hpvis-settings .checkline input{width:auto;margin-top:3px}.hpvis-settings .checkline span{display:grid;gap:3px;color:#263c54}.hpvis-settings .checkline small{font-weight:500;color:#718197;line-height:1.45}.hpvis-settings textarea{resize:vertical;min-height:132px}.hpvis-inline{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px}.hpvis-danger{border-color:#f2d2d0;background:#fffafa}.hpvis-dashboard-stat{text-decoration:none;color:inherit}.hpvis-dashboard-stat:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgba(11,42,69,.08)}
@media(max-width:1280px){.hpvis-stats{grid-template-columns:repeat(3,minmax(150px,1fr))}.hpvis-filter{grid-template-columns:repeat(4,minmax(140px,1fr))}}
@media(max-width:900px){.hpvis-stats{grid-template-columns:repeat(2,minmax(140px,1fr))}.hpvis-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.hpvis-grid,.hpvis-settings{grid-template-columns:1fr}.hpvis-actions{justify-content:flex-start}}
@media(max-width:560px){.hpvis-stats,.hpvis-filter,.hpvis-inline{grid-template-columns:1fr}.hpvis-pagination{align-items:flex-start;flex-direction:column}.hpvis-actions .btn{flex:1}}

/* HandwerkerPilot v4.14.12 – Auth-Sprachauswahl innerhalb der Karte */
.login-card{position:relative}
.login-langs{position:absolute!important;top:26px!important;right:28px!important;margin:0!important;display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid #dde8e9;border-radius:999px;background:#f5f9f9;color:#87969f;font-size:11px;line-height:1;z-index:3;box-shadow:0 4px 14px rgba(16,42,58,.05)}
.login-langs a{display:inline-flex;align-items:center;justify-content:center;min-width:24px;padding:4px 5px;border-radius:7px;color:#73858f;text-decoration:none;font-weight:850;transition:.15s}
.login-langs a:hover{background:#e7f5f3;color:#0b776d}
.login-langs a.active{background:#dff3f0;color:#08766b}
@media(max-width:600px){.login-langs{position:static!important;margin:-2px 0 12px auto!important;width:max-content}.login-card{padding-top:20px}}


/* v4.14.24 – receipt/OCR workspace must never push the app off-screen */
.hp-receipt-workspace{width:100%;max-width:100%;min-width:0;overflow:hidden}
.hp-receipt-workspace>*{min-width:0;max-width:100%}
.hp-receipt-review-pane{width:100%;max-width:100%;overflow:hidden}
.hp-receipt-review-pane .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.hp-receipt-review-pane .form-grid>label,.hp-receipt-review-pane .form-grid input,.hp-receipt-review-pane .form-grid select{min-width:0;max-width:100%;width:100%}
.hp-receipt-items-wrap{display:block;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.hp-receipt-items-wrap table{width:max-content;min-width:980px;max-width:none}
@media(max-width:1180px){.hp-receipt-workspace{grid-template-columns:1fr}.hp-receipt-preview-pane{position:relative;top:auto}.hp-receipt-preview-frame{height:520px;min-height:420px}}
@media(max-width:700px){.hp-receipt-review-pane .form-grid{grid-template-columns:1fr}.hp-receipt-items-wrap table{min-width:760px}}

/* v4.14.25 – receipt review containment: keep all OCR fields inside the visible card. */
.hp-receipts-card{overflow:visible}
.hp-receipt-review,.hp-receipt-workspace,.hp-receipt-review-pane,.hp-receipt-form{min-width:0;max-width:100%}
.hp-receipt-workspace{grid-template-columns:minmax(360px,42%) minmax(0,58%);overflow:visible}
.hp-receipt-review-pane{overflow:hidden}
.hp-receipt-review-pane .form-grid{grid-template-columns:1fr}
.hp-receipt-review-pane .form-grid>label{display:block;min-width:0;max-width:100%}
.hp-receipt-review-pane input,.hp-receipt-review-pane select,.hp-receipt-review-pane textarea{min-width:0;max-width:100%}
.hp-receipt-items-wrap{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.hp-receipt-items-wrap table{min-width:920px;width:920px;max-width:none}
@media(min-width:1750px){.hp-receipt-review-pane .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1250px){.hp-receipt-workspace{grid-template-columns:1fr}.hp-receipt-preview-pane{position:relative;top:auto}.hp-receipt-preview-frame{height:520px;min-height:420px}}


/* v4.14.28 – receipt workspace; robust thermal-receipt OCR/parser */
.hp-receipts-card,.hp-receipt-review,.hp-receipt-workspace{max-width:100%;min-width:0}
.hp-receipt-workspace{grid-template-columns:minmax(330px,40%) minmax(0,60%);overflow:hidden}
.hp-receipt-preview-pane,.hp-receipt-review-pane{min-width:0;max-width:100%}
.hp-receipt-review-pane{overflow:hidden}
.hp-receipt-review-pane .form-grid{grid-template-columns:1fr}
.hp-receipt-items-wrap{max-width:100%;overflow-x:auto;overflow-y:hidden}
.hp-receipt-items-wrap table{min-width:900px;width:900px;max-width:none}
@media(min-width:1800px){.hp-receipt-review-pane .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1280px){.hp-receipt-workspace{grid-template-columns:1fr}.hp-receipt-preview-pane{position:relative;top:auto}.hp-receipt-preview-frame{height:520px;min-height:420px}}

/* v4.15.6 material photo documentation */
.hp-scanner-material-fields{grid-column:1/-1;display:grid;grid-template-columns:1.25fr 1.25fr .65fr .65fr .85fr 1.35fr;gap:10px;padding:12px;border:1px solid #cfe4e1;border-radius:10px;background:#f3fbfa}.hp-scanner-material-fields[hidden]{display:none}.hp-scanner-material-head{grid-column:1/-1;display:grid;gap:2px;margin-bottom:2px}.hp-scanner-material-head strong{font-size:12px;color:#173c52}.hp-scanner-material-head small{font-size:10px;color:#687b84;line-height:1.45}.hp-material-photo-meta{line-height:1.45}.hp-material-photo-meta .badge{display:inline-block;margin-bottom:5px}.hp-material-photo-meta small{color:#6f7f88}.hp-scanner-material-note{min-width:0}@media(max-width:900px){.hp-scanner-material-fields{grid-template-columns:1fr 1fr}.hp-scanner-material-head{grid-column:1/-1}}@media(max-width:760px){.hp-scanner-material-fields{grid-template-columns:1fr}.hp-scanner-material-head{grid-column:auto}}


/* v4.15.9 Materialfoto-Speichern Fix */
.hp-scanner-empty[hidden]{display:none!important}
.hp-scanner-crop[hidden]{display:none!important}
#hpScannerSave[disabled]{opacity:.65;cursor:wait}
.hp-scanner-foot{position:relative;z-index:3}


/* Zeitprüfung – fixes Modal statt abgeschnittener Tabelle */
.hp4139-time-review[open]::before{content:"";position:fixed;inset:0;background:rgba(12,28,40,.45);backdrop-filter:blur(2px);z-index:998}
.hp4139-time-review[open] .hp4139-time-review-form{display:grid;position:fixed;left:50%;right:auto;top:50%;transform:translate(-50%,-50%);z-index:999;width:min(680px,calc(100vw - 40px));max-height:calc(100vh - 40px);overflow:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;background:#fff;border:1px solid #dce5e8;border-radius:18px;padding:18px;box-shadow:0 28px 80px rgba(10,27,39,.30)}
.hp4139-time-review-head{grid-column:1/-1;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid #e7eef1}
.hp4139-time-review-head>div{display:grid;gap:3px}.hp4139-time-review-head strong{font-size:17px;color:#173042}.hp4139-time-review-head small{color:#74858f;line-height:1.4}
.hp4139-review-x{flex:0 0 auto;width:36px;height:36px;border:1px solid #d7e1e5;border-radius:10px;background:#f7fafb;color:#294452;font-size:24px;line-height:1;cursor:pointer}
.hp4139-review-x:hover{background:#edf4f5}
.hp4139-time-review-buttons{grid-column:1/-1;display:flex;justify-content:flex-end;gap:9px;padding-top:4px}
.hp4139-time-review-form label{min-width:0}.hp4139-time-review-form input,.hp4139-time-review-form select,.hp4139-time-review-form textarea{width:100%;min-width:0}
body:has(.hp4139-time-review[open]){overflow:hidden}
@media(max-width:760px){.hp4139-time-review[open] .hp4139-time-review-form{left:12px;right:12px;top:76px;bottom:12px;transform:none;width:auto;max-height:none;grid-template-columns:1fr;padding:14px}.hp4139-time-review-head,.hp4139-time-review-buttons{grid-column:1}.hp4139-time-review-buttons{position:sticky;bottom:-14px;background:#fff;padding:10px 0 2px;justify-content:stretch}.hp4139-time-review-buttons .btn{flex:1}}

/* Zeitprüfung v2 – klarer Prüf-Dialog ohne Tabellen-/Horizontal-Scroll */
.hp4139-time-review[open]::before{display:none!important}
.hp4139-time-review-backdrop{display:none}
.hp4139-time-review[open]>.hp4139-time-review-backdrop{display:block;position:fixed;inset:0;z-index:1198;background:rgba(11,27,39,.52);backdrop-filter:blur(3px)}
.hp4139-time-review[open] .hp4139-time-review-form{
  display:grid!important;position:fixed;z-index:1199;left:50%;right:auto;top:50%;bottom:auto;
  transform:translate(-50%,-50%);width:min(790px,calc(100vw - 48px));max-width:790px;
  max-height:calc(100dvh - 48px);overflow-y:auto;overflow-x:hidden!important;
  grid-template-columns:minmax(0,1fr)!important;gap:16px;padding:22px;
  background:#f8fafb;border:1px solid #d9e3e7;border-radius:22px;
  box-shadow:0 34px 100px rgba(8,24,35,.34);white-space:normal!important;text-align:left;color:#173042;
  overscroll-behavior:contain;scrollbar-gutter:stable;
}
.hp4139-time-review-form,.hp4139-time-review-form *{box-sizing:border-box}
.hp4139-time-review-form *{white-space:normal}
.hp4139-time-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:0 0 15px;border-bottom:1px solid #e0e8eb;grid-column:1!important}
.hp4139-time-review-title{display:flex;align-items:center;gap:13px;min-width:0}
.hp4139-time-review-icon{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#e4f5f2;color:#0b766c;font-size:21px;box-shadow:inset 0 0 0 1px #cce9e4}
.hp4139-time-review-title>div{display:grid;gap:3px;min-width:0}
.hp4139-time-review-title strong{font-size:19px;line-height:1.2;color:#132d3d}
.hp4139-time-review-title small{font-size:12px;line-height:1.45;color:#72838d;font-weight:500}
.hp4139-review-x{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border:1px solid #d7e2e6;border-radius:11px;background:#fff;color:#314c5b;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 2px 7px rgba(18,43,59,.06)}
.hp4139-review-x:hover{background:#eef5f5;border-color:#c6d8dc}
.hp4139-time-review-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;grid-column:1!important}
.hp4139-time-review-meta>div{min-width:0;padding:11px 12px;border:1px solid #e0e8eb;border-radius:12px;background:#fff}
.hp4139-time-review-meta span{display:block;margin-bottom:3px;font-size:10px;line-height:1.2;font-weight:800;letter-spacing:.055em;text-transform:uppercase;color:#8998a0}
.hp4139-time-review-meta strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important;font-size:12.5px;color:#243d4c}
.hp4139-time-review-panel{display:grid;gap:12px;min-width:0;padding:15px;border:1px solid #dde7ea;border-radius:15px;background:#fff;grid-column:1!important}
.hp4139-time-review-section-title{display:flex;align-items:flex-start;gap:10px;min-width:0}
.hp4139-time-review-section-title>span{flex:0 0 27px;width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:#edf5f5;color:#186e67;font-size:12px;font-weight:850}
.hp4139-time-review-section-title>div{display:grid;gap:1px;min-width:0}
.hp4139-time-review-section-title strong{font-size:13.5px;color:#203a49}
.hp4139-time-review-section-title small{font-size:10.8px;line-height:1.4;color:#829099;font-weight:500}
.hp4139-time-review-fields-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.hp4139-time-review-form label{display:block!important;min-width:0!important;margin:0;color:#405664;font-size:11px}
.hp4139-field-label{display:block;margin:0 0 6px;font-size:10.5px;font-weight:800;letter-spacing:.025em;color:#526876}
.hp4139-time-review-form input:not([type="radio"]),.hp4139-time-review-form select,.hp4139-time-review-form textarea{
  display:block;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;
  border:1px solid #ccd9de;border-radius:10px;background:#fbfcfd;color:#152f3f;font-size:12.5px;line-height:1.3;
  box-shadow:0 1px 2px rgba(16,40,55,.03);outline:none
}
.hp4139-time-review-form input:not([type="radio"]){height:42px;padding:9px 11px}
.hp4139-time-review-form textarea{min-height:78px;padding:10px 11px;resize:vertical}
.hp4139-time-review-form input:focus,.hp4139-time-review-form textarea:focus,.hp4139-time-review-form select:focus{border-color:#37a99d;box-shadow:0 0 0 3px rgba(33,164,148,.11);background:#fff}
.hp4139-decision-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;min-width:0}
.hp4139-decision-option{position:relative;display:grid!important;grid-template-columns:18px 31px minmax(0,1fr);gap:8px;align-items:center;min-height:76px;padding:10px;border:1px solid #dce6e9;border-radius:12px;background:#fbfcfc;cursor:pointer;transition:.15s}
.hp4139-decision-option:hover{border-color:#b9d8d4;background:#f7fbfa}
.hp4139-decision-option input[type="radio"]{width:16px!important;height:16px!important;min-width:16px!important;margin:0!important;accent-color:#159080}
.hp4139-decision-mark{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:#edf2f4;color:#536b78;font-size:15px;font-weight:900}
.hp4139-decision-option>span:last-child{display:grid;gap:2px;min-width:0}
.hp4139-decision-option strong{font-size:11.5px;color:#263f4d}
.hp4139-decision-option small{font-size:9.8px;line-height:1.3;color:#7c8d96;font-weight:500}
.hp4139-decision-option.approved:has(input:checked){border-color:#8fd2c8;background:#f0faf8;box-shadow:0 0 0 2px rgba(26,154,140,.08)}
.hp4139-decision-option.approved:has(input:checked) .hp4139-decision-mark{background:#dff5ef;color:#11725f}
.hp4139-decision-option.correction:has(input:checked){border-color:#efc979;background:#fff9ed;box-shadow:0 0 0 2px rgba(211,150,28,.08)}
.hp4139-decision-option.correction:has(input:checked) .hp4139-decision-mark{background:#fff0c9;color:#9b6700}
.hp4139-decision-option.pending:has(input:checked){border-color:#b9c9d2;background:#f5f8fa;box-shadow:0 0 0 2px rgba(88,115,130,.07)}
.hp4139-time-review-note-field{margin-top:2px!important}
.hp4139-time-review-buttons{position:sticky;bottom:0;z-index:2;display:flex!important;justify-content:flex-end;gap:9px;grid-column:1!important;padding:12px 0 0;margin:0;background:linear-gradient(180deg,rgba(248,250,251,0),#f8fafb 25%)}
.hp4139-time-review-buttons .btn{min-height:40px;padding:10px 15px;border-radius:10px;white-space:nowrap!important}
.hp4139-time-review-save{min-width:150px}
body:has(.hp4139-time-review[open]){overflow:hidden}
@media(max-width:760px){
  .hp4139-time-review[open] .hp4139-time-review-form{width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:16px;gap:13px;border-radius:18px}
  .hp4139-time-review-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hp4139-decision-grid{grid-template-columns:1fr}
  .hp4139-decision-option{min-height:64px}
}
@media(max-width:560px){
  .hp4139-time-review[open] .hp4139-time-review-form{left:8px;right:8px;top:8px;bottom:8px;transform:none;width:auto;max-width:none;max-height:none;border-radius:15px;padding:14px}
  .hp4139-time-review-title strong{font-size:17px}.hp4139-time-review-title small{font-size:10.5px}
  .hp4139-time-review-icon{width:39px;height:39px;flex-basis:39px}
  .hp4139-time-review-meta{grid-template-columns:1fr 1fr}
  .hp4139-time-review-fields-2{grid-template-columns:1fr}
  .hp4139-time-review-panel{padding:13px}
  .hp4139-time-review-buttons{display:grid!important;grid-template-columns:1fr 1fr}
  .hp4139-time-review-buttons .btn{width:100%;min-width:0}
}


/* v4.16.28 – Baustellenabrechnung */
.hp41628-billing{overflow:visible}.hp41628-billing-head{align-items:flex-start;gap:18px}.hp41628-preview-total{min-width:170px;padding:14px 18px;border:1px solid var(--border,#dbe4ea);border-radius:16px;background:#f7fbfb;text-align:right}.hp41628-preview-total small{display:block;color:#657681;margin-bottom:4px}.hp41628-preview-total strong{font-size:24px;color:#102a36}.hp41628-existing-invoice{margin:8px 0}.hp41628-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:18px 0}.hp41628-summary-grid>div{border:1px solid #dce7eb;border-radius:15px;padding:14px;background:#fbfdfd;display:grid;gap:3px}.hp41628-summary-grid span{font-size:18px}.hp41628-summary-grid small,.hp41628-summary-grid em{color:#6d7d86;font-style:normal;font-size:12px}.hp41628-summary-grid strong{font-size:18px;color:#102a36}.hp41628-extra-entry,.hp41628-manual-position{border:1px dashed #c8d7dd;border-radius:14px;padding:12px 14px;margin:14px 0;background:#fcfefe}.hp41628-extra-entry>summary,.hp41628-manual-position>summary{cursor:pointer;font-weight:700;color:#0d756d}.hp41628-extra-form,.hp41628-manual-position>.form-grid{margin-top:14px}.hp41628-extra-list{margin:10px 0 18px}.hp41628-source{border:1px solid #dce6ea;border-radius:16px;margin:14px 0;background:#fff;overflow:hidden;transition:.18s ease}.hp41628-source-title{padding:14px 16px;background:#f7fafb;border-bottom:1px solid #e3ebee;display:flex;align-items:center;justify-content:space-between;gap:14px}.hp41628-source-title>div{display:flex;align-items:center;gap:9px;min-width:0}.hp41628-source-title strong{color:#132d39}.hp41628-source-title small{color:#70818a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hp41628-source-icon{width:28px;height:28px;display:inline-grid;place-items:center;border-radius:9px;background:#dff5f1;color:#0b786e;font-weight:800;flex:0 0 auto}.hp41628-line-list{display:grid;gap:0}.hp41628-select-line{display:flex;gap:12px;align-items:flex-start;padding:12px 16px;border-bottom:1px solid #edf2f4;cursor:pointer;margin:0}.hp41628-select-line:last-child{border-bottom:0}.hp41628-select-line:hover{background:#fbfdfd}.hp41628-select-line input[type=checkbox]{width:19px;height:19px;margin-top:2px;accent-color:#078f80;flex:0 0 auto}.hp41628-select-line>span{display:grid;gap:2px}.hp41628-select-line strong{font-size:14px;color:#203641}.hp41628-select-line small{font-size:12px;color:#6d7d86}.hp41628-time-toolbar{display:grid;grid-template-columns:2fr 1fr;gap:12px;padding:14px 16px;border-bottom:1px solid #edf2f4}.hp41628-source>.muted,.hp41628-source>p.muted{padding:12px 16px;margin:0}.hp41628-partial-note{border-top:1px solid #edf2f4}.hp41628-disabled{opacity:.48;background:#f4f6f7}.hp41628-disabled:after{content:''}.hp41628-invoice-meta{margin:16px 0}.hp41628-billing-footer{position:sticky;bottom:10px;z-index:6;margin-top:18px;padding:14px 16px;border:1px solid #cfe0e2;border-radius:16px;background:rgba(255,255,255,.97);box-shadow:0 8px 28px rgba(15,46,58,.12);display:flex;align-items:center;justify-content:space-between;gap:18px}.hp41628-billing-footer>div{display:grid;gap:2px}.hp41628-billing-footer small{color:#6d7d86}.hp41628-billing-footer strong{font-size:22px;color:#102a36}.hp41628-mile-row{padding:12px 0;border-bottom:1px solid #edf2f4;display:grid;grid-template-columns:minmax(180px,1fr) minmax(420px,2fr);gap:14px;align-items:end}.hp41628-mile-main{display:grid;gap:2px}.hp41628-mile-billing{display:grid;grid-template-columns:100px 150px 1fr auto;gap:8px;align-items:end}.hp41628-mile-billing label{font-size:11px;color:#647781}.hp41628-mile-billing input,.hp41628-mile-billing select{margin-top:3px}.hp41628-partial-field{display:none}
@media(max-width:1100px){.hp41628-summary-grid{grid-template-columns:repeat(3,1fr)}.hp41628-mile-row{grid-template-columns:1fr}.hp41628-mile-billing{grid-template-columns:1fr 1fr}.hp41628-mile-billing input[name=note]{grid-column:1/-1}}
@media(max-width:720px){.hp41628-billing-head{display:grid}.hp41628-preview-total{text-align:left;width:100%}.hp41628-summary-grid{grid-template-columns:1fr 1fr}.hp41628-source-title{align-items:flex-start}.hp41628-source-title>div{display:grid;grid-template-columns:auto 1fr}.hp41628-source-title small{grid-column:2;white-space:normal}.hp41628-time-toolbar{grid-template-columns:1fr}.hp41628-billing-footer{position:static;display:grid}.hp41628-billing-footer .btn{width:100%}.hp41628-mile-billing{grid-template-columns:1fr}.hp41628-mile-billing input[name=note]{grid-column:auto}.hp41628-summary-grid>div:last-child{grid-column:1/-1}}

/* v4.16.29 – Rechnungsvorschau vor endgültiger Erstellung */
body.hp41629-preview-open{overflow:hidden}
.hp41629-preview[hidden]{display:none!important}
.hp41629-preview{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:24px}
.hp41629-preview-backdrop{position:absolute;inset:0;background:rgba(8,27,36,.64);backdrop-filter:blur(5px)}
.hp41629-preview-shell{position:relative;width:min(1180px,calc(100vw - 48px));height:min(900px,calc(100vh - 48px));display:grid;grid-template-rows:auto 1fr auto;background:#eef3f5;border:1px solid rgba(255,255,255,.65);border-radius:22px;box-shadow:0 28px 90px rgba(5,24,32,.34);overflow:hidden}
.hp41629-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;background:#fff;border-bottom:1px solid #dbe6ea}
.hp41629-preview-toolbar>div{display:grid;gap:2px}.hp41629-preview-toolbar strong{font-size:17px;color:#112b37}.hp41629-preview-toolbar small{color:#6a7b84}
.hp41629-preview-x{border:1px solid #dbe5e9;background:#f8fbfc;width:38px;height:38px;border-radius:11px;font-size:25px;line-height:1;color:#27404b;cursor:pointer}
.hp41629-preview-scroll{overflow:auto;padding:28px}
.hp41629-invoice-paper{width:min(900px,100%);min-height:760px;margin:0 auto;background:#fff;border-radius:4px;box-shadow:0 8px 32px rgba(21,50,62,.13);padding:48px 52px;color:#172d38}
.hp41629-doc-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:28px;border-bottom:2px solid #0b8d80}
.hp41629-seller{display:grid;gap:4px;max-width:58%}.hp41629-seller strong{font-size:20px}.hp41629-seller span{font-size:12px;color:#677984}
.hp41629-doc-title{text-align:right;display:grid;gap:3px}.hp41629-doc-title strong{font-size:25px;letter-spacing:.03em}.hp41629-doc-title span{font-size:16px;font-weight:800;color:#0b8177}.hp41629-doc-title small{font-size:11px;color:#7d8a90}
.hp41629-recipient-meta{display:grid;grid-template-columns:1.25fr .75fr;gap:44px;margin:34px 0}.hp41629-recipient{display:grid;gap:3px}.hp41629-recipient small{color:#7b8b93;text-transform:uppercase;letter-spacing:.08em;font-size:10px}.hp41629-recipient strong{font-size:16px;margin:3px 0}.hp41629-recipient span{font-size:13px}
.hp41629-doc-meta{display:grid;gap:8px}.hp41629-doc-meta>div{display:flex;justify-content:space-between;gap:18px;padding-bottom:7px;border-bottom:1px solid #edf1f3}.hp41629-doc-meta span{font-size:11px;color:#74858e}.hp41629-doc-meta strong{font-size:12px;text-align:right}
.hp41629-job-ref{border:1px solid #dce8eb;background:#f8fbfb;border-radius:12px;padding:12px 14px;margin-bottom:20px;display:grid;grid-template-columns:auto 1fr;column-gap:12px;row-gap:2px}.hp41629-job-ref span{font-size:11px;color:#6f818a}.hp41629-job-ref strong{font-size:13px}.hp41629-job-ref small{grid-column:2;color:#6d7d85}
.hp41629-preview-note{white-space:pre-wrap;margin:0 0 18px;padding:10px 12px;border-left:3px solid #0b8d80;background:#f8fbfb;font-size:12px}
.hp41629-table-wrap{overflow-x:auto}
.hp41629-preview-table{width:100%;border-collapse:collapse;font-size:11.5px}.hp41629-preview-table th{padding:9px 8px;border-bottom:1px solid #97abb4;text-align:right;font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#61727b;white-space:nowrap}.hp41629-preview-table th:nth-child(1),.hp41629-preview-table th:nth-child(2){text-align:left}.hp41629-preview-table td{padding:11px 8px;border-bottom:1px solid #e6ecef;text-align:right;vertical-align:top}.hp41629-preview-table td:nth-child(1),.hp41629-preview-table td:nth-child(2){text-align:left}.hp41629-preview-table td:nth-child(2){width:45%}.hp41629-preview-table td strong{font-weight:700}.hp41629-preview-table .hp41629-not-total{display:block;margin-top:3px;color:#8a7474;font-size:10px}.hp41629-special td{background:#f8fbfb;text-align:left!important}.hp41629-special.heading td{font-size:13px;border-top:1px solid #cddadd}.hp41629-special.text td{font-weight:400;color:#52656f}.hp41629-special.subtotal td{font-style:italic}.hp41629-empty{text-align:center!important;padding:28px!important;color:#9a5656}
.hp41629-totals{width:min(340px,100%);margin:24px 0 0 auto;display:grid;gap:7px}.hp41629-totals>div{display:flex;justify-content:space-between;gap:20px;font-size:13px}.hp41629-totals .grand{margin-top:5px;padding-top:11px;border-top:2px solid #183744;font-size:17px}.hp41629-totals .grand strong{color:#087c72}
.hp41629-warning{margin-top:24px;padding:12px 14px;background:#fff3f2;border:1px solid #e7c1bd;border-radius:10px;color:#8d3029;font-weight:700}
.hp41629-preview-actions{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 20px;background:#fff;border-top:1px solid #dbe6ea}.hp41629-preview-actions>div{display:flex;align-items:center;gap:12px}.hp41629-preview-actions small{max-width:300px;text-align:right;color:#70818a}.hp41629-preview-actions .btn[disabled]{opacity:.45;cursor:not-allowed}
@media(max-width:760px){
 .hp41629-preview{padding:0}.hp41629-preview-shell{width:100vw;height:100vh;border-radius:0}.hp41629-preview-scroll{padding:12px}.hp41629-invoice-paper{padding:24px 18px;min-height:0}.hp41629-doc-head,.hp41629-recipient-meta{grid-template-columns:1fr;display:grid;gap:18px}.hp41629-seller{max-width:none}.hp41629-doc-title{text-align:left}.hp41629-preview-actions{display:grid}.hp41629-preview-actions>div{display:grid}.hp41629-preview-actions small{text-align:left;max-width:none}.hp41629-preview-actions .btn{width:100%}.hp41629-preview-toolbar small{display:none}
}


/* v4.16.30 – editierbare Rechnungsvorschau & mehrere manuelle Positionen */
.hp41630-manual-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0 10px}.hp41630-manual-head>span{font-size:12px;color:#6d7d86}.hp41630-manual-rows{display:grid;gap:12px}.hp41630-manual-row{border:1px solid #dbe6ea;border-radius:13px;background:#fff;padding:12px}.hp41630-manual-row-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.hp41630-manual-row .form-grid{margin-top:0}.hp41630-preview-editbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;padding:12px 14px;border:1px solid #d4e6e5;border-radius:12px;background:#f3fbfa}.hp41630-preview-editbar>div{display:grid;gap:2px}.hp41630-preview-editbar strong{font-size:13px;color:#12313d}.hp41630-preview-editbar small{font-size:11px;color:#617681}.hp41630-editable-table th:last-child,.hp41630-editable-table td:last-child{width:42px;text-align:center}.hp41630-editable-table textarea,.hp41630-editable-table input{width:100%;min-width:0;border:1px solid #cbdadf;background:#fff;border-radius:7px;padding:7px 8px;font:inherit;color:#17313d}.hp41630-editable-table textarea{resize:vertical;min-height:48px}.hp41630-editable-table input:focus,.hp41630-editable-table textarea:focus{outline:2px solid rgba(8,143,128,.18);border-color:#0a8d80}.hp41630-qtyunit{display:grid;grid-template-columns:minmax(58px,.85fr) minmax(62px,1fr);gap:5px}.hp41630-vatfield{display:grid;grid-template-columns:minmax(54px,1fr) auto;align-items:center;gap:4px}.hp41630-auto{display:block;margin-top:4px;font-size:9.5px;color:#7a8b92;font-weight:600;text-transform:uppercase}.hp41630-pos{font-weight:800;color:#50666f}.hp41630-editable-table .mini.danger{width:30px;height:30px;border-radius:8px}.hp41630-editable-table td:nth-child(2){width:39%}.hp41630-editable-table td:nth-child(3){min-width:132px}.hp41630-editable-table td:nth-child(4){min-width:104px}.hp41630-editable-table td:nth-child(5){min-width:76px}.hp41630-editable-table td:nth-child(6){min-width:106px}@media(max-width:760px){.hp41630-manual-head,.hp41630-preview-editbar{align-items:stretch;display:grid}.hp41630-preview-editbar .btn,.hp41630-manual-head .btn{width:100%}.hp41630-editable-table{min-width:840px}}


/* v4.16.31 – Schnittstellen, Telefonassistent & Copilot */
.hp41631-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.hp41631-grid>.card,.hp41631-grid>.hp-card{min-width:0}.hp41631-token,.hp41631-code{font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;word-break:break-all;background:#f4f7f9;border:1px solid #dce5ea;border-radius:10px;padding:10px 12px}.hp41631-kv{display:grid;grid-template-columns:minmax(140px,.55fr) 1fr;gap:8px 14px;align-items:start}.hp41631-kv>*{padding:7px 0;border-bottom:1px solid #edf1f3}.hp41631-info{padding:12px 14px;border-radius:12px;background:#eefafa;border:1px solid #ccebe7;margin:12px 0}.hp41631-rule{padding:12px 14px;border-left:4px solid #118b83;background:#f7fbfb;border-radius:8px;margin:12px 0}.hp41631-export-form{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.hp41631-copilot-list{display:grid;gap:10px;margin:14px 0}.hp41631-copilot-list a{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #dfe8ec;border-radius:12px;background:#fff;text-decoration:none}.hp41631-copilot-list a:hover{border-color:#9ccfc9}.hp41631-grid .stat{min-height:110px}.hp41631-muted{font-size:.9rem;color:#667985}.hp41631-danger{color:#a93232}.hp41631-ok{color:#137a55}@media(max-width:900px){.hp41631-grid{grid-template-columns:1fr}.hp41631-kv{grid-template-columns:1fr}.hp41631-kv>*{padding:4px 0}.hp41631-export-form>*{width:100%}}

/* ============================================================
   HandwerkerPilot v4.16.89 — Personnel / team workspace redesign
   Presentation + client-side filters only; existing personnel logic stays intact.
   ============================================================ */
.hp-team89-page{width:100%;max-width:1460px;margin:0 auto 44px}.hp-team89-top{align-items:flex-end;margin-bottom:18px}.hp-team89-kicker{display:inline-flex;align-items:center;gap:6px;margin-bottom:5px;color:#0b8176;font-size:9.5px;line-height:1;font-weight:900;letter-spacing:.095em}.hp-team89-top h1{margin-bottom:4px!important}.hp-team89-top .muted{max-width:760px}.hp-team89-add{white-space:nowrap}
.hp-team89-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:0 0 16px}.hp-team89-kpi{min-height:92px;padding:14px 15px;display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e1e9ec;border-radius:15px;box-shadow:0 7px 24px rgba(16,43,58,.045)}.hp-team89-kpi-icon{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;flex:0 0 auto;font-style:normal;font-size:13px;font-weight:950;background:#e8f7f4;color:#087a70}.hp-team89-kpi-icon svg{width:18px;height:18px}.hp-team89-kpi-icon.blue{background:#eef4fb;color:#4d78ad}.hp-team89-kpi-icon.amber{background:#fff5df;color:#a9741c}.hp-team89-kpi-icon.violet{background:#f3effb;color:#7759a8}.hp-team89-kpi>div{min-width:0}.hp-team89-kpi small{display:block;color:#84929a;font-size:9px;font-weight:850;letter-spacing:.06em}.hp-team89-kpi strong{display:block;margin:3px 0 1px;color:#173541;font-size:22px;line-height:1.05;letter-spacing:-.03em}.hp-team89-kpi em{display:block;color:#839098;font-size:10px;font-style:normal}
.hp-team89-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start}.hp-team89-team-card,.hp-team89-create{padding:0;overflow:hidden}.hp-team89-card-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 19px 14px;border-bottom:1px solid #e8edef}.hp-team89-card-head h2,.hp-team89-create h2{margin:0;color:#173541;font-size:18px;letter-spacing:-.02em}.hp-team89-card-head p,.hp-team89-create p{margin:3px 0 0;color:#788790;font-size:11px}.hp-team89-count{min-width:30px;height:30px;padding:0 9px;border-radius:999px;background:#e8f7f4;color:#087a70;display:grid;place-items:center;font-size:11px;font-weight:900}
.hp-team89-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) 150px 150px;gap:8px;padding:12px 14px;background:#f8fafb;border-bottom:1px solid #e9eef0}.hp-team89-search{height:40px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #d9e3e7;border-radius:10px;background:#fff;color:#829198}.hp-team89-search span{font-size:17px;font-weight:500;line-height:1}.hp-team89-search input{height:auto;min-height:0;margin:0;padding:0;border:0!important;border-radius:0;background:transparent;box-shadow:none!important;font-size:11.5px;font-weight:600}.hp-team89-toolbar select{height:40px;min-height:40px;margin:0;padding:0 10px;font-size:11px;font-weight:700;background-color:#fff}
.hp-team89-list{padding:5px 14px 12px}.hp-team89-row{display:grid;grid-template-columns:42px minmax(150px,1.25fr) minmax(125px,.9fr) minmax(120px,.75fr) 90px 18px;gap:11px;align-items:center;min-height:68px;padding:8px 7px;border-bottom:1px solid #edf1f2;color:inherit;transition:background .15s,border-color .15s}.hp-team89-row:last-of-type{border-bottom:0}.hp-team89-row:hover{background:#f7fbfa;border-color:#e3ecea}.hp-team89-row[hidden]{display:none!important}.hp-team89-avatar{width:38px;height:38px;border-radius:11px;background:linear-gradient(140deg,#173b4a,#0f8177);color:#fff;display:grid;place-items:center;font-weight:900;font-size:13px;box-shadow:0 4px 12px rgba(20,70,75,.12)}.hp-team89-person,.hp-team89-role,.hp-team89-meta{display:grid;min-width:0}.hp-team89-person strong,.hp-team89-role strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#213b47;font-size:11.8px}.hp-team89-person small,.hp-team89-role small,.hp-team89-meta small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#829099;font-size:9.8px;margin-top:2px}.hp-team89-role strong{font-weight:750}.hp-team89-meta{justify-items:start;gap:2px}.hp-team89-meta .license-type-badge{font-size:9px;padding:4px 7px}.hp-team89-state{display:flex;align-items:center;gap:6px;color:#566a74;font-size:10px;font-weight:750}.hp-team89-state i{width:7px;height:7px;border-radius:50%;background:#9aa9af;box-shadow:0 0 0 3px #eef2f3}.hp-team89-state i.active{background:#2c9a70;box-shadow:0 0 0 3px #e7f6ef}.hp-team89-state i.inactive{background:#a4adb1;box-shadow:0 0 0 3px #f0f2f3}.hp-team89-arrow{color:#95a3aa;font-size:19px}.hp-team89-noresult{padding:28px;text-align:center;color:#829098;font-size:11px}.hp-team89-empty{padding:42px 20px;text-align:center;color:#7b8b93}.hp-team89-empty>span{width:42px;height:42px;margin:0 auto 10px;border-radius:12px;background:#e9f7f4;color:#0b8277;display:grid;place-items:center}.hp-team89-empty strong{display:block;color:#29434e;font-size:12px}.hp-team89-empty p{margin:4px auto 0;max-width:420px;font-size:10.5px}
.hp-team89-privacy{display:grid;grid-template-columns:30px 1fr;gap:9px;align-items:center;margin:0 14px 14px;padding:10px 12px;border:1px solid #e1e9eb;border-radius:11px;background:#f8fafb}.hp-team89-privacy>span{width:28px;height:28px;border-radius:8px;background:#edf4f5;display:grid;place-items:center;font-size:12px}.hp-team89-privacy div{display:grid;gap:1px}.hp-team89-privacy strong{font-size:10.5px;color:#425963}.hp-team89-privacy small{font-size:9.4px;color:#87949b;line-height:1.45}
.hp-team89-create{position:sticky;top:96px}.hp-team89-create-head{display:grid;grid-template-columns:37px 1fr;gap:11px;align-items:start;padding:18px 18px 14px;border-bottom:1px solid #e8edef;background:linear-gradient(180deg,#fbfdfd,#fff)}.hp-team89-create-head>span{width:36px;height:36px;border-radius:10px;background:#e8f7f4;color:#078075;display:grid;place-items:center;font-size:22px;font-weight:500}.hp-team89-create form{display:grid;gap:10px;padding:15px 18px 18px}.hp-team89-create label{display:grid;gap:2px}.hp-team89-create input,.hp-team89-create select{margin-top:3px;min-height:40px;height:40px;font-size:11px}.hp-team89-form-two{display:grid;grid-template-columns:1fr 1fr;gap:9px}.hp-team89-check{grid-template-columns:18px 1fr!important;align-items:flex-start;gap:8px!important;padding:9px 10px;border:1px solid #dfe8ea;border-radius:10px;background:#fafcfc}.hp-team89-check input{width:15px;height:15px;min-height:0;margin:2px 0 0}.hp-team89-check span{display:grid}.hp-team89-check strong{font-size:10.5px;color:#354d58}.hp-team89-check small{font-size:9px;color:#839198;font-weight:500;line-height:1.35}.hp-team89-license-note{display:grid;grid-template-columns:23px 1fr;gap:8px;align-items:start;padding:9px 10px;border-radius:10px;background:#f2f8f7;border:1px solid #dcebea}.hp-team89-license-note>span{width:21px;height:21px;border-radius:50%;background:#dff2ee;color:#0b776d;display:grid;place-items:center;font-size:10px;font-weight:900}.hp-team89-license-note p{margin:0;color:#637780;font-size:9.5px;line-height:1.5}.hp-team89-submit{width:100%;margin-top:1px;font-size:11px}
@media(max-width:1200px){.hp-team89-layout{grid-template-columns:minmax(0,1fr) 330px}.hp-team89-row{grid-template-columns:40px minmax(150px,1.2fr) minmax(120px,.85fr) minmax(110px,.7fr) 18px}.hp-team89-state{display:none}.hp-team89-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.hp-team89-layout{grid-template-columns:1fr}.hp-team89-create{position:static}.hp-team89-toolbar{grid-template-columns:minmax(180px,1fr) 130px 130px}}
@media(max-width:760px){.hp-team89-top{align-items:flex-start}.hp-team89-top .hp-team89-add{width:auto}.hp-team89-toolbar{grid-template-columns:1fr 1fr}.hp-team89-search{grid-column:1/-1}.hp-team89-row{grid-template-columns:38px minmax(0,1fr) auto 16px}.hp-team89-role,.hp-team89-state{display:none}.hp-team89-meta{justify-items:end}.hp-team89-kpis{grid-template-columns:1fr 1fr}.hp-team89-form-two{grid-template-columns:1fr}}
@media(max-width:480px){.hp-team89-kpis{grid-template-columns:1fr}.hp-team89-toolbar{grid-template-columns:1fr}.hp-team89-search{grid-column:auto}.hp-team89-meta{display:none}.hp-team89-row{grid-template-columns:38px minmax(0,1fr) 16px}.hp-team89-list{padding-left:9px;padding-right:9px}.hp-team89-card-head{padding-left:14px;padding-right:14px}}

/* v4.16.91 – Personal-Monatsbericht & getrennte Lohn-/Verrechnungssätze */
.employee-report-card{margin:16px 0 18px;overflow:hidden}.employee-report-head{align-items:flex-start;gap:16px}.employee-report-toolbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:12px 0 4px}.employee-report-toolbar label{min-width:190px}.employee-report-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:14px 0}.employee-report-metrics>div{display:grid;gap:4px;min-height:76px;padding:12px;border:1px solid #dfe8eb;border-radius:13px;background:#fafcfc}.employee-report-metrics small{color:#71828b;font-size:10px}.employee-report-metrics strong{color:#173541;font-size:17px}.employee-report-note{margin:12px 0 16px;padding:12px 14px;border:1px solid #cfe9e5;border-radius:12px;background:#eff9f7;color:#315b5a;font-size:12px;line-height:1.55}.employee-report-hint{margin:10px 0 16px}.employee-report-card h3{margin:20px 0 9px;font-size:14px;color:#203b47}.employee-report-table{width:100%;border-collapse:collapse;min-width:720px}.employee-report-table th,.employee-report-table td{padding:10px 9px;border-bottom:1px solid #e7edef;text-align:left;font-size:11px;vertical-align:middle}.employee-report-table th{color:#6f8089;font-size:9.5px;text-transform:uppercase;letter-spacing:.04em;background:#f8fafb}.employee-report-absence-list{display:grid;gap:8px}.employee-report-absence-list>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 12px;border:1px solid #e2e9ec;border-radius:11px;background:#fbfdfd}.employee-report-absence-list small{color:#74858e}.employee-rate-explain{padding:11px 13px;border:1px solid #dbe9e7;border-radius:11px;background:#f3faf8;color:#516d70;font-size:11px;line-height:1.5}.hp41691-rate-choice{display:grid!important;grid-template-columns:20px 1fr!important;align-items:start!important;gap:9px!important;padding:12px 16px!important;margin:0!important;border-bottom:1px solid #edf2f4;background:#fbfdfd}.hp41691-rate-choice input{width:17px!important;height:17px!important;margin:2px 0 0!important}.hp41691-rate-choice span{display:grid;gap:2px}.hp41691-rate-choice strong{font-size:11px;color:#27434e}.hp41691-rate-choice small{font-size:10px;color:#72838b;font-weight:500;line-height:1.45}
@media(max-width:1200px){.employee-report-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.employee-report-metrics{grid-template-columns:1fr 1fr}.employee-report-toolbar{display:grid}.employee-report-toolbar label,.employee-report-toolbar .btn{width:100%}}
@media(max-width:480px){.employee-report-metrics{grid-template-columns:1fr}}

/* v4.16.92 – monthly/yearly personnel report switch */
.employee-report-switch{display:inline-flex;gap:4px;padding:4px;margin:0 0 14px;border:1px solid #dbe5e8;border-radius:12px;background:#f5f8f9}.employee-report-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:84px;padding:8px 14px;border-radius:9px;color:#60747d;font-size:11px;font-weight:800;text-decoration:none}.employee-report-switch a:hover{background:#fff;color:#173b45}.employee-report-switch a.active{background:#fff;color:#0b7f74;box-shadow:0 2px 8px rgba(18,54,63,.08)}.employee-year-table{min-width:900px}.employee-year-table td:first-child{white-space:nowrap}.employee-year-total td{background:#f3faf8;border-top:2px solid #cfe5e1;color:#173b45}
@media(max-width:720px){.employee-report-switch{display:flex;width:100%}.employee-report-switch a{flex:1}.employee-year-table{min-width:820px}}

/* HandwerkerPilot v4.17.10 – OCR-Belegprüfung: ruhiger, klarer Prüf-Arbeitsplatz */
.hp41710-receipt-review{gap:18px;padding-top:2px}
.hp41710-receipt-head{padding:15px 16px;border:1px solid #dbe8e8;border-radius:16px;background:linear-gradient(180deg,#fff,#fbfdfd);box-shadow:0 8px 26px rgba(18,53,70,.045)}
.hp41710-receipt-head h3{margin:0 0 3px;font-size:18px;color:#102f42}.hp41710-receipt-head p{margin:0;line-height:1.45}
.hp41710-receipt-review .hp-receipt-workspace{grid-template-columns:minmax(410px,44%) minmax(0,56%);gap:18px;align-items:start;overflow:visible}
.hp41710-receipt-review .hp-receipt-preview-pane{position:sticky;top:86px;border:1px solid #d8e5e8;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 12px 34px rgba(13,42,58,.08)}
.hp41710-receipt-review .hp-receipt-preview-head{padding:14px 15px;border-bottom:1px solid #e2ebee;background:linear-gradient(180deg,#fff,#f9fbfc)}
.hp41710-receipt-review .hp-receipt-preview-head strong{font-size:15px;color:#102f42}.hp41710-receipt-review .hp-receipt-preview-head small{font-size:11px;color:#73848d;max-width:390px}
.hp41710-receipt-review .hp-receipt-preview-frame{height:min(76vh,900px);min-height:610px;background:#edf2f4}
.hp41710-receipt-review .hp-receipt-review-pane{display:grid;gap:13px;overflow:visible}
.hp41710-receipt-review .hp-ocr-hint{display:flex;gap:13px;align-items:flex-start;padding:15px 16px;border:1px solid #cce6e1;border-radius:16px;background:linear-gradient(135deg,#f2fbf9,#fbfdfd);box-shadow:none}
.hp41710-receipt-review .hp-ocr-hint>span{width:38px;height:38px;min-width:38px;display:grid;place-items:center;border-radius:11px;background:#e0f5f1;font-size:18px}
.hp41710-receipt-review .hp-ocr-hint strong{display:block;color:#103b42;font-size:15px}.hp41710-receipt-review .hp-ocr-hint p{margin:4px 0 0;line-height:1.5}
.hp41710-receipt-review .hp-ocr-async-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:11px!important}.hp41710-receipt-review .hp-ocr-async-state{margin-left:0!important}
.hp41710-receipt-review .hp-ocr-raw{border:1px solid #dce7ea;border-radius:14px;background:#fff;padding:0;overflow:hidden}
.hp41710-receipt-review .hp-ocr-raw summary{padding:12px 14px;background:#f8fafb}.hp41710-receipt-review .hp-ocr-raw[open] summary{border-bottom:1px solid #e4ecef}.hp41710-receipt-review .hp-ocr-raw>p{padding:0 14px}.hp41710-receipt-review .hp-ocr-raw pre{margin:10px 14px 14px}
.hp41710-receipt-review .hp-receipt-form{display:grid;gap:13px}
.hp41710-section-title{display:flex;align-items:flex-start;gap:10px;margin:1px 0 0}.hp41710-section-title>span{width:27px;height:27px;min-width:27px;display:grid;place-items:center;border-radius:9px;background:#e2f5f2;color:#08786d;font-size:12px;font-weight:900}.hp41710-section-title>div{display:grid;gap:2px}.hp41710-section-title strong{font-size:14px;color:#153849}.hp41710-section-title small{font-size:10.5px;color:#768790;line-height:1.4}
.hp41710-receipt-review .hp-receipt-form>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 12px;padding:15px;border:1px solid #dce7ea;border-radius:16px;background:#fff;box-shadow:0 7px 22px rgba(14,47,64,.035)}
.hp41710-receipt-review .hp-receipt-form>.form-grid>label{display:grid;gap:6px;margin:0;color:#17384a;font-size:11px;font-weight:800}
.hp41710-receipt-review .hp-receipt-form>.form-grid>label:nth-child(1),.hp41710-receipt-review .hp-receipt-form>.form-grid>label:nth-child(4){grid-column:1/-1}
.hp41710-receipt-review .hp-receipt-form>.form-grid input,.hp41710-receipt-review .hp-receipt-form>.form-grid select{height:42px;border:1px solid #d3e0e5;border-radius:10px;background:#fbfcfd;padding:0 11px;transition:.15s ease}
.hp41710-receipt-review .hp-receipt-form>.form-grid input:focus,.hp41710-receipt-review .hp-receipt-form>.form-grid select:focus{background:#fff;border-color:#69bdb3;box-shadow:0 0 0 3px rgba(26,161,147,.10)}
.hp41710-receipt-review .hp-markup-box{margin:0;padding:13px 14px;border:1px solid #d7e6e8;border-radius:14px;background:#f8fbfb;align-items:center}
.hp41710-receipt-review .hp-markup-box label{display:grid;gap:5px;color:#17384a;font-size:11px;font-weight:800}.hp41710-receipt-review .hp-markup-box input{height:40px;border-radius:9px}
.hp41710-receipt-review .hint{border-radius:13px;padding:12px 14px;line-height:1.5}
.hp41710-section-items{margin-top:2px}
.hp41710-receipt-review .hp-receipt-items-wrap{border:1px solid #dce7ea;border-radius:15px;background:#fff;overflow:auto;box-shadow:0 7px 22px rgba(14,47,64,.03)}
.hp41710-receipt-review .hp-receipt-items-wrap table{margin:0;min-width:850px;width:100%;border-collapse:separate;border-spacing:0}
.hp41710-receipt-review .hp-receipt-items-wrap thead th{position:sticky;top:0;z-index:2;background:#f5f9f9;color:#55707a;font-size:10px;text-transform:uppercase;letter-spacing:.035em;border-bottom:1px solid #dfe9ec;padding:10px 8px}
.hp41710-receipt-review .hp-receipt-items-wrap tbody td{padding:8px;border-bottom:1px solid #edf2f3;vertical-align:middle}.hp41710-receipt-review .hp-receipt-items-wrap tbody tr:last-child td{border-bottom:0}
.hp41710-receipt-review .hp-receipt-items-wrap input,.hp41710-receipt-review .hp-receipt-items-wrap select{height:38px;border:1px solid #d7e2e6;border-radius:9px;background:#fff;padding:0 9px}.hp41710-receipt-review .hp-receipt-items-wrap input:focus,.hp41710-receipt-review .hp-receipt-items-wrap select:focus{border-color:#69bdb3;box-shadow:0 0 0 2px rgba(26,161,147,.10)}
.hp41710-receipt-review .hp-receipt-actions{position:sticky;bottom:10px;z-index:12;margin-top:1px;padding:11px;border:1px solid #d9e6e8;border-radius:15px;background:rgba(255,255,255,.95);backdrop-filter:blur(10px);box-shadow:0 14px 34px rgba(14,44,60,.12)}
.hp41710-receipt-review .hp-receipt-actions .btn{min-height:40px}.hp41710-receipt-review .hp-receipt-actions .gold{box-shadow:0 5px 16px rgba(184,132,11,.14)}
.hp41710-receipt-review .hp-receipt-summary{padding:15px;border:1px solid #dce7ea;border-radius:16px;background:#fff}
@media(max-width:1450px){.hp41710-receipt-review .hp-receipt-workspace{grid-template-columns:minmax(360px,42%) minmax(0,58%)}.hp41710-receipt-review .hp-receipt-preview-frame{min-height:560px}.hp41710-receipt-review .hp-receipt-form>.form-grid{grid-template-columns:1fr}.hp41710-receipt-review .hp-receipt-form>.form-grid>label:nth-child(1),.hp41710-receipt-review .hp-receipt-form>.form-grid>label:nth-child(4){grid-column:auto}}
@media(max-width:1280px){.hp41710-receipt-review .hp-receipt-workspace{grid-template-columns:1fr}.hp41710-receipt-review .hp-receipt-preview-pane{position:relative;top:auto}.hp41710-receipt-review .hp-receipt-preview-frame{height:560px;min-height:440px}.hp41710-receipt-review .hp-receipt-form>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hp41710-receipt-review .hp-receipt-form>.form-grid>label:nth-child(1),.hp41710-receipt-review .hp-receipt-form>.form-grid>label:nth-child(4){grid-column:1/-1}}
@media(max-width:760px){.hp41710-receipt-head{align-items:stretch;flex-direction:column}.hp41710-receipt-head .actions{width:100%}.hp41710-receipt-review .hp-receipt-form>.form-grid{grid-template-columns:1fr}.hp41710-receipt-review .hp-receipt-form>.form-grid>label:nth-child(1),.hp41710-receipt-review .hp-receipt-form>.form-grid>label:nth-child(4){grid-column:auto}.hp41710-receipt-review .hp-receipt-preview-frame{height:60vh;min-height:380px}.hp41710-receipt-review .hp-receipt-actions{position:static;flex-direction:column;align-items:stretch}.hp41710-receipt-review .hp-receipt-actions .btn{width:100%}.hp41710-section-title small{font-size:10px}}

/* HandwerkerPilot v4.17.11 – OCR-Prüfung: großzügiger Arbeitsbereich statt gedrängter Seitenleiste */
.hp41710-receipt-review{gap:22px}
.hp41710-receipt-review .hp-receipt-workspace{
  display:grid;
  grid-template-columns:minmax(430px,46%) minmax(0,54%);
  gap:24px;
  align-items:start;
  overflow:visible;
}
.hp41710-receipt-review .hp-receipt-review-pane{display:contents}
.hp41711-ocr-panel{
  grid-column:2;
  display:grid;
  gap:14px;
  align-content:start;
  min-width:0;
}
.hp41710-receipt-review .hp-receipt-preview-pane{
  grid-column:1;
  position:relative;
  top:auto;
  border-radius:20px;
  box-shadow:0 10px 28px rgba(13,42,58,.07)
}
.hp41710-receipt-review .hp-receipt-preview-frame{
  height:540px;
  min-height:540px;
  max-height:540px;
}
.hp41710-receipt-review .hp-ocr-hint{
  padding:20px;
  border-radius:18px;
}
.hp41710-receipt-review .hp-ocr-hint>span{
  width:44px;height:44px;min-width:44px;border-radius:13px
}
.hp41710-receipt-review .hp-ocr-hint strong{font-size:16px}
.hp41710-receipt-review .hp-ocr-hint p{font-size:12px;line-height:1.6}
.hp41710-receipt-review .hp-ocr-raw{border-radius:16px}
.hp41710-receipt-review .hp-ocr-raw summary{padding:15px 16px;font-size:12px}

/* Das eigentliche Prüfformular nutzt danach die volle Seitenbreite. */
.hp41710-receipt-review .hp-receipt-form,
.hp41710-receipt-review .hp-receipt-summary{
  grid-column:1/-1;
  width:100%;
  min-width:0;
}
.hp41710-receipt-review .hp-receipt-form{
  gap:18px;
  padding-top:4px;
}
.hp41710-section-title{
  margin-top:4px;
  padding:0 2px;
  gap:12px
}
.hp41710-section-title>span{
  width:32px;height:32px;min-width:32px;border-radius:10px;font-size:13px
}
.hp41710-section-title strong{font-size:15px}
.hp41710-section-title small{font-size:11px;line-height:1.5}

/* Belegdaten: auf großen Monitoren 4 Spalten statt einer engen Seitenleiste. */
.hp41710-receipt-review .hp-receipt-form>.form-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:15px 16px;
  padding:20px;
  border-radius:18px;
  box-shadow:0 8px 24px rgba(14,47,64,.035)
}
.hp41710-receipt-review .hp-receipt-form>.form-grid>label:nth-child(1){grid-column:span 2}
.hp41710-receipt-review .hp-receipt-form>.form-grid>label:nth-child(4){grid-column:auto}
.hp41710-receipt-review .hp-receipt-form>.form-grid>label:nth-child(8){grid-column:1/-1}
.hp41710-receipt-review .hp-receipt-form>.form-grid>label{gap:7px;font-size:11.5px}
.hp41710-receipt-review .hp-receipt-form>.form-grid input,
.hp41710-receipt-review .hp-receipt-form>.form-grid select{
  height:46px;
  border-radius:11px;
  padding:0 13px;
  font-size:12px
}

/* Verkauf / Aufschlag als breite Werkzeugleiste. */
.hp41710-receipt-review .hp-markup-box{
  display:grid;
  grid-template-columns:minmax(180px,240px) auto minmax(260px,1fr);
  align-items:end;
  gap:14px;
  padding:17px 18px;
  border-radius:16px
}
.hp41710-receipt-review .hp-markup-box label{max-width:none}
.hp41710-receipt-review .hp-markup-box small{align-self:center;min-width:0}

/* Positionen bekommen bewusst die volle Breite und mehr Luft. */
.hp41710-receipt-review .hp-receipt-items-wrap{
  width:100%;
  border-radius:18px;
  box-shadow:0 8px 24px rgba(14,47,64,.035)
}
.hp41710-receipt-review .hp-receipt-items-wrap table{
  width:100%;
  min-width:1120px;
}
.hp41710-receipt-review .hp-receipt-items-wrap thead th{
  padding:12px 10px;
  font-size:10.5px
}
.hp41710-receipt-review .hp-receipt-items-wrap tbody td{padding:10px}
.hp41710-receipt-review .hp-receipt-items-wrap input,
.hp41710-receipt-review .hp-receipt-items-wrap select{
  height:42px;
  border-radius:10px;
  padding:0 10px
}
.hp41710-receipt-review .hp-receipt-items-wrap td:first-child input{min-width:260px}
.hp41710-receipt-review .hp-receipt-actions{
  bottom:14px;
  padding:13px 14px;
  border-radius:17px
}
.hp41710-receipt-review .hp-receipt-actions .btn{min-height:43px}

@media(max-width:1550px){
  .hp41710-receipt-review .hp-receipt-workspace{grid-template-columns:minmax(380px,43%) minmax(0,57%);gap:20px}
  .hp41710-receipt-review .hp-receipt-preview-frame{height:500px;min-height:500px;max-height:500px}
  .hp41710-receipt-review .hp-receipt-form>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hp41710-receipt-review .hp-receipt-form>.form-grid>label:nth-child(1),
  .hp41710-receipt-review .hp-receipt-form>.form-grid>label:nth-child(8){grid-column:1/-1}
  .hp41710-receipt-review .hp-receipt-form>.form-grid>label:nth-child(4){grid-column:auto}
}
@media(max-width:1120px){
  .hp41710-receipt-review .hp-receipt-workspace{grid-template-columns:1fr}
  .hp41710-receipt-review .hp-receipt-preview-pane,
  .hp41711-ocr-panel,
  .hp41710-receipt-review .hp-receipt-form,
  .hp41710-receipt-review .hp-receipt-summary{grid-column:1}
  .hp41710-receipt-review .hp-receipt-preview-frame{height:520px;min-height:420px;max-height:none}
  .hp41710-receipt-review .hp-markup-box{grid-template-columns:1fr auto}
  .hp41710-receipt-review .hp-markup-box small{grid-column:1/-1}
}
@media(max-width:720px){
  .hp41710-receipt-review .hp-receipt-form>.form-grid{grid-template-columns:1fr;padding:16px}
  .hp41710-receipt-review .hp-receipt-form>.form-grid>label:nth-child(1),
  .hp41710-receipt-review .hp-receipt-form>.form-grid>label:nth-child(8){grid-column:auto}
  .hp41710-receipt-review .hp-markup-box{grid-template-columns:1fr;align-items:stretch}
  .hp41710-receipt-review .hp-markup-box .btn{width:100%}
  .hp41710-receipt-review .hp-markup-box small{grid-column:auto}
  .hp41710-receipt-review .hp-receipt-preview-frame{height:58vh;min-height:360px}
}

/* HandwerkerPilot v4.17.12 – Belegliste kompakt nach Prüfstatus */
.hp41712-receipts-card{overflow:visible}
.hp41712-receipts-head{align-items:flex-start}
.hp41712-receipt-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:12px 14px;margin:0 0 10px;border:1px solid #dce8eb;border-radius:14px;background:#f8fbfc}
.hp41712-receipt-tabs{display:flex;gap:8px;flex-wrap:wrap}
.hp41712-receipt-tabs button{appearance:none;border:1px solid #d6e3e7;background:#fff;color:#284457;border-radius:11px;padding:9px 12px;font:inherit;font-size:12px;font-weight:800;display:inline-flex;align-items:center;gap:7px;cursor:pointer;transition:.16s ease}
.hp41712-receipt-tabs button:hover{border-color:#8bc9c0;background:#fbfefe}
.hp41712-receipt-tabs button.active{border-color:#149b8d;background:#eaf8f5;color:#0d776d;box-shadow:0 0 0 2px rgba(20,155,141,.08)}
.hp41712-receipt-tabs button b{min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#edf3f5;color:#526a77;display:inline-grid;place-items:center;font-size:11px}
.hp41712-receipt-tabs button.active b{background:#fff;color:#0d776d}
.hp41712-tab-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.hp41712-tab-dot.review{background:#e99a42}.hp41712-tab-dot.confirmed{background:#28a876}
.hp41712-receipt-toolbar>small{color:#758690;font-size:11px}
.hp41712-receipt-list{gap:0;border:1px solid #e0e8eb;border-radius:14px;overflow:hidden;background:#fff}
.hp41712-receipt-row{padding:11px 12px!important;margin:0!important;border:0!important;border-bottom:1px solid #e8eef0!important;border-radius:0!important;min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.hp41712-receipt-row:last-child{border-bottom:0!important}
.hp41712-receipt-row[hidden]{display:none!important}
.hp41712-receipt-main{min-width:0;flex:1}.hp41712-receipt-main strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hp41712-receipt-main .muted{margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hp41712-receipt-row .actions{margin-left:auto;flex-wrap:nowrap}.hp41712-receipt-row .actions form{margin:0}.hp41712-receipt-row .btn{white-space:nowrap}
.hp41712-receipt-more-wrap{display:flex;justify-content:center;padding-top:10px}.hp41712-receipt-more{min-width:220px}
@media(max-width:900px){.hp41712-receipt-toolbar{align-items:stretch;flex-direction:column}.hp41712-receipt-tabs{display:grid;grid-template-columns:1fr 1fr}.hp41712-receipt-tabs button{justify-content:center}.hp41712-receipt-row{align-items:flex-start;flex-direction:column}.hp41712-receipt-row .actions{width:100%;margin-left:0;flex-wrap:wrap}.hp41712-receipt-row .actions .btn,.hp41712-receipt-row .actions form{flex:1}.hp41712-receipt-row .actions form .btn{width:100%}}
@media(max-width:560px){.hp41712-receipt-tabs{grid-template-columns:1fr}.hp41712-receipt-main strong,.hp41712-receipt-main .muted{white-space:normal}.hp41712-receipt-row .actions{display:grid;grid-template-columns:1fr 1fr}.hp41712-receipt-row .actions .badge{grid-column:1/-1}.hp41712-receipt-row .actions form{width:100%}}

/* 4.17.13 compact receipt center */
.hp41713-receipts-card{overflow:visible}.hp41713-receipts-head{align-items:flex-start}
.hp41713-receipt-compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:2px}
.hp41713-receipt-status{appearance:none;border:1px solid #dce7e9;background:#fff;border-radius:16px;padding:16px;display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:13px;text-align:left;cursor:pointer;transition:.16s ease;color:#183342;font:inherit}
.hp41713-receipt-status:hover{transform:translateY(-1px);border-color:#9acfc7;box-shadow:0 8px 22px rgba(18,56,70,.07)}
.hp41713-receipt-status.review{background:linear-gradient(135deg,#fffaf4,#fff)}.hp41713-receipt-status.confirmed{background:linear-gradient(135deg,#f1fbf8,#fff)}
.hp41713-status-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;font-weight:900;font-size:18px}.hp41713-receipt-status.review .hp41713-status-icon{background:#fff0df;color:#bf671d}.hp41713-receipt-status.confirmed .hp41713-status-icon{background:#def6ed;color:#168363}
.hp41713-receipt-status small,.hp41713-receipt-status em{display:block;font-style:normal}.hp41713-receipt-status small{font-size:12px;font-weight:800;color:#5f7682}.hp41713-receipt-status strong{font-size:25px;line-height:1.05;display:block;margin:2px 0}.hp41713-receipt-status em{font-size:11px;color:#7b8d96}.hp41713-receipt-status>b{font-size:20px;color:#79909a}
.hp41713-receipt-note{margin-top:10px;padding:10px 12px;border-radius:13px;background:#f5f9fa;border:1px solid #e1eaec;display:flex;gap:10px;align-items:center}.hp41713-receipt-note>span{width:26px;height:26px;border-radius:9px;background:#e7f5f2;color:#118679;display:grid;place-items:center;font-weight:900}.hp41713-receipt-note strong,.hp41713-receipt-note small{display:block}.hp41713-receipt-note strong{font-size:12px}.hp41713-receipt-note small{font-size:11px;color:#768992;margin-top:2px}
.hp41713-receipt-dialog{width:min(1020px,calc(100vw - 34px));max-width:none;border:0;padding:0;border-radius:20px;background:#fff;box-shadow:0 26px 80px rgba(5,34,48,.28);color:inherit}.hp41713-receipt-dialog::backdrop{background:rgba(8,31,43,.48);backdrop-filter:blur(2px)}
.hp41713-dialog-shell{overflow:hidden;border-radius:20px}.hp41713-dialog-head{padding:20px 22px 14px;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:1px solid #e4ecee}.hp41713-dialog-head h3{margin:2px 0 4px;font-size:22px}.hp41713-dialog-eyebrow{font-size:10px;letter-spacing:.14em;font-weight:900;color:#139083}.hp41713-dialog-close{appearance:none;border:0;background:#eef4f5;color:#3b5663;width:38px;height:38px;border-radius:11px;font-size:24px;line-height:1;cursor:pointer}
.hp41713-dialog-tabs{display:flex;gap:8px;padding:12px 22px;background:#f7fafb;border-bottom:1px solid #e5edef}.hp41713-dialog-tabs button{appearance:none;border:1px solid #d6e3e7;background:#fff;color:#284457;border-radius:11px;padding:9px 12px;font:inherit;font-size:12px;font-weight:800;display:inline-flex;align-items:center;gap:7px;cursor:pointer}.hp41713-dialog-tabs button.active{border-color:#149b8d;background:#eaf8f5;color:#0d776d}.hp41713-dialog-tabs button b{min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#edf3f5;color:#526a77;display:inline-grid;place-items:center;font-size:11px}.hp41713-dialog-tabs button.active b{background:#fff;color:#0d776d}
.hp41713-dialog-list{max-height:min(64vh,650px);overflow:auto;padding:8px 12px 14px;background:#fff}.hp41713-receipt-row{padding:11px 10px!important;margin:0!important;border:0!important;border-bottom:1px solid #e8eef0!important;border-radius:0!important;min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:14px}.hp41713-receipt-row[hidden]{display:none!important}.hp41713-receipt-main{min-width:0;flex:1}.hp41713-receipt-main strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hp41713-receipt-main .muted{margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hp41713-receipt-row .actions{margin-left:auto;flex-wrap:nowrap}.hp41713-receipt-row .actions form{margin:0}.hp41713-receipt-row .btn{white-space:nowrap}
@media(max-width:800px){.hp41713-receipt-compact{grid-template-columns:1fr}.hp41713-receipt-dialog{width:calc(100vw - 16px)}.hp41713-receipt-row{align-items:flex-start;flex-direction:column}.hp41713-receipt-row .actions{width:100%;margin-left:0;flex-wrap:wrap}.hp41713-receipt-row .actions .btn,.hp41713-receipt-row .actions form{flex:1}.hp41713-receipt-row .actions form .btn{width:100%}}
@media(max-width:520px){.hp41713-dialog-tabs{display:grid;grid-template-columns:1fr}.hp41713-dialog-tabs button{justify-content:center}.hp41713-receipt-main strong,.hp41713-receipt-main .muted{white-space:normal}.hp41713-receipt-row .actions{display:grid;grid-template-columns:1fr 1fr}.hp41713-receipt-row .actions .badge{grid-column:1/-1}.hp41713-receipt-row .actions form{width:100%}}

/* HandwerkerPilot 4.17.14 – kompakte Baustellenakte mit Bereichsnavigation */
.hp41714-job-workspace{scroll-margin-top:92px;margin-top:14px}
.hp41714-job-tabs{position:sticky;top:76px;z-index:24;display:flex;gap:6px;align-items:center;padding:7px;border:1px solid #dfe8eb;border-radius:16px;background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(13,52,68,.06);backdrop-filter:blur(10px);overflow-x:auto;margin-bottom:14px}
.hp41714-job-tabs button{appearance:none;border:0;background:transparent;color:#4b6573;border-radius:11px;padding:10px 13px;display:inline-flex;align-items:center;gap:8px;font:inherit;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer;transition:.16s ease}
.hp41714-job-tabs button:hover{background:#f2f7f8;color:#173846}.hp41714-job-tabs button.active{background:#e9f8f5;color:#087a6d;box-shadow:inset 0 0 0 1px #bfe7df}
.hp41714-job-tabs button>span{width:23px;height:23px;border-radius:8px;background:#edf3f5;display:grid;place-items:center;font-size:12px}.hp41714-job-tabs button.active>span{background:#d4f1eb;color:#087a6d}
.hp41714-job-tabs button>em{min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#edf3f5;color:#5c727e;display:grid;place-items:center;font-size:10px;font-style:normal}.hp41714-job-tabs button.active>em{background:#fff;color:#087a6d}
.hp41714-job-workspace>[data-hp41714-section][hidden]{display:none!important}
.hp41714-job-overview{border:1px solid #e0e9eb;border-radius:18px;background:#fff;padding:18px;box-shadow:0 8px 26px rgba(13,52,68,.04)}
.hp41714-overview-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:14px}.hp41714-overview-head small{display:block;color:#119286;font-size:10px;font-weight:900;letter-spacing:.1em}.hp41714-overview-head h2{margin:3px 0 0;font-size:19px}
.hp41714-overview-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.hp41714-overview-grid button{appearance:none;border:1px solid #e1e9eb;border-radius:14px;background:#fbfdfd;padding:13px;display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;text-align:left;color:#173846;font:inherit;cursor:pointer;transition:.16s ease}.hp41714-overview-grid button:hover{transform:translateY(-1px);border-color:#9fd4cc;background:#fff;box-shadow:0 7px 20px rgba(10,54,69,.06)}
.hp41714-overview-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;font-weight:900;background:#edf4f5;color:#43606d}.hp41714-overview-icon.work{background:#e9f3ff;color:#3b70b7}.hp41714-overview-icon.team{background:#e9f8f5;color:#087a6d}.hp41714-overview-icon.receipts{background:#fff2df;color:#ae6d1d}.hp41714-overview-icon.files{background:#f1ecfb;color:#7252a3}.hp41714-overview-icon.billing{background:#e8f7ef;color:#267750}
.hp41714-overview-grid small,.hp41714-overview-grid em{display:block;font-style:normal}.hp41714-overview-grid small{font-size:10px;font-weight:800;color:#70838d;text-transform:uppercase;letter-spacing:.04em}.hp41714-overview-grid strong{font-size:22px;line-height:1.05;display:block;margin:2px 0}.hp41714-overview-grid em{font-size:10px;color:#83949d}.hp41714-overview-grid button>b{color:#8398a1}
.hp41714-overview-note{display:flex;align-items:center;gap:9px;margin-top:12px;padding:9px 11px;border-radius:12px;background:#f3f9f8;color:#58707a;font-size:11px}.hp41714-overview-note>span{width:24px;height:24px;border-radius:8px;background:#dff2ee;color:#118477;display:grid;place-items:center;font-weight:900}.hp41714-overview-note p{margin:0}
.hp41714-job-workspace>[data-hp41714-section]:not([hidden]){animation:hp41714Fade .14s ease}@keyframes hp41714Fade{from{opacity:.45;transform:translateY(3px)}to{opacity:1;transform:none}}
.hp41714-job-workspace #time-list .table-wrap{max-height:460px;overflow:auto;border-radius:12px}.hp41714-job-workspace #time-list thead{position:sticky;top:0;z-index:2;background:#f7fafb}
.hp41714-job-workspace #files>.row-line{padding-top:9px;padding-bottom:9px}.hp41714-job-workspace #files>.row-line+.row-line{margin-top:0}
@media(max-width:1280px){.hp41714-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.hp41714-job-tabs{top:66px;margin-left:-2px;margin-right:-2px}.hp41714-job-tabs button{padding:9px 11px}.hp41714-overview-grid{grid-template-columns:1fr 1fr}.hp41714-job-overview{padding:14px}}
@media(max-width:480px){.hp41714-overview-grid{grid-template-columns:1fr}.hp41714-overview-head{align-items:center}}


/* v4.17.93 – recurring template from customer invoice */
.hp41793-recurring-card{margin-top:16px;display:flex;align-items:center;justify-content:space-between;gap:22px;border:1px solid #cde8e1;background:linear-gradient(135deg,#f7fffc,#fff)}
.hp41793-recurring-copy{display:flex;align-items:flex-start;gap:14px}.hp41793-recurring-copy h2{margin:0 0 5px}.hp41793-recurring-copy p{margin:0;max-width:850px;color:#5d6974}.hp41793-recurring-icon{display:grid;place-items:center;min-width:44px;height:44px;border-radius:13px;background:#e8f7f2;color:#118568;font-size:25px;font-weight:800}.hp41793-recurring-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.hp41793-warning{margin-top:9px!important;padding:9px 11px;border-radius:10px;background:#fff7e8;color:#78531b!important;border:1px solid #f1dfb9}
.hp41793-recurring-modal{width:min(860px,calc(100vw - 34px));max-height:min(820px,calc(100vh - 34px));padding:0;border:0;border-radius:18px;box-shadow:0 26px 80px rgba(15,35,55,.28);overflow:hidden;background:#fff}.hp41793-recurring-modal::backdrop{background:rgba(16,32,48,.45)}.hp41793-recurring-form{display:flex;flex-direction:column;max-height:min(820px,calc(100vh - 34px))}.hp41793-modal-head{display:flex;justify-content:space-between;gap:20px;padding:23px 25px 18px;border-bottom:1px solid #e8edf1}.hp41793-modal-head small{font-size:11px;font-weight:800;letter-spacing:.08em;color:#13846b}.hp41793-modal-head h2{margin:4px 0 4px}.hp41793-modal-head p{margin:0;color:#66727d}.hp41793-modal-x{border:0;background:#f1f4f6;width:38px;height:38px;border-radius:12px;font-size:25px;line-height:1;cursor:pointer}.hp41793-modal-body{padding:22px 25px;overflow:auto}.hp41793-custom{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:14px;border:1px dashed #c8d7dc;border-radius:12px;background:#f9fbfc}.hp41793-check{display:flex!important;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid #dce5e8;border-radius:12px}.hp41793-check input{margin-top:4px;width:auto}.hp41793-check span{display:flex;flex-direction:column;gap:2px}.hp41793-check small{color:#697783}.hp41793-copy-summary{margin-top:16px;padding:12px 14px;border-radius:12px;background:#eff9f6;display:flex;flex-direction:column;gap:3px;color:#45615a}.hp41793-modal-foot{display:flex;justify-content:flex-end;gap:10px;padding:16px 25px;border-top:1px solid #e8edf1;background:#fff}
@media(max-width:760px){.hp41793-recurring-card{align-items:stretch;flex-direction:column}.hp41793-recurring-actions{justify-content:flex-start}.hp41793-recurring-modal{width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.hp41793-recurring-form{max-height:calc(100vh - 16px)}.hp41793-modal-head,.hp41793-modal-body,.hp41793-modal-foot{padding-left:16px;padding-right:16px}.hp41793-custom{grid-template-columns:1fr}}

/* v4.17.94 – team add button feedback/focus */
.hp-team89-create-attention{animation:hpTeamCreateAttention .75s ease both;box-shadow:0 0 0 4px rgba(15,143,129,.13),0 18px 42px rgba(15,61,70,.12)!important}
@keyframes hpTeamCreateAttention{0%{transform:scale(1)}35%{transform:scale(1.012)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.hp-team89-create-attention{animation:none;outline:3px solid rgba(15,143,129,.18)}}


/* v4.17.95 – Mitarbeiter anlegen als eindeutiges zentriertes Dialogfenster */
.hp-team89-layout{grid-template-columns:minmax(0,1fr)}
.hp-team95-modal{position:fixed;inset:0;z-index:12050;display:none;align-items:center;justify-content:center;padding:24px}
.hp-team95-modal.is-open,.hp-team95-modal:target{display:flex}
.hp-team95-modal-backdrop{position:absolute;inset:0;background:rgba(17,43,54,.56)}
.hp-team95-create-dialog{position:relative!important;top:auto!important;z-index:1;width:min(820px,calc(100vw - 48px));max-height:min(760px,calc(100vh - 48px));margin:0;overflow:auto!important;box-shadow:0 28px 80px rgba(7,35,46,.28);border-radius:18px}
.hp-team95-create-head{grid-template-columns:42px minmax(0,1fr) 36px;align-items:start;position:sticky;top:0;z-index:2}
.hp-team95-close{width:34px;height:34px;border:0;border-radius:10px;background:#f0f5f6;color:#28454f;font-size:22px;line-height:1;cursor:pointer;display:grid;place-items:center}
.hp-team95-close:hover{background:#e5eef0}
.hp-team95-create-dialog form{padding:20px 22px 22px;gap:14px}
.hp-team95-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hp-team95-form-grid>label:first-child,.hp-team95-form-grid>label:nth-child(2){grid-column:auto}
.hp-team95-wide{grid-column:1/-1}
.hp-team95-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:4px}
.hp-team95-actions .hp-team89-submit{width:auto;margin:0}
html.hp-team95-modal-open,html.hp-team95-modal-open body{overflow:hidden}
@media(max-width:700px){.hp-team95-modal{padding:10px}.hp-team95-create-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px);border-radius:14px}.hp-team95-form-grid{grid-template-columns:1fr}.hp-team95-create-dialog form{padding:16px}.hp-team95-actions{position:sticky;bottom:0;background:#fff;padding:12px 0 2px}.hp-team95-actions .btn{flex:1}}

/* v4.17.101 – compact sub navigation inside Baustelle > Arbeit & Team */
.hp417101-work-tabs{display:flex;align-items:center;gap:7px;padding:7px;margin:0 0 14px;border:1px solid #dfe8eb;border-radius:14px;background:#fff;box-shadow:0 7px 20px rgba(13,52,68,.045);overflow-x:auto;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.hp417101-work-tabs button{appearance:none;border:0;background:transparent;color:#506a77;border-radius:10px;padding:9px 12px;display:inline-flex;align-items:center;gap:8px;font:inherit;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer;transition:.15s ease}
.hp417101-work-tabs button:hover{background:#f2f7f8;color:#173846}.hp417101-work-tabs button.active{background:#e9f8f5;color:#087a6d;box-shadow:inset 0 0 0 1px #bfe7df}
.hp417101-work-tabs button>span{width:24px;height:24px;border-radius:8px;background:#edf3f5;display:grid;place-items:center;font-size:12px}.hp417101-work-tabs button.active>span{background:#d4f1eb;color:#087a6d}
.hp417101-work-tabs button>em{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#edf3f5;color:#607681;display:grid;place-items:center;font-size:10px;font-style:normal}.hp417101-work-tabs button.active>em{background:#fff;color:#087a6d}
.hp417101-inner-hidden{display:none!important}.hp417101-work-single{grid-template-columns:minmax(0,1fr)!important}.hp417101-work-single>.card:not(.hp417101-inner-hidden){width:100%;max-width:none}
@media(max-width:760px){.hp417101-work-tabs{margin-left:-2px;margin-right:-2px;padding:6px}.hp417101-work-tabs button{padding:9px 10px}.hp417101-work-tabs button>b{font-size:11px}}
