@import url('./tokens.css'); @import url('./fonts.css'); /* Montserrat is bundled in the repository. CJK falls back to the local CJK font. This starter and its fonts work offline when served from the repository root. */ * { box-sizing: border-box; } body { margin: 0; background: var(--bg); color: var(--ink); font: var(--type-body)/1.75 var(--font-ui); -webkit-font-smoothing: antialiased; font-synthesis: none; } button, input, textarea, select { font: inherit; } button, a { -webkit-tap-highlight-color: transparent; } button { cursor: pointer; } button:disabled { cursor: default; opacity: .55; } a { color: var(--primary); text-underline-offset: 4px; } h1, h2, h3, p { margin: 0; } h1, h2 { text-wrap: balance; } h1 { font-size: var(--type-title); line-height: 1.4; font-weight: 700; } h2 { font-size: var(--type-section); line-height: 1.4; } h3 { font-size: var(--type-card); line-height: 1.5; font-weight: 600; } small { font-size: var(--type-caption); } svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; } :focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; } [hidden] { display: none !important; } .v3-page { max-width: 1360px; margin-inline: auto; padding: 40px 48px; } .v3-topbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 32px; } .v3-brand { color: var(--ink); font-size: 16px; font-weight: 700; text-decoration: none; } .v3-eyebrow { color: var(--primary); font-size: 11px; letter-spacing: 1.7px; font-weight: 700; margin-bottom: 10px; } .v3-muted { color: var(--muted); } .v3-heading { margin-bottom: 28px; } .v3-heading > p:last-child { margin-top: 10px; color: var(--muted); } .v3-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; } .v3-button { min-height: var(--touch-min); min-width: var(--touch-min); border: 1px solid transparent; border-radius: var(--radius-pill); padding: 10px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--primary); color: var(--primary-ink); font-size: 14px; line-height: 1.5; font-weight: 600; text-decoration: none; transition: transform var(--duration-emphasis) var(--spring), border-radius var(--duration-emphasis) var(--spring), background var(--duration-state); } .v3-button:not(:disabled):hover { border-radius: 15px; } .v3-button:not(:disabled):active { transform: scale(var(--press-scale)); border-radius: 15px; } .v3-button.tonal { background: var(--tint); color: var(--on-tint); } .v3-button.outline { background: transparent; border-color: var(--line); color: var(--primary); } .v3-button.text { background: transparent; color: var(--primary); padding-inline: 12px; } .v3-button.icon { padding: 10px; } .v3-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--hero); border-radius: var(--radius-hero); padding: 36px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(160px, .8fr); gap: 32px; } .v3-hero h2 { font-size: var(--type-display); font-weight: 800; line-height: 1.4; margin: 14px 0; } .v3-hero p { max-width: 440px; } .v3-hero p.v3-muted { color: var(--on-hero); } .v3-hero > * { min-width: 0; } .v3-hero .v3-badge { white-space: normal; } .v3-hero .v3-actions { margin-top: 24px; } .v3-hero-art { min-height: 210px; display: grid; place-items: center; position: relative; } .v3-sticker { width: 154px; height: 154px; border-radius: 32% 44% 34% 44%; transform: rotate(-8deg); background: var(--tint); color: var(--on-tint); display: grid; place-content: center; text-align: center; font-weight: 700; font-size: 28px; box-shadow: var(--shadow); } .v3-sticker small { font-size: 12px; font-weight: 500; letter-spacing: 2px; } .v3-star { position: absolute; right: 12%; top: 4%; font-size: 52px; color: var(--primary); line-height: 1; } .v3-orbit { position: absolute; width: 230px; height: 165px; border: 1px solid var(--primary); opacity: .18; border-radius: 50%; transform: rotate(-25deg); } .v3-content { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; margin-top: 40px; align-items: start; } .v3-section { margin-top: 40px; scroll-margin-top: 24px; } .v3-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; } .v3-section-head p { margin-top: 8px; color: var(--muted); } .v3-stack { display: grid; gap: 12px; } .v3-card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-card); padding: 22px; min-width: 0; } .v3-card-head { display: flex; align-items: flex-start; gap: 15px; } .v3-card-copy { min-width: 0; flex: 1; } .v3-card-copy p { margin-top: 8px; color: var(--muted); } .v3-meta { font-size: var(--type-label); color: var(--muted); margin-bottom: 6px; } .v3-icon-box { width: 48px; height: 48px; display: grid; place-items: center; flex-shrink: 0; background: var(--tint); color: var(--on-tint); border-radius: 17px 17px 17px 7px; } .v3-icon-box.circle { border-radius: 50%; background: var(--green-bg); color: var(--green); } .v3-icon-box svg { width: 22px; } .v3-badge { display: inline-flex; align-items: baseline; gap: 5px; border-radius: var(--radius-small); padding: 6px 10px; background: var(--surface-2); color: var(--on-tint); font-size: 12px; white-space: nowrap; } .v3-badge strong { font-size: 20px; line-height: 1; } .v3-card-foot { margin-top: 20px; padding-left: 63px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; } .v3-progress { flex: 1; min-width: 120px; max-width: 260px; } .v3-progress-label { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; margin-bottom: 8px; } progress { display: block; width: 100%; height: 5px; border: 0; border-radius: 8px; background: var(--surface-3); accent-color: var(--primary); overflow: hidden; } progress::-webkit-progress-bar { background: var(--surface-3); } progress::-webkit-progress-value { background: var(--primary); border-radius: 8px; } progress::-moz-progress-bar { background: var(--primary); border-radius: 8px; } .v3-filters { display: flex; flex-wrap: wrap; width: fit-content; gap: 6px; padding: 5px; background: var(--surface-2); border-radius: 30px; margin-bottom: 16px; } .v3-filter { min-height: var(--touch-min); border: 0; border-radius: 24px; padding: 10px 18px; color: var(--muted); background: transparent; } .v3-filter[aria-pressed=true] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 2px 8px #20103906; } .v3-summary { padding: 24px; border-radius: var(--radius-panel); background: var(--surface); border: 1px solid var(--line); } .v3-number { display: flex; align-items: baseline; gap: 10px; margin: 20px 0; } .v3-number strong { font-size: 55px; font-weight: 600; line-height: 1.1; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; } .v3-number span { font-size: 12px; color: var(--muted); } .v3-note { background: var(--surface-2); color: var(--muted); border-radius: 16px; padding: 16px; } .v3-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 12px; font-size: 12px; background: var(--surface-2); color: var(--muted); } .v3-status.success { color: var(--green); background: var(--green-bg); } .v3-status.warning { color: var(--warning); background: var(--warning-bg); } .v3-status.error { color: var(--danger); background: var(--danger-bg); } .v3-status.info { color: var(--info); background: var(--info-bg); } .v3-rows { display: grid; gap: 2px; } .v3-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; width: 100%; text-align: left; padding: 16px 20px; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); border-radius: 5px; } .v3-row:first-child { border-top-left-radius: 20px; border-top-right-radius: 20px; } .v3-row:last-child { border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; } .v3-row { text-decoration: none; } .v3-row small { display: block; color: var(--muted); margin-top: 4px; } .v3-field { display: block; margin-top: 20px; } .v3-field input, .v3-field textarea { width: 100%; display: block; margin-top: 8px; min-height: var(--touch-min); padding: 12px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 13px; } .v3-field textarea { min-height: 96px; resize: vertical; } .v3-empty { text-align: center; padding: 40px 24px; border: 1px dashed var(--line); border-radius: var(--radius-card); background: var(--surface); } .v3-empty p { color: var(--muted); margin: 10px 0 20px; } .v3-dialog { width: 480px; max-width: calc(100% - 28px); max-height: 88dvh; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-sheet); background: var(--surface); color: var(--ink); overflow: auto; } .v3-dialog[open] { animation: v3-sheet-in var(--duration-emphasis) var(--spring); } .v3-dialog::backdrop { background: #0e091d70; backdrop-filter: blur(6px); } .v3-dialog h2 { font-size: 26px; margin-bottom: 16px; } .v3-dialog .v3-actions { margin-top: 24px; } .v3-dialog .v3-actions > * { flex: 1; } .v3-feedback { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 14px; color: var(--green); background: var(--green-bg); } .v3-feedback:not(:empty) { display: block; } .v3-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; } @keyframes v3-sheet-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } } @media (max-width: 1180px) { .v3-page { padding-inline: 28px; } } @media (max-width: 980px) { .v3-content { grid-template-columns: 1fr; } } @media (max-width: 760px) { .v3-page { padding: 24px 20px calc(32px + env(safe-area-inset-bottom)); } .v3-hero { padding: 26px 24px; grid-template-columns: minmax(0, 1fr); gap: 12px; } .v3-hero-art { min-height: 180px; } .v3-hero h2 { font-size: 30px; } .v3-card { padding: 18px 16px; } .v3-card-head { gap: 12px; flex-wrap: wrap; } .v3-card-copy { flex-basis: calc(100% - 60px); } .v3-card-head > .v3-badge { margin-left: 60px; } .v3-card-foot { padding-left: 0; gap: 16px; } .v3-content, .v3-section { margin-top: 28px; } .v3-dialog { position: fixed; inset: auto 0 0; margin: 0; max-width: 100%; width: 100%; max-height: 92dvh; border-radius: 28px 28px 0 0; padding: 28px 24px calc(28px + env(safe-area-inset-bottom)); } } @media (max-width: 375px) { .v3-page { padding-inline: 16px; } .v3-hero { padding: 24px 20px; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }