:root {
    --ink: #14221d;
    --muted: #65736e;
    --line: #dde7e2;
    --paper: #f5f8f6;
    --white: #fff;
    --green: #2e9e70;
    --green-dark: #157452;
    --mint: #dff7eb;
    --lime: #c9f36a;
    --navy: #172b2a;
    --red: #c64b4b;
    --amber: #b97913;
    --shadow: 0 18px 55px rgba(19, 55, 43, .08);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
button, input, textarea, select { font: inherit; }
a { color: inherit; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 18px; background: var(--navy); color: #fff; display: flex; flex-direction: column; overflow: hidden; z-index: 20; }
.brand { flex: 0 0 auto; display: flex; gap: 12px; align-items: center; color: #fff; text-decoration: none; padding: 0 9px 30px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--navy); background: var(--lime); font-size: 14px; font-weight: 900; letter-spacing: -.05em; }
.brand strong, .brand small { display: block; }.brand strong { font-size: 16px; }.brand small { margin-top: 2px; color: #9bb0a8; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
/* min-height:0 ist tragend: der Flex-Default min-height:auto verbietet dem
   Nav-Block sonst, unter seine Inhaltshoehe zu schrumpfen — bei vielen
   Eintraegen laeuft die Sidebar dann ueber und schneidet die letzten ab. */
.main-nav { display: grid; gap: 7px; align-content: start; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.22) transparent; }
.main-nav::-webkit-scrollbar { width: 6px; }
.main-nav::-webkit-scrollbar-thumb { border-radius: 3px; background: rgba(255,255,255,.22); }
.nav-group { display: grid; gap: 7px; }
.nav-group + .nav-group { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.nav-group-label { padding: 0 13px 2px; color: #7d938b; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.nav-link { display: flex; gap: 12px; align-items: center; padding: 12px 13px; border-radius: 11px; color: #b8c7c2; text-decoration: none; font-size: 14px; font-weight: 650; }
.nav-link span { width: 19px; color: #90aaa0; font-size: 18px; text-align: center; }.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.09); }.nav-link.active span { color: var(--lime); }
.sidebar-note { flex: 0 0 auto; margin-top: 12px; display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(255,255,255,.04); }
.sidebar-note strong, .sidebar-note small { display: block; }.sidebar-note strong { font-size: 12px; }.sidebar-note small { margin-top: 3px; color: #92a8a0; font-size: 10px; line-height: 1.4; }.signal { width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(201,243,106,.1); }
.page-shell { min-width: 0; }.topbar { min-height: 76px; padding: 12px clamp(20px, 4vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 22px; background: rgba(255,255,255,.82); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.topbar-copy strong, .topbar-copy span { display: block; }.topbar-copy strong { font-size: 15px; }.eyebrow { color: var(--green-dark); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.user-menu { display: flex; align-items: center; gap: 10px; }.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mint); color: var(--green-dark); font-size: 12px; font-weight: 850; }.user-name { font-size: 13px; font-weight: 700; }
.text-button { padding: 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }.text-button:hover { color: var(--ink); }.text-button.danger { color: var(--red); margin-top: 14px; }
.main-content { width: min(1400px, 100%); margin: 0 auto; padding: clamp(24px, 4vw, 56px); }
h1, h2, h3, p { margin-top: 0; }h1 { margin: 8px 0 14px; font-size: clamp(30px, 4vw, 50px); line-height: 1.04; letter-spacing: -.045em; }h2 { margin: 5px 0 0; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -.035em; }h3 { margin-bottom: 8px; }p { color: var(--muted); line-height: 1.65; }
.hero { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 52px); border-radius: 24px; background: var(--navy); color: #fff; box-shadow: var(--shadow); }.hero::after { content: ""; position: absolute; right: -80px; bottom: -130px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(201,243,106,.34), transparent 67%); pointer-events: none; }.hero h1 { max-width: 760px; }.hero p { max-width: 700px; color: #b9cbc4; }.compact-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }.compact-hero .button { position: relative; z-index: 1; flex: 0 0 auto; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: 10px 17px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 780; text-decoration: none; cursor: pointer; transition: transform .16s, box-shadow .16s, background .16s; }.button:hover { transform: translateY(-1px); }.button.primary { color: #113026; background: var(--lime); box-shadow: 0 8px 20px rgba(201,243,106,.16); }.button.primary:hover { background: #d7fa89; }.button.secondary { border-color: var(--line); background: var(--surface); color: var(--ink); }.button.dark { background: var(--navy); color: #fff; }.button.tertiary { min-height: 36px; padding: 8px 12px; border-color: var(--line); background: var(--surface-2); color: var(--ink); }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }.metric-grid-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }.metric-card { padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }.metric-card span, .metric-card small, .metric-card strong { display: block; }.metric-card span { color: var(--muted); font-size: 12px; font-weight: 700; }.metric-card strong { margin: 8px 0 3px; font-size: 34px; letter-spacing: -.04em; }.metric-card small { color: #8a9692; }.metric-card.accent { background: var(--mint); border-color: #c5ead7; }
.stat-prompt-text { max-width: 640px; line-height: 1.5; }
.section-block { margin-top: 48px; }.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }.section-note { margin: 10px 2px 0; font-size: 10px; }.count-pill, .tag { padding: 6px 10px; border-radius: 999px; background: var(--mint); color: var(--green-dark); font-size: 11px; font-weight: 800; }.tag.neutral { background: #edf1ef; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }.project-card-wrap { display: flex; flex-direction: column; gap: 8px; }.project-card-wrap.archived .project-card { opacity: .92; background: var(--surface-2); }.project-card { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 6px 20px rgba(18,62,47,.03); text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s; }.project-card:hover { transform: translateY(-2px); border-color: #b8d8c9; box-shadow: var(--shadow); }.project-card-actions { display: flex; justify-content: flex-end; gap: 14px; padding: 0 6px; }.project-card-actions form { margin: 0; }.project-card-actions .text-button { margin-top: 0; font-size: 11px; }.archived-section { margin-top: 40px; padding-top: 8px; border-top: 1px solid var(--line); }
.status { display: inline-flex; align-items: center; min-height: 24px; padding: 4px 8px; border-radius: 999px; background: #eef1f0; color: var(--muted); font-size: 10px; font-weight: 850; white-space: nowrap; }.status.completed, .status.done, .status.idle { color: #16714e; background: #e2f6ed; }.status.running, .status.in_progress, .status.busy { color: #28628a; background: #e8f2f9; }.status.queued, .status.review, .status.stopping { color: #94610e; background: #fff2d5; }.status.paused { color: #5b3d91; background: #efe8f8; }.status.failed, .status.cancelled, .status.canceled, .status.rejected, .status.unavailable { color: #9a3838; background: #fbe6e6; }.status.archived { color: #5c6670; background: #edf1ef; }.project-card-head, .project-meta { display: flex; justify-content: space-between; align-items: center; }.site-letter, .provider-logo { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--navy); color: var(--lime); font-weight: 900; }.project-card h3 { margin: 20px 0 4px; }.project-card p { overflow: hidden; margin-bottom: 22px; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.project-meta { padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }.project-meta strong { color: var(--ink); font-size: 24px; }.project-meta small, .score-cell { font-size: 11px; color: var(--muted); }
.empty-state { padding: 58px 24px; border: 1px dashed #bfd2c9; border-radius: 18px; background: rgba(255,255,255,.55); text-align: center; }.empty-state.small { padding: 28px; }.empty-icon { display: block; color: var(--green); font-size: 40px; }.empty-state p { margin-bottom: 0; }
.flash, .notice { margin-bottom: 20px; padding: 15px 18px; border: 1px solid #bce3cf; border-radius: 12px; background: var(--mint); color: #175c44; font-size: 13px; }.toast-stack { position: fixed; top: 18px; right: 18px; z-index: 1200; display: flex; flex-direction: column; gap: 10px; width: min(360px, calc(100vw - 36px)); pointer-events: none; }.toast { padding: 14px 16px; border: 1px solid #bce3cf; border-radius: 12px; background: var(--surface); color: #175c44; font-size: 13px; line-height: 1.45; box-shadow: 0 12px 32px rgba(18,62,47,.12); opacity: 0; transform: translateY(-8px); transition: opacity .22s ease, transform .22s ease; pointer-events: auto; }.toast.show { opacity: 1; transform: translateY(0); }.toast.success { border-color: #bce3cf; background: var(--mint); color: #175c44; }.toast.error { border-color: #f1c3c3; background: #fff0f0; color: #873939; }.toast.info { border-color: #c5d9ec; background: #eef4fa; color: #28628a; }.notice strong { display: block; margin-bottom: 5px; }.notice p { margin: 0; color: inherit; }.notice.danger { color: #873939; border-color: #f1c3c3; background: #fff0f0; }
.form-page { width: min(940px, 100%); margin: 0 auto; }.page-intro { max-width: 760px; margin-bottom: 26px; }.panel { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 8px 24px rgba(24,67,51,.035); }.form-panel { padding: clamp(22px, 4vw, 42px); }.form-panel fieldset { margin: 0 0 34px; padding: 0 0 30px; border: 0; border-bottom: 1px solid var(--line); }.form-panel fieldset:last-of-type { border-bottom: 0; }.form-panel legend { margin-bottom: 18px; font-weight: 850; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.field { display: grid; gap: 7px; color: var(--ink); font-size: 12px; font-weight: 750; }.field.full { grid-column: 1 / -1; }.field span small { color: var(--muted); font-weight: 500; }.field > small { color: var(--muted); font-weight: 500; }.field input, .field textarea, .field select, .recommendation-form select { width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 9px; outline: none; background: var(--surface-2); color: var(--ink); }.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(46,158,112,.1); }.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.choice-grid-2 { grid-template-columns: repeat(2, 1fr); }.choice { position: relative; cursor: pointer; }.choice input { position: absolute; opacity: 0; }.choice span { display: block; min-height: 96px; padding: 18px; border: 1px solid var(--line); border-radius: 13px; }.choice strong, .choice small { display: block; }.choice small { margin-top: 5px; color: var(--muted); line-height: 1.4; }.choice input:checked + span { border-color: var(--green); background: var(--mint); box-shadow: inset 0 0 0 1px var(--green); }.form-actions { display: flex; justify-content: flex-end; gap: 10px; }.search-results { margin-top: 8px; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; }.search-results button { display: block; width: 100%; padding: 12px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; }.search-results button:hover { background: var(--mint); }.selected-customer { margin-top: 10px; padding: 10px 12px; border-radius: 9px; background: var(--mint); color: var(--green-dark); font-size: 12px; }.selected-customer button { float: right; border: 0; background: transparent; color: inherit; text-decoration: underline; cursor: pointer; }
.project-hero, .scan-head { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }.project-hero h1, .scan-head h1 { margin-bottom: 8px; }.project-hero a:not(.back-link), .scan-head p { color: var(--muted); font-size: 13px; }.back-link { display: block; margin-bottom: 24px; color: var(--muted); font-size: 12px; text-decoration: none; }.project-facts { display: grid; grid-template-columns: repeat(3, auto); gap: 28px; margin: auto 0; }.project-facts dt { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }.project-facts dd { margin: 5px 0 0; font-size: 13px; font-weight: 750; }.scan-launch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }.scan-launch-grid-focus { grid-template-columns: repeat(2, minmax(0, 1fr)); }.tag.accent { background: #dff3e9; color: #1d6b47; }.launch-card { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; }.launch-card h2 { margin: 15px 0 8px; font-size: 23px; }.launch-card p { flex: 1; }.check { display: flex; gap: 8px; margin: 3px 0 16px; color: var(--muted); font-size: 11px; }.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }.table-wrap.scrollable { max-height: min(520px, 62vh); overflow: auto; }.table-wrap.scrollable thead th { position: sticky; top: 0; z-index: 1; box-shadow: 0 1px 0 var(--line); }.section-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }.table-filter { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 11px; font-weight: 700; }.table-filter select { min-width: 72px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 650; }.table-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; white-space: nowrap; }.table-actions form { margin: 0; }.table-actions .text-button { margin-top: 0; font-size: 11px; }table { width: 100%; border-collapse: collapse; }th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 12px; }th { color: var(--muted); background: #f9fbfa; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }tbody tr:last-child td { border-bottom: 0; }.table-link { color: var(--green-dark); font-weight: 750; text-decoration: none; }
.scan-actions { display: flex; align-items: end; gap: 9px; }.progress-panel { margin-top: 24px; padding: 23px; }.progress-copy { display: flex; justify-content: space-between; align-items: center; }.progress-copy h2 { margin: 8px 0 4px; font-size: 21px; }.progress-copy p { margin-bottom: 0; }.progress-copy > strong { font-size: 28px; }.progress-track, .mini-track { overflow: hidden; height: 8px; border-radius: 99px; background: #e8efeb; }.progress-track { margin-top: 16px; }.progress-track span, .mini-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--lime)); transition: width .35s; }
.progress-panel[data-progress-phase="queued"] .activity-pulse { background: #d4a017; box-shadow: 0 0 0 0 rgba(212,160,23,.35); }
.worker-start-form, .worker-start-panel { display: flex; gap: 14px; align-items: center; }
.worker-start-form strong, .worker-start-form small, .worker-start-panel strong, .worker-start-panel p { display: block; }
.worker-start-form strong, .worker-start-panel strong { font-size: 11px; }
.worker-start-form small, .worker-start-panel p { margin: 2px 0 0; color: var(--muted); font-size: 9px; }
.worker-start-form .button, .worker-start-panel .button { flex: 0 0 auto; margin: 0; }
.worker-start-panel { margin-top: 14px; padding: 18px 22px; justify-content: space-between; }
.empty-state form { margin-top: 14px; } grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; margin-top: 18px; padding: 16px 18px; border: 1px solid #d8e8e0; border-radius: 13px; background: var(--surface-2); }.activity-copy { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }.activity-copy strong { display: block; margin-bottom: 4px; font-size: 13px; }.activity-copy p { margin: 0; font-size: 11px; line-height: 1.5; }.activity-pulse { flex: 0 0 auto; width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(46,158,112,.3); animation: activity-pulse 1.8s infinite; }.progress-metrics { display: grid; grid-template-columns: repeat(2, minmax(150px, auto)); gap: 22px; margin: 0; }.progress-metrics dt { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }.progress-metrics dd { margin: 5px 0 0; font-size: 11px; font-weight: 800; }.progress-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }.progress-steps li { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border: 1px solid var(--line); border-radius: 11px; color: #88948f; background: var(--surface); }.progress-steps li > span { display: grid; place-items: center; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: #edf1ef; font-size: 10px; font-weight: 850; }.progress-steps strong, .progress-steps small { display: block; }.progress-steps strong { font-size: 11px; }.progress-steps small { margin-top: 2px; font-size: 9px; }.progress-steps li.active { color: #275d49; border-color: #a9d8c2; background: var(--mint); }.progress-steps li.active > span { color: #fff; background: var(--green); }.progress-steps li.done { color: #39715c; }.progress-steps li.done > span { color: transparent; background: #dff3e9; }.progress-steps li.done > span::after { content: "✓"; color: var(--green-dark); }.progress-actions { display: flex; gap: 18px; align-items: center; justify-content: space-between; margin-top: 14px; flex-wrap: wrap; }.progress-actions .text-button.danger { margin-top: 0; }.speed-up-form { display: flex; gap: 14px; align-items: center; margin-left: auto; }.speed-up-form strong, .speed-up-form small { display: block; }.speed-up-form strong { font-size: 11px; }.speed-up-form small { margin-top: 2px; color: var(--muted); font-size: 9px; }.speed-up-form .button { flex: 0 0 auto; }
.live-preview-panel { margin-top: 16px; padding: 16px; border: 1px solid #c9dfd3; border-radius: 14px; background: var(--surface-2); }.live-preview-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin-bottom: 12px; }.live-preview-head strong { display: block; margin-bottom: 4px; font-size: 13px; }.live-preview-head p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }.live-preview-tools { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }.live-preview-filter { display: grid; gap: 4px; margin: 0; color: var(--muted); font-size: 10px; font-weight: 700; }.live-preview-filter select { min-width: 140px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 12px; }.live-preview-count, .live-preview-mentions { color: var(--green-dark); font-size: 11px; font-weight: 800; white-space: nowrap; }.live-preview-mentions { color: #1d4f8c; }.live-preview-feed { display: grid; gap: 10px; max-height: min(460px, 55vh); overflow: auto; padding-right: 4px; }.live-preview-empty { margin: 0; padding: 18px; border: 1px dashed #c8d8d0; border-radius: 12px; color: var(--muted); text-align: center; font-size: 12px; background: var(--surface); }.live-exchange { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }.live-exchange header { display: flex; justify-content: space-between; gap: 12px; align-items: start; margin-bottom: 10px; }.live-exchange-meta { display: grid; gap: 2px; }.live-exchange-meta strong { font-size: 12px; }.live-exchange-meta span { color: var(--muted); font-size: 10px; }.live-exchange-block { margin-top: 10px; }.live-exchange-block small { display: block; margin-bottom: 4px; color: var(--green-dark); font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }.live-exchange-block p { margin: 0; font-size: 12px; line-height: 1.55; }.live-exchange-block pre { margin: 0; white-space: pre-wrap; word-break: break-word; color: #33443e; font-family: inherit; font-size: 12px; line-height: 1.55; }.live-exchange footer { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }.live-exchange-meta-line { margin-left: auto; }.live-mention-stats { display: flex; gap: 6px; flex-wrap: wrap; }.live-mention-badge { padding: 2px 7px; border-radius: 999px; font-size: 9px; font-weight: 800; white-space: nowrap; }.live-mention-badge--name { background: #e8f4ec; color: #1d6b47; }.live-mention-badge--website { background: #e8eef8; color: #1d4f8c; }.live-mention-badge.is-empty { opacity: .45; }.live-mark { padding: 0 2px; border-radius: 3px; }.live-mark--name { background: #c9ebd8; color: #174d34; }.live-mark--website { background: #cdddf5; color: #123f72; }.live-exchange--failed { border-color: #f0c7c7; background: #fff8f8; }
@keyframes activity-pulse { 70% { box-shadow: 0 0 0 8px rgba(46,158,112,0); } 100% { box-shadow: 0 0 0 0 rgba(46,158,112,0); } }
.score-overview { display: grid; grid-template-columns: minmax(330px, 1.25fr) 1fr; gap: 16px; margin-top: 26px; }.overall-score { display: flex; gap: 24px; align-items: center; padding: 28px; border-radius: 20px; background: var(--navy); color: #fff; }.overall-score p { color: #b8cac3; }.score-ring { --score: 0; flex: 0 0 auto; width: 140px; height: 140px; padding: 10px; border-radius: 50%; background: conic-gradient(var(--lime) calc(var(--score) * 1%), rgba(255,255,255,.1) 0); }.score-ring > span { display: grid; place-items: center; align-content: center; width: 100%; height: 100%; border-radius: 50%; background: var(--navy); }.score-ring strong { font-size: 40px; line-height: 1; }.score-ring small { color: #9eb2aa; }.delta { display: inline-block; padding: 5px 8px; border-radius: 7px; background: rgba(255,255,255,.08); font-size: 11px; font-weight: 800; }.delta.positive { color: var(--lime); }.delta.negative { color: #ff9999; }.dimension-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.dimension-grid-extended { grid-template-columns: repeat(2, minmax(0, 1fr)); }.score-dimension-note { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }.dimension-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }.dimension-grid span, .dimension-grid strong { display: block; }.dimension-grid span { color: var(--muted); font-size: 11px; }.dimension-grid strong { margin: 7px 0 12px; font-size: 26px; }
.provider-results, .provider-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 14px; }.provider-result, .provider-card { padding: 20px; }.provider-title { display: flex; gap: 10px; align-items: center; }.provider-title > div { min-width: 0; flex: 1; }.provider-title strong, .provider-title small { display: block; }.provider-title small { overflow: hidden; margin-top: 2px; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.provider-score { display: flex; justify-content: space-between; align-items: end; margin: 24px 0; }.provider-score strong { font-size: 34px; }.provider-score strong small { color: var(--muted); font-size: 11px; }.provider-score span { color: var(--muted); font-size: 11px; }.provider-score.muted { color: var(--muted); }.provider-meta { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }.provider-actions { display: grid; gap: 8px; margin-top: 16px; }.provider-actions form { margin: 0; }.provider-actions .button { width: 100%; margin-top: 0; }.provider-picker { margin: 16px 0 0; padding: 0; border: 0; }.provider-picker legend { margin-bottom: 6px; font-size: 11px; font-weight: 800; }.provider-picker .field-hint { margin: 0 0 10px; color: var(--muted); font-size: 10px; }.provider-picker-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }.check.compact { padding: 8px 10px; font-size: 11px; }.inline-error { margin: 12px 0 0; color: var(--red); font-size: 11px; }.provider-card > div:first-child { display: flex; gap: 8px; align-items: center; }.provider-card > .status { float: right; margin-top: -24px; }.provider-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }.provider-card.ready .provider-dot { background: var(--green); }.provider-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; margin: 24px 0 0; font-size: 11px; }.provider-card dt { color: var(--muted); }.provider-card dd { margin: 0; text-align: right; overflow-wrap: anywhere; }.provider-card p { margin: 14px 0 0; font-size: 11px; }
.finding-list, .recommendation-list { display: grid; gap: 11px; }.finding { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }.finding h3 { margin-bottom: 5px; font-size: 15px; }.finding p { margin-bottom: 7px; font-size: 12px; }.finding code { display: block; overflow-x: auto; margin-bottom: 8px; padding: 8px; border-radius: 6px; background: #f2f5f3; font-size: 10px; }.finding a { display: block; overflow: hidden; color: var(--green-dark); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.severity { align-self: start; padding: 5px 7px; border-radius: 6px; color: #4e625a; background: #ecf1ee; font-size: 9px; font-weight: 850; text-align: center; }.severity.critical, .severity.high { color: #903b3b; background: #fde8e8; }.severity.medium { color: #8d600f; background: #fff2d5; }
.recommendation { display: grid; grid-template-columns: 42px minmax(0,1fr) 140px; gap: 18px; padding: 20px; }.priority-number { display: grid; place-items: center; align-self: start; width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: var(--lime); font-weight: 850; }.recommendation-head { display: flex; justify-content: space-between; gap: 20px; }.recommendation h3 { margin: 5px 0 13px; }.recommendation p { margin-bottom: 8px; font-size: 12px; }.recommendation details { margin-top: 12px; font-size: 12px; }.recommendation summary { color: var(--green-dark); cursor: pointer; font-weight: 750; }.target-url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.recommendation-form { display: grid; align-content: start; gap: 8px; }.recommendation-form select { font-size: 11px; }
.response-dialog { width: min(900px, calc(100% - 30px)); max-height: 88vh; padding: 0; border: 0; border-radius: 17px; box-shadow: 0 30px 100px rgba(0,0,0,.28); }.response-dialog::backdrop { background: rgba(12,30,24,.62); backdrop-filter: blur(3px); }.dialog-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: start; padding: 20px 22px; border-bottom: 1px solid var(--line); background: var(--surface); z-index: 1; }.dialog-head h2 { font-size: 23px; }.dialog-mentions { margin: 6px 0 0; color: #1d4f8c; font-size: 11px; font-weight: 800; }.icon-button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }.dialog-body { padding: 20px; background: var(--paper); }.raw-item { margin-bottom: 13px; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }.raw-item:last-child { margin-bottom: 0; }.raw-item header { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; }.raw-item header span { color: var(--muted); font-size: 10px; }.raw-item h3 { font-size: 13px; line-height: 1.55; }.raw-item pre { margin: 0; white-space: pre-wrap; word-break: break-word; color: #33443e; font-family: inherit; font-size: 12px; line-height: 1.6; }.raw-item-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }.dialog-footer { display: flex; justify-content: center; gap: 8px; padding: 14px; border-top: 1px solid var(--line); background: var(--surface); }
.error-page { max-width: 600px; margin: 12vh auto; text-align: center; }.error-code { display: block; color: var(--green); font-size: 72px; font-weight: 900; letter-spacing: -.06em; }
.mobile-only, .nav-backdrop { display: none; }
.guide-page { width: min(1040px, 100%); margin: 0 auto; }.guide-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin: 28px 0; background: var(--line); }.guide-overview > div { padding: 22px; background: var(--surface); }.guide-overview strong, .guide-overview small { display: block; }.guide-overview strong { margin: 12px 0 5px; font-size: 15px; }.guide-overview small { color: var(--muted); font-size: 12px; line-height: 1.55; }.guide-number { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--mint); color: var(--green-dark); font-size: 12px; font-weight: 850; }.guide-steps { display: grid; gap: 16px; }.guide-step { padding: clamp(22px, 3vw, 32px); }.guide-step h2 { margin: 12px 0 10px; }.guide-step p:last-child { margin-bottom: 0; }.guide-definition { display: grid; grid-template-columns: 170px 1fr; gap: 12px 20px; margin: 20px 0 0; }.guide-definition dt { color: var(--green-dark); font-size: 12px; font-weight: 850; }.guide-definition dd { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }.guide-profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }.guide-profile-grid > div { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }.guide-profile-grid strong, .guide-profile-grid span, .guide-profile-grid small { display: block; }.guide-profile-grid span { margin: 5px 0; color: var(--green-dark); font-size: 12px; font-weight: 750; }.guide-profile-grid small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.ai-assist-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; padding: 16px 18px; border: 1px solid #c5e8d6; border-radius: 14px; background: linear-gradient(135deg, #f3fbf7, #eef8f3); }.ai-assist-bar.is-loading { border-color: #b8d4e8; background: linear-gradient(135deg, #f4f8fc, #eef4fa); }.ai-assist-bar.is-loading .ai-assist-copy p, .ai-assist-bar.is-loading .ai-assist-actions { display: none; }.ai-assist-bar:not(.is-loading) .ai-assist-loading { display: none; }.ai-assist-bar.is-error { border-color: #f1c3c3; background: #fff6f6; }.ai-assist-copy strong { display: block; margin-bottom: 4px; font-size: 13px; }.ai-assist-copy p { margin: 0; font-size: 12px; line-height: 1.5; }.ai-assist-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: 0 0 auto; }.ai-assist-actions .text-button { margin-top: 0; font-size: 11px; }.ai-assist-loading { flex: 1 1 100%; width: 100%; }.ai-assist-loading-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }.ai-assist-loading-head .activity-copy { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }.ai-assist-loading-head .activity-copy strong { display: block; margin-bottom: 4px; font-size: 13px; }.ai-assist-loading-head .activity-copy p { margin: 0; font-size: 11px; line-height: 1.5; color: var(--muted); }.ai-assist-percent { flex: 0 0 auto; font-size: 22px; line-height: 1; }.ai-assist-progress-track { margin-top: 14px; }.ai-assist-metrics { display: grid; grid-template-columns: auto; gap: 12px; margin: 14px 0 0; }.ai-assist-metrics dt { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }.ai-assist-metrics dd { margin: 5px 0 0; font-size: 11px; font-weight: 800; }.field-suggestion { margin-top: 8px; padding: 10px 12px; border: 1px dashed #b8d8c9; border-radius: 10px; background: var(--surface-2); }.field-suggestion-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }.field-suggestion-head small { color: var(--green-dark); font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }.field-suggestion-actions { display: flex; gap: 10px; }.field-suggestion p { margin: 0; color: var(--ink); font-size: 12px; line-height: 1.55; font-weight: 500; }.field-suggestion ul { margin: 0; padding-left: 18px; color: var(--ink); font-size: 12px; line-height: 1.5; }.fieldset-note { margin: -8px 0 14px; font-size: 12px; color: var(--green-dark); }
.focus-switch { display: inline-flex; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }.focus-switch-btn { padding: 8px 16px; border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 800; text-decoration: none; }.focus-switch-btn.active, .focus-switch-btn:hover { color: var(--green-dark); background: var(--mint); }
.page-intro { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 18px; max-width: none; margin-bottom: 26px; }.page-intro > div:first-child { flex: 1 1 320px; max-width: 760px; }
.regional-context-card { padding: 20px 22px; margin-bottom: 18px; }.regional-context-form { margin-top: 4px; }.regional-context-grid { margin-top: 8px; }.regional-context-hint { margin: 12px 0 0; font-size: 12px; color: var(--green-dark); line-height: 1.5; }.regional-fields { margin-top: 18px; }.location-picker-label { margin: 16px 0 8px; font-size: 12px; font-weight: 750; }.location-picker-label small { color: var(--muted); font-weight: 500; }.location-picker { display: grid; gap: 8px; margin: 0 0 10px; }.location-option { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); cursor: pointer; }.location-option > label { display: flex; flex: 1; gap: 10px; align-items: flex-start; min-width: 0; cursor: pointer; }.location-option input[type="checkbox"] { margin-top: 3px; }.location-option strong, .location-option small { display: block; }.location-option small { margin-top: 2px; color: var(--muted); font-weight: 500; }.location-option.is-selected, .location-option:has(input:checked) { border-color: var(--green); background: var(--mint); }.location-option .text-button { margin: 0 0 0 auto; }.form-actions.compact { margin-top: 14px; padding-top: 0; border-top: 0; }.notice.compact { margin-bottom: 14px; padding: 12px 14px; }.regional-context-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }.regional-context-facts .full { grid-column: 1 / -1; }.regional-context-facts dt { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }.regional-context-facts dd { margin: 4px 0 0; font-size: 13px; }
.question-editor { padding: clamp(22px, 4vw, 32px); }.question-list { display: grid; gap: 14px; }.question-row { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }.question-row-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }.question-index { color: var(--muted); font-size: 11px; font-weight: 800; }.question-row-actions { display: flex; gap: 14px; margin-top: 8px; }.question-row-actions .text-button { margin-top: 0; font-size: 11px; }.question-provider-picker { margin-top: 12px; padding: 0; border: 0; }.question-provider-picker legend { margin-bottom: 4px; font-size: 11px; font-weight: 800; }.question-row .field-suggestion ul button { display: block; width: 100%; margin: 0; padding: 8px 0; border: 0; background: transparent; color: var(--ink); text-align: left; font: inherit; font-size: 12px; line-height: 1.5; cursor: pointer; }.question-row .field-suggestion ul button:hover { color: var(--green-dark); text-decoration: underline; }.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.worker-target-form { padding: 22px; }.worker-target-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }.worker-target-option { position: relative; cursor: pointer; }.worker-target-option input { position: absolute; opacity: 0; pointer-events: none; }.worker-target-option strong, .worker-target-option span { display: block; text-align: center; }.worker-target-option strong { padding: 22px 12px 4px; font-size: 34px; letter-spacing: -.04em; border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; background: var(--surface-2); }.worker-target-option span { padding: 0 12px 16px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 700; }.worker-target-option.is-selected strong, .worker-target-option input:checked + strong { border-color: var(--green); background: var(--mint); color: var(--green-dark); }.worker-target-option.is-selected span, .worker-target-option input:checked + strong + span { border-color: var(--green); background: var(--mint); color: var(--green-dark); }.worker-target-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }.worker-target-actions p { margin: 0; max-width: 640px; font-size: 12px; }.worker-target-actions code { font-size: 11px; }.muted-line { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 500; }
@media (max-width: 1000px) {
    .app-shell { grid-template-columns: 1fr; }.sidebar { position: fixed; left: 0; transform: translateX(-105%); width: 248px; transition: transform .2s; }.nav-open .sidebar { transform: translateX(0); }.nav-backdrop { position: fixed; inset: 0; background: rgba(12,30,24,.5); z-index: 10; }.nav-open .nav-backdrop { display: block; }.mobile-only { display: grid; }.topbar { justify-content: flex-start; }.user-menu { margin-left: auto; }.score-overview { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .main-content { padding: 22px 16px 42px; }.topbar { padding: 11px 14px; }.topbar-copy { display: none; }.user-name { display: none; }.compact-hero, .project-hero, .scan-head { display: block; }.compact-hero .button, .scan-actions { margin-top: 20px; }.metric-grid, .metric-grid-wide, .form-grid, .choice-grid, .scan-launch-grid, .dimension-grid, .guide-overview, .guide-profile-grid, .worker-target-grid { grid-template-columns: 1fr; }.field.full { grid-column: auto; }.project-facts { margin-top: 25px; grid-template-columns: 1fr 1fr; }.score-overview { display: block; }.overall-score { display: block; }.score-ring { margin-bottom: 22px; }.dimension-grid { display: grid; margin-top: 12px; grid-template-columns: 1fr 1fr; }.recommendation { grid-template-columns: 34px 1fr; }.recommendation-form { grid-column: 2; grid-template-columns: 1fr auto; }.recommendation-head { display: block; }.finding { grid-template-columns: 1fr; }.severity { justify-self: start; }.scan-actions { align-items: stretch; flex-direction: column; }.scan-actions .button { width: 100%; }.guide-definition { grid-template-columns: 1fr; gap: 4px; }.guide-overview { gap: 1px; }.progress-activity, .progress-metrics, .progress-steps { grid-template-columns: 1fr; }.progress-metrics { gap: 12px; }    .progress-actions, .speed-up-form, .worker-start-form { align-items: stretch; flex-direction: column; }.speed-up-form, .worker-start-form { width: 100%; }.speed-up-form .button, .worker-start-form .button { width: 100%; }
    .ai-assist-bar { flex-direction: column; }.ai-assist-actions { align-items: stretch; width: 100%; }.ai-assist-actions .button { width: 100%; }.worker-target-actions { align-items: stretch; }.worker-target-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
.seo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.seo-grid .form-panel legend { display: block; margin-bottom: 8px; font-weight: 850; }
.code-block { overflow-x: auto; margin: 10px 0 14px; padding: 12px 14px; border-radius: 10px; background: #f2f5f3; color: #33443e; font-size: 11px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.status.packaged, .status.approved, .status.scheduled { color: #28628a; background: #e8f2f9; }
.status.published, .status.live { color: #16714e; background: #e2f6ed; }
.status.pending_review, .status.pending_approval, .status.draft { color: #94610e; background: #fff2d5; }
.status.paused { color: #5c6670; background: #edf1ef; }
@media (max-width: 720px) { .seo-grid { grid-template-columns: 1fr; } }
.assignment-matrix .data-table { width: 100%; border-collapse: collapse; }
.assignment-matrix .data-table th, .assignment-matrix .data-table td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.assignment-matrix .data-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.assignment-matrix select { min-width: 180px; }
/* Der Panel-Inhalt (Listen + Steuerformular) ist hoeher als der Platz unter
   der Navigation. flex: 0 1 auto + min-height: 0 laesst ihn schrumpfen, das
   Fenster scrollt dann selbst — sonst waere das untere Ende unerreichbar. */
.worker-panel { flex: 0 1 auto; min-height: 0; display: flex; flex-direction: column; position: relative; margin: 12px 14px 18px; }
.worker-panel__toggle-wrap { flex: 0 0 auto; }
.worker-panel__toggle { flex: 0 0 auto; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.06); color: #e8f4ef; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.worker-panel__badges { display: flex; gap: 4px; }
.worker-badge { min-width: 18px; padding: 1px 6px; border-radius: 999px; font-size: 11px; text-align: center; color: #10231c; }
.worker-badge--active { background: var(--lime, #c9f36a); }
.worker-badge--waiting { background: #8ec8ff; }
.worker-badge--offline { background: #6b7c76; color: #e8f4ef; }
.worker-panel__window { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin-top: 8px; padding: 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(8,22,18,.72); color: #e8f4ef; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.22) transparent; }
.worker-panel__window::-webkit-scrollbar { width: 6px; }
.worker-panel__window::-webkit-scrollbar-thumb { border-radius: 3px; background: rgba(255,255,255,.22); }
.worker-panel__legend { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 10px; color: #92a8a0; font-size: 10px; }
.worker-panel__legend span { display: inline-flex; align-items: center; gap: 5px; }
.worker-panel__legend .worker-dot { margin-top: 0; }
.worker-panel__group { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.worker-panel__group:last-of-type { margin-bottom: 0; }
.worker-panel__group header { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: 11px; }
.worker-panel__group header small { color: #92a8a0; }
.worker-panel__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.worker-panel__list li { display: flex; gap: 8px; align-items: flex-start; font-size: 11px; line-height: 1.35; }
.worker-panel__list strong { text-transform: capitalize; }
.worker-panel__list small { display: block; color: #92a8a0; }
.worker-panel__empty { margin: 0; color: #92a8a0; font-size: 11px; }
.worker-panel__hint { margin: 0 0 8px; color: #92a8a0; font-size: 10px; line-height: 1.4; }
.worker-dot { width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: #92a8a0; flex: 0 0 auto; display: inline-block; }
.worker-dot--busy { background: var(--lime, #c9f36a); box-shadow: 0 0 0 3px rgba(201,243,106,.15); }
.worker-dot--idle { background: #8ec8ff; }
.worker-dot--offline { background: #6b7c76; }
.worker-panel__form { display: grid; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.worker-panel__form label { display: grid; gap: 4px; font-size: 10px; font-weight: 750; color: #92a8a0; }
.worker-panel__form select { width: 100%; padding: 6px 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #e8f4ef; font: inherit; font-size: 12px; }
.worker-panel__actions { display: flex; gap: 8px; }
.worker-panel__actions .button { flex: 1; padding: 7px 8px; font-size: 11px; }
.job-preloader { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(10, 28, 22, .55); backdrop-filter: blur(6px); }
.job-preloader[hidden] { display: none; }
.job-preloader__card { width: min(420px, calc(100vw - 32px)); padding: 28px 26px 22px; border-radius: 18px; background: #0f241d; color: #e8f4ef; box-shadow: 0 24px 60px rgba(0,0,0,.28); text-align: center; }
.job-preloader__spinner { width: 42px; height: 42px; margin: 0 auto 16px; border-radius: 50%; border: 3px solid rgba(201,243,106,.2); border-top-color: var(--lime, #c9f36a); animation: job-preloader-spin .8s linear infinite; }
.job-preloader__card strong { display: block; font-size: 18px; letter-spacing: -.02em; }
.job-preloader__card p { margin: 8px 0 0; color: #92a8a0; font-size: 13px; line-height: 1.45; }
.job-preloader__bar { height: 8px; margin: 18px 0 10px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.job-preloader__bar span { display: block; height: 100%; width: 8%; border-radius: inherit; background: var(--lime, #c9f36a); transition: width .4s ease; }
.job-preloader__eta { font-weight: 750; color: #c9f36a !important; }
.job-preloader__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.job-preloader__actions[hidden] { display: none; }
.job-preloader__actions button { min-height: 40px; padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.22); background: transparent; color: #e8f4ef; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.job-preloader__actions button:hover { background: rgba(255,255,255,.08); }
.job-preloader__actions button.is-primary { background: var(--lime, #c9f36a); color: #113026; border-color: transparent; font-weight: 800; }
.job-preloader__actions button.is-primary:hover { filter: brightness(1.05); }
.job-preloader__actions button.is-danger { border-color: rgba(232, 120, 120, .45); color: #f3c0c0; }
@keyframes job-preloader-spin { to { transform: rotate(360deg); } }
body.has-job-preloader { overflow: hidden; }

/* Eigene Anmeldeseite (/login) — standalone, ohne App-Layout. */
.auth-login-page { display: grid; place-items: center; min-height: 100vh; padding: 32px 20px; background: var(--mint, #eef7f2); }
.auth-login-panel { width: min(420px, 100%); padding: clamp(26px, 5vw, 38px); background: var(--surface); }
.auth-login-panel h1 { margin: 8px 0 6px; font-size: 26px; }
.auth-login-intro { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.auth-login-form { display: grid; gap: 16px; }
.auth-login-form .field span { font-size: 12px; }
.auth-login-form .button { width: 100%; margin-top: 4px; }
.auth-login-notice, .auth-login-error { margin: 0 0 18px; padding: 11px 13px; border-radius: 10px; font-size: 12px; font-weight: 700; }
.auth-login-notice { border: 1px solid #bfe3d1; background: #eaf7f0; color: var(--green-dark, #1d6b47); }
.auth-login-error { border: 1px solid #f0c7c7; background: #fff5f5; color: #a33; }
.auth-login-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.auth-login-divider::before, .auth-login-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-login-options { display: grid; gap: 10px; }
.auth-login-option { width: 100%; text-align: center; }
.auth-login-hint { margin: 22px 0 0; color: var(--muted); font-size: 11px; text-align: center; }

/* Hinweisfarben: .notice ist grundsätzlich grün — Warnung und Info brauchen
   eine eigene Tönung, sonst lesen sich Hinweise wie Bestätigungen. */
.notice.warning { border-color: #ead0a0; background: #fff8ec; color: #7a5312; }
.notice.info { border-color: #c3d5ee; background: #eef4fa; color: #23507f; }
