
:root {
  --background: #f5f9ff; --foreground: #102f53; --card: #fff; --card-foreground: #102f53;
  --popover: #fff; --popover-foreground: #102f53; --primary: #155fc2; --primary-foreground: #fff;
  --secondary: #e9f2ff; --secondary-foreground: #102f53; --muted: #f6f9ff; --muted-foreground: #5b7392;
  --accent: #e9f2ff; --accent-foreground: #102f53; --destructive: #b42318; --border: #dce8f8;
  --input: #9bbbe2; --ring: #155fc2; --radius: .85rem;
}
@theme inline {
  --color-background: var(--background); --color-foreground: var(--foreground); --color-card: var(--card);
  --color-card-foreground: var(--card-foreground); --color-popover: var(--popover); --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary); --color-primary-foreground: var(--primary-foreground); --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground); --color-muted: var(--muted); --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent); --color-accent-foreground: var(--accent-foreground); --color-destructive: var(--destructive);
  --color-border: var(--border); --color-input: var(--input); --color-ring: var(--ring);
  --radius-sm: calc(var(--radius) - 4px); --radius-md: calc(var(--radius) - 2px); --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px); --font-sans: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--foreground); font-family: Arial, Helvetica, sans-serif; }
.shell { min-height: 100vh; padding: 38px 22px 68px; display: grid; place-items: start center; background: radial-gradient(circle at 92% 3%, #e0edff 0 18%, transparent 38%), linear-gradient(145deg, #f4f8ff, #fff 57%, #e9f2ff); }
.card { width: min(100%, 760px); padding: 34px 42px 42px; background: #fff; border: 1px solid #dce8f8; border-radius: 26px; box-shadow: 0 24px 80px rgba(25,76,139,.10); }
.brand { display: flex; align-items: center; gap: 10px; color: #124d94; font-size: 15px; font-weight: 700; }
.brand-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; background: #e5f0ff; color: #155fc2; font-size: 22px; }
.identity-card { margin-top: 28px; padding: 18px 20px; border: 1px solid #cfe2fa; border-radius: 14px; background: #f2f8ff; color: #254e7e; }
.identity-card p { margin: 0; line-height: 1.5; }
.identity-card a { display: inline-block; margin-top: 14px; padding: 11px 16px; border-radius: 10px; background: #155fc2; color: white; font-weight: 700; text-decoration: none; }
.survey-topline { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.survey-report-link { color: #155fc2; font-size: 14px; font-weight: 700; text-decoration: none; }
.survey-report-link:hover { text-decoration: underline; }
.heading { margin: 28px 0 25px; }
.eyebrow { margin: 0 0 9px; color: #4477b8; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .075em; }
h1 { margin: 0; font-size: clamp(31px, 4.5vw, 42px); line-height: 1.14; letter-spacing: -.035em; font-weight: 760; }
.heading > p:last-child, .done p { max-width: 630px; margin: 16px 0 0; color: #536d8b; font-size: 17px; line-height: 1.55; }
.choices { display: grid; gap: 10px; padding: 0; border: 0; margin: 0; }
.choice { display: flex; align-items: center; gap: 15px; min-height: 66px; padding: 13px 18px; background: #f8fbff; border: 1px solid #dce8f8; border-radius: 14px; cursor: pointer; font-size: 16px; line-height: 1.4; font-weight: 600; transition: border-color .15s, background .15s, transform .15s; }
.choice:hover { background: #f0f6ff; border-color: #a8c7ed; transform: translateY(-1px); }
.choice:has([data-state="checked"]) { background: #eaf3ff; border-color: #619be0; }
.choice-radio { width: 23px; height: 23px; border-color: #74a5df; }
.number { color: #7ca3cf; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.own-field { display: grid; gap: 9px; }
.own-field label { font-size: 14px; font-weight: 700; color: #4b6b91; }
.own-field textarea { width: 100%; min-height: 96px; padding: 13px 15px; resize: vertical; border: 1px solid #a9c7e9; border-radius: 12px; color: #102f53; background: #fff; font: inherit; font-size: 16px; line-height: 1.5; outline: none; }
.own-field textarea:focus { border-color: #155fc2; box-shadow: 0 0 0 3px rgba(21,95,194,.14); }
.error { margin: 14px 0 0; color: #b42318; font-size: 14px; font-weight: 600; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 27px; padding-top: 24px; border-top: 1px solid #e2ecf9; }
.form-footer p { margin: 0; max-width: 370px; color: #6a81a0; font-size: 14px; line-height: 1.45; }
.submit { height: 48px; padding: 0 25px; border-radius: 11px; font-size: 16px; font-weight: 700; }
.done { min-height: 420px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.done-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 20px; color: #155fc2; background: #e5f0ff; font-size: 34px; }
.report-shell { min-height: 100vh; padding: 42px 22px 72px; background: radial-gradient(circle at 92% 3%, #e0edff 0 18%, transparent 38%), linear-gradient(145deg, #f4f8ff, #fff 57%, #e9f2ff); }
.report-container { width: min(100%, 1100px); margin: 0 auto; }
.report-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 28px; }
.report-header .eyebrow { margin-top: 32px; }
.report-header h1 { margin-bottom: 10px; }
.report-header p:last-child { color: #58708e; margin: 0; }
.report-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.report-back { color: #155fc2; font-weight: 700; text-decoration: none; }
.report-download { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 0 19px; border-radius: 11px; background: #155fc2; color: #fff; font-weight: 700; text-decoration: none; }
.report-download:hover { background: #104eaa; }
.report-card { margin-bottom: 20px; padding: 28px 32px; background: #fff; border: 1px solid #dce8f8; border-radius: 22px; box-shadow: 0 14px 50px rgba(25,76,139,.07); }
.report-section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.report-section-heading h2 { margin: 0 0 5px; font-size: 23px; letter-spacing: -.02em; }
.report-section-heading p { margin: 0; color: #627b99; font-size: 14px; }
.report-total { display: flex; align-items: baseline; gap: 7px; color: #155fc2; white-space: nowrap; }
.report-total strong { font-size: 32px; line-height: 1; }
.report-total span { font-size: 14px; font-weight: 700; }
.report-summary { display: grid; gap: 18px; }
.report-option-line { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.report-option-line strong { color: #155fc2; white-space: nowrap; }
.report-option-line small { font-size: 13px; font-weight: 500; color: #7188a3; }
.report-track { height: 9px; border-radius: 99px; background: #eaf2fc; overflow: hidden; }
.report-track > div { height: 100%; border-radius: inherit; background: #2874d5; }
.report-table-wrap { width: 100%; overflow-x: auto; }
.report-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.report-table th { padding: 12px 14px; background: #f0f6ff; color: #466b99; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.report-table th:first-child { border-radius: 9px 0 0 9px; }
.report-table th:last-child { border-radius: 0 9px 9px 0; }
.report-table td { padding: 16px 14px; border-bottom: 1px solid #e6eef8; vertical-align: top; line-height: 1.45; overflow-wrap: anywhere; }
.report-table td:first-child { color: #5c7594; white-space: nowrap; }
.report-empty { padding: 24px; border-radius: 12px; background: #f6faff; color: #607999; }
.report-delete-form, .report-restore-form { margin: 0; }
.report-delete, .report-restore { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 6px 12px; border: 1px solid; border-radius: 8px; background: #fff; font: inherit; font-size: 13px; font-weight: 700; line-height: 1.35; white-space: nowrap; cursor: pointer; }
.report-delete { border-color: #e8b5b0; color: #b42318; }
.report-delete:hover { border-color: #b42318; background: #fff3f1; }
.report-restore { border-color: #a9c7e9; color: #155fc2; }
.report-restore:hover { border-color: #155fc2; background: #f0f6ff; }
.report-delete:focus-visible, .report-restore:focus-visible { outline: 3px solid rgba(21,95,194,.25); outline-offset: 3px; }
.report-notice { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding: 16px 20px; border: 1px solid #cfe2fa; border-radius: 14px; background: #f2f8ff; color: #254e7e; font-size: 14px; line-height: 1.5; }
.report-notice p { margin: 0; }
.report-notice form { flex: 0 0 auto; margin: 0; }
.report-notice-error { border-color: #efc3bd; background: #fff4f2; color: #9a291f; }
.report-deleted > summary { color: #466b99; font-size: 16px; font-weight: 700; cursor: pointer; }
.report-deleted[open] > summary { margin-bottom: 20px; }
.report-deleted .report-table th { background: #f6f8fc; }
@media (max-width: 640px) {
  .shell { padding: 0; background: #fff; } .card { width: 100%; min-height: 100vh; padding: 25px 20px 35px; border: 0; border-radius: 0; box-shadow: none; }
  .heading { margin-top: 26px; } .heading > p:last-child { font-size: 16px; } .choice { min-height: 68px; padding: 12px 13px; gap: 12px; }
  .form-footer { align-items: stretch; flex-direction: column; } .submit { width: 100%; }
  .report-shell { padding: 24px 16px 48px; }
  .report-header { align-items: flex-start; flex-direction: column; }
  .report-header .eyebrow { margin-top: 24px; }
  .report-card { padding: 22px 18px; border-radius: 18px; }
  .report-actions { width: 100%; justify-content: space-between; }
  .report-section-heading { gap: 10px; }
  .report-total strong { font-size: 27px; }
  .report-notice { align-items: flex-start; flex-direction: column; padding: 15px 18px; }
}
[hidden] { display: none !important; }
.choice:has(input:checked) { background: #eaf3ff; border-color: #619be0; }
.choice-radio { flex: 0 0 auto; margin: 0; accent-color: #155fc2; }
.submit { border: 0; background: #155fc2; color: #fff; cursor: pointer; }
.submit:hover { background: #104eaa; }
.submit:disabled { opacity: .7; cursor: wait; }
.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; }
