body { margin:0; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans KR",sans-serif; background:linear-gradient(180deg,#eef4ff 0%,#f8fafc 100%); color:#172334; }
* { box-sizing:border-box; }
a { color:inherit; }
.shell { max-width:1240px; margin:0 auto; padding:24px 16px 40px; }
.hero { background:linear-gradient(135deg,#1d4ed8,#7c3aed); color:#fff; border-radius:26px; padding:24px; box-shadow:0 22px 40px rgba(37,99,235,0.18); }
.hero p { color:rgba(255,255,255,0.92); line-height:1.6; }
.hero-brand { display:flex; align-items:center; gap:14px; }
.hero-logo { width:52px; height:52px; border-radius:14px; box-shadow:0 6px 16px rgba(0,0,0,0.18); flex-shrink:0; }
.chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.chip { background:rgba(255,255,255,0.16); padding:8px 12px; border-radius:999px; font-size:.84rem; }
.grid { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:16px; margin-top:18px; }
.card { background:#fff; border:1px solid #dbe5f1; border-radius:20px; padding:18px; box-shadow:0 8px 24px rgba(15,23,42,.06); }
.span-4 { grid-column:span 4; } .span-5 { grid-column:span 5; } .span-6 { grid-column:span 6; } .span-7 { grid-column:span 7; } .span-8 { grid-column:span 8; } .span-12 { grid-column:span 12; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.form-grid .full { grid-column:1 / -1; }
.label { display:block; margin-bottom:6px; font-size:.86rem; color:#475569; }
input, select, textarea, button { width:100%; border-radius:14px; border:1px solid #cbd5e1; padding:12px 14px; font:inherit; }
button { border:0; cursor:pointer; font-weight:700; }
button.primary { background:#2563eb; color:#fff; } button.secondary { background:#eef2ff; color:#3730a3; } button.ghost { background:#f8fafc; color:#334155; border:1px solid #cbd5e1; } button.danger { background:#ef4444; color:#fff; }
.chip-btn { display:inline-flex; align-items:center; padding:10px 16px; border-radius:10px; background:#f8fafc; color:#334155; border:1px solid #cbd5e1; text-decoration:none; font-size:.92rem; font-weight:600; }
.hidden { display:none !important; } .flex { display:flex; flex-wrap:wrap; gap:10px; }
.kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; } .kpi { border:1px solid #dbe5f1; border-radius:16px; padding:14px; background:#f8fbff; } .kpi strong { display:block; margin-top:6px; font-size:1.28rem; }
.notice { border-radius:16px; padding:14px 16px; line-height:1.55; margin-top:12px; } .notice.info { background:#dbeafe; color:#1d4ed8; } .notice.warn { background:#fee2e2; color:#991b1b; } .notice.ok { background:#dcfce7; color:#166534; }
.small { color:#64748b; font-size:.9rem; line-height:1.6; }
.badge { display:inline-flex; padding:6px 10px; border-radius:999px; font-size:.78rem; font-weight:800; } .badge.ok { background:#dcfce7; color:#166534; } .badge.warn { background:#ffedd5; color:#9a3412; } .badge.info { background:#dbeafe; color:#1d4ed8; } .badge.mute { background:#e5e7eb; color:#374151; }
.table-wrap { overflow-x:auto; } table { width:100%; border-collapse:collapse; min-width:780px; } th, td { border-bottom:1px solid #e5e7eb; padding:11px 10px; text-align:left; vertical-align:top; } th { background:#f8fafc; }
.list { display:grid; gap:10px; } .list-item { border:1px solid #dbe5f1; border-radius:16px; padding:14px; background:#fbfdff; }
@media (max-width:920px) { .span-4,.span-5,.span-6,.span-7,.span-8,.span-12{grid-column:span 12;} .form-grid,.kpis{grid-template-columns:1fr;} }
.modal-overlay { position:fixed; inset:0; background:rgba(15,20,35,0.55); display:flex; align-items:center; justify-content:center; z-index:999; padding:20px; }
.modal-overlay.hidden { display:none !important; }
.modal-box { background:#fff; border-radius:24px; padding:36px 28px 28px; width:100%; max-width:320px; text-align:center; box-shadow:0 24px 60px rgba(15,23,42,.25); animation:modalPop .18s ease-out; }
.modal-icon { width:64px; height:64px; border-radius:50%; background:#dcfce7; color:#16a34a; font-size:32px; font-weight:800; display:flex; align-items:center; justify-content:center; margin:0 auto 18px; }
.modal-icon.warn { background:#fee2e2; color:#dc2626; }
.modal-title { font-size:1.25rem; font-weight:800; color:#171a24; margin-bottom:8px; }
.modal-sub { font-size:.9rem; color:#64748b; margin-bottom:22px; line-height:1.55; }
.modal-box button.primary { width:100%; }
@keyframes modalPop { from { transform:scale(.92); opacity:0; } to { transform:scale(1); opacity:1; } }
button:disabled { cursor:wait; opacity:.55; }
button:focus-visible, a:focus-visible { outline:3px solid #2563eb; outline-offset:3px; }
.install-banner { display:flex; gap:18px; justify-content:space-between; align-items:center; margin-top:18px; padding:18px 20px; background:#fff; border:1px solid #c7d8f2; border-radius:18px; }
.install-banner p { margin:4px 0 0; color:#52637c; font-size:.9rem; line-height:1.5; }
.install-banner button { width:auto; flex-shrink:0; }
.standalone-app .install-promotion { display:none !important; }
@media (display-mode:standalone) { .install-promotion { display:none !important; } }
.install-dialog { width:min(560px,calc(100% - 28px)); max-height:calc(100dvh - 32px); overflow-y:auto; padding:24px; border:1px solid #dbe5f1; border-radius:22px; color:#172334; box-shadow:0 24px 70px #0f172a40; }
.install-dialog::backdrop { background:#0f172a99; }
.install-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.install-heading h2 { margin:4px 0 0; font-size:1.35rem; }
.install-eyebrow { color:#52637c; font-size:.8rem; margin:0; }
.install-close { width:auto; padding:9px 12px; flex-shrink:0; }
.install-intro { font-size:.94rem; color:#52637c; line-height:1.65; margin:18px 0; }
.install-tabs { display:flex; gap:5px; background:#eef2f7; border-radius:12px; padding:4px; margin:20px 0; }
.install-tabs button { background:transparent; color:#52637c; padding:11px 8px; border-radius:9px; }
.install-tabs button[aria-selected="true"] { background:#fff; color:#1d4ed8; box-shadow:0 1px 5px #0f172a15; }
.install-steps { list-style:none; padding:0; counter-reset:steps; display:grid; gap:20px; }
.install-steps li { word-break:keep-all; overflow-wrap:break-word; position:relative; padding-left:42px; counter-increment:steps; line-height:1.6; }
.install-steps li::before { content:counter(steps); position:absolute; top:0; left:0; width:28px; height:28px; border-radius:50%; background:#e8efff; color:#1d4ed8; text-align:center; line-height:28px; font-size:.85rem; font-weight:700; }
.install-steps strong { display:block; font-size:.95rem; }
.install-steps span { display:block; margin-top:4px; font-size:.85rem; color:#52637c; }
.install-address { margin-top:24px; border-top:1px solid #dbe5f1; padding-top:18px; }
.install-address label { display:block; font-weight:700; font-size:.85rem; margin-bottom:8px; }
.install-address > div { display:flex; gap:8px; }
.install-address input { min-width:0; font-size:.8rem; padding:10px; background:#f8fafc; }
.install-address button { width:auto; flex-shrink:0; font-size:.85rem; }
.install-address [role="status"] { margin:8px 0 0; font-size:.85rem; color:#1d4ed8; }
.install-footnote { margin-bottom:0; }
@media (max-width:480px) { .install-banner { align-items:stretch; flex-direction:column; gap:12px; } .install-dialog { padding:20px 16px; } .hero-brand h1 { font-size:1.35rem; } }
@media (prefers-reduced-motion:reduce) { .modal-box { animation:none; } }
