:root{--navy:#0f2747;--blue:#1664d9;--gold:#d6a84b;--bg:#f4f7fb;--line:#dce3ec;--text:#172234;--muted:#6b778a;--green:#14804a;--amber:#a76400;--red:#b42318}
*{box-sizing:border-box}body{margin:0;font-family:Arial,"Noto Sans KR",sans-serif;background:var(--bg);color:var(--text)}.wrap{max-width:1080px;margin:0 auto;padding:0 20px}.hero{background:linear-gradient(135deg,#0c203b,#173c68);color:#fff;padding:44px 0 38px}.eyebrow{font-size:13px;font-weight:800;letter-spacing:.14em;color:#e7c87b}.hero h1{margin:8px 0 10px;font-size:34px}.hero h1 span{font-size:15px;background:#fff;color:var(--navy);padding:6px 9px;border-radius:999px;vertical-align:middle}.hero p{margin:0;color:#d9e4f2}main{padding:28px 20px 60px}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:0 6px 24px rgba(18,42,73,.06);margin-bottom:18px}.section-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.section-head h2{margin:0 0 6px;font-size:22px}.section-head p{margin:0;color:var(--muted);font-size:14px}.profile-level{background:#edf4ff;color:var(--blue);font-size:13px;font-weight:800;padding:8px 12px;border-radius:999px;white-space:nowrap}.progress{height:8px;background:#edf1f6;border-radius:99px;margin:18px 0 22px;overflow:hidden}.progress>div{height:100%;width:0;background:var(--blue);transition:.2s}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}label{font-size:14px;font-weight:700;color:#303a49}input,select{width:100%;margin-top:7px;border:1px solid #cfd8e5;border-radius:10px;padding:12px 13px;font-size:15px;background:#fff;color:var(--text)}input:focus,select:focus{outline:2px solid #b9d4ff;border-color:var(--blue)}details{margin-top:20px;border-top:1px solid var(--line);padding-top:16px}summary{font-weight:800;cursor:pointer;color:var(--navy)}.extra{margin-top:16px}.actions{display:flex;gap:10px;margin-top:22px}.primary,.secondary,.chip{border:0;border-radius:10px;font-weight:800;cursor:pointer}.primary{background:var(--blue);color:#fff;padding:13px 20px;font-size:16px}.secondary{background:#eef2f7;color:#42516a;padding:13px 18px}.primary:disabled{opacity:.6}.hint{font-size:13px;color:var(--muted);line-height:1.55}.hidden{display:none}.summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:20px}.stat{border-radius:14px;padding:16px;border:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.stat b{font-size:26px}.stat.likely{background:#f1fbf5}.stat.review{background:#fff8eb}.stat.unlikely{background:#fff1f0}.needed{margin-top:16px;border:1px solid #d6e4f7;background:#f6f9ff;border-radius:14px;padding:14px}.needed strong{display:block;margin-bottom:10px}.chip{background:#fff;border:1px solid #cbd9ec;color:var(--blue);padding:8px 11px;margin:3px}.results{margin-top:18px}.opp{border-left:5px solid #cad3df}.opp.likely{border-left-color:var(--green)}.opp.review{border-left-color:#e9a23b}.opp.unlikely{border-left-color:var(--red)}.opp-top{display:flex;justify-content:space-between;gap:16px}.badge{font-size:12px;font-weight:900;border-radius:999px;padding:7px 10px}.badge.likely{background:#e9f7ef;color:var(--green)}.badge.review{background:#fff1d6;color:var(--amber)}.badge.unlikely{background:#fdecec;color:var(--red)}.metrics{display:flex;gap:10px;font-size:12px;color:var(--muted)}.metrics span{background:#f3f6f9;padding:7px 9px;border-radius:8px}.opp h3{font-size:20px;margin:16px 0 6px}.meta{margin:0 0 16px;color:var(--muted);font-size:14px}.checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.check{display:flex;gap:9px;border:1px solid var(--line);border-radius:10px;padding:10px}.check>span{font-weight:900}.check b{display:block;font-size:13px}.check small{display:block;margin-top:3px;color:var(--muted);line-height:1.35}.check.pass>span{color:var(--green)}.check.fail>span{color:var(--red)}.check.unknown>span{color:var(--amber)}.notice{margin-top:14px;border-radius:10px;background:#f6f7f9;padding:12px 14px;font-size:13px}.footer-notice{margin-bottom:30px}.opp .hint{margin-bottom:0}@media(max-width:720px){.wrap{padding-left:14px;padding-right:14px}.hero{padding:32px 0}.hero h1{font-size:27px}.grid,.summary,.checks{grid-template-columns:1fr}.section-head,.opp-top{flex-direction:column}.profile-level{align-self:flex-start}.card{padding:18px;border-radius:15px}.actions{flex-direction:column}.actions button{width:100%}.metrics{width:100%;justify-content:space-between}}
.head-badges{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.save-state{background:#f3f5f8;color:var(--muted);font-size:12px;font-weight:800;padding:8px 10px;border-radius:999px;white-space:nowrap}.save-state.saved{background:#edf8f1;color:var(--green)}.compact{padding:10px 14px;font-size:13px;align-self:flex-start}.last-matched{margin-top:5px!important;font-size:12px!important}.needed p{margin:0 0 10px;color:var(--muted);font-size:13px}.hidden.compact{display:none}@media(max-width:720px){.head-badges{justify-content:flex-start}.section-head .compact{width:100%}}
.result-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.result-tools .active{background:#e7f0ff;color:var(--blue);box-shadow:inset 0 0 0 1px #bfd4f4}.opp-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.mini-action{border:1px solid #d1d9e5;background:#fff;color:#45546a;border-radius:9px;padding:8px 10px;font-size:12px;font-weight:800;cursor:pointer}.mini-action:hover{background:#f6f8fb}.mini-action.selected{border-color:#9dbbe6;background:#eef5ff;color:var(--blue)}.utility-panel{scroll-margin-top:16px}.panel-actions{display:flex;gap:8px}.empty-state{padding:20px;color:var(--muted);text-align:center;border:1px dashed #cdd6e3;border-radius:12px;background:#fafbfd}.compare-scroll{overflow-x:auto;margin-top:18px}.compare-table{width:100%;border-collapse:collapse;min-width:760px}.compare-table th,.compare-table td{border:1px solid var(--line);padding:12px;text-align:left;vertical-align:top;font-size:13px}.compare-table thead th{background:#f6f8fb;color:var(--navy)}.compare-table th:first-child{width:130px;background:#f8fafc}.remove-compare{display:block;margin-top:8px;border:0;background:#eef2f7;color:#5a687c;padding:6px 8px;border-radius:7px;font-size:11px;font-weight:800;cursor:pointer}.history-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.history-row:last-child{border-bottom:0}.history-row b{display:block;font-size:14px}.history-row small{display:block;color:var(--muted);margin-top:4px}.history-summary{display:flex;gap:8px;font-size:12px;color:#4d5a6e}.history-summary span{background:#f5f7fa;padding:6px 8px;border-radius:8px}@media(max-width:720px){.result-tools{display:grid;grid-template-columns:1fr 1fr}.result-tools button{width:100%}.opp-actions{display:grid;grid-template-columns:1fr 1fr}.history-row{grid-template-columns:1fr}.history-summary{flex-wrap:wrap}.panel-actions{width:100%}.panel-actions button{flex:1}}

/* ===== v0.5 premium portal shell ===== */
:root{--brand:#2463eb;--brand2:#0f766e;--ink:#0f172a;--soft:#f6f9ff}
body{background:linear-gradient(180deg,#f8fbff 0,#f7f9fc 260px,#f6f7f9 100%)}
.topbar{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid #e8edf4;box-shadow:0 2px 12px rgba(15,23,42,.035)}
.nav{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:11px;color:var(--ink)}.brandmark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,var(--brand),#39a6ff);color:#fff;font-weight:900;box-shadow:0 8px 18px rgba(36,99,235,.22)}.brand b{display:block;font-size:19px;letter-spacing:-.02em}.brand small{display:block;margin-top:1px;color:#7a879a;font-size:10px;font-weight:700;letter-spacing:.08em}.nav nav{display:flex;gap:26px}.nav nav a{text-decoration:none;color:#536176;font-size:14px;font-weight:800}.nav nav a:hover{color:var(--brand)}.account{display:flex;align-items:center;gap:8px}.ghost,.nav-primary{border:0;border-radius:10px;padding:10px 14px;font-weight:800;cursor:pointer}.ghost{background:#fff;color:#475569}.nav-primary{background:var(--brand);color:#fff;box-shadow:0 8px 16px rgba(36,99,235,.18)}.user-hello{font-size:13px;color:#475569;font-weight:800;margin-right:4px}
.hero{background:radial-gradient(circle at 74% 20%,rgba(67,184,255,.18),transparent 30%),linear-gradient(135deg,#f7fbff 0%,#eef6ff 54%,#f2fbfa 100%);border-bottom:1px solid #e4edf7;padding:54px 0 48px}.hero-inner{display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.hero h1{margin:9px 0 16px;font-size:43px;line-height:1.16;letter-spacing:-.045em;color:#13213b}.hero h1 em{font-style:normal;color:var(--brand)}.hero p{max-width:680px;color:#66758a;font-size:16px;line-height:1.7;margin:0}.hero-chip{border:1px solid #cfe0f6;background:rgba(255,255,255,.7);padding:11px 14px;border-radius:999px;color:#325a92;font-size:12px;font-weight:900;white-space:nowrap}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:24px;align-items:start;padding-top:28px}.content{min-width:0}.ad-rail{position:sticky;top:96px}.ad-shell{min-height:330px;border:1px solid #e4eaf2;border-radius:20px;background:linear-gradient(180deg,#fff,#f8fbff);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px;box-shadow:0 8px 26px rgba(15,23,42,.05)}.ad-label{font-size:10px;letter-spacing:.18em;color:#94a3b8;margin-bottom:18px}.ad-shell strong{font-size:17px;color:#334155}.ad-shell p{font-size:12px;line-height:1.6;color:#94a3b8}.ad-dots{margin-top:22px;color:#94a3b8;letter-spacing:6px;font-size:10px}
.member-box{border-left:4px solid var(--brand)}.company-tools{display:flex;gap:8px;align-items:center}.company-tools select{min-width:230px}.guide-strip{display:flex;gap:14px;align-items:center;margin:0 0 40px;padding:18px 20px;border-radius:14px;background:#eef6ff;color:#52647a;font-size:13px}.guide-strip b{color:var(--brand);white-space:nowrap}
.modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:18px}.modal.hidden{display:none}.modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.46);backdrop-filter:blur(4px)}.modal-card{position:relative;width:min(430px,100%);background:#fff;border-radius:22px;padding:26px;box-shadow:0 28px 70px rgba(15,23,42,.28)}.modal-x{position:absolute;right:16px;top:14px;border:0;background:transparent;font-size:27px;color:#8793a5;cursor:pointer}.auth-tabs{display:flex;gap:7px;background:#f2f5f9;padding:5px;border-radius:12px;margin-bottom:22px}.auth-tabs button{flex:1;border:0;padding:10px;border-radius:9px;background:transparent;color:#64748b;font-weight:900;cursor:pointer}.auth-tabs button.active{background:#fff;color:var(--brand);box-shadow:0 2px 8px rgba(15,23,42,.08)}.modal-card h3{font-size:22px;margin:0 0 18px;color:#172033}.modal-card form label{display:block;margin:12px 0;color:#526176;font-size:13px;font-weight:800}.modal-card form input:not([type=checkbox]){width:100%;box-sizing:border-box;margin-top:7px}.wide{width:100%;margin-top:12px}.checkline{display:flex!important;gap:8px;align-items:center;font-weight:600!important}.checkline input{width:auto!important}.auth-error{min-height:19px;color:#c43636;font-size:12px;font-weight:700;margin:12px 0 0}
@media(max-width:980px){.layout{grid-template-columns:1fr}.ad-rail{display:none}.nav nav{display:none}.hero-inner{align-items:flex-start;flex-direction:column}.hero h1{font-size:35px}.company-tools{width:100%;flex-direction:column;align-items:stretch}.company-tools select{min-width:0;width:100%}}
@media(max-width:620px){.nav{min-height:64px}.brand small{display:none}.account{gap:5px}.ghost,.nav-primary{padding:8px 10px;font-size:12px}.user-hello{display:none!important}.hero{padding:36px 0 34px}.hero h1{font-size:30px}.hero-chip{display:none}.layout{padding-top:16px}.guide-strip{align-items:flex-start;flex-direction:column}}

/* ===== v0.6 homepage / premium portal ===== */
html{scroll-behavior:smooth}.brand{text-decoration:none}.section-kicker{display:block;margin-bottom:8px;color:#2463eb;font-size:11px;font-weight:900;letter-spacing:.12em}.hero{padding:64px 0 56px}.hero-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);gap:42px;align-items:center}.hero-copy h1{font-size:48px;max-width:720px}.hero-copy p{max-width:720px}.hero-search{display:flex;gap:10px;margin-top:26px;padding:8px;background:#fff;border:1px solid #dce7f5;border-radius:16px;box-shadow:0 14px 34px rgba(36,99,235,.12);max-width:720px}.hero-search input{margin:0;border:0;outline:0;box-shadow:none;padding:14px 16px;font-size:15px}.hero-search input:focus{outline:0;border:0}.hero-search-btn{border:0;border-radius:12px;background:linear-gradient(135deg,#2463eb,#2f78f4);color:#fff;font-weight:900;padding:0 22px;white-space:nowrap;cursor:pointer;box-shadow:0 10px 20px rgba(36,99,235,.2)}.hero-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.hero-tags span{padding:7px 10px;border:1px solid #d9e7f8;border-radius:999px;background:rgba(255,255,255,.65);color:#66809f;font-size:11px;font-weight:800}.hero-panel{border:1px solid #dbe6f2;background:rgba(255,255,255,.8);backdrop-filter:blur(8px);border-radius:26px;padding:26px;box-shadow:0 22px 50px rgba(15,23,42,.08)}.hero-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.hero-panel-head span{font-size:11px;font-weight:900;letter-spacing:.16em;color:#2463eb}.hero-panel-head b{font-size:11px;border:1px solid #cfe0f6;border-radius:999px;padding:7px 9px;color:#3d679d;background:#f8fbff}.hero-panel-title{font-size:24px;font-weight:900;line-height:1.38;letter-spacing:-.03em;color:#13213b}.hero-panel-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:8px;align-items:center;margin:24px 0}.hero-panel-flow div{border-radius:14px;background:#f7f9fc;padding:14px 8px;text-align:center}.hero-panel-flow b{display:block;color:#2463eb;font-size:12px}.hero-panel-flow span{display:block;margin-top:5px;font-size:11px;color:#5e6d81;font-weight:800}.hero-panel-flow i{font-style:normal;color:#b0bdcd}.hero-panel small{display:block;color:#8694a8;line-height:1.55}
.home-overview{margin-top:-1px;background:#fff;border-bottom:1px solid #e9eef5}.overview-grid{display:grid;grid-template-columns:repeat(4,1fr)}.overview-card{display:flex;gap:14px;align-items:center;padding:23px 18px;border-right:1px solid #edf1f6}.overview-card:first-child{padding-left:0}.overview-card:last-child{border-right:0}.overview-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#eef5ff;color:#2463eb;font-size:13px;font-weight:900}.overview-card b{display:block;font-size:20px;color:#1d2a3f}.overview-card small{display:block;margin-top:3px;color:#8491a3;font-size:11px;font-weight:700}.overview-card.accent .overview-icon{background:#eaf8f5;color:#0f766e}
.home-section{padding:54px 0 18px}.home-section-head{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:24px}.home-section-head h2{margin:0;font-size:30px;letter-spacing:-.035em}.home-section-head p{margin:8px 0 0;color:#7b8799;font-size:14px}.text-link{border:0;background:transparent;color:#2463eb;font-weight:900;cursor:pointer;padding:8px 0}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.category-card{border:1px solid #e2e8f1;border-radius:18px;background:#fff;padding:20px;box-shadow:0 8px 24px rgba(15,23,42,.035);cursor:pointer;transition:.18s}.category-card:hover{transform:translateY(-2px);border-color:#bfd4f7;box-shadow:0 14px 30px rgba(36,99,235,.08)}.category-card .cat-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#eef5ff;color:#2463eb;font-weight:900;margin-bottom:16px}.category-card b{display:block;font-size:17px}.category-card small{display:block;margin-top:6px;color:#8a97a9}.category-card span{display:block;margin-top:14px;color:#2463eb;font-size:12px;font-weight:900}.home-columns{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:18px;margin-top:18px}.home-list-card,.guide-card{border:1px solid #e2e8f1;border-radius:20px;background:#fff;padding:24px;box-shadow:0 8px 24px rgba(15,23,42,.035)}.list-head{display:flex;justify-content:space-between;align-items:start}.list-head h3,.guide-card h3{margin:0;font-size:22px;letter-spacing:-.025em}.test-label{font-size:9px;letter-spacing:.13em;border:1px solid #d7e3f4;border-radius:999px;padding:6px 8px;color:#6580a6;font-weight:900}.home-program-list{margin-top:12px}.home-program-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;padding:15px 0;border-bottom:1px solid #edf1f6}.home-program-row:last-child{border-bottom:0}.home-program-row .program-cat{font-size:10px;font-weight:900;color:#2463eb;background:#eef5ff;padding:6px 8px;border-radius:8px}.home-program-row b{display:block;font-size:14px}.home-program-row small{display:block;margin-top:4px;color:#8a97a9}.home-program-row .program-amount{font-size:12px;color:#46566c;font-weight:900}.guide-card{background:linear-gradient(145deg,#15335b,#1f5d86);color:#fff}.guide-card .section-kicker{color:#8bd8cf}.guide-card h3{font-size:27px;line-height:1.25}.guide-card p{color:#d6e3ef;line-height:1.65;font-size:13px}.guide-card ul{list-style:none;padding:0;margin:22px 0}.guide-card li{padding:8px 0;border-bottom:1px solid rgba(255,255,255,.12);font-size:12px;color:#d9e6f0}.guide-card li b{display:inline-block;width:74px;color:#fff}.guide-card .secondary{background:#fff;color:#174e76}
.layout{padding-top:36px}.profile-card{scroll-margin-top:94px}.ad-shell{padding:18px;min-height:390px;justify-content:flex-start}.ad-slider{width:100%;position:relative;min-height:285px}.ad-slide{display:none;min-height:285px;border-radius:16px;padding:24px 18px;background:linear-gradient(145deg,#f7fbff,#eef5ff);text-align:left;flex-direction:column;justify-content:flex-end}.ad-slide.active{display:flex}.ad-slide>span{font-size:9px;letter-spacing:.16em;color:#7a92b4;font-weight:900;margin-bottom:auto}.ad-slide strong{font-size:20px;line-height:1.25;color:#1d3557}.ad-slide p{font-size:12px;line-height:1.65;color:#71829a}.ad-slide button{border:0;background:#173f6b;color:#fff;border-radius:10px;padding:10px;font-weight:800;font-size:11px}.ad-dots{display:flex;justify-content:center;gap:7px;margin:14px 0 10px;letter-spacing:0}.ad-dots button{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:#ccd6e3;cursor:pointer}.ad-dots button.active{width:20px;border-radius:99px;background:#2463eb}.ad-policy{display:block;color:#9aa6b5;font-size:9px;line-height:1.5;text-align:center}.site-footer{margin-top:30px;border-top:1px solid #e7ebf1;background:#fff}.footer-inner{min-height:110px;display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center}.footer-inner b{display:block;color:#1b2e49}.footer-inner small{color:#9aa6b5}.footer-inner p{font-size:12px;color:#8a96a7}.footer-inner a{margin-left:14px;color:#65748a;text-decoration:none;font-size:12px;font-weight:800}
@media(max-width:980px){.hero-grid{grid-template-columns:1fr}.hero-panel{display:none}.overview-grid{grid-template-columns:repeat(2,1fr)}.overview-card:nth-child(2){border-right:0}.overview-card:nth-child(-n+2){border-bottom:1px solid #edf1f6}.category-grid{grid-template-columns:repeat(2,1fr)}.home-columns{grid-template-columns:1fr}.home-section-head{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.hero{padding:38px 0 32px}.hero-copy h1{font-size:32px}.hero-search{display:block;padding:7px}.hero-search-btn{width:100%;padding:13px;margin-top:5px}.overview-grid{grid-template-columns:1fr 1fr}.overview-card{padding:17px 10px}.overview-card:first-child{padding-left:10px}.overview-card b{font-size:16px}.overview-icon{width:36px;height:36px}.home-section{padding-top:34px}.home-section-head h2{font-size:24px}.category-grid{grid-template-columns:1fr 1fr;gap:10px}.category-card{padding:16px}.category-card b{font-size:14px}.category-card small{font-size:10px}.home-program-row{grid-template-columns:auto 1fr}.home-program-row .program-amount{grid-column:2}.footer-inner{grid-template-columns:1fr;gap:8px;padding-top:24px;padding-bottom:24px}.footer-inner a{margin:0 14px 0 0}}
