:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#172033;font-synthesis:none;text-rendering:optimizelegibility;background:#eef2f7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#eef2f7;min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.app-header{z-index:10;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff0;border-bottom:1px solid #dbe3ef;justify-content:space-between;align-items:center;gap:16px;padding:14px clamp(16px,4vw,36px);display:flex;position:sticky;top:0}.brand{align-items:center;gap:11px;display:flex}.brand svg{color:#2563eb;width:30px;height:30px}.brand strong{font-size:17px;line-height:1.1;display:block}.brand span{color:#667085;margin-top:2px;font-size:12px;display:block}.source-pill{color:#344054;white-space:nowrap;background:#f8fafc;border:1px solid #cad6e6;border-radius:999px;align-items:center;gap:7px;min-height:34px;padding:0 12px;font-size:13px;display:inline-flex}.source-pill:disabled{opacity:.72;cursor:default}.install-pill{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.header-actions{align-items:center;gap:8px;min-width:0;display:flex}.sync-pill{text-overflow:ellipsis;white-space:nowrap;color:#475467;background:#fff;border:1px solid #d7e0eb;border-radius:999px;max-width:260px;padding:7px 10px;font-size:12px;font-weight:750;overflow:hidden}.sync-pill.authenticated{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.sync-pill.login-required,.sync-pill.offline{color:#9a3412;background:#fff7ed;border-color:#fed7aa}.install-hint{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;margin:-8px 16px 12px;padding:9px 12px;font-size:13px;font-weight:750}.login-layout{place-items:center;min-height:calc(100vh - 65px);padding:22px;display:grid}.login-card{background:#fff;border:1px solid #d7e0eb;border-radius:12px;gap:14px;width:min(420px,100%);padding:24px;display:grid;box-shadow:0 16px 40px #0f172a1f}.login-card>svg{color:#2563eb;width:34px;height:34px}.login-card h1{margin:0;font-size:24px}.login-card p{color:#667085;margin:0;line-height:1.45}.login-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:10px 12px;font-size:13px;font-weight:750}.source-pill,.primary,.secondary{justify-content:center}.primary,.secondary{border-radius:8px;align-items:center;gap:8px;min-height:42px;padding:0 14px;font-size:14px;font-weight:800;display:inline-flex}.primary{color:#fff;background:#2563eb;border:1px solid #2563eb}.secondary{color:#172033;background:#fff;border:1px solid #cad6e6}.layout{grid-template-columns:minmax(360px,.92fr) minmax(360px,.78fr);gap:22px;width:min(1220px,100%);margin:0 auto;padding:22px clamp(14px,3vw,28px) 36px;display:grid}.list-panel,.detail-panel{min-width:0}.progress-panel{color:#fff;background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 100%);border-radius:8px;justify-content:space-between;align-items:center;gap:16px;min-height:116px;padding:20px;display:flex;box-shadow:0 16px 36px #0f172a29}.progress-panel strong{font-size:clamp(28px,6vw,42px);line-height:1;display:block}.progress-panel span{color:#cbd5e1;margin-top:6px;display:block}.progress-ring{flex:none;width:82px;height:82px;position:relative}.progress-ring svg{width:82px;height:82px;transform:rotate(-90deg)}.progress-ring circle{fill:none;stroke-width:4px;stroke:#ffffff2e}.progress-ring circle+circle{stroke:#34d399;stroke-linecap:round;pathLength:100}.progress-ring b{place-items:center;font-size:17px;display:grid;position:absolute;inset:0}.toolbar{gap:12px;margin:16px 0 10px;display:grid}.field{color:#344054;gap:7px;min-width:0;font-size:13px;font-weight:800;display:grid}.field input,.field select,.field textarea{color:#172033;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;min-width:0;padding:11px 12px}.field textarea{resize:vertical}.search-box{background:#fff;border:1px solid #d7e0eb;border-radius:8px;align-items:center;gap:10px;height:48px;padding:0 14px;display:flex}.search-box svg{color:#667085;flex:none}.search-box input{color:#172033;background:0 0;border:0;outline:0;width:100%;min-width:0;font-size:16px}.filter-tabs{background:#dde6f1;border-radius:8px;grid-template-columns:repeat(3,1fr);gap:6px;padding:5px;display:grid}.filter-tabs button{color:#344054;background:0 0;border:0;border-radius:6px;min-height:38px;font-size:14px;font-weight:700}.filter-tabs button.active{color:#0f172a;background:#fff;box-shadow:0 1px 4px #0f172a1f}.status-strip{gap:8px;margin:0 0 12px;display:flex;overflow-x:auto}.status-strip span{color:#475467;background:#fff;border:1px solid #d7e0eb;border-radius:999px;flex:none;padding:6px 10px;font-size:13px;font-weight:700}.customer-list{gap:10px;display:grid}.customer-card{background:#fff;border:1px solid #d9e2ee;border-radius:8px;grid-template-columns:48px 1fr;align-items:stretch;min-height:108px;display:grid;overflow:hidden;box-shadow:0 1px 2px #0f172a0a}.customer-card.selected{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1f}.customer-card.done{background:#fbfffd;border-color:#86efac}.check-button,.card-main,.icon-button{background:0 0;border:0}.check-button{color:#94a3b8;border-right:1px solid #e5edf6;place-items:center;display:grid}.done .check-button{color:#15803d;background:#ecfdf3}.card-main{text-align:left;width:100%;color:inherit;gap:5px;padding:12px 14px;display:grid}.card-main strong{min-width:0;font-size:17px;line-height:1.25}.address-line,.planning-line,.record-line,.latest-line{color:#667085;align-items:center;gap:6px;min-width:0;font-size:13px;display:flex}.record-line{color:#475467;font-weight:650;display:block}.latest-line{color:#1f2937;text-overflow:ellipsis;white-space:nowrap;padding-top:2px;display:block;overflow:hidden}.status{color:#1d4ed8;background:#eff6ff;border-radius:999px;align-items:center;width:fit-content;padding:4px 8px;font-size:12px;font-weight:800;line-height:1;display:inline-flex}.status.pruefen{color:#c2410c;background:#fff7ed}.status.klaeren{color:#b91c1c;background:#fef2f2}.status.vorlaeufig_ok{color:#15803d;background:#ecfdf3}.status.neu{color:#4338ca;background:#eef2ff}.detail-panel{background:#fff;border:1px solid #d7e0eb;border-radius:8px;max-height:calc(100vh - 104px);position:sticky;top:82px;overflow:auto;box-shadow:0 16px 40px #0f172a1f}.detail-panel header{z-index:1;background:#fff;border-bottom:1px solid #edf2f7;justify-content:space-between;gap:12px;padding:18px;display:flex;position:sticky;top:0}.detail-panel h2{margin:8px 0 0;font-size:24px;line-height:1.16}.hero-address{color:#344054;align-items:center;gap:7px;margin:9px 0 0;font-size:14px;font-weight:750;line-height:1.35;display:flex}.icon-button{color:#344054;border-radius:8px;place-items:center;width:38px;height:38px;display:grid}.icon-button:hover{background:#eef2f7}.completion-box{border-bottom:1px solid #edf2f7;gap:13px;padding:18px;display:grid}.completion-box label svg{color:#2563eb}.completion-box input[type=date],.completion-box textarea{color:#172033;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:11px 12px}.completion-box textarea{resize:vertical;min-height:92px}.done-toggle{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;grid-template-columns:auto 1fr;align-items:center;min-height:48px;padding:0 12px;color:#166534!important}.done-toggle input{accent-color:#16a34a;width:20px;height:20px}.latest-note,.form-section,.note-section{border-bottom:1px solid #edf2f7;gap:13px;padding:18px;display:grid}.latest-note{background:#f8fafc}.latest-note>div{color:#0f172a;align-items:center;gap:9px;display:flex}.latest-note svg{color:#2563eb}.latest-note p{color:#344054;margin:0;line-height:1.45}.form-section h3,.note-section h3{margin:0;font-size:16px;line-height:1.25}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.dictation-box{color:#1e3a8a;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;align-items:flex-start;gap:9px;padding:11px 12px;font-size:13px;line-height:1.4;display:flex}.dictation-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.history-list{gap:10px;display:grid}.history-list article{background:#fff;border:1px solid #d7e0eb;border-radius:8px;gap:8px;padding:12px;display:grid}.history-list article div{color:#475467;justify-content:space-between;gap:10px;font-size:12px;display:flex}.history-list article p{color:#172033;white-space:pre-wrap;margin:0;line-height:1.45}.empty-history{color:#667085;text-align:center;border:1px dashed #bdc9d9;border-radius:8px;padding:14px}.detail-actions{background:#fff;border-top:1px solid #edf2f7;padding:14px 18px;display:grid;position:sticky;bottom:0}.detail-placeholder{color:#667085;text-align:center;background:#fff;border:1px dashed #bdc9d9;border-radius:8px;align-content:center;place-items:center;gap:10px;min-height:360px;padding:28px;display:grid}.detail-placeholder svg{color:#2563eb}.detail-placeholder strong{color:#172033}.details-list{padding:4px 18px 18px;display:grid}.details-list div{border-bottom:1px solid #edf2f7;grid-template-columns:132px 1fr;gap:12px;padding:12px 0;display:grid}.details-list span{color:#667085;font-size:13px}.details-list strong{overflow-wrap:anywhere;color:#172033;min-width:0;font-size:14px;line-height:1.35}.empty-state{color:#667085;text-align:center;background:#fff;border:1px dashed #bdc9d9;border-radius:8px;place-items:center;gap:8px;min-height:180px;padding:24px;display:grid}.empty-state svg{color:#94a3b8}@media (width<=860px){.layout{padding:14px 12px 100px;display:block}.app-header{padding:12px}.source-pill{padding:0 10px;font-size:12px}.header-actions{justify-content:flex-end}.sync-pill{display:none}.detail-panel{z-index:20;border-inline:0;border-bottom:0;border-radius:12px 12px 0 0;max-height:min(82vh,720px);position:fixed;inset:auto 0 0}.detail-panel h2{font-size:21px}.details-list div{grid-template-columns:112px 1fr}.form-grid{grid-template-columns:1fr}}@media (width<=460px){.brand strong{font-size:15px}.brand span{font-size:11px}.source-pill{text-overflow:ellipsis;max-width:128px;overflow:hidden}.progress-panel{min-height:106px;padding:16px}.progress-ring,.progress-ring svg{width:70px;height:70px}}
