/* Feature screens extend the approved monochrome system. */
.page.login-page { max-width:1120px; min-height:calc(100svh - 76px); padding:32px 24px calc(110px + env(safe-area-inset-bottom)); display:flex; align-items:center; }
.login-stage { width:100%; min-height:500px; display:grid; grid-template-columns:1.05fr .95fr; align-items:center; gap:20px; padding:40px 48px 40px 64px; border-radius:36px; background:linear-gradient(135deg,#f7f7f8,#eeeef0); overflow:hidden; }
.login-copy { position:relative; z-index:1; min-width:0; }
.login-copy h1 { font-size:clamp(2.7rem,4.8vw,4.3rem); line-height:1.2; font-weight:750; letter-spacing:-.055em; }
.login-intro { margin-top:20px; color:var(--muted); font-size:var(--type-small); line-height:1.7; }
.login-actions { max-width:370px; margin-top:44px; }
.login-actions .google-login { min-height:56px; border-radius:999px; font-size:var(--type-small); }
.login-actions .login-legal { margin-top:19px; text-align:center; font-size:var(--type-caption); color:var(--muted); }
.login-actions .error { margin-top:16px; }
.login-art { align-self:stretch; display:flex; align-items:center; justify-content:center; min-width:0; }
.login-art img { display:block; width:min(100%,300px); height:auto; max-height:430px; object-fit:contain; transform:rotate(5deg); }
@media(max-width:799px) {
  .page.login-page { max-width:640px; min-height:calc(100svh - 68px); padding:16px 16px calc(108px + env(safe-area-inset-bottom)); align-items:flex-start; }
  .login-stage { display:flex; flex-direction:column; gap:0; min-height:0; padding:25px 24px 26px; border-radius:28px; }
  .login-art { order:-1; align-self:center; height:224px; margin-bottom:12px; }
  .login-art img { width:154px; max-height:224px; }
  .login-copy { width:100%; }
  .login-copy h1 { font-size:clamp(2rem,8.8vw,3rem); }
  .login-intro { margin-top:14px; font-size:.875rem; }
  .login-actions { max-width:none; margin-top:28px; }
}
@media(max-width:370px) {
  .page.login-page { padding-left:12px; padding-right:12px; }
  .login-stage { padding:20px 20px 22px; }
  .login-art { height:180px; margin-bottom:8px; }
  .login-art img { width:124px; max-height:180px; }
}
@media(max-width:799px) and (max-height:720px) {
  .login-stage { padding-top:16px; padding-bottom:18px; }
  .login-art { height:150px; margin-bottom:4px; }
  .login-art img { width:103px; max-height:150px; }
  .login-intro { margin-top:10px; }
  .login-actions { margin-top:16px; }
  .login-actions .login-legal { margin-top:10px; }
}
@media(max-width:370px) and (max-height:720px) {
  .login-art { height:125px; }
  .login-art img { width:86px; max-height:125px; }
}
.toast { pointer-events:none; }
.section-page { max-width:760px; padding-left:32px; padding-right:32px; }
.section-page-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin:8px 0 32px; }
.section-page-heading h1 { font-size:2rem; line-height:1.3; }
.section-page-heading .text-button { color:var(--muted); }
.section-empty { min-height:280px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:20px; color:var(--muted); }
.section-empty>svg { width:32px; height:32px; stroke-width:1.3; }
.section-empty p { font-size:var(--type-small); }
.feed-order { font:inherit; font-size:var(--type-caption); color:var(--muted); background:transparent; border:0; min-height:44px; padding:8px 4px; cursor:pointer; }
.feed-list { border-top:1px solid var(--line); }
.feed-post { border-bottom:1px solid var(--line); }
.feed-post>a { display:block; padding:26px 0; }
.feed-author { display:flex; align-items:center; gap:10px; font-size:var(--type-caption); margin-bottom:12px; }
.feed-author-name { font-weight:550; }
.feed-author time { color:var(--muted); font-size:.75rem; }
.person .avatar,.feed-author .avatar { overflow:hidden; background:var(--surface); }
.person .avatar img,.feed-author .avatar img { width:100%; height:100%; border-radius:50%; object-fit:cover; }
.person .avatar img[src^="/assets/brand/"],.feed-author .avatar img[src^="/assets/brand/"] { width:70%; height:70%; object-fit:contain; }
.feed-post h2 { font-size:1.25rem; line-height:1.5; font-weight:650; }
.feed-post>a>p { color:#5d5d62; font-size:var(--type-small); margin-top:8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.feed-post-footer { display:flex; align-items:center; justify-content:flex-end; gap:16px; margin-top:20px; font-size:.75rem; color:var(--muted); }
.feed-counts,.feed-counts>span { display:inline-flex; align-items:center; gap:6px; }
.feed-counts { gap:16px; }
.feed-counts svg { width:16px; height:16px; }
.community-page { padding-bottom:calc(var(--nav-height) + var(--nav-gap) + 136px + env(safe-area-inset-bottom)); }
.feed-write-dock { position:fixed; z-index:18; bottom:calc(var(--nav-height) + var(--nav-gap) + 20px + env(safe-area-inset-bottom)); left:0; right:0; max-width:760px; margin:auto; padding:0 32px; display:flex; justify-content:flex-end; pointer-events:none; }
.feed-write-button { pointer-events:auto; display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:52px; padding:14px 21px; border-radius:999px; background:var(--ink); color:#fff; font-size:.875rem; font-weight:600; box-shadow:0 5px 20px #0002; }
.feed-write-button svg { width:18px; height:18px; }
.feed-gate { background:var(--surface); border-radius:28px; padding:64px 24px; text-align:center; }
.feed-gate>svg { width:32px; height:32px; color:var(--muted); margin-bottom:24px; }
.feed-gate h2 { font-size:1.25rem; font-weight:600; }
.feed-gate .primary { margin-top:28px; border-radius:999px; min-width:112px; }
.journal-feature { border-radius:28px; background:var(--surface); overflow:hidden; }
.journal-feature>a { display:block; }
.journal-feature img { display:block; width:100%; height:auto; aspect-ratio:1.9; object-fit:cover; object-position:center 46%; }
.journal-feature-copy { padding:28px; }
.journal-feature h2 { font-size:1.65rem; line-height:1.4; font-weight:650; }
.journal-feature-copy>span { display:flex; align-items:center; justify-content:space-between; color:var(--muted); font-size:var(--type-caption); margin-top:16px; }
.journal-feature-copy svg { width:18px; height:18px; }
.journal-list { margin-top:16px; }
.journal-row { display:flex; align-items:center; gap:22px; padding:26px 0; }
.journal-symbol { display:flex; align-items:center; justify-content:center; background:var(--surface); border-radius:20px; width:90px; height:90px; flex-shrink:0; }
.journal-symbol svg { width:34px; height:34px; stroke-width:1.1; }
.journal-row h2 { font-size:1.25rem; line-height:1.45; }
.journal-row>div>span { display:block; color:var(--muted); font-size:var(--type-caption); margin-top:9px; }
.journal-row>svg { margin-left:auto; width:18px; height:18px; }
.article-read-time { color:var(--muted); font-size:var(--type-caption); margin-top:16px; }
.article-photo { margin:28px 0; }
.article-photo img { width:100%; height:auto; display:block; border-radius:24px; }
.article-page .body-copy { margin-top:36px; }
.walk-feature { background:#1b1b1d; color:#fff; border-radius:28px; padding:36px; }
.walk-feature-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.walk-feature-heading h2 { font-size:2.5rem; font-weight:700; letter-spacing:-.045em; }
.walk-feature-heading>svg { width:40px; height:40px; stroke-width:1.4; color:#c4c4c9; }
.walk-feature>p { margin-top:8px; color:#c4c4c9; font-size:var(--type-small); }
.walk-goal { display:flex; justify-content:space-between; gap:16px; margin:40px 0; }
.walk-goal>span { flex:1; min-height:102px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; border:1px solid #ffffff30; border-radius:22px; }
.walk-goal svg { width:26px; height:26px; stroke-width:1.2; }
.walk-goal>span>span { font-size:var(--type-caption); color:#c4c4c9; }
.walk-primary { background:#fff; color:var(--ink); display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 20px; border-radius:16px; min-height:54px; font-size:var(--type-small); font-weight:600; }
.walk-info-link { display:flex; justify-content:center; align-items:center; gap:8px; min-height:48px; margin-top:18px; color:var(--muted); font-size:var(--type-caption); }
.walk-info-link svg { width:15px; height:15px; }
.walk-detail-icon { display:flex; align-items:center; justify-content:center; width:80px; height:80px; background:var(--surface); border-radius:24px; margin-bottom:28px; }
.walk-detail-icon svg { width:34px; height:34px; stroke-width:1.4; }
.mission-detail h1 { font-size:2.25rem; }
.mission-instruction { font-size:var(--type-small); color:var(--muted); margin-top:16px; }
.mission-facts { margin:32px 0; padding:8px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.mission-facts>div { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:14px 0; font-size:var(--type-small); }
.mission-facts dt { color:var(--muted); }
.mission-facts dd { margin:0; font-weight:550; }
.walk-progress { margin:30px 0; }
.walk-progress>div { display:flex; align-items:center; justify-content:space-between; font-size:var(--type-caption); }
.walk-progress strong { font-weight:600; }
.walk-progress ol { padding:0; margin:20px 0 0; list-style:none; display:flex; gap:14px; }
.walk-progress li { flex:1; display:flex; flex-direction:column; align-items:center; gap:10px; font-size:.75rem; }
.walk-progress li>span:first-child { width:52px; height:52px; display:flex; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:50%; color:var(--muted); }
.walk-progress li.is-done>span:first-child { background:var(--ink); color:#fff; border-color:var(--ink); }
.walk-feature .walk-progress li>span:first-child { color:#ccc; border-color:#ffffff40; }
.walk-feature .walk-progress li.is-done>span:first-child { background:#fff; border-color:#fff; color:var(--ink); }
.record-privacy { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:var(--type-caption); margin-top:18px; }
.record-privacy svg { width:15px; height:15px; }
.groups-coming { min-height:430px; background:var(--surface); border-radius:32px; padding:64px 24px; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; }
.groups-coming-art { display:flex; align-items:center; gap:12px; margin-bottom:44px; }
.groups-coming-art>span { width:76px; height:88px; background:#fff; border:1px solid #00000005; border-radius:24px; display:flex; align-items:center; justify-content:center; box-shadow:0 8px 20px #00000005; }
.groups-coming-art>span:first-child { transform:rotate(-10deg) translateY(8px); }
.groups-coming-art>span:last-child { transform:rotate(10deg) translateY(8px); }
.groups-coming-art svg { width:30px; height:30px; stroke-width:1.2; }
.coming-lock { display:flex; align-items:center; gap:10px; }
.coming-lock h2 { font-size:1.75rem; font-weight:650; }
.coming-lock>svg { width:21px; height:21px; }
.groups-coming>p { font-size:var(--type-small); color:var(--muted); margin-top:14px; }
.club-coming-icons { display:flex; gap:10px; margin:40px 0 20px; }
.club-coming-icons>svg { width:48px; height:48px; padding:13px; background:#fff; border-radius:16px; color:#5b5b60; }
@media(hover:hover) {
  .feed-post>a:hover h2,.journal-feature>a:hover h2,.journal-row:hover h2 { text-decoration:underline; text-underline-offset:5px; }
  .feed-write-button:hover { background:#333; }
  .walk-primary:hover { background:#ededee; }
}
@media(max-width:600px) {
  .section-page { padding-left:24px; padding-right:24px; }
  .section-page-heading { margin:4px 0 25px; gap:12px; }
  .section-page-heading h1 { font-size:1.75rem; }
  .feed-write-dock { padding:0 24px; bottom:calc(var(--nav-height) + var(--nav-gap) + 16px + env(safe-area-inset-bottom)); }
  .feed-post>a { padding:24px 0; }
  .feed-post h2 { font-size:1.125rem; }
  .feed-gate { padding:48px 20px; border-radius:24px; }
  .feed-gate h2 { font-size:1.125rem; }
  .journal-feature { border-radius:24px; }
  .journal-feature img { aspect-ratio:1.45; }
  .journal-feature-copy { padding:24px; }
  .journal-feature h2 { font-size:1.375rem; }
  .journal-row { gap:16px; }
  .journal-symbol { width:72px; height:80px; border-radius:18px; }
  .journal-row h2 { font-size:1.125rem; }
  .walk-feature { padding:28px 24px; border-radius:26px; }
  .walk-feature-heading h2 { font-size:2rem; }
  .walk-feature-heading>svg { width:30px; height:30px; }
  .walk-goal { gap:10px; margin:32px 0; }
  .walk-goal>span { min-height:94px; border-radius:18px; }
  .groups-coming { min-height:380px; border-radius:26px; padding:40px 16px; }
  .groups-coming-art { gap:9px; }
  .groups-coming-art>span { width:64px; height:78px; border-radius:20px; }
  .groups-coming>p { font-size:.8125rem; }
  .club-coming-icons { margin-top:24px; }
}
@media(max-width:370px) {
  .section-page { padding-left:20px; padding-right:20px; }
  .walk-feature { padding:24px 20px; }
  .walk-feature-heading h2 { font-size:1.75rem; }
  .groups-coming-art>span { width:58px; height:72px; }
  .journal-feature-copy { padding:20px; }
  .journal-feature h2 { font-size:1.25rem; }
}
@media(prefers-reduced-motion:no-preference) {
  .feed-write-button:active,.walk-primary:active { transform:scale(.98); }
}
@media(forced-colors:active) {
  .walk-feature,.walk-primary,.feed-write-button { border:1px solid CanvasText; }
}

/* Personal profile: identity first, activity and settings on demand. */
.profile-page { max-width:680px; }
.profile-identity { display:flex; align-items:center; gap:22px; padding:12px 0 36px; }
.profile-avatar { position:relative; display:flex; align-items:center; justify-content:center; width:96px; height:96px; flex-shrink:0; background:var(--surface); border-radius:32px; }
.profile-avatar img { width:80px; height:80px; object-fit:contain; }
.profile-avatar.has-photo img { width:100%; height:100%; border-radius:inherit; object-fit:cover; }
.profile-avatar-edit { position:absolute; right:-6px; bottom:-5px; display:grid; place-items:center; width:30px; height:30px; border:2px solid #fff; border-radius:50%; background:var(--ink); color:#fff; }
.profile-avatar-edit svg { width:14px; height:14px; }
.profile-identity>div:last-child { min-width:0; }
.profile-identity h1 { font-size:1.875rem; line-height:1.3; font-weight:700; }
.profile-edit-link { display:inline-flex; align-items:center; gap:7px; min-height:44px; color:var(--muted); font-size:var(--type-caption); }
.profile-edit-link svg { width:13px; height:13px; }
.profile-photo-stage { max-width:480px; padding:6px 0 48px; }
.profile-photo-stage h1 { font-size:clamp(1.9rem,6vw,2.5rem); line-height:1.3; letter-spacing:-.04em; }
.profile-photo-stage>p:first-of-type { margin-top:12px; color:var(--muted); font-size:var(--type-small); }
.profile-photo-preview { display:grid; place-items:center; width:220px; height:220px; margin:44px auto; background:var(--surface); border-radius:68px; overflow:hidden; }
.profile-photo-preview img { width:76%; height:76%; object-fit:contain; }
.profile-photo-preview.has-photo img { width:100%; height:100%; object-fit:cover; }
.profile-photo-actions { display:grid; gap:12px; }
.photo-pick { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; cursor:pointer; }
.photo-pick svg { width:20px; height:20px; }
.photo-file-input { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.profile-photo-actions:has(.photo-file-input:focus-visible) .photo-pick { outline:2px solid var(--ink); outline-offset:3px; }
.profile-photo-actions .primary { width:100%; }
.photo-remove { min-height:44px; color:var(--muted); font-size:var(--type-caption); }
.profile-photo-hint { margin-top:20px; color:var(--muted); font-size:var(--type-caption); text-align:center; }
.profile-photo-stage .error { margin-top:16px; }
.profile-walk { padding:24px 28px 12px; background:#1b1b1d; color:#fff; border-radius:26px; }
.profile-walk-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.profile-walk h2 { font-size:1.25rem; font-weight:600; }
.profile-walk-heading>svg { color:#c4c4c9; width:24px; height:24px; }
.profile-walk-progress { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-top:24px; }
.profile-walk-progress>span,.profile-walk-goal { font-size:var(--type-caption); color:#c4c4c9; }
.profile-walk-progress strong { font-size:1.5rem; font-weight:650; }
.profile-walk-progress strong>span { font-size:var(--type-caption); font-weight:400; color:#c4c4c9; }
.profile-walk-track { display:flex; gap:6px; margin:12px 0 18px; }
.profile-walk-track>span { height:4px; border-radius:4px; flex:1; background:#ffffff30; }
.profile-walk-track>.is-done { background:#fff; }
.profile-walk-goal { margin:8px 0 24px; }
.profile-walk-link { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:48px; border-top:1px solid #ffffff26; font-size:var(--type-caption); }
.profile-walk-link svg { width:17px; height:17px; }
.profile-collection { background:var(--surface); border-radius:24px; padding:0 22px; margin-top:20px; }
.profile-row { display:flex; align-items:center; gap:14px; min-height:68px; width:100%; font-size:var(--type-small); text-align:left; }
.profile-row>svg:first-child { width:21px; height:21px; color:var(--muted); }
.profile-row>span:first-of-type { flex:1; min-width:0; line-height:1.55; overflow-wrap:anywhere; }
.profile-row>.profile-row-detail { color:var(--muted); font-size:var(--type-caption); font-variant-numeric:tabular-nums; }
.profile-row>svg:last-child:not(:first-child) { width:16px; height:16px; color:#85858a; }
.profile-collection>.profile-row+.profile-row { border-top:1px solid var(--line); }
.profile-settings { margin-top:28px; padding:8px 4px 0; }
.profile-settings .profile-row { min-height:60px; }
.account-method { display:flex; align-items:center; gap:18px; padding:24px; background:var(--surface); border-radius:24px; }
.account-method-icon { display:grid; place-items:center; flex:none; width:48px; height:48px; border-radius:16px; background:#fff; font-size:1.25rem; font-weight:700; }
.account-method>div:last-child { min-width:0; }
.account-method h2 { font-size:var(--type-small); font-weight:650; }
.account-method p { margin-top:5px; color:var(--muted); font-size:var(--type-caption); overflow-wrap:anywhere; }
.account-actions { margin-top:24px; border-top:1px solid var(--line); }
.account-actions .profile-row { padding:0 4px; }
.account-leave-entry { margin-top:28px; border-top:1px solid var(--line); }
.account-leave-entry a { display:flex; align-items:center; justify-content:space-between; min-height:60px; color:var(--muted); font-size:var(--type-caption); }
.account-leave-entry svg { width:16px; height:16px; }
.account-goodbye { max-width:520px; padding:14px 0 28px; }
.account-goodbye>img { display:block; width:44px; height:auto; margin-bottom:26px; }
.account-goodbye h1,.account-farewell h1 { font-size:clamp(2rem,7vw,3rem); line-height:1.24; letter-spacing:-.045em; font-weight:730; }
.account-goodbye>p { max-width:470px; margin-top:24px; color:var(--muted); font-size:var(--type-small); line-height:1.8; }
.account-delete-check { margin:36px 0 18px; padding:20px; border-radius:20px; background:var(--surface); }
.account-delete-check label { display:flex; align-items:flex-start; gap:12px; cursor:pointer; font-size:var(--type-small); line-height:1.6; }
.account-delete-check input { flex:none; width:20px; height:20px; margin:2px 0 0; accent-color:var(--ink); }
.account-goodbye .primary { min-height:56px; border-radius:16px; }
.account-goodbye .primary:disabled { opacity:.38; cursor:not-allowed; }
.account-goodbye .error { margin-top:14px; }
.account-delete-back { text-align:center; margin-top:16px; }
.account-delete-back a { color:var(--muted); font-size:var(--type-caption); }
.account-farewell { display:flex; flex-direction:column; align-items:center; text-align:center; padding:28px 0 50px; }
.account-farewell img { width:150px; height:225px; object-fit:contain; margin-bottom:12px; }
.account-farewell p { margin:18px 0 30px; color:var(--muted); font-size:var(--type-small); }
.account-farewell .primary { min-width:170px; }
.profile-saved-list>.profile-row { padding:24px 0; border-bottom:1px solid var(--line); align-items:flex-start; }
.profile-saved-list>.profile-row>svg { margin-top:2px; }
.profile-edit-page .field { margin:4px 0 12px; color:var(--ink); }
.profile-edit-page .input { padding:16px; font-size:1.125rem; }
.profile-input-hint { text-align:right; font-size:var(--type-caption); color:var(--muted); margin-top:8px; }
.profile-privacy { display:flex; align-items:flex-start; gap:8px; margin-top:36px; font-size:var(--type-caption); color:var(--muted); }
.profile-privacy svg { width:16px; height:16px; margin-top:3px; }
.profile-records { list-style:none; margin:0; padding:0; }
.profile-records>li { display:flex; align-items:flex-start; gap:18px; padding:24px 0; border-bottom:1px solid var(--line); }
.profile-record-symbol { width:44px; height:44px; border-radius:16px; background:var(--surface); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.profile-record-symbol svg { width:21px; height:21px; color:var(--muted); }
.profile-record-content { flex:1; min-width:0; }
.profile-record-heading { display:flex; align-items:baseline; justify-content:space-between; gap:8px 20px; flex-wrap:wrap; }
.profile-record-heading h2 { font-size:var(--type-small); font-weight:600; }
.profile-record-heading time { font-size:.75rem; color:var(--muted); }
.profile-record-content>p { margin-top:10px; font-size:var(--type-small); color:#5d5d62; white-space:pre-wrap; }
.profile-record-shared { display:flex; align-items:center; gap:6px; margin-top:12px; font-size:.75rem; color:var(--muted); }
.profile-record-shared svg { width:14px; height:14px; }
@media(hover:hover) {
  .profile-row:hover>span:first-of-type,.profile-edit-link:hover,.profile-walk-link:hover { text-decoration:underline; text-underline-offset:4px; }
}
@media(max-width:600px) {
  .profile-identity { gap:18px; padding:4px 0 28px; }
  .profile-avatar { width:80px; height:80px; border-radius:27px; }
  .profile-avatar img { width:68px; height:68px; }
  .profile-photo-preview { width:190px; height:190px; margin:38px auto; border-radius:60px; }
  .profile-identity h1 { font-size:1.625rem; }
  .profile-walk { padding:22px 24px 10px; border-radius:24px; }
  .profile-collection { padding:0 20px; }
  .profile-settings { margin-top:20px; }
  .profile-records>li { gap:14px; }
}
@media(forced-colors:active) {
  .profile-walk,.profile-avatar,.profile-collection,.profile-record-symbol { border:1px solid CanvasText; }
  .profile-walk-track>span { border:1px solid CanvasText; }
  .profile-walk-track>.is-done { background:Highlight; }
}

/* Missions: personal routines and open member challenges share one check-in hub. */
.missions-page .section-page-heading { margin-bottom:28px; }
.mission-section+.mission-section { margin-top:40px; }
.mission-section-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:44px; margin-bottom:12px; }
.mission-section-heading h2 { font-size:1.25rem; font-weight:650; }
.mission-section-heading>.text-button { color:var(--muted); font-size:var(--type-caption); }
.mission-section-heading>svg { color:var(--muted); }
.mission-items { display:grid; gap:12px; }
.mission-item { padding:24px; border-radius:24px; background:var(--surface); }
.mission-item-main { display:flex; align-items:center; gap:18px; }
.mission-item-title { flex:1; min-width:0; padding:2px 0; }
.mission-item-title h3 { font-size:1.125rem; font-weight:650; }
.mission-item-title>span { display:block; font-size:var(--type-caption); color:var(--muted); margin-top:8px; }
.mission-check { width:48px; height:48px; flex-shrink:0; border:1px solid #d8d8dc; border-radius:50%; display:flex; align-items:center; justify-content:center; background:#fff; }
.mission-check.is-complete { background:var(--ink); border-color:var(--ink); color:#fff; }
.mission-check svg { width:22px; height:22px; }
.mission-item-bottom { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:24px; }
.mission-item-bottom>span { color:var(--muted); font-size:.75rem; }
.mission-item.is-complete .mission-item-bottom>span { color:var(--ink); }
.mission-mini-progress { display:flex; gap:4px; width:100px; }
.mission-mini-progress>span { height:4px; flex:1; background:#dddddf; border-radius:3px; }
.mission-mini-progress>.is-done { background:var(--ink); }
.mission-item-shared { border:1px solid var(--line); background:#fff; }
.mission-join { min-height:44px; padding:10px 17px; border-radius:999px; background:var(--ink); color:#fff; font-size:var(--type-caption); font-weight:600; flex-shrink:0; }
.mission-personal-empty { background:var(--surface); border-radius:26px; padding:28px; }
.mission-personal-empty>svg { width:28px; height:28px; color:var(--muted); }
.mission-personal-empty>p { margin:18px 0; font-size:var(--type-small); }
.mission-personal-empty>.secondary { min-height:44px; background:#fff; border-radius:999px; font-size:var(--type-caption); padding:10px 18px; }
.mission-archive { margin-top:12px; color:var(--muted); font-size:var(--type-caption); }
.mission-archive summary { min-height:44px; padding:12px 4px; cursor:pointer; }
.mission-detail-mark { width:72px; height:72px; border-radius:24px; background:var(--surface); display:flex; align-items:center; justify-content:center; margin-bottom:24px; }
.mission-detail-mark svg { width:30px; height:30px; }
.mission-detail h1 { font-size:2rem; }
.mission-detail-meta { margin-top:12px; color:var(--muted); font-size:var(--type-small); }
.mission-detail-progress { margin:36px 0; }
.mission-detail-progress>div:first-child { display:flex; justify-content:space-between; align-items:baseline; gap:16px; }
.mission-detail-progress h2 { font-size:var(--type-small); font-weight:500; }
.mission-detail-progress strong { font-size:1.75rem; font-weight:650; }
.mission-detail-progress strong>span { font-size:var(--type-caption); font-weight:400; color:var(--muted); }
.mission-week-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:10px; margin-top:24px; }
.mission-week-days>span { display:flex; flex-direction:column; align-items:center; gap:10px; font-size:var(--type-caption); color:var(--muted); }
.mission-week-days>span>span:last-child { width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--surface); }
.mission-week-days>span>.is-done:last-child { background:var(--ink); color:#fff; }
.mission-week-days>[aria-current=date]>span:first-child { color:var(--ink); font-weight:700; }
.mission-detail-check { margin-top:32px; }
.mission-detail-check>p { color:var(--muted); font-size:var(--type-caption); text-align:center; margin-top:12px; }
.mission-done-button { background:var(--surface); color:var(--ink); border-color:transparent; }
.mission-detail-links { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:30px; }
.mission-detail-links .text-button { color:var(--muted); }
.mission-legacy-note { padding:20px; margin-top:24px; background:var(--surface); border-radius:20px; }
.mission-legacy-note>span { color:var(--muted); font-size:var(--type-caption); }
.mission-legacy-note>p { margin-top:8px; font-size:var(--type-small); white-space:pre-wrap; }
.mission-type { border:0; padding:4px; margin:0; display:flex; gap:4px; background:var(--surface); border-radius:18px; }
.mission-type label { flex:1; position:relative; }
.mission-type input { position:absolute; opacity:0; width:1px; height:1px; }
.mission-type label>span { display:flex; align-items:center; justify-content:center; gap:8px; min-height:54px; border-radius:14px; font-size:var(--type-small); color:var(--muted); cursor:pointer; }
.mission-type input:checked+span { background:#fff; color:var(--ink); font-weight:600; box-shadow:0 2px 6px #00000009; }
.mission-type input:focus-visible+span { outline:2px solid var(--ink); outline-offset:2px; }
.mission-type-hint { color:var(--muted); font-size:var(--type-caption); margin:16px 2px 32px; }
.mission-create-page .field { color:var(--ink); }
.mission-create-page .input { padding:16px; }
.mission-create-page .action-end { margin-top:40px; }
.mission-setup-note { color:var(--muted); font-size:var(--type-caption); margin-bottom:24px; }
.profile-mission-meter { height:4px; background:#ffffff30; border-radius:4px; margin:14px 0 20px; overflow:hidden; }
.profile-mission-meter>span { display:block; height:100%; background:#fff; }
.club-twenty>svg { width:58px; height:58px; }
@media(min-width:1000px) {
 .missions-page { max-width:880px; }
 .mission-items { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
 .mission-item { padding:22px; }
 .mission-check { width:44px; height:44px; }
 .mission-week-days { gap:4px; }
 .mission-week-days>span>span:last-child { width:34px; height:34px; }
 .mission-type label>span { font-size:var(--type-caption); gap:6px; }
 .mission-type svg { width:18px; height:18px; }
}
@media(hover:hover) {
 .mission-item-title:hover h3 { text-decoration:underline; text-underline-offset:4px; }
 .mission-check:not(.is-complete):hover { background:#ececee; }
 .mission-done-button:hover { background:#e7e7e9; }
}
@media(forced-colors:active) {
 .mission-item,.mission-check,.mission-join { border:1px solid CanvasText; }
 .mission-check.is-complete,.mission-type input:checked+span { outline:2px solid Highlight; }
}
