/* Shared UI type. Font slices are hosted with the app; no third-party requests. */
:root{--font-sans:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;font-family:var(--font-sans);font-synthesis:none}
body{font-family:var(--font-sans);font-weight:400;letter-spacing:-.012em;line-height:1.5}
button,input,select,textarea{font-family:var(--font-sans)}
#app :is(h1,h2,h3,h4){font-weight:700;letter-spacing:-.025em;word-break:keep-all;overflow-wrap:break-word}
#app th{font-weight:600;letter-spacing:-.01em}
#app button{font-family:var(--font-sans);font-weight:600}
#app :is(.ab-dashboard,.ab-explorer,.mi,.support-calendar-heading h2,.calendar-weekdays span){font-family:var(--font-sans)}
#app :is(.result-card,.support-card,.ceo-kpi,.sb-kpi-value) strong{font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.03em}
#app :is(.sb-text-button,.sb-section-head h3,.mobile-person-head b){font-weight:600}
#app :is(.mobile-page-heading strong,.mega-link b){font-weight:650}
#app :is(.sb-note,.sb-kpi-period,.hint){letter-spacing:0}
#app .sb-section{border-radius:14px}
#app .sb-table th{font-weight:500;letter-spacing:0}
#app .sb-table td{font-variant-numeric:tabular-nums}
#app .sb-kpi-label{font-weight:600}
#app .sb-section-head{gap:12px}
#app .sb-kpi-period span{display:block}
#app .plan-type-matrix :is(th,td){height:calc(44px * var(--font-scale,1));line-height:1.25}
@media(max-width:599px){
  #app .mobile-page-heading strong{font-size:calc(17px * var(--font-scale,1));line-height:1.2;letter-spacing:-.025em}
  #app .mobile-page-heading small{letter-spacing:.04em;font-weight:500}
  #app .sales-briefing .sb-heading{background:transparent;padding-bottom:12px}
  #app .sales-briefing .sb-section{margin:14px 12px;padding:18px 14px;border:1px solid var(--sb-line);border-radius:14px}
  #app .sales-briefing .sb-section h3{font-size:calc(17px * var(--font-scale,1))}
  #app .sb-table th:first-child{width:42%}
  #app .sb-table th,#app .sb-table td{padding-left:4px;padding-right:4px;word-break:keep-all;overflow-wrap:break-word}
  #app .sb-table th:not(:first-child),#app .sb-table td:not(:first-child){white-space:nowrap}
  #panel .result-cards{border-radius:14px}
  #panel .result-cards>.result-card:first-child{position:relative;padding:20px!important;background:var(--ui-surface,#fff)!important}
  #panel .result-cards>.result-card:first-child::before{content:"";position:absolute;top:18px;right:18px;width:24px;height:24px;background:url('/icons/calculator.svg') center/20px no-repeat;opacity:.45;pointer-events:none}
  #panel .result-cards>.result-card:first-child>span{padding-right:36px;font-weight:500!important;font-size:calc(12px * var(--font-scale,1))!important}
  #panel .result-cards>.result-card:first-child strong{font-size:calc(29px * var(--font-scale,1))!important;line-height:1.25;font-weight:700;letter-spacing:-.035em;margin:8px 0}
  #panel .result-cards>.result-card:not(:first-child){padding:14px 16px!important}
  #panel .result-cards>.result-card:not(:first-child)>span{font-size:calc(12px * var(--font-scale,1))!important;font-weight:500!important}
  #panel .result-cards>.result-card:not(:first-child) strong{font-size:calc(21px * var(--font-scale,1))!important;font-weight:650}
  #app .mobile-person-card{border:1px solid var(--ui-line,#dce5ed)!important;border-radius:12px!important;padding:14px!important}
  #app .mobile-result-list>header{display:flex!important;flex-direction:row!important;justify-content:space-between;align-items:center;gap:12px;min-height:0!important;height:auto;padding:4px 2px!important;background:transparent!important;border:0;box-shadow:none!important;text-align:left}
  #app .mobile-result-list>header h3{display:flex;align-items:center;gap:8px;margin:0;font-size:calc(16px * var(--font-scale,1));line-height:1.4}
  #app .mobile-result-list>header h3::before{content:"";width:18px;height:18px;background:url('/icons/bar-chart.svg') center/contain no-repeat;opacity:.6;flex-shrink:0}
  #app .mobile-result-list>header small{padding:3px 8px;border-radius:6px;background:var(--ui-surface,#fff);color:var(--ui-text-muted,#60758a);font-size:calc(11px * var(--font-scale,1))}
  html:is([data-theme="dark"],[data-theme="meeting"]) #panel .result-cards>.result-card:first-child::before{filter:invert(1)}
  html:is([data-theme="dark"],[data-theme="meeting"]) #app .mobile-result-list>header h3::before{filter:invert(1)}
  #app .phone-fold,#app .phone-filter-row .mobile-filter-trigger,#app .phone-sales-search input,#app .phone-sales-search button{border-radius:10px!important}
  #app .phone-view-switch{border-radius:10px}
  #app .tablebox td::before{font-weight:500}
}
@media(prefers-reduced-motion:reduce){button,input,select,textarea{transition:none}}
