:root { --task-brand: #2547c8; --ink: #27304a; --muted: #727d94; --line: #dfe5f1; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
* { box-sizing: border-box; }
html { min-height: 100%; background: #f3f5fb; }
body { min-width: 320px; min-height: 100dvh; margin: 0; color: var(--ink); background: radial-gradient(circle at 10% 0%, #edf2ff 0, transparent 34%), linear-gradient(145deg, #f6f7fb, #fff 46%, #f3f7ff); }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.task-shell { width: min(860px, 100%); min-height: 100dvh; margin: 0 auto; padding: 20px 20px 42px; }
.task-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.return-link { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; color: #52607e; background: rgba(255,255,255,.82); font-size: 13px; font-weight: 750; }
.return-link:hover { border-color: #b9c8ed; color: var(--task-brand); }
.task-brand { display: inline-flex; align-items: center; gap: 7px; color: var(--task-brand); font-size: 14px; }
.task-brand span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; color: #fff; background: var(--task-brand); font: 800 16px "Kaiti SC", "STKaiti", serif; }
.task-intro { max-width: 620px; margin: 34px auto 21px; text-align: center; }
.task-intro__eyebrow { margin: 0 0 8px; color: var(--task-brand); font-size: 13px; font-weight: 850; letter-spacing: .08em; }
.task-intro h1 { margin: 0; font-size: clamp(28px, 5vw, 42px); line-height: 1.17; letter-spacing: -.035em; }
.task-intro > p:nth-of-type(2) { max-width: 540px; margin: 12px auto 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.privacy-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 6px 10px; border-radius: 999px; color: #31705b; background: #e9f7f1; font-size: 11px; font-weight: 800; }
.privacy-pill i { display: grid; width: 16px; height: 16px; place-items: center; border-radius: 50%; color: #fff; background: #47a582; font-size: 10px; font-style: normal; }
.task-progress { padding: 17px 19px; border: 1px solid #d9e2f7; border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: 0 9px 25px rgba(36,58,132,.07); }
.task-progress__summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.task-progress__summary > div { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 2px 9px; }
.task-progress__summary span { color: #66738e; font-size: 12px; font-weight: 800; }
.task-progress__summary strong { grid-row: 1 / 3; grid-column: 2; color: var(--task-brand); font-size: 28px; line-height: 1; letter-spacing: -.04em; }
.task-progress__summary small { color: #929caf; font-size: 10px; }
.task-progress__summary button { min-height: 31px; padding: 0 10px; border: 0; border-radius: 9px; color: #758096; background: #f0f3f8; font-size: 11px; font-weight: 800; }
.task-progress__track { height: 8px; margin-top: 13px; overflow: hidden; border-radius: 99px; background: #e8edf7; }
.task-progress__track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--task-brand), #5e77e5); transition: width .25s ease; }
.task-progress > p { margin: 8px 0 0; color: #7b869d; font-size: 11px; }
.tool-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-top: 14px; }
.tool-links a { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 9px; min-height: 62px; padding: 10px 12px; border: 1px solid #e0e6f2; border-radius: 14px; background: rgba(255,255,255,.82); }
.tool-links a:hover { border-color: #bbc9eb; box-shadow: 0 7px 16px rgba(42,61,124,.07); }
.tool-links a > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: var(--task-brand); background: #edf1ff; font-size: 18px; font-weight: 900; }
.tool-links strong, .tool-links small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tool-links strong { color: #34405b; font-size: 12px; }
.tool-links small { margin-top: 3px; color: #8993a7; font-size: 10px; }
.phase-list { display: grid; gap: 13px; margin-top: 16px; }
.phase-card { overflow: hidden; border: 1px solid #e0e5f0; border-radius: 17px; background: rgba(255,255,255,.94); box-shadow: 0 6px 18px rgba(37,51,100,.045); }
.phase-card__header { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 14px 16px; border-bottom: 1px solid #edf0f5; }
.phase-card__header > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; color: var(--task-brand); background: #edf1ff; font-size: 11px; font-weight: 900; }
.phase-card__header h2 { margin: 0; color: #303b56; font-size: 15px; }
.phase-card__header p { margin: 3px 0 0; color: #7f899e; font-size: 11px; line-height: 1.4; }
.phase-card__header em { padding: 5px 8px; border-radius: 999px; color: #68758f; background: #f0f3f8; font-size: 10px; font-style: normal; font-weight: 850; }
.phase-card--orange .phase-card__header > span { color: #a76519; background: #fff0dc; }
.phase-card--green .phase-card__header > span { color: #297558; background: #e7f6ef; }
.phase-card--slate .phase-card__header > span { color: #5e687d; background: #eef0f4; }
.phase-card__tasks { display: grid; }
.phase-task { display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 69px; padding: 11px 16px; border-bottom: 1px solid #f0f2f6; }
.phase-task:last-child { border-bottom: 0; }
.phase-task__check { position: relative; display: block; width: 22px; height: 22px; cursor: pointer; }
.phase-task__check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.phase-task__check span { display: grid; width: 22px; height: 22px; place-items: center; border: 1.5px solid #b7c1d5; border-radius: 7px; color: transparent; background: #fff; font-size: 13px; font-weight: 900; }
.phase-task__check input:checked + span { border-color: var(--task-brand); color: #fff; background: var(--task-brand); }
.phase-task__check input:focus-visible + span { outline: 3px solid rgba(45,58,240,.2); outline-offset: 2px; }
.phase-task__copy { min-width: 0; }
.phase-task__copy strong { display: block; color: #35405a; font-size: 13px; line-height: 1.45; }
.phase-task__copy p { margin: 3px 0 0; overflow: hidden; color: #858fa3; font-size: 10px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.phase-task__copy small { display: inline-block; margin-top: 5px; padding: 2px 6px; border-radius: 6px; color: #6d7ea9; background: #f0f3fa; font-size: 9px; font-weight: 800; }
.phase-task > a { display: inline-flex; align-items: center; gap: 3px; min-height: 31px; padding: 0 8px; border: 1px solid #dae1f2; border-radius: 9px; color: var(--task-brand); background: #fafbff; font-size: 10px; font-weight: 850; white-space: nowrap; }
.phase-task.is-complete .phase-task__copy strong { color: #929bad; text-decoration: line-through; }
.phase-empty { margin: 0; padding: 17px; color: #8a94a7; font-size: 11px; text-align: center; }
.task-footer { display: grid; justify-items: center; gap: 11px; margin-top: 24px; color: #8992a5; font-size: 11px; text-align: center; }
.task-footer p { max-width: 560px; margin: 0; line-height: 1.6; }
.task-footer a { display: inline-flex; align-items: center; gap: 5px; min-height: 38px; padding: 0 13px; border: 1px solid #d5def5; border-radius: 11px; color: var(--task-brand); background: #fff; font-size: 12px; font-weight: 800; }
.task-unavailable { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 14px; max-width: 650px; margin: 62px auto; padding: 20px; border: 1px solid #dce4f4; border-radius: 17px; background: #fff; }
.task-unavailable > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: var(--task-brand); background: #eef2ff; font-size: 20px; }
.task-unavailable p { margin: 0 0 3px; color: var(--task-brand); font-size: 11px; font-weight: 850; }
.task-unavailable h1 { margin: 0; font-size: 18px; }
.task-unavailable small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.task-unavailable a { min-height: 34px; padding: 0 11px; display: inline-flex; align-items: center; border: 1px solid #d9e1f3; border-radius: 9px; color: var(--task-brand); font-size: 12px; font-weight: 800; }
@media (max-width: 640px) {
  .task-shell { padding: 15px 14px 30px; }
  .return-link { min-height: 34px; padding: 0 10px; font-size: 12px; }
  .task-brand { font-size: 13px; }
  .task-brand span { width: 24px; height: 24px; border-radius: 7px; font-size: 14px; }
  .task-intro { margin: 27px auto 17px; }
  .task-intro h1 { font-size: 29px; }
  .task-intro > p:nth-of-type(2) { margin-top: 9px; font-size: 13px; }
  .task-progress { padding: 14px; border-radius: 15px; }
  .task-progress__summary strong { font-size: 24px; }
  .tool-links { grid-template-columns: 1fr; gap: 7px; margin-top: 10px; }
  .tool-links a { min-height: 54px; padding: 8px 10px; }
  .tool-links a > span { width: 31px; height: 31px; font-size: 16px; }
  .phase-list { gap: 10px; margin-top: 11px; }
  .phase-card__header { grid-template-columns: 31px minmax(0,1fr) auto; gap: 9px; padding: 12px; }
  .phase-card__header > span { width: 29px; height: 29px; border-radius: 9px; }
  .phase-card__header h2 { font-size: 14px; }
  .phase-card__header p { font-size: 10px; }
  .phase-task { grid-template-columns: 24px minmax(0,1fr) auto; gap: 9px; min-height: 66px; padding: 10px 12px; }
  .phase-task__copy strong { font-size: 12px; }
  .phase-task > a { padding: 0 7px; }
  .task-unavailable { grid-template-columns: auto minmax(0,1fr); margin: 34px auto; padding: 16px; }
  .task-unavailable a { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
