:root { --ink: #17233a; --muted: #5b6678; --line: #dfe4ec; --bg: #f7f9fc; --accent: #1f6feb; --ok: #1a7f37; --warn: #9a6700; --bad: #cf222e; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff; }
a { color: var(--accent); }
header.top { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); }
header.top .brand { font-weight: 700; text-decoration: none; color: var(--ink); }
header.top nav a { margin-left: 18px; text-decoration: none; color: var(--muted); }
main { max-width: 960px; margin: 0 auto; padding: 32px 24px 64px; }
main.narrow { max-width: 680px; }
.hero { text-align: center; padding: 40px 0 24px; }
.hero h1 { font-size: 2.3rem; line-height: 1.2; margin: 0 0 12px; }
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 640px; margin: 0 auto 24px; }
.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: 12px 22px; font-size: 1rem; text-decoration: none; cursor: pointer; }
.btn.secondary { background: #fff; color: var(--accent); border: 1px solid var(--accent); }
.btn.danger { background: var(--bad); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; background: #fff; }
.card h3 { margin-top: 0; }
section { margin: 48px 0; }
.price { font-size: 2rem; font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 600; }
footer { border-top: 1px solid var(--line); padding: 24px; text-align: center; color: var(--muted); font-size: .9rem; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .8rem; background: var(--bg); border: 1px solid var(--line); }
.badge.ok { color: var(--ok); border-color: var(--ok); }
.badge.warn { color: var(--warn); border-color: var(--warn); }
.badge.bad { color: var(--bad); border-color: var(--bad); }
.notice { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; }
.notice.bad { border-color: var(--bad); }
.progress { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.progress > div { height: 100%; background: var(--accent); width: 0; transition: width .4s; }
input[type=text] { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; }
.hidden { display: none; }
.price-card { max-width: 420px; }
.progress-bar { width: 35% !important; animation: slide 1.4s ease-in-out infinite; }
@keyframes slide { 0% { margin-left: -35%; } 100% { margin-left: 100%; } }
pre.notice { white-space: pre-wrap; font: inherit; }
