
:root {
  --ink: #1f2523;
  --ink-soft: #66706d;
  --brand: #c65f37;
  --brand-dark: #994325;
  --brand-soft: #fff0e8;
  --green: #2f6959;
  --green-soft: #e9f4ef;
  --blue: #356d98;
  --blue-soft: #eaf3fa;
  --yellow: #e2a941;
  --yellow-soft: #fff7df;
  --danger: #c14848;
  --danger-soft: #fff0f0;
  --line: #e7e5df;
  --line-dark: #d7d3ca;
  --paper: #ffffff;
  --canvas: #f6f5f1;
  --canvas-deep: #efede6;
  --shadow-sm: 0 4px 18px rgba(31, 37, 35, 0.06);
  --shadow-md: 0 12px 36px rgba(31, 37, 35, 0.10);
  --shadow-lg: 0 24px 64px rgba(31, 37, 35, 0.16);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--canvas);
  font-family: 'Noto Sans KR', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }

.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.section { padding: 56px 0; }
.section-sm { padding: 34px 0; }
.page-shell { min-height: calc(100vh - 156px); padding: 30px 0 64px; }
.page-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.page-title-row h1 { margin: 0; font-size: clamp(26px, 4vw, 38px); line-height: 1.22; letter-spacing: -0.04em; }
.page-title-row p { margin: 8px 0 0; color: var(--ink-soft); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; }
.muted { color: var(--ink-soft); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.text-brand { color: var(--brand); }
.text-green { color: var(--green); }
.text-danger { color: var(--danger); }
.text-right { text-align: right; }
.hide { display: none !important; }

.topbar { background: var(--ink); color: #fff; font-size: 12px; }
.topbar .container { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.topbar strong { color: #ffcfb6; }
.topbar-links { display: flex; gap: 16px; color: rgba(255,255,255,.72); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(231,229,223,.9);
}
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; overflow: hidden; box-shadow: var(--shadow-sm); }
.brand-text { font-weight: 900; font-size: 20px; letter-spacing: -0.04em; }
.brand-text small { display: block; margin-top: -4px; font-size: 9px; font-weight: 700; letter-spacing: .12em; color: var(--ink-soft); }
.desktop-nav { display: flex; align-items: center; gap: 6px; }
.desktop-nav a { padding: 11px 14px; border-radius: 10px; font-weight: 700; color: #4f5754; transition: .2s; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--brand); background: var(--brand-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-search { position: relative; width: 280px; }
.header-search input { width: 100%; height: 42px; padding: 0 42px 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); outline: none; }
.header-search input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(198,95,55,.10); }
.header-search button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; cursor: pointer; }
.icon-btn { position: relative; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: inline-grid; place-items: center; cursor: pointer; transition: .2s; }
.icon-btn:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.icon-btn .badge { position: absolute; right: -4px; top: -5px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border-radius: 999px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 800; border: 2px solid #fff; }
.profile-chip { display: flex; align-items: center; gap: 9px; padding: 5px 8px 5px 5px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.profile-chip .avatar { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 800; font-size: 12px; }
.profile-chip strong { font-size: 13px; }
.profile-chip small { display: block; color: var(--ink-soft); font-size: 10px; }
.mobile-menu-btn { display: none; }

.mobile-drawer { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.mobile-drawer .backdrop { position: absolute; inset: 0; background: rgba(20,24,23,.45); opacity: 0; transition: .25s; }
.mobile-drawer .drawer-panel { position: absolute; top: 0; right: 0; width: min(86vw, 360px); height: 100%; background: #fff; transform: translateX(100%); transition: .25s; padding: 24px; box-shadow: var(--shadow-lg); }
.mobile-drawer.open { pointer-events: auto; }
.mobile-drawer.open .backdrop { opacity: 1; }
.mobile-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.drawer-profile { padding: 18px; border-radius: 18px; background: var(--canvas); margin-bottom: 18px; }
.drawer-nav { display: grid; gap: 7px; }
.drawer-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px; font-weight: 700; }
.drawer-nav a.active, .drawer-nav a:hover { background: var(--brand-soft); color: var(--brand); }
.drawer-footer { position: absolute; left: 24px; right: 24px; bottom: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.mobile-bottom-nav { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; min-height: 66px; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 7px max(12px, env(safe-area-inset-right)) max(7px, env(safe-area-inset-bottom)); }
.mobile-bottom-nav a { flex: 1; text-align: center; font-size: 10px; color: var(--ink-soft); }
.mobile-bottom-nav a span { width: 34px; height: 31px; margin: 0 auto 1px; display: grid; place-items: center; border-radius: 10px; }
.mobile-bottom-nav a.active { color: var(--brand); font-weight: 800; }
.mobile-bottom-nav a.active span { background: var(--brand-soft); }

.hero { padding: 48px 0 26px; }
.hero-grid { display: grid; grid-template-columns: 1.22fr .78fr; gap: 24px; }
.hero-main { min-height: 430px; padding: 48px; position: relative; overflow: hidden; border-radius: var(--radius-xl); color: #fff; background: linear-gradient(135deg, #26332f 0%, #29483e 55%, #1f2f2a 100%); box-shadow: var(--shadow-md); }
.hero-main::before { content: ''; position: absolute; right: -70px; bottom: -80px; width: 430px; height: 430px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.16), rgba(255,255,255,.02) 58%, transparent 60%); }
.hero-main::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(to left, #000, transparent 75%); }
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.hero-copy .eyebrow { color: #ffb99b; }
.hero-copy h1 { margin: 18px 0 16px; font-size: clamp(36px, 5.6vw, 62px); line-height: 1.14; letter-spacing: -0.055em; }
.hero-copy p { margin: 0 0 28px; color: rgba(255,255,255,.74); font-size: 17px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-stats { position: absolute; left: 48px; right: 48px; bottom: 34px; display: flex; gap: 30px; z-index: 2; }
.hero-stats strong { display: block; font-size: 20px; }
.hero-stats span { font-size: 12px; color: rgba(255,255,255,.6); }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.hero-card { min-height: 200px; border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.hero-card.accent { background: linear-gradient(145deg, #fff4ed, #ffe5d6); border-color: #ffd7c2; }
.hero-card.green { background: linear-gradient(145deg, #eef7f2, #dfeee7); border-color: #d4e9dd; }
.hero-card h3 { margin: 9px 0 6px; font-size: 23px; letter-spacing: -0.04em; }
.hero-card p { margin: 0 0 18px; color: var(--ink-soft); }
.hero-card .card-icon { position: absolute; right: 20px; bottom: 18px; font-size: 76px; opacity: .12; }

.btn { min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; cursor: pointer; transition: .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(198,95,55,.20); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0e1211; }
.btn-light { background: #fff; border-color: var(--line); }
.btn-light:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.24); color: #fff; }
.btn-soft { background: var(--brand-soft); color: var(--brand); }
.btn-green { background: var(--green); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { min-height: 36px; padding: 0 13px; border-radius: 10px; font-size: 13px; }
.btn-lg { min-height: 52px; padding: 0 24px; border-radius: 14px; }
.btn-block { width: 100%; }

.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.support-quick-grid { grid-template-columns: repeat(4, 1fr); }
.quick-item { padding: 20px 12px; text-align: center; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: .2s; }
.quick-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #d8cfc5; }
.quick-icon { width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 15px; display: grid; place-items: center; background: var(--canvas); font-size: 22px; }
.quick-item strong { display: block; font-size: 14px; }
.quick-item span { color: var(--ink-soft); font-size: 11px; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-head h2 { margin: 0; font-size: clamp(24px, 4vw, 32px); letter-spacing: -0.045em; }
.section-head p { margin: 6px 0 0; color: var(--ink-soft); }
.link-more { color: var(--brand); font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.product-card { overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: .23s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-image { display: block; position: relative; aspect-ratio: 1.15/1; overflow: hidden; background: var(--canvas-deep); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 5px; flex-wrap: wrap; }
.product-badge { padding: 5px 8px; border-radius: 8px; font-size: 10px; font-weight: 800; background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm); }
.product-badge.hot { background: var(--brand); color: #fff; }
.product-badge.stock { background: var(--green); color: #fff; }
.wish-btn { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; border: 0; background: rgba(255,255,255,.92); cursor: pointer; }
.wish-btn.active { color: var(--danger); background: #fff0f0; }
.product-body { padding: 17px; }
.product-brand { color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.product-title { margin: 5px 0 9px; font-weight: 800; font-size: 16px; line-height: 1.4; min-height: 44px; }
.product-meta { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.product-meta span { padding: 4px 7px; border-radius: 7px; background: var(--canvas); color: var(--ink-soft); font-size: 10px; }
.price-line { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.price-line strong { font-size: 20px; letter-spacing: -0.03em; }
.price-line strong small { font-size: 12px; font-weight: 500; }
.point-text { color: var(--brand); font-size: 11px; font-weight: 800; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.two-col-left { min-width: 0; }
.sidebar-sticky { position: sticky; top: 102px; }
.card { border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.card-pad { padding: 22px; }
.card-head { padding: 19px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-head h3 { margin: 0; font-size: 17px; }
.card-body { padding: 22px; }

.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-ready { background: var(--blue-soft); color: var(--blue); }
.status-done { background: var(--green-soft); color: var(--green); }
.status-wait { background: var(--yellow-soft); color: #9a6a16; }
.status-cancel { background: var(--danger-soft); color: var(--danger); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.feature-card .feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-soft); color: var(--brand); font-size: 23px; }
.feature-card h3 { margin: 16px 0 7px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--ink-soft); }

.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric-card { padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.metric-card .metric-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.metric-card .metric-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--canvas); }
.metric-card strong { display: block; margin-top: 14px; font-size: 25px; letter-spacing: -0.04em; }
.metric-card p { margin: 3px 0 0; color: var(--ink-soft); font-size: 12px; }
.trend-up { color: var(--green); font-size: 11px; font-weight: 800; }

.filter-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.filter-bar .grow { flex: 1; min-width: 220px; }
.input, .select, .textarea { width: 100%; border: 1px solid var(--line-dark); border-radius: 11px; background: #fff; color: var(--ink); outline: none; transition: .2s; }
.input, .select { height: 44px; padding: 0 13px; }
.textarea { min-height: 120px; resize: vertical; padding: 12px 13px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(198,95,55,.1); }
.form-group { margin-bottom: 18px; }
.form-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; font-weight: 800; font-size: 13px; }
.form-label small { font-weight: 500; color: var(--ink-soft); }
.form-help { margin-top: 6px; color: var(--ink-soft); font-size: 11px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.check-row { display: flex; align-items: center; gap: 8px; }
.check-row input { width: 17px; height: 17px; accent-color: var(--brand); }

.breadcrumb { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; color: var(--ink-soft); font-size: 12px; }
.breadcrumb span { opacity: .55; }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); gap: 42px; }
.product-gallery-main { aspect-ratio: 1.15/1; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: var(--canvas-deep); }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-top: 10px; }
.product-thumb { aspect-ratio: 1/1; overflow: hidden; border: 2px solid transparent; border-radius: 12px; background: #fff; cursor: pointer; }
.product-thumb.active { border-color: var(--brand); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info-panel { padding-top: 6px; }
.product-info-panel h1 { margin: 8px 0 12px; font-size: clamp(27px, 4vw, 38px); line-height: 1.28; letter-spacing: -0.045em; }
.sku-line { display: flex; gap: 14px; color: var(--ink-soft); font-size: 11px; }
.detail-price { display: flex; align-items: end; justify-content: space-between; gap: 10px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.detail-price strong { font-size: 32px; letter-spacing: -0.04em; }
.detail-price small { font-size: 13px; font-weight: 500; }
.point-box { margin: 18px 0; padding: 16px; border-radius: 14px; background: var(--brand-soft); }
.point-box strong { color: var(--brand); }
.info-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info-row { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-row dt { color: var(--ink-soft); font-size: 12px; }
.info-row dd { margin: 0; font-weight: 700; font-size: 13px; }
.quantity-row { display: flex; gap: 10px; align-items: stretch; margin: 20px 0 12px; }
.quantity-control { display: grid; grid-template-columns: 42px 56px 42px; height: 50px; border: 1px solid var(--line-dark); border-radius: 13px; overflow: hidden; }
.quantity-control button { border: 0; background: var(--canvas); cursor: pointer; }
.quantity-control input { width: 100%; border: 0; text-align: center; outline: none; font-weight: 800; }
.detail-actions { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; }
.tab-nav { display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-nav a, .tab-nav button { min-width: 120px; padding: 15px; border: 0; border-bottom: 3px solid transparent; background: transparent; text-align: center; font-weight: 800; color: var(--ink-soft); cursor: pointer; }
.tab-nav .active { color: var(--brand); border-bottom-color: var(--brand); }
.content-block { padding: 34px 0; }
.content-block h2 { margin: 0 0 14px; font-size: 24px; }
.spec-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 14px; border-style: hidden; box-shadow: 0 0 0 1px var(--line); }
.spec-table th, .spec-table td { padding: 13px 16px; border: 1px solid var(--line); text-align: left; }
.spec-table th { width: 22%; background: var(--canvas); color: var(--ink-soft); font-size: 12px; }

.cart-list { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.cart-head, .cart-row { display: grid; grid-template-columns: 44px minmax(280px, 1fr) 120px 132px 130px 42px; gap: 14px; align-items: center; }
.cart-head { padding: 14px 18px; color: var(--ink-soft); background: var(--canvas); font-size: 11px; font-weight: 800; }
.cart-row { padding: 17px 18px; border-top: 1px solid var(--line); }
.cart-product { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cart-product img { width: 82px; height: 72px; object-fit: cover; border-radius: 12px; background: var(--canvas-deep); }
.cart-product strong { display: block; margin-bottom: 4px; }
.cart-product span { color: var(--ink-soft); font-size: 11px; }
.cart-check { width: 18px; height: 18px; accent-color: var(--brand); }
.cart-remove { border: 0; background: transparent; cursor: pointer; color: var(--ink-soft); }
.cart-remove:hover { color: var(--danger); }
.order-summary { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.order-summary h3 { margin: 0 0 18px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0; color: var(--ink-soft); }
.summary-line strong { color: var(--ink); }
.summary-line.total { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); align-items: end; }
.summary-line.total strong { font-size: 24px; color: var(--brand); }
.point-use-box { margin: 16px 0; padding: 14px; border-radius: 14px; background: var(--canvas); }
.point-use-box .input-row { display: flex; gap: 8px; margin-top: 8px; }

.checkout-step { display: flex; justify-content: center; gap: 0; margin-bottom: 32px; }
.step-item { position: relative; min-width: 160px; text-align: center; color: var(--ink-soft); font-size: 11px; }
.step-item::after { content: ''; position: absolute; left: calc(50% + 20px); right: calc(-50% + 20px); top: 17px; height: 1px; background: var(--line-dark); }
.step-item:last-child::after { display: none; }
.step-circle { position: relative; z-index: 2; width: 34px; height: 34px; margin: 0 auto 5px; border-radius: 50%; display: grid; place-items: center; background: var(--canvas-deep); border: 1px solid var(--line-dark); font-weight: 800; }
.step-item.active { color: var(--brand); font-weight: 800; }
.step-item.active .step-circle, .step-item.done .step-circle { background: var(--brand); color: #fff; border-color: var(--brand); }
.step-item.done::after { background: var(--brand); }
.checkout-card { margin-bottom: 16px; }
.payment-option { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 2px solid var(--brand); border-radius: 14px; background: var(--brand-soft); }
.payment-option input { margin-top: 3px; accent-color: var(--brand); }
.complete-box { max-width: 720px; margin: 40px auto; padding: 52px; text-align: center; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow-md); }
.complete-icon { width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-size: 35px; }
.complete-box h1 { margin: 0 0 10px; font-size: 32px; letter-spacing: -0.04em; }
.complete-box p { color: var(--ink-soft); }
.complete-info { margin: 26px 0; padding: 18px; text-align: left; border-radius: 14px; background: var(--canvas); }

.order-list { display: grid; gap: 14px; }
.order-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.order-card-head { padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.order-card-head strong { font-size: 13px; }
.order-card-body { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 18px; align-items: center; }
.order-product { display: flex; gap: 14px; align-items: center; }
.order-product img { width: 94px; height: 82px; object-fit: cover; border-radius: 12px; }
.order-product h3 { margin: 0 0 5px; font-size: 16px; }
.order-product p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.order-card-actions { display: flex; gap: 8px; }
.timeline { position: relative; display: grid; gap: 0; padding-left: 24px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding: 0 0 22px 14px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -22px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--line-dark); }
.timeline-item.active::before, .timeline-item.done::before { border-color: var(--brand); background: var(--brand); }
.timeline-item strong { display: block; }
.timeline-item span { color: var(--ink-soft); font-size: 11px; }

.point-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.point-balance { position: relative; overflow: hidden; padding: 28px; min-height: 200px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #c65f37, #934124); box-shadow: var(--shadow-md); }
.point-balance.b { background: linear-gradient(135deg, #316e5c, #1e4e41); }
.point-balance::after { content: ''; position: absolute; right: -50px; top: -60px; width: 180px; height: 180px; border: 36px solid rgba(255,255,255,.08); border-radius: 50%; }
.point-balance small { color: rgba(255,255,255,.72); }
.point-balance strong { display: block; margin: 22px 0 6px; font-size: 37px; letter-spacing: -0.04em; }
.point-balance p { margin: 0; color: rgba(255,255,255,.72); font-size: 12px; }
.point-rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rule-card { padding: 20px; border-radius: 17px; border: 1px solid var(--line); background: #fff; }
.rule-card strong { display: block; margin: 10px 0 5px; }
.point-history { width: 100%; border-collapse: collapse; }
.point-history th, .point-history td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.point-history th { background: var(--canvas); color: var(--ink-soft); font-size: 11px; }
.point-history td { font-size: 13px; }

.calendar-shell { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 18px; }
.calendar-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.calendar-toolbar { padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
.calendar-toolbar h2 { margin: 0; font-size: 21px; }
.calendar-actions { display: flex; gap: 7px; }
.calendar-week { display: grid; grid-template-columns: repeat(7,1fr); background: var(--canvas); border-bottom: 1px solid var(--line); }
.calendar-week div { padding: 9px; text-align: center; color: var(--ink-soft); font-size: 11px; font-weight: 800; }
.calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); }
.calendar-cell { min-height: 126px; padding: 9px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; transition: .15s; }
.calendar-cell:nth-child(7n) { border-right: 0; }
.calendar-cell:hover { background: #fffaf7; }
.calendar-cell.out { background: #faf9f6; color: #babdbb; }
.calendar-cell.today { background: var(--brand-soft); }
.calendar-date { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 12px; font-weight: 800; }
.calendar-date .today-mark { width: 23px; height: 23px; margin: -4px 0 0; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; }
.calendar-event { display: block; margin-bottom: 4px; padding: 4px 6px; overflow: hidden; border-radius: 6px; white-space: nowrap; text-overflow: ellipsis; background: var(--green-soft); color: var(--green); font-size: 10px; font-weight: 700; }
.calendar-event.orange { background: var(--brand-soft); color: var(--brand); }
.calendar-event.blue { background: var(--blue-soft); color: var(--blue); }
.calendar-side { display: grid; gap: 14px; }
.schedule-item { padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.schedule-item .time { color: var(--brand); font-size: 11px; font-weight: 800; }
.schedule-item h4 { margin: 5px 0 4px; }
.schedule-item p { margin: 0; color: var(--ink-soft); font-size: 11px; }
.team-avatars { display: flex; }
.team-avatars span { width: 28px; height: 28px; margin-left: -6px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #fff; background: var(--green); color: #fff; font-size: 9px; font-weight: 800; }
.team-avatars span:first-child { margin-left: 0; }

.group-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.group-card { padding: 22px; border-radius: 19px; border: 1px solid var(--line); background: #fff; }
.group-card .group-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-size: 22px; }
.group-card h3 { margin: 14px 0 4px; }
.group-card p { min-height: 45px; margin: 0 0 16px; color: var(--ink-soft); font-size: 12px; }
.group-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.member-list { display: grid; gap: 10px; }
.member-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 13px; background: var(--canvas); }
.member-avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 800; font-size: 12px; }
.member-row .grow { flex: 1; }
.member-row strong { display: block; font-size: 13px; }
.member-row span { color: var(--ink-soft); font-size: 10px; }

.jobs-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 20px; }
.job-filter { position: sticky; top: 102px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.job-filter h3 { margin: 0 0 15px; }
.filter-section { padding: 14px 0; border-top: 1px solid var(--line); }
.filter-section:first-of-type { border-top: 0; }
.filter-section strong { display: block; margin-bottom: 8px; font-size: 12px; }
.checkbox-list { display: grid; gap: 8px; }
.checkbox-list label { display: flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: 12px; }
.checkbox-list input { accent-color: var(--brand); }
.job-list { display: grid; gap: 12px; }
.job-card { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: .2s; }
.job-card:hover { border-color: #d7b8a7; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.job-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.job-company { display: flex; gap: 13px; min-width: 0; }
.company-logo { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 14px; display: grid; place-items: center; background: var(--canvas); font-weight: 900; color: var(--brand); }
.job-card h3 { margin: 2px 0 6px; font-size: 18px; }
.job-card p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.job-tags { display: flex; gap: 7px; flex-wrap: wrap; margin: 14px 0; }
.job-tags span { padding: 5px 8px; border-radius: 8px; background: var(--canvas); color: var(--ink-soft); font-size: 10px; }
.job-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 13px; border-top: 1px solid var(--line); }
.job-pay { font-weight: 900; color: var(--brand); }
.job-detail-hero { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.job-detail-hero h1 { margin: 12px 0 8px; font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.04em; }
.job-detail-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--ink-soft); font-size: 12px; }
.job-info-grid { display: grid; grid-template-columns: repeat(4,1fr); margin: 24px 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.job-info-grid div { padding: 16px; border-right: 1px solid var(--line); background: var(--canvas); }
.job-info-grid div:last-child { border-right: 0; }
.job-info-grid span { display: block; color: var(--ink-soft); font-size: 10px; }
.job-info-grid strong { display: block; margin-top: 5px; font-size: 14px; }
.job-content { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.job-content h3 { margin-top: 30px; }
.job-content h3:first-child { margin-top: 0; }
.job-content ul { color: #4f5754; }
.apply-card { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.apply-card .pay { font-size: 26px; font-weight: 900; color: var(--brand); }

.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; background: #fff; }
.auth-visual { position: relative; overflow: hidden; padding: 60px; display: flex; align-items: flex-end; color: #fff; background: linear-gradient(145deg, #25312d, #386053); }
.auth-visual::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 80px 80px; transform: rotate(12deg) scale(1.2); }
.auth-visual-copy { position: relative; z-index: 2; max-width: 520px; }
.auth-visual-copy h1 { margin: 14px 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.15; letter-spacing: -0.055em; }
.auth-visual-copy p { color: rgba(255,255,255,.7); }
.auth-panel { display: grid; place-items: center; padding: 40px; }
.auth-box { width: min(100%, 470px); }
.auth-box .brand { margin-bottom: 42px; }
.auth-box h2 { margin: 0; font-size: 30px; letter-spacing: -0.04em; }
.auth-box > p { margin: 8px 0 28px; color: var(--ink-soft); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--ink-soft); font-size: 11px; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.social-login { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-card { padding: 15px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; }
.role-card.active { border-color: var(--brand); background: var(--brand-soft); }
.role-card input { display: none; }
.role-card strong { display: block; }
.role-card span { color: var(--ink-soft); font-size: 11px; }

.profile-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 20px; }
.profile-sidebar { position: sticky; top: 102px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.profile-user { padding: 22px; text-align: center; border-bottom: 1px solid var(--line); }
.profile-user .avatar-lg { width: 68px; height: 68px; margin: 0 auto 12px; border-radius: 20px; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 23px; font-weight: 900; }
.profile-user h3 { margin: 0; }
.profile-user p { margin: 4px 0 0; color: var(--ink-soft); font-size: 11px; }
.profile-menu { padding: 10px; }
.profile-menu a { display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; border-radius: 10px; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.profile-menu a:hover, .profile-menu a.active { background: var(--brand-soft); color: var(--brand); }
.profile-content { min-width: 0; }
.profile-banner { padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, var(--green), #244f44); }
.profile-banner h2 { margin: 0 0 5px; }
.profile-banner p { margin: 0; color: rgba(255,255,255,.7); }
.notification-list { display: grid; }
.notification-item { display: flex; gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.notification-icon { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.notification-item.unread { background: linear-gradient(90deg, #fffaf7, transparent); }
.notification-item h4 { margin: 0 0 4px; }
.notification-item p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.notification-item time { display: block; margin-top: 6px; color: #a3a8a6; font-size: 10px; }

.admin-body { background: #f2f3f2; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 22px 16px; color: #fff; background: #202724; }
.admin-brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 24px; border-bottom: 1px solid rgba(255,255,255,.10); }
.admin-brand strong { font-size: 18px; }
.admin-user { display: flex; align-items: center; gap: 10px; margin: 18px 0; padding: 12px; border-radius: 13px; background: rgba(255,255,255,.06); }
.admin-user .avatar { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--brand); font-size: 12px; font-weight: 900; }
.admin-user strong { display: block; font-size: 12px; }
.admin-user span { color: rgba(255,255,255,.55); font-size: 9px; }
.admin-nav { display: grid; gap: 5px; }
.admin-nav a { padding: 11px 12px; border-radius: 10px; color: rgba(255,255,255,.67); font-size: 13px; font-weight: 700; }
.admin-nav a:hover, .admin-nav a.active { color: #fff; background: rgba(255,255,255,.10); }
.admin-main { min-width: 0; }
.admin-header { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 28px; border-bottom: 1px solid var(--line); background: #fff; }
.admin-content { padding: 28px; }
.admin-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.admin-title h1 { margin: 0; font-size: 27px; }
.admin-title p { margin: 3px 0 0; color: var(--ink-soft); font-size: 12px; }
.admin-tabs { display: flex; gap: 7px; margin-bottom: 18px; overflow-x: auto; }
.admin-tabs button { padding: 9px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-weight: 700; font-size: 12px; }
.admin-tabs button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.admin-table { width: 100%; min-width: 860px; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 12px; }
.admin-table th { background: #f8f8f6; color: var(--ink-soft); font-size: 10px; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table .product-cell { display: flex; align-items: center; gap: 10px; }
.admin-table .product-cell img { width: 44px; height: 40px; border-radius: 8px; object-fit: cover; }
.admin-table-actions { display: flex; gap: 6px; }
.chart-placeholder { height: 260px; padding: 24px; display: flex; align-items: flex-end; gap: 10px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.chart-bar { flex: 1; min-width: 18px; border-radius: 7px 7px 0 0; background: linear-gradient(to top, var(--brand), #e8a084); position: relative; }
.chart-bar span { position: absolute; left: 50%; transform: translateX(-50%); bottom: -22px; color: var(--ink-soft); font-size: 9px; }
.admin-widget-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; margin-top: 18px; }

.site-footer { padding: 42px 0 32px; color: rgba(255,255,255,.68); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, .7fr); gap: 34px; }
.footer-brand p { max-width: 400px; font-size: 12px; }
.footer-title { margin-bottom: 12px; color: #fff; font-weight: 800; }
.footer-links { display: grid; gap: 7px; font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.09); font-size: 10px; }

.modal { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(21,25,24,.55); backdrop-filter: blur(4px); }
.modal-dialog { position: relative; z-index: 2; width: min(100%, 560px); max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); }
.modal-head { padding: 19px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; }
.modal-close { width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--canvas); cursor: pointer; }
.modal-body { padding: 22px; }
.modal-footer { padding: 16px 22px; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); }
.toast-wrap { position: fixed; z-index: 1000; right: 20px; bottom: 20px; display: grid; gap: 8px; }
.toast { min-width: 280px; padding: 13px 16px; border-radius: 12px; color: #fff; background: #252c29; box-shadow: var(--shadow-lg); animation: toastIn .25s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.empty-state { padding: 52px 20px; text-align: center; color: var(--ink-soft); }
.empty-state .empty-icon { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 18px; display: grid; place-items: center; background: var(--canvas); font-size: 26px; }
.divider { height: 1px; background: var(--line); margin: 22px 0; }
.tag { display: inline-flex; padding: 5px 8px; border-radius: 8px; background: var(--canvas); color: var(--ink-soft); font-size: 10px; font-weight: 700; }

@media (max-width: 1120px) {
  .header-search { display: none; }
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .hero-main { padding: 38px; }
  .hero-stats { left: 38px; right: 38px; }
  .dashboard-grid { grid-template-columns: repeat(2,1fr); }
  .calendar-shell { grid-template-columns: 1fr; }
  .calendar-side { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 210px 1fr; }
}

@media (max-width: 920px) {
  .topbar { display: none; }
  .desktop-nav, .profile-chip { display: none; }
  .mobile-menu-btn { display: inline-grid; }
  .header-inner { min-height: 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .hero-card { min-height: 180px; }
  .quick-grid { grid-template-columns: repeat(3,1fr); }
  .product-detail-grid { grid-template-columns: 1fr; gap: 26px; }
  .two-col { grid-template-columns: 1fr; }
  .sidebar-sticky { position: static; }
  .cart-head { display: none; }
  .cart-row { grid-template-columns: 28px 1fr 40px; align-items: start; }
  .cart-row > .cart-price, .cart-row > .quantity-control, .cart-row > .cart-total { grid-column: 2; }
  .cart-row > .quantity-control { width: 140px; }
  .point-rule-grid { grid-template-columns: 1fr; }
  .jobs-layout { grid-template-columns: 1fr; }
  .job-filter { position: static; display: none; }
  .job-filter.open { display: block; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; }
  .profile-menu { display: flex; overflow-x: auto; }
  .profile-menu a { flex: 0 0 auto; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .admin-shell { display: block; }
  .admin-sidebar { position: static; width: 100%; height: auto; }
  .admin-nav { grid-template-columns: repeat(4, minmax(120px,1fr)); overflow-x: auto; }
  .admin-user { display: none; }
  .admin-content { padding: 20px; }
  .admin-widget-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { display: none; }
}

@media (max-width: 680px) {
  body { padding-bottom: 70px; font-size: 14px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header { top: 0; }
  .header-actions > a.icon-btn:first-of-type { display: none; }
  .mobile-bottom-nav { display: flex; }
  .section { padding: 38px 0; }
  .page-shell { padding-top: 22px; }
  .page-title-row { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero { padding-top: 18px; }
  .hero-main { min-height: 455px; padding: 30px 24px; border-radius: 24px; }
  .hero-copy h1 { font-size: 39px; }
  .hero-copy p { font-size: 14px; }
  .hero-stats { left: 24px; right: 24px; bottom: 26px; gap: 18px; }
  .hero-stats strong { font-size: 17px; }
  .hero-side { grid-template-columns: 1fr; gap: 12px; }
  .quick-grid { grid-template-columns: repeat(2,1fr); }
  .support-quick-grid { grid-template-columns: repeat(2,1fr); }
  .quick-item:last-child { grid-column: span 2; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .product-body { padding: 12px; }
  .product-title { min-height: 39px; font-size: 14px; }
  .product-meta { display: none; }
  .price-line { align-items: flex-start; flex-direction: column; }
  .price-line strong { font-size: 17px; }
  .section-head { align-items: flex-start; }
  .section-head p { display: none; }
  .feature-grid, .group-grid, .dashboard-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .product-gallery-main { border-radius: 18px; }
  .product-thumbs { grid-template-columns: repeat(4,1fr); }
  .product-info-panel h1 { font-size: 27px; }
  .detail-price strong { font-size: 27px; }
  .info-row { grid-template-columns: 90px 1fr; }
  .quantity-row { flex-direction: column; }
  .quantity-control { width: 100%; grid-template-columns: 50px 1fr 50px; }
  .detail-actions { grid-template-columns: 1fr; }
  .tab-nav a, .tab-nav button { min-width: 98px; padding: 13px 10px; font-size: 12px; }
  .cart-row { padding: 14px 12px; gap: 10px; }
  .cart-product { align-items: flex-start; }
  .cart-product img { width: 74px; height: 65px; }
  .checkout-step { overflow: hidden; justify-content: flex-start; }
  .step-item { min-width: 110px; }
  .complete-box { padding: 32px 20px; margin: 18px auto; }
  .order-card-body { grid-template-columns: 1fr; }
  .order-card-actions { justify-content: flex-end; }
  .point-hero { grid-template-columns: 1fr; }
  .point-balance { min-height: 170px; }
  .point-history-wrap { overflow-x: auto; }
  .point-history { min-width: 620px; }
  .calendar-toolbar { align-items: flex-start; flex-direction: column; }
  .calendar-grid { min-width: 760px; }
  .calendar-week { min-width: 760px; }
  .calendar-scroll { overflow-x: auto; }
  .calendar-cell { min-height: 105px; }
  .calendar-side { grid-template-columns: 1fr; }
  .job-top { gap: 8px; }
  .job-company { gap: 10px; }
  .company-logo { width: 40px; height: 40px; }
  .job-card h3 { font-size: 16px; }
  .job-info-grid { grid-template-columns: repeat(2,1fr); }
  .job-info-grid div:nth-child(2) { border-right: 0; }
  .job-info-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .job-content, .job-detail-hero { padding: 20px; }
  .auth-panel { padding: 24px 18px; align-items: start; }
  .auth-box .brand { margin-bottom: 30px; }
  .social-login { grid-template-columns: 1fr; }
  .profile-banner { align-items: flex-start; flex-direction: column; }
  .admin-header { padding: 0 16px; }
  .admin-content { padding: 16px; }
  .admin-title { align-items: flex-start; flex-direction: column; }
  .admin-sidebar { padding: 14px; }
  .admin-nav { grid-template-columns: repeat(8, minmax(110px,1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:not(:first-child) { display: none; }
  .footer-bottom { flex-direction: column; }
  .modal { align-items: flex-end; padding: 0; }
  .modal-dialog { width: 100%; max-height: 90vh; border-radius: 24px 24px 0 0; }
  .toast-wrap { left: 14px; right: 14px; bottom: 84px; }
  .toast { min-width: 0; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy h1 { font-size: 35px; }
  .brand-text { font-size: 18px; }
  .header-actions { gap: 6px; }
  .icon-btn { width: 39px; height: 39px; }
  .role-selector { grid-template-columns: 1fr; }
}

/* =========================================================
   TILEMATE REFINED UI v1.2
   ========================================================= */
.refined-ui {
  --ink: #202725;
  --ink-soft: #6a716f;
  --brand: #b95834;
  --brand-dark: #8d3f23;
  --brand-soft: #f8ebe5;
  --green: #315f53;
  --green-soft: #eaf2ef;
  --blue: #446b88;
  --blue-soft: #edf3f7;
  --yellow: #b98b32;
  --yellow-soft: #fbf5e6;
  --danger: #b54646;
  --danger-soft: #f9ecec;
  --line: #e2e5e2;
  --line-dark: #ccd1ce;
  --canvas: #f5f6f5;
  --canvas-deep: #eef0ee;
  --shadow-sm: 0 2px 10px rgba(30, 39, 36, .045);
  --shadow-md: 0 8px 28px rgba(30, 39, 36, .075);
  --shadow-lg: 0 22px 60px rgba(30, 39, 36, .16);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  letter-spacing: -.012em;
}
.refined-ui .fa-solid,
.refined-ui .fa-regular { line-height: 1; }
.refined-ui .inline-icon { margin-right: 5px; color: var(--brand); }
.refined-ui .card,
.refined-ui .product-card,
.refined-ui .feature-card,
.refined-ui .quick-item,
.refined-ui .job-card,
.refined-ui .order-card,
.refined-ui .point-balance,
.refined-ui .point-rule-card { box-shadow: none; }
.refined-ui .card,
.refined-ui .product-card,
.refined-ui .feature-card,
.refined-ui .quick-item,
.refined-ui .job-card,
.refined-ui .order-card { border-color: var(--line); }
.refined-ui .btn { min-height: 42px; border-radius: 9px; box-shadow: none; font-size: 14px; }
.refined-ui .btn-sm { min-height: 34px; padding: 0 12px; font-size: 12px; }
.refined-ui .btn-xs { min-height: 28px; padding: 0 9px; border-radius: 7px; font-size: 11px; }
.refined-ui .btn-primary { box-shadow: 0 5px 14px rgba(185, 88, 52, .16); }
.refined-ui .input,
.refined-ui .select,
.refined-ui .textarea { border-radius: 9px; border-color: var(--line-dark); background: #fff; }
.refined-ui .input:focus,
.refined-ui .select:focus,
.refined-ui .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(185,88,52,.09); }
.refined-ui .eyebrow { font-size: 11px; letter-spacing: .11em; }
.refined-ui .eyebrow::before { width: 14px; }
.refined-ui .section-head h2 { letter-spacing: -.035em; }
.refined-ui .site-header { background: rgba(255,255,255,.97); border-bottom-color: #e8eae8; backdrop-filter: blur(18px); }
.refined-ui .header-inner { min-height: 68px; gap: 24px; }
.refined-ui .brand-mark { width: 36px; height: 36px; border-radius: 9px; box-shadow: none; }
.refined-ui .brand-text { font-size: 19px; }
.refined-ui .desktop-nav a { padding: 9px 12px; border-radius: 8px; font-size: 14px; }
.refined-ui .desktop-nav a:hover,
.refined-ui .desktop-nav a.active { background: transparent; }
.refined-ui .desktop-nav a.active { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.refined-ui .header-search input { height: 40px; border-radius: 9px; background: #f4f6f5; }
.refined-ui .header-search button { right: 10px; font-size: 16px; color: #69716e; }
.refined-ui .icon-btn { width: 40px; height: 40px; border-radius: 10px; font-size: 18px; }
.refined-ui .profile-chip { border-radius: 10px; padding: 4px 8px 4px 4px; }
.refined-ui .profile-chip .avatar { border-radius: 8px; }
.refined-ui .drawer-nav a > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: #f3f5f4; font-size: 17px; }
.refined-ui .drawer-nav a.active > span { background: var(--brand); color: #fff; }
.refined-ui .drawer-nav a { padding: 9px 10px; border-radius: 10px; }
.refined-ui .drawer-nav a.active,
.refined-ui .drawer-nav a:hover { background: #f8f1ed; }
.refined-ui .mobile-bottom-nav a span { font-size: 20px; }
.refined-ui .quick-grid { gap: 10px; }
.refined-ui .quick-item { padding: 18px 12px; border-radius: 13px; background: #fff; transition: .18s ease; }
.refined-ui .quick-item:hover { transform: translateY(-2px); border-color: #cfd5d1; box-shadow: var(--shadow-sm); }
.refined-ui .quick-icon { width: 46px; height: 46px; border-radius: 12px; font-size: 22px; color: var(--brand); background: #f7efeb; }
.refined-ui .feature-card { border-radius: 14px; padding: 24px; background: #fff; }
.refined-ui .feature-card .feature-icon { width: 46px; height: 46px; border-radius: 11px; font-size: 21px; }
.refined-ui .product-card { border-radius: 13px; overflow: hidden; background: #fff; transition: .18s ease; }
.refined-ui .product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: #d2d6d3; }
.refined-ui .product-image { background: #f1f2f1; }
.refined-ui .product-body { padding: 15px; }
.refined-ui .wish-btn { font-size: 18px; }
.refined-ui .wish-btn.active { color: var(--brand); background: #fff; }
.refined-ui .product-badge { border-radius: 6px; }
.refined-ui .hero { padding: 34px 0 18px; }
.refined-ui .hero-grid { gap: 16px; }
.refined-ui .hero-main { min-height: 398px; padding: 40px; border-radius: 18px; background: #27352f; box-shadow: none; }
.refined-ui .hero-main::before { width: 420px; height: 420px; right: -110px; bottom: -170px; background: radial-gradient(circle at 35% 35%, rgba(217,155,124,.30), rgba(255,255,255,.02) 56%, transparent 58%); }
.refined-ui .hero-main::after { opacity: .35; background-size: 36px 36px; }
.refined-ui .hero-copy h1 { margin: 15px 0 14px; font-size: clamp(34px, 4.7vw, 54px); line-height: 1.16; }
.refined-ui .hero-copy p { max-width: 600px; margin-bottom: 23px; font-size: 15px; }
.refined-ui .hero-stats { left: 40px; right: 40px; bottom: 27px; }
.refined-ui .hero-card { min-height: 191px; padding: 25px; border-radius: 15px; box-shadow: none; }
.refined-ui .hero-card.accent { background: #f8eee9; border-color: #ead7cd; }
.refined-ui .hero-card.green { background: #edf3f0; border-color: #d9e5e0; }
.refined-ui .hero-card .card-icon { font-size: 65px; opacity: .10; }
.refined-ui .hero-card h3 { font-size: 21px; }
.refined-ui .hero-card .btn { min-height: 32px; }

/* User-mode additions */
.mobile-workbench { padding: 12px 0 0; }
.workbench-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.workbench-head > div span { display: block; color: var(--ink-soft); font-size: 11px; }
.workbench-head > div strong { font-size: 16px; }
.workbench-head > a { color: var(--ink-soft); font-size: 11px; }
.workbench-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; }
.workbench-grid > a { display: flex; align-items: center; gap: 11px; min-height: 72px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.workbench-grid > a > i { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: var(--brand); background: var(--brand-soft); font-size: 18px; }
.workbench-grid > a:nth-child(2) > i { color: var(--green); background: var(--green-soft); }
.workbench-grid > a:nth-child(3) > i { color: #9a7327; background: var(--yellow-soft); }
.workbench-grid > a:nth-child(4) > i { color: var(--blue); background: var(--blue-soft); }
.workbench-grid span { min-width: 0; }
.workbench-grid small { display: block; color: var(--ink-soft); font-size: 10px; }
.workbench-grid strong { display: block; margin-top: 1px; font-size: 14px; }
.purchase-flow { padding-top: 46px; }
.section-head.compact { margin-bottom: 20px; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.process-card { position: relative; min-height: 170px; padding: 25px 22px 21px; border-right: 1px solid var(--line); }
.process-card:last-child { border-right: 0; }
.process-card > span { position: absolute; right: 18px; top: 15px; color: #c8cdca; font-size: 12px; font-weight: 800; }
.process-card > i { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 11px; color: var(--brand); background: var(--brand-soft); font-size: 18px; }
.process-card strong { display: block; font-size: 15px; }
.process-card p { margin: 7px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.business-notice-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin: -4px 0 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }
.business-notice-strip > div { display: flex; align-items: center; gap: 12px; min-height: 74px; padding: 13px 16px; background: #fff; }
.business-notice-strip > div > i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--brand); background: var(--brand-soft); font-size: 16px; }
.business-notice-strip strong,
.business-notice-strip small { display: block; }
.business-notice-strip strong { font-size: 12px; }
.business-notice-strip small { margin-top: 2px; color: var(--ink-soft); font-size: 10px; line-height: 1.45; }
.trade-facts { display: grid; grid-template-columns: repeat(4,1fr); margin: 15px 0; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.trade-facts > div { min-height: 76px; padding: 11px 12px; border-right: 1px solid var(--line); background: #fafbfa; }
.trade-facts > div:last-child { border-right: 0; }
.trade-facts span,
.trade-facts strong,
.trade-facts small { display: block; }
.trade-facts span { color: var(--ink-soft); font-size: 10px; }
.trade-facts strong { margin-top: 4px; font-size: 12px; }
.trade-facts strong i { color: var(--green); }
.trade-facts small { margin-top: 1px; color: #818784; font-size: 9px; }
.coverage-calc { margin: 16px 0; padding: 14px; border: 1px solid #d9dfdc; border-radius: 11px; background: #f8faf9; }
.coverage-calc > div:first-child { display: flex; align-items: center; gap: 10px; }
.coverage-calc > div:first-child > i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--green); background: var(--green-soft); }
.coverage-calc strong,
.coverage-calc small { display: block; }
.coverage-calc > div:first-child strong { font-size: 12px; }
.coverage-calc > div:first-child small { color: var(--ink-soft); font-size: 10px; }
.coverage-form { display: flex; align-items: center; gap: 8px; margin-top: 11px; }
.coverage-form label { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.coverage-form input { width: 72px; height: 34px; padding: 0 8px; border: 1px solid var(--line-dark); border-radius: 7px; }
.coverage-form > strong { margin-left: auto; color: var(--brand); font-size: 12px; }
.point-policy-matrix { margin: 18px 0 25px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.policy-row { display: grid; grid-template-columns: 1.2fr repeat(3,1fr); align-items: center; min-height: 49px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 12px; }
.policy-row:last-of-type { border-bottom: 0; }
.policy-row.policy-head { min-height: 38px; color: var(--ink-soft); background: #f5f7f6; font-size: 10px; font-weight: 700; }
.policy-row .ok { color: var(--green); font-weight: 800; }
.policy-row .no { color: var(--danger); font-weight: 800; }
.point-policy-matrix > p { margin: 0; padding: 11px 15px; color: var(--ink-soft); background: #fafbfa; font-size: 10px; }
.point-policy-matrix > p i { margin-right: 6px; color: var(--brand); }
.job-trust-strip { display: flex; align-items: center; gap: 16px; margin: -4px 0 20px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 11px; }
.job-trust-strip span i { margin-right: 5px; color: var(--green); }
.job-trust-strip span:nth-child(3) i { color: var(--danger); }
.job-trust-strip a { margin-left: auto; color: var(--brand); font-weight: 700; }
.signup-flow-note { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 14px 0 21px; }
.signup-flow-note > div { display: flex; gap: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 9px; background: #fafbfa; }
.signup-flow-note i { margin-top: 2px; color: var(--brand); }
.signup-flow-note strong,
.signup-flow-note small { display: block; }
.signup-flow-note strong { font-size: 10px; }
.signup-flow-note small { margin-top: 2px; color: var(--ink-soft); font-size: 9px; line-height: 1.35; }
.manual-order-note { display: flex; gap: 11px; margin: 13px 0 17px; padding: 13px 14px; border: 1px solid #dfe3e1; border-radius: 10px; background: #f8faf9; }
.manual-order-note > i { margin-top: 3px; color: var(--blue); }
.manual-order-note strong { font-size: 12px; }
.manual-order-note p { margin: 3px 0 0; color: var(--ink-soft); font-size: 10px; line-height: 1.55; }
.profile-verification { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 12px 0 18px; padding: 12px 14px; border: 1px solid #d6e2dd; border-radius: 11px; background: var(--green-soft); }
.profile-verification > div { display: flex; align-items: center; gap: 10px; }
.profile-verification > div > i { color: var(--green); font-size: 22px; }
.profile-verification strong,
.profile-verification small { display: block; }
.profile-verification strong { font-size: 12px; }
.profile-verification small { color: #60716b; font-size: 10px; }
.profile-verification > a { color: var(--green); font-size: 11px; font-weight: 800; }
.mobile-agenda { display: none; }

/* =========================================================
   ADMIN v2 - dense professional console
   ========================================================= */
.admin-body.refined-ui { background: #f2f4f3; font-size: 14px; }
.admin-shell-v2 { min-height: 100vh; display: grid; grid-template-columns: 218px minmax(0,1fr); }
.admin-sidebar-v2 { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 15px 12px 12px; color: #fff; background: #202725; }
.admin-sidebar-v2 .admin-brand { min-height: 50px; padding: 0 7px 14px; gap: 9px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-sidebar-v2 .admin-brand .brand-mark,
.admin-sidebar-v2 .admin-brand > img { width: 32px; height: 32px; flex: 0 0 auto; }
.admin-sidebar-v2 .admin-brand > span { display: block; }
.admin-sidebar-v2 .admin-brand strong { display: block; color: #fff; font-size: 16px; }
.admin-sidebar-v2 .admin-brand small { display: block; margin-top: -1px; color: rgba(255,255,255,.38); font-size: 9.5px; letter-spacing: .16em; }
.admin-user-v2 { position: relative; display: flex; align-items: center; gap: 9px; margin: 12px 0 11px; padding: 9px; border-radius: 9px; background: rgba(255,255,255,.06); }
.admin-user-v2 .avatar { width: 32px; height: 32px; border-radius: 8px; }
.admin-user-v2 strong { display: block; color: #fff; font-size: 12.5px; }
.admin-user-v2 div > span { display: block; margin-top: 2px; color: rgba(255,255,255,.52); font-size: 10.5px; }
.admin-user-v2 button { margin-left: auto; border: 0; color: rgba(255,255,255,.45); background: transparent; cursor: pointer; }
.admin-nav-v2 { display: block; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.admin-nav-v2 p { margin: 14px 8px 5px; color: rgba(255,255,255,.30); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.admin-nav-v2 a { position: relative; display: flex; align-items: center; min-height: 36px; margin: 2px 0; padding: 0 9px; border-radius: 8px; color: rgba(255,255,255,.63); font-size: 12.5px; font-weight: 650; }
.admin-nav-v2 a i { width: 25px; color: rgba(255,255,255,.45); font-size: 15px; }
.admin-nav-v2 a span { flex: 1; }
.admin-nav-v2 a em { min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; border-radius: 9px; color: #ebc3b2; background: rgba(185,88,52,.22); font-size: 10.5px; font-style: normal; }
.admin-nav-v2 a em.danger { color: #ffc2c2; background: rgba(181,70,70,.25); }
.admin-nav-v2 a:hover,
.admin-nav-v2 a.active { color: #fff; background: rgba(255,255,255,.085); }
.admin-nav-v2 a.active::before { content: ''; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: #d27049; }
.admin-nav-v2 a.active i { color: #e8a489; }
.admin-sidebar-foot { margin-top: auto; padding: 11px 7px 0; border-top: 1px solid rgba(255,255,255,.08); }
.admin-sidebar-foot a { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.62); font-size: 11.5px; }
.admin-sidebar-foot span { display: block; margin-top: 8px; color: rgba(255,255,255,.25); font-size: 10.5px; }
.admin-main-v2 { min-width: 0; min-height: 100vh; }
.admin-header-v2 { position: sticky; z-index: 90; top: 0; min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 18px; border-bottom: 1px solid #dfe3e1; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); }
.admin-header-left { display: flex; align-items: center; gap: 10px; }
.admin-header-left > div span { display: block; color: var(--ink-soft); font-size: 10.5px; }
.admin-header-left > div strong { display: block; font-size: 14px; }
.admin-mobile-menu { display: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.admin-header-actions { display: flex; align-items: center; gap: 6px; }
.admin-search { position: relative; width: 280px; }
.admin-search i { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: #909692; font-size: 13px; }
.admin-search input { width: 100%; height: 34px; padding: 0 11px 0 32px; border: 1px solid var(--line); border-radius: 8px; outline: none; background: #f7f8f7; font-size: 12px; }
.admin-search input:focus { border-color: #bfc6c2; background: #fff; }
.admin-header-btn { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-size: 14px; }
.admin-header-btn > span { position: absolute; right: -3px; top: -4px; min-width: 15px; height: 15px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 8px; color: #fff; background: var(--danger); font-size: 9.5px; }
.admin-site-btn { min-height: 34px; padding: 0 10px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 12px; font-weight: 700; }
.admin-content-v2 { padding: 18px; }
.admin-panel-v2 { max-width: 1600px; margin: 0 auto; }
.admin-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.admin-kicker { display: block; margin-bottom: 3px; color: #89908d; font-size: 10.5px; font-weight: 800; letter-spacing: .11em; }
.admin-page-head h1 { margin: 0; font-size: 23px; line-height: 1.28; letter-spacing: -.035em; }
.admin-page-head p { margin: 3px 0 0; color: var(--ink-soft); font-size: 12px; }
.admin-page-actions { display: flex; gap: 6px; }
.admin-alert-line { display: flex; align-items: center; min-height: 39px; margin-bottom: 11px; padding: 0 12px; border: 1px solid #ead3c7; border-radius: 9px; background: #fbf3ef; font-size: 12px; }
.admin-alert-line > i { margin-right: 7px; color: var(--brand); }
.admin-alert-line > strong { margin-right: 8px; }
.admin-alert-line > span { color: #765f55; }
.admin-alert-line > button { margin-left: auto; border: 0; color: var(--brand); background: transparent; font-size: 11.5px; font-weight: 800; cursor: pointer; }
.admin-kpi-grid-v2 { display: grid; grid-template-columns: repeat(6,1fr); gap: 8px; margin-bottom: 11px; }
.admin-kpi-grid-v2 article { min-width: 0; min-height: 83px; display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.kpi-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; font-size: 15px; }
.kpi-icon.orange { color: var(--brand); background: var(--brand-soft); }
.kpi-icon.blue { color: var(--blue); background: var(--blue-soft); }
.kpi-icon.red { color: var(--danger); background: var(--danger-soft); }
.kpi-icon.green { color: var(--green); background: var(--green-soft); }
.kpi-icon.purple { color: #755f8b; background: #f0ebf4; }
.kpi-icon.gray { color: #626a67; background: #eef0ef; }
.admin-kpi-grid-v2 article > div:last-child { min-width: 0; }
.admin-kpi-grid-v2 article span { display: block; overflow: hidden; color: var(--ink-soft); font-size: 11.5px; white-space: nowrap; text-overflow: ellipsis; }
.admin-kpi-grid-v2 article strong { display: inline-block; margin-top: 1px; font-size: 21px; line-height: 1.15; letter-spacing: -.04em; }
.admin-kpi-grid-v2 article strong small { margin-left: 2px; color: var(--ink-soft); font-size: 11.5px; }
.admin-kpi-grid-v2 article em { display: block; margin-top: 2px; overflow: hidden; color: #8b918e; font-size: 10.5px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.admin-kpi-grid-v2 article em.up,
.up { color: var(--green) !important; }
.admin-dashboard-layout { display: grid; grid-template-columns: minmax(0,1fr) 298px; gap: 10px; }
.admin-dashboard-main,
.admin-dashboard-side { display: grid; align-content: start; gap: 10px; }
.admin-card { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.admin-card-head { min-height: 48px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.admin-card-head h2 { margin: 0; font-size: 14px; letter-spacing: -.02em; }
.admin-card-head p { margin: 2px 0 0; color: var(--ink-soft); font-size: 10.5px; }
.admin-segment { display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; }
.admin-segment button { min-width: 38px; height: 26px; padding: 0 8px; border: 0; border-right: 1px solid var(--line); background: #fff; font-size: 10.5px; cursor: pointer; }
.admin-segment button:last-child { border-right: 0; }
.admin-segment button.active { color: #fff; background: #343c39; }
.admin-chart-summary { display: grid; grid-template-columns: repeat(3,1fr); padding: 10px 12px 6px; }
.admin-chart-summary > div { padding-right: 10px; border-right: 1px solid var(--line); }
.admin-chart-summary > div + div { padding-left: 10px; }
.admin-chart-summary > div:last-child { border-right: 0; }
.admin-chart-summary span,
.admin-chart-summary strong,
.admin-chart-summary em { display: block; }
.admin-chart-summary span { color: var(--ink-soft); font-size: 10.5px; }
.admin-chart-summary strong { margin-top: 1px; font-size: 15px; }
.admin-chart-summary em { color: #89908d; font-size: 10.5px; font-style: normal; }
.dense-chart { position: relative; height: 170px; margin: 2px 12px 14px 38px; border-bottom: 1px solid var(--line); background-image: linear-gradient(to bottom, transparent calc(25% - 1px), #edf0ee 25%, transparent calc(25% + 1px), transparent calc(50% - 1px), #edf0ee 50%, transparent calc(50% + 1px), transparent calc(75% - 1px), #edf0ee 75%, transparent calc(75% + 1px)); }
.chart-axis { position: absolute; right: calc(100% + 8px); top: -3px; bottom: -4px; display: flex; flex-direction: column; justify-content: space-between; color: #9ba09d; font-size: 9.5px; }
.dense-bars { position: absolute; inset: 0 0 0 0; display: grid; grid-template-columns: repeat(7,1fr); gap: 12px; align-items: end; }
.dense-bars > div { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.dense-bars span { width: min(52%, 30px); min-height: 4px; border-radius: 4px 4px 0 0; background: #c97959; }
.dense-bars i { position: absolute; left: 50%; width: 7px; height: 7px; transform: translate(-50%,50%); border: 2px solid #fff; border-radius: 50%; background: #315f53; box-shadow: 0 0 0 1px #315f53; }
.dense-bars small { position: absolute; top: calc(100% + 5px); color: #8f9692; font-size: 9.5px; }
.admin-table-dense { border: 0; border-radius: 0 0 10px 10px; }
.admin-table-dense .admin-table { min-width: 820px; }
.admin-table-dense .admin-table th,
.admin-table-dense .admin-table td { padding: 8px 9px; }
.admin-table td strong,
.admin-table td small { display: block; }
.admin-table td small { margin-top: 1px; color: var(--ink-soft); font-size: 10.5px; }
.admin-table th { color: #7e8582; font-size: 10.5px; font-weight: 750; letter-spacing: .02em; }
.admin-table td { color: #3b4340; font-size: 12px; }
.admin-table tr:hover td { background: #fafbfa; }
.admin-status { display: inline-flex !important; align-items: center; min-height: 21px; padding: 0 7px; border-radius: 6px; font-size: 10.5px !important; font-weight: 800; white-space: nowrap; }
.admin-status.wait { color: #9e4b2c; background: #f9ebe5; }
.admin-status.ready { color: #846318; background: #f8f1dc; }
.admin-status.done { color: #27604f; background: #e8f2ee; }
.admin-status.shipping { color: #396580; background: #eaf1f5; }
.table-icon-btn { width: 28px; height: 28px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: #fff; cursor: pointer; font-size: 12px; }
.table-icon-btn:hover { color: var(--brand); border-color: #d7b6a7; }
.admin-link { border: 0; color: var(--brand); background: transparent; font-size: 11.5px; font-weight: 800; cursor: pointer; }
.count-badge { min-width: 23px; height: 23px; padding: 0 6px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--brand); font-size: 10.5px; }
.admin-todo-list { padding: 5px 10px 9px; }
.admin-todo-list button { width: 100%; min-height: 49px; display: flex; align-items: center; gap: 9px; padding: 6px 2px; border: 0; border-bottom: 1px solid var(--line); background: #fff; text-align: left; cursor: pointer; }
.admin-todo-list button:last-child { border-bottom: 0; }
.admin-todo-list button > i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: #f3f5f4; }
.admin-todo-list button > i.orange { color: var(--brand); background: var(--brand-soft); }
.admin-todo-list button > i.blue { color: var(--blue); background: var(--blue-soft); }
.admin-todo-list button > i.red { color: var(--danger); background: var(--danger-soft); }
.admin-todo-list button > i.purple { color: #755f8b; background: #f0ebf4; }
.admin-todo-list button span { flex: 1; }
.admin-todo-list button strong,
.admin-todo-list button small { display: block; }
.admin-todo-list button strong { font-size: 12px; }
.admin-todo-list button small { margin-top: 1px; color: var(--ink-soft); font-size: 10.5px; }
.admin-todo-list button em { min-width: 20px; color: var(--brand); font-size: 12.5px; font-style: normal; font-weight: 800; text-align: right; }
.admin-stock-alert { overflow: hidden; }
.stock-alert-row { display: grid; grid-template-columns: 36px 1fr 34px; align-items: center; gap: 8px; min-height: 52px; margin: 0 10px; border-bottom: 1px solid var(--line); }
.stock-alert-row:last-child { border-bottom: 0; }
.stock-alert-row img { width: 32px; height: 30px; border-radius: 6px; object-fit: cover; }
.stock-alert-row strong,
.stock-alert-row span small,
.stock-alert-row div small { display: block; }
.stock-alert-row strong { font-size: 11.5px; }
.stock-alert-row span small { color: var(--ink-soft); font-size: 9.5px; }
.stock-alert-row div { text-align: right; }
.stock-alert-row div b { display: block; color: var(--danger); font-size: 14px; }
.stock-alert-row div small { color: var(--ink-soft); font-size: 9.5px; }
.admin-activity ul { list-style: none; margin: 0; padding: 6px 12px 10px; }
.admin-activity li { display: flex; align-items: center; gap: 9px; min-height: 46px; border-bottom: 1px solid var(--line); }
.admin-activity li:last-child { border-bottom: 0; }
.admin-activity li > i { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--green-soft); font-size: 12px; }
.admin-activity strong,
.admin-activity small { display: block; }
.admin-activity strong { font-size: 11.5px; }
.admin-activity small { color: var(--ink-soft); font-size: 9.5px; }
.admin-summary-tabs { display: flex; gap: 6px; margin-bottom: 10px; overflow-x: auto; }
.admin-summary-tabs button { min-width: 104px; min-height: 48px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; text-align: left; cursor: pointer; }
.admin-summary-tabs button span,
.admin-summary-tabs button strong { display: block; }
.admin-summary-tabs button span { color: var(--ink-soft); font-size: 10.5px; }
.admin-summary-tabs button strong { margin-top: 1px; font-size: 16px; }
.admin-summary-tabs button.active { color: #fff; border-color: #343c39; background: #343c39; }
.admin-summary-tabs button.active span { color: rgba(255,255,255,.66); }
.admin-filter-card { margin-bottom: 10px; padding: 10px 12px; }
.admin-filter-grid { display: grid; grid-template-columns: 1.45fr .8fr .8fr 1fr auto; gap: 8px; align-items: end; }
.admin-filter-grid.product-filter { grid-template-columns: repeat(4,.8fr) 1.25fr auto; }
.admin-filter-grid label > span { display: block; margin-bottom: 4px; color: var(--ink-soft); font-size: 10.5px; font-weight: 700; }
.admin-filter-grid .input,
.admin-filter-grid .select { width: 100%; height: 32px; padding-top: 0; padding-bottom: 0; font-size: 11.5px; }
.filter-inline { display: flex; align-items: center; gap: 5px; }
.filter-inline em { color: var(--ink-soft); font-size: 10.5px; font-style: normal; white-space: nowrap; }
.admin-table-card { overflow: hidden; }
.admin-table-toolbar { min-height: 43px; padding: 7px 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.admin-table-toolbar > div { display: flex; align-items: center; gap: 5px; }
.admin-table-toolbar .check-row { margin-right: 4px; font-size: 11.5px; }
.admin-table-toolbar > span { color: var(--ink-soft); font-size: 10.5px; }
.admin-order-table { min-width: 1180px; }
.table-actions { display: flex; gap: 4px; }
.table-actions button { min-height: 26px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 10.5px; cursor: pointer; }
.table-actions button:first-child { color: var(--brand); border-color: #e1c5b9; }
.admin-pagination { min-height: 45px; display: flex; align-items: center; justify-content: center; gap: 4px; border-top: 1px solid var(--line); }
.admin-pagination button { width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 10.5px; cursor: pointer; }
.admin-pagination button.active { color: #fff; border-color: #343c39; background: #343c39; }
.fulfillment-flow { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 10px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.fulfillment-flow > div { min-width: 130px; display: flex; align-items: center; gap: 9px; }
.fulfillment-flow > div > i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: #7c8581; background: #f1f3f2; }
.fulfillment-flow > div.active > i { color: var(--brand); background: var(--brand-soft); }
.fulfillment-flow strong,
.fulfillment-flow small { display: block; }
.fulfillment-flow strong { font-size: 11.5px; }
.fulfillment-flow small { color: var(--ink-soft); font-size: 10.5px; }
.fulfillment-flow > i { color: #c4c9c6; font-size: 10.5px; }
.admin-two-col { display: grid; grid-template-columns: 1.35fr .65fr; gap: 10px; margin-bottom: 10px; }
.admin-two-col.equal { grid-template-columns: 1fr 1fr; }
.supplier-list,
.dispatch-list { padding: 6px 11px 9px; }
.supplier-list article { display: grid; grid-template-columns: 34px 1fr 72px 50px; align-items: center; gap: 8px; min-height: 55px; border-bottom: 1px solid var(--line); }
.supplier-list article:last-child { border-bottom: 0; }
.supplier-logo { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--brand); font-size: 11.5px; font-weight: 800; }
.supplier-logo.blue { background: var(--blue); }
.supplier-logo.green { background: var(--green); }
.supplier-list strong,
.supplier-list small,
.supplier-list article > div b { display: block; }
.supplier-list strong { font-size: 11.5px; }
.supplier-list small { color: var(--ink-soft); font-size: 9.5px; }
.supplier-list article > div { text-align: right; }
.supplier-list article > div b { font-size: 12.5px; }
.supplier-list button { height: 27px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 10.5px; }
.dispatch-list article { display: grid; grid-template-columns: 43px 1fr auto; align-items: center; gap: 8px; min-height: 55px; border-bottom: 1px solid var(--line); }
.dispatch-list article:last-child { border-bottom: 0; }
.dispatch-time { color: var(--brand); font-size: 12px; font-weight: 800; }
.dispatch-list strong,
.dispatch-list small { display: block; }
.dispatch-list strong { font-size: 11.5px; }
.dispatch-list small { color: var(--ink-soft); font-size: 9.5px; }
.mini-search { position: relative; width: 190px; }
.mini-search i { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); color: #8f9692; font-size: 11.5px; }
.mini-search input { width: 100%; height: 29px; padding: 0 8px 0 26px; border: 1px solid var(--line); border-radius: 7px; font-size: 10.5px; outline: none; }
.table-input { width: 112px; height: 27px; padding: 0 7px; border: 1px solid var(--line); border-radius: 6px; font-size: 10.5px; }
.product-admin-table { min-width: 1180px; }
.product-admin-table .product-cell img { width: 38px; height: 34px; }
.product-admin-table .product-cell span { display: block; }
.stock-input { width: 48px; height: 27px; padding: 0 6px; border: 1px solid var(--line); border-radius: 6px; font-size: 11.5px; }
.stock-input.danger { color: var(--danger); border-color: #e2b8b8; background: #fff8f8; }
.stock-input.warning { color: #8a681c; border-color: #e4d39b; background: #fffdf5; }
.member-kpis { grid-template-columns: repeat(4,1fr); }
.verification-layout { grid-template-columns: 1.35fr .65fr; }
.verification-list { padding: 5px 11px 9px; }
.verification-list article { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; min-height: 62px; border-bottom: 1px solid var(--line); }
.verification-list article:last-child { border-bottom: 0; }
.member-avatar { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--brand); font-size: 11.5px; font-weight: 800; }
.member-avatar.blue { background: var(--blue); }
.member-avatar.green { background: var(--green); }
.verification-list strong,
.verification-list small,
.verification-list em { display: block; }
.verification-list strong { font-size: 11.5px; }
.verification-list small { color: var(--ink-soft); font-size: 9.5px; }
.verification-list em { margin-top: 2px; color: #987048; font-size: 9.5px; font-style: normal; }
.verification-list article > div { display: flex; gap: 4px; }
.member-donut { display: grid; grid-template-columns: 118px 1fr; align-items: center; gap: 12px; padding: 16px; }
.donut { width: 106px; height: 106px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--brand) 0 93%, var(--green) 93% 96.5%, #7a837f 96.5% 97.7%, #d8dcda 97.7%); }
.donut::before { content: ''; width: 72px; height: 72px; border-radius: 50%; background: #fff; }
.donut > span { position: absolute; text-align: center; }
.donut strong,
.donut small { display: block; }
.donut strong { font-size: 17px; }
.donut small { color: var(--ink-soft); font-size: 9.5px; }
.member-donut ul { list-style: none; margin: 0; padding: 0; }
.member-donut li { display: grid; grid-template-columns: 8px 1fr auto auto; gap: 6px; align-items: center; min-height: 27px; border-bottom: 1px solid var(--line); font-size: 10.5px; }
.member-donut li i { width: 6px; height: 6px; border-radius: 50%; background: var(--dot); }
.member-donut li em { color: var(--ink-soft); font-style: normal; }
.point-admin-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 10px; }
.point-admin-summary article { min-height: 73px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.point-admin-summary span,
.point-admin-summary strong,
.point-admin-summary small { display: block; }
.point-admin-summary span { color: var(--ink-soft); font-size: 10.5px; }
.point-admin-summary strong { margin-top: 2px; font-size: 16px; }
.point-admin-summary small { color: #8a918e; font-size: 9.5px; }
.point-settings-layout { grid-template-columns: 1.35fr .65fr; }
.setting-form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 18px; padding: 7px 13px 4px; }
.setting-form-grid > label { min-height: 59px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); }
.setting-form-grid > label > span strong,
.setting-form-grid > label > span small { display: block; }
.setting-form-grid > label > span strong { font-size: 11.5px; }
.setting-form-grid > label > span small { color: var(--ink-soft); font-size: 9.5px; }
.setting-form-grid > label > div { width: 92px; height: 30px; display: grid; grid-template-columns: 1fr 27px; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.setting-form-grid input { min-width: 0; border: 0; padding: 0 7px; font-size: 11.5px; outline: none; text-align: right; }
.setting-form-grid em { display: grid; place-items: center; color: var(--ink-soft); background: #f4f6f5; font-size: 10.5px; font-style: normal; }
.setting-checks { padding: 7px 13px 12px; }
.setting-checks label { min-height: 50px; display: flex; align-items: flex-start; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.setting-checks label:last-child { border-bottom: 0; }
.setting-checks input { margin-top: 3px; accent-color: var(--brand); }
.setting-checks strong,
.setting-checks small { display: block; }
.setting-checks strong { font-size: 11.5px; }
.setting-checks small { color: var(--ink-soft); font-size: 9.5px; }
.point-simulator { align-self: start; }
.point-simulator > label { position: relative; display: block; margin: 10px 13px 0; color: var(--ink-soft); font-size: 10.5px; }
.point-simulator > label input { width: 100%; height: 32px; margin-top: 4px; padding: 0 36px 0 9px; border: 1px solid var(--line); border-radius: 7px; text-align: right; font-size: 11.5px; }
.point-simulator > label em { position: absolute; right: 10px; bottom: 7px; color: var(--ink-soft); font-size: 10.5px; font-style: normal; }
.sim-result { margin: 12px 13px 13px; padding: 11px; border-radius: 8px; background: #f3f6f4; }
.sim-result > div { min-height: 29px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e1e6e3; font-size: 10.5px; }
.sim-result > div strong { font-size: 12px; }
.sim-result > div:nth-child(3) strong { color: var(--brand); }
.sim-result > small { display: block; margin-top: 8px; color: var(--ink-soft); font-size: 9.5px; line-height: 1.5; }
.admin-calendar-overview { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 10px; }
.mini-admin-calendar { padding: 11px; }
.mini-admin-calendar .week,
.mini-admin-calendar .days { display: grid; grid-template-columns: repeat(7,1fr); }
.mini-admin-calendar .week span { height: 27px; display: grid; place-items: center; color: var(--ink-soft); font-size: 10.5px; }
.mini-admin-calendar .days span { position: relative; min-height: 65px; padding: 7px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 11.5px; }
.mini-admin-calendar .days span:nth-child(7n) { border-right: 0; }
.mini-admin-calendar .days span.out { color: #c1c6c3; background: #fafbfa; }
.mini-admin-calendar .days span.today { color: #fff; background: #343c39; }
.mini-admin-calendar .days span em { position: absolute; right: 6px; bottom: 6px; min-width: 18px; height: 18px; display: grid; place-items: center; border-radius: 9px; color: var(--brand); background: var(--brand-soft); font-size: 9.5px; font-style: normal; font-weight: 800; }
.mini-admin-calendar .days span.today em { color: #343c39; background: #fff; }
.admin-calendar-overview > aside { display: grid; align-content: start; gap: 10px; }
.today-schedule-list { padding: 6px 11px 9px; }
.today-schedule-list article { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 8px; min-height: 53px; border-bottom: 1px solid var(--line); }
.today-schedule-list article:last-child { border-bottom: 0; }
.today-schedule-list time { color: var(--brand); font-size: 12px; font-weight: 800; }
.today-schedule-list strong,
.today-schedule-list small { display: block; }
.today-schedule-list strong { font-size: 11.5px; }
.today-schedule-list small { color: var(--ink-soft); font-size: 9.5px; }
.today-schedule-list em { min-width: 28px; height: 20px; display: grid; place-items: center; border-radius: 6px; color: var(--blue); background: var(--blue-soft); font-size: 9.5px; font-style: normal; font-weight: 800; }
.today-schedule-list em.green { color: var(--green); background: var(--green-soft); }
.today-schedule-list em.orange { color: var(--brand); background: var(--brand-soft); }
.conflict-card article { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; min-height: 58px; margin: 0 11px; border-bottom: 1px solid var(--line); }
.conflict-card article:last-child { border-bottom: 0; }
.conflict-card article > i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--danger); background: var(--danger-soft); }
.conflict-card strong,
.conflict-card small { display: block; }
.conflict-card strong { font-size: 11.5px; }
.conflict-card small { color: var(--ink-soft); font-size: 9.5px; }
.conflict-card button { height: 25px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 9.5px; }
.job-admin-layout { grid-template-columns: 1.35fr .65fr; }
.job-review-list { padding: 5px 11px 9px; }
.job-review-list article { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 9px; min-height: 65px; border-bottom: 1px solid var(--line); }
.job-review-list article:last-child { border-bottom: 0; }
.review-status { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 9px; color: var(--blue); background: var(--blue-soft); font-size: 10.5px; font-weight: 800; }
.review-status.urgent { color: var(--danger); background: var(--danger-soft); }
.review-status.team { color: var(--green); background: var(--green-soft); }
.job-review-list strong,
.job-review-list small,
.job-review-list em { display: block; }
.job-review-list strong { font-size: 11.5px; }
.job-review-list small { color: var(--ink-soft); font-size: 9.5px; }
.job-review-list em { margin-top: 2px; color: #987048; font-size: 9.5px; font-style: normal; }
.job-review-list article > div:last-child { display: flex; gap: 4px; }
.report-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 11px; }
.report-stats > div { min-height: 62px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fafbfa; }
.report-stats i { color: var(--danger); font-size: 15px; }
.report-stats span,
.report-stats strong { display: block; }
.report-stats span { margin-top: 6px; color: var(--ink-soft); font-size: 9.5px; }
.report-stats strong { font-size: 12.5px; }
.admin-rule-note { margin: 0 11px 11px; padding: 10px; border-radius: 8px; background: #f4f6f5; }
.admin-rule-note strong { font-size: 10.5px; }
.admin-rule-note ul { margin: 6px 0 0; padding-left: 15px; color: var(--ink-soft); font-size: 9.5px; line-height: 1.75; }
.notice-admin-list,
.banner-admin-list { padding: 5px 11px 9px; }
.notice-admin-list article { display: grid; grid-template-columns: 30px 1fr auto 28px; align-items: center; gap: 8px; min-height: 57px; border-bottom: 1px solid var(--line); }
.notice-admin-list article:last-child { border-bottom: 0; }
.notice-pin { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--brand); background: var(--brand-soft); }
.notice-pin.gray { color: #66706d; background: #eef0ef; }
.notice-pin.blue { color: var(--blue); background: var(--blue-soft); }
.notice-admin-list strong,
.notice-admin-list small { display: block; }
.notice-admin-list strong { font-size: 11.5px; }
.notice-admin-list small { color: var(--ink-soft); font-size: 9.5px; }
.banner-admin-list article { display: grid; grid-template-columns: 22px 42px 1fr auto; align-items: center; gap: 8px; min-height: 59px; border-bottom: 1px solid var(--line); }
.banner-admin-list article:last-child { border-bottom: 0; }
.banner-admin-list article > span { color: var(--ink-soft); font-size: 10.5px; }
.banner-thumb { width: 40px; height: 35px; display: grid; place-items: center; border-radius: 7px; color: var(--brand); background: var(--brand-soft); }
.banner-thumb.green { color: var(--green); background: var(--green-soft); }
.banner-thumb.gray { color: #626a67; background: #eef0ef; }
.banner-admin-list strong,
.banner-admin-list small { display: block; }
.banner-admin-list strong { font-size: 11.5px; }
.banner-admin-list small { color: var(--ink-soft); font-size: 9.5px; }
.toggle { display: block; }
.toggle input { display: none; }
.toggle i { position: relative; width: 30px; height: 17px; display: block; border-radius: 9px; background: #cfd4d1; cursor: pointer; }
.toggle i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; transition: .18s; }
.toggle input:checked + i { background: var(--green); }
.toggle input:checked + i::after { transform: translateX(13px); }
.settings-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.admin-form-list { padding: 7px 13px 12px; }
.admin-form-list > label { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 10px; min-height: 49px; border-bottom: 1px solid var(--line); }
.admin-form-list > label:last-child { border-bottom: 0; }
.admin-form-list > label > span { font-size: 11.5px; font-weight: 700; }
.admin-form-list .input,
.admin-form-list .select { height: 31px; font-size: 11.5px; }
.admin-form-list .textarea { min-height: 70px; margin: 8px 0; font-size: 10.5px; line-height: 1.5; resize: vertical; }
.admin-role-list { padding: 5px 11px 9px; }
.admin-role-list article { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; min-height: 57px; border-bottom: 1px solid var(--line); }
.admin-role-list article:last-child { border-bottom: 0; }
.admin-role-list strong,
.admin-role-list small { display: block; }
.admin-role-list strong { font-size: 11.5px; }
.admin-role-list small { color: var(--ink-soft); font-size: 9.5px; }
.admin-role-list em { color: #8a918e; font-size: 9.5px; font-style: normal; font-weight: 800; }
.admin-modal .modal-head p { margin: 2px 0 0; color: var(--ink-soft); font-size: 11.5px; }
.admin-modal .modal-body { padding-top: 16px; }

/* Responsive user and admin */
@media (max-width: 1280px) {
  .admin-kpi-grid-v2 { grid-template-columns: repeat(3,1fr); }
  .admin-dashboard-layout { grid-template-columns: minmax(0,1fr) 270px; }
  .admin-filter-grid.product-filter { grid-template-columns: repeat(3,1fr); }
  .admin-filter-grid.product-filter button { align-self: end; }
}
@media (max-width: 1080px) {
  .workbench-grid { grid-template-columns: repeat(2,1fr); }
  .admin-shell-v2 { grid-template-columns: 190px minmax(0,1fr); }
  .admin-dashboard-layout { grid-template-columns: 1fr; }
  .admin-dashboard-side { grid-template-columns: repeat(3,1fr); }
  .admin-two-col,
  .admin-two-col.equal,
  .verification-layout,
  .point-settings-layout,
  .job-admin-layout { grid-template-columns: 1fr; }
  .admin-calendar-overview { grid-template-columns: 1fr; }
  .admin-calendar-overview > aside { grid-template-columns: 1fr 1fr; }
  .admin-filter-grid { grid-template-columns: repeat(3,1fr); }
  .admin-filter-grid > button { align-self: end; }
}
@media (max-width: 920px) {
  .refined-ui .hero-main { min-height: 370px; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .process-card:nth-child(2) { border-right: 0; }
  .process-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .business-notice-strip { grid-template-columns: 1fr; }
  .admin-shell-v2 { display: block; }
  .admin-sidebar-v2 { position: fixed; z-index: 500; left: 0; top: 0; bottom: 0; width: 218px; height: 100vh; transform: translateX(-100%); transition: .22s; }
  .admin-sidebar-v2.open { transform: translateX(0); }
  .admin-mobile-menu { display: grid; place-items: center; }
  .admin-content-v2 { padding: 14px; }
  .admin-dashboard-side { grid-template-columns: 1fr; }
  .admin-header-v2 { padding: 0 12px; }
  .admin-search { width: 220px; }
  .settings-section-grid { grid-template-columns: 1fr; }
  .fulfillment-flow { justify-content: flex-start; overflow-x: auto; }
  .fulfillment-flow > div { flex: 0 0 126px; }
}
@media (max-width: 680px) {
  .refined-ui { background: #f4f5f4; }
  .refined-ui body { font-size: 14px; }
  .refined-ui .container { width: min(calc(100% - 24px), var(--container)); }
  .refined-ui .site-header { box-shadow: 0 1px 0 rgba(28,35,32,.06); }
  .refined-ui .header-inner { min-height: 58px; }
  .refined-ui .brand-mark { width: 34px; height: 34px; }
  .refined-ui .brand-text { font-size: 17px; }
  .refined-ui .brand-text small { display: none; }
  .refined-ui .header-actions { gap: 5px; }
  .refined-ui .icon-btn { width: 38px; height: 38px; border: 0; background: #f4f6f5; font-size: 18px; }
  .refined-ui .header-actions > a.icon-btn:first-of-type { display: grid; }
  .refined-ui .mobile-menu-btn { background: #252d2a; color: #fff; }
  .refined-ui .mobile-drawer .drawer-panel { width: min(90vw, 370px); padding: 18px; }
  .refined-ui .drawer-head { margin-bottom: 16px; }
  .refined-ui .drawer-profile { margin-bottom: 11px; padding: 15px; border-radius: 13px; }
  .refined-ui .drawer-footer { left: 18px; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); }
  .refined-ui .mobile-bottom-nav { min-height: 70px; padding: 7px 6px max(7px, env(safe-area-inset-bottom)); border-top: 0; box-shadow: 0 -7px 22px rgba(28,35,32,.09); }
  .refined-ui .mobile-bottom-nav a { display: flex; flex-direction: column; justify-content: center; font-size: 9px; font-weight: 700; }
  .refined-ui .mobile-bottom-nav a span { width: 38px; height: 32px; margin-bottom: 2px; border-radius: 12px; font-size: 19px; }
  .refined-ui .mobile-bottom-nav a.active span { color: #fff; background: var(--brand); box-shadow: 0 5px 12px rgba(185,88,52,.20); }
  .refined-ui .hero { padding: 11px 0 8px; }
  .refined-ui .hero-main { min-height: 380px; padding: 25px 21px; border-radius: 16px; }
  .refined-ui .hero-copy h1 { margin-top: 12px; font-size: 32px; line-height: 1.18; }
  .refined-ui .hero-copy p { font-size: 13px; line-height: 1.65; }
  .refined-ui .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .refined-ui .hero-actions .btn { padding: 0 10px; font-size: 12px; }
  .refined-ui .hero-stats { left: 21px; right: 21px; bottom: 20px; gap: 10px; justify-content: space-between; }
  .refined-ui .hero-stats strong { font-size: 15px; }
  .refined-ui .hero-stats span { font-size: 9px; }
  .refined-ui .hero-side { display: none; }
  .mobile-workbench { padding-top: 7px; }
  .workbench-head { margin: 2px 2px 8px; }
  .workbench-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .workbench-grid > a { min-height: 64px; padding: 10px; border-radius: 11px; }
  .workbench-grid > a > i { width: 34px; height: 34px; font-size: 15px; }
  .workbench-grid small { font-size: 9px; }
  .workbench-grid strong { font-size: 12px; }
  .refined-ui .section-sm { padding: 20px 0; }
  .refined-ui .quick-grid { gap: 7px; }
  .refined-ui .quick-item { min-height: 102px; padding: 13px 7px; border-radius: 12px; }
  .refined-ui .quick-item:last-child { grid-column: auto; }
  .refined-ui .quick-icon { width: 40px; height: 40px; margin-bottom: 7px; font-size: 19px; }
  .refined-ui .quick-item strong { font-size: 12px; }
  .refined-ui .quick-item > span:last-child { display: none; }
  .refined-ui .section { padding: 31px 0; }
  .refined-ui .section-head { margin-bottom: 15px; }
  .refined-ui .section-head h2 { font-size: 22px; }
  .refined-ui .product-grid { gap: 8px; }
  .refined-ui .product-card { border-radius: 11px; }
  .refined-ui .product-body { padding: 10px; }
  .refined-ui .product-brand { font-size: 9px; }
  .refined-ui .product-title { min-height: 36px; font-size: 12px; line-height: 1.45; }
  .refined-ui .price-line strong { font-size: 15px; }
  .refined-ui .point-text { font-size: 9px; }
  .refined-ui .wish-btn { width: 34px; height: 34px; font-size: 16px; }
  .purchase-flow { padding-top: 25px; }
  .process-grid { grid-template-columns: 1fr 1fr; border-radius: 12px; }
  .process-card { min-height: 146px; padding: 18px 14px 14px; }
  .process-card > i { width: 36px; height: 36px; margin-bottom: 10px; font-size: 15px; }
  .process-card strong { font-size: 12px; }
  .process-card p { font-size: 9px; }
  .business-notice-strip { margin-top: 0; }
  .business-notice-strip > div { min-height: 64px; padding: 10px 12px; }
  .trade-facts { grid-template-columns: 1fr 1fr; }
  .trade-facts > div:nth-child(2) { border-right: 0; }
  .trade-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .coverage-form { flex-wrap: wrap; }
  .coverage-form > strong { width: 100%; margin-left: 0; padding-top: 4px; }
  .policy-row { grid-template-columns: 1fr 1fr; gap: 6px 10px; padding: 10px 12px; }
  .policy-row.policy-head { display: none; }
  .policy-row > span:nth-child(3)::before { content: 'B 적립: '; color: var(--ink-soft); font-size: 9px; }
  .policy-row > span:nth-child(4)::before { content: '재적립: '; color: var(--ink-soft); font-size: 9px; }
  .job-trust-strip { flex-wrap: wrap; gap: 7px 12px; }
  .job-trust-strip a { width: 100%; margin-left: 0; }
  .signup-flow-note { grid-template-columns: 1fr; }
  .profile-verification { align-items: flex-start; flex-direction: column; }
  .mobile-agenda { display: block; margin-bottom: 12px; }
  .calendar-shell { display: none; }
  .agenda-summary { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
  .agenda-summary span,
  .agenda-summary strong { display: block; }
  .agenda-summary span { color: var(--ink-soft); font-size: 10px; }
  .agenda-summary strong { font-size: 15px; }
  .agenda-day { display: grid; grid-template-columns: 44px 1fr; gap: 10px; margin-bottom: 7px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .agenda-day.active { border-color: #d6b8aa; box-shadow: inset 3px 0 0 var(--brand); }
  .agenda-date { text-align: center; }
  .agenda-date strong,
  .agenda-date span { display: block; }
  .agenda-date strong { font-size: 20px; }
  .agenda-date span { color: var(--ink-soft); font-size: 9px; }
  .agenda-day a { min-width: 0; }
  .agenda-day a > span,
  .agenda-day a > strong,
  .agenda-day a > small { display: block; }
  .agenda-time { color: var(--brand); font-size: 9px; font-weight: 800; }
  .agenda-time.green { color: var(--green); }
  .agenda-time.blue { color: var(--blue); }
  .agenda-day a > strong { margin: 2px 0; font-size: 13px; }
  .agenda-day a > small { color: var(--ink-soft); font-size: 9px; }
  .agenda-day a > small i { width: 14px; }
  .refined-ui .modal-dialog { border-radius: 18px 18px 0 0; }
  .refined-ui .site-footer { display: none; }

  /* Admin mobile app mode */
  .admin-body.refined-ui { padding-bottom: 0; }
  .admin-header-v2 { position: sticky; top: 0; z-index: 90; min-height: 52px; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
  .admin-header-left > div span { display: none; }
  .admin-header-left > div strong { font-size: 14px; }
  .admin-header-actions .admin-search,
  .admin-header-actions .admin-site-btn span,
  .admin-header-actions .admin-header-btn:first-of-type { display: none; }
  .admin-site-btn { width: 34px; padding: 0; justify-content: center; }
  .admin-content-v2 { padding: 11px; }
  .admin-page-head { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 10px; }
  .admin-page-head h1 { font-size: 18px; }
  .admin-page-head p { font-size: 9px; }
  .admin-alert-line { align-items: flex-start; flex-wrap: wrap; padding: 9px 10px; line-height: 1.45; }
  .admin-alert-line > button { width: 100%; margin: 5px 0 0 20px; text-align: left; }
  .admin-kpi-grid-v2,
  .member-kpis { grid-template-columns: repeat(2,1fr); gap: 7px; }
  .admin-kpi-grid-v2 article { min-height: 76px; padding: 9px; }
  .admin-kpi-grid-v2 article:nth-child(n+5) { display: none; }
  .admin-dashboard-layout { gap: 8px; }
  .admin-chart-summary { grid-template-columns: 1fr 1fr; }
  .admin-chart-summary > div:nth-child(3) { display: none; }
  .dense-chart { height: 140px; }
  .admin-card-head { min-height: 44px; }
  .admin-dashboard-side { grid-template-columns: 1fr; }
  .admin-stock-alert,
  .admin-activity { display: none; }
  .admin-summary-tabs { margin: 0 -11px 9px; padding: 0 11px; }
  .admin-summary-tabs button { flex: 0 0 92px; }
  .admin-filter-grid,
  .admin-filter-grid.product-filter { grid-template-columns: 1fr 1fr; }
  .admin-filter-grid label:nth-child(n+4) { display: none; }
  .admin-filter-grid > button { grid-column: span 2; }
  .admin-table-toolbar { align-items: flex-start; flex-direction: column; }
  .admin-table-toolbar > span { display: none; }
  .admin-two-col,
  .admin-two-col.equal { gap: 8px; }
  .fulfillment-flow { margin: 0 -11px 9px; border-left: 0; border-right: 0; border-radius: 0; }
  .point-admin-summary { grid-template-columns: 1fr 1fr; }
  .setting-form-grid { grid-template-columns: 1fr; }
  .admin-calendar-overview > aside { grid-template-columns: 1fr; }
  .member-donut { grid-template-columns: 95px 1fr; }
  .donut { width: 88px; height: 88px; }
  .donut::before { width: 60px; height: 60px; }
  .settings-section-grid { gap: 8px; }
  .admin-form-list > label { grid-template-columns: 105px 1fr; }
}

/* =========================================================
   v1.3 — IT SERVICE VISUAL SYSTEM
   Larger admin typography + polished user/mobile experience
   ========================================================= */

/* User service palette */
body.refined-ui:not(.admin-body) {
  --ink: #101828;
  --ink-soft: #667085;
  --brand: #2563eb;
  --brand-dark: #1849a9;
  --brand-soft: #eef4ff;
  --green: #0f9f8f;
  --green-soft: #e8faf6;
  --blue: #2e90fa;
  --blue-soft: #eff8ff;
  --yellow: #e89a16;
  --yellow-soft: #fffaeb;
  --danger: #e5484d;
  --danger-soft: #fff1f2;
  --line: #e3eaf3;
  --line-dark: #cdd8e6;
  --paper: #ffffff;
  --canvas: #f5f8fc;
  --canvas-deep: #edf3f9;
  --shadow-sm: 0 7px 24px rgba(16, 24, 40, .07);
  --shadow-md: 0 18px 46px rgba(16, 24, 40, .11);
  --shadow-lg: 0 28px 72px rgba(16, 24, 40, .17);
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(46,144,250,.07), transparent 31%),
    radial-gradient(circle at 92% 7%, rgba(15,159,143,.06), transparent 27%),
    var(--canvas);
}
body.refined-ui:not(.admin-body) ::selection { color: #fff; background: #2563eb; }

/* Global service chrome */
.refined-ui:not(.admin-body) .topbar {
  background: linear-gradient(90deg, #081329 0%, #0d1c38 58%, #0d2d3c 100%);
  box-shadow: inset 0 -1px rgba(255,255,255,.05);
}
.refined-ui:not(.admin-body) .topbar strong { color: #8dd8ff; }
.refined-ui:not(.admin-body) .site-header {
  background: rgba(255,255,255,.88);
  border-bottom-color: rgba(203,214,229,.78);
  box-shadow: 0 8px 28px rgba(15,23,42,.045);
  backdrop-filter: blur(20px) saturate(150%);
}
.refined-ui:not(.admin-body) .header-inner { min-height: 76px; }
.refined-ui:not(.admin-body) .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  filter: drop-shadow(0 6px 10px rgba(37,99,235,.18));
}
.refined-ui:not(.admin-body) .brand-text { color: #111827; font-size: 20px; }
.refined-ui:not(.admin-body) .brand-text small { color: #77839a; font-size: 8.5px; letter-spacing: .18em; }
.refined-ui:not(.admin-body) .desktop-nav { gap: 4px; }
.refined-ui:not(.admin-body) .desktop-nav a {
  position: relative;
  padding: 12px 14px;
  color: #475467;
  font-weight: 750;
}
.refined-ui:not(.admin-body) .desktop-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 4px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg,#2563eb,#0f9f8f);
  transition: .22s ease;
}
.refined-ui:not(.admin-body) .desktop-nav a:hover,
.refined-ui:not(.admin-body) .desktop-nav a.active { color: #1554d1; box-shadow: none; }
.refined-ui:not(.admin-body) .desktop-nav a:hover::after,
.refined-ui:not(.admin-body) .desktop-nav a.active::after { left: 14px; right: 14px; }
.refined-ui:not(.admin-body) .header-search input {
  height: 44px;
  border-color: #dce5f0;
  border-radius: 12px;
  background: #f6f9fd;
}
.refined-ui:not(.admin-body) .header-search input:focus {
  border-color: #84adff;
  box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}
.refined-ui:not(.admin-body) .header-search button { color: #475467; font-size: 18px; }
.refined-ui:not(.admin-body) .icon-btn {
  width: 44px;
  height: 44px;
  border-color: #dbe4ef;
  border-radius: 12px;
  color: #344054;
  background: rgba(255,255,255,.9);
  box-shadow: 0 4px 12px rgba(16,24,40,.04);
}
.refined-ui:not(.admin-body) .icon-btn:hover {
  color: #1554d1;
  border-color: #a7c4ff;
  background: #f5f8ff;
  box-shadow: 0 8px 20px rgba(37,99,235,.10);
}
.refined-ui:not(.admin-body) .icon-btn .badge {
  min-width: 19px;
  height: 19px;
  background: linear-gradient(135deg,#ff5b5f,#d92d3b);
}
.refined-ui:not(.admin-body) .profile-chip {
  border-color: #dbe4ef;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(16,24,40,.04);
}
.refined-ui:not(.admin-body) .profile-chip .avatar {
  background: linear-gradient(145deg,#1554d1,#0f9f8f);
}

/* Buttons and form controls */
.refined-ui:not(.admin-body) .btn { border-radius: 10px; font-weight: 800; letter-spacing: -.015em; }
.refined-ui:not(.admin-body) .btn-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg,#2f6fed 0%,#175cd3 70%,#0f9f8f 140%);
  box-shadow: 0 8px 18px rgba(37,99,235,.20);
}
.refined-ui:not(.admin-body) .btn-primary:hover {
  border-color: transparent;
  background: linear-gradient(135deg,#195bd5,#1449ac);
  box-shadow: 0 12px 25px rgba(37,99,235,.27);
}
.refined-ui:not(.admin-body) .btn-dark {
  background: linear-gradient(135deg,#111d35,#162b48);
  box-shadow: 0 7px 16px rgba(15,23,42,.14);
}
.refined-ui:not(.admin-body) .btn-light { border-color: #d9e3ef; background: rgba(255,255,255,.92); }
.refined-ui:not(.admin-body) .btn-soft { color: #175cd3; background: #eef4ff; }
.refined-ui:not(.admin-body) :is(.input,.select,.textarea) {
  border-color: #d6e1ee;
  border-radius: 10px;
  background-color: #fff;
}
.refined-ui:not(.admin-body) :is(.input,.select,.textarea):focus {
  border-color: #84adff;
  box-shadow: 0 0 0 4px rgba(37,99,235,.09);
}

/* Home hero: a controlled tech visual rather than generic decorative cards */
.refined-ui:not(.admin-body) .hero { padding-top: 38px; }
.refined-ui:not(.admin-body) .hero-grid { gap: 18px; }
.refined-ui:not(.admin-body) .hero-main {
  min-height: 420px;
  border: 1px solid rgba(129,180,255,.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 86%, rgba(47,111,237,.36), transparent 29%),
    radial-gradient(circle at 76% 18%, rgba(44,224,196,.14), transparent 24%),
    linear-gradient(135deg,#091326 0%,#10284b 58%,#0b3b47 115%);
  box-shadow: 0 25px 58px rgba(9,19,38,.22);
}
.refined-ui:not(.admin-body) .hero-main::before {
  right: -90px;
  bottom: -155px;
  width: 470px;
  height: 470px;
  background:
    radial-gradient(circle at 38% 38%, rgba(94,214,255,.18), rgba(37,99,235,.06) 45%, transparent 64%);
  border: 1px solid rgba(255,255,255,.08);
}
.refined-ui:not(.admin-body) .hero-main::after {
  opacity: .52;
  background-image:
    linear-gradient(rgba(125,211,252,.07) 1px, transparent 1px),
    linear-gradient(90deg,rgba(125,211,252,.07) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(120deg,transparent 14%,#000 62%,transparent 98%);
}
.refined-ui:not(.admin-body) .hero-copy .eyebrow { color: #86e7d8; }
.refined-ui:not(.admin-body) .hero-copy h1 {
  text-wrap: balance;
  font-weight: 850;
  letter-spacing: -.062em;
  text-shadow: 0 8px 28px rgba(0,0,0,.15);
}
.refined-ui:not(.admin-body) .hero-copy p { color: rgba(225,235,248,.78); }
.refined-ui:not(.admin-body) .hero-main .btn-primary {
  background: linear-gradient(135deg,#3d7cff,#1f5bd8);
  box-shadow: 0 12px 28px rgba(33,97,226,.35);
}
.refined-ui:not(.admin-body) .hero-main .btn-ghost {
  color: #eff8ff;
  border-color: rgba(255,255,255,.30);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.refined-ui:not(.admin-body) .hero-stats > div { position: relative; padding-left: 15px; }
.refined-ui:not(.admin-body) .hero-stats > div::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(#68d7ff,#74f2d5);
}
.refined-ui:not(.admin-body) .hero-stats strong { color: #fff; }
.refined-ui:not(.admin-body) .hero-stats span { color: rgba(221,233,247,.63); }
.refined-ui:not(.admin-body) .hero-side { gap: 18px; }
.refined-ui:not(.admin-body) .hero-card {
  border-color: #d9e5f2;
  border-radius: 18px;
  box-shadow: 0 13px 32px rgba(16,24,40,.07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.refined-ui:not(.admin-body) .hero-card:hover {
  transform: translateY(-4px);
  border-color: #b7cdf4;
  box-shadow: 0 18px 40px rgba(16,24,40,.11);
}
.refined-ui:not(.admin-body) .hero-card.accent {
  background:
    radial-gradient(circle at 95% 95%,rgba(37,99,235,.11),transparent 38%),
    linear-gradient(140deg,#f8fbff,#eef4ff);
}
.refined-ui:not(.admin-body) .hero-card.green {
  background:
    radial-gradient(circle at 95% 95%,rgba(15,159,143,.12),transparent 38%),
    linear-gradient(140deg,#f7fffd,#eafaf6);
}
.refined-ui:not(.admin-body) .hero-card .card-icon { opacity: .14; color: #2563eb; }
.refined-ui:not(.admin-body) .hero-card.green .card-icon { color: #0f9f8f; }

/* Cards, data strips and commerce modules */
.refined-ui:not(.admin-body) :is(.card,.quick-item,.feature-card,.product-card,.job-card,.order-card,.point-card,.calendar-card) {
  border-color: #dde6f1;
}
.refined-ui:not(.admin-body) .card {
  box-shadow: 0 8px 25px rgba(16,24,40,.05);
}
.refined-ui:not(.admin-body) .mobile-workbench { padding-top: 18px; }
.refined-ui:not(.admin-body) .workbench-head > div span { color: #7a8699; }
.refined-ui:not(.admin-body) .workbench-grid { gap: 12px; }
.refined-ui:not(.admin-body) .workbench-grid > a {
  min-height: 80px;
  border-color: #dce6f1;
  border-radius: 15px;
  background: linear-gradient(145deg,#fff,#f9fbfe);
  box-shadow: 0 7px 20px rgba(16,24,40,.045);
  transition: .2s ease;
}
.refined-ui:not(.admin-body) .workbench-grid > a:hover { transform: translateY(-2px); border-color: #a9c4f8; box-shadow: 0 12px 26px rgba(37,99,235,.09); }
.refined-ui:not(.admin-body) .workbench-grid > a > i {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: #175cd3;
  background: linear-gradient(145deg,#eef4ff,#dce9ff);
  font-size: 20px;
}
.refined-ui:not(.admin-body) .workbench-grid > a:nth-child(2) > i { color: #087f71; background: linear-gradient(145deg,#e9faf6,#d2f4ec); }
.refined-ui:not(.admin-body) .workbench-grid > a:nth-child(3) > i { color: #b56c00; background: linear-gradient(145deg,#fff8e7,#ffedb8); }
.refined-ui:not(.admin-body) .workbench-grid > a:nth-child(4) > i { color: #1554d1; background: linear-gradient(145deg,#eff8ff,#d8efff); }
.refined-ui:not(.admin-body) .quick-grid { gap: 14px; }
.refined-ui:not(.admin-body) .quick-item {
  min-height: 142px;
  border-radius: 17px;
  background: linear-gradient(155deg,#fff,#f8fbff);
  box-shadow: 0 8px 22px rgba(16,24,40,.045);
}
.refined-ui:not(.admin-body) .quick-item:hover { border-color: #adc7f5; box-shadow: 0 15px 32px rgba(37,99,235,.10); }
.refined-ui:not(.admin-body) .quick-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg,#3478f6,#1656c6);
  box-shadow: 0 9px 18px rgba(37,99,235,.22);
}
.refined-ui:not(.admin-body) .quick-item:nth-child(2) .quick-icon { background: linear-gradient(145deg,#0fb3a1,#087f71); box-shadow: 0 9px 18px rgba(15,159,143,.18); }
.refined-ui:not(.admin-body) .quick-item:nth-child(3) .quick-icon { background: linear-gradient(145deg,#7f56d9,#5936a8); box-shadow: 0 9px 18px rgba(127,86,217,.18); }
.refined-ui:not(.admin-body) .quick-item:nth-child(4) .quick-icon { background: linear-gradient(145deg,#2e90fa,#1769aa); }
.refined-ui:not(.admin-body) .quick-item:nth-child(5) .quick-icon { background: linear-gradient(145deg,#f79009,#c86400); box-shadow: 0 9px 18px rgba(247,144,9,.18); }
.refined-ui:not(.admin-body) .quick-item strong { font-size: 15px; }
.refined-ui:not(.admin-body) .product-card {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16,24,40,.055);
}
.refined-ui:not(.admin-body) .product-card:hover { border-color: #abc7fa; box-shadow: 0 18px 38px rgba(16,24,40,.10); }
.refined-ui:not(.admin-body) .product-image {
  background:
    linear-gradient(135deg,rgba(255,255,255,.70),rgba(238,244,252,.4)),
    #eef3f8;
}
.refined-ui:not(.admin-body) .product-badge { border-radius: 7px; }
.refined-ui:not(.admin-body) .point-text { color: #175cd3; }
.refined-ui:not(.admin-body) .feature-grid { gap: 16px; }
.refined-ui:not(.admin-body) .feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 17px;
  background: linear-gradient(155deg,#fff,#f9fbff);
  box-shadow: 0 9px 25px rgba(16,24,40,.05);
}
.refined-ui:not(.admin-body) .feature-card::after {
  content: '';
  position: absolute;
  right: -42px;
  bottom: -54px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(37,99,235,.09),transparent 68%);
}
.refined-ui:not(.admin-body) .feature-card .feature-icon {
  color: #fff;
  background: linear-gradient(145deg,#2f6fed,#175cd3);
  box-shadow: 0 9px 20px rgba(37,99,235,.20);
}
.refined-ui:not(.admin-body) .feature-card:nth-child(2) .feature-icon { background: linear-gradient(145deg,#11b6a2,#087f71); }
.refined-ui:not(.admin-body) .feature-card:nth-child(3) .feature-icon { background: linear-gradient(145deg,#7f56d9,#5936a8); }
.refined-ui:not(.admin-body) .process-grid { border-color: #dbe6f2; border-radius: 17px; box-shadow: 0 11px 28px rgba(16,24,40,.05); }
.refined-ui:not(.admin-body) .process-card { background: linear-gradient(180deg,#fff,#fbfdff); }
.refined-ui:not(.admin-body) .process-card > span { color: #9aabd0; }
.refined-ui:not(.admin-body) .process-card > i {
  color: #fff;
  background: linear-gradient(145deg,#3478f6,#175cd3);
  box-shadow: 0 8px 17px rgba(37,99,235,.20);
}
.refined-ui:not(.admin-body) .business-notice-strip,
.refined-ui:not(.admin-body) .trade-facts,
.refined-ui:not(.admin-body) .point-policy-matrix { border-color: #dbe6f2; box-shadow: 0 8px 20px rgba(16,24,40,.04); }
.refined-ui:not(.admin-body) .business-notice-strip > div > i { color: #175cd3; background: #eef4ff; }
.refined-ui:not(.admin-body) .coverage-calc { border-color: #cfe2f6; background: linear-gradient(145deg,#f8fbff,#f2f8ff); }
.refined-ui:not(.admin-body) .job-trust-strip { border-color: #dbe6f2; box-shadow: 0 7px 20px rgba(16,24,40,.04); }
.refined-ui:not(.admin-body) .page-title-row h1 { color: #101828; }
.refined-ui:not(.admin-body) .eyebrow { color: #175cd3; }
.refined-ui:not(.admin-body) .eyebrow::before { background: linear-gradient(90deg,#2563eb,#0f9f8f); }
.refined-ui:not(.admin-body) .site-footer { background: linear-gradient(135deg,#071225,#0f2340 56%,#0b3440); }

/* Drawer */
.refined-ui:not(.admin-body) .mobile-drawer .drawer-panel { background: linear-gradient(180deg,#fff,#f6f9fd); }
.refined-ui:not(.admin-body) .drawer-profile { border: 1px solid #dce6f1; background: linear-gradient(145deg,#f7faff,#edf4ff); }
.refined-ui:not(.admin-body) .drawer-nav a > span { color: #175cd3; background: #eef4ff; }
.refined-ui:not(.admin-body) .drawer-nav a.active > span { color: #fff; background: linear-gradient(145deg,#3478f6,#175cd3); }
.refined-ui:not(.admin-body) .drawer-nav a.active,
.refined-ui:not(.admin-body) .drawer-nav a:hover { color: #175cd3; background: #eef4ff; }

/* Admin: keep information density but make every operational label readable */
.admin-body.refined-ui {
  --brand: #2563eb;
  --brand-dark: #1849a9;
  --brand-soft: #eef4ff;
  --green: #0f8f7f;
  --green-soft: #e8f7f3;
  --blue: #2e90fa;
  --blue-soft: #eff8ff;
  --line: #dfe6ee;
  --ink: #17212b;
  --ink-soft: #66727f;
  background: #f3f6f9;
  font-size: 14px;
}
.admin-body .admin-shell-v2 { grid-template-columns: 228px minmax(0,1fr); }
.admin-body .admin-sidebar-v2 { background: linear-gradient(180deg,#111c2d,#132532 54%,#10262b); }
.admin-body .admin-sidebar-v2 .admin-brand strong { font-size: 16px; }
.admin-body .admin-sidebar-v2 .admin-brand small { font-size: 9.5px; }
.admin-body .admin-user-v2 strong { font-size: 12.5px; }
.admin-body .admin-user-v2 span { font-size: 10px; }
.admin-body .admin-nav-v2 p { font-size: 10px; }
.admin-body .admin-nav-v2 a { min-height: 39px; font-size: 12.5px; }
.admin-body .admin-nav-v2 a i { width: 27px; font-size: 15px; }
.admin-body .admin-nav-v2 a.active::before { background: linear-gradient(#4f8cff,#42d8c0); }
.admin-body .admin-nav-v2 a.active i { color: #82b4ff; }
.admin-body .admin-nav-v2 a em { font-size: 10px; }
.admin-body .admin-sidebar-foot a { font-size: 11px; }
.admin-body .admin-sidebar-foot span { font-size: 9.5px; }
.admin-body .admin-header-v2 { min-height: 60px; }
.admin-body .admin-header-left > div span { font-size: 10.5px; }
.admin-body .admin-header-left > div strong { font-size: 15px; }
.admin-body .admin-search input { height: 38px; font-size: 12px; }
.admin-body .admin-header-btn { width: 38px; height: 38px; font-size: 14px; }
.admin-body .admin-site-btn { min-height: 38px; font-size: 12px; }
.admin-body .admin-content-v2 { padding: 20px; }
.admin-body .admin-kicker { font-size: 10px; }
.admin-body .admin-page-head h1 { font-size: 24px; }
.admin-body .admin-page-head p { font-size: 12.5px; }
.admin-body .admin-alert-line { min-height: 43px; font-size: 12px; }
.admin-body .admin-alert-line > button { font-size: 11.5px; }
.admin-body .admin-kpi-grid-v2 article { min-height: 92px; border-radius: 11px; }
.admin-body .kpi-icon { width: 39px; height: 39px; font-size: 16px; }
.admin-body .admin-kpi-grid-v2 article span { font-size: 11px; }
.admin-body .admin-kpi-grid-v2 article strong { font-size: 22px; }
.admin-body .admin-kpi-grid-v2 article strong small { font-size: 11px; }
.admin-body .admin-kpi-grid-v2 article em { font-size: 10px; }
.admin-body .admin-card { border-radius: 11px; box-shadow: 0 5px 16px rgba(15,23,42,.025); }
.admin-body .admin-card-head { min-height: 54px; padding: 11px 14px; }
.admin-body .admin-card-head h2 { font-size: 15px; }
.admin-body .admin-card-head p { font-size: 10.5px; }
.admin-body .admin-segment button { min-width: 42px; height: 29px; font-size: 10.5px; }
.admin-body .admin-chart-summary span { font-size: 10.5px; }
.admin-body .admin-chart-summary strong { font-size: 16px; }
.admin-body .admin-chart-summary em { font-size: 10px; }
.admin-body .chart-axis,
.admin-body .dense-bars small { font-size: 9px; }
.admin-body .admin-table th { font-size: 10.5px; }
.admin-body .admin-table td { font-size: 12px; }
.admin-body .admin-table td small { font-size: 10px; }
.admin-body .admin-table-dense .admin-table th,
.admin-body .admin-table-dense .admin-table td { padding: 10px 10px; }
.admin-body .admin-status { min-height: 24px; padding: 0 8px; font-size: 10.5px !important; }
.admin-body .table-icon-btn { width: 31px; height: 31px; font-size: 11.5px; }
.admin-body .admin-link { font-size: 11.5px; }
.admin-body .count-badge { font-size: 10px; }
.admin-body .admin-todo-list button { min-height: 56px; }
.admin-body .admin-todo-list button > i { width: 34px; height: 34px; font-size: 13px; }
.admin-body .admin-todo-list button strong { font-size: 12px; }
.admin-body .admin-todo-list button small { font-size: 10px; }
.admin-body .admin-todo-list button em { font-size: 12.5px; }
.admin-body .stock-alert-row { min-height: 59px; grid-template-columns: 40px 1fr 40px; }
.admin-body .stock-alert-row img { width: 36px; height: 34px; }
.admin-body .stock-alert-row strong { font-size: 11.5px; }
.admin-body .stock-alert-row span small,
.admin-body .stock-alert-row div small { font-size: 9.5px; }
.admin-body .stock-alert-row div b { font-size: 14px; }
.admin-body .admin-activity li { min-height: 52px; }
.admin-body .admin-activity strong { font-size: 11.5px; }
.admin-body .admin-activity small { font-size: 9.5px; }
.admin-body .admin-summary-tabs button { min-width: 114px; min-height: 54px; }
.admin-body .admin-summary-tabs button span { font-size: 10px; }
.admin-body .admin-summary-tabs button strong { font-size: 17px; }
.admin-body .admin-filter-card { padding: 12px 14px; }
.admin-body .admin-filter-grid label > span { font-size: 10.5px; }
.admin-body .admin-filter-grid .input,
.admin-body .admin-filter-grid .select { height: 36px; font-size: 11.5px; }
.admin-body .filter-inline em { font-size: 10.5px; }
.admin-body .admin-table-toolbar { min-height: 49px; padding: 8px 12px; }
.admin-body .admin-table-toolbar .check-row { font-size: 11px; }
.admin-body .admin-table-toolbar > span { font-size: 10.5px; }
.admin-body .table-actions button { min-height: 30px; font-size: 10.5px; }
.admin-body .admin-pagination button { width: 31px; height: 31px; font-size: 10.5px; }
.admin-body .fulfillment-flow :is(strong,span,small) { font-size: 11px; }
.admin-body .fulfillment-flow > i { font-size: 11px; }
.admin-body .product-cell strong { font-size: 12px; }
.admin-body .product-cell small { font-size: 10px; }
.admin-body .member-avatar { font-size: 11px; }
.admin-body .setting-form-grid > label > span,
.admin-body .setting-checks strong,
.admin-body .point-simulator > label,
.admin-body .sim-result > div { font-size: 11.5px; }
.admin-body .setting-form-grid > label > small,
.admin-body .setting-checks small,
.admin-body .sim-result > small { font-size: 9.8px; }
.admin-body .setting-form-grid input,
.admin-body .point-simulator > label input { font-size: 11.5px; }
.admin-body .setting-form-grid em,
.admin-body .point-simulator > label em { font-size: 10px; }
.admin-body .sim-result > div strong { font-size: 12.5px; }
.admin-body .mini-admin-calendar .week span { font-size: 10.5px; }
.admin-body .mini-admin-calendar .days span { font-size: 11px; }
.admin-body .mini-admin-calendar .days span em { font-size: 9.5px; }
.admin-body .today-schedule-list time { font-size: 11.5px; }
.admin-body .today-schedule-list strong,
.admin-body .conflict-card strong,
.admin-body .job-review-list strong,
.admin-body .notice-admin-list strong,
.admin-body .banner-admin-list strong,
.admin-body .admin-role-list strong { font-size: 11.5px; }
.admin-body .today-schedule-list small,
.admin-body .conflict-card small,
.admin-body .job-review-list small,
.admin-body .notice-admin-list small,
.admin-body .banner-admin-list small,
.admin-body .admin-role-list small { font-size: 9.8px; }
.admin-body .today-schedule-list em,
.admin-body .conflict-card button,
.admin-body .job-review-list em,
.admin-body .admin-role-list em { font-size: 9.5px; }
.admin-body .review-status { font-size: 10px; }
.admin-body .report-stats span { font-size: 9.8px; }
.admin-body .report-stats strong { font-size: 13px; }
.admin-body .admin-rule-note strong { font-size: 11px; }
.admin-body .admin-rule-note ul { font-size: 9.8px; }
.admin-body .banner-admin-list article > span { font-size: 10.5px; }
.admin-body .admin-form-list > label { min-height: 55px; }
.admin-body .admin-form-list > label > span { font-size: 11.5px; }
.admin-body .admin-form-list .input,
.admin-body .admin-form-list .select { height: 36px; font-size: 11.5px; }
.admin-body .admin-form-list .textarea { font-size: 11px; }
.admin-body .admin-modal .modal-head p { font-size: 11px; }
.admin-body .btn-sm { font-size: 11.5px; }

@media (max-width: 920px) {
  .admin-body .admin-shell-v2 { display: block; }
  .admin-body .admin-sidebar-v2 { width: 238px; }
}

/* Mobile app treatment */
@media (max-width: 680px) {
  body.refined-ui:not(.admin-body) {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 0 0,rgba(46,144,250,.08),transparent 28%),
      linear-gradient(180deg,#f8fbff 0,#f3f7fc 50%,#eef4f9 100%);
  }
  .refined-ui:not(.admin-body) .site-header {
    min-height: 66px;
    background: rgba(255,255,255,.93);
    box-shadow: 0 8px 26px rgba(15,23,42,.08);
  }
  .refined-ui:not(.admin-body) .header-inner { min-height: 66px; padding: 0 2px; gap: 8px; }
  .refined-ui:not(.admin-body) .brand-mark { width: 42px; height: 42px; border-radius: 13px; }
  .refined-ui:not(.admin-body) .brand-text { font-size: 18px; letter-spacing: -.045em; }
  .refined-ui:not(.admin-body) .brand-text small { display: none; }
  .refined-ui:not(.admin-body) .header-actions { gap: 6px; }
  .refined-ui:not(.admin-body) .icon-btn,
  .refined-ui:not(.admin-body) .mobile-menu-btn {
    width: 43px;
    height: 43px;
    border-radius: 13px;
    font-size: 19px;
  }
  .refined-ui:not(.admin-body) .mobile-menu-btn {
    color: #fff;
    border: 0;
    background: linear-gradient(145deg,#17253d,#0d172a);
    box-shadow: 0 8px 18px rgba(15,23,42,.20);
  }
  .refined-ui:not(.admin-body) .container { width: min(calc(100% - 24px), var(--container)); }
  .refined-ui:not(.admin-body) .page-shell { padding-top: 20px; }
  .refined-ui:not(.admin-body) .page-title-row h1 { font-size: 27px; }

  .refined-ui:not(.admin-body) .hero { padding: 14px 0 9px; }
  .refined-ui:not(.admin-body) .hero-main {
    min-height: 438px;
    padding: 30px 21px 25px;
    border-radius: 22px;
    box-shadow: 0 22px 46px rgba(9,19,38,.22);
  }
  .refined-ui:not(.admin-body) .hero-main::before { right: -164px; bottom: -125px; }
  .refined-ui:not(.admin-body) .hero-copy h1 { margin-top: 14px; font-size: 34px; line-height: 1.15; }
  .refined-ui:not(.admin-body) .hero-copy p { font-size: 14px; line-height: 1.65; }
  .refined-ui:not(.admin-body) .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .refined-ui:not(.admin-body) .hero-actions .btn { min-width: 0; padding: 0 10px; font-size: 13px; }
  .refined-ui:not(.admin-body) .hero-stats { left: 21px; right: 21px; bottom: 22px; gap: 7px; }
  .refined-ui:not(.admin-body) .hero-stats > div { padding-left: 10px; }
  .refined-ui:not(.admin-body) .hero-stats strong { font-size: 16px; }
  .refined-ui:not(.admin-body) .hero-stats span { font-size: 9px; }

  .refined-ui:not(.admin-body) .mobile-workbench { padding-top: 18px; }
  .refined-ui:not(.admin-body) .workbench-head { margin-bottom: 12px; }
  .refined-ui:not(.admin-body) .workbench-head > div strong { font-size: 18px; }
  .refined-ui:not(.admin-body) .workbench-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .refined-ui:not(.admin-body) .workbench-grid > a { min-height: 84px; padding: 12px; border-radius: 16px; }
  .refined-ui:not(.admin-body) .workbench-grid > a > i { width: 43px; height: 43px; font-size: 20px; }
  .refined-ui:not(.admin-body) .workbench-grid small { font-size: 10px; }
  .refined-ui:not(.admin-body) .workbench-grid strong { font-size: 14px; }

  .refined-ui:not(.admin-body) .quick-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .refined-ui:not(.admin-body) .quick-item {
    min-height: 122px;
    padding: 17px 12px;
    border-radius: 17px;
    align-items: flex-start;
    box-shadow: 0 9px 24px rgba(16,24,40,.06);
  }
  .refined-ui:not(.admin-body) .quick-item:last-child { grid-column: span 2; min-height: 105px; flex-direction: row; justify-content: flex-start; text-align: left; padding-left: 22px; }
  .refined-ui:not(.admin-body) .quick-icon { width: 48px; height: 48px; margin-bottom: 10px; font-size: 22px; }
  .refined-ui:not(.admin-body) .quick-item:last-child .quick-icon { margin: 0 14px 0 0; }
  .refined-ui:not(.admin-body) .quick-item strong { font-size: 14px; }
  .refined-ui:not(.admin-body) .quick-item > span:last-child { display: block; margin-top: 3px; font-size: 10px; }

  .refined-ui:not(.admin-body) .product-card { border-radius: 15px; }
  .refined-ui:not(.admin-body) .product-body { padding: 14px; }
  .refined-ui:not(.admin-body) .process-grid { border-radius: 16px; }
  .refined-ui:not(.admin-body) .process-card { padding: 20px 17px; }
  .refined-ui:not(.admin-body) .process-card > i { width: 43px; height: 43px; }

  /* Larger, cleaner, native-app-like bottom navigation */
  .refined-ui:not(.admin-body) .mobile-bottom-nav {
    display: flex;
    min-height: 82px;
    padding: 7px 8px max(8px,env(safe-area-inset-bottom));
    border: 1px solid rgba(203,214,229,.88);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: rgba(255,255,255,.96);
    box-shadow: 0 -14px 38px rgba(15,23,42,.13);
    backdrop-filter: blur(22px) saturate(160%);
  }
  .refined-ui:not(.admin-body) .mobile-bottom-nav::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 42px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    transform: translateX(-50%);
    background: linear-gradient(90deg,#2563eb,#18b6a2);
  }
  .refined-ui:not(.admin-body) .mobile-bottom-nav a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    min-width: 0;
    color: #7b8798;
    font-size: 10.5px;
    font-weight: 750;
    letter-spacing: -.02em;
  }
  .refined-ui:not(.admin-body) .mobile-bottom-nav a span {
    width: 46px;
    height: 40px;
    margin: 0;
    border-radius: 14px;
    color: #667085;
    background: transparent;
    font-size: 23px;
    transition: .2s ease;
  }
  .refined-ui:not(.admin-body) .mobile-bottom-nav a.active { color: #1554d1; }
  .refined-ui:not(.admin-body) .mobile-bottom-nav a.active span {
    color: #fff;
    background: linear-gradient(145deg,#397df7,#175cd3);
    box-shadow: 0 9px 20px rgba(37,99,235,.28);
    transform: translateY(-3px);
  }
  .refined-ui:not(.admin-body) .mobile-bottom-nav a:nth-child(3) { justify-content: flex-end; }
  .refined-ui:not(.admin-body) .mobile-bottom-nav a:nth-child(3) span {
    width: 52px;
    height: 52px;
    margin-top: -18px;
    margin-bottom: 1px;
    border: 5px solid #fff;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(145deg,#182a49,#0e1a30);
    box-shadow: 0 10px 24px rgba(15,23,42,.25);
    font-size: 23px;
  }
  .refined-ui:not(.admin-body) .mobile-bottom-nav a:nth-child(3).active span {
    background: linear-gradient(145deg,#397df7,#0f9f8f);
    box-shadow: 0 12px 26px rgba(37,99,235,.30);
    transform: translateY(-2px);
  }

  /* Admin mobile typography must not fall back to tiny values */
  .admin-body .admin-content-v2 { padding: 13px; }
  .admin-body .admin-page-head h1 { font-size: 21px; }
  .admin-body .admin-page-head p { font-size: 11.5px; }
  .admin-body .admin-alert-line { font-size: 11px; }
  .admin-body .admin-kpi-grid-v2 article { min-height: 86px; }
  .admin-body .admin-kpi-grid-v2 article span { font-size: 10.5px; }
  .admin-body .admin-kpi-grid-v2 article strong { font-size: 20px; }
  .admin-body .admin-card-head h2 { font-size: 14px; }
  .admin-body .admin-card-head p { font-size: 10px; }
  .admin-body .admin-table th { font-size: 10px; }
  .admin-body .admin-table td { font-size: 11.5px; }
  .admin-body .admin-table td small { font-size: 9.8px; }
  .admin-body .admin-filter-grid label > span { font-size: 10px; }
  .admin-body .admin-filter-grid .input,
  .admin-body .admin-filter-grid .select { font-size: 11px; }
}
