/* Approved Dawn Mist application design. Existing template choices keep their palette. */
.smart :is(.tap,.affirmation){-webkit-tap-highlight-color:transparent}
.smart .action-ring .tap{overflow:hidden;clip-path:circle(50%);isolation:isolate}
.smart .action-ring .tap:active{background:color-mix(in srgb,var(--energy-color,var(--ui-accent)) 12%,transparent)!important}
.smart .tap-energy-layer{position:absolute;inset:22px;border-radius:50%;overflow:hidden;pointer-events:none;z-index:6}
.smart .tap-energy-icon{position:absolute;top:66%;width:30px;height:30px;color:var(--energy-color,var(--ui-accent));opacity:0;pointer-events:none;animation:daily-energy-rise .8s cubic-bezier(.2,.7,.3,1) forwards}
.smart .action-ring .tap-energy-icon svg{position:static;inset:auto;width:30px;height:30px;transform:none;filter:drop-shadow(0 2px 3px #ffffff80)}
@keyframes daily-energy-rise{0%{opacity:0;transform:translate(0,0) scale(.55)}20%{opacity:.95}75%{opacity:.8}100%{opacity:0;transform:translate(var(--energy-x),-95px) scale(1.15)}}
@media(prefers-reduced-motion:reduce){.smart .tap-energy-layer{display:none}}
/* Growth account and planned-feature support share all six existing theme tokens. */
.smart .account-growth,.smart .feature-preview{display:grid;gap:16px;min-width:0;color:var(--ui-ink)}
.smart .account-person{display:flex;align-items:center;gap:14px;padding:8px 0}.smart .account-person>.detail-icon{width:48px;height:48px;padding:10px;background:var(--ui-soft);border-radius:50%}.smart .account-person>div{display:grid;gap:6px;min-width:0}.smart .account-person strong{font-size:20px}.smart .account-person small{font-size:12px;overflow-wrap:anywhere;opacity:.75}
.smart .account-top-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:12px}.smart .sheet .detail-body button.account-stat{display:grid;grid-template-columns:26px minmax(0,1fr);gap:8px;text-align:left;background:var(--ui-card);border:1px solid var(--ui-line);padding:15px 12px;min-width:0}.smart .account-stat .detail-icon{grid-row:1/3;color:var(--ui-accent)}.smart .account-stat span{font-size:12px}.smart .account-stat strong{font-size:25px;line-height:1.3;font-variant-numeric:tabular-nums}
.smart .account-card,.smart .account-upcoming{background:var(--ui-card);border:1px solid var(--ui-line);border-radius:18px;padding:16px;min-width:0;box-shadow:var(--detail-shadow)}.smart .account-card h3{font-size:16px;margin:0 0 12px}.smart .account-card p{font-size:12px;margin:4px 0 12px;opacity:.7}.smart .account-card progress{width:100%;height:10px;accent-color:var(--ui-accent);border:0;border-radius:10px;overflow:hidden}.smart .account-card progress::-webkit-progress-bar{background:var(--ui-soft)}.smart .account-card progress::-webkit-progress-value{background:var(--ui-accent);border-radius:10px}
.smart .sheet .detail-body button.account-row{display:flex;align-items:center;gap:10px;width:100%;min-width:0;text-align:left;border:0;border-radius:0;background:transparent;padding:13px 0;box-shadow:none;font-size:13px}.smart .account-row>span:first-of-type{flex:1}.smart .account-row>span:last-child{margin-left:auto}.smart .account-links{padding-block:4px}.smart .account-links .account-row+.account-row{border-top:1px solid var(--ui-line)}
.smart .account-record-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.smart .account-record-grid>div{display:grid;gap:10px;min-width:0;border-right:1px solid var(--ui-line);padding-right:6px}.smart .account-record-grid>div:last-child{border:0}.smart .account-record-grid small{font-size:11px;line-height:1.6}.smart .account-record-grid strong{font-size:22px;font-variant-numeric:tabular-nums}.smart .account-caption{font-size:12px;line-height:1.7;margin:0;text-align:center;opacity:.75}
.smart .account-upcoming{display:grid;gap:12px;background:var(--ui-soft)}.smart .account-upcoming>small{font-size:12px}.smart .account-upcoming>div{display:flex;align-items:center;gap:10px}.smart .account-upcoming strong{flex:1;font-size:14px}.smart .account-upcoming>div small{font-size:10px;white-space:nowrap}.smart .sheet .detail-body .account-upcoming button{min-height:44px;border-color:var(--ui-line);background:var(--ui-card);font-size:12px}
.smart .feature-preview>h3{margin:10px 0 0;font-size:24px;line-height:1.5;letter-spacing:-.03em}.smart .feature-preview>p{font-size:13px;line-height:1.8;margin:0}.smart .feature-preview>small{font-size:11px;line-height:1.8;opacity:.7}.smart .feature-preview-list{display:grid;gap:14px;margin-block:12px}.smart .feature-preview-card{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;padding:16px 12px;background:var(--ui-card);border:1px solid var(--ui-line);border-radius:18px;min-width:0}.smart .feature-preview-card>.detail-icon{color:var(--ui-accent);width:30px;height:30px}.smart .feature-preview-card h4{font-size:14px;line-height:1.6;margin:0 0 3px;word-break:keep-all}.smart .feature-preview-card p{font-size:11px;line-height:1.7;margin:8px 0 0;opacity:.75}.smart .feature-preparing{font-size:10px;background:var(--ui-soft);border-radius:20px;padding:3px 7px}
.smart .sheet .detail-body button.feature-heart{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;min-width:64px;min-height:48px;border-radius:24px;padding:9px 10px;border:0;background:var(--ui-accent);color:var(--ui-on-accent);touch-action:manipulation;font-size:13px;box-shadow:0 4px 12px #17314812}.smart .feature-heart strong{font-variant-numeric:tabular-nums}.smart .feature-heart:active{transform:scale(1.07)}.smart .feature-plus{position:absolute;top:-12px;left:40%;font-style:normal;font-size:15px;font-weight:700;color:var(--ui-accent);pointer-events:none;animation:feature-heart-rise .65s ease-out forwards}.smart .feature-support-note{text-align:center}.smart .feature-status{min-height:0;font-size:12px;line-height:1.8}.smart .feature-status:empty{display:none}
@keyframes feature-heart-rise{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-24px)}}
@media(prefers-reduced-motion:reduce){.smart .feature-plus{animation:none;display:none}.smart .feature-heart:active{transform:none}}
html[data-ui-template=world] .smart,html[data-ui-template=dawn-mist] .smart{--ui-paper:#f7f4ef;--ui-card:#fffdf9;--ui-ink:#173148;--ui-accent:#557d98;--ui-on-accent:#fff;--ui-line:#28445d21;--ui-soft:#edf1f1;--ui-radius:20px;--panel:#fffdf9;--border:#28445d21;--ivory:#173148;--muted:#657583;--gold:#b68e62;--count:#173148;--detail-art:url('/_release/a647d9aef8b61f053a9ef6af2df79916f3c36998/assets/ui-dawn-mist-v1-mobile.webp');background:#edece8;color:var(--ui-ink)}
html[data-ui-template=dawn-mist]{--ui-paper:#f7f4ef;--ui-card:#fffdf9;--ui-ink:#173148;--ui-accent:#557d98;--ui-on-accent:#fff;--ui-line:#28445d21;--ui-soft:#edf1f1;--ui-font:Georgia,'Malgun Gothic',serif;--ui-radius:20px}
.smart{--detail-art:var(--ui-art);--detail-shadow:0 8px 26px #1731480b}
html[data-ui-template=world] .smart .counter-shell,html[data-ui-template=dawn-mist] .smart .counter-shell{background:linear-gradient(180deg,#fff7eb70 0%,#f8f5ef30 55%,#f7f4efed 100%),var(--detail-art) center/cover no-repeat #f7f4ef;color:#173148}
html[data-ui-template=world] .smart :is(.smart-head,.stage-identity,.goal-rate,.stage-code,.touch-caption,.time-caption,.activity-pill,.bottom-handle>span,.affirmation,.count-wrap strong,.count-wrap span),html[data-ui-template=dawn-mist] .smart :is(.smart-head,.stage-identity,.goal-rate,.stage-code,.touch-caption,.time-caption,.activity-pill,.bottom-handle>span,.affirmation,.count-wrap strong,.count-wrap span){color:var(--ui-ink);text-shadow:none;background-color:transparent}
.smart .smart-head{padding-inline:22px;background:none}
.smart .stage-dots,.smart .live-dot{display:none}
.smart .stage-identity:before{content:'RE:ON';font:24px Georgia,serif;letter-spacing:.015em}
.smart .stage-identity #stageLabel{font-size:10px;letter-spacing:.025em}
.smart .head-actions .profile-button{border:0;background:transparent;color:var(--ui-ink);min-width:44px;min-height:44px}
.smart .profile-button #profileLabel{display:none}
.smart .head-actions .goal-rate{display:none}
.smart .info-button{width:44px;height:44px;min-width:44px;min-height:44px;background:transparent;border:0;color:var(--ui-ink)}
.smart .declaration-zone{flex:1.4 1 0;padding-inline:28px}
.smart .affirmation{font-family:Georgia,'Malgun Gothic',serif;font-weight:600!important;letter-spacing:-.035em;font-size:clamp(28px,8vw,36px)}
.smart .declaration-line{background:#b68e6280;box-shadow:none;width:34px}
.smart .stage-code{font-size:9px}
html[data-ui-template=world] .smart .tap,html[data-ui-template=dawn-mist] .smart .tap{background:#fffaf2e8;border:1px solid #b39064;color:#6a543b;box-shadow:0 5px 24px #b08b5c25,inset 0 0 30px #fff}
html[data-ui-template=world] .smart :is(.ring-progress,.ring-count),html[data-ui-template=dawn-mist] .smart :is(.ring-progress,.ring-count){stroke:#ba9367;filter:none}
html[data-ui-template=world] .smart :is(.ring-base,.ring-inner-base),html[data-ui-template=dawn-mist] .smart :is(.ring-base,.ring-inner-base){stroke:#ffffffb0}
.smart .action-ring::before{border-color:#ffffff80;box-shadow:0 0 35px #fff9;background:none}
.smart .progress{background:var(--ui-line);height:4px}.smart .progress i{background:linear-gradient(90deg,#d6ba96,#7b9ba8)}
.smart .activity-pill{border-color:var(--ui-line);background:var(--ui-card);font-size:9px}
.smart .bottom-handle{padding:0 0 calc(10px + env(safe-area-inset-bottom));border-radius:26px 26px 0 0;background:var(--ui-card);border-top:1px solid var(--ui-line);height:58px;justify-content:center;pointer-events:auto;box-shadow:0 -5px 24px #17314809}
.smart .bottom-handle>span{display:none}.smart .handle{position:static;min-width:100%;width:100%;height:48px;display:grid;place-items:center}.smart .handle i{background:var(--ui-ink);width:32px;opacity:.45}.smart .handle:after{display:none}
.smart .sheet:has(.compact-menu){background:var(--ui-card);border:1px solid var(--ui-line);border-radius:26px 26px 0 0;box-shadow:0 -8px 45px #1731481a;padding:18px 16px calc(16px + env(safe-area-inset-bottom));max-height:75dvh}
.smart .compact-menu{gap:10px;justify-content:center}.smart .sheet .compact-menu-button{width:48px;flex-basis:48px;height:48px;min-height:48px;border:1px solid var(--ui-line);border-radius:50%;background:var(--ui-paper);color:var(--ui-ink);box-shadow:0 3px 8px #17314808}
.detail-icon{width:23px;height:23px;display:block;flex-shrink:0}.smart .compact-new-dot{background:#c6a06d;right:1px;top:0;width:7px;height:7px}
.smart .sheet-meta{color:var(--ui-ink);opacity:.65;padding-top:10px;font-size:10px}
.smart .sheet.detail-page:not(.completion-login):not(:has(.compact-menu)){display:flex;flex-direction:column;gap:0;position:absolute;inset:0;border:0;border-radius:0;max-height:100%;width:100%;height:100%;padding:0;background:var(--ui-paper);box-shadow:none;overflow:auto;overscroll-behavior:contain}
.smart .detail-heading{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;padding:calc(12px + env(safe-area-inset-top)) 14px 10px;background:var(--ui-paper);position:sticky;top:0;z-index:3;border-bottom:1px solid var(--ui-line)}
.smart .detail-title{margin:0;text-align:center;font-size:19px;font-weight:700;color:var(--ui-ink);line-height:1.4}
.smart .detail-heading :is(.detail-close,.detail-back){display:grid;place-items:center;min-width:44px;width:44px;min-height:44px;height:44px;padding:0;background:transparent;border:0;color:var(--ui-ink);border-radius:50%}
.smart .detail-intro{margin:18px 20px 4px;font-size:13px;color:var(--ui-ink);line-height:1.75}.smart .detail-intro p{margin:0;opacity:.8}
.smart .detail-landscape{min-height:142px;display:flex;flex-direction:column;justify-content:flex-end;border-radius:18px;padding:18px;background:linear-gradient(0deg,#173148d9,#17314805),var(--detail-art) center/cover;color:#fff;box-shadow:var(--detail-shadow)}
.smart .detail-landscape small{font-size:10px;letter-spacing:.1em;margin-bottom:8px;color:#fff}.smart .detail-landscape p{font-size:16px;line-height:1.6;max-width:320px;font-family:var(--ui-font);opacity:1;color:#fff}
.smart .detail-body{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:14px;padding:20px;flex:1;min-width:0}
.smart .detail-body>*{min-width:0;max-width:100%;grid-column:1/-1}
.smart .detail-body :is(.sheet-info,.archive-row,.space-tile,.circle-member,.signal-item,.world-card){background:var(--ui-card);border:1px solid var(--ui-line);border-radius:16px;padding:16px;box-shadow:var(--detail-shadow);color:var(--ui-ink)}
.smart .detail-body :is(b,strong,span,small,label,p,summary,a){color:inherit;overflow-wrap:anywhere}.smart .detail-body .sheet-info{gap:10px}.smart .detail-body .sheet-info small{opacity:.7;line-height:1.75}
.smart .detail-body .sheet-info b{font-size:24px;font-family:var(--ui-font)}
.smart .detail-body :is(.sheet-input,input:not([type=checkbox]):not([type=radio]),textarea,select){width:100%;min-width:0;min-height:50px;padding:13px 14px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-card);color:var(--ui-ink);font:inherit;font-size:15px;line-height:1.6}
.smart .detail-body textarea{min-height:140px;resize:vertical}.smart .detail-body ::placeholder{color:var(--ui-ink);opacity:.6}
.smart .detail-body label{font-size:13px;line-height:1.7;display:grid;gap:7px}.smart .detail-body .consent-line{display:flex;align-items:center;padding:8px 0;min-height:44px}.smart input:is([type=checkbox],[type=radio]){accent-color:var(--ui-accent);flex-shrink:0}
.smart .detail-body button{min-height:50px;padding:12px 16px;background:var(--ui-card);color:var(--ui-ink);border:1px solid var(--ui-line);border-radius:14px;font-size:14px;line-height:1.5;cursor:pointer;font-weight:600}
.smart .sheet .detail-body button[data-action$="save"],.smart .sheet .detail-body button[data-action$="create"],.smart .sheet .detail-body button[data-action$="run"],.smart .sheet .detail-body button[data-action$="publish"],.smart .sheet .detail-body button[data-action$="start"]{background:linear-gradient(115deg,color-mix(in srgb,var(--ui-accent) 80%,#fff),var(--ui-accent));color:var(--ui-on-accent);border-color:transparent;box-shadow:0 5px 15px #17314812}
.smart .sheet .detail-body button:is(:hover,[aria-pressed=true],.active){border-color:var(--ui-accent);background:var(--ui-soft);color:var(--ui-ink)}
.smart :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--ui-accent);outline-offset:3px}
.smart .detail-body .sheet-note{font-size:12px;line-height:1.8;padding:12px;border-radius:12px;background:var(--ui-soft);color:var(--ui-ink)}
.smart .detail-body .trace-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.smart .detail-body .trace-grid>div{align-items:flex-start;min-height:98px;padding:14px 10px;background:var(--ui-card);border:1px solid var(--ui-line);box-shadow:var(--detail-shadow)}
.smart .detail-body .trace-grid strong{font-size:25px;line-height:1.3;color:var(--ui-ink);font-variant-numeric:tabular-nums}.smart .detail-body .trace-grid span{font-size:11px;line-height:1.5;opacity:.8}
.smart .detail-body .archive-list,.smart .detail-body .world-list{max-height:none;overflow:visible;gap:12px}.smart .detail-body .archive-row{gap:8px}.smart .detail-body .archive-row small{font-size:11px;opacity:.7}.smart .detail-body .archive-row b{font-size:15px;line-height:1.6}.smart .detail-body .archive-row span{font-size:12px;opacity:.75}
.smart .detail-body .calendar-grid{background:var(--ui-card);padding:12px 6px;border:1px solid var(--ui-line);border-radius:18px;gap:3px}.smart .detail-body button.calendar-day{padding:4px 0;min-height:48px;background:transparent;border:0;border-radius:50%;font-weight:500}.smart .calendar-day b{font-size:14px}.smart .calendar-day span{font-size:8px;color:var(--ui-accent)}.smart .calendar-day[aria-current=date]{background:var(--ui-accent);color:var(--ui-on-accent)}
.smart .calendar-weekday{font-size:10px;text-align:center;opacity:.65;padding:4px}.smart .calendar-summary{display:flex;justify-content:space-between;padding:18px;background:var(--ui-card);border:1px solid var(--ui-line);border-radius:16px}.smart .calendar-summary b{font-size:26px}
.smart .detail-body .emotion-row button{padding:12px 4px}.smart .detail-body .emotion-row button.active{background:var(--ui-soft);border-color:var(--ui-accent);color:var(--ui-ink)}
.smart .detail-dock{display:flex;justify-content:space-around;gap:6px;position:sticky;bottom:0;z-index:3;flex-shrink:0;margin-top:4px;padding:8px 14px calc(8px + env(safe-area-inset-bottom));background:var(--ui-card);border-top:1px solid var(--ui-line)}
.smart .detail-dock button{width:48px;min-height:48px;display:grid;place-items:center;background:transparent;border:0;border-radius:12px;color:var(--ui-ink);padding:0}
.smart .detail-body .phrase-options{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-content:start}
.smart .sheet .detail-body .phrase-options .phrase-choice{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;min-width:0;min-height:64px;align-items:center;gap:12px;text-align:left;padding:16px;background:var(--ui-card);color:var(--ui-ink);border-color:var(--ui-line)}
.smart .phrase-choice-number{display:none}
.smart .sheet .detail-body .phrase-choice-text{min-width:0;font-size:16px;line-height:1.6;word-break:keep-all;overflow-wrap:break-word}
.smart .sheet .detail-body .phrase-choice-check{font-size:11px;line-height:1.5;white-space:nowrap;color:var(--ui-accent);justify-self:end}
.smart .sheet .detail-body .phrase-options .phrase-choice[aria-pressed=true]{background:var(--ui-soft);border-color:var(--ui-accent);box-shadow:inset 3px 0 var(--ui-accent)}
.smart .detail-body .voice-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.smart .voice-modes button{display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;padding:18px 8px;font-size:12px;font-weight:600}.smart .voice-modes .detail-icon{width:30px;height:30px;color:var(--ui-accent)}
.smart .detail-body .voice-capture{grid-template-columns:minmax(0,1fr);gap:14px}.smart .detail-body .voice-capture input[type=file]{font-size:12px;padding:10px}.smart .detail-body .voice-capture label{color:var(--ui-ink)}
.smart .detail-body details{border:1px solid var(--ui-line);border-radius:15px;padding:14px;background:var(--ui-card)}.smart .detail-body summary{cursor:pointer;min-height:38px;line-height:1.7;padding-block:5px}.smart .detail-body details[open]>div{margin-top:12px}
.smart .detail-body .reminder-heading{display:none}.smart .sheet.reminder-sheet.detail-page{padding:0;border-radius:0}.smart .detail-body .reminder-time-card{background:var(--ui-card);margin:0;padding:20px;border-radius:18px}.smart .detail-body .reminder-details{margin-top:0}.smart .detail-body #reminderTime{min-height:64px;font-size:40px}.smart .detail-body .reminder-period button{min-height:44px}.smart .sheet .detail-body .reminder-save{width:100%;background:var(--ui-accent);color:var(--ui-on-accent)}
.smart .detail-body .private-caption{font-size:12px;color:var(--ui-ink);display:flex;justify-content:center;align-items:center;gap:8px;padding:8px}.private-caption .detail-icon{width:17px;height:17px}
.smart .sheet.completion-login{position:absolute;inset:0;background:#17314877;padding:20px;backdrop-filter:none}
html[data-ui-template] .smart #complete{background:#17314877;backdrop-filter:none}
html[data-ui-template] .smart :is(#complete .completion-card,.completion-auth-card,.level-up-card){background:var(--ui-card);color:var(--ui-ink);border:1px solid var(--ui-line);box-shadow:0 18px 70px #1731482b;border-radius:24px}
html[data-ui-template] .smart #complete :is(h2,b,strong,p,span),html[data-ui-template] .smart .completion-auth-card :is(h2,p,small,label){color:var(--ui-ink)}
html[data-ui-template] .smart #complete .complete-check{border:0;background:#f4e5cb;color:#ad8454;box-shadow:0 0 0 12px #f4e5cb44}
html[data-ui-template] .smart #complete #completionCount{color:var(--ui-ink);font-size:60px}
html[data-ui-template] .smart #complete .completion-card{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:36px 24px 24px;width:min(100%,420px)}
#complete .completion-card>*{grid-column:1/-1}#complete .complete-check{justify-self:center}
html[data-ui-template] .smart #complete .completion-close,html[data-ui-template] .smart .sheet .completion-close{color:var(--ui-ink);background:transparent;border:0;min-height:44px;width:44px}
html[data-ui-template] .smart #complete #personalInviteButton{grid-column:1;background:#fbf3e8;color:#996b36;border:1px solid #dec19b;min-width:0;width:100%;min-height:52px;font-size:13px}
html[data-ui-template] .smart #complete #saveCompletion{grid-column:2;background:var(--ui-accent);color:var(--ui-on-accent);border:1px solid var(--ui-accent);width:100%;min-width:0;font-size:14px}
html[data-ui-template] .smart .completion-auth-card .sheet-input{background:var(--ui-paper);color:var(--ui-ink);border-color:var(--ui-line);font-size:16px}
.smart .completion-auth-card .completion-brand{color:var(--ui-accent);font:25px Georgia,serif;padding-top:6px}
.smart .completion-auth-card :is(.completion-login-submit,.completion-signup-submit){background:var(--ui-accent);color:var(--ui-on-accent);border:0;min-height:50px;border-radius:12px}
.smart .completion-auth-card .completion-google{background:var(--ui-card);color:var(--ui-ink);border:1px solid var(--ui-line);min-height:50px;border-radius:12px}
.smart .completion-auth-card :is(.completion-consent,.completion-signup-footer,.completion-divider){color:var(--ui-ink);font-size:12px}.smart .completion-auth-card a,.smart .completion-auth-card .completion-signup-footer button{color:var(--ui-accent)}
.smart .completion-divider:before,.smart .completion-divider:after{background:var(--ui-line)}
.smart .profile-panel{border:1px solid var(--ui-line);border-radius:18px;box-shadow:0 12px 45px #17314822;background:var(--ui-card);padding:18px;min-width:230px;max-width:calc(100vw - 32px)}.smart .profile-panel button{min-height:46px;text-align:left;padding:12px;border:0;border-top:1px solid var(--ui-line);border-radius:0;background:none;color:var(--ui-ink)}
html[data-ui-template] .smart .focus{background:linear-gradient(0deg,#17314890,#17314820),var(--detail-art) center/cover;color:#fff;gap:24px}
html[data-ui-template] .smart .focus :is(small,strong,b){color:#fff;text-shadow:0 2px 15px #17314844}.smart .focus strong{font-size:27px;font-family:var(--ui-font)}.smart .focus b{font-size:64px;letter-spacing:-.04em}
html[data-ui-template] .smart .focus button{background:#fffdf9e8;color:#173148;border:1px solid #fff;border-radius:50px;min-height:52px}
.smart .toast{position:fixed;max-width:min(90vw,460px);width:max-content;white-space:normal;text-align:center;line-height:1.7;background:#173148ed;border:0;border-radius:14px;color:#fff;box-shadow:0 8px 28px #17314826;bottom:calc(80px + env(safe-area-inset-bottom));font-size:13px;padding:12px 20px}
.smart #reonInstallApp{z-index:7;background:var(--ui-card)!important;color:var(--ui-ink)!important;border:1px solid var(--ui-line)!important;box-shadow:var(--detail-shadow)!important;font-size:12px;padding:10px 14px!important;min-height:44px}
.smart:has(#sheet:not([hidden])) #reonInstallApp,.smart:has(#complete:not([hidden])) #reonInstallApp{display:none}
@media(min-width:768px){html[data-ui-surface=tablet] .smart{padding:20px}html[data-ui-surface=tablet] .smart .counter-shell{height:calc(100dvh - 40px);min-height:560px;width:min(100%,960px);border:1px solid #ffffffa0;border-radius:28px;box-shadow:0 18px 65px #17314812}html[data-ui-surface=tablet] .smart .detail-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:24px 32px}html[data-ui-surface=tablet] .smart .detail-body>.sheet-input,html[data-ui-surface=tablet] .smart .detail-body>label:not(.sheet-span),html[data-ui-surface=tablet] .smart .detail-body>button:not(.sheet-span){grid-column:auto}html[data-ui-surface=tablet] .smart .detail-intro{margin:20px 32px 0}html[data-ui-surface=tablet] .smart .detail-body .trace-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1200px){html[data-ui-surface=pc] .smart{padding:32px;--detail-art:url('/_release/a647d9aef8b61f053a9ef6af2df79916f3c36998/assets/ui-dawn-mist-v1.webp')}html[data-ui-surface=pc] .smart .counter-shell{width:min(1180px,100%);height:calc(100dvh - 64px);min-height:640px;max-height:none;border-radius:28px;border:1px solid #ffffffb0;box-shadow:0 20px 70px #17314814}html[data-ui-surface=pc] .smart .sheet.detail-page:not(.completion-login):not(:has(.compact-menu)){padding-left:180px}html[data-ui-surface=pc] .smart .detail-heading{padding:24px 32px 14px;grid-template-columns:44px 1fr 44px}html[data-ui-surface=pc] .smart .detail-title{text-align:left;font-size:25px}html[data-ui-surface=pc] .smart .detail-intro{margin:20px 32px 0;max-width:none}html[data-ui-surface=pc] .smart .detail-landscape{min-height:170px}html[data-ui-surface=pc] .smart .detail-body{padding:24px 32px;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}html[data-ui-surface=pc] .smart .detail-dock{position:absolute;inset:0 auto 0 0;bottom:0;width:180px;flex-direction:column;justify-content:flex-start;align-items:stretch;padding:72px 18px 20px;border-right:1px solid var(--ui-line);border-top:0;margin:0;background:var(--ui-card)}html[data-ui-surface=pc] .smart .detail-dock:before{content:'RE:ON';position:absolute;top:26px;left:25px;font:26px Georgia,serif;color:var(--ui-ink)}html[data-ui-surface=pc] .smart .detail-dock button{display:flex;width:100%;gap:12px;min-height:52px;text-align:left;padding:10px;font-size:12px}html[data-ui-surface=pc] .smart .detail-dock button:after{content:attr(aria-label)}html[data-ui-surface=pc] .smart .detail-body>.sheet-input,html[data-ui-surface=pc] .smart .detail-body>label:not(.sheet-span){grid-column:auto}html[data-ui-surface=pc] .smart .detail-body .trace-grid{grid-template-columns:repeat(3,minmax(0,1fr))}html[data-ui-surface=pc] .smart .sheet:has(.compact-menu){max-width:720px;left:50%;right:auto;width:100%;transform:translateX(-50%);border-radius:24px 24px 0 0}}
@media(max-width:360px){.smart .detail-body{padding:16px;gap:12px}.smart .detail-intro{margin-inline:16px}.smart .detail-body .trace-grid>div{padding:12px 7px}.smart .detail-body .trace-grid strong{font-size:21px}.smart .detail-title{font-size:17px}.smart .sheet .compact-menu-button{flex-basis:46px;width:46px;height:46px}.smart .compact-menu{gap:8px}}
@media(prefers-reduced-motion:reduce){.smart *{scroll-behavior:auto!important}.smart .detail-page{animation:none}}
.smart .growth-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.smart .growth-stat{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:8px 10px;padding:18px 14px;border:1px solid var(--ui-line);border-radius:16px;background:var(--ui-card);box-shadow:var(--detail-shadow)}.smart .growth-stat .detail-icon{grid-row:span 2;color:var(--ui-accent)}.smart .growth-stat span{font-size:11px}.smart .growth-stat strong{font-size:27px;line-height:1.2;grid-column:2;color:var(--ui-ink)}.smart .growth-stat:last-child:nth-child(odd){grid-column:1/-1}.smart .growth-meter{height:8px;border-radius:9px;background:var(--ui-line);overflow:hidden;margin-top:8px}.smart .growth-meter i{display:block;height:100%;background:linear-gradient(90deg,#c7a781,var(--ui-accent));border-radius:9px}.smart .detail-empty{min-height:230px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;text-align:center;background:linear-gradient(180deg,transparent,var(--ui-paper)),var(--detail-art) center/cover;border-radius:18px;padding:30px}.smart .detail-empty>.detail-icon{width:42px;height:42px;color:var(--ui-accent)}.smart .detail-empty b{font-size:16px}.smart .detail-empty p{margin:0;font-size:12px}
.smart .bottom-handle{display:flex;flex-direction:row;align-items:center;justify-content:space-around;gap:6px;padding:6px 16px calc(6px + env(safe-area-inset-bottom));height:auto;min-height:62px}.smart .bottom-handle :is(.handle,.practice-dock-button){display:grid;place-items:center;position:static;min-width:44px;width:44px;min-height:46px;height:46px;padding:0;pointer-events:auto;border:0;border-radius:14px;background:transparent;color:var(--ui-ink)}.smart .bottom-handle .handle{background:var(--ui-soft);color:var(--ui-accent)}.smart .bottom-handle .detail-icon{width:23px;height:23px}.personal-gift-card{position:relative;box-shadow:0 20px 70px #17314833}.personal-gift-card .gift-close{position:absolute;right:8px;top:8px;width:44px;min-height:44px;border:0;border-radius:50%;background:transparent;color:inherit;font-size:25px}.personal-gift-card h2{font-family:var(--ui-font);font-size:24px;line-height:1.5}.personal-gift-card p{line-height:1.8;font-size:14px}.smart .detail-body .voice-capture [data-record]{background:#fff0eb;color:#b54f38;border-color:#e9c4b6}.smart .detail-body .voice-capture [data-stop]{color:#66788b}.smart .detail-body .voice-capture [type=submit]{background:var(--ui-accent);color:var(--ui-on-accent)}
/* Main practice stays one action: the real count sits inside its working ring. */
.smart .declaration-zone{position:absolute;top:18%;left:0;right:0;flex:none;min-height:0;padding:0 28px}.smart .count-zone{position:absolute;top:50%;left:50%;width:260px;height:180px;transform:translate(-50%,-50%);padding:0;flex:none;z-index:4;pointer-events:none}.smart .count-zone .count-wrap{justify-content:center;gap:6px}.smart .count-zone .count-wrap strong{font-size:64px;font-weight:600;letter-spacing:-.04em}.smart .count-zone .count-wrap span{font-size:19px}.smart .count-zone .progress{display:none}.smart .count-zone .touch-caption{font-size:10px;letter-spacing:.04em;order:-1;margin:0 0 8px}.smart .count-zone .touch-caption span:last-child,.smart .count-zone .touch-caption b{display:none}.smart .detail-count-symbol{margin-top:16px;color:#658c8b}.smart .detail-count-symbol .detail-icon{width:29px;height:29px}.smart .action-zone{position:absolute;top:calc(50% - 130px);left:50%;transform:translateX(-50%);width:260px;flex:none;padding:0;justify-content:flex-start;align-items:center;gap:0}.smart .action-zone .action-ring{width:260px;height:260px}.smart .action-ring>svg{width:260px;height:260px}.smart .action-ring .ring-base{stroke-width:3}.smart .action-ring .ring-progress{stroke-width:3}.smart .action-ring .ring-inner-base{stroke-width:.6}.smart .action-ring .ring-count{stroke-width:1}.smart .action-ring::before{inset:20px;background:#fffdf954;border:0;box-shadow:0 0 30px #fff7}.smart .action-ring::after{inset:0}.smart .action-ring .tap{position:absolute;inset:22px;margin:0;width:216px;height:216px;border-radius:50%;border:0!important;background:#fffdf924!important;box-shadow:none!important;z-index:2}.smart .action-ring .tap .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}.smart .activity-pill{display:none}.smart .action-zone .time-caption{order:2;margin-top:22px;font-size:12px}.smart .declaration-line{margin-top:16px}.smart .stage-code{margin-top:8px}
@media(max-height:650px){.smart .declaration-zone{top:17%}.smart .action-zone{top:calc(51% - 112px);width:224px}.smart .action-zone .action-ring,.smart .action-ring>svg{width:224px;height:224px}.smart .action-ring .tap{width:180px;height:180px}.smart .count-zone{top:51%}.smart .count-zone .count-wrap strong{font-size:54px}.smart .action-zone .time-caption{margin-top:12px}.smart .detail-count-symbol{margin-top:10px}}
/* Hidden sheets must remain hidden regardless of the active device layout. */
.smart #sheet[hidden]{display:none!important}
.invitation-status-dialog{width:min(480px,calc(100vw - 32px));max-height:85dvh;overflow:auto;border:1px solid var(--ui-line,#d8dfe2);border-radius:24px;background:var(--ui-card,#fffdf9);color:var(--ui-ink,#173148);padding:28px 22px;box-shadow:0 24px 80px #17314833}.invitation-status-dialog::backdrop{background:#17314888}.invitation-status-dialog h2{margin:0 44px 20px 0;font-size:22px}.invitation-status-dialog .gift-close{position:absolute;right:12px;top:14px;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:inherit}.invitation-status-hero{padding:24px 18px;border-radius:16px;text-align:center;display:flex;align-items:center;flex-direction:column;background:linear-gradient(0deg,#173148a0,transparent),var(--detail-art) center/cover;color:#fff}.invitation-status-hero>.detail-icon{width:42px;height:42px}.invitation-status-hero p{margin:15px 0 0;font-size:14px;line-height:1.7}.invitation-status-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.invitation-status-stats>div{display:grid;gap:8px;border:1px solid var(--ui-line,#d8dfe2);border-radius:14px;padding:16px}.invitation-status-stats small{font-size:11px;opacity:.7}.invitation-status-stats strong{font-size:23px}.invitation-status-list{display:grid;gap:10px}.invitation-status-list article{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:15px;border:1px solid var(--ui-line,#d8dfe2);border-radius:14px;font-size:13px}.invitation-status-list span{color:var(--ui-accent,#557d98)}
html[data-ui-template] .smart .detail-landscape :is(small,p){color:#fff;text-shadow:0 1px 8px #17314844}
html[data-ui-template] .smart .completion-auth-card :is(.completion-login-submit,.completion-signup-submit){background:var(--ui-accent);color:var(--ui-on-accent);border:0}
html[data-ui-template] .smart .detail-heading :is(.detail-back,.detail-close){background:transparent;border:0;color:var(--ui-ink)}
/* Readable SMART labels after all template refinements. */
.smart .action-zone .time-caption{font-size:16px;line-height:1.6}
html[data-ui-template] .smart .stage-identity,html[data-ui-template] .smart .stage-code{background:linear-gradient(120deg,color-mix(in srgb,var(--ui-ink,#f3f3ee) 14%,transparent),color-mix(in srgb,var(--ui-ink,#f3f3ee) 4%,transparent));border-radius:10px}
.smart .smart-head{background:linear-gradient(180deg,rgba(0,0,0,.15),transparent);border-radius:12px}

/* Keep the selected calendar date visible after the shared button reset. */
.smart .sheet .detail-body button.calendar-day[aria-current=date]{background:var(--ui-accent);color:var(--ui-on-accent)}
.smart .detail-body .voice-modes>button{min-width:0;overflow-wrap:break-word;word-break:keep-all}
.smart .detail-body :is(.english-character-buttons,.reminder-options){grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:450px){.smart .detail-body .english-character-buttons{grid-template-columns:minmax(0,1fr)}}
@media(max-width:380px){.smart .detail-body .reminder-options{grid-template-columns:minmax(0,1fr)}}

/* Readable counter target and an unobtrusive stage label on light skins. */
html[data-ui-template] .smart .count-zone .count-wrap>span{color:var(--ui-ink);opacity:.75;text-shadow:none}
.smart .declaration-zone .stage-code{font-size:11px;line-height:1.5}


/* Keep keyboard focus inside the circular clip and keep repeat hearts visibly active. */
.smart .action-ring .tap:focus-visible{outline-offset:-4px}
.smart .sheet .detail-body .feature-preview button.feature-heart:hover{background:var(--ui-accent);color:var(--ui-on-accent)}
.smart dialog.invite-link-dialog{width:min(420px,calc(100% - 40px));max-height:calc(100dvh - 48px);padding:28px 20px 20px;border:1px solid var(--ui-line);border-radius:22px;background:var(--ui-card);color:var(--ui-ink);box-shadow:0 18px 70px #17314835;overflow:auto}
.smart .invite-link-dialog::backdrop{background:#17314866}
.smart .invite-link-dialog h2{margin:12px 0 20px;font-size:21px;line-height:1.5;padding-right:32px}
.smart .invite-link-dialog .invite-link-close{position:absolute;right:12px;top:12px;min-height:44px;min-width:44px;padding:8px;border:0;background:transparent;color:var(--ui-ink);font:inherit;border-radius:12px}
.smart .invite-link-dialog #personalInviteLink{width:100%!important;min-height:48px;font-size:13px;background:var(--ui-paper);color:var(--ui-ink);border:1px solid var(--ui-line)!important}
.smart .invite-link-copy{display:block;width:100%;min-height:48px;margin-top:14px;border:0;border-radius:14px;background:var(--ui-accent);color:var(--ui-on-accent);font:inherit;font-weight:700;padding:12px}


/* Completion is a celebration, with the gift action kept within thumb reach. */
html[data-ui-template] .smart #complete .completion-card{isolation:isolate;overflow-x:hidden;background:radial-gradient(ellipse at 50% 0,#f5dfb577,transparent 60%),var(--ui-card);border:1px solid #dec18e;box-shadow:0 24px 90px #142e4566;gap:12px}
#complete .completion-kicker{font-size:11px;font-weight:800;letter-spacing:.28em;color:#ad7f3f;position:relative;z-index:1}
html[data-ui-template] .smart #complete .complete-check{font-size:48px;width:76px;height:76px;color:#a7752e;background:linear-gradient(135deg,#fae5bd,#e6bf7c);box-shadow:0 0 0 10px #ebce9833,0 6px 24px #b58b4533;margin:12px 0}
html[data-ui-template] .smart #complete h2{font-size:34px;font-weight:850;line-height:1.25;margin:10px 0 0;letter-spacing:-.05em}
html[data-ui-template] .smart #complete h2 span{display:block;font-size:17px;font-weight:600;margin-top:9px;line-height:1.5}
html[data-ui-template] .smart #complete #completionCount{font-size:clamp(72px,22vw,96px);font-weight:850;letter-spacing:-.065em;line-height:1.05;color:var(--ui-ink)}
#complete .completion-count{margin:4px 0}.smart #complete .completion-encouragement{font-size:13px;line-height:1.7;word-break:keep-all;margin:0}
html[data-ui-template] .smart #complete #completeReward{font-size:13px;justify-self:center;padding:7px 14px;border-radius:30px;background:#e7c58c33;opacity:1}
html[data-ui-template] .smart #complete #personalInviteButton{grid-column:1/-1;background:linear-gradient(120deg,#f4ddb3,#dfb471);color:#5f411d;font-size:16px;min-height:55px;box-shadow:0 4px 14px #b58b4522}
html[data-ui-template] .smart #complete #saveCompletion{grid-column:1/-1;min-height:48px}.smart #complete .completion-home{font-size:13px;padding:6px}
#complete .completion-confetti{pointer-events:none;position:absolute;inset:0;overflow:hidden;border-radius:inherit;z-index:-1}
#complete .completion-confetti i{position:absolute;width:7px;height:12px;left:calc(var(--n)*5.6%);top:-20px;background:#d8a854;border-radius:2px;opacity:0;transform:rotate(calc(var(--n)*29deg))}
#complete .completion-confetti i:nth-child(3n){background:#587e91}#complete .completion-confetti i:nth-child(3n + 1){background:#ecd09e;width:5px;height:5px;border-radius:50%}
@media(prefers-reduced-motion:no-preference){#complete:not([hidden]) .completion-card{animation:completion-arrive .55s cubic-bezier(.2,.8,.3,1.15)}#complete:not([hidden]) .complete-check{animation:completion-star .9s ease-out}#complete:not([hidden]) .completion-confetti i{animation:completion-confetti 2.4s ease-out calc(var(--n)*.055s) both}@keyframes completion-arrive{from{opacity:0;transform:translateY(28px) scale(.87)}to{opacity:1;transform:none}}@keyframes completion-star{0%{transform:scale(.45) rotate(-40deg)}65%{transform:scale(1.16) rotate(9deg)}100%{transform:none}}@keyframes completion-confetti{0%{opacity:0;transform:translateY(0) rotate(0)}15%{opacity:.8}100%{opacity:0;transform:translateY(480px) rotate(300deg)}}}
@media(max-height:700px){html[data-ui-template] .smart #complete .completion-card{padding:24px 20px 18px;gap:8px}html[data-ui-template] .smart #complete .complete-check{width:52px;height:52px;font-size:34px;margin:4px 0}html[data-ui-template] .smart #complete #completionCount{font-size:68px}html[data-ui-template] .smart #complete h2{font-size:29px}}
