/* Auto Kölbl: the same Manrope / DM Sans typography and petrol palette as the Vermittlerportal. */
:root{--ink:#18272f;--accent:#2c4e61;--hover:#203e50;--muted:#687c88;--line:#dee6eb;--input-line:#d4e0e7;--paper:#f5f7f8;--soft:#eaf0f3;--white:#fff;--panel-radius:16px;--control-radius:8px;--pill:8px;font:16px/1.6 "DM Sans",system-ui,sans-serif;color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body{background:var(--paper);color:var(--ink)}
h1,h2,h3,.stat strong{font-family:Manrope,"DM Sans",sans-serif;font-weight:600;letter-spacing:-.045em}
h1{font-size:clamp(2rem,3.4vw,2.8125rem);line-height:1.22}
h2{font-size:1.6875rem;line-height:1.3}
h3{font-size:1.3125rem;line-height:1.3}
p{line-height:1.8}.muted,small{color:var(--muted)}
.eyebrow,.sidebar-caption,.brand-label{font-family:"DM Sans",sans-serif;font-size:.75rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#78909d}
.eyebrow{margin-bottom:12px}
.layout{grid-template-columns:236px minmax(0,1fr);grid-template-rows:auto 1fr}
.workspace-header{background:#fff;border-bottom:1px solid var(--line)}
.workspace-header-inner{min-height:90px;padding:17px 34px;gap:24px}
.brand-lockup{display:flex;gap:25px;align-items:center;min-width:0}
.logo{width:145px;height:auto}
.brand-label{font-size:.75rem;letter-spacing:.13em;padding-left:24px;border-left:1px solid var(--line);line-height:1.7;max-width:255px}
.account{display:flex;align-items:center;gap:18px;min-width:0;flex-wrap:nowrap}
.account-profile{display:flex;align-items:center;gap:12px;min-width:0;max-width:340px;padding:0;border:0;background:transparent;color:var(--ink);text-align:left;cursor:pointer}
.account-avatar{width:41px;height:41px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:#e9eff2;color:#3b596a;font-size:.8125rem;font-weight:700}
.account-identity{display:block;min-width:0}.account-identity strong{display:block;font-size:.9375rem;line-height:1.5;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-identity small{display:block;font-size:.8125rem;line-height:1.5;color:#7e909b;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account>.button{font-size:.875rem;min-height:40px;padding:8px 14px;color:#526f80}
.sidebar{min-width:0;min-height:calc(100dvh - 91px);background:#fff;border-right:1px solid var(--line);padding:32px 20px;gap:20px;align-self:start;position:sticky;top:0;max-height:100dvh;overflow-y:auto}
.sidebar-caption{margin:0 10px 2px;font-size:.75rem;letter-spacing:.14em}
.nav{gap:7px;min-width:0;max-width:100%}
.nav button{width:100%;max-width:100%;min-width:0;min-height:48px;border-radius:10px;padding:13px 12px;font-size:.9375rem;font-weight:500;line-height:1.5;gap:11px;color:#647b89;white-space:normal;overflow-wrap:anywhere}
.nav button svg{width:21px;height:21px;stroke-width:1.6}
.nav button:hover{background:#f1f5f7;color:#29495c}
.nav button[aria-current=page]{background:#29495c;color:#fff;font-weight:600}
.content{width:100%;max-width:1560px;padding:38px clamp(26px,3.2vw,52px) 48px;margin:0 auto}
.hero{padding:0;border:0;border-radius:0;background:transparent;align-items:center;gap:30px;margin:6px 0 32px}
.hero>div:first-child{max-width:790px}
.hero h1{margin:8px 0 16px}.hero .eyebrow{margin:0 0 10px}
.hero p{font-size:1rem;line-height:1.8;margin-top:0;max-width:690px}
.hero .actions{align-self:center;flex-shrink:0;max-width:360px}
.page-head{margin:6px 0 28px;gap:24px}.page-head h1{font-size:clamp(2rem,3.4vw,2.8125rem)}.page-head p{font-size:1rem;margin-top:10px;color:#687c88}
.button,.icon-button{border:1px solid #d4e0e7;border-radius:8px;min-height:44px;padding:10px 17px;font-size:.875rem;font-weight:600;line-height:1.5;color:#36596d;background:#fff;transition:background .18s,color .18s,border-color .18s,box-shadow .18s}
.button.primary{color:#fff;background:#2c4e61;border-color:#2c4e61}
.button.primary:hover{background:#203e50;border-color:#203e50}
.button:hover,.icon-button:hover{background:#edf3f6;border-color:#aebfc9}
.button.danger{color:#a65351;border-color:#e5d3d1}.button.danger:hover{background:#fbf1f0}
.icon-button{padding:9px;min-width:42px;min-height:42px}
.stats{gap:18px;margin-bottom:32px}.stat{border-color:var(--line);border-radius:16px;padding:22px 24px;box-shadow:0 2px 3px #16304402;gap:12px;background:#fff}
.stat span{font-size:.875rem;font-weight:500;color:#708792}.stat strong{font-size:2.1875rem;line-height:1.15;letter-spacing:-.045em}
.symbol{width:42px;height:42px;background:#edf3f6;color:#66889a}.symbol.customer{background:#eaf1f5;color:#53788e}
.section-bar{margin:28px 0 18px;gap:16px}.section-bar h2{font-size:1.375rem}.toolbar+.section-bar{margin-top:20px}
.toolbar{gap:14px;align-items:center;margin-bottom:24px}.filters{padding:4px;gap:3px;border-radius:10px;background:#eaf0f3;border-color:#e1e8ec}
.filters button{min-height:40px;padding:8px 14px;border-radius:7px;font-size:.875rem;font-weight:500;color:#6b8190}
.filters button:hover{background:#f7fafb}.filters button[aria-pressed=true]{background:#fff;border-color:#dce5ea;color:#29495c;box-shadow:0 1px 4px #1630440a;font-weight:600}
.cards{gap:20px}.card,.cards>.form-card,.wf-builtin-cards .form-card{padding:26px;border:1px solid #dee6eb;border-radius:16px;background:#fff;box-shadow:0 2px 3px #16304402;gap:16px}
.card h3,.form-card h3{font-size:1.3125rem;line-height:1.4;font-weight:600;letter-spacing:-.04em}
.card-desc,.form-card p{font-size:.9375rem;line-height:1.8;color:#687c88}
.card .meta,.form-card small{font-size:.8125rem;line-height:1.7;color:#7b909d}
.card-actions{gap:9px;padding-top:18px;border-top-color:#e5ebef}.card-actions .button{padding:9px 12px;font-size:.8125rem;white-space:normal;min-height:42px}
.badge{padding:4px 9px;border-radius:6px;background:#eff3f5;color:#708795;font-size:.75rem;line-height:1.6;font-weight:600;white-space:normal}
.badge.active,.badge.completed{background:#edf5ef;color:#537c61}.badge.failed,.badge.revoked{background:#fbefed;color:#a35f57}
.table-wrap{border-color:#dfe7ec;border-radius:14px;box-shadow:0 2px 3px #16304402}
th,td{padding:17px 20px;font-size:.9375rem;line-height:1.7;border-bottom-color:#e6edf1}
th{font-size:.75rem;font-weight:600;letter-spacing:.065em;text-transform:uppercase;color:#7b929f;background:#f8fafb}
tbody tr:hover{background:#fafcfd}
label,.field-label{font-size:.875rem;font-weight:600;color:#526f80;gap:8px;line-height:1.5}
input:not([type=checkbox]),select,textarea{min-width:0;max-width:100%;border:1px solid #d4e0e7;border-radius:8px;background:#fbfcfd;color:#2b4555;padding:12px 13px;min-height:47px;font-size:1rem;line-height:1.6;font-weight:400}
input::placeholder,textarea::placeholder{color:#9aabb5;opacity:1}
input:not([type=checkbox]):focus,select:focus,textarea:focus{outline:2px solid #8dafc3;outline-offset:1px;background:#fff}
select[multiple]{background:#fff;min-height:112px}
input::file-selector-button{border-radius:5px;background:#e9f0f5;color:#4f7186;font-size:.875rem;padding:6px 9px}
input[type=checkbox]{accent-color:#2c4e61}.tick{font-weight:500;font-size:.9375rem;color:#587283;align-items:center}
.stack{gap:20px}.input-row{gap:20px}.builder-field,.wf-step{padding:23px;border:1px solid #dfe8ed;border-radius:12px;background:#f8fafb;gap:18px}
.settings{padding:24px;border-radius:14px;border-color:#dee6eb;background:#fff}.settings legend{font-family:Manrope,"DM Sans",sans-serif;font-weight:600;color:#2c4e61;font-size:1rem}
.banner{border-radius:10px;border:1px solid #dce7ed;background:#eaf1f5;color:#516e80;font-size:.9375rem;line-height:1.8;padding:18px 21px}
.empty{border-radius:14px;color:#7d929e;border-color:#dee6eb;padding:34px 24px;font-size:.9375rem}
dialog{width:min(820px,calc(100vw - 32px));border-radius:18px;border-color:#dce6ec;box-shadow:0 26px 90px #18344433}
dialog::backdrop{background:#18344480;backdrop-filter:blur(2px)}
.modal{padding:32px;gap:25px}.modal-head h2{font-size:1.6875rem;line-height:1.35}.modal-head .icon-button{flex-shrink:0}
.portal{width:min(780px,100%);padding-top:52px}.form-view{border-radius:18px;padding:38px;gap:24px;box-shadow:0 2px 3px #16304402}.form-view h1{font-size:clamp(2rem,3.4vw,2.8125rem);line-height:1.22}.wf-login{margin-top:16px}
.wf-filters{gap:20px;margin-bottom:24px}.wf-builtin-cards{gap:22px;margin-bottom:34px}.wf-run{padding:24px 27px;border-color:#dee6eb;border-radius:14px;box-shadow:0 2px 3px #16304402}.wf-run h3{font-size:1.1875rem}.wf-run p{font-size:.9375rem}.wf-run small{font-size:.8125rem}
.wf-summary{background:#e9f0f4;border:1px solid #dce7ed;border-radius:12px;color:#3b5d71}.wf-summary small{color:#6c8595}
.wf-current h3{font-size:1.375rem}.wf-timeline{border-color:#d7e3eb;gap:28px}.wf-timeline li:before{background:#527b92}.wf-timeline small{font-size:.8125rem;color:#7b929f}
.wf-settings{gap:24px}.wf-integration-status{border-color:#e0e8ed;border-radius:12px;background:#fafcfd}.wf-integration-status h3{font-size:1.125rem}
.response-values{gap:20px}.response-values dt{font-size:.875rem;color:#526f80;font-weight:600}.response-values dd{font-size:1rem;color:#2b4555;line-height:1.7}
.toast{background:#29495c;border-radius:10px;box-shadow:0 5px 20px #18344422;font-size:.9375rem}.error{color:#a65351}
:focus-visible{outline:3px solid #54849c;outline-offset:3px}
@media(max-width:1180px){.layout{grid-template-columns:216px minmax(0,1fr)}.workspace-header-inner{padding-inline:26px}.brand-label{display:none}.content{padding:32px 26px}.sidebar{padding:28px 16px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{align-items:flex-start}.hero .actions{max-width:270px}.stats{gap:14px}.stat{padding:20px}}
@media(max-width:780px){.layout{display:block}.workspace-header-inner{min-height:78px;padding:15px 20px;gap:16px}.logo{width:120px}.brand-lockup{gap:0}.account{gap:10px;flex-wrap:nowrap}.account-profile{max-width:220px;gap:9px}.account-avatar{width:36px;height:36px}.account-identity strong{font-size:.875rem}.account-identity small{display:none}.account>.button{min-height:40px;font-size:.8125rem;padding:8px 10px}.sidebar{position:static;min-height:0;max-height:none;padding:12px 16px;border-right:0;border-bottom:1px solid var(--line);overflow:visible;gap:0}.sidebar-caption{display:none}.nav{display:flex;flex-wrap:nowrap;gap:5px;overflow-x:auto;max-width:100%;padding-bottom:2px;scrollbar-width:thin}.nav button{flex:0 0 auto;width:auto;max-width:none;white-space:nowrap;min-height:44px;padding:10px 12px;font-size:.875rem;gap:8px}.nav button svg{width:18px;height:18px}.content{padding:28px 20px 40px}.hero{display:flex;flex-direction:column;align-items:flex-start;gap:20px;margin:4px 0 28px}.hero h1{font-size:2rem;margin-bottom:12px}.hero p{font-size:.9375rem}.hero .actions{max-width:100%;align-self:flex-start}.page-head h1{font-size:2rem}.page-head p{font-size:.9375rem}.stats{gap:12px;margin-bottom:26px}.stat{padding:17px}.stat strong{font-size:1.875rem}.stat .symbol{display:none}.stat span{font-size:.8125rem}.cards{gap:16px}.card,.cards>.form-card,.wf-builtin-cards .form-card{padding:22px}.section-bar{margin-top:24px}.section-bar h2{font-size:1.375rem}.wf-builtin-cards{grid-template-columns:1fr}.wf-run{padding:22px}.portal{padding:30px 18px 45px}.form-view{padding:26px}.modal{padding:25px}th,td{padding:14px 17px}}
@media(max-width:490px){.workspace-header-inner{gap:10px;padding:13px 16px}.logo{width:105px}.account-profile{max-width:150px}.account-identity{max-width:105px}.account-identity strong{font-size:.8125rem}.account-avatar{width:32px;height:32px;font-size:.75rem}.account>.button{padding:8px;font-size:.75rem}.content{padding:25px 17px 36px}.cards,.input-row{grid-template-columns:1fr}.stats{gap:8px}.stat{padding:14px 11px;gap:10px;border-radius:12px}.stat strong{font-size:1.75rem}.stat span{font-size:.75rem}.card,.cards>.form-card,.wf-builtin-cards .form-card{padding:21px}.filters{width:100%}.filters button{padding:8px 10px}.card-actions .button{font-size:.8125rem}.wf-filters{grid-template-columns:1fr}.form-view{padding:23px}.form-view h1{font-size:2rem}.modal{padding:22px}.modal-head h2{font-size:1.5rem}.settings{padding:21px}.wf-step{padding:19px}.wf-summary{padding:18px}}
@media(prefers-reduced-motion:reduce){.button,.icon-button{transition:none}dialog::backdrop{backdrop-filter:none}}
/* Response tables keep dates and long field labels readable while scrolling within the panel. */
#response-list-results td{min-width:140px;max-width:320px;vertical-align:top}
#response-list-results td:first-child{min-width:160px;white-space:nowrap}
#response-list-results th{min-width:140px;max-width:320px;white-space:normal}
#response-list-results details{margin-bottom:18px}
#response-list-results details .actions{margin-top:18px;align-items:flex-start;gap:12px 20px}
#response-list-results details label{max-width:320px}
.wf-submitted{display:grid;gap:18px}.wf-submitted>h3,.wf-submitted>p{margin:0}
.wf-submitted .response-values{margin:0}.wf-submitted dd{white-space:normal;overflow-wrap:anywhere}
.wf-submitted .response-values>div{break-inside:avoid}.wf-submitted .response-values a.button{margin:3px 5px 3px 0}
