/* 전체 테마: 강철빛 유리 + 캡슐 헤더 (처음 화면·조회 화면 공통) */
body:not(.lp){background:
  radial-gradient(900px 520px at 8% -4%,rgba(255,255,255,.55) 0%,rgba(255,255,255,0) 62%),
  linear-gradient(135deg,#d4dae3 0%,#bcc5d2 45%,#a9b2c1 100%);background-attachment:fixed}
:root{
  --bg:#c4ccd8;
  --glass-bg:linear-gradient(160deg,rgba(255,255,255,.62) 0%,rgba(255,255,255,0) 34%),linear-gradient(135deg,rgba(255,255,255,.72) 0%,rgba(255,255,255,.5) 55%,rgba(255,255,255,.6) 100%);
  --glass-line:rgba(40,52,78,.07);  /* 가장자리는 흰 선 대신 거의 보이지 않는 회색 선 */
  --glass-shadow:0 14px 36px rgba(40,58,90,.16),0 2px 6px rgba(40,58,90,.08);
  --glass-solid:rgba(240,243,248,.97);
}
/* 표 안쪽: 녹색 빛 대신 차가운 유리 */
thead th{background:linear-gradient(180deg,rgba(255,255,255,.7),rgba(206,214,227,.7));color:#101b2e;border-bottom-color:rgba(30,45,75,.55)}
td{border-bottom-color:rgba(30,45,75,.09)}td+td{border-left-color:rgba(30,45,75,.1)}
tr.sec td{border-top-color:rgba(30,45,75,.2)}
tr.tot td{background:rgba(255,255,255,.5);border-top-color:rgba(30,45,75,.4)}
.mx tr.grand td{background:rgba(206,214,227,.6)}.mx tr.grand td.lab{background:rgba(222,228,238,.98)}
.mx td.lab{background:var(--glass-solid)}.mx tr.tot td.lab{background:rgba(236,240,246,.98)}
.tw > table.cards thead th{background:linear-gradient(180deg,rgba(255,255,255,.8),rgba(214,221,232,.9))}

/* 로고: 볼록한 구슬 없이 평평하게 */
.bead{flex:none;display:grid;place-items:center;width:auto;height:auto}
.bead img{width:26px;height:26px;display:block}
.sys{gap:10px}

/* 캡슐 헤더: 가장자리 빛, 아래쪽 반사, 부드러운 그림자 */
.hero-bar .sys .bead,header.top .sys .bead{display:grid}
header.top .wrap,.hero-bar .wrap::before{border-radius:999px}
header.top .wrap{padding:8px 22px 8px 22px;min-height:58px;position:relative;
  background:linear-gradient(180deg,rgba(255,255,255,.64) 0%,rgba(255,255,255,.34) 50%,rgba(255,255,255,.46) 100%);
  border:1px solid rgba(40,52,78,.08);
  -webkit-backdrop-filter:blur(20px) saturate(1.4);backdrop-filter:blur(20px) saturate(1.4);
  box-shadow:0 12px 34px rgba(40,58,90,.18),0 0 0 1px rgba(60,80,115,.10)}
header.top .wrap>.sys,header.top .wrap>.who,header.top .wrap>.link{position:relative;z-index:1}
header.top nav a{color:#27364d}
header.top nav a[aria-current="page"]{color:#0b1524}
.hero-bar .wrap::before{background:linear-gradient(180deg,rgba(255,255,255,.64) 0%,rgba(255,255,255,.34) 50%,rgba(255,255,255,.46) 100%);
  border:1px solid rgba(40,52,78,.08);
  box-shadow:0 12px 34px rgba(40,58,90,.18),0 0 0 1px rgba(60,80,115,.10)}
.hero-bar .wrap{padding-left:calc(max(16px,env(safe-area-inset-left,0px)) + 22px)!important;min-height:74px}
@media (max-width:640px){
  .brand-bar{display:none}
  header.top{background:transparent;border:0;box-shadow:none;padding:10px 10px 0;-webkit-backdrop-filter:none;backdrop-filter:none}
  /* 흐림 효과가 있으면 아래에 고정된 메뉴가 헤더 안으로 올라오므로 휴대폰 헤더에는 쓰지 않는다 */
  header.top .wrap{width:100%;max-width:none;margin:0;padding:6px 18px;min-height:52px;-webkit-backdrop-filter:none;backdrop-filter:none}
  .bead img{width:22px;height:22px}
}

/* 유리 버튼: 알약 모양, 위쪽 얇은 빛 한 줄, 안쪽 아래 옅은 그림자 (보라·하늘색 빛은 쓰지 않는다) */
.btn,.ai-form button{border-radius:999px!important;-webkit-backdrop-filter:blur(12px) saturate(1.4);backdrop-filter:blur(12px) saturate(1.4);
  transition:transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .25s,background .25s,border-color .25s}
/* 화면 안 버튼: 초록 없이 중립 유리 (흰 유리, 회색 가는 테두리, 짙은 글씨). 주요 버튼은 보조 버튼보다 몸통이 조금 더 진하다 */
.btn:not(.btn-glass):not(.btn-ghost):not(.btn-light),.btn-main,.ai-form button{
  color:#101b2e;font-weight:600;text-shadow:none;border:1px solid rgba(40,52,78,.20);
  background:linear-gradient(180deg,rgba(255,255,255,.78) 0%,rgba(255,255,255,.40) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 -1px 2px rgba(60,80,115,.12),0 6px 12px -8px rgba(40,58,90,.34)}
.btn:not(.btn-glass):not(.btn-ghost):not(.btn-light):hover,.btn-main:hover{transform:translateY(-1px);border-color:rgba(40,52,78,.32);
  background:linear-gradient(180deg,rgba(255,255,255,.9) 0%,rgba(255,255,255,.52) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 2px rgba(60,80,115,.14),0 10px 16px -8px rgba(40,58,90,.38)}
.btn:active,.btn-main:active,.ai-form button:active{transform:scale(.97);box-shadow:inset 0 2px 4px rgba(40,58,90,.20)}
/* 맑은 유리(보조 버튼) */
.btn-glass{color:#142033;border:1px solid rgba(60,80,115,.14);
  background:linear-gradient(180deg,rgba(255,255,255,.55) 0%,rgba(255,255,255,.18) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85),inset 0 -1px 2px rgba(90,110,160,.14),0 8px 16px -8px rgba(40,58,90,.26)}
.btn-glass:hover{background:linear-gradient(180deg,rgba(255,255,255,.68),rgba(255,255,255,.26));transform:translateY(-1px)}
/* 로그인 버튼(처음 화면 맨 위, 로그인 화면): 슬레이트 블루 유리 + 흰 글씨. 초록은 쓰지 않는다 */
body.lp .hero-glass .btn-main.btn-main.btn-main,body.login-body .btn-main.btn-main.btn-main{
  background:linear-gradient(180deg,rgba(255,255,255,.3) 0%,rgba(255,255,255,0) 55%),linear-gradient(180deg,rgba(60,84,126,.62),rgba(36,56,96,.56));
  border:1px solid rgba(30,50,90,.5);color:#fff;text-shadow:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 14px 26px -8px rgba(36,56,96,.4)}
body.lp .hero-glass .btn-main.btn-main.btn-main:hover,body.login-body .btn-main.btn-main.btn-main:hover{
  background:linear-gradient(180deg,rgba(255,255,255,.36) 0%,rgba(255,255,255,0) 55%),linear-gradient(180deg,rgba(70,96,142,.7),rgba(42,64,108,.64));
  border-color:rgba(30,50,90,.62);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 18px 30px -8px rgba(36,56,96,.46)}
body.login-body .btn-main{width:100%}

/* 헤더 메뉴: 마우스를 올리면 유리 알약이 항목 사이를 미끄러지듯 따라가고, 누르면 쏙 눌렸다 돌아온다. 스크롤하면 막대가 조금 조여진다 */
.nav-pill{position:absolute;top:50%;left:0;height:34px;margin-top:-17px;border-radius:999px;pointer-events:none;opacity:0;z-index:0;
  background:linear-gradient(180deg,rgba(255,255,255,.85),rgba(255,255,255,.5));box-shadow:0 4px 12px rgba(40,58,90,.14),0 0 0 1px rgba(40,52,78,.05);
  transition:transform .4s cubic-bezier(.22,1,.36,1),width .4s cubic-bezier(.22,1,.36,1),opacity .3s ease}
@media (min-width:641px){
  header.top nav,.hero-bar nav{position:relative}
  header.top nav a,.hero-bar nav a{position:relative;z-index:1;white-space:nowrap;transition:transform .3s cubic-bezier(.34,1.56,.64,1),color .2s}
  header.top nav a:active,.hero-bar nav a:active{transform:scale(.94)}
  header.top .wrap{transition:min-height .45s cubic-bezier(.34,1.56,.64,1),box-shadow .3s}
  header.top.tight .wrap{min-height:48px;box-shadow:0 10px 26px rgba(40,58,90,.2),0 0 0 1px rgba(60,80,115,.12)}
}
@media (max-width:640px){.nav-pill{display:none}}
@media (prefers-reduced-motion:reduce){.nav-pill,header.top .wrap,.btn,header.top nav a{transition:none}}

/* 로그인 화면: 브라우저 기본 여백을 없애 아래 회사 정보 상자가 화면 끝까지 닿게 */
body.login-body{margin:0}

/* 입력칸·선택칸·버튼을 눌렀을 때의 테두리: 초록 대신 슬레이트 블루 */
button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid rgba(60,84,126,.75);outline-offset:1px}
.toolbar .f > select:focus-visible,.toolbar .f > input:focus{outline:none;border-color:rgba(60,84,126,.7);box-shadow:0 6px 16px rgba(20,30,50,.10),0 0 0 3px rgba(60,84,126,.16)}
input:focus,select:focus,textarea:focus{border-color:rgba(60,84,126,.7)}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:none;border-color:rgba(60,84,126,.7);box-shadow:0 0 0 3px rgba(60,84,126,.16)}

/* 7. 로그인 버튼 위로 빛이 한 번 스쳐 지나간다 (로그인 버튼에만) */
body.lp .hero-glass .btn-main,body.login-body .btn-main{position:relative;overflow:hidden}
body.lp .hero-glass .btn-main::after,body.login-body .btn-main::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;pointer-events:none;
  background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.5),rgba(255,255,255,0));transform:skewX(-18deg)}
body.lp .hero-glass .btn-main:hover::after,body.login-body .btn-main:hover::after{animation:gbsweep .9s ease-out}
@keyframes gbsweep{to{left:130%}}
@media (prefers-reduced-motion:reduce){body.lp .hero-glass .btn-main::after,body.login-body .btn-main::after{display:none}}

/* 안쪽 탭 (보고·증빙: 업무 보고 | 선입선출 수불부): 흰 유리 알약이 탭 사이를 탄력 있게 옮겨 간다 (static/seg.js) */
.seg{position:relative;display:flex;width:max-content;max-width:100%;gap:2px;padding:4px;margin:2px 0 14px;border-radius:999px;background:rgba(40,56,86,.11);box-shadow:inset 0 1px 2px rgba(40,56,86,.12)}
.seg a{position:relative;z-index:1;padding:8px 22px;border-radius:999px;color:#5b6b82;font-weight:500;text-decoration:none;white-space:nowrap;transition:color .25s,transform .3s cubic-bezier(.34,1.56,.64,1)}
.seg a[aria-current=page]{color:#101b2e;font-weight:700}
.seg a:active{transform:scale(.94)}
nav.seg a,nav.seg a[aria-current=page]{border:0;border-bottom:0}   /* 다른 메뉴의 초록 밑줄은 쓰지 않는다 */
.seg-pill{position:absolute;top:4px;bottom:4px;left:0;z-index:0;border-radius:999px;pointer-events:none;
  background:linear-gradient(180deg,#fff,rgba(255,255,255,.78));box-shadow:0 3px 10px rgba(40,58,90,.2),0 0 0 1px rgba(40,52,78,.08);
  transition:transform .46s cubic-bezier(.34,1.56,.64,1),width .46s cubic-bezier(.34,1.56,.64,1)}
@media (prefers-reduced-motion:reduce){.seg a,.seg-pill{transition:none}}

/* 업로드 칸에 파일을 끌어다 놓을 때: 칸이 살짝 밝아지고 얇은 선이 생긴다 */
.drop{transition:box-shadow .2s,background .2s}
.drop.over{background:rgba(255,255,255,.72);box-shadow:0 0 0 2px rgba(40,56,86,.38),0 8px 22px rgba(40,58,90,.16)}
@media (prefers-reduced-motion:reduce){.drop{transition:none}}

/* 날짜 칸: 브라우저 기본 글꼴 대신 다른 칸(선택 칸·검색 칸)과 같은 글꼴·굵기로, 달력 아이콘은 옅게 */
.toolbar .f > input[type=date]{font-family:inherit;font-size:14px;font-weight:600;color:var(--fg);font-variant-numeric:tabular-nums;letter-spacing:0;min-width:150px;color-scheme:light}
.toolbar .f > input[type=date]::-webkit-datetime-edit,.toolbar .f > input[type=date]::-webkit-datetime-edit-year-field,
.toolbar .f > input[type=date]::-webkit-datetime-edit-month-field,.toolbar .f > input[type=date]::-webkit-datetime-edit-day-field{font-family:inherit;padding:0 1px}
.toolbar .f > input[type=date]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer;margin-left:8px;transition:opacity .2s}
.toolbar .f > input[type=date]::-webkit-calendar-picker-indicator:hover{opacity:.9}

/* 속도: 스크롤해도 뒤에 아무것도 지나가지 않는 면(카드·표·입력 칸·버튼)은 '뒤 흐림'을 끈다.
   바탕이 완만한 그라데이션이라 눈에 거의 띄지 않고, 흐림을 쓰는 면이 많으면 스크롤이 끊긴다.
   위 메뉴 막대, 떠 있는 시장 지표·뉴스 카드, 대화 창은 뒤로 내용이 지나가므로 그대로 둔다. */
.tw,.panel,.heads,.card2,.fcard,.drop,.login-card,.site-footer,.filters,.dataview,.kc2,.quick a,
.toolbar .f > select,.toolbar .f > input,.toolbar .f-range .rng,.btn,.ai-form button,.seg{-webkit-backdrop-filter:none;backdrop-filter:none}
/* 위 메뉴 막대가 조여질 때 아래 화면이 밀려 전체를 다시 계산하지 않게 막대 자리 높이를 고정하고 안쪽만 바뀌게 한다 */
@media (min-width:1000px){header.top{height:70px;contain:layout}}
