@font-face{font-family:'KAC Round';src:url('./fonts/NanumSquareRoundR.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'KAC Round';src:url('./fonts/NanumSquareRoundB.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:'KAC Sans';src:url('./fonts/PretendardVariable.woff2') format('woff2');font-style:normal;font-weight:45 920;font-display:swap}
body{font-family:'KAC Sans','Malgun Gothic',sans-serif;letter-spacing:-.01em}
button,input,select,textarea{font-family:inherit}
.heading h1,#companyListView .company-list-heading h1,#companyListView .company-name-link{font-weight:700;letter-spacing:-.02em}
#companyListView .company-region-chip:not(:disabled){border-bottom:2px solid #c5d4e3;box-shadow:0 2px 3px #304b6810}
#companyListView .company-region-chip:not(:disabled):active{box-shadow:none;transform:translateY(1px)}
#companyListView .company-region-chip:disabled{box-shadow:none}
@media(prefers-reduced-motion:reduce){#companyListView .company-region-chip:not(:disabled):active{transform:none}}

.company-kind-badge{color:#202124;font-weight:400;border:1px solid #dde3df;border-bottom-width:2px;box-shadow:0 2px 3px #243b2910}
.company-kind-corporate{background:linear-gradient(#f5fcf7,#e3f2e9);border-color:#c7ddcf}
.company-kind-personal{background:linear-gradient(#fffcf3,#faefd4);border-color:#e5d6ad}
.company-kind-unknown{background:linear-gradient(#fafbfc,#edf0f3);border-color:#dce1e6}

#companyListView .company-name-link{color:#202124}
#companyListView .company-name-corporate,#companyListView .company-name-corporate:hover{background:linear-gradient(#f5fcf7,#e3f2e9);border-color:#c7ddcf}
#companyListView .company-name-personal,#companyListView .company-name-personal:hover{background:linear-gradient(#fffcf3,#faefd4);border-color:#e5d6ad}
#companyListView .company-name-unknown,#companyListView .company-name-unknown:hover{background:linear-gradient(#fafbfc,#edf0f3);border-color:#dce1e6}
@media(hover:hover){#companyListView .company-name-link:hover{color:#202124;filter:brightness(.98)}}

@media(min-width:761px){#companyListView .company-name-link{font-size:calc(15px * var(--ui-scale))}}
@media(max-width:760px){#companyListView .company-name-link{font-size:calc(16px * var(--ui-scale))}}

#companyListView #contractDashboard>h2{font-size:calc(14px * var(--ui-scale));font-weight:700;line-height:1.5;margin-bottom:8px}
#companyListView .contract-counts button span,#companyListView .company-list-filters label,#companyListView .company-list-scroll th{font-size:calc(13px * var(--ui-scale));line-height:1.5}
#companyListView .company-list-scroll th{font-weight:700;color:#40566a}

#companyListView #contractDashboard>h2{display:none}

#companyListView .company-list-toolbar>div:first-child{display:none}

#companyListView .company-name-link{font-weight:600}

#companyListView #contractDashboard{background:transparent!important;border:0!important;box-shadow:none!important}

#companyView .co-tabs{position:sticky;top:8px;z-index:12;align-self:start;background:#fff;box-shadow:0 3px 10px #243b4a10}
@media(max-width:760px){#companyView .co-tabs{top:6px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}#companyView .co-tabs button{flex:0 0 auto;white-space:nowrap}}
@media print{#companyView .co-tabs{position:static;box-shadow:none}}

.app>.side{position:sticky;top:0;z-index:40}
main>.top{position:sticky;top:var(--crm-menu-height,71px);z-index:30;background:#fff}
#companyView .co-tabs{top:calc(var(--crm-menu-height,71px) + var(--crm-tools-height,65px) + 8px)}
@media(min-width:761px){#companyView .company-summary{top:calc(var(--crm-menu-height,71px) + var(--crm-tools-height,65px) + 18px)}}
html{scroll-padding-top:calc(var(--crm-menu-height,71px) + var(--crm-tools-height,65px) + 80px)}
@media print{.app>.side,main>.top,#companyView .co-tabs{position:static}#companyView .company-summary{position:static}}

@media(min-width:761px){
 #companyView .company-summary{height:calc(100dvh - var(--crm-menu-height,71px) - var(--crm-tools-height,65px) - 26px);display:flex;flex-direction:column;overflow:hidden;align-self:start}
 #companyView .company-summary-information{flex:0 1 auto;min-height:0;max-height:calc(100% - 150px);overflow-y:auto}
 #companyView .company-summary>.company-menu{flex:1 1 auto;min-height:130px;overflow-y:auto;overscroll-behavior-y:contain;margin-top:12px;padding-top:10px;border-top:1px solid #e1e8ee;scrollbar-width:thin}
}
@media print{#companyView .company-summary{height:auto;display:block;overflow:visible}#companyView .company-summary-information,#companyView .company-summary>.company-menu{max-height:none;overflow:visible}}
/* Fixed desktop workspace; only its content panes scroll. */
.company-detail-scroll{display:grid;gap:17px;align-content:start;min-width:0}
#companyView.co-summary-mode .company-detail-scroll>.prototype-warning,#companyView.co-summary-mode .company-detail-scroll>.progress-map{display:none}
@media(min-width:761px){
 .nav-group-tabs{gap:10px}
 body:has(#companyView:not(.hidden)){overflow:hidden}
 #companyView:not(.hidden){box-sizing:border-box;height:calc(100dvh - var(--crm-ribbon-height,0px) - var(--crm-menu-height,71px) - var(--crm-tools-height,65px));display:flex;flex-direction:column;padding-bottom:18px;overflow:hidden}
 #companyView>.heading{flex:0 0 auto}
 #companyView>.workspace-grid{flex:1 1 auto;min-height:0;overflow:hidden}
 #companyView .company-summary{position:static;height:100%;min-height:0;box-sizing:border-box;align-self:stretch}
 #companyView .detail-stack{display:flex;flex-direction:column;align-self:stretch;height:100%;min-height:0;gap:17px;overflow:hidden}
 #companyView .co-tabs{position:static;flex:0 0 auto;margin:0}
 #companyView .company-detail-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;padding-right:3px}
}
@media print{
 body:has(#companyView:not(.hidden)){overflow:visible}
 #companyView:not(.hidden){height:auto;display:block;overflow:visible}
 #companyView>.workspace-grid,#companyView .detail-stack{height:auto;overflow:visible;display:grid}
 #companyView .company-detail-scroll{overflow:visible;display:grid}
}
@media(min-width:761px){
 body:has(#companyView:not(.hidden)) .app{min-height:0}
 #companyView .company-summary-information{flex:0 0 auto}
}
.financial-document-intake{padding:20px;border:1px solid #dce6ed;border-radius:14px;background:#f8fafc;margin:16px 0}.financial-document-intake h3{margin:0 0 8px}.financial-document-intake p{font-size:13px;color:#526474;line-height:1.6}.financial-import-method{display:flex;flex-wrap:wrap;gap:24px;margin:18px 0}.financial-import-method label{display:flex;align-items:center;gap:8px}.financial-document-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #e1e8ee}.financial-document-row small{display:block;margin-top:6px;color:#617489}.financial-document-row button{flex-shrink:0}@media(max-width:760px){.financial-document-intake{padding:14px}.financial-document-row{align-items:flex-start;flex-wrap:wrap}}
#companyView .asset-simple-grid{grid-template-columns:minmax(130px,1fr) minmax(200px,2fr) minmax(160px,1fr);gap:14px}#companyView .asset-simple-grid>.hidden{display:none!important}@media(max-width:760px){#companyView .asset-simple-grid{grid-template-columns:1fr}}
