:root {
  color-scheme: light;
  --canvas: #f5f5f7;
  --panel: #fff;
  --ink: #1d1d1f;
  --muted: #60636d;
  --faint: #6c7180;
  --line: #e8e9ee;
  --blue: #005bc9;
  --blue-strong: #0065d8;
  --blue-tint: #eaf2fd;
  --green: #147342;
  --green-tint: #eaf7ef;
  --amber: #8a5703;
  --amber-tint: #fff4db;
  --red: #a43338;
  --red-tint: #feeff0;
  --radius: 20px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #81b7fe; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.17; font-weight: 700; letter-spacing: -.04em; }
svg { flex: 0 0 auto; vertical-align: middle; }
abbr[title] { text-decoration: none; }
.muted, .help { color: var(--muted); }
.help, .small { font-size: 13px; }
.tiny { font-size: 12px; }
.mono { font-variant-numeric: tabular-nums; }
.breakable { overflow-wrap: anywhere; }
.stack { display: grid; gap: 14px; }
.cluster { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.flow { display: grid; gap: 23px; }
.block { margin-top: 24px; }
.icon { width: 20px; height: 20px; }
.icon-sm { width: 16px; height: 16px; }
.boot { display: flex; gap: 12px; align-items: center; justify-content: center; min-height: 70vh; color: var(--muted); }
.spinner { border: 2px solid #d2e4ff; border-top-color: var(--blue); border-radius: 50%; width: 20px; height: 20px; animation: spin .65s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; padding: 9px 15px; border-radius: 11px; font-weight: 640; line-height: 1.24; text-decoration: none; text-align: center; background: #edf0f5; color: var(--ink); transition: background .16s ease, box-shadow .16s ease; }
.btn:hover { background: #e4e7ee; }
.btn.primary { color: white; background: var(--blue-strong); }
.btn.primary:hover { background: #0055bd; }
.btn.outline { background: white; border-color: #e0e3ea; }
.btn.outline:hover { background: #f7f8fc; }
.btn.text { min-height: 35px; padding: 6px 8px; background: transparent; color: var(--blue); }
.btn.text:hover { background: var(--blue-tint); }
.btn.danger { color: var(--red); background: var(--red-tint); }
.btn.compact { min-height: 36px; font-size: 13px; padding: 7px 10px; }
.btn.icon-only { min-width: 39px; padding: 8px; }
.pill { display: inline-flex; width: fit-content; align-items: center; gap: 5px; border-radius: 999px; padding: 4px 9px; background: #f0f1f4; color: #4b5060; font-size: 12px; line-height: 1.4; font-weight: 650; white-space: nowrap; }
.pill.blue { background: var(--blue-tint); color: var(--blue); }
.pill.green { background: var(--green-tint); color: var(--green); }
.pill.amber { background: var(--amber-tint); color: var(--amber); }
.pill.red { background: var(--red-tint); color: var(--red); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; font-weight: 740; letter-spacing: -.025em; white-space: nowrap; }
.brand small { display: block; font-weight: 570; color: var(--faint); font-size: 11px; letter-spacing: .08em; }
.mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: #191c24; color: #fff; box-shadow: 0 2px 5px #1b294029; }
.mark svg { width: 20px; height: 20px; }
.login { min-height: 100svh; display: grid; grid-template-columns: 1.08fr 1fr; background: #fff; }
.login-visual { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; min-height: 640px; overflow: hidden; padding: clamp(30px, 5vw, 72px); background: #edf2fa; }
.login-visual .art { position: absolute; width: 145%; height: 100%; right: -37%; bottom: -31%; z-index: -1; }
.login-visual h1 { font-size: clamp(45px, 6.3vw, 86px); line-height: 1.06; }
.login-visual p { max-width: 440px; margin-top: 19px; color: #4a5569; font-size: 17px; }
.login-visual .login-note { font-size: 13px; color: #59647a; }
.login-form-wrap { display: grid; place-items: center; padding: clamp(27px, 6vw, 96px); }
.login-form { width: min(100%, 400px); }
.login-form h2 { font-size: 36px; }
.login-badge { margin-bottom: 10px; }
.timeline-link.btn { min-height: 28px; padding: 3px 2px; color: var(--ink); text-align: left; }
.login-form form { margin-top: 25px; }
.form-intro { margin: 11px 0 0; }
.field { min-width: 0; display: grid; gap: 6px; font-weight: 650; font-size: 14px; }
.field > input, .field > select, .field > textarea, .select { width: 100%; min-height: 43px; border: 1px solid #d9dde6; border-radius: 10px; padding: 8px 11px; background: #fff; color: var(--ink); font-weight: 450; }
.field > textarea { min-height: 90px; resize: vertical; }
.field .help { font-weight: 460; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-field { display: flex; align-items: flex-start; gap: 8px; }
.check-field input { margin-top: .34em; accent-color: var(--blue); }
.error { padding: 9px 12px; border-radius: 10px; background: var(--red-tint); color: var(--red); font-size: 13px; overflow-wrap: anywhere; }
.shell { min-height: 100svh; display: grid; grid-template-columns: 222px minmax(0, 1fr); }
.side { background: #fafafc; border-right: 1px solid var(--line); position: sticky; top: 0; align-self: start; min-height: 100svh; padding: 25px 16px 16px; display: flex; flex-direction: column; z-index: 3; }
.side .brand { margin: 2px 7px 36px; }
.nav-caption { margin: 0 11px 8px; color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.nav { display: grid; gap: 3px; }
.nav button { width: 100%; min-height: 43px; display: flex; align-items: center; justify-content: flex-start; gap: 9px; border: 0; border-radius: 10px; padding: 9px 11px; background: transparent; color: #4b5060; font-size: 14px; font-weight: 620; white-space: nowrap; }
.nav button:hover { background: #edf0f6; }
.nav button[aria-current="page"] { background: #e8eff9; color: #004eaf; font-weight: 700; }
.side-foot { margin-top: auto; padding-top: 30px; }
.account { min-width: 0; display: flex; align-items: center; gap: 9px; margin-top: 11px; padding: 10px 4px 0; border-top: 1px solid var(--line); }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #e9edf8; color: #394c75; font-size: 14px; font-weight: 750; flex: 0 0 auto; }
.account-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 680; }
.account-name span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-name small { display: block; color: var(--faint); font-size: 11px; font-weight: 520; }
.app-main { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 2; min-height: 68px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px clamp(22px, 4.1vw, 62px); background: #f5f5f7ee; border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.topbar .select { width: auto; max-width: min(43vw, 330px); min-height: 37px; font-size: 13px; font-weight: 650; }
.topbar-title { display: flex; align-items: center; min-width: 0; gap: 8px; font-size: 14px; font-weight: 690; }
.topbar-title > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-title .icon { color: #686f80; }
.content { max-width: 1480px; padding: 34px clamp(22px, 4.1vw, 62px) 66px; margin: 0 auto; }
.page-title { margin-bottom: 22px; }
.page-title h1 { font-size: clamp(30px, 4vw, 48px); }
.page-title p { margin-top: 8px; }
.section-head { margin-bottom: 12px; align-items: flex-end; }
.section-head h2 { font-size: 23px; }
.section-head p { margin-top: 4px; }
.hero { min-height: 246px; isolation: isolate; position: relative; overflow: hidden; border-radius: 25px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(24px, 4.4vw, 52px); background: linear-gradient(110deg,#e8f0fe 0%,#e6effb 64%,#dbe9fb 100%); border: 1px solid #dfe8f6; }
.hero .art { position: absolute; width: 60%; height: 135%; right: -5%; bottom: -22%; z-index: -1; pointer-events: none; }
.hero h1 { font-size: clamp(34px, 4.3vw, 59px); max-width: 24ch; margin: 14px 0 9px; }
.hero p { color: #435673; font-size: 15px; max-width: 44ch; }
.hero .cluster { margin-top: 16px; }
.hero .pill { background: #ffffffaa; color: #3b5579; }
.hero .btn.outline { background: #ffffffb8; border-color: #c9d9ee; }
.hero-overline { display: inline-flex; align-items: center; gap: 7px; color: #435a7d; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.hero-overline::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2c74cd; box-shadow: 0 0 0 4px #d1e2f9; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat { min-height: 102px; padding: 15px 17px; background: var(--panel); border: 1px solid var(--line); border-radius: 15px; }
.stat dt { color: var(--muted); font-size: 12px; font-weight: 650; }
.stat dd { margin: 3px 0 2px; font-size: 21px; line-height: 1.2; font-weight: 730; letter-spacing: -.035em; overflow-wrap: anywhere; }
.stat .small { display: block; }
.panel { min-width: 0; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px #20283e03; }
.panel.flat { padding: 0; }
.panel h2 { font-size: 23px; }
.panel h3 { font-size: 16px; }
.panel-head { align-items: flex-start; padding: 17px 19px 12px; }
.columns { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.columns.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.summary-list, .rows { list-style: none; margin: 0; padding: 0; }
.summary-list > li, .row { border-top: 1px solid var(--line); padding: 14px 19px; min-width: 0; }
.summary-list li:first-child { border-top: 0; }
.summary-list strong, .row-title { font-weight: 690; }
.row-title { overflow-wrap: anywhere; }
.summary-list .small { margin-top: 3px; }
.summary-list .btn { margin-left: auto; }
.row { display: grid; gap: 7px; }
.row .row-actions { margin-top: 2px; }
.row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; }
.row-meta > span { min-width: 0; }
.row-details { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; white-space: pre-wrap; }
.row-main { display: flex; align-items: flex-start; gap: 10px; }
.row-main > div { flex: 1; min-width: 0; }
.row-mark { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; flex: 0 0 auto; background: #edf0f5; color: #576476; font-size: 16px; font-weight: 740; }
.row-mark.done { background: var(--green-tint); color: var(--green); }
.row-mark.na { background: #f0f1f4; color: #656b79; }
.row .inset { margin-left: 39px; }
.panel-note { padding: 13px 19px; background: #f9fafc; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); color: var(--muted); font-size: 13px; }
.empty { padding: 22px 18px; color: var(--muted); font-size: 14px; }
.timeline { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; display: flex; gap: 12px; min-width: 0; padding: 10px 0; }
.timeline li:not(:last-child)::after { content: ""; width: 2px; position: absolute; left: 12px; top: 36px; bottom: -9px; background: #e4e9f1; }
.step { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; display: grid; place-items: center; background: #edf0f5; color: #526075; font-size: 12px; font-weight: 730; }
.step.active { background: var(--blue); color: white; }
.step.done { background: var(--green-tint); color: var(--green); }
.timeline li .small { margin-top: 2px; }
.timeline li > div { min-width: 0; }
.timeline strong { font-size: 14px; }
.filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.segment { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border-radius: 11px; background: #e9ebf0; }
.segment button { min-height: 35px; border: 0; background: transparent; border-radius: 8px; color: #4f5667; padding: 6px 11px; font-size: 13px; font-weight: 660; }
.segment button[aria-pressed="true"] { background: white; color: var(--ink); box-shadow: 0 1px 3px #29314e16; }
.segment button:hover { color: var(--blue); }
.form-card { max-width: 630px; }
.money { font-size: 24px; font-weight: 750; letter-spacing: -.045em; }
.text-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 670; overflow-wrap: anywhere; }
.log { border-top: 1px solid var(--line); }
.log:first-child { border-top: 0; }
.log-time { color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }
dialog { width: min(540px, calc(100vw - 30px)); max-height: 92svh; border: 1px solid var(--line); border-radius: 20px; padding: 0; background: #fff; color: var(--ink); box-shadow: 0 20px 65px #13294e3a; }
dialog::backdrop { background: #17203366; backdrop-filter: blur(3px); }
.dialog-head { padding: 17px 21px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: 23px; }
.dialog-body { display: grid; gap: 13px; padding: 19px 21px 22px; }
.dialog-foot { justify-content: flex-end; margin-top: 2px; }
#toast { position: fixed; left: 50%; bottom: 19px; transform: translateX(-50%); z-index: 6; padding: 10px 15px; border-radius: 12px; background: #222834; color: white; box-shadow: 0 5px 20px #14204030; font-size: 13px; max-width: calc(100vw - 25px); text-align: center; }
@media (max-width: 1050px) {
  .shell { grid-template-columns: 180px minmax(0, 1fr); }
  .content, .topbar { padding-left: 23px; padding-right: 23px; }
  .columns { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}
@media (max-width: 810px) {
  .shell { display: block; }
  .side { position: sticky; top: 0; min-height: auto; padding: 10px 14px 0; border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .side .brand { margin: 0; }
  .side .mark { width: 31px; height: 31px; border-radius: 9px; }
  .side-foot { margin: 0; padding: 0; grid-column: 2; grid-row: 1; }
  .account { padding: 0; border: 0; margin: 0; }
  .account .avatar { display: none; }
  .nav-caption { display: none; }
  .nav { grid-column: 1 / -1; display: flex; overflow-x: auto; scrollbar-width: thin; margin: 6px -4px 4px; }
  .nav button { width: auto; min-height: 37px; padding: 7px 9px; flex: 0 0 auto; font-size: 13px; }
  .nav .icon { width: 17px; height: 17px; }
  .topbar { position: static; min-height: 47px; border: 0; background: var(--canvas); padding: 9px 16px 0; }
  .content { padding: 15px 16px 46px; }
  .page-title { margin: 6px 0 17px; }
  .hero h1 { margin-top: 11px; }
  .hero .art { width: 69%; right: -11%; }
}
@media (max-width: 580px) {
  .columns, .columns.even, .field-row { grid-template-columns: 1fr; }
  .hero { min-height: 218px; border-radius: 19px; padding: 22px 17px; }
  .hero .art { width: 84%; opacity: .45; right: -22%; }
  .hero h1 { font-size: clamp(29px, 8vw, 38px); }
  .hero p { font-size: 14px; }
  .flow { gap: 17px; }
  .section-head h2, .panel h2 { font-size: 21px; }
  .stats { gap: 6px; }
  .stat { padding: 10px 8px; min-height: 82px; border-radius: 11px; }
  .stat dd { font-size: 15px; }
  .stat dt, .stat .small { font-size: 11px; }
  .panel { padding: 16px; }
  .panel-head, .summary-list > li, .row, .panel-note { padding-left: 15px; padding-right: 15px; }
  .row .inset { margin-left: 0; }
  .summary-list > li.spread { align-items: flex-start; }
  .login { display: flex; flex-direction: column; }
  .login-visual { min-height: 0; gap: 26px; padding: 23px 22px 27px; }
  .login-visual h1 { font-size: 44px; }
  .login-visual p { font-size: 14px; margin-top: 10px; }
  .login-visual .login-note { display: none; }
  .login-form-wrap { padding: 29px 22px; }
  .login-form h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.filterbar .select { width: auto; min-height: 39px; font-size: 13px; }
.member-row { display: flex; }
.settings-list { margin: 0; padding: 0 19px 17px; }
.settings-list > div { display: grid; grid-template-columns: minmax(104px, .34fr) minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.settings-list dt { color: var(--muted); }
.settings-list dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.plan-line { margin: 11px 0 0; }
.plan-line dt { font-weight: 650; }
.plan-line dd { margin: 1px 0 0; color: var(--muted); }
@media (max-width: 580px) {
  .page-title.spread { flex-wrap: wrap; align-items: flex-start; }
  .panel-head.spread { flex-wrap: wrap; gap: 6px 12px; }
  .filterbar { gap: 6px; }
  .filterbar .select { max-width: 47%; }
}
.plan-line > div { padding: 7px 0; border-top: 1px solid var(--line); }
.plan-line dt, .plan-line dd { font-size: 13px; }

/* The schedule remains alongside the checklists on wide screens. */
.checklist-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(255px, 28%); gap: 21px; align-items: start; }
.checklist-main { min-width: 0; gap: 14px; }
.checklist-rail { position: sticky; top: 85px; max-height: calc(100svh - 103px); overflow: auto; padding: 17px 13px 12px; }
.checklist-rail h2 { margin-left: 5px; font-size: 20px; }
.mobile-milestones { display: none; }
.rail-intro { margin: 4px 5px 9px; font-size: 12px; color: var(--muted); }
.rail-disclaimer { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 9px; }
.rail-steps { margin: 0; padding: 0; list-style: none; }
.rail-steps li { position: relative; padding: 2px 0; }
.rail-steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 35px; bottom: -10px; left: 22px; width: 1px; background: #dbe1ec; pointer-events: none;
}
.rail-button { width: 100%; display: flex; gap: 10px; align-items: flex-start; padding: 8px 9px; min-height: 48px; border-radius: 11px; border: 1px solid transparent; background: transparent; color: var(--ink); text-align: left; }
.rail-button:hover { background: #f2f5fa; }
.rail-button.is-current { background: #eaf3ff; }
.rail-button.is-selected { border-color: #8bb9ef; }
.rail-number { width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 26px; border-radius: 50%; background: #eaf0f8; color: #41546f; font-size: 12px; font-weight: 750; z-index: 1; }
.rail-button.is-current .rail-number { color: white; background: var(--blue); }
.rail-label, .rail-title, .rail-date, .rail-figures { display: block; min-width: 0; }
.rail-title { font-weight: 700; line-height: 1.25; font-size: 13px; }
.rail-current { display: inline-block; margin-left: 7px; font-size: 10px; color: var(--blue); font-weight: 750; }
.rail-date { margin-top: 3px; font-size: 11px; color: #4f596c; font-variant-numeric: tabular-nums; }
.rail-figures { margin-top: 1px; color: var(--muted); font-size: 11px; }
.phase-block { border: 1px solid var(--line); background: white; border-radius: 17px; min-width: 0; }
.phase-active { border-color: #cfe2fb; }
.phase-head { padding: 13px 16px; display: flex; align-items: center; min-height: 57px; gap: 10px; }
.phase-head > .pill { margin-left: auto; }
.phase-active > .phase-head { background: #edf5ff; border-radius: 16px 16px 0 0; }
.phase-heading-text { min-width: 0; }
.phase-heading-text > strong, .phase-heading-text > span { display: block; }
.phase-heading-text > strong { font-weight: 720; }
.phase-heading-text > span { color: var(--muted); font-size: 12px; }
.phase-number { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 31px; border-radius: 10px; background: #edf1f7; color: #4e5b70; font-weight: 720; }
.phase-active .phase-number { background: #d9eaff; color: #0052b5; }
.phase-sign-link { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 3px 15px; border-top: 1px solid #e4ecf9; background: #f9fbfe; }
.phase-parties { display: grid; grid-template-columns: 1fr; }
.phase-party { min-width: 0; }
.phase-party + .phase-party { border-top: 1px solid var(--line); }
.phase-party-head { padding: 13px 16px 10px; }
.phase-party-head h3 { font-size: 16px; }
.phase-party .row { padding-left: 16px; padding-right: 16px; }
.phase-party .row .inset { margin-left: 0; }
.phase-closed { border-top: 1px solid var(--line); }
.phase-closed > summary { padding: 11px 16px; color: var(--muted); font-size: 13px; }
.phase-future > summary, .phase-archive > summary, .mobile-timeline > summary { list-style: none; cursor: pointer; }
.phase-future > summary::-webkit-details-marker, .phase-archive > summary::-webkit-details-marker, .mobile-timeline > summary::-webkit-details-marker { display: none; }
.phase-future > summary::after, .phase-archive > summary::after, .mobile-timeline > summary::after { content: "›"; flex: 0 0 auto; color: #566784; font-weight: 750; font-size: 18px; }
.phase-future[open] > summary::after, .phase-archive[open] > summary::after, .mobile-timeline[open] > summary::after { transform: rotate(90deg); }
.phase-future[open] > summary, .phase-archive[open] > summary { border-bottom: 1px solid var(--line); }
.signature-card { scroll-margin-top: 120px; }
.signature-head h2 { margin-bottom: 4px; }
.signature-parties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 13px; }
.signature-party { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 9px 11px; border-radius: 12px; background: #f7f8fa; border: 1px solid #edf0f4; }
.signature-party > div { min-width: 0; }
.signature-check { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; border-radius: 50%; background: #e9edf3; color: #526073; font-size: 14px; font-weight: 750; }
.signature-check.is-signed { background: var(--green-tint); color: var(--green); }
.signature-context { color: var(--muted); font-size: 13px; margin-top: 12px; }
@media (min-width: 1410px) {
  .phase-parties:not(.single) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phase-party + .phase-party { border-top: 0; border-left: 1px solid var(--line); }
}
@media (max-width: 975px) {
  .checklist-layout { display: block; }
  .checklist-rail { display: none; }
  .mobile-milestones { display: block; margin-bottom: 14px; border: 1px solid #cfe2fb; border-radius: 15px; overflow: hidden; }
  .mobile-current { display: flex; flex-wrap: wrap; gap: 4px 7px; align-items: center; background: #edf5ff; padding: 11px 13px; }
  .mobile-current > .small { flex: 1 0 100%; }
  .mobile-timeline { background: white; }
  .mobile-timeline > summary { display: flex; justify-content: space-between; align-items: center; padding: 8px 13px; font-weight: 650; color: var(--blue); }
  .mobile-timeline .rail-body { padding: 0 9px 7px; }
}
@media (max-width: 580px) {
  .checklist-main { gap: 11px; }
  .phase-head { padding-inline: 11px; }
  .phase-head > .pill { flex: 0 0 auto; }
  .phase-sign-link { padding-inline: 11px; }
  .phase-party-head, .phase-party .row, .phase-closed > summary { padding-inline: 12px; }
  .signature-head { align-items: flex-start; flex-wrap: wrap; gap: 9px; }
  .signature-parties { grid-template-columns: 1fr; }
}
.phase-quick-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; padding: 3px 15px; border-top: 1px solid #e4ecf9; color: #6981a3; font-size: 12px; }
.phase-quick-links a { padding: 6px 0; font-weight: 650; }
.phase-party[id] { scroll-margin-top: 105px; }
.logo-avatar { overflow: hidden; background: #0a0a0c; }
.logo-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.signature-party > div { flex: 1 1 auto; }
.signature-party .btn { flex: 0 0 auto; }
@media (max-width: 810px) {
  .account .logo-avatar { display: grid; width: 27px; height: 27px; }
}
@media (min-width: 811px) and (max-width: 1050px) {
  .signature-party { flex-wrap: wrap; }
}
