:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #111827; background: #fff; font-synthesis: none; text-rendering: optimizeLegibility; }
* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100svh; margin: 0; background: #fff; }
.brand { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 52px 20px 0; font-size: 22px; font-weight: 700; letter-spacing: -.04em; }
.brand-mark { width: 32px; height: 36px; display: inline-flex; }
.brand-mark svg { width: 100%; height: 100%; fill: #155eef; }
.brand-mark .check { fill: none; stroke: white; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-by { color: #667085; font-size: 12px; font-weight: 550; letter-spacing: 0; }
.access { width: min(100% - 40px, 544px); margin: 66px auto 48px; }
.access.product { width: min(100% - 32px, 760px); }
h1 { margin: 0; text-align: center; font-size: clamp(30px, 5vw, 44px); line-height: 1.18; letter-spacing: -.045em; font-weight: 720; }
.lead { margin: 14px 0 54px; text-align: center; color: #667085; font-size: 18px; line-height: 1.5; }
.form { display: grid; gap: 10px; }
label { margin-top: 8px; font-size: 15px; font-weight: 550; }
input { width: 100%; height: 58px; padding: 0 18px; border: 1px solid #cbd2de; border-radius: 9px; color: #111827; background: #fff; font: inherit; font-size: 16px; outline: none; box-shadow: 0 1px 2px #1018280d; }
textarea, select { width: 100%; border: 1px solid #cbd2de; border-radius: 9px; color: #111827; background: #fff; font: inherit; font-size: 16px; outline: none; box-shadow: 0 1px 2px #1018280d; }
textarea { min-height: 84px; padding: 14px 18px; line-height: 1.5; resize: vertical; }
select { height: 58px; padding: 0 14px; }
input::placeholder { color: #98a2b3; }
input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }
[tabindex="-1"]:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 4px; border-radius: 4px; }
button { min-height: 56px; border-radius: 9px; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
button:disabled { opacity: .65; cursor: not-allowed; }
.primary { margin-top: 17px; border: 1px solid #155eef; color: white; background: #155eef; box-shadow: 0 1px 2px #1018281a; }
.primary:hover { background: #004eeb; }
.primary:disabled { opacity: .65; cursor: progress; }
.text-button { display: block; min-height: 38px; margin: 8px auto 0; border: 0; background: transparent; color: #155eef; font-size: 14px; }
.divider { display: flex; align-items: center; gap: 18px; margin: 31px 0 20px; color: #667085; font-size: 14px; white-space: nowrap; }
.divider::before, .divider::after { height: 1px; flex: 1; content: ""; background: #d0d5dd; }
.secondary { width: 100%; border: 1px solid #b2c7ff; color: #155eef; background: white; }
.secondary:hover { background: #f7f9ff; }
.secondary.danger { border-color: #fda29b; color: #b42318; }
.secondary.danger:hover { background: #fef3f2; }
.invite-form { margin: 2px 0 16px; }
.invite-form[hidden], [hidden] { display: none !important; }
.message { min-height: 24px; margin: 14px 0 0; color: #b42318; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.message.success { color: #067647; }
.footnote { margin: 16px 0 0; text-align: center; color: #667085; font-size: 14px; }
.maintenance-banner { width: min(100% - 40px, 760px); margin: 28px auto 0; padding: 14px 18px; border: 1px solid #fedf89; border-radius: 9px; color: #93370d; background: #fffaeb; font-size: 15px; line-height: 1.5; text-align: center; }
.not-found { width: min(100% - 40px, 544px); margin: 96px auto 48px; text-align: center; }
.not-found p { color: #667085; font-size: 18px; line-height: 1.5; }
.not-found a { color: #155eef; }
.product { margin-top: 70px; text-align: center; }
.product .lead { margin-bottom: 36px; }
.package-label { color: #667085; font-size: 14px; }
.package-list { padding: 0; list-style: none; font-weight: 650; }
.package-list li { padding: 18px; border: 1px solid #eaecf0; border-radius: 10px; }
.approval-panel { margin: 34px 0 24px; padding: 22px; border: 1px solid #eaecf0; border-radius: 12px; text-align: left; }
.admin-panel { margin: 34px 0 24px; padding: 22px; border: 1px solid #b2c7ff; border-radius: 12px; background: #f7f9ff; text-align: left; }
.admin-panel h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.admin-panel #admin-invite-code { margin: 10px 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-weight: 650; }
.admin-panel #admin-invite-copy, .admin-panel #admin-invite-reissue { margin-top: 10px; }
.admin-panel .message { overflow-wrap: anywhere; }
.approval-panel h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.approval-note { color: #667085; font-size: 14px; line-height: 1.5; }
.approval-contract { max-height: 360px; overflow: auto; padding: 16px; border: 1px solid #eaecf0; border-radius: 8px; background: #f9fafb; font: 13px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.approval-confirm-label { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.approval-confirm-label input { width: 18px; height: 18px; flex: 0 0 18px; margin: 2px 0 0; }
.approval-status-panel { margin-top: 12px; }
.approval-status-panel .message { overflow-wrap: anywhere; }
.planner-panel { margin: 34px 0 24px; padding: 22px; border: 1px solid #eaecf0; border-radius: 12px; text-align: left; }
.planner-panel h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.planner-panel h3 { margin: 0; font-size: 18px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.planner-panel h4 { margin: 22px 0 6px; font-size: 15px; }
.planner-block { margin-top: 22px; padding-top: 20px; border-top: 1px solid #eaecf0; }
.planner-list { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.planner-list:empty { display: none; }
.planner-choice { display: grid; gap: 2px; width: 100%; padding: 12px 16px; border: 1px solid #d0d5dd; color: #111827; background: #fff; text-align: left; }
.planner-choice:hover { background: #f9fafb; }
.planner-choice[aria-pressed="true"] { border-color: #155eef; background: #f7f9ff; box-shadow: inset 4px 0 0 #155eef; }
.planner-choice-title { font-weight: 600; overflow-wrap: anywhere; }
.planner-choice-meta { color: #667085; font-size: 14px; font-weight: 500; }
.planner-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.planner-actions > button { flex: 1 1 200px; width: auto; }
.plan-summary { margin: 8px 0 0; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.planner-bullets { margin: 0; padding-left: 20px; line-height: 1.5; font-size: 15px; }
.planner-bullets li { overflow-wrap: anywhere; }
.planner-bullets li + li { margin-top: 4px; }
.planner-facts { display: grid; grid-template-columns: minmax(120px, max-content) 1fr; gap: 6px 16px; margin: 0; font-size: 15px; line-height: 1.5; }
.planner-facts dt { color: #667085; }
.planner-facts dd { margin: 0; overflow-wrap: anywhere; }
.plan-fieldset { min-width: 0; margin: 14px 0 0; padding: 0; border: 0; }
.plan-fieldset > legend { padding: 0; font-size: 15px; font-weight: 650; }
.criterion { display: grid; gap: 8px; min-width: 0; margin: 12px 0 0; padding: 14px; border: 1px solid #eaecf0; border-radius: 10px; }
.criterion legend { padding: 0 6px; font-weight: 650; }
.field-help { margin: 0; color: #667085; font-size: 14px; line-height: 1.5; }
.verify-panel { display: grid; gap: 10px; margin-top: 16px; }
.connection-row { display: grid; gap: 4px; padding: 12px 16px; border: 1px solid #d0d5dd; border-radius: 9px; }
.connection-row > button { margin-top: 8px; }
.site-footer { padding: 0 20px 40px; text-align: center; color: #667085; font-size: 13px; }
@media (max-width: 520px) {
  .brand { padding-top: 30px; }
  .access { margin-top: 48px; }
  .lead { margin-bottom: 38px; font-size: 16px; }
  .planner-panel, .approval-panel, .admin-panel { padding: 16px; }
  .planner-facts { grid-template-columns: 1fr; gap: 2px; }
  .planner-facts dd { margin-bottom: 8px; }
  .criterion { padding: 12px; }
}
@media (prefers-reduced-motion: no-preference) { button, input, textarea, select { transition: border-color .12s ease, background-color .12s ease, box-shadow .12s ease; } }
