/* ==========================================================================
   DAYZIP.KR — Unified v3.0 Warm Editorial Override for /tax/ & /home/
   ========================================================================== */
:root {
  --bg: #f6f4ef !important;
  --surface: #ffffff !important;
  --surface-sub: #faf8f4 !important;
  --ink: #1a1815 !important;
  --ink-body: #57524b !important;
  --ink-muted: #8a8378 !important;
  --text: #1a1815 !important;
  --muted: #8a8378 !important;
  --line: rgba(26, 24, 21, 0.09) !important;
  --line-strong: rgba(26, 24, 21, 0.18) !important;
  --border: rgba(26, 24, 21, 0.09) !important;
  --navy: #19171c !important;
  --brand: #1a1815 !important;
  --brand-hover: #302d28 !important;
  --brand-soft: #f1eee7 !important;
}
body {
  background: #f6f4ef !important;
  color: #1a1815 !important;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: -0.015em;
  word-break: keep-all;
}
.container {
  max-width: 1080px !important;
}
.main-wrap {
  padding-top: 12px !important;
}
.dz-unified-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(26, 24, 21, 0.09);
}
.dz-unified-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.dz-u-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none !important;
  flex-shrink: 0;
}
.dz-u-wordmark {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #1a1815;
}
.dz-u-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #bf392b;
  display: inline-block;
  margin-top: 6px;
}
.dz-u-sub {
  font-size: 12px;
  color: #8a8378;
  font-weight: 500;
  padding-left: 8px;
  border-left: 1px solid rgba(26, 24, 21, 0.18);
  margin-left: 2px;
}
.dz-u-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.dz-u-nav::-webkit-scrollbar { display: none; }
.dz-u-nav a {
  text-decoration: none !important;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: #57524b;
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease;
}
.dz-u-nav a:hover {
  background: rgba(26, 24, 21, 0.05);
  color: #1a1815;
}
.dz-u-nav a.is-current {
  background: #1a1815;
  color: #ffffff;
  font-weight: 600;
}
.site-header {
  position: static !important;
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  padding-top: 18px !important;
}
.site-header .header-inner {
  height: auto !important;
  padding-bottom: 4px !important;
}
.site-header .brand { display: none !important; }
.site-header .main-nav {
  width: 100%;
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #ece8df;
  border-radius: 14px;
  overflow-x: auto;
}
.site-header .nav-tab {
  flex: 1;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #57524b !important;
  background: transparent !important;
  white-space: nowrap;
}
.site-header .nav-tab.is-active {
  background: #ffffff !important;
  color: #1a1815 !important;
  box-shadow: 0 1px 4px rgba(26, 24, 21, 0.09) !important;
}
.card {
  border-radius: 22px !important;
  border: 1px solid rgba(26, 24, 21, 0.09) !important;
  box-shadow: 0 2px 12px rgba(26, 24, 21, 0.04) !important;
}
.hero-strip {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 18px 0 12px !important;
}
.hero-strip .badge {
  background: #fceeec !important;
  color: #bf392b !important;
  border: 0 !important;
  font-weight: 600 !important;
}
.kpi-hero {
  background: linear-gradient(155deg, #1d1a21 0%, #141218 100%) !important;
  border-radius: 16px !important;
  border: 1px solid rgba(214, 182, 132, 0.2);
}
.kpi-hero.is-amber {
  background: linear-gradient(155deg, #2d231b 0%, #1d1712 100%) !important;
}
.btn-primary {
  background: #1a1815 !important;
  border-color: #1a1815 !important;
  border-radius: 12px !important;
}
.btn-primary:hover { background: #302d28 !important; }
.btn-outline { border-radius: 12px !important; }
.field select,
.input-unit input {
  background: #f1eee7 !important;
  border: 1.5px solid transparent !important;
  border-radius: 11px !important;
  height: 44px !important;
}
.field select:focus,
.input-unit input:focus {
  background: #ffffff !important;
  border-color: #1a1815 !important;
  box-shadow: 0 0 0 3px rgba(26, 24, 21, 0.07) !important;
}
.qchip {
  border-radius: 9px !important;
  background: #f1eee7 !important;
  border-color: transparent !important;
}
.qchip:hover {
  background: #e5dfd3 !important;
  color: #1a1815 !important;
  border-color: transparent !important;
}
.site-footer {
  background: #efece5 !important;
  border-top: 1px solid rgba(26, 24, 21, 0.09) !important;
}
@media (max-width: 720px) {
  .dz-unified-inner { padding: 0 16px; gap: 10px; }
  .dz-u-sub { display: none; }
  .dz-u-nav a { padding: 6px 9px; font-size: 12.5px; }
  .site-header .nav-tab { padding: 9px 6px !important; font-size: 12px !important; }
  .mode-btn { padding: 8px 6px !important; font-size: 12px !important; }
  .container { padding: 0 16px !important; }
}
