/* Corporate Network Tree — champagne gold / midnight / ivory. */
:root{--ink:#253248;--muted:#6c7583;--teal:#825e25;--dark:#101b2e;--bg:#f7f5ef;--line:#e4e1d9;--gold:#c7a76c;--shadow:0 12px 32px #101b2e08}
body{background:radial-gradient(ellipse at 95% 10%,#e8dfcb60,transparent 50%),var(--bg)}
p,label,small,.data-meta,.facts dt{color:var(--muted)}
button,.button{border-radius:5px;background:linear-gradient(125deg,#dcc393,#c5a467);color:#182338;border:1px solid #b89558;box-shadow:inset 0 1px #fff8;transition:box-shadow .18s,background .18s}
button:hover,.button:hover{background:linear-gradient(125deg,#ead3aa,#cfad72);box-shadow:0 5px 16px #b99a6430}
.secondary{background:#fff;color:var(--ink);border-color:var(--line);box-shadow:none}.secondary:hover{background:#f7f3e9}
.quiet,.text-link{background:transparent;border-color:transparent;box-shadow:none;color:#655238}.quiet:hover{background:#f3ede0;color:#644b23;box-shadow:none}.text-link:hover{background:none;box-shadow:none}
input,select,textarea{border-color:#dadce1;background:#fff;border-radius:5px;padding:11px 12px}input:focus,select:focus,textarea:focus{border-color:#a98445}input::placeholder{color:#89919d}
#app{display:block}.sidebar{position:sticky;inset:0 0 auto;width:100%;height:87px;flex-direction:row;align-items:center;padding:0 4vw;background:#101b2ef7;border-bottom:1px solid #c7a76c44;backdrop-filter:blur(18px);gap:3vw;box-shadow:0 7px 24px #101b2e10}
.brand{padding:0;min-width:178px;font-size:23px;letter-spacing:-.8px;gap:10px}.brandmark{color:#d4b77f;width:34px;height:37px}.brand small{color:#bca77f;font-size:6px;letter-spacing:1.15px}.brandmark svg{width:31px;height:31px}.nav-caption,.sidebar-bottom{display:none}
.sidebar nav{display:flex;align-items:center;justify-content:flex-end;flex:1;gap:5px;min-width:0}.nav-item{width:auto;margin:0;padding:15px 11px;background:none;color:#bac1cd;white-space:nowrap;border-radius:0;font-size:12px;gap:7px;position:relative;box-shadow:none;border:0;min-height:86px}
.nav-item>span{display:grid;place-items:center;width:18px;height:20px}.nav-item svg{width:18px;height:18px}.nav-item:hover{background:#ffffff05;color:#edd8b3;box-shadow:none}.nav-item.active{color:#edcf97;background:#ffffff05;box-shadow:inset 0 -2px #c7a76c;border-radius:0}.nav-item b{background:#c7a76c;color:#101b2e;font-size:9px;margin-left:0}
.workspace{margin:0;width:100%}.topbar{max-width:1600px;margin:auto;background:none;border-bottom:0;height:58px;padding:0 4vw;color:#49546a}.breadcrumb{color:#778193}.environment{background:#f0eadd;border-color:#e0d2b8;color:#775a28;border-radius:3px}.environment:before{color:#a47d40}.slash{color:#b2a48c}.top-actions .quiet{color:#647084;font-size:11px}
main{max-width:1600px;padding:0 4vw 64px;min-height:calc(100vh - 210px)}footer{padding:24px 4vw;max-width:1600px;margin:auto;color:#7f827e}
.hero{min-height:465px;border-radius:9px;background:#101b2e;box-shadow:0 22px 52px #101b2e1a;isolation:isolate}.hero-art{background-position:center right;opacity:1}.hero-copy{width:60%;padding:51px 48px 44px;background:linear-gradient(90deg,#101b2efa,#101b2ed9 58%,#101b2e00)}
.hero .eyebrow{font-size:9px;letter-spacing:3px;color:#dcc392;margin-bottom:22px}.hero-brand{font-size:15px;font-weight:700;color:#eee4d1;display:flex;align-items:center;gap:12px}.hero-brand>span{font-size:11px;font-family:system-ui,sans-serif;color:#b8c3d2;font-weight:400;letter-spacing:.4px}
.hero h1{font-size:44px;letter-spacing:-1.8px;line-height:1.4;font-weight:650;margin:17px 0;color:#fff}.hero p{color:#ccd3dc;font-size:12px;line-height:1.9;margin-bottom:23px}.hero-links{display:flex;gap:9px;margin-bottom:25px}.hero-links button{padding:10px 17px;font-size:11px}.hero-links svg{width:15px;height:15px}.hero-links .secondary{background:#ffffff06;color:#e5d3b0;border-color:#c7a76c77}.hero-links .secondary:hover{background:#ffffff10}.hero-tag{color:#bfc7d3;border-color:#ffffff22;font-size:9px;letter-spacing:0;border-radius:3px}.hero-coordinate{position:absolute;bottom:22px;right:25px;color:#d1bb92;font:8px system-ui;letter-spacing:2px;z-index:2}
.metric-row{margin:0 20px 28px;position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:#fff;border:1px solid var(--line);border-top:2px solid #c7a76c;box-shadow:0 12px 26px #101b2e09;border-radius:0 0 7px 7px}.metric-row>div{border:0;border-right:1px solid #e8e5df;border-radius:0;background:none;padding:24px 28px}.metric-row>div:last-child{border-right:0}.metric-row span{font-size:11px;color:#757d88;margin-bottom:9px}.metric-row strong{font-size:29px;font-weight:550;color:#223248}.metric-row strong small{color:#8b7758}.metric-row .metric-date{font-size:23px}
.card{border-color:var(--line);border-radius:8px;padding:26px;box-shadow:var(--shadow);background:#ffffffee}.section-heading h2{font-size:18px;letter-spacing:-.5px}.badge{color:#82622d;background:#f7f0e2;border-color:#e8d7b6;border-radius:3px;font-size:9px}.search-workbench{border-top:3px solid #c7a76c;padding:29px 32px}.search-input{background:#f8f9fb;border-color:#d6dce5;border-radius:5px}.search-input span{color:#8c774f}.search-bar{gap:9px}.search-bar>button{padding:12px 26px}.filters select{background:#fafafa}.filters{border-bottom-color:var(--line)}
thead{background:#f1f2f5;color:#667085}td,th{border-bottom-color:#e9e9e9;padding:16px 14px}.result-heading strong{color:#805d24}.status-dot:before{color:#8b7753}.row-actions .quiet{border-color:#e4e2dc;color:#5c6574}tbody tr:hover{background:#fbfaf6}.pagination button{border-color:#e1dccc}
.service-section{margin:40px 0 24px}.service-section .eyebrow{color:#9a7a43;font-size:9px}.service-subtitle{color:#7e8690;font-size:11px}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.service-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:25px 22px;background:linear-gradient(145deg,#fff,#f4f1ea);border:1px solid #e3ded2;box-shadow:inset 0 1px #fff,0 10px 25px #101b2e05;border-radius:8px;overflow:hidden;min-height:217px;color:#253248}.service-card:hover{background:linear-gradient(145deg,#fff,#eee4d0);box-shadow:0 12px 24px #101b2e0f;border-color:#b9985b}.service-number{position:absolute;right:20px;top:20px;color:#a89067;font:11px system-ui}.service-icon{width:48px;height:48px;display:grid;place-items:center;margin:0 0 21px;border:1px solid #d0b78d;border-radius:12px;background:linear-gradient(145deg,#f4e6c8,#cfb17b);box-shadow:inset 1px 1px #fff9,3px 5px 9px #87704d25;transform:rotate(-5deg);color:#604c2b}.service-icon svg{width:24px;height:24px}.service-card strong{font-size:15px}.service-card p{font-size:11px;margin:9px 0 18px;color:#6b7380;font-weight:400;line-height:1.8}.service-arrow{margin-top:auto;font-size:10px;color:#8d6c35}.bottom-note>span{color:#bfa36f}
.page-heading{position:relative;overflow:hidden;min-height:164px;padding:29px 34px;border-radius:8px;background:linear-gradient(90deg,#101b2efa,#101b2ee8 65%,#101b2e9c),url('/assets/brand-gold-4k.png') center right/cover;margin:0 0 24px;border-bottom:2px solid #c7a76c;isolation:isolate}.page-heading:after{content:'';position:absolute;width:130px;height:130px;right:16%;top:-67px;border:1px solid #c7a76c40;border-radius:50%;box-shadow:0 0 0 23px #c7a76c05,0 0 0 46px #c7a76c05;z-index:-1}.page-heading h1{color:white;font-size:29px;font-weight:600;margin-bottom:9px}.page-heading .eyebrow{color:#c7a76c;font-size:8px;letter-spacing:2px}.page-heading p{color:#c1c8d3;font-size:12px}.heading-actions .secondary{background:#ffffff0b;color:#e6ddcc;border-color:#c7a76c55}.heading-actions button,.heading-actions a{font-size:11px}
.company-cover{background:linear-gradient(105deg,#fff,#f4eedf);border-color:#e5d7bd;border-left:3px solid #c7a76c;border-radius:8px}.company-monogram,.selection-monogram{color:#e8c996;background:linear-gradient(135deg,#354860,#101b2e);border:1px solid #c7a76c99;border-radius:13px;box-shadow:inset 1px 1px #ffffff25,0 8px 16px #101b2e22}.company-cover h2{color:#26344a}.restricted{background:#f7f5ef;border-color:#d9cfbb;color:#777264}.related-item{background:#f8f8f9;border-color:#e0e3e8;color:#425068}.related-item:hover{background:#f2e9d9}.risk-row strong{color:#30435b}
.network-layout{grid-template-columns:190px minmax(0,1fr) 270px;gap:16px}.network-layout .card{border-top:2px solid #c7a76c}.graph-card{border-color:#dedfe3;border-radius:8px;box-shadow:0 10px 28px #101b2e07}.graph-header{background:#fff;border-bottom-color:#e0e3e8}.graph-toolbar{background:#fafafa}.segmented{border-color:#d9d6cf}.segmented button{box-shadow:none;border:0;color:#6b7587}.segmented .chosen{background:#ede5d5;color:#775829}
#graph-canvas{background-color:#f2f4f7;background-image:radial-gradient(#c5ccd6 1px,transparent 1px),radial-gradient(ellipse at 40% 50%,#fff,#e8edf3);background-size:22px 22px,100% 100%}.network{height:560px}#graph-canvas{min-height:560px}.node rect{fill:url(#node-metal);stroke:#b8c2d0;stroke-width:1.5}.node circle{fill:url(#node-gold)}.node .node-title{fill:#26374e}.node .node-sub{fill:#65758b}.node .node-date{fill:#7d8795}.node.root rect{fill:url(#root-metal);stroke:#c7a76c}.node.root .node-title{fill:#fff}.node.root .node-sub{fill:#d1d9e4}.node.root .node-date{fill:#bcaa87}.node.selected rect{stroke:#b89049;stroke-width:3}.minimap{background:#fffffff0;border-color:#c7b68e}.graph-count{color:#6c603f}.graph-tip{color:#66758c}.legend-dot{background:#658c9d}.type-출자{background:#b68b44}.type-종속{background:#6b7dc0}.type-거래{background:#936c9e}
.favorite-card{background:linear-gradient(105deg,#fff,#faf8f3);border-color:#e2ddcf;border-left:3px solid #c7a76c}.favorite-title .text-link{color:#614b2b}.event-item{border-color:var(--line)}.comparison th{background:#f3f0e9}.comparison td{background:#fff}.warning{background:#faf2e1;color:#795823;border-color:#e5cf9e}.warning p{color:#795823}.permission-grid>div{background:#f3f2ef;border-top:2px solid #c7a76c}.permission-grid span{color:#737c88}.provider-state{color:#7b602f;background:#f3eddf;border-color:#dfd0af}.mode-controls .secondary{color:#3d4b63}
.report-paper{border-top:3px solid #c7a76c;border-radius:4px;box-shadow:0 15px 40px #101b2e0c}.report-top{border-bottom-color:#ac8748}.report-brand{color:#1d2d45}.report-metadata{background:#f6f3eb}.report-metadata dt{color:#89724c}.report-paper .eyebrow{color:#92713b}.report-end{color:#7b766a}.error{background:#fff8e9}.loading{color:#8d713f}#toast{background:#192a43;color:#f2e8d2;border:1px solid #c7a76c66}
@media(min-width:1650px){.network-layout{grid-template-columns:205px minmax(0,1fr) 290px}}
@media(max-width:1200px){.sidebar{padding:0 25px;gap:20px}.nav-item{padding:15px 8px;font-size:11px;gap:5px}.brand{min-width:160px}.workspace{margin:0;width:100%}.network-layout{grid-template-columns:180px minmax(0,1fr)}.selection-panel{grid-column:1/-1}.hero-copy{width:65%;padding:40px 34px}.hero h1{font-size:38px}.service-grid{gap:10px}.service-card{padding:22px 17px}}
@media(max-width:850px){.sidebar{height:auto;flex-wrap:wrap;gap:0;padding:16px 20px 0}.brand{display:flex;padding:0;margin-bottom:10px}.brand>span:last-child{display:block}.sidebar nav{width:100%;flex:none;justify-content:space-between;overflow-x:auto}.nav-item{font-size:10px;min-height:52px;justify-content:center;padding:10px 10px;gap:6px}.nav-item>span{font-size:inherit}.nav-item b{display:block}.workspace{width:100%;margin:0}.topbar{padding:0 20px;height:49px}main{padding:0 20px 40px}.hero{min-height:420px}.hero h1{font-size:35px}.hero-copy{width:78%;padding:36px 28px}.metric-row{margin:0 10px 23px}.metric-row>div{padding:18px 15px}.metric-row strong{font-size:24px}.metric-row .metric-date{font-size:19px}.service-grid{grid-template-columns:repeat(2,1fr)}.service-subtitle{display:none}.page-heading{padding:26px;min-height:155px}.page-heading h1{font-size:27px}.network-layout{grid-template-columns:1fr}.selection-panel{grid-column:auto}.network{height:450px}#graph-canvas{min-height:450px}}
@media(max-width:520px){.sidebar{display:block;position:sticky;top:0;padding:0;height:auto;box-shadow:0 5px 20px #101b2e12}.brand{display:flex;padding:13px 17px;margin:0;font-size:19px;min-width:0}.brand>span:last-child{display:block}.brand small{font-size:5px}.brandmark,.brandmark svg{width:26px;height:26px}.sidebar nav{height:55px;justify-content:flex-start;border-top:1px solid #ffffff10}.nav-item{min-width:74px;min-height:55px;flex-direction:column;font-size:9px;padding:7px 9px;gap:4px}.nav-item>span{width:17px;height:17px}.nav-item svg{width:17px;height:17px}.nav-item.active{box-shadow:inset 0 -2px #c7a76c}.nav-item b{display:none}.topbar{height:42px;padding:0 14px}main{padding:0 13px 35px}.hero{min-height:407px;border-radius:6px}.hero-copy{width:100%;padding:28px 23px;background:linear-gradient(90deg,#101b2eef,#101b2e88)}.hero h1{font-size:29px;line-height:1.45;letter-spacing:-1px;margin:20px 0 15px}.hero .eyebrow{font-size:7px;letter-spacing:2px}.hero-brand{font-size:12px;gap:8px}.hero-brand>span{font-size:8px}.hero p{font-size:11px}.hero-art{background-position:70% center;opacity:.75}.hero-coordinate{display:none}.hero-links{gap:8px}.hero-links button{padding:10px 12px;font-size:10px}.hero-tag{font-size:8px}.metric-row{grid-template-columns:1fr 1fr;margin:0 7px 20px}.metric-row>div{padding:18px 15px;border-bottom:1px solid #e8e5df}.metric-row>div:nth-child(2){border-right:0}.metric-row span{font-size:9px}.metric-row strong{font-size:23px}.metric-row .metric-date{font-size:20px}.card{padding:19px}.search-workbench{padding:20px 17px}.search-bar>button{width:100%}.page-heading{padding:24px 21px;min-height:164px;gap:14px}.page-heading h1{font-size:25px}.page-heading .eyebrow{font-size:6px;letter-spacing:1.6px}.page-heading p{font-size:10px}.heading-actions button{font-size:10px;padding:8px 11px}.service-section{margin-top:30px}.service-grid{gap:9px}.service-card{padding:20px 14px;min-height:224px}.service-number{right:12px;top:15px;font-size:9px}.service-icon{width:40px;height:40px;margin-bottom:18px}.service-card strong{font-size:13px}.service-card p{font-size:10px}.service-section h2{font-size:17px}.service-section .eyebrow{font-size:7px}.network{height:360px}#graph-canvas{min-height:360px}.permission-grid>div{padding:13px}.report-paper{padding:18px}.company-cover{padding:18px}.company-monogram{width:47px;height:47px}.table-wrap table{min-width:610px}}
@media print{body{background:#fff}.sidebar,.topbar,.page-heading,.service-section{display:none!important}.workspace{margin:0;width:100%}main{padding:0;min-height:0}.report-paper{border:0;border-radius:0;box-shadow:none;padding:0}.report-top{border-bottom-color:#93703a}.report-metadata{background:#f5f3ec}.table-wrap table{min-width:0}.badge{color:#76531f;border-color:#b89963;background:#fff}.report-paper button{display:none}}

.hero-art{background-image:url('/assets/brand-gold-4k.png')}
.report-brand{display:inline-flex;align-items:center;gap:8px}.report-brand svg{width:24px;height:24px;color:#a17c3d}
.node .node-date{fill:#566276}.edge text{fill:#46526a;font-weight:600}.node.root .node-date{fill:#ddcba9}
.recent-companies{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:0 0 22px;font-size:12px}.recent-companies strong{color:#6d562e;margin-right:7px}.recent-companies>span{color:#6c7583}.recent-companies button{font-size:12px;padding:9px 12px}.detail-shortcuts{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:22px}.detail-shortcuts button{font-size:13px}.detail-grid .card,#company-disclosures{scroll-margin-top:160px}
@media(min-width:851px){table{font-size:14px}p{font-size:14px}label,input,select,textarea{font-size:14px}.facts{font-size:14px}.data-meta{font-size:12px}.favorite-title button{font-size:14px}.company-cover p{font-size:14px}}
@media print{.recent-companies,.detail-shortcuts{display:none}}

/* Integration diagnostics reuse the existing cards and palette. */
.integration-provider{padding:18px 0;border-bottom:1px solid var(--line,#ddd6c7)}.integration-provider .facts{margin-bottom:18px}.integration-provider code,.integration-instructions code{overflow-wrap:anywhere;white-space:normal}.integration-instructions{padding:16px 0;border-bottom:1px solid var(--line,#ddd6c7)}.integration-instructions summary{cursor:pointer;font-weight:600;line-height:1.6}.integration-instructions li{margin:12px 0;line-height:1.7}.integration-download{display:inline-block;margin-top:12px;color:#654b22;font-weight:600}.integration-provider h3{margin:0}.integration-provider a{color:#654b22}@media(max-width:600px){.integration-provider .facts{grid-template-columns:1fr}.integration-provider .facts dd{margin:0 0 12px}.integration-provider code{font-size:12px}}
