/* ASGG main workspace v2 - editorial light (scoped to body.asgg-entry-active) */
body.asgg-entry-active{background:#f7f6f3 !important;}
body.asgg-entry-active .container{background:transparent !important;}
body.asgg-entry-active .entry-topbar{background:#f7f6f3 !important;border-bottom:1px solid #e3e0d8 !important;box-shadow:none !important;}
body.asgg-entry-active .entry-brand-text, body.asgg-entry-active .entry-brand-text *{color:#1a1a18 !important;-webkit-text-fill-color:#1a1a18 !important;}
body.asgg-entry-active .entry-brand-mark{background:#1a1a18 !important;border-color:#1a1a18 !important;}
body.asgg-entry-active .entry-brand-mark span{color:#f7f6f3 !important;}
body.asgg-entry-active .entry-google-btn, body.asgg-entry-active .entry-google-btn *{background:transparent !important;border-color:#d8d5cb !important;color:#8a887f !important;box-shadow:none !important;}
body.asgg-entry-active .entry-google-btn{border:1px solid #d8d5cb !important;}
body.asgg-entry-active .entry-login-btn{background:#1a1a18 !important;color:#f7f6f3 !important;border-color:#1a1a18 !important;box-shadow:none !important;}
body.asgg-entry-active .entry-gateway, body.asgg-entry-active .entry-shell{background:transparent !important;}
body.asgg-entry-active .entry-hero{background:transparent !important;border:none !important;box-shadow:none !important;padding:34px 4px 26px !important;}
body.asgg-entry-active .entry-hero, body.asgg-entry-active .entry-hero *{color:#55534c;}
body.asgg-entry-active .entry-hero h1, body.asgg-entry-active .entry-hero h2, body.asgg-entry-active .entry-hero strong{color:#1a1a18 !important;}
body.asgg-entry-active .entry-hero h1{font-size:40px !important;letter-spacing:-0.5px !important;}
body.asgg-entry-active .entry-hero p{color:#8a887f !important;}
body.asgg-entry-active .entry-kicker{color:#a09e94 !important;letter-spacing:3px !important;}
body.asgg-entry-active .entry-system-panel{background:transparent !important;}
body.asgg-entry-active .entry-system-panel > *{background:transparent !important;border:1px solid #e3e0d8 !important;box-shadow:none !important;}
body.asgg-entry-active .entry-system-panel b, body.asgg-entry-active .entry-system-panel strong{color:#1a1a18 !important;}
body.asgg-entry-active .entry-section-head, body.asgg-entry-active .entry-section-head *{color:#8a887f !important;}
body.asgg-entry-active .entry-section-head h2{color:#1a1a18 !important;}
body.asgg-entry-active .entry-section-head{border-top:1px solid #e3e0d8;padding-top:18px;}
body.asgg-entry-active .entry-grid{display:block !important;}
body.asgg-entry-active .entry-card{display:flex !important;align-items:baseline !important;gap:18px !important;width:100% !important;background:transparent !important;border:none !important;border-top:1px solid #e3e0d8 !important;border-radius:0 !important;padding:18px 4px !important;box-shadow:none !important;text-align:left !important;transition:padding-left .3s cubic-bezier(.19,1,.22,1), background .3s !important;cursor:pointer;min-height:0 !important;height:auto !important;}
body.asgg-entry-active .entry-card:hover{padding-left:16px !important;background:#efede7 !important;}
body.asgg-entry-active .entry-card:last-child{border-bottom:1px solid #e3e0d8 !important;}
body.asgg-entry-active .entry-card *{min-height:0 !important;}
body.asgg-entry-active .entry-card-top{flex:0 0 26px;}
body.asgg-entry-active .entry-module-code{color:#a09e94 !important;font-size:11px !important;background:transparent !important;border:none !important;}
body.asgg-entry-active .entry-card-body{flex:1 1 auto;display:flex !important;align-items:baseline;gap:16px;min-width:0;}
body.asgg-entry-active .entry-module-lockup{display:flex;align-items:baseline;gap:12px;white-space:nowrap;}
body.asgg-entry-active .entry-card .entry-module-lockup strong, body.asgg-entry-active .entry-card strong{font-size:19px !important;color:#3a3934 !important;-webkit-text-fill-color:#3a3934 !important;background:none !important;font-weight:600;transition:color .3s;}
body.asgg-entry-active .entry-card:hover strong{color:#1a1a18 !important;-webkit-text-fill-color:#1a1a18 !important;}
body.asgg-entry-active .entry-module-lockup small{font-size:9px !important;letter-spacing:2px !important;color:#a09e94 !important;}
body.asgg-entry-active .entry-card-body p{margin:0 !important;font-size:11px !important;color:#8a887f !important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.asgg-entry-active .entry-stat-row{display:flex;gap:14px;white-space:nowrap;border:none !important;padding:0 !important;background:transparent !important;}
body.asgg-entry-active .entry-stat{color:#8a887f !important;font-size:11px !important;background:transparent !important;border:none !important;}
body.asgg-entry-active .entry-stat b{color:#1a1a18 !important;border-bottom:none !important;text-decoration:none !important;}
body.asgg-entry-active .entry-dot{background:#b5b3a8 !important;}
body.asgg-entry-active .entry-stat.danger .entry-dot{background:#b91c1c !important;}
body.asgg-entry-active .entry-card-foot{display:flex;gap:12px;align-items:baseline;white-space:nowrap;color:#a09e94 !important;font-size:10px !important;}
body.asgg-entry-active .entry-card-foot *{color:#a09e94 !important;}
body.asgg-entry-active .entry-arrow{color:#1a1a18 !important;font-size:14px !important;}
body.asgg-entry-active .entry-bottom-strip{background:transparent !important;border:none !important;border-top:1px solid #e3e0d8 !important;border-radius:0 !important;box-shadow:none !important;}
body.asgg-entry-active .entry-bottom-strip *{color:#8a887f !important;background:transparent !important;}
body.asgg-entry-active .entry-bottom-strip b, body.asgg-entry-active .entry-bottom-strip strong{color:#1a1a18 !important;font-size:18px !important;}
body.asgg-entry-active .entry-system-foot, body.asgg-entry-active .entry-system-foot *{color:#a09e94 !important;}

/* ===== 전역 폰트 Pretendard 통일 (2026-07-16) =====
   메인 앱 전체를 Pretendard로 통일. 기존 Geist(기본)·Georgia(로고)·Inter(입구)를
   대체하며, 명시도(specificity)를 높여 로드 순서와 무관하게 우선 적용된다.
   아이콘은 SVG라 영향 없음. 되돌리려면 이 블록만 삭제. */
html body,
html body button, html body input, html body select, html body textarea, html body optgroup {
  font-family: 'Pretendard', 'Apple SD Gothic Neo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
/* Inter를 쓰던 입구 게이트웨이(#view-entry, id 선택자보다 높게) */
html #view-entry, html #view-entry * {
  font-family: 'Pretendard', 'Apple SD Gothic Neo', sans-serif !important;
}


/* 대시보드 무드를 입구 "메인" 에디토리얼(따뜻한 오프화이트·얇은 선·플랫)로 정렬.
   차가운 청회색(#E5EAF2)·그림자·과한 둥근 모서리를 입구 톤(#e3e0d8)으로 맞춤.
   되돌리려면 이 블록만 삭제. */
#view-dashboard { background: #f7f6f3 !important; }
#view-dashboard .dash-pane { background: #fff !important; border: 1px solid #e3e0d8 !important; border-radius: 12px !important; box-shadow: none !important; }
#view-dashboard .dash-filterbar { background: #faf9f6 !important; border: 1px solid #e3e0d8 !important; border-radius: 10px !important; box-shadow: none !important; }
#view-dashboard .dash-table-shell { background: #fff !important; border: 1px solid #e3e0d8 !important; border-radius: 10px !important; box-shadow: none !important; }
#view-dashboard .dash-insight-project-card { background: #fff !important; border: 1px solid #e3e0d8 !important; border-radius: 10px !important; box-shadow: none !important; }
#view-dashboard [style*="229, 234, 242"] { border-color: #e3e0d8 !important; }
#view-dashboard [class*="chip"], #view-dashboard [class*="count"] { border-color: #e3e0d8 !important; }
#view-dashboard thead, #view-dashboard [class*="table-head"] { background: #faf9f6 !important; border-color: #e3e0d8 !important; }

/* 숫자/금액·라벨의 등폭(JetBrains Mono)도 Pretendard로 통일.
   각 선택자에 html body 접두를 붙여 명시도로 이김. Google 로그인 버튼은 제외(구글 공식 버튼). */
html body .mono-font,
html body .dash-value,
html body .quote-total-value,
html body .expense-stat-value,
html body #view-dashboard .dash-chip-value,
html body #cv-total,
html body #float-total,
html body #library-float-total,
html body .detail-cat-total-pill,
html body .detail-summary-chip b,
html body .detail-qty-main,
html body .detail-money-value,
html body .detail-cost-amt,
html body .float-value,
html body .float-value-strong,
html body .step2-stat-card strong,
html body #view-workspace #tab-3 .detail-section-total-chip b,
html body #view-workspace #tab-3 .detail-grand-total-chip b,
html body #estimate-structure-md-modal .estimate-structure-md-input,
html body #view-workspace #tab-0 .contract-negotiation-formula strong,
html body .contract-desk-kicker,
html body .setup-kpi-label,
html body .contract-panel-badge,
html body .expense-command-kicker,
html body .mono-sm-danger,
html body .mono-sm-accent {
  font-family: 'Pretendard', 'Apple SD Gothic Neo', sans-serif !important;
}

/* 입구(메인) 상단 바 전체 숨김 — 로고(UNDG)·Google 접속 버튼·현장리스트 버튼 모두 제거 요청.
   히어로("ASGG")가 위로 올라옴. 대시보드 진입은 아래 "01 현장리스트" 모듈 카드로 가능.
   되돌리려면 이 규칙만 삭제. */
#view-entry .entry-topbar {
  display: none !important;
}

/* 로그아웃 표시를 디자인에 맞춤 — danger(빨강/분홍) → 담백한 고스트 버튼(입구 무드).
   로그인 상태 텍스트도 muted 톤으로 정렬. */
.asgg-auth-mini-btn.danger {
  color: #55534c !important;
  background: #faf9f6 !important;
  border: 1px solid #e3e0d8 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}
.asgg-auth-mini-btn.danger:hover {
  background: #f1ede7 !important;
  border-color: #d8d5cb !important;
  color: #1a1a18 !important;
}
.asgg-auth-user, #asgg-auth-user-label {
  color: #8a887f !important;
}

/* ASGG FLOW 탭 숨김 — 상단 내비 + 숨겨진 메뉴 항목 모두.
   기존 .top-navbar.asgg-topbar .top-nav-link 규칙(!important)보다 구체성을 높임.
   되돌리려면 이 블록만 삭제. */
html body .top-navbar.asgg-topbar .top-nav-link[onclick*="dash-flow"],
html body .global-dashboard-tabs .top-nav-link[onclick*="dash-flow"],
html body .dash-tabs button[onclick*="dash-flow"],
html body button[onclick*="dash-flow"] {
  display: none !important;
}

/* Proposal Builder 모듈 숨김 — 대시보드 모듈 카드 + 입구 카드.
   되돌리려면 이 블록만 삭제. */
html body a.asgg-public-module-card[data-public-tool="proposal-builder"],
html body a.entry-card.proposal-builder {
  display: none !important;
}
