@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;800&family=Playfair+Display:wght@600;700&display=swap');
:root{--navy:#06142f;--navy2:#0b1f46;--gold:#d9b35f;--gold-light:#f3d58a;--ivory:#f8f3e7;--muted:#9ca9bf;--line:rgba(217,179,95,.28);--paper:#ffffff;--ink:#111827;--paper-line:#d1d5db;--soft:#f5f7fa}
*{box-sizing:border-box}body{margin:0;font-family:'Noto Sans KR',system-ui,sans-serif;background:radial-gradient(circle at 14% 8%,rgba(217,179,95,.14),transparent 28%),linear-gradient(180deg,var(--navy),#020812);color:var(--ivory);min-height:100vh}.valuation-header{height:76px;padding:0 clamp(20px,5vw,68px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.07);background:rgba(6,20,47,.8);backdrop-filter:blur(14px);position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--gold-light);font-weight:800}.brand img{width:38px;height:38px;border-radius:50%;object-fit:cover}.back-link{color:var(--muted);text-decoration:none;font-size:14px}.back-link:hover{color:var(--gold-light)}.valuation-shell{display:grid;grid-template-columns:minmax(320px,.78fr) minmax(560px,1.22fr);gap:32px;padding:42px clamp(18px,4vw,58px) 54px;align-items:start}.intro-panel{position:sticky;top:104px}.kicker{margin:0 0 14px;color:var(--gold);font-size:12px;letter-spacing:.18em;font-weight:800}.intro-panel h1{margin:0;font-size:clamp(28px,3.3vw,44px);letter-spacing:-.045em;line-height:1.15}.lead{color:var(--muted);font-size:15.5px;margin:18px 0 28px}.upload-card,.edit-card{border:1px solid var(--line);border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025));padding:24px;margin-bottom:18px;box-shadow:0 20px 60px rgba(0,0,0,.18)}.upload-label{display:block;cursor:pointer}.upload-title{display:block;font-weight:800;font-size:18px}.upload-desc{display:block;color:var(--muted);font-size:13px;margin-top:6px}#excelFile{width:100%;margin:17px 0 12px;color:var(--muted)}.status{font-size:13px;color:var(--muted);padding-top:10px;border-top:1px solid rgba(255,255,255,.07)}.status.ok{color:#b7efc5}.status.error{color:#ffb4b4}.edit-card label{display:flex;justify-content:space-between;gap:12px;font-weight:800}.edit-card label span{font-size:12px;color:var(--gold-light);font-weight:600}.field-guide{margin:10px 0 12px;color:var(--muted);font-size:12px}textarea{width:100%;resize:vertical;border-radius:16px;border:1px solid rgba(255,255,255,.12);background:rgba(2,8,18,.62);color:var(--ivory);padding:14px;font:inherit;font-size:14px;line-height:1.55;outline:none}textarea:focus{border-color:rgba(217,179,95,.65)}.action-row{display:flex;gap:12px;flex-wrap:wrap}.button{border:1px solid var(--line);border-radius:999px;padding:12px 20px;background:rgba(255,255,255,.035);color:var(--ivory);font-weight:700;cursor:pointer}.button:disabled{opacity:.4;cursor:not-allowed}.button-primary{background:linear-gradient(135deg,var(--gold),var(--gold-light));color:#07142e;border:0}.report-area{min-height:780px}.empty-report{min-height:560px;border:1px dashed rgba(217,179,95,.28);border-radius:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);text-align:center;padding:30px}.empty-report strong{color:var(--ivory);font-size:20px}.report-paper{width:100%;max-width:900px;margin:0 auto;background:var(--paper);color:var(--ink);border-radius:20px;box-shadow:0 30px 90px rgba(0,0,0,.34);padding:38px 42px;min-height:1120px}.report-brand{display:flex;align-items:center;gap:13px;margin-bottom:14px;text-align:left}.report-brand img{width:42px;height:42px;border-radius:50%}.report-brand strong{display:block;color:#0d224c;font-size:18px}.report-brand span{font-size:11px;color:#667085}.report-title{font-size:27px;font-weight:900;border-top:3px solid #0d224c;border-bottom:1px solid #0d224c;padding:14px 0 12px;margin-bottom:18px;text-align:center}.top-summary{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--paper-line);margin-bottom:18px}.top-summary div{display:grid;grid-template-columns:105px 1fr;border-bottom:1px solid var(--paper-line)}.top-summary div:nth-last-child(-n+2){border-bottom:0}.top-summary div:nth-child(odd){border-right:1px solid var(--paper-line)}.top-summary dt,.top-summary dd{margin:0;padding:8px 10px;text-align:center;display:flex;align-items:center;justify-content:center}.top-summary dt{font-weight:800;background:#eef2f7;font-size:12px}.top-summary dd{font-size:12px}.value-box{grid-column:1/-1!important;border-right:0!important;border-top:1px solid var(--paper-line);grid-template-columns:105px 1fr!important}.value-box dd{font-size:19px!important;font-weight:900;color:#0d224c}.report-section{margin-top:18px}.report-section h2{font-size:17px;margin:0 0 9px;text-align:left}.report-table{width:100%;border-collapse:collapse;table-layout:fixed}.report-table th,.report-table td{border:1px solid var(--paper-line);padding:7px 8px;font-size:10.5px;vertical-align:middle;word-break:keep-all;text-align:center}.report-table th{background:#eef2f7;font-weight:800}.patent-table th:nth-child(1){width:13%}.patent-table th:nth-child(2){width:23%}.patent-table th:nth-child(3){width:15%}.patent-table th:nth-child(4){width:17%}.patent-table th:nth-child(5){width:18%}.patent-table th:nth-child(6){width:14%}.special-box{border:1px solid var(--paper-line);display:grid;grid-template-columns:110px 1fr}.special-label{background:#eef2f7;padding:9px;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;text-align:center}.special-content{padding:9px;font-size:11px;white-space:pre-wrap;min-height:92px;text-align:left}.special-guide{font-size:9px;color:#687386;margin-bottom:5px;text-align:left}.summary-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--paper-line)}.summary-grid div{display:grid;grid-template-columns:42% 58%;border-bottom:1px solid var(--paper-line)}.summary-grid div:nth-child(odd){border-right:1px solid var(--paper-line)}.summary-grid div:nth-last-child(-n+2){border-bottom:0}.summary-grid dt,.summary-grid dd{margin:0;padding:7px 8px;font-size:10.5px;text-align:center;display:flex;align-items:center;justify-content:center}.summary-grid dt{background:#eef2f7;font-weight:800}.review-copy{font-size:11.2px;line-height:1.58;text-align:left;border:1px solid var(--paper-line);padding:9px 12px}.review-line{margin:0;padding:0;border:0;white-space:normal;text-indent:0}.review-line+.review-line{margin-top:1px}.review-line strong{font-weight:800;color:#111827}.disclaimer{margin-top:22px;font-size:9.4px;line-height:1.55;color:#4b5563;text-align:left;font-weight:700}.valuation-footer{text-align:center;color:rgba(248,243,231,.5);font-size:12px;padding:20px 16px 34px}
@media(max-width:1050px){.valuation-shell{grid-template-columns:1fr}.intro-panel{position:static}.report-paper{max-width:none}}@media(max-width:640px){.valuation-header{height:68px}.valuation-shell{padding:28px 12px 40px}.report-paper{padding:24px 18px;border-radius:14px}.top-summary{grid-template-columns:1fr}.top-summary div{border-right:0!important}.top-summary div:nth-last-child(-n+2){border-bottom:1px solid var(--paper-line)}.value-box{border-bottom:0!important}.summary-grid{grid-template-columns:1fr}.summary-grid div{border-right:0!important}.summary-grid div:nth-last-child(-n+2){border-bottom:1px solid var(--paper-line)}.summary-grid div:last-child{border-bottom:0}.report-table{display:block;overflow-x:auto}.special-box{grid-template-columns:1fr}.special-label{border-bottom:1px solid var(--paper-line)}}
@media print{body{background:#fff}.valuation-header,.intro-panel,.valuation-footer{display:none!important}.valuation-shell{display:block;padding:0}.report-area{min-height:0}.report-paper{box-shadow:none;border-radius:0;max-width:none;width:100%;padding:10mm 12mm;min-height:auto}.report-title{font-size:22px}.report-section{break-inside:avoid}.report-table{break-inside:auto}.report-table tr{break-inside:avoid}.report-paper{page-break-after:auto}@page{size:A4;margin:8mm}}
