:root{--text:#5f584d;--text-h:#1f1a14;--muted:#7c7365;--bg:#f5efe5;--border:#987d573d;--accent:#d47a27;--accent-strong:#a24d13;--sans:"Pretendard", "Noto Sans KR", "Segoe UI", sans-serif;--heading:"Pretendard", "Noto Serif KR", serif;--mono:"SFMono-Regular", Consolas, monospace;font:16px/1.55 var(--sans);letter-spacing:-.01em;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0}body,button,input,select{font:inherit}#root{min-height:100svh}h1,h2,h3,p{margin:0}h1,h2,h3{color:var(--text-h)}h1{font-family:var(--heading);letter-spacing:-.05em;margin-bottom:16px;font-size:clamp(2.3rem,4vw,4.8rem);line-height:.95}h2{margin-bottom:10px;font-size:1.6rem;line-height:1.1}h3{font-size:1.2rem;line-height:1.2}p{line-height:1.6}.app-shell{background:radial-gradient(circle at 0 0,#f2a65a2e,#0000 28%),radial-gradient(circle at 100% 0,#315cad33,#0000 32%),linear-gradient(#fff8ef 0%,#f8f4ec 34%,#f4efe7 100%);min-height:100svh;padding:32px}.hero-panel,.question-panel,.results-panel,.chart-card{border:1px solid var(--border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffcf6e0;border-radius:28px;box-shadow:0 18px 45px #48351a14}.hero-panel{grid-template-columns:minmax(0,1.4fr) minmax(280px,.9fr);gap:24px;margin-bottom:24px;padding:28px;display:grid}.hero-description{max-width:58ch;font-size:18px}.hero-summary{gap:14px;display:grid}.hero-summary div,.mix-overview article,.empty-state{background:linear-gradient(#ffffffeb,#f4eadbe6);border:1px solid #bb996b3d;border-radius:20px;padding:18px}.hero-summary span,.mix-overview span,.field span,.pick-top,.axis-label,.chart-legend,.legend,.theme,.section-mini-header span,.risk-note{color:var(--muted)}.hero-summary strong,.mix-overview strong,.allocation-row strong{color:var(--text-h);margin-top:6px;font-size:28px;line-height:1.1;display:block}.content-grid{grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:24px;display:grid}.question-panel,.results-panel{padding:24px}.panel-heading{margin-bottom:18px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;color:var(--accent-strong);margin-bottom:8px;font-size:12px;font-weight:700}.field{gap:10px;margin-bottom:18px;display:grid}.field select,.field input[type=range]{width:100%}.field select{appearance:none;color:var(--text-h);font:inherit;background:#fffdf9;border:1px solid #a37e4047;border-radius:16px;padding:16px}.slider-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;display:grid}.field input[type=range]{accent-color:var(--accent)}.submit-button{color:#fffaf2;cursor:pointer;background:linear-gradient(135deg,#d47a27,#aa4f19);border:0;border-radius:18px;width:100%;padding:16px 18px;font-weight:700;transition:transform .18s,box-shadow .18s,opacity .18s}.submit-button:hover:enabled{transform:translateY(-1px);box-shadow:0 12px 30px #aa4f1938}.submit-button:disabled{cursor:wait;opacity:.7}.profile-card{color:var(--text-h);background:linear-gradient(145deg,#15335e,#0c203d);border-radius:20px;margin-top:16px;padding:18px}.profile-card h3,.pick-card h3,.chart-card h3,.section-mini-header h3{margin:0 0 10px}.profile-card p{color:#eff3ffe0}.caution{color:#ffd699f2;margin-top:12px;font-size:14px}.error-box{color:#8e2f1f;background:#a92f191a;border:1px solid #a92f192e;border-radius:16px;margin-top:14px;padding:14px 16px}.mix-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid}.results-stack{gap:22px;display:grid}.section-mini-header{justify-content:space-between;align-items:baseline;margin-bottom:12px;display:flex}.pick-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.pick-card{background:linear-gradient(#fffffff5,#f9f3e9eb);border:1px solid #a5896533;border-radius:22px;padding:18px}.pick-top{justify-content:space-between;gap:12px;margin-bottom:14px;font-size:13px;display:flex}.tag{border-radius:999px;justify-content:center;align-items:center;padding:6px 10px;font-size:12px;font-weight:700;display:inline-flex}.tag.etf{color:#156c53;background:#1673561f}.tag.stock{color:#a34b1f;background:#c658221f}.pick-card h3{color:var(--text-h);gap:4px;font-size:24px;display:grid}.pick-card h3 small{color:var(--muted);font-size:14px;font-weight:500}.risk-note{margin-top:12px;font-size:14px}.allocation-row{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;margin-top:16px;display:grid}.allocation-bar{background:#bfaf9347;border-radius:999px;height:10px;overflow:hidden}.allocation-bar span{border-radius:inherit;background:linear-gradient(90deg,#db7f2b,#235fa5);height:100%;display:block}.chart-section{margin-top:24px}.chart-card{padding:24px}.chart-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px;display:flex}.chart-legend{flex-wrap:wrap;gap:12px;display:flex}.legend{align-items:center;gap:8px;display:inline-flex}.legend:before{content:"";background:currentColor;border-radius:50%;width:10px;height:10px}.legend.portfolio{color:#1f5da8}.legend.benchmark{color:#d4802b}.chart{width:100%;height:auto}.grid-line{stroke:#806c4f29;stroke-width:1px}.line{fill:none;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round}.benchmark-line{stroke:#d4802b}.portfolio-line{stroke:#1f5da8}.portfolio-dot{fill:#1f5da8}.axis-label{font-size:11px}@media (width<=960px){.app-shell{padding:18px}.hero-panel,.content-grid,.pick-list,.mix-overview{grid-template-columns:1fr}.hero-panel{padding:22px}.question-panel,.results-panel,.chart-card{padding:18px}.chart-header,.section-mini-header{flex-direction:column;gap:8px}}
