:root { color-scheme:light; --orange:var(--brand-accent); --orange-deep:var(--brand-secondary); --ink:var(--brand-ink); --muted:#626467; --border:#d6d7d8; --error:var(--brand-secondary); font-family:var(--brand-font); font-synthesis:none; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { position:relative; z-index:0; margin:0; background:var(--brand-background); color:var(--ink); min-width:280px; display:flex; flex-direction:column; min-height:100vh; min-height:100svh; }
button,textarea,input { font:inherit; }
button { cursor:pointer; touch-action:manipulation; }
.background-art { position:absolute; inset:0; pointer-events:none; overflow:hidden; background:linear-gradient(90deg,#eb642326,transparent 48%),var(--brand-background); z-index:-1; }
.background-art::after { content:""; position:absolute; inset:0; background:linear-gradient(270deg,#5546aa18,transparent 32%); }
/* Original client PNG: its geometry, proportions and size stay the same across themes. */
.brand-orbit { position:absolute; width:787px; height:803px; left:calc(50% - 320px); top:50%; transform:translate(-50%,-50%); background:url("assets/orange-gradient-circle.png") center/contain no-repeat; opacity:1; }
.theme-meeting .brand-orbit { transform:translate(-50%,-50%) rotate(90deg); }
.theme-contracts .brand-orbit { transform:translate(-50%,-50%) rotate(180deg); }
.theme-contracts .background-art::after { background:linear-gradient(270deg,#5546aa28,transparent 36%); }
.theme-handover .brand-orbit { transform:translate(-50%,-50%) rotate(-90deg); }
.theme-care .brand-orbit { left:calc(50% + 320px); transform:translate(-50%,-50%) rotate(180deg); }
.theme-care .background-art::after { background:linear-gradient(90deg,#5546aa20,transparent 36%); }
.page { position:relative; width:100%; max-width:640px; flex:none; margin:auto; padding:24px 0; }
.survey-card { background:#fff; border-radius:28px; overflow:hidden; box-shadow:0 20px 70px #24272a16; }
.hero { position:relative; padding:32px 34px 24px; background:#fff; border-bottom:1px solid #24272a14; }
.brand-mark { display:block; position:relative; width:166px; max-width:100%; height:auto; margin:0 0 28px; }
h1 { position:relative; font-size:36px; line-height:1.14; margin:0 0 14px; font-weight:600; letter-spacing:-.035em; }
.welcome { position:relative; font-size:14px; line-height:1.55; margin:0; max-width:510px; }
.card-body { padding:20px 34px 24px; }
.question { margin:0 0 14px; padding:0 0 14px; border:0; border-bottom:1px solid #eceeef; min-width:0; }
.question:last-of-type { border:0; margin-bottom:10px; padding-bottom:10px; }
.question legend { display:block; padding:0; font-size:17px; line-height:1.45; font-weight:600; float:left; width:100%; }
.question legend + * { clear:both; }
.has-prior-answer legend { margin-bottom:8px; }
.question-number { color:var(--brand-secondary); font-size:11px; font-weight:600; display:inline-block; margin-right:7px; vertical-align:1px; }
.required-mark { color:var(--error); font-weight:bold; }
.required-ending { white-space:nowrap; }
.question-hint { color:var(--muted); font-size:13px; line-height:1.4; margin:5px 0 9px; }
.choice-grid { display:grid; gap:6px; }
.scale-grid { grid-template-columns:repeat(10,minmax(0,1fr)); }
.yesno-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.choice-option { position:relative; cursor:pointer; }
.choice-option input { position:absolute; width:100%; height:100%; inset:0; margin:0; opacity:0; cursor:pointer; }
.choice-option span { min-height:48px; display:grid; place-items:center; border:1px solid var(--border); border-radius:12px; background:#fff; font-size:16px; font-weight:600; transition:background .15s,border-color .15s; }
.choice-option:hover span { background:#eb642312; border-color:var(--orange); }
.choice-option input:checked + span { background:var(--orange); color:var(--brand-on-accent); border-color:var(--orange); }
.choice-option input:focus-visible + span { outline:3px solid var(--brand-secondary); outline-offset:3px; }
.scale-labels { display:flex; justify-content:space-between; gap:15px; font-size:10px; color:var(--muted); margin-top:7px; line-height:1.4; }
.scale-labels span:last-child { text-align:right; }
textarea { width:100%; display:block; padding:12px 14px; color:var(--ink); line-height:1.5; font-size:16px; background:#fafafa; border:1px solid var(--border); border-radius:12px; resize:vertical; min-height:82px; max-height:450px; }
textarea::placeholder { color:#626467; opacity:1; }
textarea[readonly],.previous-answer { background:repeating-linear-gradient(135deg,#24272a20 0 1px,transparent 1px 9px),#ededed; border:1px solid #c8c9ca; }
textarea[readonly] { resize:none; max-height:none; }
.previous-answer { clear:both; margin-top:8px; border-radius:12px; padding:13px; min-height:48px; font-size:16px; line-height:1.5; }
.prior-answer-note { color:var(--muted); font-size:12px; line-height:1.4; margin:7px 0 0; }
textarea:focus-visible { outline:3px solid var(--brand-secondary); outline-offset:3px; border-color:var(--brand-secondary); }
textarea[aria-invalid="true"],.question[aria-invalid="true"] .choice-option span { border-color:var(--error); }
.field-meta { display:flex; justify-content:flex-end; font-size:11px; color:var(--muted); margin-top:6px; min-height:15px; }
.counter { white-space:nowrap; font-variant-numeric:tabular-nums; }
.field-error { color:var(--error); font-size:12px; line-height:1.5; margin:8px 0 0; }
.error-banner { padding:12px; background:#5546aa0d; color:var(--error); font-size:13px; line-height:1.5; border-radius:12px; margin:0 0 16px; }
.submit-button { width:100%; border:0; border-radius:16px; color:var(--brand-on-accent); background:var(--orange); font-size:16px; font-weight:600; padding:12px 20px; display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:52px; }
.submit-button:hover { box-shadow:inset 0 0 0 2px var(--ink); }
.submit-button:disabled { cursor:default; opacity:.6; }
button:focus-visible { outline:3px solid var(--brand-secondary); outline-offset:4px; }
.success-view { padding:52px 40px 32px; text-align:center; }
.success-view h2 { font-size:38px; font-weight:600; line-height:1.17; letter-spacing:-.025em; margin:0 0 16px; }
.success-view h2:focus { outline:none; }
.success-view > p { font-size:15px; color:var(--muted); line-height:1.6; margin:0; }
.success-divider { width:46px; height:4px; background:var(--orange); border-radius:4px; margin:26px auto; }
.secondary-button { width:100%; background:#fff; color:var(--ink); border:1px solid #cbd0d4; border-radius:14px; min-height:48px; padding:12px 18px; display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:16px; }
.secondary-button:hover { background:#eb642312; border-color:var(--orange); }
.success-view > .cooldown-note { font-size:12px; line-height:1.5; margin:12px 0 0; }
.complete-note { color:var(--muted); font-size:14px; line-height:1.5; text-align:center; }
@media(max-width:680px) {
  .page { padding:16px 14px; }
  .survey-card { border-radius:24px; }
  .hero { padding:26px 24px 24px; }
  .brand-mark { width:150px; margin-bottom:26px; }
  h1 { font-size:30px; }
  .card-body { padding:22px 24px 24px; }
  .scale-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:7px; }
  .question legend { font-size:16px; }
  textarea { min-height:88px; }
  .submit-button { min-height:52px; }
  .brand-orbit { left:14px; }
  .theme-care .brand-orbit { left:calc(100% - 14px); }
  .success-view { padding:38px 24px 28px; }
  .success-view h2 { font-size:30px; }
}
@media(max-width:350px) {
  .page { padding:12px 10px; }
  .hero { padding-left:24px; padding-right:24px; }
  .card-body { padding-left:18px; padding-right:18px; }
  h1 { font-size:27px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none !important; scroll-behavior:auto !important; } }
