.routine-section-head { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:0 0 12px; }
.trial-page .routine-section-head h2,.trial-page .routine-section-head h3 { font-family:var(--font); font-size:17px; font-weight:650; margin:0; }
.routine-section-head>small { color:var(--secondary); font-size:12px; }
.routine-link { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:4px 0; border:0; background:none; color:var(--green); font:inherit; font-size:12px; text-align:left; cursor:pointer; }
.routine-link>span { font-size:21px; line-height:1; color:#899b7a; }
.routine-focus { width:100%; display:flex; align-items:center; justify-content:space-between; gap:10px; text-align:left; padding:22px; border:1px solid #b7cd9d; border-radius:22px; background:linear-gradient(125deg,#eaf4dd,#d9ecbe); color:var(--green); cursor:pointer; }
.routine-focus>span { min-width:0; }
.routine-focus small { display:block; font-size:14px; font-weight:500; }
.routine-focus strong { display:block; font-family:var(--font-heading); font-size:38px; line-height:1.2; margin:3px 0 8px; letter-spacing:-.035em; }
.routine-focus em { display:block; font-style:normal; font-size:11px; line-height:1.6; color:#697c59; }
.routine-focus .poc-mascot { flex:none; width:70px; }
.routine-daily,.routine-feedback,.routine-records { margin-top:28px; }
.routine-daily-list { border:1px solid var(--line); border-radius:20px; overflow:hidden; background:var(--white); }
.routine-daily-item { display:flex; align-items:center; gap:11px; padding:16px; cursor:pointer; }
.routine-daily-item+label { border-top:1px solid #edf0e8; }
.routine-daily-item>span { flex:1; min-width:0; }
.routine-daily-item strong { display:block; font-size:15px; font-weight:600; }
.routine-daily-item small { display:block; margin-top:3px; font-size:11px; color:var(--secondary); }
.routine-daily-item em { max-width:85px; flex:none; font-style:normal; color:var(--green); font-size:11px; text-align:right; }
.routine-daily-item:has(input:checked) { background:#eff5e8; }
.routine-daily-item:has(input:checked) strong { color:var(--green); }
.routine-adjust-link { width:100%; padding:14px 16px; margin-top:10px; border:1px solid var(--line); border-radius:14px; background:#edf1e8; color:var(--ink); font-size:13px; }
.routine-plan-link { margin:6px 0 0 auto; color:var(--secondary); }
.routine-adjusted { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 0; color:var(--green); font-size:11px; }
.routine-feedback { background:var(--white); border:1px solid var(--line); border-radius:22px; padding:18px; }
.routine-product { display:flex; gap:16px; align-items:center; margin:16px 0; }
.routine-product .product-cutout { width:60px; height:90px; }
.routine-product strong { font-size:16px; line-height:1.5; font-weight:600; }
.routine-product p { font-size:12px; color:var(--secondary); margin-top:5px; }
.routine-feedback>.button { width:100%; min-height:46px; padding:12px 8px; font-size:14px; }
.routine-progress-card { display:flex; align-items:center; gap:20px; padding:18px; border:1px solid var(--line); border-radius:20px; background:var(--white); }
.routine-ring { display:grid; place-items:center; flex:none; position:relative; width:76px; height:76px; border-radius:50%; background:conic-gradient(#bddb94 var(--routine-progress),#edf0e8 0); }
.routine-ring::before { content:''; position:absolute; inset:8px; border-radius:50%; background:var(--white); }
.routine-ring>strong { z-index:1; font-size:22px; letter-spacing:-.03em; }
.routine-progress-card>div+div>small { display:block; font-size:12px; color:var(--secondary); }
.routine-progress-card>div+div>strong { display:block; margin:4px 0; font-size:22px; font-weight:650; }
.routine-progress-card p { font-size:11px; color:var(--secondary); }
.routine-week { display:flex; justify-content:space-between; gap:8px; padding:18px 12px 0; }
.routine-week>div { flex:1; text-align:center; font-size:11px; color:#7b8474; }
.routine-week span { display:block; margin-bottom:7px; }
.routine-week b { display:grid; place-items:center; margin:auto; width:27px; height:27px; border-radius:8px; background:#edf0e8; color:#a0a995; font-size:16px; font-weight:500; }
.routine-week .has-record { background:#def0c5; color:var(--green); }
.routine-week [aria-current=date]>span { color:var(--green); font-weight:700; }
.routine-sheet h3 { font-family:var(--font-heading); font-size:23px; margin-bottom:16px; }
.routine-sheet-kicker { display:block; font-size:12px; margin-bottom:8px; color:var(--green); }
.routine-sheet-description { margin:-6px 0 22px; font-size:13px; color:var(--secondary); }
.routine-chips { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; }
.routine-chips label { position:relative; cursor:pointer; }
.routine-chips input,.routine-reaction-options input { position:absolute; opacity:0; width:1px; height:1px; }
.routine-chips span { display:block; border:1px solid #e1e6dc; border-radius:12px; padding:10px 14px; background:var(--white); color:#626d58; font-size:13px; }
.routine-chips input:checked+span { background:var(--poc-selected); border-color:#afc98f; color:var(--green); font-weight:600; }
.routine-chips input:focus-visible+span,.routine-reaction-options input:focus-visible+span { outline:2px solid var(--green); outline-offset:3px; }
.routine-sheet .routine-chips:has([name=goal-objective]) { flex-direction:column; }
.routine-date-field { display:flex; flex-direction:column; gap:8px; margin:0 0 24px; font-size:13px; font-weight:500; }
.routine-date-field input { box-sizing:border-box; width:100%; min-width:0; min-height:48px; border:1px solid #cbd7c2; border-radius:12px; padding:10px 12px; font:inherit; color:var(--ink); background:var(--white); }
.routine-date-range { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.routine-alternative { padding:16px; border-radius:16px; background:#edf2e7; margin-bottom:24px; }
.routine-alternative>small { font-size:12px; font-weight:600; color:var(--green); }
.routine-alternative p { display:flex; justify-content:space-between; gap:12px; margin:10px 0 0; font-size:12px; }
.routine-alternative span { text-align:right; color:var(--secondary); }
.routine-product-small { padding:18px; border:1px solid var(--line); border-radius:18px; background:var(--white); margin:22px 0; }
.routine-reaction-options { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.routine-reaction-options label { position:relative; cursor:pointer; }
.routine-reaction-options span { display:flex; flex-direction:column; align-items:center; gap:12px; padding:22px 8px; background:var(--white); border:1px solid var(--line); border-radius:15px; font-size:13px; }
.routine-reaction-options b { display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:#eff4e9; color:var(--green); font-size:20px; }
.routine-reaction-options input:checked+span { background:var(--poc-selected); border-color:#a6c487; color:var(--green); }
.routine-history-day { padding:16px; border:1px solid var(--line); border-radius:15px; background:var(--white); margin:12px 0; }
.routine-history-day>strong { font-size:14px; color:var(--green); }
.routine-history-day p,.routine-history-empty { font-size:13px; color:var(--secondary); margin-top:6px; }
@media(max-width:359px) { .routine-focus { padding:18px; } .routine-focus .poc-mascot { width:54px; } .routine-focus strong { font-size:34px; } .routine-daily-item { padding:13px; gap:9px; } .routine-daily-item strong { font-size:14px; } .routine-progress-card { gap:14px; padding:15px; } .routine-chips span { padding-inline:11px; } }

.routine-setup>h3 { font-size:18px; margin:24px 0 14px; }
.routine-setup>h3:first-child { margin-top:0; }
.routine-setup .routine-plan { margin-top:28px; }
.routine-setup .routine-plan-kicker { display:none; }
.routine-setup .routine-plan h3 { font-size:18px; }
.routine-setup .routine-date-field { padding:18px; border:1px solid var(--line); border-radius:18px; background:var(--white); margin-bottom:22px; }
.routine-setup .routine-chips:has([name=goal-objective]) { flex-direction:column; }
.routine-setup .routine-chips span { padding:11px 14px; }
.routine-next-step { margin:20px 0 0; padding:14px 16px; border-left:3px solid #b8cf9a; color:var(--secondary); font-size:12px; line-height:1.65; }
.routine-next-step b { display:block; color:var(--green); font-size:14px; margin-bottom:3px; }

/* Goal setup follows Figma 384:958; management choices appear only in the next step. */
.routine-step-heading { margin:0 0 24px; }
.routine-step-heading h2 { margin:0 0 12px; }
.routine-step-heading>p { font-size:13px; line-height:1.6; color:var(--secondary); margin:0; }
.routine-goal-kinds .routine-chips { display:flex; flex-wrap:nowrap; gap:8px; margin:0 0 24px; }
.routine-goal-kinds label { flex:1; text-align:center; }
.routine-goal-kinds .routine-chips span { border-radius:999px; padding:11px 8px; border:1px solid #e6e6e6; box-shadow:0 2px 4px #00000008; color:var(--ink); font-size:14px; }
.routine-goal-kinds .routine-chips input:checked+span { background:#d9f0b8; border-color:#d9f0b8; }
.routine-date-card { display:block; position:relative; padding:22px; border-radius:20px; background:linear-gradient(105deg,#f1f3f2,#dff1c4); cursor:pointer; }
.routine-date-card-main { display:flex; align-items:center; gap:15px; }
.routine-goal-mascot { flex:none; width:55px; }
.routine-date-card-main small { display:block; font-size:13px; color:var(--ink); margin-bottom:6px; }
.routine-date-card-main strong { display:block; font-size:19px; font-weight:650; line-height:1.4; }
.routine-date-card-main>b { margin-left:auto; font-size:24px; font-weight:400; }
.routine-date-card-footer { display:flex; align-items:center; justify-content:space-between; margin-top:22px; }
.routine-date-card-footer>span { font-size:12px; color:var(--secondary); }
.routine-date-card-footer strong { font-family:var(--font-heading); font-size:22px; color:var(--ink); }
.routine-date-card>input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.routine-date-card:focus-within { outline:2px solid var(--green); outline-offset:4px; }
.trial-page .routine-goal-objectives { margin:28px 0 0; padding:0; border:0; }
.routine-goal-objectives legend { padding:0; margin-bottom:12px; font-size:14px; font-weight:600; }
.routine-goal-objectives .routine-chips { flex-direction:column; gap:8px; margin:0; }
.routine-goal-objectives .routine-chips span { padding:13px 12px; text-align:center; border-radius:12px; font-size:13px; }
.routine-goal-objectives .routine-chips input:checked+span { background:#d9f0b8; border-color:#d9f0b8; color:var(--ink); }
.routine-target-recap { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:14px 16px; border-radius:16px; background:#edf3e6; margin-bottom:22px; color:var(--green); font-size:12px; }
.routine-target-recap strong { font-weight:650; }
.routine-target-recap button { margin-left:auto; border:0; padding:3px 0; background:none; color:var(--green); font:inherit; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.routine-select-step .routine-plan { margin:0; border:0; padding:0; background:none; }
.routine-select-step .routine-plan-kicker,.routine-select-step .routine-plan>h3,.routine-select-step .routine-plan-description { display:none; }
.trial-app[data-screen=routineSetup] .trial-main { padding-top:22px; }
@media(max-height:740px) {
 .trial-app[data-screen=routineSetup] .trial-main { padding-top:14px; }
 .trial-app[data-screen=routineSetup] .routine-step-heading { margin-bottom:18px; }
 .trial-app[data-screen=routineSetup] .routine-step-heading h2 { font-size:26px; margin-bottom:8px; }
 .routine-goal-kinds .routine-chips { margin-bottom:18px; }
 .routine-date-card { padding:18px; }
 .routine-date-card-footer { margin-top:16px; }
 .trial-page .routine-goal-objectives { margin-top:20px; }
 .routine-goal-objectives .routine-chips span { padding:11px; }
}

/* A faint example hint is visually distinct from the native selected checkbox. */
.routine-choice-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='.45' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px 18px no-repeat;
}
.routine-choice-hint:focus-visible { outline:2px solid var(--green); outline-offset:3px; }
.routine-skin-record { display:flex; align-items:center; justify-content:space-between; width:100%; gap:10px; padding:12px 16px; border:0; border-top:1px solid #edf0e8; background:#f3f7ee; color:var(--green); font:inherit; font-size:12px; text-align:left; cursor:pointer; }
.routine-skin-record>b { flex:none; font-size:12px; font-weight:600; }

/* Present a prepared plan first; adjustment choices stay compact and secondary. */
.trial-app[data-screen=routineSelect] .trial-main { padding-top:18px; padding-bottom:calc(var(--dock-height) + 12px); }
.trial-app[data-screen=routineSelect] .routine-step-heading { margin-bottom:16px; }
.trial-app[data-screen=routineSelect] .routine-step-heading h2 { font-size:28px; margin-bottom:8px; }
.trial-app[data-screen=routineSelect] .routine-step-heading>p { font-size:12px; }
/* Reuse the wireframe's grey alternative-plan card with time groups. */
.routine-recommend-goal { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:20px 2px 18px; }
.routine-recommend-goal>div { min-width:0; }
.routine-recommend-goal small { display:block; font-size:11px; color:var(--secondary); margin-bottom:5px; }
.routine-recommend-goal button { display:flex; align-items:center; gap:12px; border:0; padding:0; background:none; color:var(--ink); font:inherit; text-align:left; cursor:pointer; }
.routine-recommend-goal button strong { font-size:17px; font-weight:600; line-height:1.4; }
.routine-recommend-goal button span { font-size:23px; font-weight:400; color:#7c8972; }
.routine-recommend-goal .routine-dday { min-width:76px; min-height:50px; padding:10px 12px; border-radius:12px; font-size:22px; }
.routine-recommend-plan { padding:4px 18px; }
.routine-guide-group { display:grid; grid-template-columns:64px minmax(0,1fr); gap:16px; padding:16px 0; }
.routine-guide-group+.routine-guide-group { border-top:1px solid #e0e5df; }
.trial-page .routine-guide-group h3 { font-family:var(--font); margin:2px 0 0; font-size:11px; font-weight:550; color:#657554; line-height:1.55; word-break:keep-all; }
.routine-guide-group>ul { list-style:none; margin:0; padding:0; }
.routine-guide-item { padding:0; }
.routine-guide-item+li { margin-top:13px; }
.routine-guide-item>strong { display:block; font-size:15px; line-height:1.4; font-weight:600; }
.routine-guide-item>p { margin:4px 0 0; font-size:12px; line-height:1.5; color:var(--secondary); word-break:keep-all; }
.routine-guide-empty { padding:18px 0; color:var(--secondary); font-size:13px; }
.routine-adjust-choices { border:1px solid var(--line); border-radius:16px; padding:0 13px; margin-top:12px; background:var(--white); }
.routine-adjust-choices>summary { padding:12px 0; color:var(--green); font-size:13px; font-weight:550; cursor:pointer; }
.routine-adjust-choices>summary>span { float:right; font-size:11px; font-weight:400; color:var(--secondary); }
.routine-adjust-choices .routine-check { display:grid; grid-template-columns:20px minmax(0,1fr); align-items:center; padding:11px 12px; gap:10px; margin:0 0 7px; border-radius:12px; }
.routine-adjust-choices .routine-check>span { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:2px 8px; }
.routine-adjust-choices .routine-check strong { grid-column:1; grid-row:1; font-size:13px; line-height:1.5; }
.routine-adjust-choices .routine-check small:not(.routine-time) { grid-column:1/-1; grid-row:2; font-size:11px; line-height:1.5; margin:0; }
.routine-adjust-choices .routine-check .routine-time { grid-column:2; grid-row:1; max-width:100px; font-size:9px; margin:0; padding:2px 4px; }
.routine-adjust-choices .routine-plan-count { margin:8px 0 0; font-size:11px; }
.routine-reset-link { display:block; border:0; background:none; color:var(--green); font:inherit; font-size:12px; text-decoration:underline; text-underline-offset:4px; padding:10px 0 14px; cursor:pointer; }
.routine-guided .source-details { margin-top:12px; margin-bottom:0; }
@media(max-width:359px) {
 .trial-app[data-screen=routineSelect] .routine-step-heading h2 { font-size:24px; }
 .routine-recommend-plan { padding-inline:15px; }
 .routine-guide-group { grid-template-columns:53px minmax(0,1fr); gap:12px; }
 .routine-guide-item>strong { font-size:14px; }
 .routine-guide-main strong { font-size:13px; }
 .routine-adjust-choices .routine-check { padding:10px; }
}
@media(max-height:740px) {
 .trial-app[data-screen=routineSelect] .trial-main { padding-top:12px; padding-bottom:calc(var(--dock-height) + 8px); }
 .trial-app[data-screen=routineSelect] .trial-progress { padding-top:14px; }
 .trial-app[data-screen=routineSelect] .routine-step-heading { margin-bottom:12px; }
 .trial-app[data-screen=routineSelect] .routine-step-heading h2 { font-size:25px; }
 .routine-recommend-goal { margin-block:16px 14px; }
 .routine-guide-group { padding-block:13px; }
}

.routine-adjust-note { font-size:11px; color:var(--secondary); margin:0 0 10px; }

/* Figma routine home and management-plan detail: 373:593 / 384:1402. */
.routine-header-settings { padding:8px 0; border:0; background:none; color:var(--secondary); font:inherit; font-size:12px; white-space:nowrap; cursor:pointer; }
.trial-app[data-screen=routinePlan] .trial-header { grid-template-columns:56px 1fr 56px; }
.trial-app:is([data-screen=routine]:has(.routine-home),[data-screen=routinePlan]) .trial-main { padding:24px 16px calc(var(--dock-height) + 24px); }
.trial-app[data-screen=routinePlan] .trial-main { padding-bottom:28px; }
.routine-home .routine-section-head { margin-bottom:14px; }
.routine-home .routine-section-head h2 { font-size:19px; font-weight:650; }
.routine-home .routine-section-head .routine-link { color:var(--ink); font-size:12px; }
.routine-home .routine-focus { border:0; border-radius:16px; padding:20px; background:#adca81; color:#2f3b27; min-height:116px; }
.routine-home .routine-focus strong { font-family:var(--font); font-size:25px; letter-spacing:-.045em; font-weight:650; line-height:1.25; margin:0 0 10px; }
.routine-home .routine-focus strong b { font-weight:inherit; white-space:nowrap; }
.routine-home .routine-focus em { color:#3d4b31; font-size:11px; line-height:1.5; }
.routine-user-avatar { display:block; flex:none; width:66px; height:66px; border-radius:50%; background:#fff; object-fit:cover; object-position:50% 20%; }
.routine-home-section { margin-top:28px; }
.routine-gray-card { background:#f1f3f2; border:1px solid #e3e6e3; border-radius:17px; overflow:hidden; }
.routine-today-count { display:flex; align-items:center; justify-content:space-between; padding:18px 20px 12px; font-size:12px; color:var(--secondary); }
.routine-mini-progress { display:grid; place-items:center; position:relative; width:28px; height:28px; border-radius:50%; font-size:15px; color:var(--green); background:conic-gradient(#afcc83 var(--routine-progress),#e2e7dc 0); isolation:isolate; }
.routine-mini-progress::before { content:''; position:absolute; inset:4px; border-radius:50%; background:#f1f3f2; z-index:-1; }
:is(.routine-home,.routine-plan-view) .routine-daily-list { border:0; border-radius:0; background:none; padding:0 20px 18px; }
:is(.routine-home,.routine-plan-view) .routine-daily-item { gap:18px; padding:12px 0; min-height:64px; }
:is(.routine-home,.routine-plan-view) .routine-daily-item+label { border:0; }
:is(.routine-home,.routine-plan-view) .routine-daily-item:has(input:checked) { background:none; }
:is(.routine-home,.routine-plan-view) .routine-daily-item strong { font-size:16px; line-height:1.4; font-weight:600; color:var(--ink); }
:is(.routine-home,.routine-plan-view) .routine-daily-item small { font-size:11px; line-height:1.5; margin-top:3px; color:var(--secondary); }
.trial-page :is(.routine-home,.routine-plan-view) .routine-daily-item input { appearance:none; -webkit-appearance:none; width:31px; height:31px; margin:0; border-radius:50%; border:1px solid #7c8c6b; background:#e9efdf; cursor:pointer; }
.trial-page :is(.routine-home,.routine-plan-view) .routine-daily-item input:checked { border-color:#dfebcb; background:#dfebcb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-9' fill='none' stroke='%23658543' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/25px 25px no-repeat; }
.trial-page :is(.routine-home,.routine-plan-view) .routine-daily-item input:focus-visible { outline:2px solid var(--green); outline-offset:4px; }
.routine-inline-feedback { display:flex; align-items:center; gap:13px; width:100%; padding:17px 20px; border:0; border-top:1px solid #e0e4e0; background:none; text-align:left; color:var(--ink); cursor:pointer; }
.routine-inline-feedback>span:first-child { font-size:25px; color:#737e6d; }
.routine-inline-feedback strong { display:block; font-size:14px; font-weight:550; }
.routine-inline-feedback small { display:block; margin-top:4px; font-size:11px; color:var(--secondary); }
.routine-inline-feedback>b { margin-left:auto; font-size:23px; font-weight:400; }
.routine-help-banner { display:flex; align-items:center; justify-content:space-between; gap:12px; width:calc(100% + 32px); margin:28px -16px 0; padding:21px 20px; border:0; border-radius:0; text-decoration:none; text-align:left; background:linear-gradient(110deg,#f1f3f2,#e3efcf); color:var(--ink); cursor:pointer; }
.routine-help-banner strong { display:block; font-size:17px; font-weight:650; line-height:1.5; letter-spacing:-.035em; }
.routine-help-banner small { display:block; margin-top:7px; font-size:12px; line-height:1.5; color:#666e60; }
.routine-help-banner small b { font-size:17px; margin-left:6px; font-weight:400; }
.mascot-standing { width:72px; aspect-ratio:180/200; overflow:hidden; display:block; flex:none; position:relative; }
.mascot-standing img { width:833.333%; height:500%; max-width:none; position:absolute; left:-45.556%; top:-146%; }
.routine-home .routine-progress-card { padding:20px; gap:22px; }
.routine-home .routine-ring { width:81px; height:81px; }
.routine-home .routine-ring::before { inset:9px; background:#f1f3f2; }
.routine-home .routine-ring>strong { font-size:23px; }
.routine-home .routine-progress-card>div+div>strong { font-size:14px; line-height:1.5; margin:0 0 8px; }
.routine-home .routine-progress-card p { font-size:11px; }
.routine-home-product { padding:18px; }
.routine-home-product .routine-product { margin:0 0 18px; gap:16px; }
.routine-product-thumb { display:grid; place-items:center; width:72px; min-height:90px; flex:none; border-radius:12px; background:white; }
.routine-product-thumb .product-cutout { width:56px; height:84px; }
.routine-home-product .routine-product strong { font-size:15px; }
.routine-home-product .routine-product p { font-size:11px; }
.routine-home-product>.button { width:100%; min-height:43px; padding:10px; border-radius:12px; font-size:13px; }
.routine-home-history { padding:20px; }
.routine-home-history>strong { font-size:19px; }
.routine-home-history>p { font-size:12px; color:var(--secondary); margin:6px 0 0; }
.routine-home-history .routine-week { padding:21px 0 0; }
.routine-home-history .routine-week b { width:30px; height:32px; background:#e4e8e3; }
.routine-home-history .routine-week .has-record { background:#daebbc; }
.routine-consult-banner .poc-mascot { width:65px; flex:none; }
.routine-home .routine-adjusted { padding:0 20px 8px; }
.routine-plan-intro { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin:0 2px 48px; }
.trial-page .routine-plan-intro h2 { font-family:var(--font); font-size:27px; line-height:1.3; font-weight:650; letter-spacing:-.04em; margin:0 0 9px; }
.routine-plan-intro p { font-size:11px; line-height:1.6; margin:0; color:var(--ink); }
.routine-dday { display:grid; place-items:center; flex:none; min-width:87px; min-height:60px; padding:12px; border-radius:12px; background:#daf0b7; font-size:24px; letter-spacing:-.04em; white-space:nowrap; }
.routine-plan-card-head { padding:21px 20px 12px; }
.routine-plan-card-head h3 { font-family:var(--font); font-size:20px; font-weight:600; margin:0 0 8px; }
.routine-plan-card-head p { font-size:11px; color:var(--secondary); margin:0; line-height:1.5; }
.trial-page .routine-plan-feedback { margin:0; padding:22px 20px; border:0; border-top:1px solid #e0e4e0; }
.routine-plan-feedback legend { float:left; width:100%; margin:0 0 20px; font-size:15px; line-height:1.4; font-weight:600; padding:0; }
.routine-plan-reactions { display:flex; gap:7px; clear:both; }
.routine-plan-reactions label { position:relative; flex:1; cursor:pointer; }
.routine-plan-reactions input { position:absolute; opacity:0; width:1px; height:1px; }
.routine-plan-reactions span { display:grid; place-items:center; padding:11px 4px; min-height:40px; border:1px solid #e8e8e8; border-radius:999px; background:#fff; box-shadow:0 2px 3px #00000012; font-size:13px; white-space:nowrap; }
.routine-plan-reactions input:checked+span { background:#daf0b7; border-color:#c4dd9e; }
.routine-plan-reactions input:focus-visible+span { outline:2px solid var(--green); outline-offset:3px; }
.routine-reaction-note { font-size:11px; color:#80513b; margin:16px 0 0; line-height:1.6; }
.routine-plan-difficult { width:100%; margin-top:30px; padding:21px 20px; min-height:68px; border:1px solid #e3e6e3; border-radius:17px; background:#f1f3f2; color:var(--ink); font-size:16px; font-weight:550; }
.routine-plan-difficult>span { font-weight:400; color:var(--ink); }
.routine-plan-edit { margin:16px 0 0 auto; color:var(--secondary); }
@media(min-width:600px) {
 .routine-home .routine-focus { padding:24px; }
 .routine-home .routine-focus strong { font-size:29px; }
 .routine-help-banner strong { font-size:20px; }
 .routine-plan-intro { margin-top:4px; }
 .trial-page .routine-plan-intro h2 { font-size:31px; }
}
@media(max-width:359px) {
 .routine-home .routine-focus { padding:17px; gap:8px; }
 .routine-home .routine-focus strong { font-size:22px; }
 .routine-user-avatar { width:52px; height:52px; }
 .trial-page .routine-plan-intro h2 { font-size:22px; }
 .routine-dday { min-width:70px; min-height:53px; font-size:21px; }
 .routine-help-banner strong { font-size:15px; }
 :is(.routine-home,.routine-plan-view) .routine-daily-list { padding-inline:17px; }
}

:is(.routine-home,.routine-plan-view) .routine-item-time { display:block; max-width:none; text-align:left; font-size:10px; margin-top:4px; color:#647653; }
.routine-reaction-unsure { margin:14px 0 0; font-size:11px; color:var(--secondary); }

:is(.routine-home,.routine-plan-view) .routine-daily-item:has(input:checked) strong { color:var(--ink); }
/* Use the same compact pill controls in the existing edit sheets. */
.trial-page:has(.routine-home,.routine-plan-view) .routine-sheet .routine-chips span { border-radius:999px; color:var(--ink); box-shadow:0 2px 3px #00000008; }
.trial-page:has(.routine-home,.routine-plan-view) .routine-sheet .routine-reaction-options { display:flex; flex-wrap:wrap; gap:10px; }
.trial-page:has(.routine-home,.routine-plan-view) .routine-sheet .routine-reaction-options label { flex:1 1 calc(50% - 10px); }
.trial-page:has(.routine-home,.routine-plan-view) .routine-sheet .routine-reaction-options span { border-radius:999px; padding:13px 10px; box-shadow:0 2px 3px #00000008; }
.trial-page:has(.routine-home,.routine-plan-view) .routine-sheet .routine-reaction-options b { display:none; }

/* Original Figma image 50 (373:628) inside the white avatar circle. */
.routine-user-avatar { width:92px; height:92px; padding:5px; object-fit:contain; object-position:center; }
@media(max-width:359px) { .routine-user-avatar { width:64px; height:64px; padding:4px; } }

/* Fit the goal form above the dock rather than hiding essential content. */
.trial-app[data-screen=routineSetup] .trial-main { padding-bottom:calc(var(--dock-height) + 12px); }
@media(max-width:599px) and (max-height:860px) {
 .trial-app[data-screen=routineSetup] .trial-progress { padding-top:14px; }
 .trial-app[data-screen=routineSetup] .trial-main { padding-top:14px; }
 .trial-app[data-screen=routineSetup] .routine-step-heading { margin-bottom:16px; }
 .trial-app[data-screen=routineSetup] .routine-step-heading h2 { font-size:26px; line-height:1.25; margin-bottom:8px; }
 .trial-app[data-screen=routineSetup] .routine-step-heading>p { font-size:12px; }
 .routine-goal-kinds .routine-chips { margin-bottom:16px; }
 .routine-date-card { padding:16px; }
 .routine-date-card-main strong { font-size:18px; }
 .routine-date-card-footer { margin-top:12px; }
 .routine-date-card-footer strong { font-size:20px; line-height:1.3; }
 .trial-page .routine-goal-objectives { margin-top:18px; }
 .routine-goal-objectives legend { margin-bottom:8px; }
 .routine-goal-objectives .routine-chips { gap:7px; }
 .routine-goal-objectives .routine-chips span { min-height:44px; padding:10px; }
 .trial-app[data-screen=routineSetup] .trial-dock { padding-top:10px; padding-bottom:max(10px,env(safe-area-inset-bottom)); }
}
@media(max-width:599px) and (max-height:740px) {
 .trial-app[data-screen=routineSetup] .routine-step-heading h2 { font-size:24px; }
 .trial-app[data-screen=routineSetup] .routine-step-heading br { display:none; }
 .routine-goal-mascot { width:46px; }
 .routine-date-card { padding:14px 16px; }
}
