/* PoC presentation only. Use the landing's palette, type and mascot assets. */
.trial-page {
  --poc-surface:var(--white);
  --poc-radius:22px;
  --poc-selected:#e9f3dc;
  background:#f1f3f2;
  color:var(--ink);
  font-family:var(--font);
  letter-spacing:-.01em;
}
.trial-app { background:#f7f8f7; display:flex; flex-direction:column; }
.trial-header,.trial-progress { flex-shrink:0; }
.trial-main { flex:1; min-height:0; }
.trial-header { background:#f7f8f7ed; border-color:var(--line); }
.trial-header strong { font-weight:650; letter-spacing:-.025em; }
.trial-header>div>span { font-size:12px; }
.trial-page .icon-button { border-radius:50%; }
.trial-page .icon-button:hover { background:#e9eee5; }
.trial-main { padding:30px 22px calc(var(--dock-height) + 32px); }
.trial-page h2 {
  font-family:var(--font-heading);
  font-size:30px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:-.02em;
  margin-bottom:22px;
}
.trial-page h3 { font-family:var(--font); letter-spacing:-.01em; }
.stage-kicker {
  display:table;
  padding:5px 10px;
  margin-bottom:14px;
  background:#eaf2e1;
  border-radius:8px;
  color:var(--green);
  font-size:12px;
  font-weight:600;
}
.stage-description { font-size:15px; line-height:1.7; }
.poc-intro-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:24px; }
.poc-intro-heading h2 { margin-bottom:0; }
.poc-intro-heading .poc-mascot { width:68px; }
.poc-target-options .choice-row { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.poc-target-summary { display:flex; align-items:center; gap:10px; margin-bottom:22px; color:var(--secondary); font-size:13px; line-height:24px; }
.poc-target-summary span::before { content:'✓'; margin-right:6px; color:var(--green); }
.poc-target-summary button { border:0; border-bottom:1px solid #bdc8b5; padding:0; background:none; color:var(--green); font:inherit; font-size:12px; }
.poc-target-summary:not([hidden]) ~ [data-intro-reveal=before] .case-peek { margin-top:0; }
.trial-page .choice-row label>span {
  display:flex;
  align-items:center;
  min-height:58px;
  padding:16px 42px 16px 17px;
  border-color:var(--line);
  border-radius:16px;
  background:var(--poc-surface);
  font-size:15px;
  font-weight:500;
}
.choice-row label>span::after {
  content:'';
  position:absolute;
  right:16px;
  width:16px;
  height:16px;
  border:1.5px solid #cbd4c4;
  border-radius:50%;
}
.choice-row input[type=checkbox]+span::after { border-radius:5px; }
.trial-page .score-row input:checked+span,
.trial-page .choice-row input:checked+span {
  background:var(--poc-selected);
  border-color:#adc78e;
  box-shadow:none;
}
.choice-row input:checked+span::after { background:var(--green); border-color:var(--green); box-shadow:inset 0 0 0 3px var(--poc-selected); }
.score-row { gap:9px; }
.score-row span { min-height:56px; border-color:var(--line); border-radius:14px; font-size:19px; font-weight:600; }
.score-anchors { font-size:12px; }
.before-question { margin:25px 0 16px; font-size:16px; }
.case-peek {
  position:relative;
  background:none;
  border:0;
  border-left:3px solid #c4d9ae;
  border-radius:0;
  padding:0 0 0 20px;
  margin:26px 0 22px;
  box-shadow:none;
}
.case-peek .case-label { position:static; display:block; padding:0; margin-bottom:10px; background:none; color:#728465; font-size:14px; font-weight:500; line-height:20px; }
.case-peek strong { margin-top:0; color:var(--ink); font-family:var(--font-heading); font-size:clamp(24px,6.6vw,28px); font-weight:700; letter-spacing:-.02em; line-height:1.4; }
.case-peek em { display:inline-block; color:var(--green); font-style:normal; background:linear-gradient(transparent 77%,#d9f0b88c 77%); }
.case-peek .case-condition { display:flex; align-items:center; gap:8px; margin-top:14px; font-size:16px; line-height:1.6; }
.case-condition svg { flex:none; width:20px; height:20px; fill:none; stroke:#64804f; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.case-condition b { padding:0; border-radius:0; background:none; color:var(--green); font-size:16px; font-weight:600; }
.trial-app[data-screen=intro] .trial-main { padding-top:22px; padding-bottom:calc(var(--dock-height) + 16px); }
.trial-app[data-screen=intro] .poc-intro-heading { margin-bottom:20px; }
.trial-app[data-screen=intro] .before-question { margin-top:20px; }
.trial-app[data-screen=intro] .trial-consent { margin-top:18px; padding-top:16px; }
.trial-consent { margin-top:28px; padding-top:22px; }
.trial-consent label { font-size:13px; }
.trial-consent b { color:var(--green); font-size:12px; font-weight:600; }
.trial-page .button { min-height:54px; border-radius:14px; font-weight:600; font-size:16px; padding:15px 20px; }
.trial-page .primary { background:var(--lime); color:var(--ink); }
.trial-page .primary:hover { background:#cae7a1; }
.trial-page .secondary { background:var(--poc-surface); border-color:#cbd9bf; color:var(--green); }
.trial-page .secondary:hover { background:#eef5e6; }
.trial-page button:disabled { cursor:not-allowed; opacity:.48; }
.trial-dock { background:#f7f8f7ed; border-top-color:var(--line); padding-inline:22px; }
.trial-progress { padding:22px 22px 0; }
.trial-progress>span { font-weight:500; color:var(--green); margin-bottom:10px; }
.trial-progress progress,.trial-progress progress::-webkit-progress-bar { background:#e5eadf; height:5px; }
.trial-progress progress::-webkit-progress-value { background:#96b671; }
.trial-progress progress::-moz-progress-bar { background:#96b671; }
.chat-message-row,.chat-typing { gap:10px; }
.chat-message-row>img,.chat-typing>img { display:none; }
.chat-message-row::before,.chat-typing::before {
  content:'✦';
  flex:none;
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:50%;
  background:var(--lime);
  color:var(--ink);
  font-size:21px;
  line-height:1;
}
.chat-bubble,.typing-dots { background:var(--poc-surface); border:1px solid var(--line); color:var(--ink); }
.chat-user .chat-bubble { background:var(--lime); border-color:transparent; }
.avatar-invite,.summary-card,.care-card,.product-type,.state-strip,.routine-check {
  background:var(--poc-surface);
  border-color:var(--line);
  border-radius:var(--poc-radius);
}
.avatar-invite { padding:21px; background:linear-gradient(135deg,#fefefe,#edf3e7); }
.avatar-invite-top { gap:17px; }
.avatar-invite-top img,.state-strip>img { background:#f1f3f2; }
.trial-page .avatar-invite h2 { font-family:var(--font-heading); font-size:20px; line-height:1.45; }
.summary-card { padding:22px; }
.summary-card .state-strip { background:transparent; border-radius:0; }
.summary-card dl { gap:18px; }
.summary-card dl>div { display:flex; align-items:center; justify-content:space-between; gap:15px; }
.summary-card dt { margin:0; font-size:13px; }
.summary-card dd { font-size:15px; font-weight:600; text-align:right; }
.context-heading { position:relative; margin-bottom:18px; }
.trial-page .context-heading h2 { margin-bottom:8px; font-size:26px; line-height:1.35; }
.context-heading>p { font-size:14px; color:var(--secondary); line-height:1.6; }
.context-card-stage { position:relative; margin-top:18px; }
.context-summary { position:relative; z-index:2; margin-top:0; padding:22px; background:var(--mint); border-radius:20px; }
.context-summary .state-strip { padding-bottom:0; border-bottom:0; margin-bottom:27px; gap:17px; }
.context-summary .state-strip>img { width:66px; height:86px; border-radius:7px; background:var(--white); }
.context-summary .state-strip strong { font-size:16px; font-weight:600; }
.context-summary .state-strip p { font-size:13px; margin-top:6px; }
.context-state-edit { padding:0; margin-top:8px; border:0; background:none; color:#7a8374; font:inherit; font-size:12px; text-decoration:underline; text-underline-offset:3px; }
.context-summary dl { gap:22px; }
.context-summary .context-detail-row { gap:16px; }
.context-detail-row>div { min-width:0; }
.context-summary dt { font-size:13px; margin-bottom:5px; }
.context-summary dd { font-size:16px; text-align:left; font-weight:600; line-height:1.5; }
.context-summary dd small { font-size:inherit; font-weight:inherit; }
.context-row-edit { flex:none; border:0; background:none; padding:9px 0 9px 9px; color:var(--green); font:inherit; font-size:12px; text-decoration:underline; text-underline-offset:3px; }
.context-task-hint { padding:14px 18px; background:#eaf3df; border:1px solid #c4d9ac; border-radius:16px; margin:0; }
.context-task-hint>span { display:block; margin-bottom:5px; color:#687b59; font-size:12px; line-height:1.5; }
.context-task-hint strong { display:flex; align-items:center; gap:10px; color:var(--ink); font-size:20px; line-height:1.4; font-weight:600; }
.context-task-hint .context-task-arrow { color:#81976d; font-size:17px; }
.context-task-hint em { color:var(--green); font-style:normal; font-weight:750; }
@media(max-width:359px) { .context-task-hint { padding:13px 15px; } .context-task-hint strong { font-size:18px; gap:8px; } }
.context-actions { gap:10px; }
.trial-page .context-actions .button { font-size:14px; padding-inline:10px; }
@media(max-width:359px) {
  .trial-page .context-heading h2 { font-size:23px; }
  .context-heading>p { font-size:13px; }
  .context-summary { padding:18px; }
  .context-summary .state-strip { gap:12px; }
  .context-summary .state-strip strong { font-size:14px; }
}
.full-width { width:100%; margin-top:18px; }
.task-success { color:var(--green); background:#edf5e3; padding:12px 15px; border-radius:12px; font-size:13px; margin:18px 0; }
.poc-preview { border:1px solid #d6e6c0; background:linear-gradient(120deg,#f1f3f2,#e8f1db); border-radius:var(--poc-radius); padding:20px; margin-top:18px; }
.poc-preview h3 { margin-bottom:14px; font-size:15px; }
.poc-preview p { display:flex; align-items:baseline; justify-content:space-between; gap:12px; font-size:13px; margin-top:11px; }
.poc-preview p span { color:var(--secondary); text-align:right; }
.poc-preview strong { font-weight:600; }
.poc-error { margin:12px 0; }
.care-card h3 { margin-bottom:14px; }
.plan-tabs { padding:5px; background:#ebeeea; border-radius:15px; gap:4px; }
.plan-tabs button { min-height:43px; border:0; background:transparent; border-radius:11px; }
.plan-tabs button[aria-selected=true] { background:var(--poc-surface); color:var(--green); box-shadow:0 2px 5px #33333308; }
.routine-check { padding:20px; gap:13px; }
.routine-check:has(input:checked) { background:var(--poc-selected); border-color:#adc78e; }
.routine-check small { font-size:13px; }
.routine-check .routine-time { display:table; background:#f0f5e8; color:var(--green); border-radius:6px; padding:3px 8px; margin-top:10px; }
.routine-plan { margin-top:30px; padding-top:24px; border-top:1px solid var(--line); scroll-margin-block:90px 120px; }
.routine-plan-kicker { display:block; color:var(--green); font-size:12px; font-weight:600; margin-bottom:8px; }
.trial-page .routine-plan h3 { font-family:var(--font-heading); font-size:23px; line-height:1.4; font-weight:700; }
.routine-plan-description { margin:8px 0 20px; font-size:14px; color:var(--secondary); }
.routine-plan-count { margin:16px 0 0; font-size:13px; color:var(--green); font-weight:500; }
.routine-plan .routine-check { margin-top:10px; }
.trial-page .trial-sheet { background:#f7f8f7; }
.sheet-heading { background:#f7f8f7ed; backdrop-filter:blur(14px); }
.trial-page .sheet-heading h2 { font-family:var(--font-heading); font-size:20px; font-weight:650; }
.sheet-body { padding:24px 22px; }
.edit-field label { font-weight:600; }
.edit-select { position:relative; }
.edit-select::after { content:''; position:absolute; right:18px; top:50%; width:8px; height:8px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; color:#68775c; transform:translateY(-70%) rotate(45deg); pointer-events:none; }
.edit-field select { min-height:54px; border-color:#d5dfcc; border-radius:14px; padding-left:15px; padding-right:48px; appearance:none; -webkit-appearance:none; }
.symptom-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.symptom-choices label { min-width:0; background:var(--poc-surface); border-radius:12px; }
.symptom-choices label:has(input:checked) { background:var(--poc-selected); border-color:#adc78e; }
.state-figure { height:280px; border-radius:20px; background:linear-gradient(125deg,var(--mint),#e4efcf); }
.poc-finish-visual { display:flex; align-items:center; justify-content:center; position:relative; width:168px; height:160px; margin:20px auto 30px; border-radius:50%; background:linear-gradient(130deg,#f1f3f2,#e4efcf); }
.poc-finish-visual .poc-mascot { width:108px; }
.poc-finish-visual .completion-mark { position:absolute; right:4px; bottom:10px; margin:0; width:36px; height:36px; font-size:20px; border:3px solid #f7f8f7; }
.trial-stage:has(.poc-finish-visual) { text-align:center; }
.trial-stage:has(.poc-finish-visual) h2 { font-size:34px; }
@media(min-width:600px) {
  .trial-page { background:radial-gradient(ellipse at 15% 12%,#e8f1db99,transparent 55%),#f1f3f2; }
  .trial-app { max-width:540px; border-color:#e0e5dc; box-shadow:0 0 70px #33333304; }
  .trial-main { padding-inline:30px; padding-top:34px; }
  .trial-header,.trial-progress,.trial-dock { padding-inline:30px; }
  .trial-dock { max-width:540px; }
  .trial-page h2 { font-size:32px; }
  .trial-page .trial-sheet { max-width:520px; }
}
@media(max-width:359px) {
  .trial-main,.trial-dock,.trial-progress { padding-inline:18px; }
  .trial-page h2 { font-size:27px; }
  .poc-intro-heading { gap:6px; }
  .poc-intro-heading .poc-mascot { width:54px; }
  .choice-row label>span { padding-left:13px; padding-right:35px; font-size:14px; }
  .choice-row label>span::after { right:12px; width:14px; height:14px; }
  .score-row { gap:6px; }
  .score-anchors { font-size:11px; }
  .avatar-invite { padding:17px; }
  .trial-page .avatar-invite h2 { font-size:18px; }
  .summary-card { padding:18px; }
  .state-figure { height:240px; }
}
@media(max-height:800px) {
  .trial-app[data-screen=intro] .trial-main { padding-top:16px; padding-bottom:calc(var(--dock-height) + 8px); }
  .trial-app[data-screen=intro] .trial-consent { margin-top:16px; }
}
@media(prefers-reduced-motion:no-preference) {
  .choice-row label>span,.score-row span,.routine-check { transition:background .15s,border-color .15s; }
  .intro-revealed { animation:poc-intro-reveal .9s cubic-bezier(.22,.65,.25,1) both; }
  @keyframes poc-intro-reveal {
    from { opacity:0; transform:translate3d(0,24px,0); }
    to { opacity:1; transform:translateY(0); }
  }
}

/* Keep short context tasks in one viewport without clipping expanded content. */
.trial-app:is([data-screen=activity],[data-screen=wash]) .trial-main { padding-top:20px; padding-bottom:calc(var(--dock-height) + 14px); }
.context-heading { margin-bottom:16px; }
.trial-page .context-heading h2 { margin-bottom:0; }
.context-card-stage { margin-top:18px; }
.context-summary { padding:18px; }
.context-summary .state-strip { margin-bottom:18px; gap:14px; }
.context-summary .state-strip>img { width:52px; height:68px; }
.context-summary dl { gap:14px; }
.context-summary dd { font-size:15px; line-height:1.4; }
.trial-app:is([data-screen=activity],[data-screen=wash]) .task-success { margin:10px 0 0; padding:8px 12px; }
@media(max-height:760px) {
  .trial-app:is([data-screen=activity],[data-screen=wash]) .trial-main { padding-top:12px; padding-bottom:calc(var(--dock-height) + 10px); }
  .trial-app:is([data-screen=activity],[data-screen=wash]) .trial-progress { padding-top:12px; }
  .context-heading { margin-bottom:12px; }
  .trial-page .context-heading h2 { font-size:24px; }
  .context-task-hint { padding:10px 14px; }
  .context-card-stage { margin-top:12px; }
  .context-summary { padding:16px; }
  .context-summary .state-strip { margin-bottom:12px; }
  .context-summary .state-strip>img { width:44px; height:58px; }
  .context-summary .state-strip strong { font-size:14px; }
  .context-summary dl { gap:8px; }
  .context-summary dt { font-size:12px; margin-bottom:2px; }
  .context-summary dd { font-size:14px; }
}
@media(max-height:650px) {
  .trial-app:is([data-screen=activity],[data-screen=wash]) .trial-main { padding-top:8px; padding-bottom:calc(var(--dock-height) + 8px); }
  .context-heading { margin-bottom:8px; }
  .context-task-hint>span { display:none; }
  .context-task-hint strong { font-size:17px; }
  .context-card-stage { margin-top:12px; }
  .context-summary { padding:12px 14px; }
  .context-summary .state-strip { margin-bottom:8px; }
  .context-summary .context-detail-row { gap:8px; }
  .context-summary dl { gap:2px; }
  .context-detail-row>div { display:flex; align-items:baseline; flex-wrap:wrap; gap:2px 8px; }
  .context-summary dt { margin:0; }
  .context-row-edit { padding-block:7px; }
}

.routine-goal { margin:0 0 22px; padding:20px; border:1px solid #c5d9af; border-radius:22px; background:linear-gradient(125deg,#edf5e5,#e3f1ce); }
.routine-goal-head { display:flex; justify-content:space-between; align-items:center; gap:14px; }
.routine-goal-head>div>span { display:block; font-size:13px; font-weight:500; color:var(--green); }
.routine-goal strong { display:block; margin-top:4px; color:var(--green); font-family:var(--font-heading); font-size:36px; line-height:1.15; font-weight:750; letter-spacing:-.03em; }
.routine-goal label { display:flex; flex-direction:column; gap:6px; min-width:0; color:var(--secondary); font-size:12px; }
.routine-goal input { box-sizing:border-box; width:148px; max-width:100%; min-height:42px; padding:8px; border:1px solid #c8d7ba; border-radius:10px; background:#ffffffc9; color:var(--ink); font:inherit; font-size:13px; }
.routine-goal>p { font-size:12px; color:#607250; margin:14px 0 0; }
@media(max-width:359px) { .routine-goal { padding:16px; } .routine-goal-head { gap:8px; } .routine-goal input { width:138px; } .routine-goal strong { font-size:32px; } }

.symptom-choices .symptom-hint:not(:checked) {
  appearance:none; -webkit-appearance:none; border:1px solid #b9c7ad; border-radius:3px;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 10 4 4 8-8' fill='none' stroke='%238fa779' stroke-opacity='.5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px 18px no-repeat;
}
.symptom-choices input:focus-visible { outline:2px solid var(--green); outline-offset:3px; }

.context-heading h2 { padding-right:64px; }
.context-heading .poc-mascot { position:absolute; right:0; top:-7px; width:48px; }

/* Independent feature entry points, in the landing page's type and color palette. */
.experience-heading { position:relative; margin-bottom:26px; }
.experience-heading h2 { padding-right:70px; margin-bottom:0; }
.experience-heading .poc-mascot { position:absolute; width:68px; right:0; bottom:5px; }
.experience-list { display:grid; gap:14px; }
.experience-card { display:flex; position:relative; align-items:flex-start; gap:15px; padding:24px 20px; border:1px solid #dbe3d3; border-radius:24px; background:var(--white); color:var(--ink); text-decoration:none; }
.experience-card:last-child { background:linear-gradient(130deg,#f0f6e8,#e7f1d9); border-color:#c8dcb0; }
.experience-card h3 { font-family:var(--font-heading); font-size:23px; margin:0 0 8px; letter-spacing:-.03em; }
.experience-card p { font-size:15px; line-height:1.6; margin:0; }
.experience-card div>span { display:block; color:#7b8970; font-size:11px; margin-top:15px; line-height:1.6; }
.experience-card>b { position:absolute; right:20px; top:20px; font-size:22px; font-weight:400; color:var(--green); }
.experience-icon { display:grid; place-items:center; flex:none; width:44px; height:44px; border-radius:14px; background:#e8f3d8; color:var(--green); }
.experience-icon img,.experience-icon svg { width:28px; height:28px; }
.experience-calendar { display:flex; flex-direction:column; justify-content:center; font-size:22px; font-weight:700; line-height:1; background:#d8eabb; }
.experience-calendar small { font-size:7px; letter-spacing:.04em; margin-top:4px; }
.experience-footnote { color:var(--secondary); font-size:12px; text-align:center; margin-top:20px; }
.experience-previous { display:block; margin:22px auto 0; text-align:center; color:var(--green); font-size:14px; text-underline-offset:5px; }
.trial-app[data-screen=hub] .trial-main { padding-bottom:28px; }
@media(max-width:359px) {
 .experience-card { gap:12px; padding:21px 15px; }
 .experience-card h3 { font-size:21px; }
 .experience-icon { width:36px; height:38px; }
 .experience-card div>span { font-size:10px; }
 .experience-heading h2 { font-size:28px; }
}
@media(prefers-reduced-motion:no-preference) {
 .experience-card { transition:transform .25s ease,box-shadow .25s ease; }
 .experience-card:hover { transform:translateY(-3px); box-shadow:0 10px 24px #3c54200a; }
}

.case-peek .routine-case-description { display:block; margin:18px 0 0; font-size:18px; font-weight:550; color:var(--ink); line-height:1.65; letter-spacing:-.02em; }
.case-peek .routine-case-description b { color:var(--green); font-size:inherit; font-weight:750; }
@media(max-width:359px) { .case-peek .routine-case-description { font-size:16px; } }

/* Shared five-point survey: circular choices, with the original 1→5 order. */
.trial-page .likert-scale { margin:0; }
.likert-card { padding:13px 13px 10px; border:1px solid #e6e9e4; border-radius:18px; background:#f7f8f7; box-shadow:0 2px 3px #00000016; }
.likert-scale .score-row { gap:6px; align-items:center; }
.likert-scale .score-row label { display:grid; place-items:center; min-height:48px; }
.likert-scale .score-row span { width:var(--score-size); height:var(--score-size); min-height:0; border:1.4px solid var(--score-color); border-radius:50%; background:transparent; box-shadow:none; }
.likert-scale [data-score="1"] { --score-size:43px; --score-color:#484c47; }
.likert-scale [data-score="2"] { --score-size:37px; --score-color:#6e756b; }
.likert-scale [data-score="3"] { --score-size:32px; --score-color:#858b83; }
.likert-scale [data-score="4"] { --score-size:37px; --score-color:#718e46; }
.likert-scale [data-score="5"] { --score-size:43px; --score-color:#5b8500; }
.trial-page .likert-scale .score-row input:checked+span { background:var(--score-color); border-color:var(--score-color); box-shadow:none; }
.likert-scale .score-row input:focus-visible+span { outline:2px solid var(--green); outline-offset:4px; }
.likert-scale .score-anchors { display:flex; justify-content:space-between; gap:12px; font-size:11px; line-height:1.45; margin:3px 0 0; color:var(--secondary); }
.likert-scale .score-anchors>span { max-width:48%; }
.likert-scale .score-anchors>span:last-child { text-align:right; }
@media(max-width:359px) {
 .likert-card { padding:11px 8px 10px; }
 .likert-scale .score-row { gap:3px; }
 .likert-scale [data-score="1"],.likert-scale [data-score="5"] { --score-size:38px; }
 .likert-scale [data-score="2"],.likert-scale [data-score="4"] { --score-size:33px; }
 .likert-scale [data-score="3"] { --score-size:28px; }
 .likert-scale .score-anchors { font-size:10px; }
}

/* Quick, flat color spreading from the center. */
.likert-scale .score-row span { position:relative; overflow:hidden; }
.likert-scale .score-row span::before { content:''; position:absolute; inset:0; border-radius:50%; background:var(--score-color); transform:scale(0); transform-origin:center; opacity:0; pointer-events:none; }
.trial-page .likert-scale .score-row input:checked+span { background:transparent; }
.likert-scale .score-row input:checked+span::before { transform:scale(1); opacity:1; }
.trial-page .choice-row label>span { position:relative; isolation:isolate; overflow:hidden; }
.choice-row label>span::before { content:''; position:absolute; inset:0; z-index:-1; border-radius:inherit; background:var(--poc-selected); transform:scale(0); transform-origin:center; opacity:0; pointer-events:none; }
.trial-page .choice-row input:checked+span { background:var(--poc-surface); }
.choice-row input:checked+span::before { transform:scale(1); opacity:1; }
@media(prefers-reduced-motion:no-preference) {
 .likert-scale .score-row span::before,.choice-row label>span::before { transition:transform .18s cubic-bezier(.2,.7,.2,1),opacity .1s ease; }
}
@media(prefers-reduced-motion:reduce) {
 .likert-scale .score-row span::before,.choice-row label>span::before { animation:none; transition:none; }
}

/* Keep the last survey compact; only choices available in the trial are shown. */
.trial-app[data-question=friction] .trial-main { padding-top:20px; padding-bottom:calc(var(--dock-height) + 12px); }
.trial-app[data-question=friction] .stage-kicker { margin-bottom:14px; }
.trial-app[data-question=friction] h2 { font-size:27px; margin-bottom:20px; }
.trial-app[data-question=friction] fieldset { margin:0; }
.trial-app[data-question=friction] .choice-row { gap:8px; }
.trial-app[data-question=friction] .choice-row label>span { min-height:48px; padding:12px 42px 12px 15px; font-size:14px; line-height:1.45; }
.trial-app[data-question=friction] .stage-note { margin:10px 0 0; font-size:12px; }
@media(max-height:740px) {
 .trial-app[data-question=friction] .trial-main { padding-top:14px; padding-bottom:calc(var(--dock-height) + 8px); }
 .trial-app[data-question=friction] .stage-kicker { margin-bottom:10px; }
 .trial-app[data-question=friction] h2 { font-size:24px; margin-bottom:16px; }
 .trial-app[data-question=friction] .choice-row { gap:7px; }
 .trial-app[data-question=friction] .choice-row label>span { min-height:44px; padding-block:10px; }
}

/* Shared transparent product photograph in the experience screens. */
.product-cutout { display:block; flex:none; width:80px; height:120px; object-fit:contain; }

/* Context choices follow the wireframe sheet instead of native select menus. */
.context-choice-grip { width:44px; height:4px; border-radius:4px; background:#b9bdb8; margin:12px auto 0; }
.context-choice-heading { padding:22px 22px 0; }
.trial-page .context-choice-heading h2 { font-family:var(--font); font-size:20px; font-weight:650; line-height:1.4; margin:0 0 7px; }
.context-choice-heading p { color:var(--secondary); font-size:13px; line-height:1.6; }
.context-choice-sheet .sheet-body { padding-top:26px; padding-bottom:12px; }
.edit-choice-field { border:0; padding:0; margin:0 0 24px; min-width:0; }
.edit-choice-field legend { font-size:14px; font-weight:600; margin:0 0 12px; }
.edit-choice-options { display:grid; gap:10px; }
.edit-choice-option { position:relative; cursor:pointer; }
.edit-choice-option input { position:absolute; width:1px; height:1px; opacity:0; }
.edit-choice-option span { display:block; padding:14px 15px; min-height:49px; border:1px solid transparent; border-radius:10px; background:var(--mint); color:var(--secondary); font-size:14px; line-height:1.5; transition:background .2s,color .2s,border-color .2s; }
.edit-choice-option input:checked+span { color:var(--ink); font-weight:600; background:#edf1e9; border-color:#d3dfc7; }
.edit-choice-option input:focus-visible+span { outline:3px solid #5f813e; outline-offset:3px; }
.context-choice-sheet .sheet-submit { margin-top:3px; min-height:50px; }
.context-choice-close { display:block; margin:7px auto 0; padding:11px 20px; border:0; background:none; color:var(--secondary); font:inherit; font-size:13px; }
@media(prefers-reduced-motion:reduce) { .edit-choice-option span { transition:none; } }

/* Keep reservation first and product purchase exploration secondary. */
.poc-finish-actions { flex-direction:column; }

/* Bleed the gift banner to the walkthrough edges, like the routine banner. */
.trial-page { --gift-banner-gutter:22px; }
.trial-stage .survey-gift--entry { width:calc(100% + var(--gift-banner-gutter)*2); margin:30px calc(var(--gift-banner-gutter)*-1) 0; padding-inline:var(--gift-banner-gutter); }
@media(min-width:600px) { .trial-page { --gift-banner-gutter:30px; } }
@media(max-width:359px) { .trial-page { --gift-banner-gutter:18px; } }
