/* V4.2.541 - current UI styles; prior CSS preserved. */
/* V4.2.540 - unchanged from V4.2.539 */
/* V4.2.481 - styles unchanged from V4.2.480. */
/* V4.2.465 - Daily seven-card summary and compact no-wrap XLSX/report layout; V464 SticPay styling preserved. */
/* V4.2.438 - Reconciliation resume-unit hardening; Bitorage V437 visual layout unchanged. */
/* V4.2.378 - no visual redesign; V377 layout retained while realtime execution/read path is normalized. */
/* V4.2.376 - Referral prepared Central packet realtime stabilization; V375/V373 visual contracts preserved unless explicitly overridden below. */
/* V4.2.373 - Referral parity/consistency report hardening and settlement summary overlap fix; V372 realtime architecture preserved. */
/* V4.2.370 - Dual unique Client ID + Email identity; visual layout unchanged from V369. */
/* V4.2.365 - Referral incremental cache/delta consumer; V364 SP observability UI retained. */
/* V4.2.361 - Trade-count authority correction; visible V359/V360 styles preserved. */
/* V4.2.350 - UI layout preserved from V349; Finance authority correction is Worker-side. */
/* OPERATIONS HUB V4.2.346 - Referral current-generation period report UI. */
/* OPERATIONS HUB V4.2.345 */
/* V4.2.344 Referral period authority alignment + settlement report polish. */
/* V4.2.342 Referral period query resilience + P/L sign-color recovery; unified card surfaces remain unchanged. */
/* V4.2.341 Referral period schema compatibility + complete P/L text tone unification. */
:root {
  --bg: #f3f5f8;
  --panel: #ffffff;
  --panel-2: #f8fafc;
  --text: #142033;
  --muted: #6b7280;
  --line: #e4e8ee;
  --accent: #1f4f8f;
  --accent-soft: #eaf2fb;
  --sidebar: #0f1724;
  --sidebar-muted: #9aa6b2;
  --sidebar-active: #1b2a3d;
  --danger: #b42318;
  --warning-bg: #fff7ed;
  --warning-line: #fed7aa;
  --shadow: 0 12px 34px rgba(15, 23, 36, .09);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Inter, Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}
body.modal-open { overflow: hidden; }
button, input, textarea, select, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 272px minmax(0, 1fr); }
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  background: var(--sidebar);
  color: #fff;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px 24px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff; color: var(--sidebar);
  font-weight: 800; letter-spacing: -.03em;
}
.brand-title { font-size: 14px; font-weight: 800; letter-spacing: .04em; }
.brand-subtitle { margin-top: 3px; color: var(--sidebar-muted); font-size: 11px; }

.nav-list { display: grid; gap: 7px; margin-top: 6px; }
.nav-button {
  width: 100%; border: 0; background: transparent; color: #dfe7ef;
  display: flex; align-items: center; gap: 10px;
  padding: 12px; border-radius: 11px; text-align: left;
}
.nav-button:hover, .nav-button.active { background: var(--sidebar-active); color: #fff; }
.nav-icon { width: 22px; text-align: center; opacity: .9; }
.nav-label { flex: 1; }
.nav-count { color: var(--sidebar-muted); font-size: 12px; }
.sidebar-footer { margin-top: auto; padding-top: 18px; }
.ghost-button {
  width: 100%; border: 1px solid #304155; background: transparent; color: #dce5ee;
  border-radius: 11px; padding: 10px 12px;
}
.ghost-button.active { background: #fff; color: var(--sidebar); border-color: #fff; }

.main-content { min-width: 0; padding: 34px 38px 52px; }
.topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.eyebrow, .section-kicker { margin: 0 0 8px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
h1 { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -.04em; }
.page-subtitle { margin: 10px 0 0; color: var(--muted); }
.top-actions { width: min(620px, 48vw); display: grid; gap: 10px; }
.home-presence-card {
  min-height: 48px; padding: 9px 12px; border: 1px solid #dfe6ed; border-radius: 14px; background: rgba(255,255,255,.92);
  box-shadow: 0 2px 10px rgba(15,23,36,.03);
}
.home-presence-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.home-online-count { color: #187657; font-size: 10.5px; font-weight: 900; white-space: nowrap; }
.home-online-users { margin-top: 6px; display: flex; align-items: center; justify-content: flex-end; gap: 5px; flex-wrap: wrap; }
.home-online-user {
  min-height: 24px; display: inline-flex; align-items: center; padding: 0 8px; border: 1px solid #dce4ec; border-radius: 999px;
  background: #f8fafc; color: #536579; font-size: 9.5px; font-weight: 800;
}
.home-online-user.own { border-color: #bed5e8; background: #eef6fc; color: #1f5d8f; }
.home-online-empty { color: #98a3b0; font-size: 9.5px; font-weight: 700; }
.search-box {
  height: 50px; display: flex; align-items: center; gap: 10px;
  padding: 0 15px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 2px 10px rgba(15, 23, 36, .03);
}
.search-box span { color: var(--muted); font-size: 20px; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--text); }

.category-overview-section { margin-top: 30px; }
.section-head.compact { margin-bottom: 13px; }
.category-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.category-tile {
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  min-height: 98px; border-radius: 16px; padding: 16px;
  display: flex; align-items: center; gap: 13px; text-align: left;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.category-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #d6dee7; }
.category-tile-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 18px;
}
.category-tile-copy { min-width: 0; flex: 1; display: grid; gap: 5px; }
.category-tile-copy strong { font-size: 15px; }
.category-tile-copy small { color: var(--muted); font-size: 11px; line-height: 1.4; }
.category-tile-count { color: #8a97a6; font-size: 12px; }

.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 25px 0 34px; }
.summary-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.summary-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; }
.summary-card strong { font-size: 24px; letter-spacing: -.03em; }
#currentCategoryLabel { font-size: 18px; }

.content-section { margin-top: 4px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.result-meta { color: var(--muted); font-size: 13px; }
.resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.resource-card {
  min-height: 328px; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: 0 1px 1px rgba(15,23,36,.02);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.resource-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #d9e1e9; }
.card-topline { display: flex; justify-content: space-between; align-items: center; }
.resource-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 18px; font-weight: 800;
}
.favorite-button { width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: #9aa4b0; font-size: 21px; }
.favorite-button:hover { background: var(--panel-2); color: var(--text); }
.favorite-button.active { color: #b7791f; }
.resource-body { padding-top: 18px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.category-badge, .type-badge {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px;
  border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .04em;
}
.category-badge { background: var(--accent-soft); color: var(--accent); }
.type-badge { background: #f1f3f5; color: #6b7280; }
.resource-name { margin: 12px 0 8px; font-size: 19px; letter-spacing: -.025em; }
.resource-description { min-height: 42px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.access-note {
  margin-top: 12px; padding: 9px 10px; border-radius: 10px;
  background: #f8fafc; border: 1px solid #edf0f4; color: #536273; font-size: 11px; line-height: 1.45;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { padding: 5px 8px; border-radius: 8px; background: #f2f4f7; color: #667085; font-size: 10px; }
.resource-actions { margin-top: auto; padding-top: 18px; display: grid; grid-template-columns: 1fr; gap: 8px; }
.resource-actions:has(.credential-button:not([hidden])) { grid-template-columns: 1fr 1fr; }
.open-button, .primary-button, .secondary-button {
  min-height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px; font-weight: 700; font-size: 13px; padding: 0 14px;
}
.open-button, .primary-button { background: var(--text); color: #fff; border: 1px solid var(--text); }
.open-button:hover, .primary-button:hover { opacity: .92; }
.secondary-button { background: #fff; color: var(--text); border: 1px solid var(--line); }
.secondary-button:hover { background: var(--panel-2); }
.open-button.disabled { background: #e9edf2; color: #8a95a2; border-color: #e9edf2; cursor: default; pointer-events: none; }

.empty-state {
  min-height: 300px; display: grid; place-items: center; align-content: center; gap: 8px;
  border: 1px dashed #ccd4dd; border-radius: var(--radius); color: var(--muted); background: rgba(255,255,255,.45); text-align: center;
}
.empty-icon { font-size: 34px; }
.empty-state strong { color: var(--text); }

.notice-section { margin-top: 30px; }
.notice-head { align-items: flex-start; }
.notice-help { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.notice-list { columns: 2 430px; column-gap: 16px; }
.notice-card {
  width: 100%; display: inline-block; break-inside: avoid; margin: 0 0 16px; vertical-align: top;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  box-shadow: 0 1px 1px rgba(15,23,36,.02);
}
.notice-card.important { border-color: #f0c36b; box-shadow: inset 4px 0 0 #d89a18; }
.notice-card-top { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.notice-level { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.notice-level.normal { background: #eef2f6; color: #5d6875; }
.notice-level.important { background: #fff3d6; color: #9a6700; }
.notice-meta { color: var(--muted); font-size: 11px; }
.notice-card h3 { margin: 12px 0 8px; font-size: 18px; }
.notice-body { margin: 0; color: #465466; line-height: 1.72; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.notice-actions { display: flex; gap: 10px; margin-top: 16px; }
.text-button { border: 0; background: transparent; padding: 4px 0; color: var(--accent); font-size: 12px; font-weight: 700; }
.text-button.danger { color: var(--danger); }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 1000; padding: 22px;
  display: grid; place-items: center; background: rgba(9, 17, 29, .56); backdrop-filter: blur(4px);
}
.modal-card {
  width: min(620px, 100%); max-height: calc(100vh - 44px); overflow: auto;
  background: #fff; border-radius: 20px; box-shadow: 0 28px 70px rgba(0,0,0,.24); padding: 22px;
}
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.modal-head h2 { margin: 0; font-size: 22px; }
.icon-button { width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; border-radius: 10px; font-size: 24px; line-height: 1; color: var(--muted); }
.modal-note { margin: 10px 0 16px; color: var(--muted); font-size: 13px; }
.credential-rows { display: grid; gap: 9px; }
.credential-row {
  display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 12px; align-items: center;
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px;
}
.credential-label { color: var(--muted); font-size: 12px; font-weight: 700; }
.credential-value-wrap { min-width: 0; display: flex; align-items: center; gap: 7px; }
.credential-value { min-width: 0; flex: 1; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; color: var(--text); }
.mini-button { flex: 0 0 auto; border: 1px solid var(--line); background: #fff; color: #4e5e70; border-radius: 8px; padding: 6px 8px; font-size: 10px; font-weight: 700; }
.security-warning { margin-top: 16px; padding: 11px 12px; border-radius: 11px; background: var(--warning-bg); border: 1px solid var(--warning-line); color: #8a4b08; font-size: 11px; line-height: 1.55; }

.notice-form { display: grid; gap: 14px; margin-top: 17px; }
.notice-form label { display: grid; gap: 7px; }
.notice-form label > span { color: #536273; font-size: 12px; font-weight: 700; }
.notice-form input, .notice-form textarea, .notice-form select {
  width: 100%; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--text); padding: 11px 12px; outline: none;
}
.notice-form textarea { resize: vertical; min-height: 250px; line-height: 1.68; padding: 14px 15px; }
.notice-form input:focus, .notice-form textarea:focus, .notice-form select:focus { border-color: #9ab7d8; box-shadow: 0 0 0 3px rgba(31,79,143,.09); }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 3px; }

.toast {
  position: fixed; right: 24px; bottom: 24px; z-index: 1200;
  background: #101827; color: #fff; border-radius: 11px; padding: 11px 14px;
  box-shadow: 0 14px 34px rgba(0,0,0,.2); font-size: 12px; font-weight: 700;
}

@media (max-width: 1040px) {
  .category-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .nav-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar-footer { margin-top: 12px; }
  .main-content { padding: 24px 18px 40px; }
  .topbar { align-items: stretch; flex-direction: column; }
  .top-actions { width: 100%; }
  .home-online-users { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .summary-grid { grid-template-columns: 1fr; }
  .category-overview { grid-template-columns: 1fr; }
  .nav-list { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .credential-row { grid-template-columns: 1fr; }
  .credential-value-wrap { flex-wrap: wrap; }
  .resource-actions:has(.credential-button:not([hidden])) { grid-template-columns: 1fr; }
  .modal-backdrop { padding: 10px; }
  .modal-card { max-height: calc(100vh - 20px); padding: 17px; }
}


.setup-group-bar {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 10px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.62);
}
.setup-group-button {
  min-height: 38px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #536273;
  display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 12px; font-weight: 750;
}
.setup-group-button:hover { background: var(--panel-2); color: var(--text); }
.setup-group-button.active { background: var(--text); border-color: var(--text); color: #fff; }
.setup-group-button small {
  min-width: 19px; height: 19px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center;
  background: rgba(128,138,150,.12); color: inherit; font-size: 10px;
}
.setup-group-button.active small { background: rgba(255,255,255,.16); }

/* V4.2.19 - grouped resource libraries */
.collection-modal-card { width: min(820px, calc(100vw - 32px)); }
.collection-items { display: grid; gap: 12px; margin-top: 18px; }
.collection-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
}
.collection-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eaf2fb;
  color: #174b87;
  font-weight: 800;
  font-size: 17px;
}
.collection-item-copy { min-width: 0; }
.collection-item-head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.collection-item-head h3 { margin: 0; font-size: 16px; color: var(--text); }
.collection-item-copy p { margin: 6px 0 9px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.collection-open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 11px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  font-size: 13px;
}
.collection-open-button:hover { opacity: .88; }
.collection-open-button.disabled { background: #e8edf3; color: #8d98a5; pointer-events: none; }
.collection-empty {
  padding: 32px 20px;
  border: 1px dashed var(--border);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
  background: var(--panel-2);
}
@media (max-width: 640px) {
  .collection-item { grid-template-columns: 42px minmax(0, 1fr); }
  .collection-item-icon { width: 42px; height: 42px; }
  .collection-open-button { grid-column: 1 / -1; width: 100%; }
}

/* V4.2.19 - reduced navigation + grouped admin actions */
.collection-section-title {
  margin: 10px 2px 0;
  padding: 10px 4px 5px;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -.01em;
  border-bottom: 1px solid var(--border);
}
.collection-section-title:first-child { margin-top: 0; }
.collection-item-note {
  margin: -2px 0 9px;
  color: #52657a;
  font-size: 11px;
  font-weight: 650;
}
.collection-item-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.collection-credential-button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.collection-credential-button:hover { background: var(--panel-2); }
@media (max-width: 640px) {
  .collection-item-actions { grid-column: 1 / -1; width: 100%; }
  .collection-item-actions > * { flex: 1 1 0; min-width: 0; }
  .collection-open-button { width: auto; }
}

/* V4.2.19 - HOME two-lane layout */
.home-group-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 3px 2px 0;
  padding: 4px 2px 2px;
}
.home-group-heading:not(:first-child) { margin-top: 22px; }
.home-group-heading-copy { min-width: 0; }
.home-group-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
}
.home-group-heading h3 {
  margin: 0;
  color: var(--text);
  font-size: 21px;
  letter-spacing: -.025em;
}
.home-group-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}



/* V4.2.19 shared notice sync status */
.notice-sync-status {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}
.notice-sync-status[data-state="online"] { color: #047857; }
.notice-sync-status[data-state="offline"] { color: #b45309; }
.notice-sync-status[data-state="loading"] { color: #475569; }


/* V4.2.19 - notice masonry board + multi-promotion calculator */
.notice-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}
.notice-dashboard article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.notice-dashboard span { display: block; color: var(--muted); font-size: 11px; font-weight: 700; margin-bottom: 6px; }
.notice-dashboard strong { display: block; color: var(--text); font-size: 18px; letter-spacing: -.02em; }
.notice-editor-hint { color: var(--muted); font-size: 11px; line-height: 1.5; }
.notice-modal-card { width: min(760px, 94vw); }

.calculator-section { margin-top: 26px; }
.calculator-head { align-items: flex-start; gap: 18px; }
.calculator-help { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.calculator-policy-badges { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 7px; max-width: 620px; }
.calculator-policy-badges span {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: #52657a;
  font-size: 11px; font-weight: 750;
}
.calculator-panel-v33 { display: grid; grid-template-columns: minmax(330px, 390px) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.calculator-input-card, .calculator-result-area {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 1px 1px rgba(15,23,36,.02);
}
.calculator-input-card { padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.calculator-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.calculator-card-heading strong { display: block; margin-top: 4px; font-size: 18px; letter-spacing: -.025em; }
.calculator-card-kicker { color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.calculator-local-badge { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border-radius: 999px; background: #eef6ff; color: #245b95; font-size: 10px; font-weight: 800; white-space: nowrap; }
.calculator-field { display: grid; gap: 7px; }
.calculator-field label { color: #536273; font-size: 12px; font-weight: 750; }
.calculator-field input, .calculator-field select {
  width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--text); padding: 0 12px; outline: none;
}
.calculator-field input:focus, .calculator-field select:focus { border-color: #9ab7d8; box-shadow: 0 0 0 3px rgba(31,79,143,.09); }
.calculator-two-fields { display: grid; grid-template-columns: 116px minmax(0,1fr); gap: 10px; }
.calculator-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.calculator-toggle-btn { min-height: 42px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel-2); color: #52657a; font-weight: 800; }
.calculator-toggle-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 6px 14px rgba(31,79,143,.12); }
.calculator-amount-wrap { position: relative; }
.calculator-amount-wrap input { padding-right: 66px; font-size: 17px; font-weight: 800; }
.calculator-amount-wrap span { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 11px; font-weight: 850; }
.calculator-deposit-krw-equivalent { display:flex; align-items:center; min-height:27px; padding:5px 8px; border:1px solid #d5e5f6; border-radius:8px; background:#eff6fd; color:#2e6193; font-size:10.5px; line-height:1.25; font-weight:800; letter-spacing:-.01em; }
.calculator-current-policy { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 10px; border: 1px solid #e4ebf2; border-radius: 13px; background: #f8fafc; }
.calculator-current-policy div { min-width: 0; padding: 3px 5px; }
.calculator-current-policy span { display: block; color: #8491a0; font-size: 10px; font-weight: 700; margin-bottom: 3px; }
.calculator-current-policy strong { display: block; overflow: hidden; text-overflow: ellipsis; color: #26384d; font-size: 12px; white-space: nowrap; }
.calculator-reset { margin-top: auto; min-height: 40px; }
.calculator-result-area-v33 { padding: 16px; display: flex; flex-direction: column; gap: 11px; }
.calculator-result-hero { min-height: 112px; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(210px,.65fr); border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #10213a, #173b67); color: #fff; }
.calculator-hero-primary, .calculator-hero-total { display: flex; flex-direction: column; justify-content: center; padding: 17px 20px; min-width: 0; }
.calculator-hero-total { border-left: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.045); }
.calculator-result-hero span { color: #c8d8eb; font-size: 11px; font-weight: 800; }
.calculator-hero-primary strong { margin: 5px 0 2px; font-size: clamp(32px, 3.6vw, 48px); line-height: 1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.calculator-hero-total strong { margin: 7px 0 3px; font-size: clamp(20px, 2.1vw, 29px); line-height: 1.1; letter-spacing: -.035em; overflow-wrap: anywhere; }
.calculator-result-hero small { color: #c8d8eb; font-size: 11px; }
.calculator-welcome-card { border: 1px solid #dbe7d6; border-radius: 14px; padding: 12px 13px; background: linear-gradient(135deg,#fbfef9,#f4faf2); }
.calculator-welcome-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 9px; }
.calculator-welcome-head > div { display: grid; gap: 2px; }
.calculator-welcome-kicker { color: #38805b; font-size: 8.5px; font-weight: 900; letter-spacing: .13em; }
.calculator-welcome-head strong { color: #223b2d; font-size: 13px; }
.calculator-welcome-head small { color: #789080; font-size: 9px; line-height: 1.35; text-align: right; }
.calculator-welcome-list { display: flex; flex-wrap: wrap; gap: 7px; }
.calculator-welcome-item { min-width: 145px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border: 1px solid #dbe9d8; border-radius: 10px; background: rgba(255,255,255,.88); }
.calculator-welcome-item span { min-width: 0; color: #687d6e; font-size: 9.5px; font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calculator-welcome-item strong { color: #22613a; font-size: 11px; white-space: nowrap; }
.calculator-welcome-empty { width: 100%; padding: 8px 10px; border-radius: 9px; background: rgba(255,255,255,.7); color: #809084; font-size: 9.5px; }
.calculator-breakdown-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.calculator-breakdown-head, .calculator-breakdown-row { display: grid; grid-template-columns: minmax(120px,1.3fr) minmax(100px,1fr) 72px minmax(100px,1fr); gap: 10px; align-items: center; padding: 10px 13px; }
.calculator-breakdown-head { background: #f7f9fc; color: #8a97a7; font-size: 10px; font-weight: 800; border-bottom: 1px solid var(--line); }
.calculator-breakdown-row { min-height: 48px; color: #3d4f63; font-size: 12px; }
.calculator-breakdown-row + .calculator-breakdown-row { border-top: 1px solid #edf1f5; }
.calculator-breakdown-row strong { color: var(--text); font-size: 12px; }
.calculator-breakdown-row b { color: #174f8d; font-size: 14px; text-align: right; }
.calculator-breakdown-row.muted { opacity: .42; }
.calculator-policy-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.calculator-policy-strip article { min-width: 0; border: 1px solid var(--line); border-radius: 13px; background: var(--panel-2); padding: 11px 12px; }
.calculator-policy-strip span { display: block; color: var(--muted); font-size: 10px; font-weight: 750; }
.calculator-policy-strip strong { display: block; margin: 4px 0 2px; color: var(--text); font-size: 17px; letter-spacing: -.025em; overflow-wrap: anywhere; }
.calculator-policy-strip small { display: block; color: #7d8997; font-size: 9.5px; line-height: 1.35; }
.calculator-detail-v33 { margin: 0; padding: 10px 12px; border-radius: 11px; background: #eef5fc; color: #315474; font-size: 11px; line-height: 1.55; font-weight: 650; }

@media (max-width: 1050px) {
  .notice-list { columns: 1; }
  .calculator-panel-v33 { grid-template-columns: 1fr; }
  .calculator-policy-badges { justify-content: flex-start; max-width: none; }
}
@media (max-width: 620px) {
  .notice-dashboard { grid-template-columns: 1fr; }
  .calculator-result-hero { grid-template-columns: 1fr; }
  .calculator-hero-total { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .calculator-policy-strip { grid-template-columns: 1fr; }
  .calculator-breakdown-head { display: none; }
  .calculator-breakdown-row { grid-template-columns: 1fr 1fr; }
  .calculator-breakdown-row b { text-align: left; }
  .calculator-two-fields { grid-template-columns: 1fr; }
}


/* V4.2.19 - shared calculator configuration admin */
.calculator-head-tools { display: grid; justify-items: end; gap: 9px; min-width: min(620px, 46vw); }
.calculator-admin-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }
.calculator-sync-status { font-size: 11px; font-weight: 750; color: #64748b; }
.calculator-sync-status[data-state="online"] { color: #047857; }
.calculator-sync-status[data-state="offline"] { color: #b45309; }
.calculator-sync-status[data-state="loading"] { color: #475569; }
.calculator-manage-button { min-height: 34px; padding: 0 11px; font-size: 11px; }
.calculator-manage-button[data-admin="false"] { color: #738091; background: #f8fafc; }

.calculator-admin-modal-card { width: min(1180px, calc(100vw - 34px)); padding: 0; overflow: hidden; }
.calculator-admin-head { padding: 22px 24px 16px; border-bottom: 1px solid var(--line); }
.calculator-admin-head .modal-note { margin-bottom: 0; }
.calculator-admin-head .modal-note[data-warning="true"] { color: #9a6700; }
.calculator-admin-tabs { display: flex; gap: 8px; padding: 12px 24px; border-bottom: 1px solid var(--line); background: #f8fafc; }
.calculator-admin-tab { min-height: 36px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #536273; font-size: 12px; font-weight: 800; }
.calculator-admin-tab.active { background: var(--text); color: #fff; border-color: var(--text); }
.calculator-admin-panel { padding: 18px 24px 24px; overflow: auto; max-height: calc(100vh - 190px); }
.calculator-admin-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.calculator-admin-panel-head > div { display: grid; gap: 3px; }
.calculator-admin-panel-head strong { font-size: 16px; }
.calculator-admin-panel-head span { color: var(--muted); font-size: 11px; }
.calculator-admin-grid, .calculator-welcome-layout { display: grid; grid-template-columns: minmax(330px, .86fr) minmax(470px, 1.14fr); gap: 14px; align-items: start; }
.calculator-admin-list { display: grid; gap: 9px; min-width: 0; }
.calculator-admin-list-item { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.calculator-drag-handle { display: grid; place-items: center; width: 26px; height: 34px; border-radius: 8px; color: #8a98a8; cursor: grab; user-select: none; font-size: 15px; font-weight: 900; letter-spacing: -3px; }
.calculator-drag-handle:hover { background: #f1f5f9; color: #526274; }
.calculator-drag-handle:active { cursor: grabbing; }
.calculator-admin-list-item.calculator-dragging { opacity: .48; }
.calculator-admin-list-item.calculator-drag-over-before::before, .calculator-admin-list-item.calculator-drag-over-after::after { content: ""; position: absolute; left: 8px; right: 8px; height: 3px; border-radius: 999px; background: #2f6fb2; }
.calculator-admin-list-item.calculator-drag-over-before::before { top: -6px; }
.calculator-admin-list-item.calculator-drag-over-after::after { bottom: -6px; }
.calculator-admin-panel[data-mutating="true"] .calculator-sync-status { opacity: .78; }
.calculator-admin-list-main { min-width: 0; display: grid; gap: 3px; }
.calculator-admin-list-main strong { font-size: 13px; color: var(--text); overflow-wrap: anywhere; }
.calculator-admin-list-main span { font-size: 10.5px; color: #66768a; line-height: 1.45; }
.calculator-admin-list-main small { font-size: 9.5px; color: #99a3af; overflow-wrap: anywhere; }
.calculator-admin-list-actions { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.calculator-admin-action { min-height: 28px; padding: 4px 7px; }
.calculator-admin-action:disabled { opacity: .32; cursor: default; }
.calculator-admin-action.danger { color: var(--danger); border-color: #f0d3d3; }
.calculator-admin-empty { padding: 24px 18px; border: 1px dashed #cfd7e1; border-radius: 13px; color: var(--muted); text-align: center; font-size: 12px; background: #fafbfc; }

.calculator-admin-editor { border: 1px solid var(--line); border-radius: 15px; background: #fbfcfe; padding: 16px; box-shadow: 0 1px 1px rgba(15,23,36,.02); }
.calculator-admin-editor-title { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.calculator-admin-editor-title > div { display: grid; gap: 3px; }
.calculator-admin-editor-title span { color: var(--accent); font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.calculator-admin-editor-title strong { font-size: 17px; letter-spacing: -.02em; }
.calculator-admin-fields { display: grid; gap: 10px; }
.calculator-admin-fields.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.calculator-admin-fields label { display: grid; gap: 6px; }
.calculator-admin-fields label > span { color: #536273; font-size: 10.5px; font-weight: 750; }
.calculator-admin-fields input, .calculator-admin-fields select,
.calculator-currency-row input { width: 100%; min-width: 0; height: 39px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--text); padding: 0 10px; outline: none; }
.calculator-admin-fields input:focus, .calculator-currency-row input:focus { border-color: #9ab7d8; box-shadow: 0 0 0 3px rgba(31,79,143,.08); }
.calculator-currency-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 9px; }
.calculator-currency-editor-head > div { display: grid; gap: 2px; }
.calculator-currency-editor-head strong { font-size: 12px; }
.calculator-currency-editor-head span { color: var(--muted); font-size: 9.5px; }
.compact-button { min-height: 32px; padding: 0 10px; font-size: 10.5px; }
.calculator-currency-table-head, .calculator-currency-row { display: grid; grid-template-columns: 82px minmax(110px,1fr) minmax(110px,1fr) 68px 38px; gap: 7px; align-items: center; }
.calculator-currency-table-head { padding: 0 4px 6px; color: #8c98a7; font-size: 9px; font-weight: 800; }
.calculator-currency-rows { display: grid; gap: 7px; }
.calculator-currency-row { padding: 8px; background: #fff; border: 1px solid #e7ebf0; border-radius: 11px; }
.calculator-currency-row .icon-button { width: 32px; height: 32px; border-radius: 8px; font-size: 18px; }
.calculator-admin-editor-actions { margin-top: 15px; padding-top: 12px; border-top: 1px solid #e8edf2; }
.welcome-editor { max-width: 560px; }

@media (max-width: 1050px) {
  .calculator-head-tools { justify-items: start; min-width: 0; width: 100%; }
  .calculator-admin-toolbar { justify-content: flex-start; }
  .calculator-admin-grid, .calculator-welcome-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .calculator-admin-modal-card { width: calc(100vw - 20px); }
  .calculator-admin-head { padding: 18px 16px 13px; }
  .calculator-admin-tabs { padding: 10px 16px; }
  .calculator-admin-panel { padding: 14px 16px 18px; }
  .calculator-admin-panel-head { align-items: flex-start; flex-direction: column; }
  .calculator-admin-fields.two-col { grid-template-columns: 1fr; }
  .calculator-currency-table-head { display: none; }
  .calculator-currency-row { grid-template-columns: 1fr 1fr; }
  .calculator-currency-row .currency-digits { grid-column: 1; }
  .calculator-currency-row .currency-remove { grid-column: 2; justify-self: end; }
  .calculator-admin-list-item { grid-template-columns: 28px minmax(0,1fr); }
  .calculator-admin-list-actions { grid-column: 2; }
  .calculator-admin-list-actions { justify-content: flex-start; }
}

/* ================= V4.2.19 ACCOUNT SYSTEM ================= */
.auth-gate {
  position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center;
  padding: 28px; background:
    radial-gradient(circle at 15% 20%, rgba(32, 94, 166, .15), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(15, 42, 74, .12), transparent 38%),
    #eef3f8;
}
.auth-gate[hidden] { display: none !important; }
.auth-card {
  width: min(470px, 100%); background: #fff; border: 1px solid #dfe6ee; border-radius: 24px;
  box-shadow: 0 28px 80px rgba(17, 35, 58, .18); padding: 30px;
}
.auth-brand-row { display: flex; gap: 13px; align-items: center; margin-bottom: 28px; }
.auth-brand-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #102238; color: #fff; font-weight: 900; letter-spacing: -.04em; }
.auth-brand-row strong { display: block; font-size: 15px; letter-spacing: .06em; }
.auth-brand-row span { display: block; margin-top: 4px; color: #8190a1; font-size: 11px; }
.auth-loading { padding: 28px 0; color: #607084; text-align: center; }
.auth-form { display: grid; gap: 15px; }
.auth-form h1 { font-size: 29px; }
.auth-form p { color: #718095; font-size: 13px; line-height: 1.6; }
.auth-form label { display: grid; gap: 7px; }
.auth-form label > span { color: #526174; font-size: 12px; font-weight: 800; }
.auth-field-help { color: #7b8798; font-size: 11px; line-height: 1.45; }
.auth-form input, .auth-form select,
.user-create-card input, .user-create-card select,
.user-admin-controls select {
  width: 100%; border: 1px solid #d9e1e9; border-radius: 11px; padding: 12px 13px; background: #fff; color: #162235; outline: none;
}
.auth-form input:focus, .user-create-card input:focus, .user-create-card select:focus { border-color: #8eadd0; box-shadow: 0 0 0 3px rgba(36, 87, 147, .09); }
.remember-login-row {
  display: flex !important; align-items: center; gap: 10px !important; cursor: pointer; user-select: none;
  width: fit-content; margin-top: -2px;
}
.auth-form .remember-login-row > input {
  width: 18px; height: 18px; margin: 0; padding: 0; flex: 0 0 auto; accent-color: #245793; cursor: pointer;
  box-shadow: none; border-radius: 4px;
}
.remember-login-copy { display: flex; align-items: baseline; gap: 8px; color: #32445a; }
.remember-login-copy b { font-size: 12px; }
.remember-login-copy small { color: #8996a5; font-size: 10px; font-weight: 600; }
.auth-submit { min-height: 48px; margin-top: 3px; }
.auth-text-button { justify-self: center; border: 0; background: transparent; color: #315f98; font-size: 12px; font-weight: 800; padding: 4px 8px; }
.auth-text-button:hover { color: #163f72; text-decoration: underline; }
.auth-success { border: 1px solid #b9dfc8; background: #f0fbf4; color: #237044; border-radius: 10px; padding: 10px 12px; font-size: 12px; line-height: 1.5; }
.auth-error { border: 1px solid #f1c4c0; background: #fff3f2; color: #a63b34; border-radius: 10px; padding: 10px 12px; font-size: 12px; line-height: 1.5; }
.auth-error.visible { display: block; }
.auth-locked .app-shell { filter: blur(3px); pointer-events: none; user-select: none; }

.sidebar-footer { display: grid; gap: 12px; }
.account-panel { border-top: 1px solid #2c3d51; padding-top: 14px; display: grid; grid-template-columns: 38px minmax(0,1fr) 38px; gap: 10px; align-items: center; }
.account-panel[hidden] { display: none !important; }
.account-avatar { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #eaf2fb; color: #1f5797; font-weight: 900; }
.account-copy { min-width: 0; display: grid; gap: 2px; }
.account-copy strong { color: #f4f7fb; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-copy small { color: #9eacbb; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-copy span { width: fit-content; margin-top: 3px; padding: 2px 6px; border-radius: 999px; background: #24384f; color: #c9d8e8; font-size: 8px; font-weight: 800; }
.account-message-button { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #3a5069; border-radius: 11px; background: #162539; color: #dbe8f5; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.account-message-button:hover, .account-message-button.active { background: #23466d; border-color: #557aa2; color: #fff; }
.account-message-button:active { transform: translateY(1px); }
.account-message-icon { font-size: 16px; line-height: 1; }
.account-message-unread { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; border: 2px solid var(--sidebar); border-radius: 999px; background: #e04f4f; color: #fff; font-size: 9px; font-weight: 900; box-shadow: 0 2px 7px rgba(0,0,0,.25); }
.account-message-unread[hidden] { display: none !important; }
.account-actions { grid-column: 1 / -1; display: grid; gap: 6px; }
.ghost-button.compact { padding: 7px 9px; font-size: 10px; }
.danger-ghost { color: #f0b6b0; border-color: #563b3b; }

.auth-modal-card { width: min(560px, 100%); }
.user-admin-modal-card { width: min(1080px, 100%); }
.user-admin-layout { margin-top: 18px; display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.6fr); gap: 18px; align-items: start; }
.user-create-card { border: 1px solid var(--line); background: #f8fafc; border-radius: 15px; padding: 16px; display: grid; gap: 12px; }
.user-create-card > strong { font-size: 15px; }
.user-create-card label { display: grid; gap: 6px; }
.user-create-card label > span { color: #607084; font-size: 11px; font-weight: 800; }
.user-create-result { border: 1px solid #cbdced; background: #eef6ff; border-radius: 12px; padding: 12px; display: grid; gap: 8px; }
.user-create-result[hidden] { display: none !important; }
.user-create-result > div { display: grid; gap: 4px; }
.user-create-result span, .user-create-result small { color: #607084; font-size: 10px; }
.user-create-result code { font-size: 14px; color: #0f355f; word-break: break-all; }
.user-list-wrap { min-width: 0; }
.user-list-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 10px; }
.user-list-head span { color: #718095; font-size: 10px; }
.user-list { display: grid; gap: 9px; max-height: 570px; overflow: auto; padding-right: 3px; }
.user-admin-row { border: 1px solid var(--line); border-radius: 13px; padding: 12px; display: grid; grid-template-columns: minmax(180px,1fr) auto; gap: 14px; align-items: center; }
.user-admin-identity { min-width: 0; display: grid; gap: 3px; }
.user-admin-identity strong { font-size: 13px; }
.user-admin-identity span { color: #536273; font-size: 11px; }
.user-admin-identity small { color: #8793a1; font-size: 9px; }
.user-admin-controls { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.user-admin-controls select { width: 92px; padding: 7px 8px; font-size: 10px; }
.user-active-toggle { display: inline-flex; align-items: center; gap: 4px; color: #5d6b7a; font-size: 10px; }
.user-active-toggle input { width: auto; }
.credential-loading { padding: 18px; color: #728093; text-align: center; font-size: 12px; }

@media (max-width: 850px) {
  .user-admin-layout { grid-template-columns: 1fr; }
  .user-admin-row { grid-template-columns: 1fr; }
  .user-admin-controls { justify-content: flex-start; }
}

/* ================= V4.2.19 REALTIME CHAT ================= */
.chat-section, .postit-section { margin-top: 26px; }
.chat-head, .postit-head { align-items: flex-start; gap: 18px; }
.chat-help, .postit-help { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; max-width: 760px; }
.chat-connection-status, .postit-sync-status { margin: 7px 0 0; font-size: 11px; font-weight: 800; color: #64748b; }
.chat-connection-status[data-state="online"], .postit-sync-status[data-state="online"] { color: #047857; }
.chat-connection-status[data-state="loading"], .postit-sync-status[data-state="loading"] { color: #475569; }
.chat-connection-status[data-state="offline"], .postit-sync-status[data-state="offline"] { color: #b45309; }
.chat-head-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.chat-online-pill { display: inline-flex; align-items: center; min-height: 34px; padding: 0 11px; border-radius: 999px; border: 1px solid #cfe5da; background: #f0faf5; color: #18724d; font-size: 11px; font-weight: 850; }
.danger-button { color: #a43c36; border-color: #edc9c6; background: #fff8f7; }
.chat-shell { height: min(700px, calc(100vh - 235px)); min-height: 520px; display: grid; grid-template-rows: auto minmax(0,1fr) auto auto; border: 1px solid var(--line); border-radius: 20px; background: #f7f9fc; overflow: hidden; box-shadow: 0 8px 30px rgba(15, 34, 56, .055); }
.chat-room-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; background: #fff; border-bottom: 1px solid var(--line); }
.chat-room-bar > div { display: grid; gap: 2px; }
.chat-room-bar strong { color: #15263b; font-size: 14px; }
.chat-room-bar span { color: #8290a1; font-size: 10px; }
.chat-message-count { white-space: nowrap; }
.chat-messages { min-height: 0; overflow-y: auto; padding: 22px 20px 16px; display: flex; flex-direction: column; gap: 14px; scroll-behavior: smooth; }
.chat-empty { align-self: center; margin: auto; color: #8b98a7; font-size: 12px; text-align: center; }
.chat-empty[hidden] { display: none !important; }
.chat-message-row { display: flex; align-items: flex-end; gap: 9px; max-width: min(76%, 760px); }
.chat-message-row.own { align-self: flex-end; justify-content: flex-end; }
.chat-message-avatar { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: #dfe9f5; color: #24557f; font-size: 12px; font-weight: 900; box-shadow: inset 0 0 0 1px rgba(27,74,121,.05); }
.chat-message-row.own .chat-message-avatar { background: #183a61; color: #fff; }
.chat-message-body { min-width: 0; display: grid; gap: 5px; }
.chat-message-meta { display: flex; align-items: center; gap: 8px; padding: 0 3px; }
.chat-message-meta strong { color: #34495f; font-size: 10.5px; }
.chat-message-meta span { color: #9aa5b1; font-size: 9px; }
.chat-delete-button { margin-left: auto; border: 0; background: transparent; color: #a97774; font-size: 9px; font-weight: 800; cursor: pointer; padding: 2px 3px; opacity: .35; }
.chat-message-row:hover .chat-delete-button { opacity: 1; }
.chat-bubble { padding: 10px 13px; border: 1px solid #e0e6ed; border-radius: 6px 15px 15px 15px; background: #fff; color: #213247; font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 2px 7px rgba(15,34,56,.035); }
.chat-message-row.own .chat-bubble { border-color: #214d7e; border-radius: 15px 6px 15px 15px; background: linear-gradient(145deg, #214d7e, #183b62); color: #fff; }
.chat-emoji-picker { display: grid; grid-template-columns: repeat(12, 32px); gap: 3px; padding: 10px 14px; border-top: 1px solid var(--line); background: #fff; max-height: 132px; overflow-y: auto; }
.chat-emoji-picker[hidden] { display: none !important; }
.chat-emoji-item { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; font-size: 19px; cursor: pointer; }
.chat-emoji-item:hover { background: #eef3f8; transform: scale(1.08); }
.chat-composer { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 9px; align-items: end; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.chat-emoji-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #f7f9fc; color: #43566d; font-size: 21px; cursor: pointer; }
.chat-composer textarea { min-height: 42px; max-height: 126px; width: 100%; resize: none; border: 1px solid #d8e0e9; border-radius: 13px; padding: 10px 12px; background: #fff; color: #17283c; font: inherit; font-size: 13px; line-height: 1.55; outline: none; overflow-y: auto; }
.chat-composer textarea:focus { border-color: #8eaed1; box-shadow: 0 0 0 3px rgba(36,87,147,.08); }
.chat-send-button { min-height: 42px; padding: 0 18px; }

/* ================= V4.2.19 POST-IT BOARD ================= */
.postit-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; padding-bottom: 13px; border-bottom: 1px solid #e6ebf0; }
.postit-tabs { display: inline-flex; gap: 6px; padding: 4px; border-radius: 13px; background: #edf2f7; }
.postit-tab { min-height: 36px; padding: 0 13px; border: 0; border-radius: 10px; background: transparent; color: #627286; font-size: 11px; font-weight: 850; cursor: pointer; }
.postit-tab span { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 5px; padding: 0 5px; border-radius: 999px; background: rgba(0,0,0,.055); font-size: 9px; }
.postit-tab.active { background: #fff; color: #183b62; box-shadow: 0 2px 8px rgba(21,49,80,.08); }
.postit-legend { display: flex; gap: 12px; align-items: center; color: #8190a0; font-size: 10px; }
.postit-legend .legend-important { color: #b74c44; font-weight: 850; }
.postit-board { display: grid; grid-template-columns: repeat(4, minmax(210px,1fr)); gap: 20px 18px; align-items: start; padding: 6px 4px 24px; }
.postit-card { --postit-bg: #fff3a8; --postit-line: #e4d57f; position: relative; min-height: 220px; display: flex; flex-direction: column; padding: 19px 18px 15px; border: 1px solid var(--postit-line); border-radius: 4px 4px 14px 4px; background: var(--postit-bg); color: #3f432a; box-shadow: 0 12px 20px rgba(65,68,47,.10), 0 2px 4px rgba(65,68,47,.06); transform: rotate(var(--postit-tilt, 0deg)); transform-origin: 50% 12%; transition: transform .15s ease, box-shadow .15s ease; overflow: hidden; }
.postit-card:hover { transform: rotate(0deg) translateY(-2px); box-shadow: 0 16px 28px rgba(65,68,47,.14), 0 3px 6px rgba(65,68,47,.08); z-index: 2; }
.postit-card::before { content: ""; position: absolute; width: 62px; height: 17px; top: -4px; left: 50%; transform: translateX(-50%) rotate(-1deg); background: rgba(255,255,255,.48); border: 1px solid rgba(120,110,70,.08); box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.postit-card::after { content: ""; position: absolute; right: 0; bottom: 0; width: 28px; height: 28px; background: linear-gradient(135deg, rgba(255,255,255,0) 0 49%, rgba(255,255,255,.6) 50% 100%); }
.postit-card.color-pink { --postit-bg: #ffdce5; --postit-line: #ebbdc9; color: #4c3038; }
.postit-card.color-blue { --postit-bg: #dceeff; --postit-line: #bed8ee; color: #29445c; }
.postit-card.color-green { --postit-bg: #dff3dc; --postit-line: #c3dfbf; color: #314b30; }
.postit-card.color-purple { --postit-bg: #eadff8; --postit-line: #d2c0e8; color: #47395b; }
.postit-card.important { box-shadow: 0 12px 22px rgba(151,77,69,.14), 0 0 0 2px rgba(189,74,64,.18); }
.postit-card-top { min-height: 25px; display: flex; justify-content: space-between; gap: 9px; align-items: flex-start; margin-bottom: 8px; }
.postit-card-badges { display: flex; gap: 5px; flex-wrap: wrap; }
.postit-card-badges span, .postit-card-badges b { display: inline-flex; align-items: center; min-height: 22px; padding: 0 7px; border-radius: 999px; background: rgba(255,255,255,.45); color: inherit; font-size: 8.5px; font-weight: 850; }
.postit-card-badges b { background: #b94d45; color: #fff; }
.postit-card-actions { display: flex; gap: 4px; }
.postit-card-actions button { border: 0; background: transparent; color: rgba(47,58,48,.64); font-size: 8.5px; font-weight: 850; cursor: pointer; padding: 3px 4px; }
.postit-card-actions .danger-text { color: #a5403a; }
.postit-card h3 { margin: 3px 0 9px; font-size: 17px; line-height: 1.25; letter-spacing: -.025em; overflow-wrap: anywhere; }
.postit-card-body { flex: 1; min-height: 92px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12.5px; line-height: 1.65; }
.postit-card footer { display: grid; gap: 2px; margin-top: 15px; padding-top: 10px; border-top: 1px dashed rgba(63,67,42,.19); }
.postit-card footer span { font-size: 9.5px; font-weight: 850; }
.postit-card footer time { font-size: 8.5px; opacity: .62; }
.postit-modal-card { width: min(720px, 94vw); }
.postit-form { display: grid; gap: 13px; }
.postit-form label { display: grid; gap: 6px; }
.postit-form label > span, .postit-color-fieldset legend { color: #536273; font-size: 11px; font-weight: 800; }
.postit-form input[type="text"], .postit-form select, .postit-form textarea { width: 100%; border: 1px solid #d9e1e9; border-radius: 11px; padding: 11px 12px; background: #fff; color: #162235; font: inherit; outline: none; }
.postit-form textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
.postit-form-grid { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 12px; }
.postit-important-control { grid-template-columns: auto auto 1fr !important; align-items: center; align-content: end; padding: 10px 12px; border: 1px solid #e3e8ee; border-radius: 11px; background: #fafbfc; }
.postit-important-control > span { grid-column: 1 / -1; }
.postit-important-control input { width: 17px; height: 17px; }
.postit-important-control b { color: #5b6573; font-size: 10.5px; }
.postit-color-fieldset { border: 0; margin: 0; padding: 0; }
.postit-color-picker { display: flex; gap: 9px; margin-top: 7px; }
.postit-color-picker label { display: block; cursor: pointer; }
.postit-color-picker input { position: absolute; opacity: 0; pointer-events: none; }
.postit-color-picker span { width: 32px; height: 32px; display: block; border-radius: 9px; border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.postit-color-picker span[data-color="yellow"] { background: #fff3a8; }
.postit-color-picker span[data-color="pink"] { background: #ffdce5; }
.postit-color-picker span[data-color="blue"] { background: #dceeff; }
.postit-color-picker span[data-color="green"] { background: #dff3dc; }
.postit-color-picker span[data-color="purple"] { background: #eadff8; }
.postit-color-picker input:checked + span { border-color: #183b62; box-shadow: 0 0 0 3px rgba(24,59,98,.11); }

@media (max-width: 1150px) {
  .postit-board { grid-template-columns: repeat(3, minmax(210px,1fr)); }
  .chat-message-row { max-width: 86%; }
}
@media (max-width: 850px) {
  .postit-board { grid-template-columns: repeat(2, minmax(190px,1fr)); }
  .postit-toolbar { align-items: flex-start; flex-direction: column; }
  .chat-head-actions { justify-content: flex-start; }
  .chat-emoji-picker { grid-template-columns: repeat(10, 32px); }
}
@media (max-width: 600px) {
  .postit-board { grid-template-columns: 1fr; gap: 14px; }
  .postit-card { min-height: 190px; transform: none; }
  .postit-form-grid { grid-template-columns: 1fr; }
  .chat-shell { min-height: 500px; height: calc(100vh - 205px); border-radius: 15px; }
  .chat-messages { padding: 16px 11px 12px; }
  .chat-message-row { max-width: 94%; }
  .chat-emoji-picker { grid-template-columns: repeat(8, 32px); }
  .chat-composer { grid-template-columns: 38px minmax(0,1fr) auto; padding: 10px; gap: 7px; }
  .chat-emoji-button { width: 38px; height: 40px; }
  .chat-send-button { padding: 0 12px; }
}


/* ================= V4.2.19 NOTICE + PRESENCE + FAVORITES ================= */
.resource-head-tools { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; }
.home-favorite-quick {
  margin: 16px 0 4px; width: 100%; display: grid; gap: 13px; padding: 16px 18px;
  border: 1px solid #dbe4ee; border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(246,249,253,.94));
  box-shadow: 0 7px 24px rgba(15,23,36,.045);
}
.home-favorite-quick-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; }
.home-favorite-title-block { min-width: 0; display: grid; gap: 3px; }
.home-favorite-eyebrow { color: #2c64a2; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.home-favorite-title-row { display: flex; align-items: baseline; gap: 10px; min-width: 0; flex-wrap: wrap; }
.home-favorite-quick-label { color: #1c2f46; font-size: 15px; font-weight: 900; white-space: nowrap; }
.home-favorite-hint { color: #8b98a8; font-size: 10px; font-weight: 650; }
.home-favorite-widget-actions { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }
.home-mini-favorites-button {
  min-height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 0 11px; border: 1px solid #cbd9e6;
  border-radius: 10px; background: #f6f9fc; color: #315b82; font-size: 9.5px; font-weight: 850; cursor: pointer; white-space: nowrap; text-decoration: none;
}
.home-mini-download-button { background: #edf8f0; border-color: #b8dbc4; color: #20603a; }
.home-mini-download-button:hover { background: #e2f3e7; border-color: #95c8a6; color: #174c2c; }
.home-mini-favorites-button:hover, .home-mini-favorites-button.active { background: #eaf3fb; border-color: #a8c5e1; color: #174f7d; }
.home-favorite-quick-list { min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.home-favorite-quick-link {
  position: relative; min-width: 0; min-height: 56px; display: flex; align-items: center; justify-content: flex-start; gap: 9px;
  padding: 8px 34px 8px 46px; border: 1px solid #d7e1eb; border-radius: 12px; background: #fff; color: #20364f;
  font-size: 11.5px; font-weight: 850; overflow: hidden; cursor: grab; text-decoration: none;
  box-shadow: 0 2px 7px rgba(15,23,36,.035); transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
}
.home-favorite-quick-link::before {
  content: attr(data-icon); position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px;
  display: grid; place-items: center; border-radius: 8px; background: linear-gradient(135deg,#eaf3ff,#f3f7fc); color: #2762a1;
  border: 1px solid #d9e6f4; font-size: 11px; font-weight: 900;
}
.home-favorite-quick-link::after { content: "↗"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #8e9baa; font-size: 11px; }
.home-favorite-quick-name { min-width: 0; width: 100%; line-height: 1.28; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.home-favorite-quick-link:active { cursor: grabbing; }
.home-favorite-quick-link.favorite-dragging { opacity: .42; transform: scale(.985); }
.home-favorite-quick-link.favorite-drag-over { border-color: #6f9cc8; background: #edf5fc; }
.home-favorite-quick-link:hover { background: #fbfdff; border-color: #afc6de; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(34,78,122,.08); }
.home-favorite-quick-link.disabled { opacity: .45; pointer-events: none; }
.home-favorite-empty { grid-column: 1/-1; min-height: 52px; display: grid; place-items: center; color: #98a3b0; font-size: 10.5px; font-weight: 700; border: 1px dashed #d7e0e9; border-radius: 12px; background: rgba(248,250,252,.8); }
.collection-favorite-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: #99a3af; font-size: 19px; line-height: 1; cursor: pointer; }
.collection-favorite-button:hover { background: #f8fafc; color: #52657a; }
.collection-favorite-button.active { color: #b7791f; background: #fffaf0; border-color: #efd7a4; }

@media (max-width: 900px) {
  .home-favorite-quick-head { align-items: flex-start; flex-direction: column; }
  .home-favorite-widget-actions { width: 100%; }
  .home-favorite-quick-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .home-favorite-quick { padding: 14px; }
  .home-favorite-quick-list { grid-template-columns: 1fr; }
}

.notice-section { margin-top: 28px; }
.notice-head { margin-bottom: 18px; }
.notice-dashboard { margin-bottom: 18px; }
.notice-dashboard article { min-height: 78px; display: flex; flex-direction: column; justify-content: center; }
.notice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; columns: initial; }
.notice-card {
  width: 100%; height: 356px; min-width: 0; display: flex; flex-direction: column; margin: 0;
  background: #fff; border: 1px solid #e0e6ed; border-radius: 18px; padding: 19px 20px 16px;
  box-shadow: 0 3px 14px rgba(15,23,36,.035); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.notice-card:hover { transform: translateY(-2px); border-color: #d3dde8; box-shadow: 0 10px 28px rgba(15,23,36,.07); }
.notice-card.important { border-color: #ead8a6; box-shadow: inset 3px 0 0 #d5a12d, 0 3px 14px rgba(15,23,36,.035); }
.notice-card.important:hover { box-shadow: inset 3px 0 0 #d5a12d, 0 10px 28px rgba(15,23,36,.07); }
.notice-card-top { min-height: 27px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: nowrap; }
.notice-card-meta-group { min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.notice-meta { color: #8793a1; font-size: 10.5px; white-space: nowrap; }
.notice-card h3 { margin: 15px 0 9px; color: #15263b; font-size: 18px; line-height: 1.35; letter-spacing: -.025em; }
.notice-body {
  min-height: 0; flex: 1; margin: 0; padding: 1px 9px 1px 0; color: #47586b; font-size: 12.5px; line-height: 1.72;
  white-space: pre-wrap; overflow-wrap: anywhere; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #cbd6e1 transparent;
}
.notice-body::-webkit-scrollbar { width: 7px; }
.notice-body::-webkit-scrollbar-thumb { background: #cbd6e1; border-radius: 999px; }
.notice-body::-webkit-scrollbar-track { background: transparent; }
.notice-drag-handle {
  width: 24px; height: 24px; display: inline-grid; place-items: center; border: 1px solid #dce4ec; border-radius: 7px;
  background: #f8fafc; color: #7a8998; font-size: 14px; line-height: 1; cursor: grab; user-select: none;
}
.notice-drag-handle:active { cursor: grabbing; }
.notice-drag-handle.disabled { opacity: .35; cursor: not-allowed; }
.notice-card.notice-dragging { opacity: .48; transform: scale(.985); }
.notice-card.notice-drag-over { border-color: #7fa7ce; box-shadow: inset 0 0 0 2px rgba(75,125,175,.14), 0 10px 28px rgba(15,23,36,.07); }
.notice-status {
  flex: 0 0 auto; min-height: 25px; display: inline-flex; align-items: center; gap: 6px; padding: 0 9px;
  border: 1px solid currentColor; border-radius: 999px; background: #fff; font-size: 9.5px; font-weight: 850; white-space: nowrap;
}
.notice-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 2px color-mix(in srgb, currentColor 14%, transparent); }
.notice-status.status-ongoing { color: #16815c; background: #f4fbf7; border-color: #b9dfce; }
.notice-status.status-ended { color: #b7473f; background: #fff7f6; border-color: #ecc6c2; }
.notice-status.status-upcoming { color: #a36b0a; background: #fffaf0; border-color: #ecd69c; }
.notice-status.status-always { color: #3f68a0; background: #f5f8fd; border-color: #c8d6ea; }
.notice-actions {
  min-height: 35px; margin-top: 14px; padding-top: 11px; border-top: 1px solid #edf1f5;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.notice-view-button { border: 0; padding: 4px 0; background: transparent; color: #365f8d; font-size: 10.5px; font-weight: 850; cursor: pointer; }
.notice-view-button:hover { color: #173f6a; }
.notice-admin-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.notice-actions .text-button { font-size: 10.5px; }
.notice-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.notice-view-modal-card { width: min(820px, 94vw); padding: 25px 26px 28px; }
.notice-view-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.notice-view-badges { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.notice-view-title { margin: 18px 0 8px; color: #122238; font-size: 25px; line-height: 1.3; letter-spacing: -.035em; }
.notice-view-meta { margin: 0 0 20px; padding-bottom: 15px; border-bottom: 1px solid #e8edf2; color: #7f8c9a; font-size: 11px; }
.notice-view-body { color: #34475d; font-size: 13.5px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }

.chat-presence-card { max-width: min(640px, 48vw); display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.chat-online-pill { white-space: nowrap; }
.chat-online-users { display: flex; align-items: center; justify-content: flex-end; gap: 5px; flex-wrap: wrap; }
.chat-online-user {
  min-height: 26px; display: inline-flex; align-items: center; padding: 0 8px; border: 1px solid #dce4ec; border-radius: 999px;
  background: #fff; color: #536579; font-size: 9.5px; font-weight: 800;
}
.chat-online-user.own { border-color: #bed5e8; background: #eef6fc; color: #1f5d8f; }
.chat-online-empty { color: #9aa5b1; font-size: 9.5px; font-weight: 700; }

@media (max-width: 1120px) {
  .notice-list { grid-template-columns: 1fr; }
  .chat-presence-card { max-width: 100%; justify-content: flex-start; }
  .chat-online-users { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .resource-head-tools { width: 100%; align-items: stretch; flex-direction: column; }
  .notice-card { height: 342px; }
  .notice-form-row { grid-template-columns: 1fr; }
  .chat-head-actions { width: 100%; }
  .chat-presence-card { width: 100%; }
}

.auth-turnstile{margin:4px 0 2px;min-height:65px;display:flex;justify-content:center;align-items:center}.auth-turnstile[hidden]{display:none!important}

/* V4.2.26 user deletion */
.mini-button.danger { border-color: #f0b7b7; color: #b42318; background: #fff7f6; }
.mini-button.danger:hover:not(:disabled) { background: #feeceb; border-color: #e88982; }
.mini-button.danger:disabled { opacity: .42; cursor: not-allowed; }


/* V4.2.36 login popup notice */
.popup-notice-state{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:700;margin-left:8px}
.popup-notice-state.active{background:#dcfce7;color:#166534;border:1px solid #86efac}
.popup-notice-state.inactive{background:#f1f5f9;color:#64748b;border:1px solid #cbd5e1}
.login-popup-notice-backdrop{z-index:1200}
.login-popup-notice-card{max-width:620px;width:min(620px,calc(100vw - 32px));border-top:5px solid #2563eb}
.login-popup-notice-card .notice-view-title{margin-top:8px;font-size:28px;line-height:1.25}
.login-popup-notice-body{white-space:pre-wrap;max-height:48vh;overflow:auto;font-size:15px;line-height:1.7}
.popup-notice-admin-section .notice-card{position:relative}
.popup-active-field>.user-active-toggle{margin-top:8px}

/* V4.2.36 direct messages */
.message-section,.popup-notice-admin-section{margin-top:30px}
.message-help,.popup-notice-admin-help{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.message-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px 0 14px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:#fff}
.message-tabs{display:flex;align-items:center;gap:8px}
.message-tab{border:1px solid #dbe3eb;background:#f8fafc;color:#526273;border-radius:10px;padding:9px 12px;font-size:12px;font-weight:800}
.message-tab.active{border-color:#9bb7d4;background:#edf5fc;color:#214f80}
.message-tab span{display:inline-flex;min-width:19px;height:19px;align-items:center;justify-content:center;margin-left:5px;padding:0 5px;border-radius:999px;background:#dbeafe;color:#1d4f91;font-size:10px}
.message-sync-status{color:#7a8795;font-size:11px;font-weight:700}
.message-list{display:grid;gap:10px}
.message-row{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:start;padding:15px 16px;border:1px solid #e2e7ec;border-radius:14px;background:#fff;box-shadow:0 2px 8px rgba(15,23,36,.025);cursor:pointer;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease}
.message-row:hover{border-color:#c8d5e2;box-shadow:0 7px 20px rgba(15,23,36,.06);transform:translateY(-1px)}
.message-row.unread{border-left:4px solid #2f6da9;background:#fbfdff}
.message-row.admin-sender{background:linear-gradient(90deg,#fffaf0 0,#fff 32%)}
.message-row-avatar{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#edf2f7;color:#40546a;font-size:14px;font-weight:900}
.message-row-avatar.admin{background:#fff1cc;color:#8a5b00;border:1px solid #efcf75}
.message-row-content{min-width:0}
.message-row-head{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.message-row-head strong{font-size:12px;color:#2d4055}
.message-row-content h3{margin:6px 0 5px;font-size:14px;color:#16283d}
.message-row-content p{margin:0 0 7px;color:#647386;font-size:12px;line-height:1.55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.message-row-content small{color:#98a2ad;font-size:10px}
.message-admin-badge,.message-unread-dot{display:inline-flex;align-items:center;min-height:20px;padding:0 7px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.04em}
.message-admin-badge{background:#fff0c2;color:#855400;border:1px solid #edca67}
.message-unread-dot{background:#e7f1fb;color:#225d93;border:1px solid #bed5ea}
.message-compose-modal-card,.message-view-modal-card{width:min(720px,94vw)}
.message-view-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.message-sender-badge{display:inline-flex;min-height:26px;align-items:center;padding:0 10px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.06em}
.message-sender-badge.admin{background:#fff0c2;color:#7a4d00;border:1px solid #e6be52}
.message-sender-badge.user{background:#edf2f7;color:#526273;border:1px solid #d8e0e8}
.message-view-title{margin:18px 0 8px;font-size:24px;color:#14263a;letter-spacing:-.03em}
.message-view-meta{margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid #e7ecf1;color:#778596;font-size:11px}
.message-view-body{min-height:120px;max-height:50vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:#34475d;font-size:13.5px;line-height:1.8}
.message-view-actions{justify-content:flex-end}

@media (max-width:760px){
  .message-toolbar{align-items:stretch;flex-direction:column}
  .message-tabs{width:100%}.message-tab{flex:1}
  .message-row{grid-template-columns:34px minmax(0,1fr);padding:13px 12px}.message-row-avatar{width:32px;height:32px;border-radius:10px}
}

/* V4.2.40 HOME popup notice ticker + V4.2.39 multi login popup notices */
.login-popup-notice-card{touch-action:pan-y}
.login-popup-notice-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:18px}
.login-popup-notice-actions{display:flex;align-items:center;gap:8px;min-width:0}
.login-popup-notice-actions>.primary-button{min-width:92px}
.login-popup-notice-snooze{white-space:nowrap;font-weight:800}
.login-popup-notice-pager{margin-left:auto;display:flex;align-items:center;gap:8px;padding:5px 6px;border:1px solid #dbe3eb;border-radius:12px;background:#f8fafc}
.login-popup-pager-button{width:34px;height:32px;border:1px solid #d4dee8;border-radius:9px;background:#fff;color:#17395f;font-size:22px;font-weight:800;line-height:1;display:grid;place-items:center;cursor:pointer}
.login-popup-pager-button:hover:not(:disabled){background:#edf5fc;border-color:#9bb7d4}
.login-popup-pager-button:disabled{opacity:.32;cursor:default}
.login-popup-page-indicator{min-width:54px;text-align:center;color:#42566b;font-size:12px;font-weight:900;letter-spacing:.03em}
@media (max-width:560px){.login-popup-notice-footer{align-items:stretch;flex-direction:column}.login-popup-notice-actions{width:100%}.login-popup-notice-actions>button{flex:1}.login-popup-notice-pager{margin-left:0;align-self:flex-end}}

/* V4.2.40 - HOME popup notice ticker */
.home-popup-ticker {
  flex: 1 1 360px; min-width: 220px; max-width: 720px; height: 44px; align-self: flex-start;
  display: flex; align-items: center; gap: 0; margin: 0; padding: 0; overflow: hidden;
  border: 1px solid #d9e3ec; border-radius: 13px; background: rgba(255,255,255,.92); color: #26384b;
  box-shadow: 0 2px 10px rgba(15,23,36,.035); cursor: pointer; text-align: left;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.home-popup-ticker:hover { border-color: #aac1d8; background: #fff; box-shadow: 0 7px 20px rgba(31,79,143,.08); }
.home-popup-ticker:focus-visible { outline: 3px solid rgba(31,79,143,.14); outline-offset: 2px; }
.home-popup-ticker-mark {
  flex: 0 0 40px; height: 100%; display: grid; place-items: center; position: relative; z-index: 2;
  border-right: 1px solid #e3e9ef; background: #f8fbfd; color: #1f5b92; font-size: 15px; font-weight: 900;
}
.home-popup-ticker-viewport {
  flex: 1; min-width: 0; overflow: hidden; height: 100%; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
}
.home-popup-ticker-track {
  --popup-ticker-duration: 36s; display: inline-flex; align-items: center; width: max-content; min-width: max-content;
  will-change: transform; animation: homePopupTickerMove var(--popup-ticker-duration) linear infinite;
}
.home-popup-ticker:hover .home-popup-ticker-track { animation-play-state: paused; }
.home-popup-ticker-copy {
  flex: 0 0 auto; white-space: nowrap; padding: 0 54px 0 18px; color: #3d4e61; font-size: 12px; font-weight: 750; letter-spacing: -.01em;
}
.home-popup-ticker-copy .ticker-important { color: #b45309; font-weight: 900; }
.home-popup-ticker-copy .ticker-normal { color: #1f5b92; font-weight: 900; }
.home-popup-ticker-copy .ticker-separator { display: inline-block; padding: 0 18px; color: #a3afbb; }
@keyframes homePopupTickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .home-popup-ticker-track { animation: none; }
  .home-popup-ticker-viewport { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
}
@media (max-width: 1320px) and (min-width: 901px) {
  .topbar { flex-wrap: wrap; }
  .home-popup-ticker { order: 3; flex: 1 0 100%; max-width: none; width: 100%; }
}
@media (max-width: 900px) {
  .home-popup-ticker { width: 100%; max-width: none; min-width: 0; order: 2; }
  .top-actions { order: 3; }
}


/* V4.2.41 message center modal + unread attention */
.message-center-backdrop{z-index:1180;align-items:center;justify-content:center;padding:26px}
.message-center-card{width:min(980px,94vw);height:min(760px,88vh);overflow:hidden;display:flex;flex-direction:column}
.message-center-card .message-head{flex:0 0 auto;margin-bottom:4px}
.message-center-card .message-toolbar{flex:0 0 auto}
.message-center-card .message-list{overflow:auto;padding-right:4px;min-height:0}
.message-center-head-actions{display:flex;align-items:center;gap:8px}
.account-message-button.has-unread{border-color:#f3b25f;background:#5f3d1d;color:#fff7e8;box-shadow:0 0 0 3px rgba(244,173,74,.16),0 0 18px rgba(244,173,74,.34);animation:messageGlow 1.8s ease-in-out infinite}
.account-message-button.message-arrived{animation:messageShake .48s ease-in-out 0s 2,messageGlow 1.8s ease-in-out .96s infinite}
@keyframes messageGlow{0%,100%{box-shadow:0 0 0 2px rgba(244,173,74,.10),0 0 10px rgba(244,173,74,.20)}50%{box-shadow:0 0 0 4px rgba(244,173,74,.18),0 0 24px rgba(244,173,74,.50)}}
@keyframes messageShake{0%,100%{transform:translateX(0)}20%{transform:translateX(-3px) rotate(-4deg)}40%{transform:translateX(3px) rotate(4deg)}60%{transform:translateX(-2px) rotate(-3deg)}80%{transform:translateX(2px) rotate(3deg)}}
.popup-order-controls{display:inline-flex;gap:4px;margin-right:auto}
.popup-order-button{min-width:30px;height:28px;border:1px solid #d7e0e8;border-radius:8px;background:#f8fafc;color:#36506a;font-weight:900;cursor:pointer}
.popup-order-button:disabled{opacity:.3;cursor:default}
@media (prefers-reduced-motion:reduce){.account-message-button.has-unread,.account-message-button.message-arrived{animation:none}}

/* V4.2.43 message layering, search, and compact recipient picker. */

/* V4.2.43 stacked direct-message modals */
#messageComposeModal{z-index:1260}
#messageViewModal{z-index:1280}
#messageComposeModal .modal-card,#messageViewModal .modal-card{box-shadow:0 34px 88px rgba(0,0,0,.32)}
.message-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.message-list-search{display:flex;align-items:center;gap:6px;flex:1 1 260px;max-width:420px;min-width:180px;height:34px;padding:0 10px;border:1px solid #d8e0e9;border-radius:10px;background:#fff;color:#728096}
.message-list-search input{width:100%;border:0;outline:0;background:transparent;color:#26384c;font:inherit;font-size:12px}
.message-recipient-picker{display:grid;grid-template-columns:minmax(170px,.82fr) minmax(220px,1.18fr);gap:8px;align-items:center}
.message-recipient-picker>select{min-width:0}
.message-recipient-search{display:flex!important;align-items:center;gap:6px;min-width:0;height:42px;padding:0 10px;border:1px solid var(--line);border-radius:11px;background:#fff}
.message-recipient-search>span{color:#7d8b99;font-weight:700}
.message-recipient-search input{width:100%;min-width:0;border:0!important;box-shadow:none!important;padding:0!important;outline:0;background:transparent;color:var(--text)}
@media(max-width:680px){.message-recipient-picker{grid-template-columns:1fr}.message-list-search{max-width:none;flex-basis:100%}}

.message-form-field{display:grid;gap:7px}
.message-form-field>span{color:#536273;font-size:12px;font-weight:700}

/* V4.2.48 MINI message-detail click recovery release. */

/* V4.2.48 MINI UI/resizing release; web UI unchanged. */


/* ================= V4.2.49 BRAND / CP / POST-IT ORDER ================= */
.brand-mark, .auth-brand-mark {
  overflow: hidden;
  background: #fff;
  padding: 0;
}
.brand-mark img, .auth-brand-mark img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.page-heading-brand { display:flex; align-items:center; gap:14px; min-width:0; }
.page-heading-symbol {
  width:46px; height:46px; flex:0 0 46px; border-radius:13px; background:#fff;
  object-fit:cover; box-shadow:0 6px 18px rgba(40,84,145,.10); border:1px solid #dce5ee;
}
.resource-icon.has-image { padding: 0; overflow: hidden; background:#fff; }
.resource-icon.has-image img { width:100%; height:100%; display:block; object-fit:cover; }
.postit-card-actions button:disabled { opacity:.22; cursor:default; }
.postit-card-actions button:not(:disabled):hover { color:rgba(25,51,72,.95); transform:translateY(-1px); }


/* ================= V4.2.50 SYMBOL / CP CLASSIFICATION POLISH ================= */
/* The supplied BABA mark is a symbol, not a boxed tile. Keep its canvas transparent. */
.brand-mark, .auth-brand-mark {
  background: transparent !important; border: 0 !important; border-radius: 0 !important;
  overflow: visible !important; box-shadow: none !important;
}
.brand-mark { width: 38px; height: 38px; }
.auth-brand-mark { width: 42px; height: 42px; }
.brand-mark img, .auth-brand-mark img {
  width: 100%; height: 100%; object-fit: contain !important; background: transparent !important;
}
.page-heading-brand { align-items: flex-start; gap: 10px; }
.page-heading-symbol {
  width: 36px; height: 36px; flex: 0 0 36px; margin-top: 25px;
  padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; object-fit: contain;
}
.resource-icon.has-image { background: transparent; border: 0; }
.resource-icon.has-image img { object-fit: contain; }

/* V4.2.53 ADMIN CATEGORY ORDER */
.category-order-button{border-style:dashed;color:#cbd7e4}
.category-order-button:hover{background:#17283b;color:#fff;border-color:#506982}
.category-order-card{width:min(560px,100%)}
.category-order-list{display:grid;gap:8px;margin-top:14px}
.category-order-row{display:grid;grid-template-columns:28px 28px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px 11px;border:1px solid var(--line);border-radius:12px;background:#fbfcfe}
.category-order-index{width:24px;height:24px;display:grid;place-items:center;border-radius:8px;background:#eaf2fb;color:#22548b;font-size:10px;font-weight:900}
.category-order-icon{width:24px;text-align:center;color:#52677d;font-weight:900}
.category-order-row strong{font-size:13px}
.category-order-move{display:flex;gap:9px;align-items:center}
.category-order-move .text-button{padding:5px 2px}
.category-order-move .text-button:disabled{opacity:.25;cursor:not-allowed}
.category-order-actions{margin-top:16px}
@media (max-width:520px){.category-order-row{grid-template-columns:28px 24px minmax(0,1fr)}.category-order-move{grid-column:3;justify-content:flex-end}}



/* V4.2.54 ADMIN collection-item ordering */
.collection-order-tools { display:inline-flex; align-items:center; gap:2px; padding-right:2px; }
.collection-order-button {
  width:26px; height:34px; border:0; background:transparent; color:#758496; padding:0;
  font:800 15px/1 system-ui,-apple-system,"Segoe UI",sans-serif; cursor:pointer; border-radius:8px;
}
.collection-order-button:hover:not(:disabled) { color:#174f7d; background:#eef5fb; }
.collection-order-button:disabled { opacity:.22; cursor:default; }
@media (max-width:640px) {
  .collection-order-tools { flex:0 0 auto !important; }
  .collection-order-button { width:30px; }
}


/* V4.2.55 ADMIN home-resource ordering */
.home-resource-order-button {
  flex:0 0 auto; border:1px dashed #b8c6d6; background:#fff; color:#52677d;
  border-radius:10px; padding:7px 10px; font-size:11px; font-weight:800; cursor:pointer;
}
.home-resource-order-button:hover { background:#eef5fb; border-color:#7ea2c4; color:#174f7d; }
.home-resource-order-row strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media (max-width:640px) {
  .home-group-heading { align-items:flex-start; }
  .home-resource-order-button { padding:6px 8px; font-size:10px; }
}


/* V4.2.58 workspace split + SCHEDULE live preview */
.workspace-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 4px 10px 12px;
  padding: 5px;
  border-radius: 12px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
}
.workspace-switch-button {
  position: relative;
  min-width: 0;
  border: 0;
  border-radius: 9px;
  padding: 9px 7px 8px;
  color: rgba(236,244,255,.62);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}
.workspace-switch-button:hover { background: rgba(255,255,255,.07); color: #fff; }
.workspace-switch-button.active {
  background: #f5f8fc;
  color: #10223a;
  box-shadow: 0 5px 15px rgba(0,0,0,.15);
}
.workspace-switch-code { display:block; font-size: 11px; line-height:1.1; font-weight:900; letter-spacing:.08em; }
.workspace-switch-name { display:block; margin-top:4px; font-size:10px; font-weight:700; opacity:.68; }
.workspace-beta-dot { position:absolute; top:8px; right:8px; width:6px; height:6px; border-radius:50%; background:#f5b942; box-shadow:0 0 0 3px rgba(245,185,66,.12); }
.workspace-switch-button.active .workspace-beta-dot { background:#e19616; }

.schedule-section { min-height: 520px; }
.schedule-development-gate {
  min-height: 62vh;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  padding:48px;
  border:1px dashed #cbd5e1;
  border-radius:24px;
  background:linear-gradient(145deg,#f8fafc,#eef3f8);
}
.schedule-maintenance-icon {
  flex:0 0 auto;
  width:92px;
  height:82px;
  display:grid;
  place-items:center;
  font-size:58px;
  filter: drop-shadow(0 8px 12px rgba(195,125,0,.18));
}
.schedule-maintenance-icon.small { width:58px; height:52px; font-size:38px; }
.schedule-maintenance-copy { max-width:680px; }
.schedule-maintenance-copy h2 { margin:12px 0 10px; font-size:30px; color:#10213a; }
.schedule-maintenance-copy p { margin:0; color:#607086; line-height:1.7; }
.schedule-status-pill {
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:6px 10px;
  border-radius:999px;
  background:#fff2cf;
  color:#9a6100;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  border:1px solid #f4d37a;
}
.schedule-status-pill.admin-preview { background:#eaf2ff; border-color:#bfd3f8; color:#21569e; }
.schedule-maintenance-note {
  display:grid;
  gap:4px;
  margin-top:22px;
  padding:15px 17px;
  border-radius:14px;
  background:#fff;
  border:1px solid #dde5ee;
}
.schedule-maintenance-note strong { color:#ad6b00; }
.schedule-maintenance-note span { color:#65758a; font-size:13px; line-height:1.55; }

.schedule-admin-preview { display:grid; gap:18px; }
.schedule-preview-banner {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:22px;
  padding:22px 24px;
  background:#fff;
  border:1px solid #dce4ee;
  border-radius:18px;
  box-shadow:0 7px 22px rgba(25,45,75,.06);
}
.schedule-preview-banner h2 { margin:10px 0 6px; font-size:26px; }
.schedule-preview-banner p { margin:0; max-width:820px; color:#66778d; line-height:1.6; }
.schedule-source-link { flex:0 0 auto; text-decoration:none; white-space:nowrap; }
.schedule-preview-progress { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; }
.schedule-progress-item {
  position:relative;
  display:grid;
  gap:3px;
  padding:13px 14px;
  border-radius:13px;
  background:#f6f8fb;
  border:1px solid #e1e7ef;
  color:#758296;
}
.schedule-progress-item > span { font-size:10px; font-weight:900; letter-spacing:.1em; color:#95a1b0; }
.schedule-progress-item strong { font-size:13px; color:#405067; }
.schedule-progress-item small { font-size:11px; }
.schedule-progress-item.done { background:#edf8f2; border-color:#cfe9da; }
.schedule-progress-item.done strong { color:#246342; }
.schedule-progress-item.active { background:#fff8e8; border-color:#f0d68b; box-shadow:inset 3px 0 0 #d89811; }
.schedule-progress-item.active strong { color:#8b5d00; }
.schedule-subnav {
  display:flex;
  gap:7px;
  overflow-x:auto;
  padding:5px 2px 9px;
  scrollbar-width:thin;
}
.schedule-subnav-button {
  flex:0 0 auto;
  border:1px solid #d8e1eb;
  background:#fff;
  color:#637187;
  border-radius:10px;
  padding:9px 13px;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  transition:transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease;
}
.schedule-subnav-button:hover { transform:translateY(-1px); border-color:#b7c8de; color:#163e73; }
.schedule-subnav-button.active { background:#11243d; border-color:#11243d; color:#fff; }
.schedule-subnav-button.admin::after { content:"ADMIN"; margin-left:6px; font-size:8px; opacity:.62; }
.schedule-preview-content {
  min-height:360px;
  padding:22px;
  border-radius:18px;
  background:#fff;
  border:1px solid #dce4ee;
}
.schedule-tab-heading { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; margin-bottom:20px; }
.schedule-tab-heading h2 { margin:5px 0 5px; font-size:24px; }
.schedule-tab-heading p { margin:0; color:#68788d; line-height:1.6; }
.schedule-card-kicker { font-size:10px; font-weight:900; letter-spacing:.12em; color:#33639f; }
.schedule-preview-badge { flex:0 0 auto; padding:6px 9px; border-radius:999px; background:#fff4d8; color:#9a6200; font-size:11px; font-weight:900; }
.schedule-preview-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:14px; }
.schedule-preview-kpis article { padding:16px; border-radius:13px; background:#f7f9fc; border:1px solid #e3e8ef; display:grid; gap:3px; }
.schedule-preview-kpis span { font-size:11px; color:#788699; }
.schedule-preview-kpis strong { color:#132942; font-size:15px; }
.schedule-preview-kpis small { color:#8190a3; }
.schedule-preview-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.schedule-preview-card { padding:18px; border:1px solid #e0e7ef; border-radius:14px; background:#fff; }
.schedule-preview-card h3 { margin:7px 0 8px; font-size:16px; }
.schedule-preview-card p { margin:0; color:#6a798c; font-size:13px; line-height:1.6; }
.schedule-preview-card.warning { background:#fffaf0; border-color:#efd99d; }
.schedule-feature-placeholder { min-height:260px; display:flex; align-items:center; justify-content:center; gap:18px; padding:32px; border:1px dashed #cbd6e2; border-radius:16px; background:#f8fafc; }
.schedule-feature-placeholder h3 { margin:7px 0 8px; font-size:20px; }
.schedule-feature-placeholder p { max-width:760px; margin:0; color:#69798d; line-height:1.65; }
.schedule-source-chip { display:inline-flex; margin-top:13px; padding:7px 10px; border-radius:8px; background:#e9f1fb; color:#2e5e98; font-size:11px; font-weight:800; }
.schedule-placeholder-note { margin-top:12px !important; font-size:12px; color:#8794a5 !important; }
@media (max-width: 980px) {
  .schedule-preview-progress { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .schedule-preview-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .schedule-preview-grid { grid-template-columns:1fr; }
  .schedule-preview-banner { flex-direction:column; }
}


/* V4.2.58 SCHEDULE identity + live read-only migration preview */
.schedule-preview-badge.connected { background:#e8f7ee; color:#267247; border:1px solid #c4e8d2; }
.schedule-live-source { display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding:10px 12px; margin-bottom:12px; border:1px solid #d7e6dc; border-radius:12px; background:#f3fbf6; color:#577064; font-size:12px; }
.schedule-live-source strong { color:#1f6b43; }
.schedule-live-source small { margin-left:auto; color:#7d8d84; }
.schedule-live-dot { width:8px; height:8px; border-radius:50%; background:#24a261; box-shadow:0 0 0 4px rgba(36,162,97,.11); }
.schedule-live-kpis { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin-bottom:12px; }
.schedule-live-kpis article { padding:15px; border:1px solid #e0e7ef; border-radius:13px; background:#fff; display:grid; gap:3px; }
.schedule-live-kpis span { font-size:11px; color:#7b899b; font-weight:800; }
.schedule-live-kpis strong { font-size:20px; color:#10243d; }
.schedule-live-kpis small { color:#95a0ae; font-size:10px; }
.schedule-today-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.schedule-today-grid article { min-height:140px; padding:17px; border:1px solid #e0e7ef; border-radius:14px; background:#fff; }
.schedule-today-grid h3 { margin:5px 0 12px; font-size:16px; }
.schedule-roster-list { display:flex; flex-wrap:wrap; gap:7px; }
.schedule-roster-chip { display:inline-flex; align-items:center; gap:6px; min-height:30px; padding:6px 9px; border-radius:9px; border:1px solid #dde5ee; background:#f7f9fc; color:#42546a; font-size:12px; }
.schedule-roster-chip b { font-size:10px; }
.schedule-roster-chip small { color:#8190a1; }
.schedule-roster-chip.day,.schedule-calendar-shift.day { background:#edf6e9; border-color:#d4e8c8; }
.schedule-roster-chip.mid,.schedule-calendar-shift.mid { background:#eef2f4; border-color:#dbe3e7; }
.schedule-roster-chip.evening,.schedule-calendar-shift.evening { background:#eaf7fb; border-color:#cce9f2; }
.schedule-roster-chip.night,.schedule-calendar-shift.night { background:#f4effb; border-color:#dfd2f1; }
.schedule-roster-chip.leave,.schedule-calendar-shift.leave,.schedule-worklog-table td.leave { background:#fff1e4; border-color:#f0d2b3; }
.schedule-roster-chip.ot,.schedule-calendar-shift.ot,.schedule-worklog-table td.ot { background:#fff8da; border-color:#eadc93; }
.schedule-roster-chip.off,.schedule-calendar-shift.off,.schedule-worklog-table td.off { background:#f5f6f8; color:#8a95a4; }
.schedule-roster-chip.holiday,.schedule-calendar-shift.holiday { background:#fff0f0; border-color:#efcaca; color:#a14c4c; }
.schedule-empty-inline { color:#9aa6b3; font-size:12px; }
.schedule-month-toolbar { display:flex; align-items:center; gap:12px; justify-content:space-between; margin:0 0 10px; }
.schedule-month-toolbar strong { color:#162c46; font-size:16px; }
.schedule-month-toolbar span { color:#8795a6; font-size:11px; }
.schedule-calendar-weekdays,.schedule-calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:6px; }
.schedule-calendar-weekdays { margin-bottom:6px; }
.schedule-calendar-weekdays span { text-align:center; padding:7px; color:#7c8999; font-size:11px; font-weight:900; }
.schedule-calendar-cell { min-height:142px; padding:9px; border:1px solid #e0e6ee; border-radius:12px; background:#fff; overflow:hidden; }
.schedule-calendar-cell.empty { border-color:transparent; background:transparent; min-height:0; }
.schedule-calendar-cell.today { border-color:#7ba2d3; box-shadow:inset 0 0 0 1px #7ba2d3; }
.schedule-calendar-date { display:flex; align-items:center; justify-content:space-between; gap:5px; margin-bottom:7px; }
.schedule-calendar-date strong { font-size:12px; color:#283d56; }
.schedule-calendar-holiday { max-width:75%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#b14e4e; font-size:9px; font-weight:900; }
.schedule-calendar-shifts { display:grid; gap:4px; }
.schedule-calendar-shift { display:grid; grid-template-columns:26px 1fr; column-gap:4px; padding:4px 5px; border:1px solid #e1e6ed; border-radius:7px; font-size:9px; color:#46576b; }
.schedule-calendar-shift b { font-size:9px; }
.schedule-calendar-shift span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.schedule-calendar-shift small { grid-column:1/-1; margin-top:2px; color:#7e8c9d; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.schedule-worklog-scroll { overflow:auto; max-width:100%; border:1px solid #dfe6ee; border-radius:12px; background:#fff; }
.schedule-worklog-table { border-collapse:separate; border-spacing:0; min-width:2200px; width:max-content; font-size:10px; }
.schedule-worklog-table th,.schedule-worklog-table td { border-right:1px solid #e7ecf2; border-bottom:1px solid #e7ecf2; padding:7px 8px; text-align:center; min-width:58px; white-space:nowrap; }
.schedule-worklog-table thead th { position:sticky; top:0; z-index:3; background:#f5f8fb; color:#5c6e83; }
.schedule-worklog-table th small { display:block; margin-top:2px; color:#9aa5b2; font-weight:600; }
.schedule-worklog-table .sticky.employee { position:sticky; left:0; z-index:4; min-width:150px; text-align:left; background:#fff; box-shadow:5px 0 8px rgba(35,55,80,.04); }
.schedule-worklog-table thead .sticky.employee { z-index:5; background:#f5f8fb; }
.schedule-worklog-table td.day { background:#f2f8ef; }
.schedule-worklog-table td.mid { background:#f3f6f7; }
.schedule-worklog-table td.evening { background:#eef9fc; }
.schedule-worklog-table td.night { background:#f7f2fb; }
.schedule-loading-panel,.schedule-empty-panel { min-height:220px; display:flex; align-items:center; justify-content:center; gap:10px; border:1px dashed #cbd6e2; border-radius:15px; background:#f8fafc; color:#728196; }
.schedule-empty-panel.error { color:#a84d4d; border-color:#eccaca; background:#fff8f8; }
.schedule-loading-spinner { width:18px; height:18px; border:2px solid #dce5ef; border-top-color:#376ca8; border-radius:50%; animation:scheduleSpin .8s linear infinite; }
@keyframes scheduleSpin { to { transform:rotate(360deg); } }
@media (max-width:1100px) { .schedule-live-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); } .schedule-today-grid { grid-template-columns:1fr; } .schedule-calendar-cell { min-height:110px; } }


/* V4.2.58 SCHEDULE workspace chrome hardening */
body.schedule-workspace #homeFavoriteQuick,
body.schedule-workspace #summaryGrid,
body.schedule-workspace #resourceSection,
body.schedule-workspace .top-actions .search-box { display:none !important; }
body.schedule-workspace .topbar { align-items:flex-start; }
body.schedule-workspace .page-heading-brand { min-width:420px; }
body.schedule-workspace #homePopupTicker { flex:1 1 520px; max-width:760px; }

.schedule-request-table-scroll { overflow:auto; border:1px solid #e0e7ef; border-radius:14px; }
.schedule-request-table { width:100%; min-width:920px; border-collapse:separate; border-spacing:0; font-size:12px; }
.schedule-request-table th { position:sticky; top:0; z-index:1; padding:11px 12px; text-align:left; background:#f4f7fb; color:#52647a; border-bottom:1px solid #dfe7f0; white-space:nowrap; }
.schedule-request-table td { padding:11px 12px; border-bottom:1px solid #edf1f5; color:#33465c; vertical-align:top; white-space:nowrap; }
.schedule-request-table tbody tr:last-child td { border-bottom:0; }
.schedule-request-table tbody tr:hover td { background:#f8fbff; }
.schedule-request-table td.wide { min-width:260px; white-space:normal; line-height:1.5; }
.schedule-request-status { display:inline-flex; align-items:center; justify-content:center; min-width:48px; padding:4px 7px; border-radius:999px; font-size:10px; font-weight:900; }
.schedule-request-status.ok { background:#e8f7ef; color:#18784c; }
.schedule-request-status.wait { background:#fff4d8; color:#946000; }
.schedule-request-status.neutral { background:#edf2f7; color:#627287; }
.schedule-empty-panel { flex-direction:column; text-align:center; }

@media (max-width: 980px) {
  body.schedule-workspace .topbar { gap:12px; }
  body.schedule-workspace .page-heading-brand { min-width:0; }
  body.schedule-workspace #homePopupTicker { flex-basis:100%; max-width:none; }
}


/* V4.2.59 — KRW equivalents + dedicated market-rates workspace */
.calculator-krw-equivalent { display:block; margin-top:4px; color:#b9d8f5 !important; font-size:10.5px !important; font-weight:800; letter-spacing:-.01em; }
.market-rates-section { margin-top:26px; }
.market-rates-head { align-items:flex-end; }
.market-rates-help { margin:5px 0 0; color:var(--muted); font-size:13px; }
.market-rates-tools { display:flex; align-items:center; gap:9px; }
.market-rates-status { min-width:150px; padding:7px 10px; border-radius:10px; background:#eef3f8; color:#60748c; font-size:11px; font-weight:800; text-align:center; }
.market-rates-status[data-state="online"] { background:#eaf8f1; color:#16855c; }
.market-rates-status[data-state="loading"] { background:#fff6df; color:#9a6a0b; }
.market-rates-status[data-state="offline"] { background:#fff0ef; color:#b24842; }
.market-rates-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:14px; }
.market-rates-summary article { background:#fff; border:1px solid var(--line); border-radius:14px; padding:14px 16px; box-shadow:0 8px 24px rgba(20,42,72,.035); }
.market-rates-summary span { display:block; color:#74859a; font-size:10px; font-weight:800; }
.market-rates-summary strong { display:block; margin:5px 0 3px; color:#12243e; font-size:22px; letter-spacing:-.03em; }
.market-rates-summary small { color:#8a98aa; font-size:10px; }
.market-rates-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:12px; }
.market-rate-card { min-height:116px; padding:15px 16px; border:1px solid var(--line); border-radius:15px; background:#fff; box-shadow:0 8px 28px rgba(17,37,64,.04); }
.market-rate-card.unavailable { background:#f8fafc; border-style:dashed; opacity:.86; }
.market-rate-card-head { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.market-rate-card-head strong { color:#10243f; font-size:18px; letter-spacing:-.02em; }
.market-rate-card-head span { padding:3px 7px; border-radius:999px; background:#eef3f8; color:#6d7d91; font-size:9px; font-weight:900; }
.market-rate-card.available .market-rate-card-head span { background:#edf6ff; color:#316ba9; }
.market-rate-price { margin:11px 0 9px; color:#12243e; font-size:17px; font-weight:850; letter-spacing:-.025em; }
.market-rate-meta { display:flex; justify-content:space-between; align-items:center; gap:8px; color:#8593a5; font-size:10px; }
.market-rate-meta b { font-size:10px; }
.market-rate-meta b.rise { color:#d34e4e; }
.market-rate-meta b.fall { color:#2f69c9; }
.market-rate-meta b.even { color:#7d8998; }
.market-rate-card > small { display:block; margin-top:7px; color:#9a6a6a; font-size:9.5px; line-height:1.45; }
.market-rates-empty { grid-column:1/-1; min-height:170px; display:flex; align-items:center; justify-content:center; border:1px dashed #cdd8e5; border-radius:15px; background:#fff; color:#75869b; font-weight:700; }
.market-rates-note { display:flex; gap:10px; align-items:flex-start; margin-top:14px; padding:12px 14px; border-radius:12px; background:#f3f7fb; border:1px solid #dfe8f2; color:#64758b; font-size:11px; line-height:1.5; }
.market-rates-note strong { flex:0 0 auto; color:#244e7d; }
@media (max-width:920px) { .market-rates-summary { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:620px) { .market-rates-summary { grid-template-columns:1fr; } .market-rates-tools { width:100%; } .market-rates-status { flex:1; min-width:0; } }


/* V4.2.62 — KRW-primary market-rate reference + base filtering + full timestamp */
.market-rates-tools { flex-wrap:wrap; justify-content:flex-end; }
.market-rates-search { position:relative; display:flex; align-items:center; min-width:250px; height:36px; border:1px solid #d8e3ef; border-radius:11px; background:#fff; overflow:hidden; }
.market-rates-search span { padding-left:11px; color:#8495aa; font-size:13px; }
.market-rates-search input { width:100%; height:100%; padding:0 11px 0 7px; border:0; outline:0; background:transparent; color:#223852; font-size:12px; }
.market-rates-search input::placeholder { color:#a2afbd; }
.market-rates-summary article:first-child strong { font-size:20px; }
.market-rates-summary article:first-child #marketRatesUsdKrw { display:inline-flex; align-items:center; width:auto; margin-top:6px; padding:5px 9px; border:1px solid #b8d8f4; border-radius:999px; background:#edf7ff; color:#1766a5; font-size:12px; font-weight:900; line-height:1.2; letter-spacing:-.01em; }
#marketRatesUpdatedAt { font-size:17px; letter-spacing:-.02em; }
.market-rate-card { min-height:132px; }
.market-rate-price { margin-bottom:4px; }
.market-rate-price-secondary { margin:0 0 10px; color:#4f718f; font-size:12px; font-weight:800; letter-spacing:-.015em; }
@media (max-width:720px) { .market-rates-tools { width:100%; } .market-rates-search { min-width:0; flex:1 1 100%; order:3; } }


/* V4.2.62 - KRW primary + USD secondary, prevent long primary prices from wrapping */
.market-rate-price.compact { font-size:14.5px; letter-spacing:-.045em; white-space:nowrap; }

/* V4.2.63 — calculator deposit KRW reference + stronger MINI-linked reference visibility */

/* V4.2.64 — inline market converter */
.market-converter { margin:0 0 14px; padding:14px 16px; border:1px solid #dbe6f1; border-radius:15px; background:#fff; box-shadow:0 8px 24px rgba(20,42,72,.035); }
.market-converter-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:11px; }
.market-converter-head>div { display:flex; flex-direction:column; gap:2px; }
.market-converter-head strong { color:#18314f; font-size:14px; }
.market-converter-head span,.market-converter-head small { color:#8291a4; font-size:10.5px; }
.market-converter-controls { display:grid; grid-template-columns:minmax(120px,.8fr) minmax(180px,1.25fr) 40px minmax(120px,.8fr); gap:9px; align-items:end; }
.market-converter-controls label { display:flex; flex-direction:column; gap:5px; color:#718198; font-size:10px; font-weight:800; }
.market-converter-controls select,.market-converter-controls input { width:100%; height:40px; border:1px solid #cfdeec; border-radius:10px; background:#f9fbfd; color:#1d3552; padding:0 11px; outline:none; font:800 13px/1 system-ui,-apple-system,"Segoe UI",sans-serif; }
.market-converter-controls select:focus,.market-converter-controls input:focus { border-color:#74a9d8; box-shadow:0 0 0 3px rgba(70,137,197,.1); }
.market-converter-swap { width:40px; height:40px; border:1px solid #bdd6ee; border-radius:10px; background:#edf7ff; color:#236aa4; font-size:18px; font-weight:900; cursor:pointer; }
.market-converter-swap:hover { background:#e2f2ff; }
.market-converter-output { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; margin-top:11px; padding:11px 13px; border-radius:11px; background:#f3f8fd; border:1px solid #d9e7f3; }
.market-converter-output strong { color:#102c4c; font-size:19px; letter-spacing:-.025em; }
.market-converter-output span { color:#5b7897; font-size:11px; font-weight:700; }
@media(max-width:760px){.market-converter-head{display:block}.market-converter-head small{display:block;margin-top:4px}.market-converter-controls{grid-template-columns:1fr 1.35fr 36px 1fr}.market-converter-swap{width:36px}.market-converter-output strong{font-size:16px}}
@media(max-width:560px){.market-converter-controls{grid-template-columns:1fr 1fr}.market-converter-swap{grid-column:1/-1;justify-self:center;transform:rotate(90deg)}.market-converter-output{align-items:flex-start;flex-direction:column;gap:4px}}


/* V4.2.65 - 24h login-popup snooze */
.login-popup-notice-snooze:hover{background:#eef4fa;border-color:#9fb6cd;color:#163c63}


/* V4.2.68 - FX precision + MINI multi-window reliability */
.market-converter-head-actions { display:flex; align-items:flex-end; gap:10px; }
.market-converter-head-actions small { max-width:360px; text-align:right; }
.market-multi-open { flex:0 0 auto; min-height:34px; padding:7px 11px; font-size:11px; font-weight:900; }
.market-converter-output strong,.market-converter-output span,.market-rate-price,.market-rate-price-secondary { user-select:text; cursor:text; }
.market-multi-converter-modal-card { width:min(860px,calc(100vw - 28px)); max-height:min(780px,calc(100vh - 36px)); overflow:hidden; display:flex; flex-direction:column; }
.market-multi-list-head { display:flex; justify-content:space-between; align-items:center; gap:10px; margin:2px 1px 8px; color:#536d89; font-size:11px; }
.market-multi-list-head strong { color:#18314f; font-size:12px; }
.market-multi-rows { min-height:170px; overflow:auto; padding-right:3px; display:grid; gap:8px; }
.market-multi-row { display:grid; grid-template-columns:105px minmax(120px,.8fr) 36px 105px 34px; gap:8px; align-items:center; padding:10px; border:1px solid #dce7f1; border-radius:12px; background:#f8fbfe; }
.market-multi-row select,.market-multi-amount,.market-multi-result { height:40px; border:1px solid #cfdeec; border-radius:10px; background:#f9fbfd; color:#1d3552; padding:0 11px; outline:none; font:800 13px/1 system-ui,-apple-system,"Segoe UI",sans-serif; min-width:0; }
.market-multi-row select:focus,.market-multi-amount:focus,.market-multi-result:focus { border-color:#74a9d8; box-shadow:0 0 0 3px rgba(70,137,197,.1); }
.market-multi-swap { width:36px; height:40px; border:1px solid #bad0e5; border-radius:9px; background:#eef6fd; color:#23527c; font-size:15px; font-weight:900; cursor:pointer; }
.market-multi-swap:hover { background:#e2f0fb; }
.market-multi-result-wrap { grid-column:1/-1; min-width:0; display:grid; gap:4px; padding-top:1px; }
.market-multi-result { width:100%; background:#fff; color:#102c4c; font-size:13px; font-weight:900; user-select:text; cursor:text; }
.market-multi-rate-note { color:#67809b; font-size:10px; font-weight:700; user-select:text; cursor:text; }
.market-multi-remove { width:34px; height:40px; border:1px solid #e0c7c7; border-radius:9px; background:#fff7f7; color:#a64040; font-size:18px; font-weight:800; cursor:pointer; }
.market-multi-remove:hover { background:#fff0f0; }
.market-multi-footer { display:flex; justify-content:space-between; gap:10px; margin-top:14px; padding-top:12px; border-top:1px solid #e5ebf1; }
@media(max-width:700px){.market-converter-head-actions{margin-top:8px;align-items:center;justify-content:space-between}.market-converter-head-actions small{text-align:left}.market-multi-row{grid-template-columns:90px minmax(100px,1fr) 34px 90px 32px}.market-multi-remove{width:32px}.market-multi-converter-modal-card{max-height:calc(100vh - 20px)}}
@media(max-width:520px){.market-multi-row{grid-template-columns:minmax(80px,.8fr) minmax(105px,1.2fr) 34px}.market-multi-row select[data-market-multi-target]{grid-column:1/3}.market-multi-remove{grid-column:3}.market-multi-result-wrap{grid-column:1/-1}}


/* V4.2.68 — USD/KRW precision badge stability */
#marketRatesUsdKrw { font-variant-numeric: tabular-nums; }


/* V4.2.69 — standalone FX additions + clearer unsupported state */
/* V4.2.71 — MINI runtime/update-status repair release; website layout unchanged */
.market-rate-add-wrap { display:flex; align-items:center; gap:7px; height:36px; }
.market-rate-add-wrap[hidden] { display:none !important; }
.market-rate-add-wrap input { width:230px; height:36px; box-sizing:border-box; border:1px solid #d8e3ef; border-radius:11px; background:#fff; color:#223852; padding:0 11px; outline:none; font-size:11.5px; font-weight:700; text-transform:uppercase; }
.market-rate-add-wrap input:focus { border-color:#74a9d8; box-shadow:0 0 0 3px rgba(70,137,197,.1); }
.market-rate-add-wrap .secondary-button { min-height:36px; white-space:nowrap; }
.market-rate-head-actions { display:flex; align-items:center; gap:6px; }
.market-rate-remove { width:24px; height:24px; border:1px solid #e4caca; border-radius:8px; background:#fff7f7; color:#b14242; font-size:15px; line-height:1; font-weight:900; cursor:pointer; }
.market-rate-remove:hover { background:#ffecec; border-color:#dbaaaa; }
.market-rate-card.unavailable .market-rate-price { color:#8b5c5c; }
@media(max-width:900px){.market-rate-add-wrap{width:100%;order:4}.market-rate-add-wrap input{flex:1;width:auto;min-width:0}}

/* V4.2.71 — MINI settings/update/FX input responsiveness; website layout unchanged */


/* V4.2.72 — personal multi-FX presets */
.market-multi-presets { margin:2px 0 12px; padding:11px 12px; border:1px solid #d8e5f0; border-radius:12px; background:#f6faff; }
.market-multi-preset-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.market-multi-preset-head>div:first-child { display:flex; flex-direction:column; gap:2px; }
.market-multi-preset-head strong { color:#18314f; font-size:12px; }
.market-multi-preset-head span { color:#758aa0; font-size:9.5px; }
.market-multi-preset-save { display:flex; align-items:center; gap:7px; min-width:min(430px,56%); }
.market-multi-preset-save input { flex:1; min-width:130px; height:34px; border:1px solid #cbdbea; border-radius:9px; background:#fff; color:#18314f; padding:0 10px; outline:none; font-size:11px; font-weight:700; }
.market-multi-preset-save input:focus { border-color:#74a9d8; box-shadow:0 0 0 3px rgba(70,137,197,.1); }
.market-multi-preset-save button { min-height:34px; white-space:nowrap; }
.market-multi-preset-list { display:flex; flex-wrap:wrap; gap:7px; margin-top:9px; min-height:28px; align-items:center; }
.market-multi-preset-empty { color:#8193a6; font-size:10px; }
.market-multi-preset-chip { display:flex; align-items:stretch; border:1px solid #c7d9e9; border-radius:9px; overflow:hidden; background:#fff; }
.market-multi-preset-load { border:0; background:#fff; color:#21415f; padding:6px 9px; cursor:pointer; display:flex; align-items:baseline; gap:7px; }
.market-multi-preset-load:hover { background:#eef7ff; }
.market-multi-preset-load strong { font-size:10.5px; }
.market-multi-preset-load span { color:#7890a6; font-size:9px; }
.market-multi-preset-delete { width:28px; border:0; border-left:1px solid #e5d1d1; background:#fff7f7; color:#ad4444; font-size:15px; font-weight:900; cursor:pointer; }
.market-multi-preset-delete:hover { background:#ffecec; }
@media(max-width:700px){.market-multi-preset-head{align-items:stretch;flex-direction:column}.market-multi-preset-save{min-width:0;width:100%}}


/* V4.2.73 — FX refresh layout stability: never let the tool row force page-level horizontal scrolling. */
.market-rates-section { max-width:100%; min-width:0; overflow-x:clip; }
.market-rates-head { display:grid; grid-template-columns:minmax(0,1fr); align-items:start; gap:12px; }
.market-rates-head > div:first-child { min-width:0; }
.market-rates-tools { width:100%; min-width:0; max-width:100%; justify-content:flex-end; }
.market-rate-add-wrap { min-width:0; max-width:100%; }
.market-rates-search { min-width:220px; max-width:100%; }
.market-rates-status { max-width:100%; }
#marketRatesRefreshBtn { flex:0 0 auto; }
@media(max-width:1180px){
  .market-rate-add-wrap { flex:1 1 330px; }
  .market-rates-search { flex:1 1 260px; }
  .market-rates-status { flex:1 1 260px; min-width:220px; }
}
@media(max-width:760px){
  .market-rates-tools { justify-content:stretch; }
  .market-rate-add-wrap,.market-rates-search,.market-rates-status { flex:1 1 100%; width:100%; }
  #marketRatesRefreshBtn { margin-left:auto; }
}


/* V4.2.74 — ordered personal multi-FX presets + automatic currency symbol images */
.market-multi-preset-chip.selected { border-color:#4f92ce; box-shadow:0 0 0 2px rgba(58,130,193,.12); }
.market-multi-preset-chip.selected .market-multi-preset-load { background:#eaf5ff; color:#174d78; }
.market-multi-preset-order { display:flex; align-items:stretch; border-left:1px solid #dce7f0; }
.market-multi-preset-order button { width:25px; border:0; background:#f6f9fc; color:#55728f; cursor:pointer; font-size:11px; font-weight:900; }
.market-multi-preset-order button+button { border-left:1px solid #e5edf4; }
.market-multi-preset-order button:hover:not(:disabled) { background:#eaf4fc; color:#245e90; }
.market-multi-preset-order button:disabled { opacity:.32; cursor:default; }
.market-rate-card-title { display:flex; align-items:center; gap:9px; min-width:0; }
.market-rate-symbol-image { width:30px; height:30px; flex:0 0 30px; display:block; }
.market-base-currencies { display:flex; align-items:center; gap:7px; }
.market-base-currencies>b { color:#91a3b5; font-weight:700; }
.market-base-currency { display:inline-flex; align-items:center; gap:5px; }
.market-base-currency img { width:24px; height:24px; display:block; }


/* V4.2.75 — stable FX refresh status, non-breaking inline symbol badges, coherent preset controls */
.market-rates-tools { align-items:center; }
.market-rates-status {
  flex:0 0 176px !important;
  width:176px;
  min-width:176px !important;
  max-width:176px !important;
  box-sizing:border-box;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-variant-numeric:tabular-nums;
}
.market-rates-status[data-state="online"] { background:#eaf8f1; color:#16855c; }
.market-rates-status[data-state="loading"] { background:#fff6df; color:#9a6a0b; }
.market-rates-status[data-state="offline"] { background:#fff0ef; color:#b24842; }
.market-rate-symbol-image { width:30px; height:30px; flex:0 0 30px; display:block; overflow:visible; }
.market-rate-symbol-base { width:24px; height:24px; flex-basis:24px; }
.market-base-icon-slot { display:inline-flex; width:24px; height:24px; flex:0 0 24px; align-items:center; justify-content:center; }
.market-base-icon-slot .market-rate-symbol-image { margin:0; }
.market-base-currency { min-width:0; }
.market-multi-preset-order { background:transparent; }
.market-multi-preset-order button {
  width:25px;
  border:0;
  background:#fff;
  color:#5c7187;
  cursor:pointer;
  font-size:11px;
  font-weight:900;
}
.market-multi-preset-order button+button { border-left:1px solid #dce7f0; }
.market-multi-preset-order button:hover:not(:disabled) { background:#eef6fc; color:#245e90; }
.market-multi-preset-chip.selected .market-multi-preset-order button { background:#eaf5ff; color:#356b98; }
.market-multi-preset-chip.selected .market-multi-preset-order button:hover:not(:disabled) { background:#dceeff; color:#174d78; }
.market-multi-preset-order button:disabled { opacity:.28; cursor:default; }
@media(max-width:1180px){
  .market-rates-status { flex:0 0 176px !important; width:176px; min-width:176px !important; max-width:176px !important; }
}
@media(max-width:760px){
  .market-rates-status { flex:1 1 100% !important; width:100%; min-width:0 !important; max-width:none !important; }
}
.home-resource-order-button {
  border-style:solid;
  border-color:#d6e2ee;
  background:#fff;
  color:#45627d;
  box-shadow:0 1px 2px rgba(18,42,67,.03);
}
.home-resource-order-button:hover { background:#f1f7fc; border-color:#9ab7d1; color:#174f7d; }


/* V4.2.76 — horizontal base currencies + provider disclosure */
.market-rates-summary .market-base-currencies {
  display:flex;
  flex-direction:row;
  align-items:center;
  flex-wrap:nowrap;
  gap:9px;
  white-space:nowrap;
}
.market-rates-summary .market-base-currency {
  display:inline-flex;
  flex-direction:row;
  align-items:center;
  gap:5px;
  width:auto;
  min-width:0;
}
.market-rates-summary .market-base-currencies > b {
  display:inline-block;
  flex:0 0 auto;
  color:#91a3b5;
  font-weight:700;
}
.market-rates-update-meta {
  display:block;
  line-height:1.55;
}
.market-rates-summary .market-rates-update-meta #marketRatesSourceSummary {
  display:inline;
  color:#6f8194;
  font-size:10px;
  font-weight:700;
}


/* V4.2.79 — ADMIN settlement workspace */
.workspace-lock-dot{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:999px;font-size:8px;background:rgba(245,158,11,.14);color:#f59e0b;border:1px solid rgba(245,158,11,.28);margin-left:auto}
.settlement-switch-button.active .workspace-lock-dot{background:rgba(255,255,255,.18);color:#fff;border-color:rgba(255,255,255,.28)}
.settlement-section{display:grid;gap:18px;min-width:0}
.settlement-hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding:24px 26px;border-radius:24px;background:linear-gradient(135deg,#0f2744 0%,#15375e 56%,#1b4c7a 100%);color:#fff;box-shadow:0 18px 46px rgba(15,39,68,.18)}
.settlement-hero-kicker{font-size:11px;letter-spacing:.16em;font-weight:900;color:#8ed1ff;margin-bottom:8px}.settlement-hero h2{font-size:28px;margin:0 0 8px}.settlement-hero p{margin:0;color:rgba(255,255,255,.74);line-height:1.65;max-width:820px}.settlement-hero-badges{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.settlement-security-badge{white-space:nowrap;padding:8px 11px;border-radius:999px;background:rgba(31,190,120,.16);border:1px solid rgba(92,236,169,.28);font-size:11px;font-weight:900;color:#8ff0bd}.settlement-security-badge.secondary{background:rgba(245,158,11,.13);border-color:rgba(245,158,11,.28);color:#ffd487}
.settlement-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) 180px auto;gap:12px;align-items:end;padding:16px 18px;border-radius:18px;background:#fff;border:1px solid #dbe6f2;box-shadow:0 8px 24px rgba(19,50,83,.06)}
.settlement-toolbar-field{display:grid;gap:6px}.settlement-toolbar-field>span{font-size:11px;font-weight:900;color:#61758e}.settlement-toolbar select,.settlement-toolbar input{height:42px;border:1px solid #cbd9e8;border-radius:11px;background:#f8fbff;padding:0 12px;color:#17324f;font-weight:800}.settlement-toolbar-actions{display:flex;gap:8px;align-items:center}.settlement-sync-status{grid-column:1/-1;min-height:22px;padding-top:2px;font-size:12px;font-weight:800;color:#71849b}.settlement-sync-status[data-state="ready"]{color:#0c9a67}.settlement-sync-status[data-state="loading"]{color:#b77900}.settlement-sync-status[data-state="editing"]{color:#2563a8}.settlement-sync-status[data-state="error"]{color:#c83d49}
.settlement-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr));gap:12px}.settlement-summary-grid article{min-width:0;padding:16px 17px;border:1px solid #dce6f1;border-radius:18px;background:#fff;box-shadow:0 7px 20px rgba(25,52,82,.045)}.settlement-summary-grid span{display:block;font-size:11px;font-weight:900;color:#6b7f97;margin-bottom:8px}.settlement-summary-grid strong{display:block;font-size:19px;line-height:1.2;color:#122e4c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settlement-summary-grid small{display:block;margin-top:7px;color:#93a3b5;font-size:10px}.settlement-summary-grid article.profit{background:linear-gradient(145deg,#f5fbff,#eef8ff);border-color:#c9e4f7}
.settlement-loading{display:flex;gap:10px;align-items:center;justify-content:center;min-height:180px;border-radius:20px;background:#fff;border:1px solid #dbe6f2;color:#557089}.settlement-editor{display:grid;gap:16px}.settlement-two-column{display:grid;grid-template-columns:1fr 1fr;gap:16px}.settlement-card{min-width:0;border-radius:20px;background:#fff;border:1px solid #dbe6f2;box-shadow:0 8px 24px rgba(20,47,77,.045);padding:18px}.settlement-card.full{grid-column:1/-1}.settlement-card-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:15px}.settlement-card-head>div{display:flex;align-items:center;gap:9px}.settlement-card-head>div>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#eaf4ff;color:#1e67a5;font-weight:900;font-size:11px}.settlement-card-head h3{margin:0;color:#132f4d;font-size:17px}.settlement-card-head small{font-size:11px;color:#8193a8}.settlement-inline-button{border:1px solid #c9d9e8;background:#f7fbff;color:#2a5f8d;border-radius:9px;padding:7px 10px;font-weight:900;font-size:11px;cursor:pointer}.settlement-inline-button:hover{background:#eaf4ff}
.settlement-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.settlement-field-grid label{display:grid;gap:6px}.settlement-field-grid label>span{font-size:11px;color:#657a91;font-weight:800}.settlement-field-grid input{width:100%;height:40px;border:1px solid #ccdae8;border-radius:10px;background:#f9fbfe;padding:0 11px;color:#173450;font-weight:800}.settlement-field-grid label.derived{grid-column:1/-1}.settlement-field-grid label.derived input{background:#eef7ff;border-color:#bcd8ef;color:#145f99}
.settlement-table-wrap{width:100%;overflow:auto;border:1px solid #d9e5f0;border-radius:14px}.settlement-table{width:100%;border-collapse:separate;border-spacing:0;min-width:760px}.settlement-table.hot{min-width:1480px}.settlement-table th{position:sticky;top:0;z-index:1;background:#f2f7fc;color:#607790;font-size:10px;letter-spacing:.03em;text-align:left;padding:9px 10px;border-bottom:1px solid #d9e5f0}.settlement-table td{padding:7px 8px;border-bottom:1px solid #edf2f7;vertical-align:top}.settlement-table tr:last-child td{border-bottom:0}.settlement-table input,.settlement-table textarea{width:100%;border:1px solid #d0dce9;border-radius:8px;background:#fbfdff;color:#17344f;padding:8px 9px;font:inherit;font-size:12px;resize:vertical}.settlement-table input{height:36px}.settlement-table .settlement-code-input{font-weight:900;color:#1e5f96;min-width:96px}.settlement-row-remove{width:34px;height:34px;border-radius:8px;border:1px solid #efc8cb;background:#fff7f7;color:#c33b46;font-weight:900;cursor:pointer}.settlement-row-remove:hover{background:#ffeded}.settlement-section-total{display:flex;justify-content:flex-end;align-items:center;gap:14px;padding:13px 2px 0;color:#60758d;font-size:12px;font-weight:800}.settlement-section-total strong{font-size:17px;color:#123350}.settlement-table.pl td:first-child{width:28%;color:#203d5a}.settlement-table.pl td:nth-child(2){width:24%}.settlement-note-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.settlement-note-grid label{display:grid;gap:7px}.settlement-note-grid label>span{font-size:11px;color:#647a92;font-weight:900}.settlement-note-grid textarea{width:100%;border:1px solid #cfddea;background:#fbfdff;border-radius:12px;padding:12px;color:#17344f;line-height:1.55;resize:vertical}
.settlement-gate-card{max-width:520px}.settlement-gate-security-note{display:flex;gap:10px;padding:12px 13px;border-radius:12px;border:1px solid #d7e5f0;background:#f5faff;color:#5d7289;font-size:12px;line-height:1.5}.settlement-gate-security-note strong{color:#174e79;white-space:nowrap}.settlement-gate-card input[type="password"]{letter-spacing:.08em}
@media(max-width:1200px){.settlement-summary-grid{grid-template-columns:repeat(3,minmax(150px,1fr))}.settlement-toolbar{grid-template-columns:1fr 180px}.settlement-toolbar-actions{grid-column:1/-1}.settlement-two-column{grid-template-columns:1fr}}
@media(max-width:760px){.settlement-hero{display:grid}.settlement-hero-badges{justify-content:flex-start}.settlement-toolbar{grid-template-columns:1fr}.settlement-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settlement-field-grid,.settlement-note-grid{grid-template-columns:1fr}.settlement-field-grid label.derived{grid-column:auto}}
.workspace-switcher:has(.settlement-switch-button:not([hidden])){grid-template-columns:repeat(3,minmax(0,1fr))}
.settlement-switch-button .workspace-switch-code{font-size:9px;letter-spacing:.035em}

/* V4.2.80 — ADMIN three-workspace switcher: do not squeeze SETTLEMENT into a third tile */
.workspace-switcher:has(.settlement-switch-button:not([hidden])) {
  grid-template-columns: 1fr;
  gap: 5px;
  padding: 6px;
}
.workspace-switcher:has(.settlement-switch-button:not([hidden])) .workspace-switch-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  min-height: 50px;
  padding: 8px 11px 8px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-align: left;
}
.workspace-switcher:has(.settlement-switch-button:not([hidden])) .workspace-switch-button:hover {
  transform: translateX(2px);
  border-color: rgba(255,255,255,.07);
}
.workspace-switcher:has(.settlement-switch-button:not([hidden])) .workspace-switch-button.active {
  transform: none;
  border-color: rgba(255,255,255,.1);
}
.workspace-switcher:has(.settlement-switch-button:not([hidden])) .workspace-switch-code {
  grid-column: 1;
  grid-row: 1;
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  line-height: 1.15;
  letter-spacing: .075em;
}
.workspace-switcher:has(.settlement-switch-button:not([hidden])) .workspace-switch-name {
  grid-column: 1;
  grid-row: 2;
  display: block;
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.15;
}
.workspace-switcher:has(.settlement-switch-button:not([hidden])) .workspace-beta-dot {
  position: static;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  width: 7px;
  height: 7px;
  margin-left: 10px;
}
.workspace-switcher:has(.settlement-switch-button:not([hidden])) .workspace-lock-dot {
  position: static;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 20px;
  padding: 0 7px;
  margin-left: 10px;
  border: 1px solid rgba(245,185,66,.24);
  border-radius: 999px;
  background: rgba(245,185,66,.10);
  color: #f4c86d;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
}
.workspace-switcher:has(.settlement-switch-button:not([hidden])) .settlement-switch-button .workspace-switch-code {
  font-size: 10px;
  letter-spacing: .075em;
}
.workspace-switcher:has(.settlement-switch-button:not([hidden])) .settlement-switch-button.active .workspace-lock-dot {
  border-color: rgba(193,128,16,.24);
  background: rgba(225,150,22,.12);
  color: #9b6510;
}

/* V4.2.81 — settlement automation with frozen XLSX history */
.settlement-security-badge.privacy {
  background: rgba(111, 126, 146, .16);
  border-color: rgba(190, 205, 222, .24);
  color: #d5e1ee;
}
.settlement-security-badge.mode[data-mode="auto"] {
  background: rgba(56, 189, 248, .14);
  border-color: rgba(125, 211, 252, .28);
  color: #a9e4ff;
}
.settlement-security-badge.mode[data-mode="frozen"] {
  background: rgba(245, 158, 11, .16);
  border-color: rgba(251, 191, 36, .3);
  color: #ffe0a1;
}
.settlement-mode-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid #f0c778;
  border-radius: 15px;
  background: #fff8e8;
  color: #785319;
  box-shadow: 0 6px 18px rgba(132, 89, 14, .05);
}
.settlement-mode-banner strong {
  flex: 0 0 auto;
  color: #8c5c0b;
  font-size: 12px;
  font-weight: 900;
}
.settlement-mode-banner span {
  font-size: 12px;
  line-height: 1.55;
}
.settlement-rate-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) minmax(360px, 1.6fr) minmax(210px, .8fr) auto;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border: 1px solid #cfe0ef;
  border-radius: 18px;
  background: linear-gradient(135deg, #f7fbff 0%, #eef7ff 100%);
  box-shadow: 0 7px 22px rgba(25, 75, 118, .05);
}
.settlement-rate-panel[data-mode="frozen"] {
  border-color: #ead5a8;
  background: linear-gradient(135deg, #fffdf7 0%, #fff7e7 100%);
}
.settlement-rate-heading {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}
.settlement-rate-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #1e659d;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}
.settlement-rate-panel[data-mode="frozen"] .settlement-rate-icon { background: #b47718; }
.settlement-rate-heading div { min-width: 0; }
.settlement-rate-heading strong {
  display: block;
  color: #153a5c;
  font-size: 13px;
}
.settlement-rate-heading small {
  display: block;
  margin-top: 4px;
  color: #698099;
  font-size: 10.5px;
  line-height: 1.45;
}
.settlement-rate-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.settlement-rate-values article {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(184, 207, 228, .8);
  border-radius: 11px;
  background: rgba(255, 255, 255, .86);
}
.settlement-rate-values span {
  display: block;
  color: #758a9f;
  font-size: 9px;
  font-weight: 900;
}
.settlement-rate-values strong {
  display: block;
  margin-top: 4px;
  color: #173e61;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.settlement-rate-meta { min-width: 0; }
.settlement-rate-meta strong {
  display: block;
  color: #315a7c;
  font-size: 11px;
  line-height: 1.45;
}
.settlement-rate-meta small {
  display: block;
  margin-top: 4px;
  color: #8495a8;
  font-size: 9.5px;
}
.settlement-rate-panel[data-mode="frozen"] .settlement-rate-meta strong { color: #8f641e; }
.settlement-rate-panel .secondary-button { min-height: 38px; white-space: nowrap; }
.settlement-rate-panel .secondary-button:disabled {
  opacity: 1;
  cursor: default;
  border-color: #ead8b3;
  background: #fffaf0;
  color: #9a732f;
}
.settlement-summary-grid {
  grid-template-columns: repeat(7, minmax(145px, 1fr));
}
.settlement-summary-grid article.combined,
.settlement-auto-summary article.combined {
  border-color: #bad7ee;
  background: linear-gradient(145deg, #f6fbff, #edf7ff);
}
.settlement-summary-grid article.deposit,
.settlement-auto-summary article.deposit {
  border-color: #cbe5d8;
  background: linear-gradient(145deg, #f7fdf9, #effaf4);
}
.settlement-auto-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.settlement-auto-summary article {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  grid-template-areas:
    "label value"
    "note krw";
  align-items: center;
  gap: 5px 16px;
  padding: 15px 17px;
  border: 1px solid #d8e5ef;
  border-radius: 17px;
  background: #fff;
}
.settlement-auto-summary article > div { grid-area: label; }
.settlement-auto-summary article > div span {
  display: block;
  color: #7890a6;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}
.settlement-auto-summary article > div strong {
  display: block;
  margin-top: 3px;
  color: #173a59;
  font-size: 14px;
}
.settlement-auto-summary article > b {
  grid-area: value;
  color: #123a5d;
  font-size: 17px;
  white-space: nowrap;
}
.settlement-auto-summary article > small {
  grid-area: krw;
  color: #34719e;
  font-size: 10px;
  font-weight: 850;
  text-align: right;
}
.settlement-auto-summary article > em {
  grid-area: note;
  color: #8293a5;
  font-size: 10px;
  font-style: normal;
}
.settlement-card-head { align-items: flex-start; flex-wrap: wrap; }
.settlement-card-head > div:first-child { flex: 0 1 auto; min-width: 0; }
.settlement-card-tools {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end;
  flex: 1 1 460px;
  flex-wrap: wrap !important;
  min-width: 0;
  gap: 9px !important;
}
.settlement-card-tools small { white-space: normal; flex: 1 1 260px; min-width: 180px; text-align: right; }
.settlement-card-tools button { flex: 0 0 auto; white-space: nowrap; }
.settlement-table { min-width: 900px; }
.settlement-table.hot { min-width: 1620px; }
.settlement-table.pl { min-width: 880px; }
.settlement-rate-output,
.settlement-pl-krw {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 7px 9px;
  border: 1px solid #d4e1ed;
  border-radius: 8px;
  background: #f1f7fc;
  color: #315e82;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.35;
  white-space: nowrap;
}
.settlement-krw-input[readonly] {
  background: #eef7ff;
  border-color: #bdd8ec;
  color: #145e96;
  cursor: default;
}
.settlement-frozen-row .settlement-rate-output,
.frozen-mode .settlement-pl-krw {
  border-color: #eadbbd;
  background: #fffaf0;
  color: #956c25;
}
.frozen-mode .settlement-field-grid label.derived input {
  background: #fffaf0;
  border-color: #ead7ae;
  color: #7e5a1f;
}
.frozen-mode .settlement-card-tools small { color: #9a742f; }
.settlement-table.pl td:first-child { width: 24%; }
.settlement-table.pl td:nth-child(2) { width: 21%; }
.settlement-table.pl td:nth-child(3) { width: 19%; }
.settlement-table.pl td:nth-child(4) { width: 36%; }
.settlement-lock-button { color: #8b3b44; border-color: #ebcdd0; background: #fffafa; }
.settlement-lock-button:hover { background: #fff0f1; }
@media (max-width: 1500px) {
  .settlement-summary-grid { grid-template-columns: repeat(4, minmax(145px, 1fr)); }
  .settlement-rate-panel { grid-template-columns: 1fr 1.4fr; }
  .settlement-rate-meta { grid-column: 1; }
  .settlement-rate-panel > .secondary-button { grid-column: 2; justify-self: end; }
}
@media (max-width: 1000px) {
  .settlement-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .settlement-rate-panel { grid-template-columns: 1fr; }
  .settlement-rate-values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .settlement-rate-meta,
  .settlement-rate-panel > .secondary-button { grid-column: auto; justify-self: stretch; }
}
@media (max-width: 720px) {
  .settlement-auto-summary { grid-template-columns: 1fr; }
  .settlement-rate-values { grid-template-columns: 1fr; }
  .settlement-mode-banner { display: grid; }
  .settlement-auto-summary article {
    grid-template-columns: 1fr;
    grid-template-areas: "label" "value" "krw" "note";
  }
  .settlement-auto-summary article > small { text-align: left; }
}

/* V4.2.81 — explicit frozen-history controls */
.frozen-mode #settlementReportDate[readonly] {
  background: #fffaf0;
  border-color: #ead7ae;
  color: #7e5a1f;
  cursor: not-allowed;
}
.frozen-mode .settlement-auto-summary article > div span {
  color: #966a22;
}
.frozen-mode .settlement-auto-summary article > small {
  color: #966a22;
}


/* V4.2.82 — settlement customer-status subworkspace */
.settlement-subnav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 18px;padding:7px;border:1px solid #d8e3ef;border-radius:16px;background:#edf3f9}
.settlement-subnav-button{min-height:58px;display:grid;grid-template-columns:32px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:10px 14px;border:1px solid transparent;border-radius:12px;background:transparent;color:#5f7187;text-align:left;cursor:pointer;transition:.18s ease}
.settlement-subnav-button>span{grid-row:1/3;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#dfe9f3;color:#48627d;font-size:10px;font-weight:900}
.settlement-subnav-button strong{font-size:13px;color:#30445c}.settlement-subnav-button small{font-size:10px;color:#8a99aa}
.settlement-subnav-button:hover{background:#f8fbfe;border-color:#cbd9e7}.settlement-subnav-button.active{background:#fff;border-color:#aac7e3;box-shadow:0 8px 20px rgba(39,77,114,.08)}
.settlement-subnav-button.active>span{background:#0e5d9c;color:#fff}.settlement-subnav-button.active strong{color:#0d3f70}
.settlement-tab-panel[hidden]{display:none!important}
.customer-status-panel{display:grid;gap:14px}
.customer-status-intro{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:17px 19px;border:1px solid #d7e4f0;border-radius:16px;background:linear-gradient(135deg,#f8fbff,#edf6fd)}
.customer-status-intro>div:first-child>span,.customer-status-section-head>div>span{display:block;color:#2e6ca4;font-size:9px;font-weight:900;letter-spacing:.12em}.customer-status-intro strong{display:block;margin:4px 0 5px;color:#152d49;font-size:19px}.customer-status-intro p{margin:0;color:#63768c;font-size:11px;line-height:1.55}
.customer-status-intro-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.customer-status-intro-badges b{padding:6px 9px;border-radius:999px;background:#e6f2fc;color:#1d659f;font-size:9px}.customer-status-intro-badges b:last-child{background:#e8f7f0;color:#1d7d59}
.customer-status-toolbar{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(280px,1.15fr) minmax(180px,.8fr) 150px;gap:10px;align-items:end;padding:14px;border:1px solid #d8e3ef;border-radius:15px;background:#fff}
.customer-status-field{display:grid;gap:5px}.customer-status-field>span{color:#667a91;font-size:9px;font-weight:800}.customer-status-field select,.customer-status-field input,.customer-status-add-referral input{height:38px;border:1px solid #cbd9e8;border-radius:10px;background:#f8fbfe;color:#1d344f;padding:0 11px;font-size:11px;font-weight:700;outline:none}
.customer-status-field select:focus,.customer-status-field input:focus,.customer-status-add-referral input:focus{border-color:#6aa6db;box-shadow:0 0 0 3px rgba(69,143,205,.12)}
.customer-status-add-referral{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.customer-status-toolbar-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px}.customer-status-toolbar-actions button{min-height:34px}.customer-status-toolbar .settlement-sync-status{grid-column:1/-1;margin:0}
.customer-status-editor{display:grid;gap:14px}.customer-funnel-section,.customer-country-section,.customer-status-list-section,.customer-status-preview-section{border:1px solid #d8e3ef;border-radius:16px;background:#fff;padding:16px}
.customer-status-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:12px}.customer-status-section-head>div>strong{display:block;margin-top:3px;color:#1c3552;font-size:14px}.customer-status-section-head>small{color:#8292a4;font-size:9px}
.customer-funnel-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.customer-funnel-grid article{min-width:0;padding:12px;border:1px solid #dce7f1;border-radius:13px;background:#f8fbfe}.customer-funnel-grid label,.customer-funnel-grid article>span{display:block;color:#6f8094;font-size:9px;font-weight:800}.customer-funnel-grid input{width:100%;height:34px;margin:5px 0 4px;border:0;border-bottom:2px solid #c9d9e8;background:transparent;color:#102d4d;font-size:21px;font-weight:900;outline:none}.customer-funnel-grid input:focus{border-bottom-color:#2f80c7}.customer-funnel-grid article>strong{display:block;margin:6px 0 7px;color:#102d4d;font-size:22px}.customer-funnel-grid article small{display:block;color:#7f91a5;font-size:8.5px}.customer-funnel-grid article small[data-delta="up"]{color:#12805b}.customer-funnel-grid article small[data-delta="down"]{color:#c64848}.customer-funnel-grid article.ftd{background:#edf8f3;border-color:#bfe1d1}.customer-funnel-grid article.ftd>strong{color:#14734f}
.customer-country-summary{display:flex;flex-wrap:wrap;gap:8px}.customer-country-summary article{min-width:135px;flex:1 1 145px;display:grid;grid-template-columns:1fr auto;gap:3px 10px;padding:10px 12px;border:1px solid #d9e5ef;border-radius:12px;background:#f8fbfe}.customer-country-summary article span{color:#5f748d;font-size:9px;font-weight:800}.customer-country-summary article strong{color:#153b61;font-size:15px}.customer-country-summary article small{grid-column:1/-1;color:#8999aa;font-size:8.5px}.customer-country-empty{color:#8494a6;font-size:10px}
.customer-status-content-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(320px,.8fr);gap:14px;align-items:start}.customer-list-head{align-items:center}.customer-list-tools{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.customer-list-tools input{height:35px;min-width:230px;border:1px solid #cddae8;border-radius:10px;padding:0 10px;background:#f8fbfe;color:#253e59;font-size:10px;outline:none}.customer-list-tools input:focus{border-color:#6ba5d7}.customer-status-customer-list{display:grid;gap:8px;max-height:680px;overflow:auto;padding-right:3px}
.customer-status-customer-card{display:grid;grid-template-columns:42px minmax(220px,1.15fr) minmax(135px,.75fr) minmax(135px,.75fr) minmax(160px,.9fr) auto;gap:10px;align-items:center;padding:11px;border:1px solid #d9e5ef;border-radius:13px;background:#f9fbfd}.customer-status-customer-card:hover{border-color:#a9c8e4;background:#fff}.customer-card-index{display:flex;align-items:center;justify-content:center;gap:3px}.customer-card-index strong{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#e5eef7;color:#33597d;font-size:10px}.customer-important{color:#da8a00;font-size:12px}.customer-card-identity,.customer-card-finance,.customer-card-state{min-width:0;display:grid;gap:3px}.customer-card-identity>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#172f4a;font-size:11px}.customer-card-identity>a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3774aa;font-size:9px;text-decoration:none}.customer-card-identity>span,.customer-card-finance>span,.customer-card-state>span{color:#8393a5;font-size:8px}.customer-card-finance>strong,.customer-card-state>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#324c68;font-size:10px}.customer-card-finance>small,.customer-card-state>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8b9aab;font-size:8px}.customer-card-actions{display:flex;gap:5px}.customer-card-actions button{min-width:48px;height:30px;padding:0 8px;font-size:9px}.customer-status-empty{padding:36px 15px;border:1px dashed #cbd9e7;border-radius:13px;color:#8091a4;text-align:center;font-size:10px}
.customer-status-preview-section{position:sticky;top:12px}.customer-status-preview-section .customer-status-section-head{align-items:center}.customer-status-report-preview{max-height:720px;overflow:auto;margin:0;padding:14px;border:1px solid #d4e0eb;border-radius:12px;background:#f6f9fc;color:#233c57;font:10px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;user-select:text}
.customer-status-customer-modal{width:min(840px,calc(100vw - 28px));max-height:92vh;overflow:auto}.customer-status-customer-form{display:grid;gap:12px}.customer-status-form-grid{display:grid;gap:9px}.customer-status-form-grid.identity{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-status-form-grid.identity .important{grid-column:1/-1;display:flex;align-items:center;gap:7px}.customer-status-form-grid.money{grid-template-columns:1.1fr .65fr .55fr}.customer-status-form-grid.status{grid-template-columns:.8fr 1.2fr}.customer-status-form-grid label{display:grid;gap:5px}.customer-status-form-grid label>span{color:#66798e;font-size:9px;font-weight:800}.customer-status-form-grid input,.customer-status-form-grid select,.customer-status-form-grid textarea{width:100%;border:1px solid #ccd9e6;border-radius:10px;background:#f7fafc;color:#203a56;padding:9px 10px;font-size:10px;outline:none;box-sizing:border-box}.customer-status-form-grid input,.customer-status-form-grid select{height:38px}.customer-status-form-grid input:focus,.customer-status-form-grid select:focus,.customer-status-form-grid textarea:focus{border-color:#6aa4d7;box-shadow:0 0 0 3px rgba(69,143,205,.11)}.customer-status-form-grid .wide{grid-column:1/-1}.customer-status-form-block{padding:12px;border:1px solid #dce6ef;border-radius:13px;background:#f9fbfd}.customer-status-form-block-title{display:flex;justify-content:space-between;gap:12px;margin-bottom:9px}.customer-status-form-block-title strong{color:#274866;font-size:11px}.customer-status-form-block-title span{color:#8a99aa;font-size:8.5px}
@media(max-width:1180px){.customer-status-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-funnel-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-status-content-grid{grid-template-columns:1fr}.customer-status-preview-section{position:static}.customer-status-customer-card{grid-template-columns:38px minmax(190px,1.2fr) minmax(120px,.8fr) minmax(120px,.8fr);}.customer-card-state{grid-column:2/4}.customer-card-actions{grid-column:4;grid-row:1/3}}
@media(max-width:720px){.settlement-subnav{grid-template-columns:1fr}.customer-status-intro{flex-direction:column}.customer-status-intro-badges{justify-content:flex-start}.customer-status-toolbar{grid-template-columns:1fr}.customer-status-add-referral{grid-template-columns:1fr}.customer-funnel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-status-customer-card{grid-template-columns:34px 1fr}.customer-card-finance,.customer-card-state,.customer-card-actions{grid-column:2}.customer-card-actions{grid-row:auto}.customer-list-tools{width:100%;justify-content:stretch}.customer-list-tools input{min-width:0;flex:1}.customer-status-form-grid.identity,.customer-status-form-grid.money,.customer-status-form-grid.status{grid-template-columns:1fr}.customer-status-form-grid .wide{grid-column:auto}}


/* V4.2.83 — SP Collector + live referral intelligence */
.collector-intro{border-color:#cfe3f1;background:linear-gradient(135deg,#f9fcff,#edf8f7)}
.sp-collector-console,.live-referral-workspace,.customer-manual-workspace{border:1px solid #d8e3ef;border-radius:16px;background:#fff}
.sp-collector-console,.live-referral-workspace{padding:16px}
.sp-collector-head,.live-referral-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.sp-collector-head>div:first-child>span,.live-referral-title span{display:block;color:#2e6ca4;font-size:9px;font-weight:900;letter-spacing:.12em}.sp-collector-head strong,.live-referral-title strong{display:block;margin-top:3px;color:#1b3551;font-size:14px}.sp-collector-head small,.live-referral-title small{color:#7f91a4;font-size:9px}
.sp-collector-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.sp-collector-download{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:34px;padding:0 12px;box-sizing:border-box}
.sp-collector-health-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:13px}.sp-collector-health-grid article{padding:12px;border:1px solid #dbe6ef;border-radius:13px;background:#f8fbfd;min-width:0}.sp-collector-health-grid article>span{display:block;color:#7890a7;font-size:8px;font-weight:900;letter-spacing:.1em}.sp-collector-health-grid article>strong{display:block;margin:5px 0 3px;color:#203d59;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sp-collector-health-grid article>small{display:block;color:#8395a7;font-size:8.5px;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sp-collector-pairing{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding:11px 12px;border:1px solid #9fd0ba;border-radius:12px;background:#f0fbf5}.sp-collector-pairing>div{display:grid;gap:2px}.sp-collector-pairing span,.sp-collector-pairing small{color:#658376;font-size:8.5px}.sp-collector-pairing strong{font:700 18px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.08em;color:#176947;user-select:text}.sp-collector-console>.settlement-sync-status{margin-top:10px}
.live-referral-head{align-items:center}.live-referral-searchbar{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:8px}.live-referral-searchbar input,.live-customer-head input{height:38px;border:1px solid #cbd9e8;border-radius:10px;background:#f8fbfe;color:#1d344f;padding:0 11px;font-size:11px;font-weight:700;outline:none}.live-referral-searchbar input:focus,.live-customer-head input:focus{border-color:#6aa6db;box-shadow:0 0 0 3px rgba(69,143,205,.12)}
.live-referral-results{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.live-referral-dashboard{display:grid;gap:13px;margin-top:12px;padding-top:13px;border-top:1px solid #e2eaf1}.live-funnel-grid article strong{display:block;color:#173b5a;font-size:21px;margin:5px 0 2px}.live-referral-body{display:grid;grid-template-columns:minmax(240px,.35fr) minmax(0,1.65fr);gap:12px;align-items:start}.live-country-section{padding:13px!important}.live-customer-section{border:1px solid #d8e3ef;border-radius:14px;padding:13px;background:#fff;min-width:0}.live-customer-head{align-items:center}.live-customer-head input{min-width:220px}.live-customer-tools{display:flex;align-items:center;gap:7px}.live-customer-tools select{height:38px;min-width:138px;border:1px solid #cbd9e8;border-radius:10px;background:#f8fbfe;color:#1d344f;padding:0 9px;font-size:9px;font-weight:800;outline:none}.live-customer-tools select:focus{border-color:#6aa6db;box-shadow:0 0 0 3px rgba(69,143,205,.12)}.live-customer-table-wrap{overflow:auto;max-height:560px}.live-customer-table{min-width:1020px}.live-customer-table th{position:sticky;top:0;z-index:1;background:#f4f8fb}.live-customer-table td{vertical-align:middle;font-size:9px}.live-customer-table td small{display:block;color:#8091a4;font-size:8px;margin-top:2px}.live-customer-id{display:grid;gap:2px;min-width:180px}.live-customer-id strong{font-size:10px;color:#203a55}.live-customer-id span{font-size:8px;color:#5d7d9a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}.live-flag{display:inline-flex;padding:4px 6px;border-radius:999px;font-size:8px;white-space:nowrap}.live-flag.yes{background:#e7f6ee;color:#18734f}.live-flag.no{background:#fff1ef;color:#a14a3a}.live-flag.unknown{background:#eef2f6;color:#6c7f91}
.customer-manual-workspace{overflow:hidden}.customer-manual-workspace>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 17px;cursor:pointer;list-style:none;background:#f7fafc}.customer-manual-workspace>summary::-webkit-details-marker{display:none}.customer-manual-workspace>summary div>span{display:block;color:#758da4;font-size:8px;font-weight:900;letter-spacing:.12em}.customer-manual-workspace>summary strong{display:block;margin-top:3px;color:#2a455f;font-size:12px}.customer-manual-workspace>summary small{color:#8a99a8;font-size:8.5px}.customer-manual-workspace[open]>summary{border-bottom:1px solid #dce6ef;background:#f2f7fb}.customer-manual-inner{display:grid;gap:14px;padding:14px}
@media(max-width:1180px){.sp-collector-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.live-referral-body{grid-template-columns:1fr}.live-referral-searchbar{grid-template-columns:1fr auto auto}}
@media(max-width:720px){.sp-collector-head,.live-referral-title,.customer-manual-workspace>summary{flex-direction:column}.sp-collector-actions{justify-content:flex-start}.sp-collector-health-grid{grid-template-columns:1fr}.live-referral-searchbar{grid-template-columns:1fr}.sp-collector-pairing{align-items:flex-start;flex-direction:column}.live-customer-head{align-items:stretch;flex-direction:column}.live-customer-tools{width:100%;flex-direction:column;align-items:stretch}.live-customer-tools select,.live-customer-head input{min-width:0;width:100%}}


/* V4.2.84 — lightweight paged SP customer intelligence */
.sp-collector-runtime{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.sp-collector-runtime span{display:inline-flex;align-items:center;min-height:26px;padding:5px 9px;border:1px solid #d8e5f0;border-radius:999px;background:#f7fafc;color:#526c86;font-size:8.5px;font-weight:800}
.sp-collector-sync-help{margin:7px 2px 0;color:#8191a3;font-size:8.5px;line-height:1.45}
.live-customer-head>div{display:grid;gap:2px}.live-customer-head>div>small{color:#8495a8;font-size:8.5px;font-weight:600}
.live-customer-head>div>small[data-state="loading"]{color:#a96f00}.live-customer-head>div>small[data-state="online"]{color:#24795c}
.live-customer-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding:10px 12px;border:1px solid #d9e5ef;border-radius:12px;background:#f8fbfd}
.live-customer-pager span{color:#61778e;font-size:9px;font-weight:800}.live-customer-pager button{min-width:108px}
.live-customer-table tbody tr{content-visibility:auto;contain-intrinsic-size:52px}
@media(max-width:720px){.sp-collector-runtime{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.live-customer-pager{align-items:stretch;flex-direction:column}.live-customer-pager button{width:100%}}

/* V4.2.89 — WON HUB Collector Platform */
.collector-platform-section{margin-top:26px;display:grid;gap:14px}.collector-platform-section[hidden]{display:none!important}
.collector-platform-hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding:22px 24px;border-radius:18px;border:1px solid #c9d8e8;background:linear-gradient(135deg,#f9fcff 0%,#eef6ff 65%,#eefaf6 100%);box-shadow:0 14px 34px rgba(25,58,96,.06)}
.collector-platform-hero h2{margin:5px 0 7px;font-size:25px;color:#10243e}.collector-platform-hero p:not(.section-kicker){margin:0;max-width:820px;color:#5c7088;font-size:13px;line-height:1.65}
.collector-platform-hero-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;max-width:360px}.collector-platform-hero-badges span{padding:7px 10px;border-radius:999px;border:1px solid #bcd5eb;background:#fff;color:#2b6394;font-size:9px;font-weight:900;letter-spacing:.04em;white-space:nowrap}
.collector-platform-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.collector-platform-summary article{padding:16px 18px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 8px 22px rgba(26,48,76,.035)}
.collector-platform-summary span,.collector-platform-summary small{display:block;color:#72869c;font-size:10px}.collector-platform-summary strong{display:block;margin:6px 0 4px;color:#10243e;font-size:24px;letter-spacing:-.03em}
.collector-platform-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px;border:1px solid #d6e1ed;border-radius:14px;background:#f7faff}.collector-platform-tabs{display:flex;gap:5px}.collector-platform-tab{min-height:38px;padding:0 15px;border:1px solid transparent;border-radius:10px;background:transparent;color:#62758a;font-size:11px;font-weight:900;cursor:pointer}.collector-platform-tab:hover{background:#edf4fb}.collector-platform-tab.active{border-color:#a8c7e3;background:#fff;color:#174f82;box-shadow:0 4px 12px rgba(25,74,115,.08)}
.collector-platform-toolbar-actions{display:flex;align-items:center;gap:8px}.collector-platform-status{min-width:180px;padding:8px 10px;border-radius:9px;background:#eaf1f8;color:#60768c;font-size:10px;font-weight:800;text-align:center}.collector-platform-status[data-state=online]{background:#e9f8f1;color:#157e57}.collector-platform-status[data-state=loading]{background:#fff5dd;color:#93620b}.collector-platform-status[data-state=error]{background:#fff0ef;color:#b0443e}
.collector-platform-panel{padding:20px;border:1px solid #d5e1ed;border-radius:17px;background:#fff;box-shadow:0 10px 28px rgba(24,47,75,.045)}.collector-platform-panel[hidden]{display:none!important}.collector-platform-panel-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}.collector-platform-panel-head>div:first-child{display:grid;gap:3px}.collector-platform-panel-head span{color:#3a6d9e;font-size:9px;font-weight:900;letter-spacing:.1em}.collector-platform-panel-head strong{color:#172c45;font-size:18px}.collector-platform-panel-head small{color:#73869a;font-size:10px;line-height:1.5}
.collector-node-list{display:grid;gap:10px}.collector-node-card{display:grid;grid-template-columns:minmax(210px,1.15fr) minmax(190px,1fr) minmax(240px,1.2fr) auto;gap:14px;align-items:center;padding:15px;border:1px solid #d8e3ee;border-radius:14px;background:#f9fbfd}.collector-node-card.revoked{opacity:.56}.collector-node-identity{display:grid;gap:4px}.collector-node-title{display:flex;align-items:center;gap:8px}.collector-node-title strong{color:#17304d;font-size:13px}.collector-node-state{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:999px;background:#eef2f6;color:#6b7e91;font-size:8px;font-weight:900}.collector-node-state:before{content:"";width:6px;height:6px;border-radius:50%;background:#9aabb9}.collector-node-state.online{background:#e6f8ef;color:#19754f}.collector-node-state.online:before{background:#25a46f;box-shadow:0 0 0 3px rgba(37,164,111,.13)}.collector-node-state.error{background:#fff0ef;color:#a9423e}.collector-node-state.error:before{background:#d9544e}.collector-node-identity small,.collector-node-machine small,.collector-node-modules small{color:#7b8fa3;font-size:9px}.collector-node-machine,.collector-node-modules{display:grid;gap:4px}.collector-node-machine b,.collector-node-modules b{color:#294761;font-size:10px}.collector-node-module-chips{display:flex;flex-wrap:wrap;gap:5px}.collector-node-module-chip{padding:4px 7px;border-radius:7px;background:#eaf2fa;color:#32678f;font-size:8px;font-weight:800}.collector-node-module-chip.error{background:#fff0ef;color:#a54641}.collector-node-module-chip.disabled{background:#f0f2f4;color:#8b969f}.collector-node-actions{display:flex;align-items:center;gap:6px}.collector-node-actions button{min-height:32px;padding:0 9px;border:1px solid #c6d7e6;border-radius:8px;background:#fff;color:#355a79;font-size:9px;font-weight:800;cursor:pointer}.collector-node-actions button.danger{border-color:#efc1bf;color:#aa403b;background:#fff8f7}
.collector-platform-empty{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px dashed #cbd9e7;border-radius:14px;background:#f9fbfd;color:#71859a}.collector-platform-empty strong{color:#2b4864}.collector-platform-empty span{font-size:10px}
.collector-category-filter{display:flex;align-items:center;gap:8px}.collector-category-filter span{font-size:9px;color:#74889c}.collector-category-filter select{min-width:190px;height:36px;border:1px solid #cad9e7;border-radius:9px;background:#fff;color:#294660;padding:0 10px;font-size:10px}.collector-category-strip{display:flex;gap:7px;overflow:auto;padding-bottom:8px;margin-bottom:10px}.collector-category-chip{flex:0 0 auto;padding:7px 10px;border-radius:999px;border:1px solid #cfdeeb;background:#f5f9fc;color:#53718b;font-size:9px;font-weight:800}.collector-category-chip b{color:#1d527f}.collector-package-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:12px}.collector-package-card{display:grid;gap:11px;padding:16px;border:1px solid #d5e2ee;border-radius:14px;background:#fbfdff}.collector-package-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.collector-package-card-head>div{display:grid;gap:4px}.collector-package-card-head strong{color:#15304d;font-size:13px}.collector-package-card-head small{color:#698198;font-size:9px}.collector-package-kind{padding:4px 7px;border-radius:7px;background:#e7f1fb;color:#256295;font-size:8px;font-weight:900}.collector-package-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.collector-package-meta div{padding:8px;border-radius:9px;background:#f1f6fa}.collector-package-meta span{display:block;color:#8495a6;font-size:8px}.collector-package-meta b{display:block;margin-top:3px;color:#2d4a63;font-size:9px;overflow:hidden;text-overflow:ellipsis}.collector-package-note{min-height:34px;color:#60758b;font-size:9px;line-height:1.55}.collector-package-sha{padding:7px 8px;border-radius:8px;background:#17283a;color:#b9d2e8;font:8px/1.45 Consolas,monospace;word-break:break-all}.collector-package-actions{display:flex;gap:7px}.collector-package-actions a{flex:1;display:flex;align-items:center;justify-content:center;min-height:34px;border-radius:9px;text-decoration:none;font-size:9px;font-weight:900}
.collector-pairing-layout{display:grid;grid-template-columns:minmax(320px,1fr) minmax(280px,.8fr);gap:14px}.collector-pairing-form-card,.collector-pairing-code-card{padding:17px;border:1px solid #d5e1ed;border-radius:14px;background:#f9fbfd}.collector-pairing-form-card{display:grid;gap:12px}.collector-pairing-form-card label>span{display:block;margin-bottom:5px;color:#6a8095;font-size:9px;font-weight:800}.collector-pairing-form-card input[type=text],.collector-pairing-form-card input:not([type]){width:100%;height:38px;border:1px solid #c8d8e6;border-radius:9px;background:#fff;padding:0 11px;color:#223f5a}.collector-pairing-form-card fieldset{margin:0;padding:10px;border:1px solid #d3e0eb;border-radius:10px}.collector-pairing-form-card legend{padding:0 5px;color:#5f7890;font-size:9px;font-weight:800}.collector-module-check{display:flex;align-items:flex-start;gap:9px;cursor:pointer}.collector-module-check input{margin-top:2px}.collector-module-check span{display:grid;gap:3px}.collector-module-check b{font-size:10px;color:#264760}.collector-module-check small{font-size:8px;color:#73899d}.collector-pairing-code-card{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.collector-pairing-code-card>span{color:#5e7d99;font-size:9px;font-weight:900;letter-spacing:.14em}.collector-pairing-code-card>strong{margin:10px 0 5px;color:#0c4f82;font:800 28px/1.1 Consolas,monospace;letter-spacing:.04em}.collector-pairing-code-card>small{color:#71879b;font-size:9px}.collector-pairing-code-actions{display:flex;gap:7px;margin-top:14px}.collector-install-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:14px}.collector-install-flow article{padding:12px;border-radius:11px;background:#f3f7fb;border:1px solid #dce6ef}.collector-install-flow span{display:block;color:#2d76ae;font-size:9px;font-weight:900}.collector-install-flow strong{display:block;margin:5px 0 3px;color:#26445f;font-size:10px}.collector-install-flow small{color:#71869a;font-size:8px;line-height:1.4}.collector-platform-security-note{display:flex;gap:10px;margin-top:12px;padding:12px 14px;border:1px solid #cfe2da;border-radius:11px;background:#f0faf6;color:#577667;font-size:9px;line-height:1.6}.collector-platform-security-note strong{flex:0 0 auto;color:#24714e}
@media(max-width:1100px){.collector-node-card{grid-template-columns:1fr 1fr}.collector-node-actions{justify-content:flex-end}.collector-install-flow{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.collector-platform-hero,.collector-platform-panel-head,.collector-platform-toolbar{flex-direction:column;align-items:stretch}.collector-platform-hero-badges{justify-content:flex-start;max-width:none}.collector-platform-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.collector-platform-toolbar-actions{justify-content:space-between}.collector-platform-tabs{overflow:auto}.collector-node-card{grid-template-columns:1fr}.collector-node-actions{justify-content:flex-start}.collector-pairing-layout{grid-template-columns:1fr}.collector-install-flow{grid-template-columns:1fr}.collector-package-grid{grid-template-columns:1fr}}

/* V4.2.89 Collector Center finishing styles */
.collector-switch-button.active .workspace-lock-dot{border-color:rgba(55,126,181,.25)!important;background:rgba(55,126,181,.13)!important;color:#245f8d!important}
.collector-category-chip{cursor:pointer}.collector-category-chip:hover{border-color:#9dbedb;background:#edf5fc;color:#285f8d}.collector-category-chip.active{border-color:#6ca1ca;background:#e4f1fc;color:#124f80;box-shadow:0 3px 10px rgba(30,93,144,.08)}
.collector-node-assignment-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:6px;margin:4px 0 6px}.collector-node-assignment{display:flex;align-items:flex-start;gap:7px;padding:7px 8px;border:1px solid #dae5ef;border-radius:9px;background:#fff;cursor:pointer}.collector-node-assignment.enabled{border-color:#a9cbe5;background:#eef7ff}.collector-node-assignment input{margin:2px 0 0;accent-color:#2879b4}.collector-node-assignment span{display:grid;gap:2px;min-width:0}.collector-node-assignment b{font-size:9px;color:#2b4a66;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.collector-node-assignment small{font-size:8px!important;color:#74899e!important}.collector-node-error{display:block;padding:6px 7px;border-radius:7px;background:#fff0ef;color:#a7413d!important}
.collector-package-card.pending{border-style:dashed;background:#fafbfc}.collector-package-card.disabled{opacity:.62}.collector-package-kind.ready{background:#e8f8ef;color:#177550}.collector-package-kind.pending{background:#fff4dc;color:#94620b}.collector-package-kind.disabled{background:#eef0f2;color:#818c96}.collector-package-unavailable{flex:1;display:flex;align-items:center;justify-content:center;min-height:34px;border:1px dashed #cbd8e4;border-radius:9px;background:#f4f7fa;color:#8392a0;font-size:9px;font-weight:900}.collector-package-actions .secondary-button{border:1px solid #bed3e5;background:#f5faff;color:#245f8d}.collector-package-actions .secondary-button:hover{background:#e8f3fc}
.collector-node-actions button:disabled{cursor:not-allowed;opacity:.5}.collector-platform-refreshing{pointer-events:none;opacity:.7}
body.collector-workspace .main-content{min-width:0}
@media(max-width:1100px){.collector-node-assignment-list{grid-template-columns:1fr}.collector-node-card{grid-template-columns:1fr 1fr}.collector-node-modules{grid-column:1/-1}}
@media(max-width:760px){.collector-node-card{grid-template-columns:1fr}.collector-node-modules{grid-column:auto}.collector-platform-toolbar-actions{flex-wrap:wrap}.collector-platform-status{min-width:0;flex:1}.collector-platform-summary{grid-template-columns:1fr 1fr}}
.collector-node-actions{flex-wrap:wrap;justify-content:flex-end}.collector-node-label-input{width:150px;height:32px;border:1px solid #c6d7e6;border-radius:8px;background:#fff;color:#29465f;padding:0 8px;font-size:9px;font-weight:800}.collector-node-label-input:focus{outline:2px solid rgba(52,126,181,.16);border-color:#72a5ca}.collector-node-actions button.danger.confirming{border-color:#d6544d;background:#d6544d;color:#fff}

/* V4.2.90 collector background-browser controls */
.collector-node-module-chip.warning{background:#fff6df;color:#946b16}
.collector-node-browser-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:4px}
.collector-node-browser-actions button{min-height:28px;padding:0 8px;border:1px solid #c8d9e8;border-radius:7px;background:#fff;color:#345f80;font-size:8px;font-weight:900;cursor:pointer}
.collector-node-browser-actions button:hover{background:#edf6fd;border-color:#9fc5e2}
.collector-node-browser-actions button:disabled{opacity:.55;cursor:default}

/* V4.2.179 — login-time ADMIN MODE + settlement multi-entry sum + one-screen report */
.admin-code-login-field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.admin-code-login-field > span > small {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 7px;
  border: 1px solid #d7e4f1;
  border-radius: 999px;
  background: #f4f8fc;
  color: #728399;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
}
.admin-code-login-field input {
  border-color: #ceddec;
  background: linear-gradient(180deg,#fff,#f9fbfe);
}
.admin-code-login-field:focus-within input {
  border-color: #8cbadd;
  box-shadow: 0 0 0 3px rgba(44,121,178,.10);
}

.settlement-value-with-sum {
  display: grid;
  grid-template-columns: minmax(0,1fr) 38px;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
}
.settlement-value-with-sum > input { min-width: 0; }
.settlement-sum-button {
  min-width: 38px;
  min-height: 36px;
  padding: 0 8px;
  border: 1px solid #b9d5ea;
  border-radius: 9px;
  background: linear-gradient(180deg,#f9fdff,#eaf5fd);
  color: #176397;
  font: 900 14px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(33,89,131,.06);
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.settlement-sum-button:hover:not(:disabled) {
  border-color: #6ea9d2;
  background: #e6f4ff;
  transform: translateY(-1px);
}
.settlement-sum-button.compact { min-width: 36px; min-height: 34px; }
.settlement-sum-button:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}
.settlement-inline-button {
  min-height: 31px;
  padding: 5px 9px;
  border: 1px solid #cadbea;
  border-radius: 9px;
  background: #f7fbff;
  color: #315f84;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}
.settlement-inline-button:hover:not(:disabled) { background:#edf7ff; border-color:#9fc3df; }
.settlement-inline-button:disabled { opacity:.45; cursor:not-allowed; }
.settlement-capture-button {
  border-color: #a6cde6;
  background: linear-gradient(180deg,#f7fcff,#e9f6ff);
  color: #145d91;
}

.settlement-pl-derived-row { background: #f6fbff; }
.settlement-pl-derived-row input[readonly],
.settlement-pl-derived-row textarea[readonly] {
  border-color: #c8deee;
  background: #edf7fd;
  color: #285c80;
  cursor: default;
}
.settlement-auto-chip,
.settlement-currency-chip {
  display: inline-flex;
  align-items: center;
  margin-top: 5px;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: .035em;
  white-space: nowrap;
}
.settlement-auto-chip { background:#e2f3ff; color:#176393; border:1px solid #c2e2f6; }
.settlement-currency-chip { background:#f3f6fa; color:#667a91; border:1px solid #dbe4ed; }
.settlement-pl-usd-output {
  display: block;
  margin-top: 6px;
  color: #34719d;
  font-size: 9.5px;
  font-weight: 850;
  line-height: 1.4;
}

.settlement-sum-card {
  width: min(620px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 32px));
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.settlement-sum-rows {
  display: grid;
  gap: 8px;
  max-height: min(46vh, 430px);
  overflow: auto;
  padding: 2px 4px 4px 0;
  margin: 3px 0 10px;
}
.settlement-sum-entry {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr) 34px;
  align-items: center;
  gap: 8px;
}
.settlement-sum-entry > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: #eaf3fa;
  color: #577089;
  font-size: 9px;
  font-weight: 900;
}
.settlement-sum-entry > input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #cfddea;
  border-radius: 9px;
  background: #fff;
  color: #173b59;
  font-size: 12px;
  font-weight: 800;
}
.settlement-sum-entry > input:focus { outline:none; border-color:#76add4; box-shadow:0 0 0 3px rgba(56,134,188,.09); }
.settlement-sum-entry > button {
  width: 34px;
  height: 34px;
  border: 1px solid #e1ccd0;
  border-radius: 9px;
  background: #fff8f8;
  color: #a2525b;
  font-size: 16px;
  cursor: pointer;
}
.settlement-sum-add { align-self: flex-start; margin-bottom: 12px; }
.settlement-sum-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #bcd9ed;
  border-radius: 14px;
  background: linear-gradient(135deg,#f7fcff,#eaf6ff);
}
.settlement-sum-total span { color:#668099; font-size:10px; font-weight:900; }
.settlement-sum-total strong { color:#135f94; font-size:22px; line-height:1.15; overflow-wrap:anywhere; }

body.settlement-capture-open { overflow: hidden; }
.settlement-capture-backdrop {
  z-index: 1200;
  padding: 10px;
  background: rgba(10,22,35,.82);
  backdrop-filter: blur(5px);
}
.settlement-capture-shell {
  width: calc(100vw - 20px);
  height: calc(100vh - 20px);
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0,1fr);
  gap: 8px;
}
.settlement-capture-controls {
  min-height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 13px;
  background: rgba(19,38,57,.96);
  color: #eef7ff;
  box-shadow: 0 18px 44px rgba(0,0,0,.2);
}
.settlement-capture-controls strong { font-size:13px; }
.settlement-capture-controls span { min-width:0; color:#b8c8d8; font-size:10px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.settlement-capture-controls .secondary-button { min-height:32px; background:#fff; }
.settlement-capture-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  display: block;
  border-radius: 13px;
  background: #dfe7ed;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.settlement-capture-board {
  width: 1600px;
  min-height: 900px;
  box-sizing: border-box;
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 24px 26px 18px;
  background: #f5f8fb;
  color: #172b3d;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.capture-report-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 20px;
  border-radius: 17px;
  background: linear-gradient(135deg,#123d61,#1b5b88);
  color: #fff;
}
.capture-report-header span { display:block; color:#a8d5f3; font-size:10px; font-weight:900; letter-spacing:.08em; }
.capture-report-header h1 { margin:5px 0 0; font-size:24px; line-height:1.1; }
.capture-rate-stack { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.capture-rate-stack b { padding:6px 9px; border:1px solid rgba(255,255,255,.18); border-radius:9px; background:rgba(255,255,255,.08); font-size:9px; white-space:nowrap; }
.capture-summary-strip { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:8px; }
.capture-summary-strip article { min-width:0; padding:10px 11px; border:1px solid #d5e1eb; border-radius:12px; background:#fff; }
.capture-summary-strip span { display:block; color:#6e8195; font-size:8.5px; font-weight:900; }
.capture-summary-strip strong { display:block; margin-top:4px; color:#173c5b; font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.capture-summary-strip small { display:block; min-height:11px; margin-top:3px; color:#7897ae; font-size:7.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.capture-two-col,.capture-grid-tables,.capture-notes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.capture-card { min-width:0; padding:12px 14px; border:1px solid #d4e0ea; border-radius:14px; background:#fff; }
.capture-card h2 { display:flex; align-items:center; gap:7px; margin:0 0 9px; color:#1b405f; font-size:13px; }
.capture-card h2 > span { display:grid; place-items:center; width:24px; height:24px; border-radius:8px; background:#e7f2fa; color:#1e6798; font-size:8px; }
.capture-card h2 small { margin-left:auto; color:#8495a6; font-size:8px; font-weight:800; }
.capture-kv { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; }
.capture-kv > span { min-width:0; padding:7px 8px; border:1px solid #e0e8ef; border-radius:9px; background:#f8fafc; color:#73869a; font-size:7.5px; }
.capture-kv > span b { display:block; margin-top:3px; color:#203e58; font-size:10px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.capture-kv > span.accent { border-color:#bbdced; background:#eef8ff; }
.capture-kv > span.accent b { color:#17669a; }
.capture-card table { width:100%; border-collapse:collapse; table-layout:fixed; }
.capture-card th,.capture-card td { padding:4px 6px; border-bottom:1px solid #e6edf3; text-align:right; font-size:7.5px; line-height:1.25; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.capture-card th { color:#718397; background:#f4f7fa; font-weight:900; }
.capture-card th:first-child,.capture-card td:first-child { text-align:left; font-weight:850; color:#34526c; }
.capture-grid-tables { grid-template-columns:.8fr 1.2fr; }
.capture-hot-card th,.capture-hot-card td { font-size:7px; }
.capture-pl-card { padding-bottom:10px; }
.capture-pl-card table th,.capture-pl-card table td { font-size:8px; padding:5px 7px; }
.capture-notes article { min-width:0; padding:9px 11px; border:1px solid #d8e2eb; border-radius:11px; background:#fff; }
.capture-notes span { display:block; margin-bottom:4px; color:#6f8397; font-size:8px; font-weight:900; }
.capture-notes p { margin:0; max-height:44px; overflow:hidden; color:#364e63; font-size:8px; line-height:1.35; white-space:pre-line; }
.settlement-capture-board footer { text-align:right; color:#7d8e9e; font-size:7.5px; }

@media (max-width: 900px) {
  .settlement-capture-controls { grid-template-columns:1fr auto; }
  .settlement-capture-controls span { grid-column:1/-1; grid-row:2; }
}
@media (max-width: 680px) {
  .settlement-card-tools { flex-wrap:wrap; justify-content:flex-end; }
  .settlement-value-with-sum { grid-template-columns:minmax(0,1fr) 36px; }
  .settlement-sum-card { width:calc(100vw - 20px); }
  .settlement-capture-backdrop { padding:4px; }
  .settlement-capture-shell { width:calc(100vw - 8px); height:calc(100vh - 8px); }
}

/* V4.2.180 — one-screen settlement capture readability pass */
.settlement-capture-board {
  width: 1360px;
  min-height: 760px;
  gap: 9px;
  padding: 16px 18px 12px;
  font-variant-numeric: tabular-nums;
}
.capture-report-header {
  gap: 18px;
  padding: 12px 16px;
  border-radius: 14px;
}
.capture-report-header span { font-size: 12px; }
.capture-report-header h1 { margin-top: 4px; font-size: 27px; }
.capture-rate-stack { gap: 6px; }
.capture-rate-stack b { padding: 6px 9px; font-size: 11px; }
.capture-summary-strip { gap: 6px; }
.capture-summary-strip article { padding: 8px 9px; border-radius: 10px; }
.capture-summary-strip span { font-size: 10.5px; line-height: 1.2; }
.capture-summary-strip strong { margin-top: 3px; font-size: 17px; line-height: 1.2; font-weight: 900; }
.capture-summary-strip small { min-height: 12px; margin-top: 2px; font-size: 9.5px; line-height: 1.2; }
.capture-two-col,.capture-grid-tables,.capture-notes { gap: 7px; }
.capture-card { padding: 9px 11px; border-radius: 11px; }
.capture-card h2 { gap: 6px; margin-bottom: 6px; font-size: 16px; line-height: 1.15; }
.capture-card h2 > span { width: 23px; height: 23px; border-radius: 7px; font-size: 10px; }
.capture-card h2 small { font-size: 10px; }
.capture-kv { gap: 5px; }
.capture-kv > span { padding: 6px 7px; border-radius: 7px; font-size: 10.5px; line-height: 1.2; font-weight: 800; }
.capture-kv > span b { margin-top: 2px; font-size: 14.5px; line-height: 1.2; font-weight: 900; }
.capture-card th,.capture-card td {
  padding: 4px 6px;
  font-size: 11px;
  line-height: 1.2;
}
.capture-hot-card th,.capture-hot-card td { font-size: 10.5px; }
.capture-pl-card { padding-bottom: 8px; }
.capture-pl-card table th,.capture-pl-card table td { padding: 4px 6px; font-size: 11.5px; }
.capture-notes article { padding: 7px 9px; border-radius: 9px; }
.capture-notes span { margin-bottom: 3px; font-size: 10px; }
.capture-notes p { max-height: 40px; font-size: 11px; line-height: 1.25; }
.settlement-capture-board footer { font-size: 9px; line-height: 1.15; }

/* V4.2.181 — SticPay fee-derived operating-cost workflow; V180 capture readability retained unchanged. */


/* V4.2.182 — operating-cost display correction + one-screen report cleanup/readability */
.settlement-pl-jpy-output {
  display: block;
  margin-top: 6px;
  color: #34719d;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.35;
}

/* Keep the report compact enough for one-screen capture while enlarging data. */
.settlement-capture-board {
  width: 1320px;
  min-height: 740px;
  gap: 8px;
  padding: 14px 16px 11px;
}
.capture-report-header { padding: 11px 15px; }
.capture-report-header span { font-size: 12.5px; }
.capture-report-header h1 { font-size: 29px; }
.capture-rate-stack b { font-size: 11.5px; font-weight: 900; }
.capture-summary-strip article { padding: 8px 9px; }
.capture-summary-strip span { font-size: 11px; }
.capture-summary-strip strong { font-size: 19px; letter-spacing: -.015em; }
.capture-summary-strip small { font-size: 10px; }
.capture-card { padding: 8px 10px; }
.capture-card h2 { margin-bottom: 5px; font-size: 17px; }
.capture-card h2 > span { width: 24px; height: 24px; font-size: 10.5px; }
.capture-card h2 small { font-size: 10.5px; }
.capture-kv > span { padding: 5px 7px; font-size: 11px; }
.capture-kv > span b { font-size: 16px; letter-spacing: -.01em; }
.capture-card th,.capture-card td { padding: 4px 6px; font-size: 12.5px; }
.capture-hot-card th,.capture-hot-card td { font-size: 12.5px; }
.capture-pl-card table th,.capture-pl-card table td { padding: 4px 6px; font-size: 13px; }
.capture-pl-card table th:nth-child(1) { width: 29%; }
.capture-pl-card table th:nth-child(2) { width: 18%; }
.capture-pl-card table th:nth-child(3) { width: 35%; }
.capture-pl-card table th:nth-child(4) { width: 18%; }
.capture-pl-amount strong { display:block; color:#173c5b; font-size:14.5px; font-weight:950; }
.capture-pl-amount small { display:block; margin-top:2px; color:#477693; font-size:11px; font-weight:850; }
.capture-pl-note {
  text-align: left !important;
  color: #405d74 !important;
  font-weight: 750 !important;
  white-space: pre-line !important;
  overflow: hidden;
  text-overflow: clip !important;
  line-height: 1.18 !important;
}
.capture-notes span { font-size: 10.5px; }
.capture-notes p { font-size: 11.5px; }
.settlement-capture-board footer { font-size: 9.5px; }


/* V4.2.183 — MetaXc split withdrawal + aligned report metric rows */
.settlement-field-grid label.derived.settlement-derived-half { grid-column: auto; }
.capture-kv > .capture-kv-spacer {
  visibility: hidden;
  pointer-events: none;
  border-color: transparent;
  background: transparent;
}

/* V4.2.184 — no special MetaXc available-cell accent is emitted by the capture renderer. */


/* V4.2.185 — crypto withdrawal + timed London(+9) -> KST Hot-Wallet history flow */
.settlement-summary-grid { grid-template-columns: repeat(8, minmax(135px, 1fr)); }
.settlement-summary-grid article.withdrawal { border-color:#f0d9c5; background:linear-gradient(145deg,#fffaf6,#fff4ea); }
.settlement-table.hot { min-width: 1420px; }
.settlement-hot-history[readonly] { background:#f2f8fc; border-color:#c9dfed; color:#2c607f; cursor:default; line-height:1.45; }
.settlement-sum-entry.timed { grid-template-columns:28px minmax(0,1fr) 122px 34px; }
.settlement-sum-entry.timed > input[data-sum-time] { min-width:0; color:#244d69; font-weight:850; }
.capture-summary-strip { grid-template-columns:repeat(8,minmax(0,1fr)); }
.capture-grid-tables { grid-template-columns:.9fr 1.5fr; align-items:start; }
.capture-crypto-split { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.capture-crypto-split h3 { margin:0 0 4px; color:#55748d; font-size:11px; font-weight:950; }
.capture-hot-card table { table-layout:fixed; }
.capture-hot-card th:nth-child(1) { width:10%; }
.capture-hot-card th:nth-child(2) { width:14%; }
.capture-hot-card th:nth-child(3) { width:13%; }
.capture-hot-card th:nth-child(4), .capture-hot-card th:nth-child(5) { width:24%; }
.capture-hot-card th:nth-child(6) { width:15%; }
.capture-hot-card .capture-history,
.capture-hot-card .capture-hot-note { white-space:pre-line; text-align:left; line-height:1.15; font-size:10.5px; font-weight:700; overflow:hidden; text-overflow:clip; }
@media (max-width:1500px) { .settlement-summary-grid { grid-template-columns:repeat(4,minmax(145px,1fr)); } }
@media (max-width:1000px) { .settlement-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:680px) { .settlement-sum-entry.timed { grid-template-columns:28px minmax(0,1fr) 105px 34px; } }

/* V4.2.187 — operating-cost UI copy cleanup; calculation source unchanged. */


/* V4.2.187 — compact numeric London time + Binance balance editor + two-page Bitorage capture */
.settlement-table.hot { min-width: 1180px; }
.settlement-binance-balance { min-width: 150px; }
.settlement-sum-entry.timed { grid-template-columns:28px minmax(0,1fr) 116px 34px; }
.settlement-sum-entry.timed > input[data-sum-time] {
  min-width: 0;
  text-align: center;
  letter-spacing: .04em;
  color:#244d69;
  font-weight:900;
}
.settlement-capture-controls { grid-template-columns:auto minmax(0,1fr) auto auto; }
.settlement-capture-pager { display:flex; align-items:center; gap:6px; }
.settlement-capture-pager .secondary-button { min-height:30px; padding:5px 9px; }
.settlement-capture-pager b { min-width:42px; text-align:center; color:#fff; font-size:11px; }
.capture-page1-tables { grid-template-columns:.95fr 1.35fr; }
.capture-hot-card th:nth-child(1) { width:12%; }
.capture-hot-card th:nth-child(2) { width:18%; }
.capture-hot-card th:nth-child(3) { width:16%; }
.capture-hot-card th:nth-child(4) { width:22%; }
.capture-hot-card th:nth-child(5) { width:32%; }
.capture-hot-card .capture-hot-note { white-space:pre-line; text-align:left; line-height:1.2; font-size:11px; font-weight:700; }
.capture-history-page { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; align-items:start; }
.capture-bitorage-card table { table-layout:fixed; }
.capture-bitorage-card th,.capture-bitorage-card td { font-size:14px; padding:7px 8px; }
.capture-bitorage-card th:nth-child(1) { width:18%; }
.capture-bitorage-card th:nth-child(2) { width:42%; }
.capture-bitorage-card th:nth-child(3) { width:40%; }
.capture-bitorage-card .capture-merged-asset { font-size:15px; font-weight:950; vertical-align:middle; background:#f1f7fb; }
.capture-bitorage-card .capture-empty-history { text-align:center; color:#70889b; padding:24px 8px; }
.capture-history-guide p { margin:0; font-size:13px; line-height:1.45; color:#405d74; font-weight:750; }
.capture-history-header h1 { font-size:28px; }
@media (max-width:680px) {
  .settlement-sum-entry.timed { grid-template-columns:28px minmax(0,1fr) 96px 34px; }
  .settlement-capture-controls { grid-template-columns:1fr auto; }
  .settlement-capture-pager { grid-column:1/-1; justify-self:center; }
}


/* V4.2.188 — MMDD+HHMMSS transaction entry, merged 03-1/03-2 capture, saved-at KST */
.settlement-sum-card { width:min(760px,calc(100vw - 28px)); }
.settlement-sum-entry.timed { grid-template-columns:28px minmax(180px,1fr) 96px 118px 34px; align-items:end; gap:8px; }
.settlement-sum-entry.timed > .settlement-sum-index { align-self:center; margin-top:17px; }
.settlement-sum-field { display:grid; gap:4px; min-width:0; }
.settlement-sum-field small { color:#698095; font-size:9px; line-height:1; font-weight:900; }
.settlement-sum-field > input {
  width:100%; min-width:0; min-height:40px; padding:8px 10px; border:1px solid #cfddea; border-radius:9px;
  background:#fff; color:#173b59; font-size:12px; font-weight:850; box-sizing:border-box;
}
.settlement-sum-field > input:focus { outline:none; border-color:#76add4; box-shadow:0 0 0 3px rgba(56,134,188,.09); }
.settlement-sum-field.date > input,.settlement-sum-field.time > input { text-align:center; letter-spacing:.045em; font-variant-numeric:tabular-nums; }
.settlement-sum-entry.timed > button { align-self:end; margin-bottom:3px; }
.capture-crypto-master { padding:8px 10px; }
.capture-crypto-master > h2 { margin-bottom:6px; }
.capture-crypto-master-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; align-items:start; }
.capture-subsection { min-width:0; border:1px solid #e0e8ef; border-radius:9px; overflow:hidden; background:#fbfdff; }
.capture-subsection h3 { display:flex; align-items:center; gap:7px; margin:0; padding:6px 8px; border-bottom:1px solid #e2eaf1; background:#f6f9fc; color:#3f607a; font-size:12px; font-weight:950; }
.capture-subsection h3 b { display:inline-grid; place-items:center; min-width:34px; padding:3px 5px; border-radius:6px; background:#e6f2fa; color:#1d6697; font-size:9px; }
.capture-subsection table { width:100%; table-layout:fixed; border-collapse:collapse; }
.capture-subsection th,.capture-subsection td { padding:4px 5px; font-size:11.5px; line-height:1.18; }
.capture-crypto-flow th:nth-child(1) { width:17%; }
.capture-crypto-flow th:nth-child(2) { width:22%; }
.capture-crypto-flow th:nth-child(3) { width:20%; }
.capture-crypto-flow th:nth-child(4) { width:22%; }
.capture-crypto-flow th:nth-child(5) { width:19%; }
.capture-hot-card th:nth-child(1) { width:14%; }
.capture-hot-card th:nth-child(2) { width:22%; }
.capture-hot-card th:nth-child(3) { width:18%; }
.capture-hot-card th:nth-child(4) { width:20%; }
.capture-hot-card th:nth-child(5) { width:26%; }
.capture-bitorage-card th:nth-child(1) { width:18%; }
.capture-bitorage-card th:nth-child(2) { width:46%; }
.capture-bitorage-card th:nth-child(3) { width:36%; }
.settlement-capture-board footer { display:flex; justify-content:flex-end; align-items:center; gap:12px; }
.settlement-capture-board footer strong { color:#45667f; font-weight:900; }
.settlement-capture-board footer span { color:#7d8e9e; }
@media (max-width:760px) {
  .settlement-sum-entry.timed { grid-template-columns:28px minmax(0,1fr) 78px 96px 34px; gap:5px; }
  .settlement-sum-field small { font-size:8px; }
}


/* V4.2.189 — Bitorage API import controls + exact KST-day transaction clock */
.settlement-inline-button.api-import{background:#eef8ff;border-color:#9cc8e8;color:#0f5f96}
.settlement-inline-button.api-import:hover:not(:disabled){background:#dff2ff;border-color:#6db2df}
.settlement-bitorage-api-status{margin:-4px 0 0;padding:9px 12px;border:1px solid #d7e4ef;border-radius:12px;background:#f8fbfe;color:#5b748c;font-size:11px;font-weight:800}
.settlement-bitorage-api-status[data-state="ready"]{background:#f1fbf6;border-color:#bfe5cf;color:#26714a}
.settlement-bitorage-api-status[data-state="warning"]{background:#fffaf0;border-color:#ead8a7;color:#80601c}
.settlement-bitorage-api-status[data-state="loading"]{background:#f3f8ff;border-color:#bfd7ef;color:#2b618d}
.settlement-bitorage-api-status[data-state="error"]{background:#fff4f4;border-color:#efc3c3;color:#a23838}
.settlement-sum-entry.api-imported{background:#f5fbff;border-radius:10px}
.capture-bitorage-card .capture-merged-asset{vertical-align:top!important;padding-top:9px}
.capture-bitorage-card .capture-history-time{font-variant-numeric:tabular-nums;font-weight:900;letter-spacing:.02em}

/* V4.2.190 — global chronological Bitorage history + balance API control. */
.capture-bitorage-card .capture-history-time{white-space:nowrap!important;text-align:right!important;}
.capture-bitorage-card .capture-merged-asset{vertical-align:top!important;}

/* V4.2.192 — SticPay guarantee rollover + net flow summaries */
.settlement-summary-grid{grid-template-columns:repeat(7,minmax(135px,1fr));}
.settlement-summary-grid article.flow-net small{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25;}
.settlement-summary-grid article.flow-net small+small{margin-top:3px;}
.capture-summary-strip{grid-template-columns:repeat(7,minmax(0,1fr));}
.capture-summary-strip small{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.18;min-height:22px;}
.capture-crypto-flow-totals{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:0 0 5px;}
.capture-crypto-flow-totals span{padding:3px 7px;border:1px solid #d7e3ed;border-radius:7px;background:#f7fafc;color:#61788f;font-size:9px;font-weight:800;}
.capture-crypto-flow-totals b{margin-left:4px;color:#163d5d;font-size:10px;}
@media(max-width:1500px){.settlement-summary-grid{grid-template-columns:repeat(4,minmax(145px,1fr));}}
@media(max-width:1000px){.settlement-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}


/* V4.2.192 - STICPAY history capture + summary/hot-wallet readability polish */
.settlement-stic-history-status{grid-column:1/-1;margin-top:4px;padding:7px 9px;border:1px solid #d8e4ee;border-radius:9px;background:#f8fbfd;color:#60778d;font-size:10px;font-weight:800;line-height:1.25}
.settlement-stic-history-status[data-state="ready"]{background:#f1fbf6;border-color:#bfe5cf;color:#26714a}
.settlement-stic-history-status[data-state="loading"]{background:#f3f8ff;border-color:#bfd7ef;color:#2b618d}
.settlement-stic-history-status[data-state="error"]{background:#fff4f4;border-color:#efc3c3;color:#a23838}
.settlement-summary-grid{grid-template-columns:minmax(135px,.95fr) minmax(135px,.95fr) minmax(145px,1fr) minmax(210px,1.35fr) minmax(135px,.95fr) minmax(230px,1.45fr) minmax(135px,.95fr)}
.settlement-summary-grid article.flow-net small{font-size:11.5px!important;white-space:nowrap!important;line-height:1.15!important;overflow:visible!important;text-overflow:clip!important}
.capture-summary-strip{grid-template-columns:minmax(0,.95fr) minmax(0,.95fr) minmax(0,1fr) minmax(0,1.32fr) minmax(0,.95fr) minmax(0,1.42fr) minmax(0,.95fr)!important}
.capture-summary-strip article{overflow:visible}
.capture-summary-strip small{font-size:11px!important;white-space:nowrap!important;line-height:1.12!important;min-height:13px!important;overflow:visible!important;text-overflow:clip!important;letter-spacing:-.015em}
.capture-hot-card th:nth-child(1){width:13%!important}
.capture-hot-card th:nth-child(2){width:25%!important}
.capture-hot-card th:nth-child(3){width:18%!important}
.capture-hot-card th:nth-child(4){width:21%!important}
.capture-hot-card th:nth-child(5){width:23%!important}
.capture-hot-card th:nth-child(4),.capture-hot-card td:nth-child(4){text-align:center!important;padding-left:12px!important;padding-right:12px!important}
.capture-hot-card th:nth-child(5){text-align:center!important;padding-left:10px!important;padding-right:10px!important}
.capture-hot-card td:nth-child(5){padding-left:12px!important;padding-right:12px!important}
.capture-hot-binance{font-variant-numeric:tabular-nums;font-weight:800}
.capture-hot-note{white-space:pre-line!important;text-align:left!important}
.capture-hot-note .capture-dash,.capture-hot-binance .capture-dash{display:block;text-align:center;color:#7f91a1;font-weight:800}
.capture-history-page-four{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-items:start}
.capture-sticpay-card table{table-layout:fixed;width:100%}
.capture-sticpay-card th,.capture-sticpay-card td{font-size:10.5px;padding:5px 6px;vertical-align:middle}
.capture-sticpay-card th:nth-child(1){width:22%}
.capture-sticpay-card th:nth-child(2){width:22%}
.capture-sticpay-card th:nth-child(3){width:36%}
.capture-sticpay-card th:nth-child(4){width:20%}
.capture-stic-name{font-weight:850;color:#234765}
.capture-stic-date,.capture-stic-amount{white-space:nowrap;font-variant-numeric:tabular-nums}
.capture-stic-date{text-align:center}
.capture-stic-order{font-variant-numeric:tabular-nums;word-break:break-all}
.capture-stic-order small{display:block;margin-top:2px;color:#778b9d;font-size:8.5px;line-height:1.05}
.capture-stic-amount{text-align:right;font-weight:900;color:#173d5d}
.capture-sticpay-card .capture-empty-history{text-align:center;color:#70889b;padding:16px 8px}
.capture-history-page-four .capture-card h2{margin-bottom:5px}
@media(max-width:1500px){.settlement-summary-grid{grid-template-columns:repeat(4,minmax(150px,1fr))}.settlement-summary-grid article.flow-net small{white-space:normal!important}}


/* V4.2.192 final capture polish — one-line flow details and balanced Hot-Wallet columns */
.settlement-summary-grid{grid-template-columns:minmax(120px,.82fr) minmax(120px,.82fr) minmax(132px,.9fr) minmax(230px,1.62fr) minmax(126px,.85fr) minmax(245px,1.72fr) minmax(120px,.82fr)!important}
.settlement-summary-grid article.flow-net small{font-size:12.5px!important;white-space:nowrap!important;letter-spacing:-.02em!important}
.capture-summary-strip{grid-template-columns:minmax(0,.82fr) minmax(0,.82fr) minmax(0,.9fr) minmax(0,1.62fr) minmax(0,.85fr) minmax(0,1.72fr) minmax(0,.82fr)!important}
.capture-summary-strip article.flow-net small,.capture-summary-strip article:nth-child(4) small,.capture-summary-strip article:nth-child(6) small{font-size:12px!important;white-space:nowrap!important;letter-spacing:-.025em!important;line-height:1.08!important}
.capture-hot-card th:nth-child(4),.capture-hot-card td:nth-child(4){text-align:center!important;padding-left:14px!important;padding-right:14px!important}
.capture-hot-card th:nth-child(5){text-align:left!important;padding-left:18px!important;padding-right:8px!important}
.capture-hot-card td:nth-child(5){text-align:left!important;padding-left:18px!important;padding-right:8px!important}
.capture-hot-binance .capture-dash{display:inline-block!important;min-width:18px;text-align:center!important}
.capture-hot-note .capture-dash{display:inline-block!important;min-width:18px;text-align:center!important}
@media(max-width:1500px){
  .settlement-summary-grid{grid-template-columns:minmax(115px,.8fr) minmax(115px,.8fr) minmax(126px,.88fr) minmax(220px,1.58fr) minmax(120px,.82fr) minmax(235px,1.66fr) minmax(115px,.8fr)!important}
  .settlement-summary-grid article.flow-net small{font-size:11.5px!important;white-space:nowrap!important}
  .capture-summary-strip article.flow-net small,.capture-summary-strip article:nth-child(4) small,.capture-summary-strip article:nth-child(6) small{font-size:11.5px!important;white-space:nowrap!important}
}

/* V4.2.193 - report data completeness, direct SticPay verification, strict KST-day guard */
.settlement-stic-verify-badge,
.capture-stic-verify{
  display:inline-flex;align-items:center;justify-content:center;min-height:21px;padding:3px 8px;border-radius:999px;
  border:1px solid #d8e3ec;background:#f7fafc;color:#6c8093;font-size:9.5px;line-height:1;font-weight:950;white-space:nowrap;
}
.settlement-stic-verify-badge[data-state="ready"],.capture-stic-verify.ready{background:#eefaf3;border-color:#abdcbc;color:#187648}
.settlement-stic-verify-badge[data-state="mismatch"],.capture-stic-verify.mismatch{background:#fff3f1;border-color:#efb9b2;color:#ae3d32}
.settlement-stic-verify-badge[data-state="idle"],.capture-stic-verify.idle{background:#f5f8fb;border-color:#d7e2eb;color:#708396}
.settlement-stic-history-status[data-state="mismatch"]{background:#fff3f1;border-color:#efb9b2;color:#a83b32}

/* Do not truncate financial report values with ellipsis. The seven cards are sized explicitly to fit the capture canvas. */
.capture-summary-strip{
  grid-template-columns:minmax(142px,.95fr) minmax(142px,.95fr) minmax(160px,1.05fr) minmax(214px,1.42fr) minmax(142px,.95fr) minmax(232px,1.55fr) minmax(142px,.95fr)!important;
  gap:6px!important;
}
.capture-summary-strip article{min-width:0!important;padding:9px 10px!important;overflow:visible!important}
.capture-summary-strip strong{
  font-size:16.5px!important;line-height:1.15!important;letter-spacing:-.035em!important;
  white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;font-variant-numeric:tabular-nums!important;
}
.capture-summary-strip small,
.capture-summary-strip article.flow-net small,
.capture-summary-strip article:nth-child(4) small,
.capture-summary-strip article:nth-child(6) small{
  display:block!important;margin-top:4px!important;font-size:11.8px!important;line-height:1.12!important;letter-spacing:-.025em!important;
  white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;font-variant-numeric:tabular-nums!important;
}

/* Editor cards use the same balanced allocation so full numeric values remain visible. */
.settlement-summary-grid{
  grid-template-columns:minmax(142px,.95fr) minmax(142px,.95fr) minmax(160px,1.05fr) minmax(214px,1.42fr) minmax(142px,.95fr) minmax(232px,1.55fr) minmax(142px,.95fr)!important;
  gap:8px!important;
}
.settlement-summary-grid article{padding:14px 13px!important}
.settlement-summary-grid strong{
  font-size:18px!important;letter-spacing:-.035em!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;font-variant-numeric:tabular-nums!important;
}
.settlement-summary-grid article.flow-net small{font-size:12px!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}

/* 03-1 totals are visually split into deposit and withdrawal zones and remain prominent. */
.capture-crypto-flow-totals{
  display:grid!important;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;gap:24px!important;
  align-items:center!important;margin:2px 8px 7px!important;padding:0 8px!important;flex-wrap:nowrap!important;
}
.capture-crypto-flow-totals span{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
  min-height:27px!important;padding:5px 10px!important;border-radius:8px!important;font-size:11.5px!important;line-height:1!important;
  white-space:nowrap!important;
}
.capture-crypto-flow-totals b{margin-left:0!important;font-size:13.5px!important;line-height:1!important;letter-spacing:-.02em!important;font-variant-numeric:tabular-nums!important}
.capture-crypto-flow-totals span:first-child{justify-self:stretch!important;margin-right:10px!important}
.capture-crypto-flow-totals span:last-child{justify-self:stretch!important;margin-left:10px!important}

/* Hot-Wallet: give operational notes breathing room and render placeholder dashes consistently. */
.capture-hot-card th:nth-child(1){width:13%!important}
.capture-hot-card th:nth-child(2){width:24%!important}
.capture-hot-card th:nth-child(3){width:18%!important}
.capture-hot-card th:nth-child(4){width:20%!important}
.capture-hot-card th:nth-child(5){width:25%!important}
.capture-hot-card th:nth-child(4),.capture-hot-card td:nth-child(4){text-align:center!important;padding-left:8px!important;padding-right:8px!important}
.capture-hot-card th:nth-child(5),.capture-hot-card td:nth-child(5){text-align:left!important;padding-left:11px!important;padding-right:10px!important}
.capture-hot-binance .capture-dash,.capture-hot-note .capture-dash{display:block!important;min-width:0!important;text-align:center!important;letter-spacing:0!important}

/* Timed crypto rows show the post-conversion KST day immediately; invalid rows are impossible to miss. */
.settlement-sum-kst-preview{grid-column:2/5;display:block;margin:-2px 0 1px;padding:4px 7px;border-radius:7px;background:#f4f8fb;color:#62798e;font-size:9px;font-weight:900;line-height:1.2;font-variant-numeric:tabular-nums}
.settlement-sum-entry.date-valid .settlement-sum-kst-preview{background:#eff9f3;color:#23754c}
.settlement-sum-entry.date-invalid{padding:5px;border:1px solid #efb9b2;border-radius:10px;background:#fff5f4}
.settlement-sum-entry.date-invalid .settlement-sum-kst-preview{background:#ffe9e6;color:#ad3c32}

/* SticPay history report must show full identity/order/value content rather than silently clipping it. */
.capture-sticpay-card th,.capture-sticpay-card td{overflow:visible!important;text-overflow:clip!important}
.capture-stic-name{white-space:normal!important;word-break:keep-all!important}
.capture-stic-order{white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}
.capture-stic-date,.capture-stic-amount{white-space:nowrap!important}

@media(max-width:1500px){
  .settlement-summary-grid{grid-template-columns:minmax(136px,.94fr) minmax(136px,.94fr) minmax(154px,1.04fr) minmax(206px,1.4fr) minmax(136px,.94fr) minmax(224px,1.52fr) minmax(136px,.94fr)!important}
  .settlement-summary-grid strong{font-size:17px!important}
  .settlement-summary-grid article.flow-net small{font-size:11.5px!important}
}
@media(max-width:1000px){
  .settlement-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* V4.2.204 Agent Native Collector Observatory - light HUB palette */
.collector-native-mode-badge{align-self:flex-start;padding:8px 12px;border-radius:999px;border:1px solid #a9ddc9;background:#eaf8f2;font-size:11px;font-weight:900;letter-spacing:.04em;color:#176847;white-space:nowrap}
.collector-native-vendor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 16px}
.collector-native-vendor-card{min-width:0;border:1px solid #d8e2ec;border-radius:16px;background:#fff;padding:15px;box-shadow:0 8px 26px rgba(15,23,36,.055);color:var(--text)}
.collector-native-vendor-card[data-state="online"]{border-color:#9bd7bf;background:#fbfffd}
.collector-native-vendor-card[data-state="loading"]{border-color:#b9cde4;background:#fbfdff}
.collector-native-vendor-card[data-state="warning"]{border-color:#edcf86;background:#fffdf7}
.collector-native-vendor-card[data-state="error"]{border-color:#e9aaa4;background:#fffafa}
.collector-native-vendor-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}
.collector-native-vendor-card header div{display:grid;gap:4px;min-width:0}
.collector-native-vendor-card header span{font-size:10px;letter-spacing:.06em;color:#7990a5;text-transform:uppercase}
.collector-native-vendor-card header strong{font-size:18px;color:#172c45}
.collector-native-vendor-card header b{padding:5px 8px;border-radius:8px;background:#eef3f7;color:#334c65;font-size:10px;letter-spacing:.03em;white-space:nowrap}
.collector-native-vendor-card[data-state="online"] header b{background:#e4f6ee;color:#176847}
.collector-native-vendor-card[data-state="loading"] header b{background:#eaf2fb;color:#1f5f91}
.collector-native-vendor-card[data-state="warning"] header b{background:#fff4d8;color:#86621a}
.collector-native-vendor-card[data-state="error"] header b{background:#fdebea;color:#a93b34}
.collector-native-vendor-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.collector-native-vendor-facts>span{display:grid;gap:3px;padding:8px 9px;border-radius:10px;background:#f5f8fb;font-size:10px;color:#74889b;min-width:0}
.collector-native-vendor-facts strong{font-size:11px;color:#20374f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.collector-native-vendor-card p{margin:11px 0 0;font-size:11px;color:#526b82;font-weight:700}
.collector-native-error{display:block;margin-top:8px;color:#b64238;line-height:1.45;font-weight:700}
.collector-native-overview-grid{display:grid;grid-template-columns:1fr;gap:14px}
.collector-native-data-card{border:1px solid #d8e2ec;border-radius:16px;background:#fff;padding:14px;min-width:0;color:var(--text);box-shadow:0 6px 20px rgba(15,23,36,.035)}
.collector-native-data-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}
.collector-native-data-card>header div{display:grid;gap:3px}
.collector-native-data-card>header span{font-size:10px;letter-spacing:.06em;color:#7990a5}
.collector-native-data-card>header strong{font-size:14px;color:#172c45}
.collector-native-data-card>header small{font-size:10px;color:#74889b;text-align:right}
.collector-native-balance-strip{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px}
.collector-native-balance-strip>span{display:grid;grid-template-columns:auto auto;gap:3px 8px;align-items:baseline;flex:0 0 auto;padding:8px 10px;border-radius:10px;background:#f5f8fb;border:1px solid #e2e9f0;font-variant-numeric:tabular-nums;font-size:11px;color:#20374f}
.collector-native-balance-strip b{font-size:10px;color:#74889b}
.collector-native-balance-strip small{grid-column:1/-1;font-size:9px;color:#74889b}
.collector-native-table-wrap{max-width:100%;overflow:auto;border-radius:10px;border:1px solid #e0e7ee;background:#fff}
.collector-native-table{width:100%;border-collapse:collapse;min-width:760px;font-size:11px;font-variant-numeric:tabular-nums}
.collector-native-table th,.collector-native-table td{padding:8px 9px;border-bottom:1px solid #e7edf3;text-align:left;white-space:nowrap;max-width:260px;overflow:hidden;text-overflow:ellipsis;color:#314a62}
.collector-native-table th{position:sticky;top:0;z-index:1;background:#eef4f8;font-size:10px;color:#526b82;font-weight:800}
.collector-native-table tbody tr:nth-child(even) td{background:#fbfcfd}
.collector-native-table tbody tr:last-child td{border-bottom:0}
.collector-native-empty{padding:20px;text-align:center;color:#7b8e9f;font-size:11px}
.collector-native-empty-inline{color:#7b8e9f;font-size:10px!important;background:transparent!important;padding-left:0!important;border:0!important}
@media(max-width:1050px){.collector-native-vendor-grid{grid-template-columns:1fr}.collector-native-vendor-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.collector-native-vendor-facts{grid-template-columns:1fr}.collector-native-data-card>header{display:grid}.collector-native-data-card>header small{text-align:left}}

/* V4.2.204 Collector control dashboard */
.collector-native-vendor-card{cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.collector-native-vendor-card:hover{transform:translateY(-1px);box-shadow:0 10px 30px rgba(15,23,36,.08)}
.collector-native-vendor-card.active{border-color:#6aa9dd;box-shadow:0 0 0 2px rgba(74,144,204,.14),0 10px 30px rgba(15,23,36,.07)}
.collector-native-version-chip{display:inline-flex!important;align-items:center;width:max-content;max-width:100%;padding:4px 7px;border-radius:999px;background:#edf4fa;color:#42627e!important;font-size:9px!important;font-weight:900;letter-spacing:.02em!important;text-transform:none!important}
.collector-native-volume-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:4px 0 10px}
.collector-native-vendor-card[data-collector-native-vendor="SP"] .collector-native-volume-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.collector-native-volume{display:grid;gap:3px;min-width:0;padding:10px;border:1px solid #e0e8ef;border-radius:11px;background:#f8fafc}
.collector-native-volume>span{font-size:9px;font-weight:900;letter-spacing:.07em;color:#71869a}
.collector-native-volume>strong{font-size:15px;color:#183550;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.collector-native-volume>small{font-size:9px;color:#8394a4}
.collector-native-volume>i{display:block;height:5px;margin-top:3px;border-radius:999px;background:#e5ebf1;overflow:hidden}
.collector-native-volume>i>em{display:block;height:100%;border-radius:inherit;background:#4c91c8}
.collector-native-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
.collector-native-card-foot>span{font-size:10px;font-weight:800;color:#526b82}
.collector-native-card-foot>button{flex:0 0 auto;border:1px solid #b8c9d8;border-radius:9px;background:#fff;padding:7px 10px;color:#23445f;font-size:10px;font-weight:900;cursor:pointer}
.collector-native-card-foot>button:hover:not(:disabled){border-color:#6ea4cf;background:#f3f8fc}
.collector-native-card-foot>button:disabled{cursor:not-allowed;opacity:.55}
.collector-native-vendor-card[data-state="loading"] .collector-native-card-foot>button{border-color:#d3ad63;background:#fff9ea;color:#735619}
.collector-native-vendor-card[data-state="online"] .collector-native-card-foot>button{border-color:#9acdb8;background:#f3fbf7;color:#176847}
.collector-native-vendor-card[data-state="warning"] .collector-native-card-foot>button{border-color:#d7bd7c;background:#fff9ea;color:#7b5a16}
.collector-native-retained{display:block;margin-top:8px;padding:7px 8px;border-radius:9px;background:#eef6fc;color:#43637e;font-size:9.5px;line-height:1.4;font-weight:750}
.collector-native-overview-grid>.collector-native-data-card[hidden]{display:none!important}
@media(max-width:720px){.collector-native-volume-grid{grid-template-columns:1fr}.collector-native-card-foot{align-items:stretch;flex-direction:column}.collector-native-card-foot>button{width:100%}}


/* V4.2.208 Collector repository paging */
.collector-native-repository-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 10px;padding:9px 10px;border:1px solid #e0e8ef;border-radius:11px;background:#f8fafc}
.collector-native-dataset-tabs{display:flex;gap:6px;flex-wrap:wrap}
.collector-native-dataset-tabs button{border:1px solid #cbd8e4;border-radius:8px;background:#fff;padding:7px 10px;color:#49637a;font-size:10px;font-weight:900;cursor:pointer}
.collector-native-dataset-tabs button:hover{border-color:#78a9d1;background:#f5f9fc}
.collector-native-dataset-tabs button.active{border-color:#5b99cb;background:#eaf4fb;color:#174f79;box-shadow:0 0 0 1px rgba(76,145,200,.08)}
.collector-native-repo-status{min-width:0;text-align:right;color:#61788e;font-size:10px;font-weight:750;font-variant-numeric:tabular-nums}
.collector-native-pager{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin-top:10px;padding:9px 10px;border:1px solid #e0e8ef;border-radius:11px;background:#f8fafc}
.collector-native-page-size{display:flex;align-items:center;gap:6px;color:#657c91;font-size:10px;font-weight:800;white-space:nowrap}
.collector-native-page-size select{height:30px;border:1px solid #cbd8e4;border-radius:8px;background:#fff;padding:0 25px 0 8px;color:#26455f;font-size:10px;font-weight:900}
.collector-native-page-summary{text-align:center;color:#526b82;font-size:10px;font-weight:850;font-variant-numeric:tabular-nums}
.collector-native-page-buttons{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}
.collector-native-page-buttons button{min-width:30px;height:30px;border:1px solid #cbd8e4;border-radius:8px;background:#fff;padding:0 8px;color:#36536d;font-size:10px;font-weight:900;cursor:pointer}
.collector-native-page-buttons button:hover:not(:disabled){border-color:#6aa2cf;background:#f3f8fc}
.collector-native-page-buttons button.active{border-color:#4c91c8;background:#4c91c8;color:#fff}
.collector-native-page-buttons button:disabled{cursor:not-allowed;opacity:.42}
.collector-native-page-gap{padding:0 2px;color:#8798a7;font-size:11px;font-weight:900}
@media(max-width:860px){.collector-native-repository-toolbar{align-items:flex-start;flex-direction:column}.collector-native-repo-status{text-align:left}.collector-native-pager{grid-template-columns:1fr}.collector-native-page-summary{text-align:left}.collector-native-page-buttons{justify-content:flex-start}}

/* V4.2.208 PC-node local vendor session launcher */
.collector-node-session-panel{display:grid;gap:7px;margin-top:8px;padding:9px 10px;border:1px solid #cddfec;border-radius:10px;background:#f3f9fe}
.collector-node-session-head{display:grid;gap:2px}.collector-node-session-head b{font-size:9px;color:#244d70}.collector-node-session-head small{font-size:8px!important;line-height:1.45;color:#6f879c!important}
.collector-node-session-actions{display:flex;flex-wrap:wrap;gap:6px}.collector-node-session-actions button{min-height:31px;padding:0 9px;border:1px solid #a9cae3;border-radius:8px;background:#fff;color:#23638f;font-size:9px;font-weight:900;cursor:pointer}.collector-node-session-actions button:hover:not(:disabled){border-color:#65a5d1;background:#eaf6ff}.collector-node-session-actions button:disabled{cursor:not-allowed;opacity:.48;background:#f4f6f8;color:#8393a1}

/* V4.2.212 verification / freshness summary */
.collector-native-verification-summary{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;margin:10px 0 2px;padding:9px 10px;border:1px solid rgba(25,118,210,.18);border-radius:10px;background:rgba(25,118,210,.055);font-size:11px;line-height:1.45}
.collector-native-verification-summary strong{font-size:11px;color:#14395d;font-weight:800}.collector-native-verification-summary small{color:#536b80;font-size:10px}.collector-native-verification-summary.neutral{background:rgba(15,23,42,.035);border-color:rgba(15,23,42,.1)}

/* V4.2.212 operator work-state telemetry */
.collector-native-work-detail{display:grid;gap:4px;margin:7px 0 8px;padding:9px 10px;border:1px solid rgba(51,65,85,.13);border-radius:10px;background:rgba(248,250,252,.92);font-size:10px;line-height:1.45;color:#52687c}
.collector-native-work-detail strong{font-size:11px;color:#183650;font-weight:800}
.collector-native-work-detail span{color:#284b67;font-weight:700}
.collector-native-work-detail small{font-size:10px;color:#6b7f91}

/* V4.2.212 transient connectivity messaging: warning/neutral, not hard-error red */
.collector-native-transient-note{display:block;margin-top:8px;padding:7px 9px;border-radius:9px;background:#fff7df;border:1px solid #ead3a0;color:#7a5b19;line-height:1.45;font-weight:700}
.collector-native-status-note{display:block;margin-top:8px;color:#5c7186;line-height:1.45;font-weight:700}

/* V4.2.213 settlement/report/dashboard refinements */
.capture-card h2{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.capture-section-total{margin-left:auto;font-style:normal;font-size:11px;font-weight:850;color:#557089;background:#eef5fb;border:1px solid #d9e6f1;border-radius:999px;padding:4px 8px;white-space:normal;text-align:right}
.dashboard-section{display:block}
.dashboard-section[hidden]{display:none!important}
.dashboard-subnav .settlement-subnav-button{min-width:240px}


/* V4.2.213: keep the SticPay API controls in their own flex lane so the
   status badge and API button never overlap at the two-column settlement width. */
.settlement-stic-tools {
  flex: 0 1 auto !important;
  min-width: min(100%, 310px);
  flex-wrap: wrap !important;
  column-gap: 7px !important;
  row-gap: 7px !important;
}
.settlement-stic-tools small {
  flex: 1 1 100% !important;
  min-width: 0 !important;
  width: 100%;
  white-space: nowrap !important;
  text-align: right;
}
.settlement-stic-tools .settlement-stic-verify-badge,
.settlement-stic-tools .settlement-inline-button {
  flex: 0 0 auto !important;
  white-space: nowrap;
}
@media (max-width: 1180px) {
  .settlement-stic-tools {
    flex: 1 1 100% !important;
    min-width: 0;
    justify-content: flex-end;
  }
}


/* V4.2.214 — settlement header spacing, capture alignment, fail-safe responsive layout */
.settlement-stic-tools{
  display:grid!important;
  grid-template-columns:auto auto auto;
  grid-template-areas:
    "unit unit unit"
    "verify api prev";
  align-items:center!important;
  justify-content:end!important;
  justify-items:end;
  flex:0 1 390px!important;
  min-width:360px!important;
  column-gap:12px!important;
  row-gap:11px!important;
}
.settlement-stic-tools small{
  grid-area:unit;
  width:auto!important;
  min-width:0!important;
  margin:0 2px 1px 0!important;
  white-space:nowrap!important;
  text-align:right!important;
  line-height:1.25;
}
.settlement-stic-tools .settlement-stic-verify-badge{
  grid-area:verify;
  margin:0!important;
  min-height:28px!important;
  padding:5px 11px!important;
}
.settlement-stic-tools #settlementSticHistoryImportBtn{grid-area:api}
.settlement-stic-tools [data-settlement-copy-prev="stic"]{grid-area:prev}
.settlement-card-head>.settlement-stic-tools{margin-left:auto!important;padding-left:14px;box-sizing:border-box}
@media(max-width:1180px){
  .settlement-stic-tools{
    flex:1 1 100%!important;
    width:100%;
    min-width:0!important;
    grid-template-columns:auto auto auto;
    justify-content:end!important;
  }
}
@media(max-width:620px){
  .settlement-stic-tools{
    grid-template-columns:1fr 1fr;
    grid-template-areas:
      "unit unit"
      "verify verify"
      "api prev";
    justify-content:stretch!important;
    justify-items:stretch;
  }
  .settlement-stic-tools small{text-align:left!important}
  .settlement-stic-tools .settlement-stic-verify-badge{justify-self:start}
  .settlement-stic-tools .settlement-inline-button{width:100%}
}

.capture-history-page-four{
  align-items:stretch!important;
  grid-auto-rows:auto;
}
.capture-history-page-four>.capture-card{
  height:100%;
  display:flex;
  flex-direction:column;
}
.capture-history-page-four>.capture-card>table{
  flex:1 0 auto;
}
.capture-history-page-four .capture-section-total{
  margin-left:auto;
  min-width:max-content;
  align-self:center;
}


/* V4.2.215 — collector repository render recovery + settlement/capture alignment */
.settlement-stic-tools{
  column-gap:24px!important;
  row-gap:12px!important;
  flex-basis:430px!important;
  min-width:400px!important;
  padding-left:20px!important;
}
.settlement-stic-tools .settlement-stic-verify-badge{
  margin-right:2px!important;
}
@media(max-width:1180px){
  .settlement-stic-tools{min-width:0!important;padding-left:12px!important;column-gap:20px!important;}
}
@media(max-width:620px){
  .settlement-stic-tools{padding-left:0!important;column-gap:12px!important;row-gap:10px!important;}
}
/* The two 03 subsections share one grid row. The shorter side keeps blank
   internal space; individual data rows are never stretched. */
.capture-crypto-master-grid{align-items:stretch!important;grid-auto-rows:1fr;}
.capture-crypto-master-grid>.capture-subsection{height:100%;display:flex;flex-direction:column;box-sizing:border-box;}
.capture-crypto-master-grid>.capture-subsection>table{flex:0 0 auto;}
/* Identical column guides make Asset / Quantity / KRW headers line up across
   03-1 flow and 03-2 Hot-Wallet cards. */
.capture-crypto-flow th:nth-child(1),.capture-hot-card th:nth-child(1){width:16%!important;}
.capture-crypto-flow th:nth-child(2),.capture-hot-card th:nth-child(2){width:24%!important;}
.capture-crypto-flow th:nth-child(3),.capture-hot-card th:nth-child(3){width:18%!important;}
.capture-crypto-flow th:nth-child(4),.capture-hot-card th:nth-child(4){width:18%!important;}
.capture-crypto-flow th:nth-child(5),.capture-hot-card th:nth-child(5){width:24%!important;}
.capture-crypto-flow th,.capture-hot-card th{box-sizing:border-box;}

/* V4.2.215 report header/column guide alignment */
.capture-crypto-totals-spacer{visibility:hidden!important;pointer-events:none!important;}
.capture-crypto-master-grid>.capture-subsection>h3{flex:0 0 auto;}
.capture-crypto-master-grid>.capture-subsection>.capture-crypto-totals{flex:0 0 auto;box-sizing:border-box;}
.capture-crypto-master-grid>.capture-subsection>table{width:100%;}


/* V4.2.217 — preserve V216 live UI; Bitorage/SP Warm-wallet settlement fix is backend/collector only */
.settlement-stic-tools{
  display:grid!important;
  grid-template-columns:max-content max-content max-content!important;
  grid-template-areas:"unit unit unit" "verify api prev"!important;
  justify-content:end!important;
  justify-items:end!important;
  align-items:center!important;
  column-gap:40px!important;
  row-gap:12px!important;
  min-width:460px!important;
  padding-left:24px!important;
  box-sizing:border-box!important;
}
.settlement-stic-tools .settlement-stic-verify-badge{
  grid-area:verify!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:static!important;
  margin:0!important;
  padding:5px 12px!important;
  white-space:nowrap!important;
}
.settlement-stic-tools #settlementSticHistoryImportBtn{grid-area:api!important;margin:0!important;}
.settlement-stic-tools [data-settlement-copy-prev="stic"]{grid-area:prev!important;margin:0!important;}
@media(max-width:1180px){
  .settlement-stic-tools{min-width:0!important;width:auto!important;padding-left:16px!important;column-gap:32px!important;}
}
@media(max-width:720px){
  .settlement-stic-tools{
    width:100%!important;padding-left:0!important;grid-template-columns:max-content max-content!important;
    grid-template-areas:"unit unit" "verify verify" "api prev"!important;
    justify-content:end!important;column-gap:24px!important;row-gap:10px!important;
  }
  .settlement-stic-tools small{justify-self:end!important;}
  .settlement-stic-tools .settlement-stic-verify-badge{justify-self:end!important;}
}

/* Keep paired report cards equal-height, but NEVER stretch a short transaction table.
   A 4-row SticPay withdrawal table stays compact at the top; remaining space is blank. */
.capture-history-page-four{
  align-items:stretch!important;
  grid-auto-rows:auto!important;
}
.capture-history-page-four>.capture-card{
  height:100%!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
}
.capture-history-page-four>.capture-card>table{
  height:auto!important;
  min-height:0!important;
  flex:0 0 auto!important;
}
.capture-history-page-four>.capture-card>table tbody,
.capture-history-page-four>.capture-card>table tr,
.capture-history-page-four>.capture-card>table td{
  height:auto!important;
}
.capture-sticpay-card tbody tr{height:auto!important;}
.capture-sticpay-card tbody td{padding-top:7px!important;padding-bottom:7px!important;line-height:1.2!important;}

/* 03-1 and 03-2 use the exact same totals/spacer geometry and column guides.
   The right spacer is hidden visually but occupies the exact height of the left totals lane. */
.capture-crypto-totals-spacer.capture-crypto-flow-totals{
  visibility:hidden!important;
  pointer-events:none!important;
}
.capture-crypto-master-grid>.capture-subsection{
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  box-sizing:border-box!important;
}
.capture-crypto-master-grid>.capture-subsection>table{flex:0 0 auto!important;width:100%!important;}
.capture-crypto-flow th:nth-child(1),.capture-hot-card th:nth-child(1){width:16%!important;}
.capture-crypto-flow th:nth-child(2),.capture-hot-card th:nth-child(2){width:24%!important;}
.capture-crypto-flow th:nth-child(3),.capture-hot-card th:nth-child(3){width:18%!important;}
.capture-crypto-flow th:nth-child(4),.capture-hot-card th:nth-child(4){width:18%!important;}
.capture-crypto-flow th:nth-child(5),.capture-hot-card th:nth-child(5){width:24%!important;}
.capture-crypto-flow th,.capture-hot-card th{box-sizing:border-box!important;}

/* V4.2.221 — live Bitorage balance/session guard/profile repair/durable daily-count backend integration; V216/V217 UI geometry preserved. */


/* V4.2.221 — preserve and expose Bitorage↔SP attribution in Σ detail rows. */
.settlement-sum-entry.timed.has-attribution{}
.settlement-sum-attribution{grid-column:2/5;display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center;margin-top:-2px;padding:5px 8px;border:1px solid #d9e9f4;border-radius:8px;background:#f7fbfe;color:#4f6b81;font-size:9.5px;font-weight:800;line-height:1.25;overflow-wrap:anywhere}
.settlement-sum-attribution b{color:#164f78;font-size:10px}.settlement-sum-attribution span{font-variant-numeric:tabular-nums}
@media(max-width:760px){.settlement-sum-attribution{grid-column:2/5;font-size:8.5px;gap:3px 7px}}

/* V4.2.222 — transient observatory status may change, but durable central volume cards never roll back to an older status snapshot. V221 unintended Profile/alias changes are rolled back in Worker logic. */

/* V4.2.223 — SP current-population/source-authority diagnostics, all-service Bitorage account inventory, HUB-first-seen daily KPI. */

/* V4.2.224 — exact SP Client-ID generation/set validation UI; no aggregate-delta inference. */

/* V4.2.224 — exact SP Client generation/set validation; settlement verification remains separate. */

/* V4.2.226 — split source runtime; V4.2.225 verification observability preserved. */
.collector-native-verification-summary.source-integrity{margin-top:7px;background:rgba(15,118,110,.045);border-color:rgba(15,118,110,.18)}
.collector-native-verification-summary.source-integrity strong{color:#165b56}
.collector-native-verification-summary.settlement-integrity{margin-top:7px;background:rgba(88,80,190,.045);border-color:rgba(88,80,190,.17)}
.collector-native-verification-summary.settlement-integrity strong{color:#423a8a}

/* V4.2.227 — explicit concurrent worker observability + source/settlement verification separation. */
.collector-native-validation-group{margin:9px 0 0;padding:9px;border:1px solid rgba(51,65,85,.11);border-radius:12px;background:rgba(248,250,252,.72)}
.collector-native-validation-group.source{border-color:rgba(15,118,110,.18);background:rgba(240,253,250,.54)}
.collector-native-validation-group.settlement{border-color:rgba(88,80,190,.17);background:rgba(245,243,255,.54)}
.collector-native-validation-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 1px 5px}
.collector-native-validation-title strong{font-size:10.5px;color:#183650;font-weight:900}
.collector-native-validation-title small{font-size:9px;color:#6a7f91;text-align:right;line-height:1.3}
.collector-native-validation-group .collector-native-verification-summary{margin:5px 0 0}
.collector-native-parallel-runtime{display:grid;gap:7px;margin:9px 0 8px;padding:9px;border:1px solid rgba(37,99,235,.13);border-radius:12px;background:rgba(239,246,255,.55)}
.collector-native-parallel-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.collector-native-parallel-head strong{font-size:11px;color:#173a5b;font-weight:900}
.collector-native-parallel-head small{font-size:9px;color:#637d94;text-align:right}
.collector-native-worker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.collector-native-worker-lane{display:grid;gap:2px;min-width:0;padding:7px 8px;border:1px solid rgba(51,65,85,.11);border-radius:9px;background:#fff}
.collector-native-worker-lane>span{font-size:9px;color:#6d8296;font-weight:800;letter-spacing:.02em}
.collector-native-worker-lane>strong{font-size:10.5px;color:#24445f;font-weight:900;overflow-wrap:anywhere}
.collector-native-worker-lane>small{font-size:9px;color:#677d90;line-height:1.35;overflow-wrap:anywhere}
.collector-native-worker-lane[data-worker-tone="running"]{border-color:rgba(29,122,84,.24);background:rgba(240,253,244,.9)}
.collector-native-worker-lane[data-worker-tone="running"]>strong{color:#176847}
.collector-native-worker-lane[data-worker-tone="warning"]{border-color:rgba(202,138,4,.26);background:rgba(255,251,235,.92)}
.collector-native-worker-lane[data-worker-tone="warning"]>strong{color:#7a5b16}
.collector-native-worker-lane[data-worker-tone="error"]{border-color:rgba(185,28,28,.22);background:rgba(254,242,242,.9)}
.collector-native-worker-lane[data-worker-tone="error"]>strong{color:#a43a34}
@media(max-width:1180px){.collector-native-worker-grid{grid-template-columns:1fr}.collector-native-validation-title,.collector-native-parallel-head{align-items:flex-start;flex-direction:column}.collector-native-validation-title small,.collector-native-parallel-head small{text-align:left}}

/* V4.2.229 — Bitorage withdrawal Recipient Address exact-binding labels. */

/* V4.2.229 — Bitorage settlement diagnostic trace */
.settlement-bitorage-diagnostic{margin:8px 0 14px;border:1px solid #b9d8f5;border-radius:12px;background:#f8fbff;overflow:hidden}.settlement-bitorage-diagnostic>summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;padding:10px 12px;font-size:12px;color:#244e73}.settlement-bitorage-diagnostic>summary b{font-weight:700;color:#0b5d91}.settlement-bitorage-diagnostic-actions{display:flex;gap:8px;padding:0 12px 8px}.settlement-bitorage-diagnostic-actions button{border:1px solid #b7cee2;background:#fff;border-radius:8px;padding:6px 10px;font-size:11px;cursor:pointer}.settlement-bitorage-diagnostic pre{margin:0;border-top:1px solid #d7e5f1;background:#0f1720;color:#d9edf9;padding:12px;max-height:420px;overflow:auto;font:11px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;word-break:break-word}

/* V4.2.230 — diagnostics remain exportable but raw JSON is hidden until explicit toggle. */
.settlement-bitorage-diagnostic pre[hidden]{display:none!important}

/* V4.2.232 — referral filter / verified finance / one-screen report */
.live-referral-searchbar.v232-filterbar{grid-template-columns:170px minmax(240px,1fr) 150px 150px auto auto;align-items:end}
.live-referral-searchbar select,.live-referral-resultbar select,.live-referral-date input{height:38px;border:1px solid #cbd9e8;border-radius:10px;background:#f8fbfe;color:#1d344f;padding:0 11px;font-size:10px;font-weight:800;outline:none;box-sizing:border-box}
.live-referral-searchbar select:focus,.live-referral-resultbar select:focus,.live-referral-date input:focus{border-color:#6aa6db;box-shadow:0 0 0 3px rgba(69,143,205,.12)}
.live-referral-date{display:grid;gap:4px}.live-referral-date>span,.live-referral-resultbar label>span{color:#71869b;font-size:8px;font-weight:900;letter-spacing:.04em}
.live-referral-resultbar{display:flex;align-items:end;gap:10px;margin:10px 0 2px}.live-referral-resultbar label{display:grid;gap:4px;min-width:min(520px,70vw)}.live-referral-resultbar small{padding-bottom:8px;color:#7f91a4;font-size:8.5px}
.live-referral-title-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.live-referral-title-actions small{white-space:nowrap}
.live-metric-rule-note,.live-customer-finance-note{padding:9px 11px;border:1px solid #d7e4ef;border-radius:11px;background:#f8fbfd;color:#60788f;font-size:8.5px;line-height:1.5}
.live-customer-finance-note{margin-bottom:9px;background:#f6faf8;border-color:#d4e8de;color:#547565}
.live-customer-table{min-width:1360px}.live-finance-cell{min-width:118px}.live-finance-cell>span{font-weight:800;color:#24455f}.live-finance-cell small{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-pnl.positive>span,.live-report-pnl.positive{color:#13764f}.live-pnl.negative>span,.live-report-pnl.negative{color:#c34949}.live-pnl.zero>span,.live-report-pnl.zero{color:#5f7388}
.live-customer-id small{color:#8a9bac!important;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.live-referral-report-backdrop{z-index:10080;padding:18px}.live-referral-report-card{width:min(1540px,calc(100vw - 36px));height:min(94vh,980px);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid #cbd9e7;border-radius:18px;background:#f7fafc;box-shadow:0 28px 80px rgba(14,42,70,.24)}
.live-referral-report-controls{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:16px 18px;border-bottom:1px solid #d7e2ec;background:#fff}.live-referral-report-controls h2{margin:3px 0 4px;color:#173653;font-size:20px}.live-referral-report-actions{display:flex;gap:8px;flex-wrap:wrap}.live-referral-report-body{overflow:auto;padding:16px;display:grid;gap:12px}
.live-report-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.live-report-metrics article{padding:12px 14px;border:1px solid #d9e5ef;border-radius:12px;background:#fff}.live-report-metrics span{display:block;color:#71869a;font-size:8.5px;font-weight:900}.live-report-metrics strong{display:block;margin-top:5px;color:#173c5c;font-size:22px}
.live-report-countries{display:flex;gap:7px;flex-wrap:wrap;padding:10px;border:1px solid #d9e5ef;border-radius:12px;background:#fff}.live-report-countries span{padding:6px 9px;border-radius:999px;background:#eff5fa;color:#526e88;font-size:9px}.live-report-countries b{color:#174f7b}
.live-report-table-wrap{overflow:auto;border:1px solid #d9e5ef;border-radius:12px;background:#fff}.live-report-table{min-width:1240px}.live-report-table td{font-size:9px;vertical-align:middle}.live-report-table td strong{display:block;color:#203b55;font-size:9.5px}.live-report-table td small{display:block;margin-top:2px;color:#8193a5;font-size:7.8px}
.live-report-copy-preview{margin:0;padding:14px;border:1px solid #d9e5ef;border-radius:12px;background:#fff;color:#314a63;font:9px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;user-select:text}
@media(max-width:1180px){.live-referral-searchbar.v232-filterbar{grid-template-columns:repeat(2,minmax(0,1fr))}.live-referral-searchbar.v232-filterbar button{width:100%}.live-report-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.live-referral-searchbar.v232-filterbar{grid-template-columns:1fr}.live-referral-resultbar{align-items:stretch;flex-direction:column}.live-referral-resultbar label{min-width:0;width:100%}.live-referral-title-actions{justify-content:flex-start}.live-referral-report-backdrop{padding:6px}.live-referral-report-card{width:calc(100vw - 12px);height:calc(100vh - 12px);border-radius:12px}.live-referral-report-controls{flex-direction:column}.live-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* V4.2.232 referral filter/report refinements */
.live-referral-searchbar.v232-filterbar{grid-template-columns:170px minmax(240px,1fr) 150px 150px auto auto auto}
.live-report-date-inline{display:grid;grid-template-columns:auto 132px;align-items:center;gap:6px;color:#71869b;font-size:8px;font-weight:900}
.live-report-date-inline input{height:34px;border:1px solid #cbd9e8;border-radius:9px;background:#f8fbfe;color:#1d344f;padding:0 9px;font-size:9px;font-weight:800;box-sizing:border-box}
.live-finance-pending{display:inline-flex;padding:3px 6px;border-radius:7px;background:#fff7e8;color:#98610b;font-size:8px;font-weight:900}
.live-report-warnings{display:grid;gap:5px;padding:10px 12px;border:1px solid #efd9ac;border-radius:10px;background:#fffaf0;color:#765519;font-size:9px;line-height:1.45}
.live-report-warnings strong{font-size:10px}.live-report-warnings span{display:block}
@media(max-width:1180px){.live-report-date-inline{grid-template-columns:auto 1fr}.live-report-date-inline input{width:100%}}

/* V4.2.233 — Agent update state observability; no referral UI layout regression */
.collector-node-update-trace{display:block;margin-top:4px;color:#61758a;font-size:11px;line-height:1.45;}

/* V4.2.236 — D1 hot-path schema fast-path + non-blocking authenticated bootstrap; layout unchanged */

/* V4.2.239 realtime referral read-model */
.live-finance-raw-pending{display:grid;gap:2px;color:#8a661c;font-weight:800}.live-finance-raw-pending small{color:#9b7a36!important}.live-customer-list-realtime{color:#1f7a58!important}


/* V4.2.240 cumulative referral cohort + capture report */
.live-referral-report-backdrop{z-index:10080;padding:5px;background:rgba(10,28,46,.42)}
.live-referral-report-shell{width:calc(100vw - 10px);height:calc(100vh - 10px);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid #bfcfdd;border-radius:16px;background:#eef3f7;box-shadow:0 26px 80px rgba(10,31,51,.28)}
.live-referral-report-controls{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:10px 14px;background:#143b60;color:#fff;border-bottom:1px solid #0d2d49}
.live-referral-report-controls h2{margin:2px 0;color:#fff;font-size:16px}.live-referral-report-controls .section-kicker{color:#8fd2ff}.live-referral-report-controls .modal-note{color:#c3d4e4}
.live-referral-report-actions,.live-referral-report-pager{display:flex;align-items:center;gap:6px}.live-referral-report-pager b{min-width:42px;text-align:center;color:#fff;font-size:11px}.live-referral-report-controls .secondary-button{min-height:30px;background:#fff}
.live-referral-report-frame{position:relative;overflow:hidden;margin:8px;border:1px solid #ccd8e3;border-radius:10px;background:#dfe6ec}
.live-referral-report-board{width:1480px;min-height:900px;padding:0;background:#fff;transform-origin:top left;box-sizing:border-box}
.live-referral-capture-page{width:1480px;min-height:900px;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto auto;gap:10px;padding:22px 28px 18px;background:#fff;color:#17344e;box-sizing:border-box;font-family:Arial,"Noto Sans KR",sans-serif}
.live-referral-capture-page>header{display:flex;justify-content:space-between;gap:20px;padding-bottom:10px;border-bottom:3px solid #173f65}.live-referral-capture-page>header span{display:block;color:#4282b5;font-size:10px;font-weight:900;letter-spacing:.1em}.live-referral-capture-page>header h1{margin:4px 0 3px;font-size:25px}.live-referral-capture-page>header p{margin:0;color:#60788d;font-size:12px}.live-capture-page-mark{align-self:start;padding:7px 11px;border-radius:999px;background:#e9f2f9;color:#285f8b;font-size:11px;font-weight:900}
.live-capture-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.live-capture-metrics article{padding:10px 12px;border:1px solid #ccdce9;border-radius:10px;background:#f7fafc}.live-capture-metrics span{display:block;color:#668097;font-size:9px;font-weight:800}.live-capture-metrics strong{display:block;margin:3px 0;color:#153c5e;font-size:20px}.live-capture-metrics small{color:#7b8fa1;font-size:8px}
.live-capture-countries{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start;padding:9px 12px;border:1px solid #d5e1eb;border-radius:9px;background:#fbfcfe}.live-capture-countries>strong{font-size:10px}.live-capture-countries>div{display:flex;gap:5px;flex-wrap:wrap}.live-capture-countries span{padding:4px 7px;border-radius:999px;background:#edf4f9;color:#4d6c85;font-size:8px}.live-capture-countries b{color:#174f7b}
.live-capture-customers{min-height:0}.live-capture-customers h2{display:flex;justify-content:space-between;margin:0 0 6px;padding:0 1px;color:#173f65;font-size:13px}.live-capture-customers h2 small{color:#7f91a2;font-size:9px}.live-capture-customer-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px}.live-capture-customer{padding:7px 9px;border:1px solid #d7e2eb;border-radius:8px;background:#fff}.live-capture-customer-head{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:5px;align-items:baseline}.live-capture-customer-head>b{color:#1d6c9e;font-size:10px}.live-capture-customer-head>strong{font-size:9.5px}.live-capture-customer-head>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7b8f9f;font-size:7.5px}.live-capture-customer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 8px;margin-top:4px}.live-capture-customer-grid span{display:flex;justify-content:space-between;gap:5px;color:#7b8c9c;font-size:7.2px}.live-capture-customer-grid b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#24445f;font-size:7.5px}
.live-capture-warning{display:flex;gap:6px;flex-wrap:wrap;padding:6px 9px;border:1px solid #efd9ac;border-radius:8px;background:#fffaf0;color:#78561c;font-size:7.5px}.live-referral-capture-page>footer{display:flex;justify-content:space-between;gap:12px;padding-top:6px;border-top:1px solid #dbe4ec;color:#7a8e9f;font-size:7px}.live-referral-capture-page>footer strong{color:#496a84}
@media(max-width:920px){.live-referral-report-controls{grid-template-columns:1fr auto}.live-referral-report-pager{grid-column:1/-1;justify-self:center}.live-referral-report-actions{grid-row:1;grid-column:2}}


/* V4.2.242 — read-only realtime referral dashboard; keyed delta repaint preserves row DOM */
.live-realtime-state{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 10px;border-radius:999px;border:1px solid #bed6e8;background:#edf6fc;color:#23618e;font-size:10px;font-weight:900;letter-spacing:.035em;white-space:nowrap}
.live-realtime-state::before{content:"";width:7px;height:7px;border-radius:50%;background:#7f96a8;box-shadow:0 0 0 3px rgba(127,150,168,.12)}
.live-realtime-state[data-state="online"]{border-color:#a9dfc6;background:#ebf9f2;color:#14724a}.live-realtime-state[data-state="online"]::before{background:#20a56a;box-shadow:0 0 0 3px rgba(32,165,106,.13)}
.live-realtime-state[data-state="syncing"]{border-color:#f1d39a;background:#fff8e9;color:#8a641c}.live-realtime-state[data-state="syncing"]::before{background:#d79a27;animation:livePulse 1.2s infinite}
.live-realtime-state[data-state="warning"]{border-color:#efc1b8;background:#fff2f0;color:#b34234}.live-realtime-state[data-state="warning"]::before{background:#d55a4b}
@keyframes livePulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.72)}}
.live-referral-title-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.live-referral-report-backdrop{padding:6px;background:rgba(7,25,42,.48)}
.live-referral-report-shell{width:calc(100vw - 12px);height:calc(100vh - 12px);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid #b9cddd;border-radius:14px;background:#eaf1f6;box-shadow:0 26px 90px rgba(8,29,48,.32)}
.live-referral-report-controls{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:11px 14px;background:linear-gradient(120deg,#113a60,#1c557f);color:#fff;border-bottom:1px solid #0c2f4c}
.live-referral-report-controls h2{margin:2px 0;color:#fff;font-size:17px}.live-referral-report-controls .section-kicker{color:#91d7ff}.live-referral-report-controls .modal-note{color:#c9dbe9}.live-referral-board-live{display:flex;align-items:center;gap:10px}.live-referral-board-live small{color:#d6e4ef;font-size:10px;white-space:nowrap}.live-referral-report-controls .secondary-button{min-height:32px;background:#fff}
.live-referral-report-frame{overflow:auto;margin:8px;border:1px solid #c7d5e1;border-radius:10px;background:#dfe8ef}
.live-referral-report-board{width:100%;min-width:1180px;min-height:100%;padding:10px;box-sizing:border-box;background:#f3f7fa;transform:none!important}
.live-referral-liveboard{display:grid;gap:10px;color:#17324a}
.liveboard-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:16px 18px;border-radius:12px;background:linear-gradient(120deg,#102f4d,#174e78);color:#fff}.liveboard-header>div>span{display:block;color:#83d2ff;font-size:9px;font-weight:900;letter-spacing:.12em}.liveboard-header h1{margin:5px 0 3px;font-size:25px;line-height:1.1}.liveboard-header p{margin:0;color:#c5d9e8;font-size:11px}.liveboard-source{display:grid;justify-items:end;gap:3px}.liveboard-source>span{padding:4px 8px;border-radius:999px;background:#daf6e8;color:#16734d;font-size:9px;font-weight:900}.liveboard-source strong{font-size:11px}.liveboard-source small{color:#bed2e1;font-size:9px}
.liveboard-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.liveboard-metrics article{padding:12px 13px;border:1px solid #cbdbe8;border-radius:11px;background:#fff;box-shadow:0 2px 8px rgba(31,65,94,.04)}.liveboard-metrics span{display:block;color:#6a8297;font-size:9px;font-weight:800}.liveboard-metrics strong{display:block;margin:4px 0 2px;color:#143c5e;font-size:23px}.liveboard-metrics small{color:#7d91a2;font-size:8.5px}
.liveboard-mid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(330px,.8fr);gap:8px}.liveboard-panel,.liveboard-table-card{border:1px solid #cbdbe7;border-radius:11px;background:#fff;overflow:hidden}.liveboard-panel{padding:11px 12px}.liveboard-panel-head{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;margin-bottom:9px}.liveboard-panel-head span{display:block;color:#4b86b0;font-size:8px;font-weight:900;letter-spacing:.08em}.liveboard-panel-head strong{display:block;margin-top:2px;font-size:13px;color:#173a58}.liveboard-panel-head small{color:#758a9d;font-size:9px}.liveboard-country-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:6px}.liveboard-country-grid article{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border:1px solid #d8e5ee;border-radius:8px;background:#f7fafc}.liveboard-country-grid span{font-size:9px;color:#536f85}.liveboard-country-grid strong{font-size:11px;color:#15517c}.liveboard-policy ul{margin:0;padding-left:17px;display:grid;gap:6px}.liveboard-policy li{color:#587185;font-size:9px;line-height:1.4}.liveboard-warnings{display:flex;gap:6px;flex-wrap:wrap;padding:8px 10px;border:1px solid #ecd39f;border-radius:9px;background:#fff9ec}.liveboard-warnings span{font-size:8.5px;color:#75551c}
.liveboard-table-card{padding:10px 11px}.liveboard-table-wrap{overflow:auto;max-height:none;border:1px solid #dbe5ed;border-radius:8px}.liveboard-table-wrap table{width:100%;border-collapse:collapse;table-layout:auto;background:#fff}.liveboard-table-wrap th{position:sticky;top:0;z-index:1;padding:8px 7px;background:#edf4f9;color:#42637c;border-bottom:1px solid #ccdae5;font-size:8px;text-align:left;white-space:nowrap}.liveboard-table-wrap td{padding:7px;border-bottom:1px solid #edf1f4;color:#314d63;font-size:8px;vertical-align:top;white-space:nowrap}.liveboard-table-wrap tbody tr:hover{background:#f6fbff}.liveboard-table-wrap td:nth-child(2){min-width:215px;white-space:normal}.liveboard-table-wrap td strong{display:block;color:#173a57;font-size:9px}.liveboard-table-wrap td small{display:block;margin-top:2px;color:#8093a3;font-size:7.5px}.liveboard-pnl.positive{color:#13764b;font-weight:900}.liveboard-pnl.negative{color:#bf4539;font-weight:900}.liveboard-pnl.zero{color:#53697b;font-weight:900}.liveboard-empty{padding:18px;text-align:center;color:#8092a1;font-size:9px}.live-referral-liveboard>footer{display:flex;justify-content:space-between;gap:12px;padding:2px 4px 5px;color:#73899b;font-size:8px}.live-referral-liveboard>footer strong{color:#456880}
@media(max-width:980px){.live-referral-report-controls{grid-template-columns:1fr auto}.live-referral-board-live{grid-column:1/-1}.liveboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.liveboard-mid{grid-template-columns:1fr}.live-referral-report-board{min-width:900px}}

/* V4.2.243 — multisource count mismatch marker */
.collector-native-volume.mismatch strong{font-weight:800}.collector-native-volume.mismatch small{font-weight:700}


/* V4.2.245 — Bitorage one-screen attribution table mirrors SticPay four-column operations view. */
.capture-bitorage-card table{table-layout:fixed!important;width:100%!important}
.capture-bitorage-card th,.capture-bitorage-card td{font-size:10.5px!important;padding:5px 6px!important;vertical-align:middle!important}
.capture-bitorage-card th:nth-child(1){width:30%!important}
.capture-bitorage-card th:nth-child(2){width:20%!important}
.capture-bitorage-card th:nth-child(3){width:30%!important}
.capture-bitorage-card th:nth-child(4){width:20%!important}
.capture-bitorage-card .capture-empty-history{text-align:center!important;color:#70889b!important;padding:16px 8px!important}
.capture-bitorage-name{white-space:normal!important;word-break:keep-all!important;font-weight:850!important;color:#234765!important}
.capture-bitorage-time{white-space:nowrap!important;text-align:center!important;font-variant-numeric:tabular-nums!important}
.capture-bitorage-sp-tx{white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;font-variant-numeric:tabular-nums!important}
.capture-bitorage-amount{white-space:nowrap!important;text-align:right!important;font-variant-numeric:tabular-nums!important;font-weight:900!important;color:#173d5d!important}

/* V4.2.253 - style parity with V4.2.252; keyed delta repaint UX preserved. */

/* V4.2.254 - style parity with V4.2.253; keyed delta repaint UX preserved. */

/* V4.2.255 - style parity with V4.2.254; Worker randomHex runtime recovery is server-only. */
\n\n/* V4.2.271 — settlement history values are business-critical; never hide them behind ellipsis. */
.capture-history-page-four .capture-bitorage-card table{table-layout:auto!important;width:100%!important;}
.capture-history-page-four .capture-bitorage-card th,
.capture-history-page-four .capture-bitorage-card td{overflow:visible!important;text-overflow:clip!important;}
.capture-history-page-four .capture-bitorage-name{white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;min-width:170px;}
.capture-history-page-four .capture-bitorage-time{white-space:nowrap!important;min-width:155px;}
.capture-history-page-four .capture-bitorage-sp-tx{white-space:nowrap!important;min-width:122px;font-variant-numeric:tabular-nums;}
.capture-history-page-four .capture-bitorage-amount{white-space:nowrap!important;min-width:150px;font-variant-numeric:tabular-nums;font-weight:850;}
.capture-history-page-four .capture-sticpay-card table{table-layout:auto!important;}
.capture-history-page-four .capture-sticpay-card th,
.capture-history-page-four .capture-sticpay-card td{overflow:visible!important;text-overflow:clip!important;}


/* V4.2.277 — MetaXc full settlement integration + compact transaction display */
.settlement-summary-grid{grid-template-columns:repeat(8,minmax(125px,1fr))!important}
.settlement-auto-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.capture-summary-strip{grid-template-columns:repeat(8,minmax(0,1fr))!important}
.capture-summary-strip strong{font-size:16px!important}
.capture-summary-strip small{font-size:9.5px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.capture-metaxc-card table{table-layout:auto!important;width:100%!important}
.capture-metaxc-card th,.capture-metaxc-card td{overflow:visible!important;text-overflow:clip!important}
.capture-meta-name{white-space:normal!important;overflow-wrap:anywhere!important;min-width:150px}
.capture-meta-date{white-space:nowrap!important;min-width:145px}
.capture-meta-tx{white-space:nowrap!important;min-width:125px;font-variant-numeric:tabular-nums}
.capture-meta-amount{white-space:nowrap!important;min-width:110px;font-variant-numeric:tabular-nums;font-weight:850}
.capture-stic-order small{display:none!important}
@media(max-width:1500px){.settlement-summary-grid{grid-template-columns:repeat(4,minmax(145px,1fr))!important}.settlement-auto-summary{grid-template-columns:1fr!important}}
@media(max-width:1000px){.settlement-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* V4.2.278 — MetaXc manual-override + fee formula + total/settlement balance contract */
.settlement-summary-grid article{min-width:0;overflow:hidden}
.settlement-summary-grid article small{
  max-width:100%;
  white-space:normal!important;
  overflow:hidden!important;
  overflow-wrap:anywhere;
  text-overflow:clip!important;
  line-height:1.2!important;
}
.settlement-summary-grid .meta-balance-summary small{font-size:10.5px!important}
.settlement-meta-field-grid label.derived{grid-column:auto}
.settlement-meta-field-grid .settlement-meta-derived input{
  background:#eef7ff;
  border-color:#bcd8ef;
  color:#145f99;
}
.settlement-meta-value-actions{
  display:grid;
  grid-template-columns:minmax(0,1fr) 44px 48px;
  gap:6px;
  align-items:center;
  min-width:0;
}
.settlement-meta-value-actions.fee{grid-template-columns:minmax(0,1fr) 44px}
.settlement-meta-value-actions input{min-width:0}
.settlement-meta-auto-btn,.settlement-meta-detail-btn{
  min-height:40px!important;
  height:40px;
  padding:0 7px!important;
  border-radius:9px!important;
  font-size:10px!important;
  font-weight:900!important;
}
.settlement-meta-auto-btn{color:#2f668d!important;background:#f2f8fd!important;border-color:#bcd6e8!important}
.settlement-meta-detail-btn{color:#176b48!important;background:#f2fbf6!important;border-color:#bce1ce!important}
.settlement-meta-detail-backdrop{z-index:1150}
.settlement-meta-detail-card{width:min(900px,calc(100vw - 28px));max-height:calc(100vh - 40px);overflow:hidden}
.settlement-meta-detail-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:0 0 10px;
}
.settlement-meta-detail-summary>span{
  min-width:0;
  padding:9px 10px;
  border:1px solid #d5e3ee;
  border-radius:10px;
  background:#f7fafc;
  color:#667c91;
  font-size:10px;
  font-weight:850;
}
.settlement-meta-detail-summary b{display:block;margin-top:3px;color:#1c4565;font-size:14px;font-variant-numeric:tabular-nums}
#settlementMetaDetailOverrideState[data-state="manual"]{background:#fff8eb;border-color:#eed69d;color:#8a6418}
#settlementMetaDetailOverrideState[data-state="auto"]{background:#f1fbf6;border-color:#bfe4cf;color:#28704c}
.settlement-meta-detail-table-wrap{max-height:min(58vh,520px);overflow:auto;border:1px solid #dbe6ef;border-radius:11px}
.settlement-meta-detail-table{width:100%;border-collapse:collapse;table-layout:fixed}
.settlement-meta-detail-table th,.settlement-meta-detail-table td{padding:8px 9px;border-bottom:1px solid #e9eff4;font-size:11px;line-height:1.25}
.settlement-meta-detail-table th{position:sticky;top:0;background:#f2f7fb;color:#647b90;text-align:left;font-weight:900;z-index:1}
.settlement-meta-detail-table th:nth-child(1){width:27%}
.settlement-meta-detail-table th:nth-child(2){width:23%}
.settlement-meta-detail-table th:nth-child(3){width:30%}
.settlement-meta-detail-table th:nth-child(4){width:20%;text-align:right}
.settlement-meta-detail-table td:nth-child(2),.settlement-meta-detail-table td:nth-child(3){font-variant-numeric:tabular-nums}
.settlement-meta-detail-table td:nth-child(4){text-align:right;font-weight:900;color:#174765;font-variant-numeric:tabular-nums}
.settlement-meta-detail-empty{text-align:center!important;color:#788c9e!important;padding:24px 8px!important}
.capture-kv-meta{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.capture-summary-strip article{min-width:0;overflow:hidden!important}
.capture-summary-strip small{
  max-width:100%;
  white-space:normal!important;
  overflow:hidden!important;
  overflow-wrap:anywhere!important;
  text-overflow:clip!important;
  line-height:1.15!important;
}
.capture-summary-strip strong{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
@media(max-width:1100px){
  .settlement-meta-value-actions{grid-template-columns:minmax(0,1fr) 42px 46px}
  .settlement-meta-detail-summary{grid-template-columns:1fr}
}
@media(max-width:680px){
  .settlement-meta-field-grid{grid-template-columns:1fr!important}
  .settlement-meta-value-actions{grid-template-columns:minmax(0,1fr) 42px 46px}
  .settlement-meta-value-actions.fee{grid-template-columns:minmax(0,1fr) 42px}
}

/* V4.2.278 overflow hardening: override earlier flow-net/nth-child nowrap rules. */
.settlement-summary-grid article.flow-net small,
.settlement-summary-grid article.meta-balance-summary small{
  white-space:normal!important;
  overflow:hidden!important;
  overflow-wrap:anywhere!important;
  text-overflow:clip!important;
}
.capture-summary-strip article.flow-net small,
.capture-summary-strip article:nth-child(1) small,
.capture-summary-strip article:nth-child(3) small,
.capture-summary-strip article:nth-child(4) small,
.capture-summary-strip article:nth-child(5) small,
.capture-summary-strip article:nth-child(6) small{
  white-space:normal!important;
  overflow:hidden!important;
  overflow-wrap:anywhere!important;
  text-overflow:clip!important;
}


/* V4.2.279 — MetaXc exact 2x5 layout + settlement header parity + business-value no-ellipsis contract */
.settlement-meta-field-grid{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:8px!important;
  align-items:stretch;
}
.settlement-meta-field-grid>label.settlement-meta-cell{
  min-width:0;
  padding:9px;
  border:1px solid #d8e4ee;
  border-radius:11px;
  background:#fbfdff;
  align-content:start;
}
.settlement-meta-field-grid>label.settlement-meta-cell.balance{background:#f8fbfe}
.settlement-meta-field-grid>label.settlement-meta-cell.flow{background:#fcfdfd}
.settlement-meta-field-grid>label.settlement-meta-cell>span{
  min-height:31px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:2px;
  color:#5e748b;
  font-size:10.5px;
  line-height:1.12;
  overflow:visible;
  text-overflow:clip;
  white-space:normal;
}
.settlement-meta-field-grid>label.settlement-meta-cell>span small{
  display:block;
  color:#8a9cad;
  font-size:8.5px;
  font-weight:800;
  line-height:1.18;
  white-space:normal;
}
.settlement-meta-field-grid .settlement-value-with-sum{
  grid-template-columns:minmax(0,1fr) 36px!important;
  gap:5px!important;
}
.settlement-meta-field-grid .settlement-sum-button{
  min-width:36px!important;
  width:36px!important;
  padding:0!important;
}
.settlement-meta-value-actions,
.settlement-meta-value-actions.fee{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:5px!important;
  align-items:stretch!important;
}
.settlement-meta-action-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px;
}
.settlement-meta-action-row.single{grid-template-columns:1fr}
.settlement-meta-action-row .settlement-inline-button{
  width:100%;
  min-width:0!important;
  min-height:29px!important;
  height:29px!important;
  padding:0 5px!important;
  font-size:9px!important;
}
.settlement-meta-field-grid input{
  min-width:0!important;
  height:37px!important;
  padding:0 8px!important;
  font-size:12px!important;
  font-variant-numeric:tabular-nums;
}
.settlement-meta-field-grid .settlement-meta-derived input{
  font-weight:900!important;
  letter-spacing:-.025em;
}

/* Never replace settlement financial values with ellipsis. Wrap or tighten instead. */
.settlement-summary-grid article{overflow:visible!important}
.settlement-summary-grid strong{
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:keep-all!important;
  font-size:clamp(14px,1.05vw,18px)!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
  font-variant-numeric:tabular-nums;
}
.settlement-summary-grid small{
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.capture-summary-strip article{overflow:visible!important}
.capture-summary-strip strong{
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  word-break:keep-all!important;
  font-size:14px!important;
  line-height:1.08!important;
  letter-spacing:-.04em!important;
  font-variant-numeric:tabular-nums;
}
.capture-summary-strip small{
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
}
.capture-kv-meta{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.capture-kv-meta>span{
  min-width:0!important;
  overflow:visible!important;
  padding:6px 6px!important;
}
.capture-kv-meta>span b{
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  font-size:12.5px!important;
  line-height:1.08!important;
  letter-spacing:-.045em!important;
  font-variant-numeric:tabular-nums;
}
.capture-kv-meta>span.accent{background:#eef7ff!important;border-color:#bfdbee!important}
.capture-kv-meta>span.accent b{color:#145f99!important}

@media(max-width:1450px){
  .settlement-meta-field-grid{grid-template-columns:repeat(5,minmax(115px,1fr))!important;overflow-x:auto;padding-bottom:4px}
  .settlement-summary-grid strong{font-size:15px!important}
}
@media(max-width:1000px){
  .settlement-meta-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible}
}
@media(max-width:680px){
  .settlement-meta-field-grid{grid-template-columns:1fr!important}
}


/* V4.2.280 — MetaXc live editor visual parity with SticPay + neutral capture + stable no-wrap cards */
.settlement-meta-editor-layout{display:grid;gap:13px}
.settlement-meta-balance-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:9px!important}
.settlement-meta-flow-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 12px!important}
.settlement-meta-balance-grid label,.settlement-meta-flow-grid label{
  display:grid!important;gap:6px!important;min-width:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;align-content:start!important
}
.settlement-meta-balance-grid label>span,.settlement-meta-flow-grid label>span{
  min-height:0!important;display:block!important;color:#657a91!important;font-size:11px!important;line-height:1.18!important;font-weight:800!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important
}
.settlement-meta-balance-grid label>span small,.settlement-meta-flow-grid label>span small{
  display:inline!important;margin-left:4px!important;color:#8a9cad!important;font-size:9px!important;line-height:1!important;white-space:nowrap!important
}
.settlement-meta-balance-grid label.derived{grid-column:auto!important}
.settlement-meta-balance-grid input,.settlement-meta-flow-grid input{
  width:100%!important;height:40px!important;border:1px solid #ccdae8!important;border-radius:10px!important;background:#f9fbfe!important;padding:0 11px!important;color:#173450!important;font-size:12px!important;font-weight:800!important;font-variant-numeric:tabular-nums!important;min-width:0!important
}
.settlement-meta-balance-grid .settlement-meta-derived input{
  background:#f9fbfe!important;border-color:#ccdae8!important;color:#173450!important;font-weight:900!important
}
.settlement-meta-balance-grid .settlement-value-with-sum,.settlement-meta-flow-grid .settlement-value-with-sum{
  display:grid!important;grid-template-columns:minmax(0,1fr) 40px!important;gap:7px!important;align-items:center!important;min-width:0!important
}
.settlement-meta-balance-grid .settlement-sum-button,.settlement-meta-flow-grid .settlement-sum-button{
  min-width:40px!important;width:40px!important;height:40px!important;padding:0!important
}
.settlement-meta-flow-stack{display:grid;gap:6px;min-width:0}
.settlement-meta-flow-grid .settlement-meta-action-row{display:flex!important;gap:7px!important;justify-content:flex-end!important}
.settlement-meta-flow-grid .settlement-meta-action-row.single{display:flex!important}
.settlement-meta-flow-grid .settlement-meta-action-row .settlement-inline-button{
  width:auto!important;min-width:58px!important;height:31px!important;min-height:31px!important;padding:0 11px!important;font-size:10px!important;border-radius:9px!important
}
/* V279 accent was visually misleading in one-screen mode; all Meta metrics are neutral peers. */
.capture-kv-meta>span,.capture-kv-meta>span.accent{background:#f7fafc!important;border-color:#dbe6ef!important}
.capture-kv-meta>span b,.capture-kv-meta>span.accent b{color:#173450!important}
/* Stable card dimensions: helper lines stay single-line on desktop by tightening text only. */
.settlement-summary-grid article{overflow:hidden!important}
.settlement-summary-grid strong{white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;font-size:clamp(13px,.98vw,18px)!important}
.settlement-summary-grid small{white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:normal!important;font-size:8.8px!important;line-height:1.08!important;letter-spacing:-.045em!important}
.capture-summary-strip article{overflow:hidden!important}
.capture-summary-strip strong{white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;font-size:13.5px!important}
.capture-summary-strip small{white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;font-size:8px!important;line-height:1.05!important;letter-spacing:-.05em!important}
@media(max-width:1450px){
  .settlement-meta-balance-grid{grid-template-columns:repeat(5,minmax(105px,1fr))!important;overflow-x:auto;padding-bottom:4px}
  .settlement-meta-flow-grid{grid-template-columns:1fr 1fr!important}
  .settlement-summary-grid small{font-size:8.2px!important}
}
@media(max-width:1000px){
  .settlement-meta-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible}
  .settlement-meta-flow-grid{grid-template-columns:1fr!important}
  .settlement-summary-grid small,.capture-summary-strip small{white-space:normal!important}
}
@media(max-width:680px){.settlement-meta-balance-grid{grid-template-columns:1fr!important}}

/* V4.2.281 — MetaXc Sigma is the single API/manual ledger surface. */
.settlement-sum-entry:not(.timed).has-attribution{grid-template-columns:28px minmax(0,1fr) 38px!important;align-items:center}
.settlement-sum-entry:not(.timed) .settlement-sum-attribution{grid-column:2/4!important;margin-top:2px!important}
.settlement-sum-entry:not(.timed).api-imported{background:#f8fbfe;border-color:#d8e8f3}

/* V4.2.284 — UI bytes preserved from V4.2.283; Collector auto-update control-plane repair is backend-only. */
/* V4.2.283 — MetaXc toolbar grid identity + strict card containment recovery. */
.settlement-stic-tools #settlementMetaImportBtn{grid-area:api!important;margin:0!important;}
.settlement-stic-tools [data-settlement-copy-prev="meta"]{grid-area:prev!important;margin:0!important;}
.settlement-stic-tools #settlementMetaDerivedBadge{
  grid-area:verify!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:static!important;
  margin:0!important;
  min-height:28px!important;
  padding:5px 12px!important;
  white-space:nowrap!important;
}
/* V280 used overflow:visible to force one-line helpers. That lets the final
   Meta balance helper escape the fixed card. Keep the same card dimensions and
   contain/tighten text inside its own grid cell instead. */
.settlement-meta-balance-grid label>span,
.settlement-meta-flow-grid label>span{
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  font-size:10.5px!important;
  letter-spacing:-.025em!important;
}
.settlement-meta-balance-grid label>span small,
.settlement-meta-flow-grid label>span small{
  display:inline-block!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  vertical-align:bottom!important;
  font-size:8px!important;
  letter-spacing:-.04em!important;
}
.settlement-meta-balance-grid label.derived>span{font-size:10.25px!important;letter-spacing:-.035em!important;}

/* V4.2.287 Bitorage per-section reflection status parity with Meta/SticPay */
.settlement-bitorage-section-status{margin-top:8px}
.settlement-bitorage-section-status[data-state="warning"]{background:#fff9ed;border-color:#ebd5a6;color:#8a641d}

/* V4.2.291 — MetaXc formula recovery + other-deposit + manual today balance + Bitorage manual SP Transaction ID repair. */
.settlement-meta-balance-grid .settlement-value-with-sum.meta-today-balance{grid-template-columns:minmax(0,1fr) 40px 48px!important}
.settlement-meta-today-auto{min-width:48px!important;width:48px!important;height:40px!important;min-height:40px!important;padding:0 6px!important;font-size:9px!important;font-weight:900!important}

.settlement-meta-balance-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.settlement-sum-card{width:min(980px,calc(100vw - 28px))!important}
.settlement-sum-entry.timed{grid-template-columns:28px minmax(150px,1fr) 88px 110px minmax(165px,1.15fr) 34px!important;align-items:end!important;gap:8px!important}
.settlement-sum-entry.timed .settlement-sum-field.transaction input{font-variant-numeric:tabular-nums;letter-spacing:.015em}
.settlement-sum-entry.timed .settlement-sum-attribution{grid-column:2/6!important}
@media(max-width:1320px){.settlement-meta-balance-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:900px){
  .settlement-sum-entry.timed{grid-template-columns:28px minmax(0,1fr) 74px 92px 34px!important}
  .settlement-sum-entry.timed .settlement-sum-field.transaction{grid-column:2/5!important}
  .settlement-sum-entry.timed .settlement-sum-attribution{grid-column:2/5!important}
}
@media(max-width:680px){.settlement-meta-balance-grid{grid-template-columns:1fr!important}}
.capture-kv-meta{grid-template-columns:repeat(6,minmax(0,1fr))!important}
@media(max-width:1000px){.capture-kv-meta{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* V4.2.293 — complete manual detail row: Romanized name + amount + date + time + SP TID */
.settlement-sum-card{width:min(1180px,calc(100vw - 28px))!important}
.settlement-sum-entry.timed{grid-template-columns:28px minmax(190px,1.15fr) minmax(120px,.8fr) 82px 104px minmax(165px,1fr) 34px!important;align-items:end!important;gap:8px!important}
.settlement-sum-entry.timed .settlement-sum-field.customer input{text-transform:uppercase;letter-spacing:.012em;font-weight:800}
.settlement-sum-entry.timed .settlement-sum-attribution{grid-column:2/7!important}
@media(max-width:880px){
  .settlement-sum-card{width:calc(100vw - 20px)!important}
  .settlement-sum-entry.timed{grid-template-columns:28px minmax(0,1fr) 90px 72px 88px 34px!important;gap:5px!important}
  .settlement-sum-entry.timed .settlement-sum-field.customer{grid-column:2/6!important}
  .settlement-sum-entry.timed .settlement-sum-field.transaction{grid-column:2/6!important}
  .settlement-sum-entry.timed .settlement-sum-attribution{grid-column:2/6!important}
}

/* V4.2.296 — Bitorage/SticPay recovery + MetaXc top-summary balance visibility. */
/* Exact business order: previous / prior-day / today / available / frozen, then
   deposit / deposit fee / withdrawal / withdrawal fee / other deposit. */
.settlement-meta-balance-grid,.settlement-meta-flow-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:9px!important}
.settlement-meta-balance-grid .settlement-value-with-sum.meta-today-balance{grid-template-columns:minmax(0,1fr) 40px!important;align-items:center!important}
.settlement-meta-balance-grid .meta-today-balance .settlement-meta-today-auto{grid-column:1/-1!important;width:100%!important;min-width:0!important;height:28px!important;min-height:28px!important;margin:0!important}
.capture-kv-meta{grid-template-columns:repeat(5,minmax(0,1fr))!important}
@media(max-width:1600px){
  .settlement-meta-balance-grid,.settlement-meta-flow-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:1000px){
  .settlement-meta-balance-grid,.settlement-meta-flow-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .capture-kv-meta{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:680px){
  .settlement-meta-balance-grid,.settlement-meta-flow-grid{grid-template-columns:1fr!important}
  .capture-kv-meta{grid-template-columns:1fr!important}
}


/* V4.2.296 — nine first-class settlement summary metrics. */
.settlement-summary-grid{grid-template-columns:repeat(9,minmax(118px,1fr))!important}
.capture-summary-strip{grid-template-columns:repeat(9,minmax(0,1fr))!important}
.settlement-summary-grid .meta-today-summary{background:linear-gradient(145deg,#f8fbff,#f1f7ff);border-color:#d1e1f2}
@media(max-width:1500px){.settlement-summary-grid{grid-template-columns:repeat(5,minmax(140px,1fr))!important}.capture-summary-strip{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:1000px){.settlement-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.capture-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* V4.2.297 — settlement rollover/UI parity + Hot-Wallet Admin source-row Sigma detail. */
/* One-screen summary cards: fixed visual rows prevent title wrapping from moving values. */
.settlement-summary-grid{
  gap:10px!important;
  align-items:stretch!important;
}
.settlement-summary-grid article{
  min-height:108px!important;
  padding:12px 12px!important;
  display:grid!important;
  grid-template-rows:28px 27px minmax(14px,auto) minmax(0,auto)!important;
  align-content:start!important;
  box-sizing:border-box!important;
}
.settlement-summary-grid article>span{
  height:28px!important;
  margin:0!important;
  display:block!important;
  overflow:hidden!important;
  white-space:normal!important;
  line-height:13px!important;
  font-size:10.5px!important;
  letter-spacing:-.02em!important;
}
.settlement-summary-grid article>strong{
  height:27px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:clip!important;
  font-size:16px!important;
  line-height:27px!important;
  font-weight:900!important;
  color:#173d5d!important;
  letter-spacing:-.025em!important;
  font-variant-numeric:tabular-nums!important;
}
.settlement-summary-grid article>small{
  min-height:14px!important;
  margin:1px 0 0!important;
  overflow:hidden!important;
  line-height:13px!important;
  font-size:9px!important;
  white-space:nowrap!important;
  text-overflow:clip!important;
  letter-spacing:-.02em!important;
}

/* Capture/one-screen report summary parity. All cards and value baselines are identical. */
.capture-summary-strip{
  gap:7px!important;
  align-items:stretch!important;
}
.capture-summary-strip article{
  min-height:78px!important;
  padding:8px 9px!important;
  display:grid!important;
  grid-template-rows:26px 24px 20px!important;
  align-content:start!important;
  box-sizing:border-box!important;
}
.capture-summary-strip article>span{
  height:26px!important;
  margin:0!important;
  display:block!important;
  overflow:hidden!important;
  white-space:normal!important;
  line-height:12px!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
}
.capture-summary-strip article>strong{
  height:24px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:clip!important;
  font-size:16px!important;
  line-height:24px!important;
  font-weight:900!important;
  color:#173d5d!important;
  letter-spacing:-.025em!important;
  font-variant-numeric:tabular-nums!important;
}
.capture-summary-strip article>small{
  min-height:20px!important;
  margin:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  line-height:10px!important;
  font-size:8.5px!important;
  letter-spacing:-.025em!important;
}

/* MetaXc and SticPay are peer settlement cards: same numeric visual hierarchy. */
.capture-kv-meta>span b,
.capture-kv-stic>span b{
  font-size:16px!important;
  line-height:1.2!important;
  font-weight:900!important;
  color:#173450!important;
  letter-spacing:-.015em!important;
  font-variant-numeric:tabular-nums!important;
}
.settlement-meta-balance-grid input,
.settlement-meta-flow-grid input{
  font-size:14px!important;
  line-height:40px!important;
  font-weight:900!important;
  color:#173450!important;
  font-variant-numeric:tabular-nums!important;
}

/* SticPay detail: long names never create a two-line row and can never cover the date. */
.capture-sticpay-card table{table-layout:fixed!important;width:100%!important}
.capture-sticpay-card th:nth-child(1){width:28%!important}
.capture-sticpay-card th:nth-child(2){width:24%!important}
.capture-sticpay-card th:nth-child(3){width:30%!important}
.capture-sticpay-card th:nth-child(4){width:18%!important}
.capture-sticpay-card .capture-stic-name{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  line-height:1.2!important;
  height:auto!important;
}
.capture-sticpay-card .capture-stic-date{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  font-variant-numeric:tabular-nums!important;
  line-height:1.2!important;
}
.capture-sticpay-card tbody tr{height:27px!important}
.capture-sticpay-card tbody td{vertical-align:middle!important}

/* Hot-Wallet Sigma API provenance view. */
.settlement-sum-entry.hot-source-v297{
  display:grid!important;
  grid-template-columns:28px minmax(128px,.85fr) 88px 96px 92px minmax(145px,1fr) minmax(220px,1.45fr)!important;
  gap:8px!important;
  align-items:end!important;
  padding:9px 10px!important;
  border:1px solid #d8e8f3!important;
  border-radius:10px!important;
  background:#f7fbfe!important;
}
.settlement-sum-entry.hot-source-v297 .settlement-sum-index{align-self:center!important;margin-top:16px!important}
.settlement-sum-entry.hot-source-v297 .settlement-sum-field{display:grid!important;gap:4px!important;min-width:0!important}
.settlement-sum-entry.hot-source-v297 .settlement-sum-field>small{
  color:#6d8297!important;
  font-size:9px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.settlement-sum-entry.hot-source-v297 input{
  width:100%!important;
  min-width:0!important;
  height:38px!important;
  padding:0 8px!important;
  border:1px solid #cbddea!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#183f5d!important;
  font-size:11px!important;
  font-weight:850!important;
  font-variant-numeric:tabular-nums!important;
  text-overflow:ellipsis!important;
}
.settlement-sum-entry.hot-source-v297 .hot-amount input{font-size:12px!important;font-weight:900!important;color:#155f94!important}
@media(max-width:980px){
  .settlement-sum-entry.hot-source-v297{
    grid-template-columns:28px minmax(0,1fr) minmax(0,1fr)!important;
  }
  .settlement-sum-entry.hot-source-v297 .hot-address{grid-column:2/4!important}
}
@media(max-width:680px){
  .settlement-sum-entry.hot-source-v297{grid-template-columns:28px minmax(0,1fr)!important}
  .settlement-sum-entry.hot-source-v297 .settlement-sum-field,
  .settlement-sum-entry.hot-source-v297 .hot-address{grid-column:2/3!important}
}

/* V4.2.298 — settlement one-screen alignment follow-up.
   UI-only: preserve all V297 settlement values, formulas and provenance. */

/* Top summary cards: equal size and enough protected room for two-line helper text. */
.settlement-summary-grid article{
  height:116px!important;
  min-height:116px!important;
  padding:11px 12px!important;
  grid-template-rows:28px 28px 18px 18px!important;
  align-content:start!important;
  overflow:hidden!important;
}
.settlement-summary-grid article>span{
  height:28px!important;
  line-height:13px!important;
}
.settlement-summary-grid article>strong{
  height:28px!important;
  line-height:28px!important;
}
.settlement-summary-grid article>small{
  height:18px!important;
  min-height:18px!important;
  margin:0!important;
  display:block!important;
  line-height:16px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:clip!important;
}

/* Capture report summary: fixed equal cards, helper line gets two full rows instead of being clipped. */
.capture-summary-strip article{
  height:92px!important;
  min-height:92px!important;
  padding:8px 9px!important;
  display:grid!important;
  grid-template-rows:25px 24px 27px!important;
  align-content:start!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.capture-summary-strip article>span{
  height:25px!important;
  line-height:12px!important;
  margin:0!important;
  overflow:hidden!important;
}
.capture-summary-strip article>strong{
  height:24px!important;
  line-height:24px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
}
.capture-summary-strip article>small{
  height:27px!important;
  min-height:27px!important;
  margin:0!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  white-space:normal!important;
  overflow:hidden!important;
  overflow-wrap:normal!important;
  word-break:keep-all!important;
  text-overflow:clip!important;
  line-height:12.5px!important;
  font-size:8.5px!important;
  letter-spacing:-.035em!important;
}

/* MetaXc + SticPay body cards: identical row geometry and numeric baseline. */
.capture-two-col>.capture-card{
  align-self:stretch!important;
}
.capture-two-col>.capture-card>h2{
  height:24px!important;
  min-height:24px!important;
  margin:0 0 5px!important;
  line-height:24px!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
}
.capture-kv-meta,
.capture-kv-stic{
  align-items:stretch!important;
  grid-auto-rows:49px!important;
}
.capture-kv-meta>span,
.capture-kv-stic>span{
  height:49px!important;
  min-height:49px!important;
  padding:5px 6px!important;
  box-sizing:border-box!important;
  line-height:13px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  font-size:10.5px!important;
  font-weight:800!important;
}
.capture-kv-meta>span b,
.capture-kv-stic>span b{
  display:block!important;
  height:22px!important;
  min-height:22px!important;
  margin:3px 0 0!important;
  line-height:22px!important;
  font-size:14px!important;
  font-weight:900!important;
  color:#173450!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  letter-spacing:-.035em!important;
  font-variant-numeric:tabular-nums!important;
}

/* MetaXc JPY must stay attached to the amount. Fit long JPY values by tightening the peer typography, never by wrapping. */
.capture-kv-meta>span b{
  font-size:13.5px!important;
  letter-spacing:-.045em!important;
}

/* Keep report peer headings and card top edges on exactly the same baseline. */
.capture-two-col{
  align-items:stretch!important;
}
.capture-two-col>.capture-card:nth-child(1),
.capture-two-col>.capture-card:nth-child(2){
  display:block!important;
}

/* V4.2.299 - Legacy MetaXc / KevPayment settlement split and wide one-screen report. */

/* Payment editor: MetaXc + SticPay on first row, KevPayment directly below MetaXc.
   The right-side slot remains intentionally available for future payment processors. */
.settlement-payment-grid-v299{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;
  gap:14px!important;
}
.settlement-payment-grid-v299>.settlement-kev-card{grid-column:1/2!important}
.settlement-meta-legacy-balance-grid,
.settlement-meta-legacy-flow-grid,
.settlement-kev-balance-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:9px!important;
}
.settlement-kev-flow-grid{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:9px!important;
}
.settlement-kev-balance-grid label.derived{grid-column:auto!important}
.settlement-meta-legacy-card .settlement-field-grid label,
.settlement-payment-grid-v299>.settlement-card:nth-child(2)>.settlement-field-grid label,
.settlement-kev-card .settlement-field-grid label{
  min-height:68px!important;
  align-content:start!important;
}
.settlement-meta-legacy-card .settlement-field-grid label>span,
.settlement-payment-grid-v299>.settlement-card:nth-child(2)>.settlement-field-grid label>span,
.settlement-kev-card .settlement-field-grid label>span{
  min-height:17px!important;
  line-height:17px!important;
}
.settlement-meta-legacy-card .settlement-field-grid input,
.settlement-payment-grid-v299>.settlement-card:nth-child(2)>.settlement-field-grid input,
.settlement-kev-card .settlement-field-grid input{
  font-size:14px!important;
  line-height:40px!important;
  font-weight:900!important;
  font-variant-numeric:tabular-nums!important;
}

/* Main summary: give each metric enough horizontal room so amount + JPY never clips. */
.settlement-summary-grid{
  grid-template-columns:repeat(9,minmax(145px,1fr))!important;
  gap:10px!important;
}
.settlement-summary-grid article{
  min-width:0!important;
  padding-right:15px!important;
}
.settlement-summary-grid article>strong{
  padding-right:2px!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  white-space:nowrap!important;
  font-size:clamp(14px,.9vw,18px)!important;
  letter-spacing:-.035em!important;
}
.settlement-summary-grid article>small{
  color:#627f99!important;
  font-size:10px!important;
  line-height:14px!important;
  letter-spacing:-.015em!important;
}
.settlement-summary-grid article.flow-net>small:first-of-type{
  display:flex!important;
  flex-wrap:wrap!important;
  align-content:flex-start!important;
  gap:1px 7px!important;
  height:30px!important;
  min-height:30px!important;
  white-space:normal!important;
  overflow:visible!important;
}
.settlement-flow-atom{
  display:inline-flex!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
}

/* One-screen board: consume desktop width instead of leaving a large unused right rail. */
.settlement-capture-board{
  width:1760px!important;
  min-height:820px!important;
  gap:10px!important;
  padding:16px 20px 12px!important;
}
.capture-summary-strip{
  grid-template-columns:repeat(9,minmax(0,1fr))!important;
  gap:8px!important;
}
.capture-summary-strip article{
  height:104px!important;
  min-height:104px!important;
  padding:9px 11px!important;
  grid-template-rows:27px 27px minmax(38px,auto)!important;
  overflow:visible!important;
}
.capture-summary-strip article>span{
  height:27px!important;
  line-height:13px!important;
  font-size:10.5px!important;
  color:#617d95!important;
}
.capture-summary-strip article>strong{
  height:27px!important;
  line-height:27px!important;
  padding-right:2px!important;
  overflow:visible!important;
  white-space:nowrap!important;
  font-size:16px!important;
  letter-spacing:-.035em!important;
}
.capture-summary-strip article>small{
  min-height:38px!important;
  height:auto!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-content:flex-start!important;
  gap:2px 8px!important;
  padding-top:2px!important;
  color:#5f7f99!important;
  font-size:9.5px!important;
  font-weight:750!important;
  line-height:13px!important;
  letter-spacing:-.01em!important;
  white-space:normal!important;
  overflow:visible!important;
  -webkit-line-clamp:unset!important;
}
.capture-helper-atom{
  display:inline-flex!important;
  margin:0!important;
  color:inherit!important;
  font:inherit!important;
  font-style:normal!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
}

/* Payment report cards use a stable two-column lane; Kev occupies the next left slot. */
.capture-payment-grid-v299{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;
  gap:9px!important;
}
.capture-payment-grid-v299>.capture-kev-card{grid-column:1/2!important}
.capture-payment-grid-v299>.capture-card>h2{
  height:27px!important;
  min-height:27px!important;
  line-height:27px!important;
}
.capture-kv-meta-legacy,
.capture-kv-stic{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-rows:52px!important;
}
.capture-kv-kev{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  grid-auto-rows:52px!important;
}
.capture-kv-meta-legacy>span,
.capture-kv-stic>span,
.capture-kv-kev>span{
  height:52px!important;
  min-height:52px!important;
  padding:6px 8px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}
.capture-kv-meta-legacy>span b,
.capture-kv-stic>span b,
.capture-kv-kev>span b{
  display:block!important;
  height:23px!important;
  min-height:23px!important;
  margin-top:3px!important;
  line-height:23px!important;
  font-size:14.5px!important;
  font-weight:900!important;
  color:#173450!important;
  letter-spacing:-.025em!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  font-variant-numeric:tabular-nums!important;
}

/* Wider report means tables and P/L notes can carry more information without cramping. */
.capture-crypto-master-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
.capture-pl-card table th:nth-child(1){width:27%!important}
.capture-pl-card table th:nth-child(2){width:18%!important}
.capture-pl-card table th:nth-child(3){width:38%!important}
.capture-pl-card table th:nth-child(4){width:17%!important}

@media(max-width:1500px){
  .settlement-payment-grid-v299{grid-template-columns:1fr!important}
  .settlement-payment-grid-v299>.settlement-kev-card{grid-column:auto!important}
  .settlement-summary-grid{grid-template-columns:repeat(5,minmax(145px,1fr))!important}
  .settlement-kev-flow-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:980px){
  .settlement-meta-legacy-balance-grid,
  .settlement-meta-legacy-flow-grid,
  .settlement-kev-balance-grid,
  .settlement-kev-flow-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:680px){
  .settlement-meta-legacy-balance-grid,
  .settlement-meta-legacy-flow-grid,
  .settlement-kev-balance-grid,
  .settlement-kev-flow-grid{grid-template-columns:1fr!important}
  .settlement-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* V4.2.300 - payment editor row geometry normalization. */
.settlement-payment-grid-v299{
  align-items:stretch!important;
  grid-auto-flow:row!important;
}
.settlement-payment-grid-v299>.settlement-card{
  align-self:stretch!important;
  min-width:0!important;
}
.settlement-payment-grid-v299>.settlement-meta-legacy-card,
.settlement-payment-grid-v299>.settlement-card:nth-child(2){
  height:100%!important;
}
.settlement-meta-legacy-card .settlement-card-head,
.settlement-payment-grid-v299>.settlement-card:nth-child(2) .settlement-card-head,
.settlement-kev-card .settlement-card-head{
  min-height:52px!important;
  height:52px!important;
  box-sizing:border-box!important;
  align-items:center!important;
}
.settlement-meta-legacy-balance-grid,
.settlement-meta-legacy-flow-grid,
.settlement-kev-balance-grid,
.settlement-kev-flow-grid{
  width:100%!important;
  grid-auto-flow:row!important;
  align-items:start!important;
}
.settlement-meta-legacy-balance-grid,
.settlement-meta-legacy-flow-grid,
.settlement-kev-balance-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.settlement-kev-flow-grid{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
.settlement-kev-flow-grid>label:nth-child(1){grid-column:1!important}
.settlement-kev-flow-grid>label:nth-child(2){grid-column:2!important}
.settlement-kev-flow-grid>label:nth-child(3){grid-column:3!important}
.settlement-kev-flow-grid>label:nth-child(4){grid-column:4!important}
.settlement-kev-flow-grid>label:nth-child(5){grid-column:5!important}
.settlement-meta-legacy-card .settlement-field-grid label,
.settlement-kev-card .settlement-field-grid label,
.settlement-payment-grid-v299>.settlement-card:nth-child(2)>.settlement-field-grid label{
  min-height:68px!important;
  height:68px!important;
  grid-template-rows:17px 40px!important;
  align-content:start!important;
  box-sizing:border-box!important;
}
.settlement-meta-legacy-card .settlement-field-grid label>span,
.settlement-kev-card .settlement-field-grid label>span,
.settlement-payment-grid-v299>.settlement-card:nth-child(2)>.settlement-field-grid label>span{
  height:17px!important;
  min-height:17px!important;
  line-height:17px!important;
  margin:0!important;
}
.settlement-meta-legacy-card .settlement-field-grid input,
.settlement-kev-card .settlement-field-grid input,
.settlement-payment-grid-v299>.settlement-card:nth-child(2)>.settlement-field-grid input{
  height:40px!important;
  min-height:40px!important;
  line-height:40px!important;
  margin:0!important;
}
/* One-screen KevPayment: first row is balance/reserve/available (4 fields),
   second row is deposit/deposit fee/withdrawal/withdrawal fee/other deposit (5 fields). */
.capture-kv-kev{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.capture-kv-kev>span:nth-child(1){grid-column:1!important}
.capture-kv-kev>span:nth-child(2){grid-column:2!important}
.capture-kv-kev>span:nth-child(3){grid-column:3!important}
.capture-kv-kev>span:nth-child(4){grid-column:4!important}
.capture-kv-kev>span:nth-child(5){grid-column:1!important;grid-row:2!important}
.capture-kv-kev>span:nth-child(6){grid-column:2!important;grid-row:2!important}
.capture-kv-kev>span:nth-child(7){grid-column:3!important;grid-row:2!important}
.capture-kv-kev>span:nth-child(8){grid-column:4!important;grid-row:2!important}
.capture-kv-kev>span:nth-child(9){grid-column:5!important;grid-row:2!important}
@media(max-width:1100px){
  .settlement-meta-legacy-balance-grid,.settlement-meta-legacy-flow-grid,.settlement-kev-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .settlement-kev-flow-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .settlement-kev-flow-grid>label{grid-column:auto!important}
}
@media(max-width:680px){
  .settlement-meta-legacy-balance-grid,.settlement-meta-legacy-flow-grid,.settlement-kev-balance-grid,.settlement-kev-flow-grid{grid-template-columns:1fr!important}
  .settlement-kev-flow-grid>label{grid-column:auto!important}
}


/* V4.2.301 — one-screen readability + semantic wrapping + KevPayment four-column flow. */
/* Live summary: give titles/details more legible type and dedicated vertical room. */
.settlement-summary-grid{grid-template-columns:repeat(9,minmax(158px,1fr))!important;gap:10px!important}
.settlement-summary-grid article{
  height:132px!important;min-height:132px!important;padding:12px 14px!important;
  grid-template-rows:34px 31px minmax(25px,auto) minmax(18px,auto)!important;
  overflow:hidden!important;
}
.settlement-summary-grid article>span{
  height:34px!important;font-size:12px!important;line-height:15px!important;font-weight:900!important;
  color:#58738e!important;letter-spacing:-.015em!important;
}
.settlement-summary-grid article>strong{
  height:31px!important;line-height:31px!important;font-size:17.5px!important;font-weight:950!important;
  padding-right:3px!important;white-space:nowrap!important;overflow:visible!important;letter-spacing:-.025em!important;
}
.settlement-summary-grid article>small{
  min-height:18px!important;height:auto!important;margin:1px 0 0!important;font-size:11px!important;
  line-height:15px!important;font-weight:750!important;color:#5f7e99!important;white-space:normal!important;
  overflow:visible!important;text-overflow:clip!important;letter-spacing:-.01em!important;
}
.settlement-summary-grid article.flow-net>small:first-of-type{
  display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:0!important;
  min-height:30px!important;height:auto!important;align-content:stretch!important;
}
.settlement-flow-atom{display:block!important;white-space:nowrap!important;line-height:15px!important}

/* KevPayment flow is now exactly four business fields; no 기타입금액 slot. */
.settlement-kev-flow-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.settlement-kev-flow-grid>label:nth-child(1){grid-column:1!important}
.settlement-kev-flow-grid>label:nth-child(2){grid-column:2!important}
.settlement-kev-flow-grid>label:nth-child(3){grid-column:3!important}
.settlement-kev-flow-grid>label:nth-child(4){grid-column:4!important}
.settlement-kev-card .settlement-card-head,
.settlement-meta-legacy-card .settlement-card-head,
.settlement-payment-grid-v299>.settlement-card:nth-child(2) .settlement-card-head{min-height:54px!important;height:54px!important}
.settlement-kev-card .settlement-field-grid label>span,
.settlement-meta-legacy-card .settlement-field-grid label>span,
.settlement-payment-grid-v299>.settlement-card:nth-child(2)>.settlement-field-grid label>span{font-size:12px!important;line-height:18px!important;height:18px!important}
.settlement-kev-card .settlement-field-grid input,
.settlement-meta-legacy-card .settlement-field-grid input,
.settlement-payment-grid-v299>.settlement-card:nth-child(2)>.settlement-field-grid input{font-size:15px!important}

/* Capture page: larger section/card/table typography while keeping two-page density. */
.capture-report-header span{font-size:11.5px!important;letter-spacing:.08em!important}
.capture-report-header h1{font-size:28px!important;line-height:1.1!important}
.capture-rate-stack b{font-size:11px!important}
.capture-summary-strip article{
  height:118px!important;min-height:118px!important;padding:10px 12px!important;
  grid-template-rows:32px 30px minmax(42px,auto)!important;overflow:hidden!important;
}
.capture-summary-strip article>span{height:32px!important;font-size:12.5px!important;line-height:15px!important;font-weight:900!important}
.capture-summary-strip article>strong{height:30px!important;line-height:30px!important;font-size:18px!important;font-weight:950!important;overflow:visible!important;white-space:nowrap!important}
.capture-summary-strip article>small{
  min-height:42px!important;height:auto!important;padding-top:3px!important;font-size:11px!important;line-height:15px!important;
  font-weight:800!important;color:#577994!important;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
  gap:0!important;overflow:visible!important;white-space:normal!important;
}
.capture-helper-atom{display:block!important;white-space:nowrap!important;line-height:15px!important}
.capture-card h2{font-size:18px!important;line-height:1.2!important;margin-bottom:7px!important}
.capture-card h2>span{font-size:11px!important}
.capture-card h2 small,.capture-card h2 em{font-size:11px!important}
.capture-kv-meta-legacy>span,.capture-kv-stic>span,.capture-kv-kev>span{font-size:12px!important;line-height:1.25!important}
.capture-kv-meta-legacy>span b,.capture-kv-stic>span b,.capture-kv-kev>span b{font-size:16.5px!important;line-height:23px!important}
.capture-kv-kev{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.capture-kv-kev>span:nth-child(1){grid-column:1!important;grid-row:1!important}
.capture-kv-kev>span:nth-child(2){grid-column:2!important;grid-row:1!important}
.capture-kv-kev>span:nth-child(3){grid-column:3!important;grid-row:1!important}
.capture-kv-kev>span:nth-child(4){grid-column:4!important;grid-row:1!important}
.capture-kv-kev>span:nth-child(5){grid-column:1!important;grid-row:2!important}
.capture-kv-kev>span:nth-child(6){grid-column:2!important;grid-row:2!important}
.capture-kv-kev>span:nth-child(7){grid-column:3!important;grid-row:2!important}
.capture-kv-kev>span:nth-child(8){grid-column:4!important;grid-row:2!important}
.capture-card th,.capture-card td{font-size:13.5px!important;line-height:1.28!important;padding:5px 7px!important}
.capture-history-guide p{font-size:12.5px!important;line-height:1.45!important}
.capture-section-total{font-size:11.5px!important}
.capture-card footer,.settlement-capture-board footer{font-size:10.5px!important}

@media(max-width:1600px){
  .settlement-summary-grid{grid-template-columns:repeat(5,minmax(160px,1fr))!important}
}
@media(max-width:1100px){
  .settlement-kev-flow-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .settlement-kev-flow-grid>label{grid-column:auto!important}
}
@media(max-width:680px){
  .settlement-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .settlement-kev-flow-grid{grid-template-columns:1fr!important}
}


/* V4.2.302 - MetaXc / KevPayment / SticPay exact 4x2 payment-card field geometry. */
.settlement-payment-grid8-v302{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  column-gap:10px!important;
  row-gap:10px!important;
  width:100%!important;
  align-items:start!important;
}
.settlement-meta-editor-layout{gap:10px!important}
.settlement-payment-grid8-v302>label{
  min-width:0!important;
  min-height:68px!important;
  height:68px!important;
  display:grid!important;
  grid-template-rows:18px 40px!important;
  gap:6px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  align-content:start!important;
  box-sizing:border-box!important;
}
.settlement-payment-grid8-v302>label>span{
  min-width:0!important;
  height:18px!important;
  min-height:18px!important;
  line-height:18px!important;
  margin:0!important;
  font-size:11px!important;
  font-weight:800!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  color:#657a91!important;
}
.settlement-payment-grid8-v302>label>span small{
  display:inline!important;
  margin-left:3px!important;
  font-size:8px!important;
  line-height:1!important;
  white-space:nowrap!important;
  vertical-align:baseline!important;
}
.settlement-payment-grid8-v302 input{
  width:100%!important;
  min-width:0!important;
  height:40px!important;
  min-height:40px!important;
  line-height:40px!important;
  margin:0!important;
  padding:0 11px!important;
  font-size:15px!important;
  font-weight:850!important;
  font-variant-numeric:tabular-nums!important;
  box-sizing:border-box!important;
}
.settlement-payment-grid8-v302 .settlement-value-with-sum{
  min-width:0!important;
  height:40px!important;
  grid-template-columns:minmax(0,1fr) 38px!important;
  gap:6px!important;
  align-items:stretch!important;
}
.settlement-payment-grid8-v302 .settlement-sum-button{
  width:38px!important;
  min-width:38px!important;
  height:40px!important;
  min-height:40px!important;
  padding:0!important;
}
/* Keep the Kev today-balance AUTO button in the same control row; never drop it onto the next label. */
.settlement-payment-grid8-v302 .settlement-kev-today-actions-v302{
  grid-template-columns:minmax(0,1fr) 36px 42px!important;
  gap:4px!important;
  height:40px!important;
}
.settlement-payment-grid8-v302 .settlement-kev-today-actions-v302 .settlement-sum-button{
  width:36px!important;min-width:36px!important;height:40px!important;min-height:40px!important;
}
.settlement-payment-grid8-v302 .settlement-kev-today-actions-v302 .settlement-meta-today-auto{
  grid-column:auto!important;
  width:42px!important;min-width:42px!important;height:40px!important;min-height:40px!important;
  margin:0!important;padding:0 3px!important;font-size:9px!important;
}
/* Reserve and available are auto-derived by default but can be manually overridden and restored. */
.settlement-kev-manual-derived-v302 input{background:#eef7ff!important;border-color:#bcd8ef!important;color:#145f99!important}
.settlement-kev-value-auto-v302{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 42px!important;
  gap:6px!important;
  min-width:0!important;
  height:40px!important;
}
.settlement-kev-auto-v302{
  width:42px!important;min-width:42px!important;height:40px!important;min-height:40px!important;
  padding:0 3px!important;margin:0!important;font-size:9px!important;font-weight:900!important;
}
/* Align the first two payment cards and the lower Kev card to the same 8-cell geometry. */
.settlement-meta-legacy-card .settlement-card-head,
.settlement-stic-card-v302 .settlement-card-head,
.settlement-kev-card .settlement-card-head{min-height:54px!important;height:54px!important}
.settlement-meta-legacy-card .settlement-stic-history-status,
.settlement-stic-card-v302 .settlement-stic-history-status,
.settlement-kev-card .settlement-stic-history-status{margin-top:10px!important}
@media(max-width:1180px){
  .settlement-payment-grid8-v302{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:680px){
  .settlement-payment-grid8-v302{grid-template-columns:1fr!important}
}


/* V4.2.303 - KevPayment reserve lot ledger. AUTO buttons removed; reserve Sigma owns dated manual lots. */
.settlement-kev-reserve-v303 input[readonly]{background:#eef7ff!important;border-color:#bcd8ef!important;color:#145f99!important;cursor:default!important}
.settlement-payment-grid8-v302 .settlement-kev-reserve-v303 .settlement-value-with-sum{grid-template-columns:minmax(0,1fr) 38px!important}
.settlement-reserve-lot-v303{display:grid;grid-template-columns:1.05fr 1.2fr 1.1fr 1.05fr 38px;gap:8px;align-items:end;padding:10px;border:1px solid #dce7f0;border-radius:12px;background:#f8fbfe;margin-bottom:8px}
.settlement-reserve-lot-v303 label{display:grid;gap:5px;min-width:0}.settlement-reserve-lot-v303 small,.settlement-reserve-release-v303 small{font-size:10px;font-weight:900;color:#6d8297;line-height:1.2}.settlement-reserve-lot-v303 input{width:100%;height:38px;box-sizing:border-box;border:1px solid #ccd9e5;border-radius:9px;padding:0 9px;font-size:13px;font-weight:850;font-variant-numeric:tabular-nums;background:#fff;color:#173450}.settlement-reserve-lot-v303.readonly input{background:#edf4f9;color:#4f6a82}.settlement-reserve-release-v303{display:grid;gap:5px;min-width:0}.settlement-reserve-release-v303 strong{height:38px;display:flex;align-items:center;padding:0 9px;border:1px solid #ccd9e5;border-radius:9px;background:#edf4f9;font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}.settlement-reserve-delete-v303{width:38px;height:38px;border:1px solid #e0c8c8;border-radius:9px;background:#fff7f7;color:#9d4545;font-size:18px;font-weight:900}.settlement-reserve-source-v303{height:38px;display:flex;align-items:center;justify-content:center;border:1px solid #c8d9e8;border-radius:9px;background:#eef7ff;color:#27628f;font-size:10px;font-weight:950}.settlement-sum-card:has(.settlement-reserve-lot-v303){width:min(960px,calc(100vw - 32px))!important;max-width:960px!important}.settlement-sum-card:has(.settlement-reserve-lot-v303) .settlement-sum-rows{max-height:min(56vh,560px);overflow:auto;padding-right:3px}
@media(max-width:800px){.settlement-reserve-lot-v303{grid-template-columns:1fr 1fr}.settlement-reserve-delete-v303,.settlement-reserve-source-v303{width:100%}}

/* V4.2.305 - no Referral visual cutover; Account/Balance department restructuring is backend/runtime only. */

/* V4.2.320 base — card-by-card period totals + daily breakdowns. Preserved for V4.2.321. */
body.settlement-period-open{overflow:hidden}
.settlement-period-button{background:#f1f7fc;border-color:#bdd6e8;color:#1e5f8a}
.settlement-period-button:hover:not(:disabled){background:#e6f3fc;border-color:#91c1df}
.settlement-period-backdrop{z-index:1160;padding:12px;background:rgba(11,27,42,.72);backdrop-filter:blur(4px)}
.settlement-period-shell{width:min(1760px,calc(100vw - 24px));height:calc(100vh - 24px);min-width:0;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden;border:1px solid #cfdce7;border-radius:18px;background:#f4f7fa;box-shadow:0 28px 80px rgba(8,25,40,.28)}
.settlement-period-controls{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:16px 18px;border-bottom:1px solid #dce6ee;background:#fff}
.settlement-period-heading{min-width:260px}.settlement-period-heading .section-kicker{margin:0 0 4px;color:#4680a8;font-size:9px;font-weight:950;letter-spacing:.08em}.settlement-period-heading h2{margin:0;color:#173e5e;font-size:20px}.settlement-period-heading p{margin:5px 0 0;color:#71879a;font-size:11px;line-height:1.4}
.settlement-period-range{display:flex;align-items:flex-end;justify-content:flex-end;gap:8px;flex-wrap:wrap}.settlement-period-range label{display:grid;gap:4px}.settlement-period-range label>span{color:#62798f;font-size:9.5px;font-weight:900}.settlement-period-range input{height:36px;min-width:142px;padding:0 10px;border:1px solid #cbd9e5;border-radius:9px;background:#f9fbfd;color:#173d5d;font-size:11px;font-weight:850}.settlement-period-range-separator{padding:0 1px 10px;color:#7f94a6;font-weight:950}.settlement-period-range .primary-button,.settlement-period-range .secondary-button{min-height:36px;padding:7px 11px}
.settlement-period-status{min-height:35px;padding:10px 18px;border-bottom:1px solid #dce5ed;background:#f8fbfd;color:#60788d;font-size:11px;font-weight:850}.settlement-period-status[data-state="ready"]{color:#25704d;background:#f4fbf7}.settlement-period-status[data-state="warning"]{color:#87631c;background:#fffbf2}.settlement-period-status[data-state="loading"]{color:#2b658e;background:#f4f9fd}.settlement-period-status[data-state="error"]{color:#a63d45;background:#fff5f5}
.settlement-period-content{min-height:0;overflow:auto;padding:12px 14px 20px;display:grid;gap:10px}
.settlement-period-empty{min-height:180px;display:grid;place-items:center;align-content:center;gap:5px;border:1px dashed #cbd9e5;border-radius:14px;background:#fff;color:#6e8294;text-align:center}.settlement-period-empty strong{color:#244a68;font-size:16px}.settlement-period-empty span{font-size:11px}.settlement-period-empty.error{border-color:#efcaca;background:#fff8f8}.settlement-period-empty.error strong{color:#a23c45}
.settlement-period-coverage{display:flex;align-items:center;gap:12px;padding:9px 12px;border:1px solid #cee1d6;border-radius:11px;background:#f5fbf7;color:#3f7156}.settlement-period-coverage strong{font-size:11px;white-space:nowrap}.settlement-period-coverage span{font-size:10.5px;line-height:1.4}.settlement-period-coverage.warning{border-color:#ead9ad;background:#fffbf1;color:#806424}
.settlement-period-metrics{display:grid;grid-template-columns:repeat(8,minmax(120px,1fr));gap:7px}.settlement-period-metric{min-width:0;padding:10px 11px;border:1px solid #d6e2eb;border-radius:11px;background:#fff}.settlement-period-metric>span{display:block;color:#72879a;font-size:9px;font-weight:900}.settlement-period-metric>strong{display:block;margin-top:4px;color:#173f5e;font-size:15px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settlement-period-metric>small{display:block;margin-top:3px;color:#6f899d;font-size:9px;line-height:1.3}.settlement-period-metric.ready{border-color:#cce3d6;background:#f9fdfa}.settlement-period-metric.warning{border-color:#eadcb5;background:#fffdf7}.settlement-period-metric.profit{border-color:#cce2d3;background:#f7fcf8}.settlement-period-metric.loss{border-color:#efd3d3;background:#fff9f9}.settlement-period-metric.loss>strong{color:#a2454d}
.settlement-period-payment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.settlement-period-payment-card{min-width:0;padding:11px 12px;border:1px solid #d4e0e9;border-radius:13px;background:#fff}.settlement-period-payment-card h3{display:flex;align-items:center;gap:7px;margin:0 0 8px;color:#1d4665;font-size:13px}.settlement-period-payment-card h3>span{display:grid;place-items:center;min-width:29px;height:25px;padding:0 4px;border-radius:7px;background:#e7f2fa;color:#1d6798;font-size:8.5px}.settlement-period-payment-card h3>small{margin-left:auto;color:#8496a6;font-size:9px}.settlement-period-kv{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.settlement-period-kv>div{min-width:0;padding:7px 8px;border:1px solid #e2e9ef;border-radius:8px;background:#f9fbfc}.settlement-period-kv span{display:block;color:#708497;font-size:8.5px;font-weight:850}.settlement-period-kv strong{display:block;margin-top:3px;color:#1d405d;font-size:12px;line-height:1.2;overflow-wrap:anywhere}.settlement-period-kv small{display:block;margin-top:2px;color:#86a0b2;font-size:7.5px;line-height:1.25}
.settlement-period-legacy-note{display:flex;align-items:center;gap:12px;padding:9px 12px;border:1px solid #e4d3aa;border-radius:10px;background:#fffaf0;color:#795f25}.settlement-period-legacy-note strong{font-size:10.5px;white-space:nowrap}.settlement-period-legacy-note span{font-size:10px;line-height:1.35}
.settlement-period-panel{min-width:0;border:1px solid #d4e0e9;border-radius:13px;background:#fff;overflow:hidden}.settlement-period-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border-bottom:1px solid #e1e8ee;background:#f7fafc}.settlement-period-panel-head>div{display:flex;align-items:center;gap:7px}.settlement-period-panel-head span{display:grid;place-items:center;min-width:31px;height:23px;padding:0 4px;border-radius:6px;background:#e6f2fa;color:#1e6798;font-size:8px;font-weight:950}.settlement-period-panel-head h3{margin:0;color:#244c6b;font-size:12px}.settlement-period-panel-head small{color:#7c92a4;font-size:8.5px;font-weight:800}.settlement-period-table-wrap{overflow:auto}.settlement-period-table{width:100%;min-width:980px;border-collapse:collapse;table-layout:fixed}.settlement-period-table th,.settlement-period-table td{padding:7px 8px;border-bottom:1px solid #e6edf2;text-align:right;color:#35536b;font-size:9.5px;line-height:1.25;vertical-align:middle}.settlement-period-table th{background:#f5f8fa;color:#718699;font-weight:950}.settlement-period-table th:first-child,.settlement-period-table td:first-child{text-align:left;font-weight:900;color:#294c67}.settlement-period-table td small{display:block;margin-top:2px;color:#8399aa;font-size:7.5px}.settlement-period-table.crypto th:nth-child(1){width:9%}.settlement-period-table.crypto th:nth-child(2),.settlement-period-table.crypto th:nth-child(5){width:9%}.settlement-period-table.crypto th:nth-child(3),.settlement-period-table.crypto th:nth-child(6),.settlement-period-table.crypto th:nth-child(8){width:12%}.settlement-period-table.crypto th:nth-child(4),.settlement-period-table.crypto th:nth-child(7),.settlement-period-table.crypto th:nth-child(9){width:12%}.settlement-period-table.pl{min-width:720px}.settlement-period-table.pl th:nth-child(1){width:38%}.settlement-period-table.pl th:nth-child(2),.settlement-period-table.pl th:nth-child(3){width:24%}.settlement-period-table.daily{min-width:1100px}.settlement-period-table.daily th:first-child{width:13%}.settlement-period-empty-cell{text-align:center!important;color:#7d91a1!important;font-weight:700!important;padding:18px!important}
.settlement-period-capture-board{width:1600px!important;min-height:900px!important;gap:10px!important;padding:18px 20px 14px!important}.settlement-period-capture-header h1{font-size:26px!important}.settlement-period-capture-summary{grid-template-columns:repeat(8,minmax(0,1fr))!important}.settlement-period-capture-summary article{min-width:0}.settlement-period-capture-summary strong{font-size:15px!important}.settlement-period-capture-summary small{font-size:9px!important;min-height:0!important}.settlement-period-capture-payments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.settlement-period-capture-payment .capture-kv{grid-template-columns:repeat(4,minmax(0,1fr))}.settlement-period-capture-payment .capture-kv>span{font-size:9.5px!important}.settlement-period-capture-payment .capture-kv>span b{font-size:12.5px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.settlement-period-capture-payment .capture-kv>span small{display:block;margin-top:2px;color:#8199aa;font-size:8px}.settlement-period-capture-crypto table{table-layout:fixed}.settlement-period-capture-crypto th,.settlement-period-capture-crypto td{font-size:10px!important;padding:4px 5px!important}.settlement-period-capture-crypto th:nth-child(1){width:9%}.settlement-period-capture-crypto th:nth-child(2),.settlement-period-capture-crypto th:nth-child(5){width:9%}.settlement-period-capture-crypto th:nth-child(3),.settlement-period-capture-crypto th:nth-child(6),.settlement-period-capture-crypto th:nth-child(8){width:13%}.settlement-period-capture-crypto th:nth-child(4),.settlement-period-capture-crypto th:nth-child(7),.settlement-period-capture-crypto th:nth-child(9){width:11%}.settlement-period-capture-pl th,.settlement-period-capture-pl td{font-size:10.5px!important;padding:4px 6px!important}.settlement-period-capture-pl td small{display:block;color:#718ba0;font-size:8.5px}.settlement-period-capture-warning{display:flex;align-items:center;gap:10px;padding:7px 9px;border:1px solid #d9e2e9;border-radius:9px;background:#fff;color:#5f7689;font-size:9px;line-height:1.3}.settlement-period-capture-warning strong{color:#345772;white-space:nowrap}
@media(max-width:1400px){.settlement-period-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.settlement-period-payment-grid{grid-template-columns:1fr}.settlement-period-kv{grid-template-columns:repeat(8,minmax(0,1fr))}.settlement-period-controls{align-items:stretch;flex-direction:column}.settlement-period-range{justify-content:flex-start}}
@media(max-width:850px){.settlement-period-backdrop{padding:5px}.settlement-period-shell{width:calc(100vw - 10px);height:calc(100vh - 10px)}.settlement-period-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.settlement-period-kv{grid-template-columns:repeat(2,minmax(0,1fr))}.settlement-period-range label{flex:1}.settlement-period-range input{width:100%;min-width:0}.settlement-period-panel-head{align-items:flex-start;flex-direction:column}.settlement-period-coverage,.settlement-period-legacy-note{align-items:flex-start;flex-direction:column;gap:4px}}


/* V4.2.320 period card daily breakdown */
.settlement-period-payment-stack{display:grid;gap:10px}.settlement-period-payment-section{min-width:0;border:1px solid #d4e0e9;border-radius:13px;background:#fff;overflow:hidden}.settlement-period-payment-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid #e1e8ee;background:#f7fafc}.settlement-period-payment-title>div{display:flex;align-items:center;gap:8px}.settlement-period-payment-title>div>span{display:grid;place-items:center;min-width:31px;height:24px;padding:0 5px;border-radius:7px;background:#e6f2fa;color:#1e6798;font-size:8.5px;font-weight:950}.settlement-period-payment-title h3{margin:0;color:#244c6b;font-size:13px}.settlement-period-payment-title>small{color:#7c92a4;font-size:8.5px;font-weight:850}.settlement-period-payment-section .settlement-period-kv{padding:9px 10px;grid-template-columns:repeat(10,minmax(0,1fr))}.settlement-period-subhead{display:flex;align-items:center;gap:12px;padding:8px 11px;border-top:1px solid #e1e8ee;border-bottom:1px solid #e1e8ee;background:#fbfcfd}.settlement-period-subhead strong{color:#2b536f;font-size:10px}.settlement-period-subhead span{color:#8295a5;font-size:8.5px}.settlement-period-table.payment-daily{min-width:900px}.settlement-period-table.payment-daily th:first-child{width:13%}.settlement-period-missing-row td{background:#fff8ef!important;color:#8b6b2b!important;text-align:left!important}.settlement-period-crypto-stack{display:grid;gap:8px;padding:9px}.settlement-period-crypto-asset{border:1px solid #e0e8ee;border-radius:10px;overflow:hidden;background:#fff}.settlement-period-crypto-summary{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;padding:8px}.settlement-period-crypto-summary>div{padding:7px 8px;border:1px solid #e4ebf0;border-radius:8px;background:#f9fbfc}.settlement-period-crypto-summary span{display:block;color:#788c9c;font-size:8px;font-weight:850}.settlement-period-crypto-summary strong{display:block;margin-top:3px;color:#234963;font-size:11px;overflow-wrap:anywhere}.settlement-period-table.crypto-daily{min-width:920px}.settlement-period-table.pl-daily{min-width:980px}.settlement-period-profit-cell{color:#2f714f!important;font-weight:900}.settlement-period-loss-cell{color:#a2454d!important;font-weight:900}.settlement-period-capture-payments-v320{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.settlement-period-capture-payment-v320 .capture-kv{grid-template-columns:repeat(3,minmax(0,1fr))}.capture-period-daily-table{width:100%;border-collapse:collapse;table-layout:fixed;margin-top:6px}.capture-period-daily-table th,.capture-period-daily-table td{padding:3px 4px;border-top:1px solid #e2e9ef;font-size:7.5px;text-align:right}.capture-period-daily-table th:first-child,.capture-period-daily-table td:first-child{text-align:left}.capture-period-daily-table td small{display:none}.capture-period-subtitle{margin:7px 0 4px!important;color:#345772;font-size:9px!important}.settlement-period-capture-board{width:1800px!important;min-height:980px!important}.settlement-period-capture-pl table+ .capture-period-subtitle{margin-top:8px!important}
@media(max-width:1400px){.settlement-period-payment-section .settlement-period-kv{grid-template-columns:repeat(5,minmax(0,1fr))}.settlement-period-crypto-summary{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:850px){.settlement-period-payment-section .settlement-period-kv{grid-template-columns:repeat(2,minmax(0,1fr))}.settlement-period-crypto-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.settlement-period-payment-title,.settlement-period-subhead{align-items:flex-start;flex-direction:column;gap:4px}}

/* V4.2.321 — executive period settlement trends, deltas and capture hardening. */
.settlement-period-exec-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.settlement-period-exec-metric{min-width:0;padding:10px 11px;border:1px solid #d8e3eb;border-radius:11px;background:#fff;box-shadow:0 2px 8px rgba(23,64,91,.035)}
.settlement-period-exec-metric>span{display:block;color:#7890a3;font-size:8.5px;font-weight:900}
.settlement-period-exec-metric>strong{display:block;margin-top:5px;color:#173f5d;font-size:16px;line-height:1.15;overflow-wrap:anywhere}
.settlement-period-exec-metric>small{display:block;margin-top:3px;color:#7e96a8;font-size:8px;line-height:1.25}
.settlement-period-exec-metric.profit{border-color:#ead5d8;background:#fffafb}.settlement-period-exec-metric.loss{border-color:#d6e3f3;background:#f8fbff}.settlement-period-exec-metric.warning{border-color:#ead9b1;background:#fffaf1}.settlement-period-exec-metric.ready{border-color:#cfe3d9;background:#f8fcfa}
.settlement-period-delta{display:inline-flex;align-items:center;justify-content:center;min-height:18px;margin-top:4px;padding:2px 6px;border-radius:999px;font-size:7.5px;font-weight:950;line-height:1;white-space:nowrap;vertical-align:middle}
.settlement-period-delta.up{color:#c83b45;background:#fff0f2;border:1px solid #f0c9ce}.settlement-period-delta.down{color:#2e67ba;background:#eef5ff;border:1px solid #cbdcf4}.settlement-period-delta.flat{color:#687c8e;background:#f1f5f7;border:1px solid #dde5ea}.settlement-period-delta.na{color:#8a99a6;background:#f6f8f9;border:1px solid #e5eaed}
.period-delta-cell>strong{display:block;color:inherit;font-size:9.5px}.period-delta-cell .settlement-period-delta{margin-top:3px}
.settlement-period-title-trends{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.settlement-period-title-trends small{display:flex;align-items:center;gap:5px;color:#70879a;font-size:8px;font-weight:850}.settlement-period-title-trends .settlement-period-delta{margin-top:0}
.settlement-period-exec-charts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.settlement-period-chart{min-width:0;padding:10px 11px 7px;border:1px solid #d7e2ea;border-radius:12px;background:linear-gradient(180deg,#fff,#fbfdff);overflow:hidden}
.period-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:3px}.period-chart-head>div:first-child span{display:block;color:#8398a9;font-size:7.5px;font-weight:900}.period-chart-head>div:first-child strong{display:block;margin-top:2px;color:#244d69;font-size:11px}.period-chart-head>div:last-child{text-align:right}.period-chart-head>div:last-child>b{display:block;color:#173f5d;font-size:11px}.period-chart-head>div:last-child .settlement-period-delta{margin-top:2px}
.settlement-period-chart svg{display:block;width:100%;height:145px;overflow:visible}.settlement-period-chart svg text{fill:#8a9dab;font-size:9px;font-weight:750}.period-chart-zero{stroke:#d9e2e9;stroke-width:1;stroke-dasharray:4 4}.period-chart-line{fill:none;stroke:#2d5f83;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.period-chart-point{stroke:#fff;stroke-width:2}.period-chart-point.up{fill:#d9444f}.period-chart-point.down{fill:#3472c8}.period-chart-point.flat{fill:#758b9d}.period-chart-empty{display:grid;place-items:center;height:145px;color:#8a9cab;font-size:9px}
.period-exec-daily .settlement-period-table{min-width:940px}.period-exec-daily .settlement-period-table th:first-child{width:12%}.period-pl-executive{border-color:#cbddea;box-shadow:0 3px 14px rgba(31,74,104,.05)}
.bitorage-period-card{border-color:#cbddea}.crypto-period-kv{grid-template-columns:repeat(6,minmax(0,1fr))!important}.settlement-period-table.bitorage-daily{min-width:900px}
.period-asset-detail{border:1px solid #e0e8ee;border-radius:10px;background:#fff;overflow:hidden}.period-asset-detail>summary{display:grid;grid-template-columns:120px repeat(3,minmax(0,1fr));gap:10px;align-items:center;padding:9px 11px;cursor:pointer;background:#f8fafc;color:#3b5d74;font-size:8.5px;list-style:none}.period-asset-detail>summary::-webkit-details-marker{display:none}.period-asset-detail>summary strong{color:#1f4e70;font-size:11px}.period-asset-detail[open]>summary{border-bottom:1px solid #e1e8ee;background:#f4f9fc}.period-asset-detail .settlement-period-crypto-summary{grid-template-columns:repeat(6,minmax(0,1fr))}
.settlement-period-capture-backdrop-v321{z-index:1320!important;background:rgba(7,20,33,.88)!important}
.settlement-period-capture-board{width:1700px!important;min-height:940px!important;gap:8px!important;padding:16px 18px 12px!important}.executive-capture-summary{grid-template-columns:repeat(7,minmax(0,1fr))!important}.executive-capture-summary article{min-width:0}.executive-capture-summary strong{font-size:13px!important;white-space:normal!important}.executive-capture-summary small{font-size:7.5px!important;min-height:0!important}
.capture-period-chart-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.capture-period-chart{padding:7px 8px 4px}.capture-period-chart .period-chart-head>div:first-child strong{font-size:9px}.capture-period-chart .period-chart-head>div:last-child>b{font-size:9px}.capture-period-chart svg{height:105px}.capture-period-chart svg text{font-size:7px}.capture-period-chart .settlement-period-delta{font-size:6.5px;min-height:15px;padding:1px 4px}
.executive-capture-daily table{table-layout:fixed}.executive-capture-daily th,.executive-capture-daily td{padding:3px 5px!important;font-size:7.5px!important}.executive-capture-daily .settlement-period-delta{font-size:6px;min-height:14px;padding:1px 3px}.executive-capture-daily td strong{font-size:7.5px}.settlement-period-capture-pl th,.settlement-period-capture-pl td{font-size:8px!important;padding:3px 5px!important}
@media(max-width:1500px){.settlement-period-exec-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.settlement-period-exec-charts{grid-template-columns:1fr}.crypto-period-kv{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:850px){.settlement-period-exec-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.settlement-period-title-trends{justify-content:flex-start}.period-asset-detail>summary{grid-template-columns:1fr;gap:3px}.crypto-period-kv{grid-template-columns:repeat(2,minmax(0,1fr))!important}.period-asset-detail .settlement-period-crypto-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* V4.2.322 period settlement executive readability */
.settlement-period-exec-metrics.v322{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.settlement-period-exec-metric.v322{padding:14px 15px;min-height:112px}
.settlement-period-exec-metric.v322>span{font-size:10.5px}
.settlement-period-exec-metric.v322>strong{font-size:20px;margin-top:8px}
.settlement-period-exec-metric.v322>small{font-size:9.5px;margin-top:5px}
.settlement-period-exec-metric.v322 .settlement-period-delta{font-size:9px;min-height:22px;padding:3px 8px;margin-top:7px}
.settlement-period-exec-charts.v322{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.settlement-period-chart.v322{padding:14px 15px 12px;border-radius:14px;box-shadow:0 4px 14px rgba(23,64,91,.045)}
.period-chart-v322-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.period-chart-v322-title span{display:block;color:#8297a8;font-size:9px;font-weight:900}.period-chart-v322-title strong{display:block;margin-top:3px;color:#173f5d;font-size:15px}.period-chart-v322-title>b{color:#6f8799;font-size:9px}
.period-chart-legend-v322{display:flex;gap:12px;flex-wrap:wrap;margin:9px 0 2px}.period-chart-legend-item{display:flex;align-items:center;gap:6px;color:#60798c;font-size:9px;font-weight:800}.period-chart-legend-item i{width:9px;height:9px;border-radius:50%;display:inline-block}.period-chart-legend-item i.series-0{background:#245f8f}.period-chart-legend-item i.series-1{background:#d18a2e}.period-chart-legend-item b{color:#23465f;font-size:10px}.period-chart-legend-item .settlement-period-delta{margin-top:0;font-size:7.5px;min-height:18px}
.settlement-period-chart.v322 svg{height:250px;margin-top:2px}.period-chart-gridline{stroke:#e5ebf0;stroke-width:1}.period-chart-gridline.zero{stroke:#aebfcb;stroke-width:1.2;stroke-dasharray:4 4}.period-chart-axis-label,.period-chart-x-label{fill:#6f8496!important;font-size:10px!important;font-weight:800}.period-chart-line-v322{fill:none;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round}.period-chart-line-v322.series-0{stroke:#245f8f}.period-chart-line-v322.series-1{stroke:#d18a2e}.period-chart-point-v322{stroke:#fff;stroke-width:2}.period-chart-point-v322.series-0{fill:#245f8f}.period-chart-point-v322.series-1{fill:#d18a2e}.period-chart-value{font-size:8px!important;font-weight:900}.period-chart-value.series-0{fill:#245f8f!important}.period-chart-value.series-1{fill:#b56f19!important}
.period-chart-benchmark-v322{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:4px}.period-chart-benchmark-v322>div{display:flex;gap:8px;align-items:center;padding:6px 8px;border-radius:8px;background:#f5f8fa;color:#6b8294;font-size:8.5px}.period-chart-benchmark-v322 strong{color:#315872}.period-chart-benchmark-v322 span{white-space:nowrap}
.period-exec-daily.v322 .settlement-period-table th,.period-exec-daily.v322 .settlement-period-table td,.period-pl-executive.v322 .settlement-period-table th,.period-pl-executive.v322 .settlement-period-table td{font-size:10.5px;padding:8px 9px}.period-exec-daily.v322 .period-delta-cell>strong,.period-pl-executive.v322 .period-delta-cell>strong{font-size:11px}.period-exec-daily.v322 .settlement-period-delta,.period-pl-executive.v322 .settlement-period-delta{font-size:8.5px;min-height:20px;padding:2px 6px}.period-pl-executive.v322 .settlement-period-table.pl-daily.v322 td small{font-size:8.5px}.settlement-period-subhead.v322 strong{font-size:11.5px}.settlement-period-subhead.v322 span{font-size:9.5px}
.settlement-period-payment-section.v322 .settlement-period-kv{grid-template-columns:repeat(9,minmax(0,1fr))}.crypto-period-kv.v322{grid-template-columns:repeat(5,minmax(0,1fr))!important}

/* V4.2.322 paged executive capture */
.settlement-period-capture-backdrop-v322{z-index:1340!important;background:rgba(7,20,33,.9)!important}.settlement-period-capture-backdrop-v322 .settlement-capture-shell{width:min(1480px,calc(100vw - 28px));height:min(930px,calc(100vh - 28px))}.settlement-period-capture-backdrop-v322 .settlement-capture-controls{font-size:12px}.settlement-period-capture-backdrop-v322 .settlement-capture-pager{display:flex;align-items:center;gap:8px}.settlement-period-capture-backdrop-v322 .settlement-capture-pager b{min-width:52px;text-align:center;color:#345772;font-size:12px}
.settlement-period-capture-board{width:1360px!important;min-height:820px!important;padding:20px 22px 16px!important;gap:12px!important}.settlement-period-capture-header.v322 h1{font-size:28px!important}.settlement-period-capture-header.v322 p{margin:5px 0 0;color:#d5e7f4;font-size:11px}.settlement-period-capture-summary.v322{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px}.settlement-period-capture-summary.v322 article{min-height:78px;padding:11px 12px!important}.settlement-period-capture-summary.v322 span{font-size:10px!important}.settlement-period-capture-summary.v322 strong{font-size:17px!important}.settlement-period-capture-summary.v322 small{font-size:9px!important}
.capture-v322-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.capture-v322-chart{padding:10px 11px 8px!important}.capture-v322-chart .period-chart-v322-title strong{font-size:12px}.capture-v322-chart .period-chart-v322-title span,.capture-v322-chart .period-chart-v322-title>b{font-size:8px}.capture-v322-chart .period-chart-legend-v322{margin:5px 0 0;gap:8px}.capture-v322-chart .period-chart-legend-item{font-size:7.8px}.capture-v322-chart .period-chart-legend-item b{font-size:8px}.capture-v322-chart .settlement-period-delta{font-size:6.8px;min-height:16px;padding:1px 4px}.capture-v322-chart svg{height:185px!important}.capture-v322-chart .period-chart-axis-label,.capture-v322-chart .period-chart-x-label{font-size:8px!important}.capture-v322-chart .period-chart-value{font-size:6.8px!important}.capture-v322-chart .period-chart-benchmark-v322{display:none}
.capture-v322-pl-summary table,.capture-v322-pl-daily table,.capture-v322-two-tables table,.capture-v322-crypto-daily table,.capture-v322-assets table{width:100%;border-collapse:collapse;table-layout:fixed}.capture-v322-pl-summary th,.capture-v322-pl-summary td,.capture-v322-pl-daily th,.capture-v322-pl-daily td,.capture-v322-two-tables th,.capture-v322-two-tables td,.capture-v322-crypto-daily th,.capture-v322-crypto-daily td,.capture-v322-assets th,.capture-v322-assets td{padding:7px 8px;border-top:1px solid #e1e8ee;font-size:11px;text-align:right;vertical-align:middle}.capture-v322-pl-summary th:first-child,.capture-v322-pl-summary td:first-child,.capture-v322-pl-daily th:first-child,.capture-v322-pl-daily td:first-child,.capture-v322-two-tables th:first-child,.capture-v322-two-tables td:first-child,.capture-v322-crypto-daily th:first-child,.capture-v322-crypto-daily td:first-child,.capture-v322-assets th:first-child,.capture-v322-assets td:first-child{text-align:left}.capture-v322-pl-daily td strong,.capture-v322-two-tables td strong,.capture-v322-crypto-daily td strong{display:block;font-size:11.5px}.capture-v322-pl-daily td small{display:block;margin-top:2px;color:#71899b;font-size:8.5px}.capture-v322-pl-daily .settlement-period-delta,.capture-v322-two-tables .settlement-period-delta,.capture-v322-crypto-daily .settlement-period-delta{font-size:7.5px;min-height:18px;padding:2px 5px}.capture-v322-two-tables{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.capture-v322-two-tables .capture-card{min-width:0}.capture-v322-pg-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important}.capture-v322-pg-summary article{min-height:68px}.capture-v322-pg-summary strong{font-size:15px!important}.capture-v322-crypto-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}.capture-v322-assets th,.capture-v322-assets td{font-size:9.5px;padding:5px 6px}.capture-v322-legacy{padding:7px 10px;border:1px solid #dce5eb;border-radius:8px;background:#f7fafc;color:#61798b;font-size:9px}.settlement-period-capture-board footer{font-size:9px!important}
@media(max-width:1500px){.settlement-period-exec-metrics.v322{grid-template-columns:repeat(4,minmax(0,1fr))}.settlement-period-exec-charts.v322{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.settlement-period-exec-metrics.v322{grid-template-columns:repeat(2,minmax(0,1fr))}.settlement-period-exec-charts.v322{grid-template-columns:1fr}.settlement-period-chart.v322 svg{height:220px}.period-chart-benchmark-v322{grid-template-columns:1fr}}


/* V4.2.323 — period executive graph cleanup + readable reference tables */
.settlement-period-exec-metrics.v323{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.settlement-period-exec-charts.v323{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.settlement-period-chart.v323{padding:15px 16px 13px;border-radius:14px;background:#fff;border:1px solid #dce6ed;box-shadow:0 3px 12px rgba(23,64,91,.04);min-width:0}
.period-chart-v323-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.period-chart-v323-title span{display:block;color:#879aaa;font-size:9px;font-weight:900;letter-spacing:.02em}.period-chart-v323-title strong{display:block;margin-top:3px;color:#173f5d;font-size:16px}.period-chart-v323-title>b{color:#6f8799;font-size:9px;white-space:nowrap}
.period-chart-legend-v323{display:flex;gap:14px;flex-wrap:wrap;margin:10px 0 4px}.period-chart-legend-v323-item{display:flex;align-items:center;gap:6px;color:#60798c;font-size:9px;font-weight:800}.period-chart-legend-v323-item i,.period-chart-reference-row-v323 strong i{width:10px;height:10px;border-radius:2px;display:inline-block;flex:0 0 auto}.period-chart-legend-v323-item i.series-0,.period-chart-reference-row-v323 strong i.series-0{background:#276a9f}.period-chart-legend-v323-item i.series-1,.period-chart-reference-row-v323 strong i.series-1{background:#d58a2b}.period-chart-legend-v323-item b{color:#23465f;font-size:10px}.period-chart-legend-v323-item .settlement-period-delta{margin-top:0;font-size:7.5px;min-height:18px}
.settlement-period-chart.v323 svg{display:block;width:100%;height:270px;margin-top:2px;overflow:visible}.period-chart-gridline-v323{stroke:#e6edf2;stroke-width:1}.period-chart-zero-v323{stroke:#7d93a3;stroke-width:1.35;stroke-dasharray:5 4}.period-chart-axis-v323,.period-chart-x-v323{fill:#6f8496!important;font-size:10px!important;font-weight:800}.period-chart-bar-v323{opacity:.92}.period-chart-bar-v323.series-0{fill:#276a9f}.period-chart-bar-v323.series-1{fill:#d58a2b}.period-chart-bar-v323.positive{fill:#d55353}.period-chart-bar-v323.negative{fill:#377bb5}.period-chart-bar-v323:hover{opacity:1;filter:brightness(.95)}
.period-chart-reference-title-v323{margin-top:4px;padding-top:8px;border-top:1px solid #edf2f5;color:#7b8f9f;font-size:8.5px;font-weight:900}.period-chart-reference-v323{display:grid;gap:6px;margin-top:6px}.period-chart-reference-row-v323{display:grid;grid-template-columns:minmax(84px,.9fr) repeat(4,minmax(100px,1fr));gap:6px;align-items:stretch}.period-chart-reference-row-v323>strong,.period-chart-reference-row-v323>span{min-width:0;border-radius:8px;background:#f6f9fb;padding:7px 8px;color:#72889a;font-size:8px;font-weight:800}.period-chart-reference-row-v323>strong{display:flex;align-items:center;gap:6px;color:#315872;font-size:9px}.period-chart-reference-row-v323>span b{display:block;margin-top:3px;color:#274c66;font-size:9px;white-space:normal}.period-chart-reference-row-v323 .settlement-period-delta{margin-top:4px;font-size:7px;min-height:17px}
.period-exec-daily.v323 .settlement-period-table{font-size:11px}.period-exec-daily.v323 .settlement-period-table th{font-size:9.5px}
.capture-v323-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.capture-v323-chart{padding:12px 13px 10px!important}.capture-v323-chart .period-chart-v323-title strong{font-size:14px}.capture-v323-chart svg{height:230px!important}.capture-v323-chart .period-chart-reference-row-v323{grid-template-columns:minmax(72px,.8fr) repeat(4,minmax(78px,1fr));gap:4px}.capture-v323-chart .period-chart-reference-row-v323>strong,.capture-v323-chart .period-chart-reference-row-v323>span{padding:5px 6px;font-size:7px}.capture-v323-chart .period-chart-reference-row-v323>span b{font-size:7.5px}.capture-v323-chart .period-chart-reference-title-v323{font-size:7px}
@media(max-width:1500px){.settlement-period-exec-metrics.v323{grid-template-columns:repeat(4,minmax(0,1fr))}.settlement-period-exec-charts.v323{grid-template-columns:repeat(2,minmax(0,1fr))}.period-chart-reference-row-v323{grid-template-columns:minmax(76px,.8fr) repeat(4,minmax(82px,1fr))}}
@media(max-width:1050px){.settlement-period-exec-metrics.v323{grid-template-columns:repeat(2,minmax(0,1fr))}.settlement-period-exec-charts.v323{grid-template-columns:1fr}.period-chart-reference-row-v323{grid-template-columns:1fr 1fr}.period-chart-reference-row-v323>strong{grid-column:1/-1}.capture-v323-chart-grid{grid-template-columns:1fr}}


/* V4.2.325 — executive capture signals + graph readability */
.capture-v325-signal-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
.capture-v325-signal-strip article{min-height:78px!important;padding:11px 12px!important;background:linear-gradient(180deg,#fff,#f8fbfd)!important;border-color:#d6e2eb!important;overflow:visible!important}
.capture-v325-signal-strip article>span{height:auto!important;font-size:11px!important;line-height:1.2!important;color:#657f93!important}
.capture-v325-signal-strip article>strong{height:auto!important;line-height:1.2!important;margin-top:6px!important;font-size:18px!important;color:#143e5d!important;white-space:normal!important;overflow:visible!important}
.capture-v325-signal-strip article>small{height:auto!important;min-height:0!important;margin-top:5px!important;font-size:10px!important;line-height:1.22!important;letter-spacing:0!important;white-space:normal!important;overflow:visible!important;color:#748da0!important}
.capture-v323-chart{padding:14px 15px 12px!important}
.capture-v323-chart .period-chart-v323-title span{font-size:11px!important;line-height:1.2!important}
.capture-v323-chart .period-chart-v323-title strong{font-size:19px!important;line-height:1.2!important}
.capture-v323-chart .period-chart-v323-title>b{font-size:11px!important}
.capture-v323-chart .period-chart-legend-v323{gap:12px!important;margin:10px 0 6px!important}
.capture-v323-chart .period-chart-legend-v323-item{font-size:11px!important;gap:7px!important}
.capture-v323-chart .period-chart-legend-v323-item b{font-size:12px!important}
.capture-v323-chart .period-chart-legend-v323-item .settlement-period-delta{font-size:9.5px!important;min-height:20px!important;padding:2px 6px!important}
.capture-v323-chart svg{height:255px!important;margin-top:4px!important}
.capture-v323-chart .period-chart-axis-v323,.capture-v323-chart .period-chart-x-v323{font-size:12px!important;font-weight:850!important}
.capture-v323-chart .period-chart-reference-title-v323{font-size:10px!important;padding-top:9px!important;margin-top:6px!important}
.capture-v323-chart .period-chart-reference-v323{gap:7px!important;margin-top:7px!important}
.capture-v323-chart .period-chart-reference-row-v323{grid-template-columns:minmax(90px,.9fr) repeat(4,minmax(95px,1fr))!important;gap:6px!important}
.capture-v323-chart .period-chart-reference-row-v323>strong,.capture-v323-chart .period-chart-reference-row-v323>span{padding:7px 8px!important;font-size:9.5px!important;line-height:1.2!important}
.capture-v323-chart .period-chart-reference-row-v323>span b{font-size:10.5px!important;line-height:1.2!important}
.capture-v323-chart .period-chart-reference-row-v323 .settlement-period-delta{font-size:8.5px!important;min-height:18px!important}
.settlement-period-capture-header.v322 h1{font-size:30px!important;line-height:1.15!important}
.settlement-period-capture-header.v322 p{font-size:12px!important;line-height:1.3!important}
.settlement-period-capture-board footer{font-size:10px!important}
@media(max-width:1050px){.capture-v325-signal-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* V4.2.326 — executive transaction detail + unified trend readability */
.capture-v326-provider-block{display:grid;gap:7px;margin-bottom:9px}.capture-v326-provider-block>h2{margin:0;color:#183f5e;font-size:17px;line-height:1.2}
.capture-v326-provider-highlights{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}.capture-v326-provider-highlights article{min-height:76px!important;padding:10px 11px!important;overflow:visible!important}.capture-v326-provider-highlights article>span{font-size:11px!important;line-height:1.2!important}.capture-v326-provider-highlights article>strong{font-size:18px!important;line-height:1.18!important;white-space:normal!important;overflow:visible!important}.capture-v326-provider-highlights article>small{font-size:10px!important;line-height:1.18!important;white-space:normal!important;overflow:visible!important;min-height:0!important}
.capture-v326-transaction-card{padding:12px 14px!important}.capture-v326-transaction-card h2{font-size:19px!important}.capture-v326-transaction-card table{width:100%;border-collapse:collapse;table-layout:fixed}.capture-v326-transaction-card th,.capture-v326-transaction-card td{padding:7px 8px!important;border-top:1px solid #e1e8ee;font-size:12.5px!important;line-height:1.22!important;vertical-align:middle;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.capture-v326-transaction-card th{background:#f5f8fa;color:#6e8498;font-weight:950}.capture-v326-transaction-card th:first-child,.capture-v326-transaction-card td:first-child,.capture-v326-transaction-card th:nth-child(3),.capture-v326-transaction-card td:nth-child(3){text-align:left}.capture-v326-transaction-card td:nth-child(3){font-weight:850;color:#244a67}.capture-v326-truncated{margin-top:8px;padding:8px 10px;border:1px solid #ead6a9;border-radius:8px;background:#fffaf0;color:#7a6026;font-size:11px;font-weight:800}
.capture-v326-trend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}.capture-v326-trend-grid .capture-v323-chart{padding:13px 14px 11px!important}.capture-v326-trend-grid .period-chart-v323-title span{font-size:13px!important}.capture-v326-trend-grid .period-chart-v323-title strong{font-size:23px!important;line-height:1.15!important}.capture-v326-trend-grid .period-chart-v323-title>b{font-size:14px!important}.capture-v326-trend-grid .period-chart-legend-v323{gap:14px!important;margin:8px 0 4px!important}.capture-v326-trend-grid .period-chart-legend-v323-item{font-size:14px!important;gap:8px!important}.capture-v326-trend-grid .period-chart-legend-v323-item b{font-size:15px!important}.capture-v326-trend-grid .period-chart-legend-v323-item .settlement-period-delta{font-size:11px!important;min-height:21px!important}.capture-v326-trend-grid .capture-v323-chart svg{height:185px!important;margin-top:2px!important}.capture-v326-trend-grid .period-chart-axis-v323,.capture-v326-trend-grid .period-chart-x-v323{font-size:15px!important;font-weight:900!important}.capture-v326-trend-grid .period-chart-reference-title-v323{font-size:12px!important;padding-top:6px!important;margin-top:4px!important}.capture-v326-trend-grid .period-chart-reference-v323{gap:5px!important;margin-top:5px!important}.capture-v326-trend-grid .period-chart-reference-row-v323{grid-template-columns:minmax(86px,.8fr) repeat(4,minmax(90px,1fr))!important;gap:5px!important}.capture-v326-trend-grid .period-chart-reference-row-v323>strong,.capture-v326-trend-grid .period-chart-reference-row-v323>span{padding:6px 7px!important;font-size:11.5px!important;line-height:1.15!important}.capture-v326-trend-grid .period-chart-reference-row-v323>span b{font-size:12.5px!important;line-height:1.15!important}.capture-v326-trend-grid .period-chart-reference-row-v323 .settlement-period-delta{font-size:10px!important;min-height:18px!important}
/* Also increase the normal Period Settlement graph typography so it is readable before capture. */
.settlement-period-chart.v323 .period-chart-v323-title span{font-size:11px!important}.settlement-period-chart.v323 .period-chart-v323-title strong{font-size:19px!important}.settlement-period-chart.v323 .period-chart-v323-title>b{font-size:11px!important}.settlement-period-chart.v323 .period-chart-legend-v323-item{font-size:11px!important}.settlement-period-chart.v323 .period-chart-legend-v323-item b{font-size:12px!important}.settlement-period-chart.v323 .period-chart-axis-v323,.settlement-period-chart.v323 .period-chart-x-v323{font-size:12px!important}.settlement-period-chart.v323 .period-chart-reference-title-v323{font-size:10px!important}.settlement-period-chart.v323 .period-chart-reference-row-v323>strong,.settlement-period-chart.v323 .period-chart-reference-row-v323>span{font-size:9.5px!important}.settlement-period-chart.v323 .period-chart-reference-row-v323>span b{font-size:10.5px!important}
@media(max-width:1050px){.capture-v326-provider-highlights{grid-template-columns:repeat(2,minmax(0,1fr))!important}.capture-v326-trend-grid{grid-template-columns:1fr}}

/* V4.2.326 executive trend readability final pass: compensate for capture-board fit scaling. */
.capture-v326-trend-grid .period-chart-v323-title span{font-size:14px!important}
.capture-v326-trend-grid .period-chart-v323-title strong{font-size:26px!important;line-height:1.12!important}
.capture-v326-trend-grid .period-chart-v323-title>b{font-size:15px!important}
.capture-v326-trend-grid .period-chart-legend-v323-item{font-size:16px!important}
.capture-v326-trend-grid .period-chart-legend-v323-item b{font-size:17px!important}
.capture-v326-trend-grid .period-chart-legend-v323-item .settlement-period-delta{font-size:12px!important}
.capture-v326-trend-grid .period-chart-axis-v323,.capture-v326-trend-grid .period-chart-x-v323{font-size:17px!important;font-weight:950!important}
.capture-v326-trend-grid .period-chart-reference-title-v323{font-size:13px!important}
.capture-v326-trend-grid .period-chart-reference-row-v323>strong,.capture-v326-trend-grid .period-chart-reference-row-v323>span{font-size:12.5px!important}
.capture-v326-trend-grid .period-chart-reference-row-v323>span b{font-size:14px!important}


/* V4.2.327 — selected maximum-counterparty evidence + capture readability */
.settlement-period-capture-backdrop-v322 .settlement-capture-shell{width:min(1500px,calc(100vw - 18px))!important;height:min(960px,calc(100vh - 18px))!important}
.settlement-period-capture-board{width:1240px!important;min-height:780px!important;padding:20px 22px 18px!important;gap:14px!important}
.settlement-period-capture-header.v322{padding:15px 18px!important}
.settlement-period-capture-header.v322 span{font-size:14px!important}
.settlement-period-capture-header.v322 h1{font-size:34px!important;line-height:1.12!important;margin-top:5px!important}
.settlement-period-capture-header.v322 p:empty{display:none!important}
.settlement-period-capture-header.v322 p{font-size:15px!important;line-height:1.35!important;margin-top:6px!important}
.settlement-period-capture-header.v322 .capture-rate-stack b{font-size:13px!important;padding:8px 10px!important}
.settlement-period-capture-board footer{font-size:14px!important;line-height:1.35!important;padding:8px 2px 0!important}
.settlement-period-capture-board footer strong,.settlement-period-capture-board footer span{font-size:14px!important}
.capture-v327-provider-block{display:grid;gap:10px}.capture-v327-provider-block>h2{margin:0;color:#173f5f;font-size:25px;line-height:1.15}
.capture-v327-provider-highlights{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.capture-v327-provider-highlights article{min-height:92px!important;padding:13px 15px!important}
.capture-v327-provider-highlights article>span{font-size:14px!important;line-height:1.25!important}.capture-v327-provider-highlights article>strong{font-size:23px!important;line-height:1.15!important;white-space:normal!important}.capture-v327-provider-highlights article>small{font-size:13px!important;line-height:1.25!important;min-height:0!important}
.capture-v327-provider-evidence{display:grid;gap:8px}.capture-v327-evidence-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:2px 2px}.capture-v327-evidence-title strong{font-size:18px;color:#234c6b}.capture-v327-evidence-title span{font-size:13px;color:#758b9d;font-weight:800}
.capture-v327-party-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.capture-v327-party-card{min-width:0;border:1px solid #cfdee9;border-radius:13px;background:#fff;overflow:hidden}.capture-v327-party-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:12px 14px;background:#f5f9fc;border-bottom:1px solid #dce7ee}.capture-v327-party-head>span{font-size:14px;font-weight:950;color:#587188}.capture-v327-party-head>strong{font-size:22px;line-height:1.12;color:#173f5f;overflow-wrap:anywhere}.capture-v327-party-head>small{font-size:16px;font-weight:950;color:#123e61;white-space:nowrap}.capture-v327-party-card.empty .capture-v327-party-head{grid-template-columns:auto 1fr}.capture-v327-party-card table{width:100%;border-collapse:collapse;table-layout:fixed}.capture-v327-party-card th,.capture-v327-party-card td{padding:8px 10px;border-top:1px solid #e4ebf0;font-size:15px!important;line-height:1.28!important;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.capture-v327-party-card th{background:#fbfcfd;color:#71869a;font-weight:950}.capture-v327-party-card th:first-child,.capture-v327-party-card td:first-child{text-align:left}.capture-v327-party-note{padding:8px 10px;background:#fffaf0;color:#7a6026;font-size:13px;font-weight:800}
.capture-v327-daily-card{padding:13px 15px!important}.capture-v327-daily-card h2,.capture-v327-assets h2,.capture-v327-pl-summary h2,.capture-v327-pl-daily h2{font-size:21px!important}.capture-v327-daily-card h2 small,.capture-v327-pl-daily h2 small{font-size:13px!important}.capture-v327-daily-card th,.capture-v327-daily-card td,.capture-v327-assets th,.capture-v327-assets td,.capture-v327-pl-summary th,.capture-v327-pl-summary td,.capture-v327-pl-daily th,.capture-v327-pl-daily td{padding:8px 9px!important;font-size:15px!important;line-height:1.3!important}.capture-v327-daily-card td strong,.capture-v327-pl-daily td strong{font-size:16px!important}.capture-v327-daily-card .settlement-period-delta,.capture-v327-pl-daily .settlement-period-delta{font-size:11px!important;min-height:22px!important;padding:3px 6px!important}.capture-v327-pl-daily td small{font-size:12px!important}.capture-v327-assets{padding:12px 14px!important}
.capture-v327-trend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}.capture-v327-trend-grid .capture-v323-chart{padding:16px 17px 14px!important;border-radius:14px!important}.capture-v327-trend-grid .period-chart-v323-title span{font-size:17px!important}.capture-v327-trend-grid .period-chart-v323-title strong{font-size:30px!important;line-height:1.08!important}.capture-v327-trend-grid .period-chart-v323-title>b{font-size:18px!important}.capture-v327-trend-grid .period-chart-legend-v323{gap:17px!important;margin:10px 0 6px!important}.capture-v327-trend-grid .period-chart-legend-v323-item{font-size:18px!important;gap:9px!important}.capture-v327-trend-grid .period-chart-legend-v323-item b{font-size:20px!important}.capture-v327-trend-grid .period-chart-legend-v323-item .settlement-period-delta{font-size:14px!important;min-height:24px!important;padding:3px 7px!important}.capture-v327-trend-grid .capture-v323-chart svg{height:230px!important;margin-top:5px!important}.capture-v327-trend-grid .period-chart-axis-v323,.capture-v327-trend-grid .period-chart-x-v323{font-size:19px!important;font-weight:950!important}.capture-v327-trend-grid .period-chart-reference-title-v323{font-size:15px!important;padding-top:8px!important;margin-top:6px!important}.capture-v327-trend-grid .period-chart-reference-v323{gap:7px!important;margin-top:7px!important}.capture-v327-trend-grid .period-chart-reference-row-v323{grid-template-columns:minmax(92px,.75fr) repeat(4,minmax(90px,1fr))!important;gap:7px!important}.capture-v327-trend-grid .period-chart-reference-row-v323>strong,.capture-v327-trend-grid .period-chart-reference-row-v323>span{padding:8px 8px!important;font-size:14px!important;line-height:1.2!important}.capture-v327-trend-grid .period-chart-reference-row-v323>span b{font-size:16px!important;line-height:1.2!important}.capture-v327-trend-grid .period-chart-reference-row-v323 .settlement-period-delta{font-size:12px!important;min-height:20px!important}
.settlement-period-capture-backdrop-v322 .settlement-capture-controls{font-size:15px!important}.settlement-period-capture-backdrop-v322 .settlement-capture-controls strong{font-size:16px!important}.settlement-period-capture-backdrop-v322 .settlement-capture-controls span{font-size:14px!important}.settlement-period-capture-backdrop-v322 .settlement-capture-pager b{font-size:14px!important}
@media(max-width:1050px){.capture-v327-party-grid,.capture-v327-trend-grid{grid-template-columns:1fr}.capture-v327-provider-highlights{grid-template-columns:1fr!important}}


/* V4.2.328 — readability-first period executive capture. Width-only fit; no height-driven font shrink. */
.settlement-period-capture-backdrop-v322 .settlement-capture-shell{width:min(1480px,calc(100vw - 10px))!important;height:min(980px,calc(100vh - 10px))!important}
.settlement-period-capture-backdrop-v322 .settlement-capture-frame{overflow:auto!important;align-items:flex-start!important;justify-content:flex-start!important;padding:6px!important;box-sizing:border-box!important}
.settlement-period-capture-board{width:1120px!important;min-height:0!important;padding:22px 24px 24px!important;gap:16px!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR","Malgun Gothic",Arial,sans-serif!important;color:#173f5f!important}
.settlement-period-capture-board *{font-family:inherit!important}
.settlement-period-capture-board.capture-v328-trend-page{width:1080px!important}
.settlement-period-capture-header.v322{padding:17px 20px!important;border-radius:15px!important}.settlement-period-capture-header.v322 span{font-size:16px!important;letter-spacing:.02em!important}.settlement-period-capture-header.v322 h1{font-size:37px!important;line-height:1.1!important;margin-top:6px!important;font-weight:950!important;letter-spacing:-.02em!important}.settlement-period-capture-header.v322 p{font-size:17px!important;line-height:1.4!important;margin-top:8px!important;font-weight:750!important}.settlement-period-capture-header.v322 .capture-rate-stack b{font-size:15px!important;padding:9px 12px!important}
.capture-v328-provider-block{display:grid;gap:12px}.capture-v328-provider-block>h2{margin:0;color:#173f5f;font-size:30px!important;line-height:1.15;font-weight:950!important;letter-spacing:-.015em}
.capture-v328-provider-highlights{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:11px!important}.capture-v328-provider-highlights article{min-height:104px!important;padding:15px 16px!important;border-radius:13px!important}.capture-v328-provider-highlights article>span{font-size:16px!important;line-height:1.3!important;font-weight:900!important}.capture-v328-provider-highlights article>strong{font-size:27px!important;line-height:1.12!important;margin-top:7px!important;font-weight:950!important;white-space:normal!important}.capture-v328-provider-highlights article>small{font-size:14px!important;line-height:1.3!important;margin-top:5px!important;min-height:0!important;font-weight:750!important}
.capture-v327-evidence-title strong{font-size:21px!important}.capture-v327-evidence-title span{font-size:15px!important}.capture-v327-party-grid{gap:14px!important}.capture-v327-party-head{padding:14px 16px!important;gap:12px!important}.capture-v327-party-head>span{font-size:16px!important}.capture-v327-party-head>strong{font-size:25px!important;line-height:1.15!important}.capture-v327-party-head>small{font-size:19px!important}.capture-v327-party-card th,.capture-v327-party-card td{padding:10px 11px!important;font-size:17px!important;line-height:1.35!important}.capture-v327-party-card th{font-size:16px!important}.capture-v327-party-note{font-size:15px!important;padding:10px 12px!important}
.capture-v328-daily-card,.capture-v328-assets,.capture-v328-pl-summary,.capture-v328-pl-daily{padding:15px 17px!important;border-radius:14px!important}.capture-v328-daily-card h2,.capture-v328-assets h2,.capture-v328-pl-summary h2,.capture-v328-pl-daily h2{font-size:25px!important;line-height:1.2!important;margin-bottom:10px!important}.capture-v328-daily-card h2>span,.capture-v328-assets h2>span,.capture-v328-pl-summary h2>span,.capture-v328-pl-daily h2>span{font-size:13px!important;min-width:34px!important;height:30px!important}.capture-v328-daily-card h2 small,.capture-v328-pl-daily h2 small{font-size:15px!important}.capture-v328-daily-card th,.capture-v328-daily-card td,.capture-v328-assets th,.capture-v328-assets td,.capture-v328-pl-summary th,.capture-v328-pl-summary td,.capture-v328-pl-daily th,.capture-v328-pl-daily td{padding:10px 11px!important;font-size:17px!important;line-height:1.35!important}.capture-v328-daily-card td strong,.capture-v328-pl-daily td strong{font-size:18px!important}.capture-v328-daily-card td small,.capture-v328-pl-daily td small{font-size:14px!important}.capture-v328-daily-card .settlement-period-delta,.capture-v328-pl-daily .settlement-period-delta{font-size:13px!important;min-height:24px!important;padding:4px 7px!important}
.settlement-period-capture-board footer{font-size:16px!important;line-height:1.45!important;padding:11px 3px 2px!important;font-weight:750!important}.settlement-period-capture-board footer strong,.settlement-period-capture-board footer span{font-size:16px!important}
.settlement-period-capture-backdrop-v322 .settlement-capture-controls{font-size:17px!important;min-height:54px!important;padding:10px 14px!important}.settlement-period-capture-backdrop-v322 .settlement-capture-controls strong{font-size:19px!important}.settlement-period-capture-backdrop-v322 .settlement-capture-controls span{font-size:16px!important}.settlement-period-capture-backdrop-v322 .settlement-capture-pager b{font-size:16px!important}.settlement-period-capture-backdrop-v322 .settlement-capture-pager .secondary-button,.settlement-period-capture-backdrop-v322 .settlement-capture-controls>.secondary-button{font-size:15px!important;min-height:38px!important;padding:7px 12px!important}
.capture-v328-trend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}.capture-v328-trend-grid .capture-v323-chart{padding:18px 19px 16px!important;border-radius:15px!important}.capture-v328-trend-grid .period-chart-v323-title span{font-size:19px!important}.capture-v328-trend-grid .period-chart-v323-title strong{font-size:34px!important;line-height:1.08!important}.capture-v328-trend-grid .period-chart-v323-title>b{font-size:20px!important}.capture-v328-trend-grid .period-chart-legend-v323{gap:18px!important;margin:12px 0 8px!important}.capture-v328-trend-grid .period-chart-legend-v323-item{font-size:20px!important;gap:10px!important}.capture-v328-trend-grid .period-chart-legend-v323-item b{font-size:22px!important}.capture-v328-trend-grid .period-chart-legend-v323-item .settlement-period-delta{font-size:15px!important;min-height:26px!important;padding:4px 8px!important}.capture-v328-trend-grid .capture-v323-chart svg{height:265px!important;margin-top:7px!important}.capture-v328-trend-grid .period-chart-axis-v323,.capture-v328-trend-grid .period-chart-x-v323{font-size:22px!important;font-weight:950!important}.capture-v328-trend-grid .period-chart-reference-title-v323{font-size:17px!important;padding-top:9px!important;margin-top:8px!important}.capture-v328-trend-grid .period-chart-reference-v323{gap:8px!important;margin-top:8px!important}.capture-v328-trend-grid .period-chart-reference-row-v323{grid-template-columns:minmax(104px,.8fr) repeat(4,minmax(102px,1fr))!important;gap:8px!important}.capture-v328-trend-grid .period-chart-reference-row-v323>strong,.capture-v328-trend-grid .period-chart-reference-row-v323>span{padding:9px 9px!important;font-size:16px!important;line-height:1.25!important}.capture-v328-trend-grid .period-chart-reference-row-v323>span b{font-size:18px!important;line-height:1.25!important}.capture-v328-trend-grid .period-chart-reference-row-v323 .settlement-period-delta{font-size:13px!important;min-height:22px!important}
@media(max-width:980px){.capture-v328-provider-highlights{grid-template-columns:repeat(2,minmax(0,1fr))!important}.capture-v327-party-grid,.capture-v328-trend-grid{grid-template-columns:1fr!important}.settlement-period-capture-board{width:940px!important}.settlement-period-capture-board.capture-v328-trend-page{width:940px!important}}


/* V4.2.329 — full-viewport, fixed-page, no-scroll period executive capture. */
.settlement-period-capture-v329{padding:0!important;inset:0!important;background:rgba(6,17,29,.94)!important}
.settlement-period-capture-v329 .settlement-capture-shell{width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;gap:0!important;grid-template-rows:58px minmax(0,1fr)!important}
.settlement-period-capture-v329 .settlement-capture-controls{min-height:58px!important;height:58px!important;border-radius:0!important;border-left:0!important;border-right:0!important;border-top:0!important;padding:8px 18px!important;box-sizing:border-box!important;grid-template-columns:auto minmax(0,1fr) auto auto!important;gap:14px!important}
.settlement-period-capture-v329 .settlement-capture-controls strong{font-size:18px!important}.settlement-period-capture-v329 .settlement-capture-controls span{font-size:15px!important;text-overflow:clip!important}.settlement-period-capture-v329 .settlement-capture-pager b{font-size:16px!important}.settlement-period-capture-v329 .secondary-button{min-height:38px!important;font-size:15px!important;padding:7px 13px!important}
.settlement-period-capture-v329 .settlement-capture-frame{position:relative!important;width:100%!important;height:100%!important;overflow:hidden!important;border-radius:0!important;padding:0!important;background:#dce5ec!important;display:block!important}
.settlement-period-capture-v329 .settlement-period-capture-board{position:absolute!important;left:50%!important;top:50%!important;width:1820px!important;height:940px!important;min-height:940px!important;max-height:940px!important;overflow:hidden!important;padding:18px 20px 16px!important;gap:11px!important;box-sizing:border-box!important;background:#f5f8fb!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR","Malgun Gothic",Arial,sans-serif!important}
.settlement-period-capture-v329 .settlement-period-capture-board *{font-family:inherit!important;box-sizing:border-box}
.settlement-period-capture-v329 .settlement-period-capture-header.v322{padding:13px 18px!important;border-radius:13px!important;min-height:82px!important}.settlement-period-capture-v329 .settlement-period-capture-header.v322 span{font-size:13px!important}.settlement-period-capture-v329 .settlement-period-capture-header.v322 h1{font-size:31px!important;line-height:1.06!important;margin-top:3px!important;white-space:nowrap!important}.settlement-period-capture-v329 .settlement-period-capture-header.v322 p{font-size:14px!important;line-height:1.25!important;margin-top:5px!important}.settlement-period-capture-v329 .settlement-period-capture-header.v322 .capture-rate-stack b{font-size:13px!important;padding:7px 10px!important;white-space:nowrap!important}
.settlement-period-capture-v329 .capture-v329-provider-block{display:grid;gap:10px!important}.settlement-period-capture-v329 .capture-v329-provider-block>h2{margin:0!important;font-size:25px!important;line-height:1.05!important}
.settlement-period-capture-v329 .capture-v328-provider-highlights{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:8px!important}.settlement-period-capture-v329 .capture-v328-provider-highlights article{min-height:88px!important;height:88px!important;padding:10px 11px!important;border-radius:10px!important;overflow:visible!important}.settlement-period-capture-v329 .capture-v328-provider-highlights article>span{font-size:13px!important;line-height:1.15!important}.settlement-period-capture-v329 .capture-v328-provider-highlights article>strong{font-size:21px!important;line-height:1.08!important;margin-top:6px!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}.settlement-period-capture-v329 .capture-v328-provider-highlights article>small{font-size:11px!important;line-height:1.15!important;margin-top:4px!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
.settlement-period-capture-v329 .capture-v329-evidence-title{display:flex!important;justify-content:space-between!important;align-items:center!important;margin:0 2px 6px!important}.settlement-period-capture-v329 .capture-v329-evidence-title strong{font-size:18px!important}.settlement-period-capture-v329 .capture-v329-evidence-title span{font-size:12px!important}.settlement-period-capture-v329 .capture-v329-party-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.settlement-period-capture-v329 .capture-v329-party-card{border:1px solid #cfdee9!important;border-radius:10px!important;background:#fff!important;overflow:hidden!important}.settlement-period-capture-v329 .capture-v329-party-head{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;padding:9px 11px!important;background:#f5f9fc!important;border-bottom:1px solid #dce7ee!important}.settlement-period-capture-v329 .capture-v329-party-head>span{font-size:13px!important;font-weight:950!important;color:#587188!important}.settlement-period-capture-v329 .capture-v329-party-head>strong{font-size:23px!important;line-height:1.08!important;color:#173f5f!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}.settlement-period-capture-v329 .capture-v329-party-head>small{font-size:17px!important;font-weight:950!important;color:#123e61!important;white-space:nowrap!important}.settlement-period-capture-v329 .capture-v329-party-card table{width:100%!important;border-collapse:collapse!important;table-layout:fixed!important}.settlement-period-capture-v329 .capture-v329-party-card th,.settlement-period-capture-v329 .capture-v329-party-card td{padding:6px 9px!important;border-top:1px solid #e4ebf0!important;font-size:14px!important;line-height:1.18!important;text-align:right!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}.settlement-period-capture-v329 .capture-v329-party-card th{background:#fbfcfd!important;color:#71869a!important;font-weight:950!important}.settlement-period-capture-v329 .capture-v329-party-card th:first-child,.settlement-period-capture-v329 .capture-v329-party-card td:first-child{text-align:left!important}.settlement-period-capture-v329 .capture-v329-party-note{padding:5px 9px!important;font-size:11px!important;font-weight:850!important;background:#fffaf0!important;color:#7a6026!important}
.settlement-period-capture-v329 .capture-v329-daily-card,.settlement-period-capture-v329 .capture-v329-assets,.settlement-period-capture-v329 .capture-v329-pl-summary,.settlement-period-capture-v329 .capture-v329-pl-daily{padding:10px 12px!important;border-radius:11px!important}.settlement-period-capture-v329 .capture-v329-daily-card h2,.settlement-period-capture-v329 .capture-v329-assets h2,.settlement-period-capture-v329 .capture-v329-pl-summary h2,.settlement-period-capture-v329 .capture-v329-pl-daily h2{font-size:20px!important;line-height:1.1!important;margin-bottom:6px!important}.settlement-period-capture-v329 .capture-v329-daily-card h2>span,.settlement-period-capture-v329 .capture-v329-assets h2>span,.settlement-period-capture-v329 .capture-v329-pl-summary h2>span,.settlement-period-capture-v329 .capture-v329-pl-daily h2>span{font-size:11px!important;min-width:30px!important;height:26px!important}.settlement-period-capture-v329 .capture-v329-daily-card h2 small,.settlement-period-capture-v329 .capture-v329-pl-daily h2 small,.settlement-period-capture-v329 .capture-v329-assets h2 small{font-size:12px!important}.settlement-period-capture-v329 .capture-v329-daily-card table,.settlement-period-capture-v329 .capture-v329-assets table,.settlement-period-capture-v329 .capture-v329-pl-summary table,.settlement-period-capture-v329 .capture-v329-pl-daily table{width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}.settlement-period-capture-v329 .capture-v329-daily-card th,.settlement-period-capture-v329 .capture-v329-daily-card td,.settlement-period-capture-v329 .capture-v329-assets th,.settlement-period-capture-v329 .capture-v329-assets td,.settlement-period-capture-v329 .capture-v329-pl-summary th,.settlement-period-capture-v329 .capture-v329-pl-summary td,.settlement-period-capture-v329 .capture-v329-pl-daily th,.settlement-period-capture-v329 .capture-v329-pl-daily td{padding:7px 9px!important;font-size:14px!important;line-height:1.18!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}.settlement-period-capture-v329 .capture-v329-daily-card td strong,.settlement-period-capture-v329 .capture-v329-pl-daily td strong{display:block!important;font-size:15px!important;line-height:1.1!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}.settlement-period-capture-v329 .capture-v329-daily-card td small,.settlement-period-capture-v329 .capture-v329-pl-daily td small{display:block!important;margin-top:2px!important;font-size:11px!important;line-height:1.05!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}.settlement-period-capture-v329 .settlement-period-delta{font-size:10px!important;min-height:20px!important;padding:2px 5px!important;white-space:nowrap!important}
.settlement-period-capture-v329 .capture-v329-single-party{display:grid!important;align-content:start!important;gap:12px!important}.settlement-period-capture-v329 .capture-v329-single-party .capture-v329-party-card{width:100%!important}.settlement-period-capture-v329 .capture-v329-single-party .capture-v329-party-head>strong{font-size:26px!important}.settlement-period-capture-v329 .capture-v329-single-party .capture-v329-party-card th,.settlement-period-capture-v329 .capture-v329-single-party .capture-v329-party-card td{font-size:17px!important;padding:10px 12px!important}
.settlement-period-capture-v329 .capture-v329-daily-only,.settlement-period-capture-v329 .capture-v329-assets-only,.settlement-period-capture-v329 .capture-v329-pl-only{align-self:start!important}.settlement-period-capture-v329 .capture-v329-daily-only th,.settlement-period-capture-v329 .capture-v329-daily-only td,.settlement-period-capture-v329 .capture-v329-assets-only th,.settlement-period-capture-v329 .capture-v329-assets-only td,.settlement-period-capture-v329 .capture-v329-pl-only th,.settlement-period-capture-v329 .capture-v329-pl-only td{font-size:17px!important;padding:12px 13px!important}.settlement-period-capture-v329 .capture-v329-daily-only td strong,.settlement-period-capture-v329 .capture-v329-pl-only td strong{font-size:18px!important}.settlement-period-capture-v329 .capture-v329-daily-only td small,.settlement-period-capture-v329 .capture-v329-pl-only td small{font-size:13px!important}
.settlement-period-capture-v329 .capture-v329-pl-summary td strong,.settlement-period-capture-v329 .capture-v329-pl-summary td small{display:block!important;white-space:nowrap!important}.settlement-period-capture-v329 .capture-v329-pl-summary td small{font-size:11px!important;margin-top:2px!important}
.settlement-period-capture-v329 .settlement-period-capture-board footer{font-size:13px!important;line-height:1.2!important;padding:5px 2px 0!important;white-space:nowrap!important}.settlement-period-capture-v329 .settlement-period-capture-board footer strong,.settlement-period-capture-v329 .settlement-period-capture-board footer span{font-size:13px!important}
.settlement-period-capture-v329 .capture-v329-trend-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:12px!important;height:824px!important}.settlement-period-capture-v329 .capture-v329-trend-grid .capture-v323-chart{padding:11px 13px 9px!important;border-radius:12px!important;min-height:0!important;overflow:hidden!important}.settlement-period-capture-v329 .capture-v329-trend-grid .period-chart-v323-title span{font-size:13px!important}.settlement-period-capture-v329 .capture-v329-trend-grid .period-chart-v323-title strong{font-size:25px!important;line-height:1.05!important}.settlement-period-capture-v329 .capture-v329-trend-grid .period-chart-v323-title>b{font-size:15px!important}.settlement-period-capture-v329 .capture-v329-trend-grid .period-chart-legend-v323{gap:12px!important;margin:6px 0 3px!important}.settlement-period-capture-v329 .capture-v329-trend-grid .period-chart-legend-v323-item{font-size:14px!important;gap:6px!important}.settlement-period-capture-v329 .capture-v329-trend-grid .period-chart-legend-v323-item b{font-size:16px!important}.settlement-period-capture-v329 .capture-v329-trend-grid .period-chart-legend-v323-item .settlement-period-delta{font-size:10px!important;min-height:19px!important;padding:2px 5px!important}.settlement-period-capture-v329 .capture-v329-trend-grid .capture-v323-chart svg{height:180px!important;margin-top:2px!important}.settlement-period-capture-v329 .capture-v329-trend-grid .period-chart-axis-v323,.settlement-period-capture-v329 .capture-v329-trend-grid .period-chart-x-v323{font-size:15px!important;font-weight:950!important}.settlement-period-capture-v329 .capture-v329-trend-grid .period-chart-reference-title-v323{font-size:11px!important;padding-top:4px!important;margin-top:3px!important}.settlement-period-capture-v329 .capture-v329-trend-grid .period-chart-reference-v323{gap:4px!important;margin-top:4px!important}.settlement-period-capture-v329 .capture-v329-trend-grid .period-chart-reference-row-v323{grid-template-columns:minmax(70px,.62fr) repeat(4,minmax(90px,1fr))!important;gap:4px!important}.settlement-period-capture-v329 .capture-v329-trend-grid .period-chart-reference-row-v323>strong,.settlement-period-capture-v329 .capture-v329-trend-grid .period-chart-reference-row-v323>span{padding:4px 5px!important;font-size:11px!important;line-height:1.1!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}.settlement-period-capture-v329 .capture-v329-trend-grid .period-chart-reference-row-v323>span b{font-size:12px!important;line-height:1.1!important;white-space:nowrap!important}.settlement-period-capture-v329 .capture-v329-trend-grid .period-chart-reference-row-v323 .settlement-period-delta{font-size:9px!important;min-height:18px!important}


/* V4.2.330 — merged provider totals, amount-forward peak-day hierarchy, clipping guards, larger trend canvas. */
.settlement-period-capture-v330 .settlement-period-capture-board{width:1680px!important;height:920px!important;min-height:920px!important;max-height:920px!important;padding:15px 17px 14px!important;gap:10px!important;overflow:hidden!important}
.settlement-period-capture-v330 .settlement-period-capture-header.v322{min-height:86px!important;padding:15px 18px 13px!important;overflow:visible!important;align-items:center!important}
.settlement-period-capture-v330 .settlement-period-capture-header.v322>div:first-child{min-width:0!important;padding-top:2px!important;overflow:visible!important}
.settlement-period-capture-v330 .settlement-period-capture-header.v322 span{display:block!important;font-size:14px!important;line-height:1.35!important;padding-top:1px!important;overflow:visible!important}
.settlement-period-capture-v330 .settlement-period-capture-header.v322 h1{font-size:32px!important;line-height:1.12!important;margin:4px 0 0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.settlement-period-capture-v330 .settlement-period-capture-header.v322 p{font-size:14px!important;line-height:1.3!important;margin-top:4px!important;white-space:normal!important}
.settlement-period-capture-v330 .capture-v329-provider-block{gap:8px!important}
.settlement-period-capture-v330 .capture-v329-provider-block>h2{font-size:26px!important;line-height:1.15!important;padding-top:1px!important}
.settlement-period-capture-v330 .capture-v330-provider-highlights{display:grid!important;grid-template-columns:1.25fr 1.25fr 1fr 1.08fr 1.08fr!important;gap:9px!important}
.settlement-period-capture-v330 .capture-v330-provider-highlights article{min-width:0!important;height:92px!important;min-height:92px!important;padding:11px 13px!important;border-radius:11px!important;overflow:hidden!important}
.settlement-period-capture-v330 .capture-v330-provider-highlights article>span{display:block!important;font-size:14px!important;line-height:1.2!important;font-weight:900!important;color:#6f879a!important;white-space:nowrap!important}
.settlement-period-capture-v330 .capture-v330-provider-highlights article>strong{display:block!important;margin-top:7px!important;font-size:23px!important;line-height:1.12!important;font-weight:950!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important}
.settlement-period-capture-v330 .capture-v330-provider-highlights article>small{display:block!important;margin-top:4px!important;font-size:12px!important;line-height:1.15!important;min-height:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important}
.settlement-period-capture-v330 .capture-v330-aggregate-line{display:flex!important;align-items:baseline!important;gap:11px!important;flex-wrap:wrap!important;margin-top:7px!important;min-width:0!important}
.settlement-period-capture-v330 .capture-v330-aggregate-line b{font-size:21px!important;line-height:1.1!important;font-weight:800!important;color:#355a77!important;white-space:nowrap!important}
.settlement-period-capture-v330 .capture-v330-aggregate-line strong{font-size:24px!important;line-height:1.1!important;font-weight:950!important;color:#153e60!important;white-space:nowrap!important}
.settlement-period-capture-v330 .capture-v330-peak-line{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:10px!important;margin-top:10px!important;min-width:0!important}
.settlement-period-capture-v330 .capture-v330-peak-line em,.settlement-period-capture-v330 .capture-v330-peak-line strong{font-size:20px!important;line-height:1.12!important;white-space:nowrap!important}
.settlement-period-capture-v330 .capture-v330-peak-line em{font-style:normal!important;font-weight:550!important;color:#355a77!important}
.settlement-period-capture-v330 .capture-v330-peak-line strong{font-weight:950!important;color:#153e60!important}
.settlement-period-capture-v330 .capture-v329-party-card{min-width:0!important;overflow:hidden!important}
.settlement-period-capture-v330 .capture-v329-party-head{grid-template-columns:auto minmax(0,1fr) minmax(150px,.48fr)!important;padding:9px 12px!important}
.settlement-period-capture-v330 .capture-v329-party-head>strong{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;overflow:hidden!important;text-overflow:clip!important;font-size:22px!important;line-height:1.08!important}
.settlement-period-capture-v330 .capture-v329-party-head>small{min-width:0!important;white-space:normal!important;text-align:right!important;overflow:hidden!important;text-overflow:clip!important;font-size:16px!important;line-height:1.08!important}
.settlement-period-capture-v330 .capture-v329-party-card th,.settlement-period-capture-v330 .capture-v329-party-card td{overflow:hidden!important;text-overflow:clip!important;white-space:nowrap!important}
.settlement-period-capture-v330 .capture-v329-daily-card th,.settlement-period-capture-v330 .capture-v329-daily-card td,.settlement-period-capture-v330 .capture-v329-pl-daily th,.settlement-period-capture-v330 .capture-v329-pl-daily td{overflow:hidden!important;text-overflow:clip!important;white-space:nowrap!important}
.settlement-period-capture-v330 .capture-v329-daily-card td>*,.settlement-period-capture-v330 .capture-v329-pl-daily td>*{max-width:100%!important;overflow:visible!important;text-overflow:clip!important}
.settlement-period-capture-v330.capture-v330-trend-page .settlement-period-capture-board,.settlement-period-capture-v330 .settlement-period-capture-board.capture-v330-trend-page{width:1680px!important;height:920px!important}
.settlement-period-capture-v330 .capture-v329-trend-grid{height:760px!important;gap:14px!important}
.settlement-period-capture-v330 .capture-v329-trend-grid .capture-v323-chart{padding:13px 15px 10px!important;border-radius:13px!important;overflow:hidden!important}
.settlement-period-capture-v330 .capture-v329-trend-grid .period-chart-v323-title span{font-size:15px!important;line-height:1.2!important}
.settlement-period-capture-v330 .capture-v329-trend-grid .period-chart-v323-title strong{font-size:29px!important;line-height:1.08!important}
.settlement-period-capture-v330 .capture-v329-trend-grid .period-chart-v323-title>b{font-size:17px!important}
.settlement-period-capture-v330 .capture-v329-trend-grid .period-chart-legend-v323{gap:15px!important;margin:7px 0 4px!important}
.settlement-period-capture-v330 .capture-v329-trend-grid .period-chart-legend-v323-item{font-size:16px!important;gap:7px!important}
.settlement-period-capture-v330 .capture-v329-trend-grid .period-chart-legend-v323-item b{font-size:18px!important}
.settlement-period-capture-v330 .capture-v329-trend-grid .period-chart-legend-v323-item .settlement-period-delta{font-size:11px!important}
.settlement-period-capture-v330 .capture-v329-trend-grid .capture-v323-chart svg{height:218px!important;margin-top:3px!important}
.settlement-period-capture-v330 .capture-v329-trend-grid .period-chart-axis-v323,.settlement-period-capture-v330 .capture-v329-trend-grid .period-chart-x-v323{font-size:17px!important;font-weight:900!important}
.settlement-period-capture-v330 .capture-v329-trend-grid .period-chart-reference-title-v323{font-size:13px!important;padding-top:5px!important;margin-top:4px!important}
.settlement-period-capture-v330 .capture-v329-trend-grid .period-chart-reference-v323{gap:5px!important;margin-top:5px!important}
.settlement-period-capture-v330 .capture-v329-trend-grid .period-chart-reference-row-v323{grid-template-columns:minmax(76px,.62fr) repeat(4,minmax(100px,1fr))!important;gap:5px!important}
.settlement-period-capture-v330 .capture-v329-trend-grid .period-chart-reference-row-v323>strong,.settlement-period-capture-v330 .capture-v329-trend-grid .period-chart-reference-row-v323>span{padding:5px 6px!important;font-size:12.5px!important;line-height:1.12!important;overflow:hidden!important;text-overflow:clip!important;white-space:nowrap!important}
.settlement-period-capture-v330 .capture-v329-trend-grid .period-chart-reference-row-v323>span b{font-size:13.5px!important;line-height:1.1!important}
.settlement-period-capture-v330 .settlement-period-capture-board footer{font-size:13px!important;line-height:1.25!important;padding-top:4px!important;overflow:visible!important}


/* V4.2.331 — capture clipping repair + dated trend lines + no ambiguous percentage deltas. */
.settlement-period-capture-v331 .settlement-period-capture-board{width:1760px!important;height:930px!important;min-height:930px!important;max-height:930px!important;padding:16px 18px 14px!important;gap:10px!important;overflow:hidden!important}
.settlement-period-capture-v331 .capture-v330-provider-highlights{grid-template-columns:1.22fr 1.22fr 1fr 1.05fr 1.05fr!important;gap:10px!important}
.settlement-period-capture-v331 .capture-v330-provider-highlights article{height:106px!important;min-height:106px!important;padding:12px 14px 13px!important;overflow:hidden!important;display:block!important}
.settlement-period-capture-v331 .capture-v330-provider-highlights article>span{font-size:14px!important;line-height:1.25!important}
.settlement-period-capture-v331 .capture-v330-provider-highlights article>strong{font-size:23px!important;line-height:1.1!important;margin-top:7px!important;overflow:visible!important}
.settlement-period-capture-v331 .capture-v330-provider-highlights article>small{font-size:12.5px!important;line-height:1.2!important;margin-top:6px!important;min-height:16px!important;overflow:visible!important;white-space:nowrap!important}
.settlement-period-capture-v331 .capture-v330-aggregate-line{margin-top:8px!important;gap:12px!important}.settlement-period-capture-v331 .capture-v330-aggregate-line b{font-size:21px!important}.settlement-period-capture-v331 .capture-v330-aggregate-line strong{font-size:24px!important}
.settlement-period-capture-v331 .capture-v330-peak-line{margin-top:12px!important;gap:12px!important}.settlement-period-capture-v331 .capture-v330-peak-line em,.settlement-period-capture-v331 .capture-v330-peak-line strong{font-size:20px!important}
.settlement-period-capture-v331 .capture-v331-trend-page-board{width:1760px!important;height:930px!important;min-height:930px!important;max-height:930px!important}
.settlement-period-capture-v331 .capture-v331-trend-page{display:grid!important;grid-template-rows:305px 1fr!important;gap:12px!important;min-height:0!important;overflow:hidden!important}
.settlement-period-capture-v331 .capture-v331-line-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;min-height:0!important}
.settlement-period-capture-v331 .capture-v331-line-row.single{grid-template-columns:1fr!important}
.settlement-period-capture-v331 .capture-v331-line-card,.settlement-period-capture-v331 .capture-v331-bar-card{background:#fff!important;border:1px solid #c9d9e5!important;border-radius:13px!important;box-shadow:0 1px 0 rgba(13,48,73,.03)!important;overflow:hidden!important}
.settlement-period-capture-v331 .capture-v331-line-card{padding:12px 15px 10px!important;display:grid!important;grid-template-rows:auto 170px auto!important;gap:4px!important}
.settlement-period-capture-v331 .capture-v331-line-head,.settlement-period-capture-v331 .capture-v331-bar-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;min-width:0!important}
.settlement-period-capture-v331 .capture-v331-line-head>div,.settlement-period-capture-v331 .capture-v331-bar-head>div{min-width:0!important}.settlement-period-capture-v331 .capture-v331-line-head span,.settlement-period-capture-v331 .capture-v331-bar-head span{display:block!important;font-size:13px!important;font-weight:850!important;color:#71889b!important;line-height:1.15!important}.settlement-period-capture-v331 .capture-v331-line-head strong{display:block!important;font-size:24px!important;line-height:1.08!important;color:#153e60!important;margin-top:2px!important}.settlement-period-capture-v331 .capture-v331-line-head>b,.settlement-period-capture-v331 .capture-v331-bar-head>b{font-size:13px!important;line-height:1.2!important;color:#61798d!important;white-space:nowrap!important}
.settlement-period-capture-v331 .capture-v331-line-card svg{width:100%!important;height:170px!important;overflow:visible!important}.settlement-period-capture-v331 .capture-v331-grid{stroke:#d9e4ec!important;stroke-width:1!important}.settlement-period-capture-v331 .capture-v331-axis,.settlement-period-capture-v331 .capture-v331-x{font-size:15px!important;font-weight:850!important;fill:#61798d!important}.settlement-period-capture-v331 .capture-v331-line{fill:none!important;stroke:#276a9d!important;stroke-width:4!important;stroke-linecap:round!important;stroke-linejoin:round!important}.settlement-period-capture-v331 .capture-v331-line-card.out .capture-v331-line{stroke:#d78b25!important}.settlement-period-capture-v331 .capture-v331-line-card.profit .capture-v331-line{stroke:#2f779f!important}.settlement-period-capture-v331 .capture-v331-point{fill:#fff!important;stroke:#276a9d!important;stroke-width:3!important}.settlement-period-capture-v331 .capture-v331-line-card.out .capture-v331-point{stroke:#d78b25!important}
.settlement-period-capture-v331 .capture-v331-line-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}.settlement-period-capture-v331 .capture-v331-line-stats span{background:#f4f8fb!important;border-radius:8px!important;padding:6px 8px!important;font-size:11.5px!important;line-height:1.15!important;color:#6e8497!important;font-weight:850!important;overflow:hidden!important}.settlement-period-capture-v331 .capture-v331-line-stats b{display:block!important;margin-top:3px!important;font-size:13px!important;line-height:1.15!important;color:#173f5f!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
.settlement-period-capture-v331 .capture-v331-bar-card{padding:12px 16px 11px!important;display:grid!important;grid-template-rows:auto auto 1fr!important;gap:3px!important;min-height:0!important}.settlement-period-capture-v331 .capture-v331-bar-head strong{display:block!important;font-size:25px!important;line-height:1.08!important;color:#153e60!important;margin-top:2px!important}.settlement-period-capture-v331 .capture-v331-bar-key{display:flex!important;gap:20px!important;align-items:center!important;font-size:13.5px!important;font-weight:900!important;color:#526f86!important;padding:1px 0 0!important}.settlement-period-capture-v331 .capture-v331-bar-key span{display:flex!important;align-items:center!important;gap:7px!important}.settlement-period-capture-v331 .capture-v331-bar-key i{width:10px!important;height:10px!important;border-radius:3px!important;background:#2f78a9!important}.settlement-period-capture-v331 .capture-v331-bar-key i.series-1{background:#dc8d28!important}.settlement-period-capture-v331 .capture-v331-bar-key i.profit{background:#4a84a8!important}
.settlement-period-capture-v331 .capture-v331-bar-card svg{width:100%!important;height:345px!important;overflow:visible!important}.settlement-period-capture-v331 .capture-v331-zero{stroke:#71899b!important;stroke-width:1.5!important;stroke-dasharray:6 5!important}.settlement-period-capture-v331 .capture-v331-bar{fill:#2f78a9!important}.settlement-period-capture-v331 .capture-v331-bar.series-1{fill:#dc8d28!important}.settlement-period-capture-v331 .capture-v331-bar.positive{fill:#d75e5e!important}.settlement-period-capture-v331 .capture-v331-bar.negative{fill:#3d7fad!important}
.settlement-period-capture-v331 .settlement-period-delta{display:none!important}
.settlement-period-capture-v331 .settlement-period-capture-board footer{font-size:13px!important;line-height:1.2!important;padding-top:3px!important}


/* V4.2.334 — finite-page packing + aligned trend reference cards */
.settlement-period-capture-v333 .capture-v331-line-stats.capture-v333-line-stats{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important;
}
.settlement-period-capture-v333 .capture-v331-line-stats.capture-v333-line-stats>span{
  min-height:58px!important;height:58px!important;padding:8px 10px!important;border:1px solid #e0e8ee!important;border-radius:9px!important;background:#f4f8fb!important;
  display:grid!important;grid-template-rows:18px 1fr!important;align-content:center!important;overflow:hidden!important;font-variant-numeric:tabular-nums!important;
}
.settlement-period-capture-v333 .capture-v331-line-stats.capture-v333-line-stats>span>em{
  display:block!important;margin:0!important;font-style:normal!important;font-size:12px!important;line-height:18px!important;font-weight:900!important;color:#71889b!important;white-space:nowrap!important;
}
.settlement-period-capture-v333 .capture-v331-line-stats.capture-v333-line-stats>span>b{
  display:flex!important;align-items:center!important;margin:0!important;font-size:13.5px!important;line-height:1.15!important;font-weight:950!important;color:#173f5f!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
}
.settlement-period-capture-v333 .capture-v331-axis,.settlement-period-capture-v333 .capture-v331-x{font-variant-numeric:tabular-nums!important}
.settlement-period-capture-v333 .capture-v329-daily-card table,.settlement-period-capture-v333 .capture-v329-pl-daily table{font-variant-numeric:tabular-nums!important}


/* V4.2.335 — all selected-customer evidence stays on provider page; Bitorage asset summary is co-located; line-chart plot gets an X gutter. */
.settlement-period-capture-v335 .capture-v335-provider-evidence .capture-v329-party-note{display:none!important}
.settlement-period-capture-v335 .capture-v335-provider-evidence .capture-v329-party-card th,
.settlement-period-capture-v335 .capture-v335-provider-evidence .capture-v329-party-card td{padding:5px 8px!important;font-size:14px!important;line-height:1.15!important}
.settlement-period-capture-v335 .capture-v335-provider-evidence.dense .capture-v329-party-card th,
.settlement-period-capture-v335 .capture-v335-provider-evidence.dense .capture-v329-party-card td{padding:4px 7px!important;font-size:13.5px!important}
.settlement-period-capture-v335 .capture-v335-provider-evidence.very-dense .capture-v329-party-card th,
.settlement-period-capture-v335 .capture-v335-provider-evidence.very-dense .capture-v329-party-card td{padding:3px 6px!important;font-size:13px!important}
.settlement-period-capture-v335 .capture-v335-bitorage-bottom-grid{display:grid!important;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr)!important;gap:10px!important;align-items:start!important;min-height:0!important}
.settlement-period-capture-v335 .capture-v335-bitorage-bottom-grid>.capture-card{min-width:0!important;margin:0!important;height:100%!important}
.settlement-period-capture-v335 .capture-v335-assets th,.settlement-period-capture-v335 .capture-v335-assets td{padding:6px 7px!important;font-size:13px!important;line-height:1.15!important}
.settlement-period-capture-v335 .capture-v335-daily-card th,.settlement-period-capture-v335 .capture-v335-daily-card td{padding:6px 8px!important;font-size:13.5px!important;line-height:1.15!important}
.settlement-period-capture-v335 .capture-v331-line-card svg{overflow:visible!important}

/* V4.2.336 — referral full-scope status filtering, true paging, column sorting and period aggregation. */
.live-filtered-aggregate{display:grid;gap:8px;padding:11px 12px;border:1px solid #d6e3ed;border-radius:13px;background:#f8fbfd}
.live-filtered-aggregate-head{display:flex;align-items:end;justify-content:space-between;gap:12px}.live-filtered-aggregate-head>div>span{display:block;color:#2f6fa6;font-size:8px;font-weight:900;letter-spacing:.12em}.live-filtered-aggregate-head>div>strong{display:block;margin-top:2px;color:#173954;font-size:12px}.live-filtered-aggregate-head>small{color:#6f8497;font-size:8px;text-align:right}
.live-filtered-aggregate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.live-filtered-aggregate-grid article{min-width:0;padding:9px 10px;border:1px solid #dbe6ee;border-radius:10px;background:#fff}.live-filtered-aggregate-grid article>span{display:block;color:#718598;font-size:8px;font-weight:900}.live-filtered-aggregate-grid article>strong{display:block;margin:4px 0 2px;color:#183b59;font-size:15px;line-height:1.25;word-break:break-word}.live-filtered-aggregate-grid article>small{display:block;color:#8294a5;font-size:7.5px;line-height:1.3}.live-filtered-aggregate-grid article.pnl>strong[data-sign="positive"]{color:#14754f}.live-filtered-aggregate-grid article.pnl>strong[data-sign="negative"]{color:#c24747}
.live-sort-button{display:inline-flex;align-items:center;gap:4px;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:900;text-align:left;cursor:pointer;white-space:nowrap}.live-sort-button:hover{color:#1f5f94}.live-sort-button span{min-width:10px;color:#8296a8;font-size:8px}.live-sort-button.active{color:#1c649c}.live-sort-button.active span{color:#1c649c}
.live-customer-pager{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center}.live-customer-page-controls{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0}.live-customer-page-buttons{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:center}.live-customer-page-buttons button{min-width:30px;height:30px;padding:0 7px;border:1px solid #cad9e5;border-radius:8px;background:#fff;color:#365b78;font-size:9px;font-weight:900;cursor:pointer}.live-customer-page-buttons button[aria-current="page"]{border-color:#2e78b2;background:#eaf4fb;color:#145989}.live-customer-page-buttons button:disabled{opacity:.45;cursor:default}
.live-referral-period-backdrop{z-index:10085;padding:10px;background:rgba(7,25,42,.48)}.live-referral-period-shell{width:min(1480px,calc(100vw - 20px));height:min(92vh,940px);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid #b9cddd;border-radius:14px;background:#edf3f7;box-shadow:0 26px 90px rgba(8,29,48,.32)}.live-referral-period-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;background:linear-gradient(120deg,#113a60,#1c557f);color:#fff}.live-referral-period-controls h2{margin:2px 0;color:#fff;font-size:17px}.live-referral-period-controls .section-kicker{color:#91d7ff}.live-referral-period-controls .modal-note{color:#c9dbe9}.live-referral-period-controls .secondary-button{min-height:32px;background:#fff}
.live-referral-period-body{overflow:auto;padding:14px;display:grid;gap:10px}.live-period-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.live-period-summary-grid article{padding:10px;border:1px solid #d5e2ec;border-radius:10px;background:#fff}.live-period-summary-grid span{display:block;color:#718598;font-size:8px;font-weight:900}.live-period-summary-grid strong{display:block;margin:5px 0 2px;color:#173b59;font-size:18px}.live-period-summary-grid small{display:block;color:#7e91a3;font-size:8px}.live-period-table-card{padding:10px 11px;border:1px solid #d5e2ec;border-radius:11px;background:#fff}.live-period-table-head{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:8px}.live-period-table-head strong{color:#173b59;font-size:12px}.live-period-table-head small{color:#7f91a2;font-size:8px}.live-period-table-wrap{overflow:auto;border:1px solid #dbe5ed;border-radius:8px}.live-period-table{width:100%;min-width:920px;border-collapse:collapse}.live-period-table th{position:sticky;top:0;z-index:1;padding:8px;background:#eef5fa;color:#45647c;font-size:8px;text-align:left;border-bottom:1px solid #ccdae5}.live-period-table td{padding:8px;border-bottom:1px solid #edf1f4;color:#314d63;font-size:8px;vertical-align:top}.live-period-table td strong{display:block;color:#173a57;font-size:9px}.live-period-table td small{display:block;margin-top:2px;color:#8194a5;font-size:7.5px}.live-period-missing{color:#a06c1f!important;background:#fffaf0}.live-period-warning{padding:8px 10px;border:1px solid #efd9ac;border-radius:9px;background:#fffaf0;color:#78561c;font-size:8px;line-height:1.45}
@media(max-width:1180px){.live-filtered-aggregate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.live-period-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.live-filtered-aggregate-head{align-items:flex-start;flex-direction:column}.live-filtered-aggregate-head>small{text-align:left}.live-filtered-aggregate-grid{grid-template-columns:1fr}.live-customer-pager{grid-template-columns:1fr;gap:8px}.live-customer-page-controls{justify-content:space-between;flex-wrap:wrap}.live-customer-page-buttons{order:3;width:100%}.live-referral-period-backdrop{padding:5px}.live-referral-period-shell{width:calc(100vw - 10px);height:calc(100vh - 10px)}.live-period-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* V4.2.338 — referral roster memory paging/performance + settlement-grade period report readability. */
.live-filtered-aggregate-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.live-filtered-aggregate{padding:14px 15px;border-radius:14px}
.live-filtered-aggregate-head>div>span{font-size:9px}.live-filtered-aggregate-head>div>strong{font-size:14px}.live-filtered-aggregate-head>small{font-size:9px}
.live-filtered-aggregate-grid article{padding:11px 12px;border-radius:11px}.live-filtered-aggregate-grid article>span{font-size:9px}.live-filtered-aggregate-grid article>strong{font-size:17px}.live-filtered-aggregate-grid article>small{font-size:8.5px}
.live-customer-tools select{font-size:10px;min-width:150px}.live-customer-head input{font-size:10px}
.live-customer-table-wrap{max-height:720px;scroll-behavior:auto;contain:layout paint}
.live-customer-table td{font-size:10.5px;line-height:1.35}.live-customer-table td small{font-size:9px}.live-customer-id strong{font-size:11.5px}.live-customer-id span{font-size:9px}.live-flag{font-size:9px;padding:4px 7px}
.live-sort-button{font-size:10.5px}.live-customer-finance-note{font-size:9px;line-height:1.45}
.live-customer-pager span{font-size:10px}.live-customer-page-buttons button{font-size:10px;min-width:32px;height:32px}
.live-customer-pager .secondary-button{min-width:112px}

.live-referral-period-backdrop{padding:6px;background:rgba(7,25,42,.54)}
.live-referral-period-shell{width:min(1700px,calc(100vw - 12px));height:min(97vh,1080px);border-radius:16px;background:#eef4f8}
.live-referral-period-controls{padding:16px 18px}.live-referral-period-controls h2{font-size:22px;line-height:1.2}.live-referral-period-controls .section-kicker{font-size:10px}.live-referral-period-controls .modal-note{font-size:11px;line-height:1.45}.live-referral-period-controls .secondary-button{min-height:38px;font-size:11px}
.live-referral-period-body{padding:16px;gap:14px}
.live-period-loading{min-height:280px;border-radius:14px;background:#fff}
.live-period-report-sheet{display:grid;gap:14px}
.live-period-report-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:14px;background:linear-gradient(120deg,#123b60,#1d5a86);color:#fff;box-shadow:0 10px 30px rgba(15,52,82,.12)}
.live-period-report-hero>div:first-child>span{display:block;color:#99d7ff;font-size:10px;font-weight:900;letter-spacing:.14em}.live-period-report-hero>div:first-child>strong{display:block;margin:5px 0 4px;font-size:26px;line-height:1.15}.live-period-report-hero>div:first-child>small{font-size:12px;color:#d4e4ef}
.live-period-report-authority{text-align:right}.live-period-report-authority>span{display:inline-flex;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.16);font-size:9px;font-weight:900;letter-spacing:.08em}.live-period-report-authority>strong{display:block;margin:7px 0 2px;font-size:15px}.live-period-report-authority>small{font-size:10px;color:#d3e3ee}
.live-period-report-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.live-period-report-kpi{padding:15px 16px;border:1px solid #d1dfeb;border-radius:13px;background:#fff;box-shadow:0 4px 12px rgba(21,55,82,.04)}.live-period-report-kpi>span{display:block;color:#5d7890;font-size:10px;font-weight:900}.live-period-report-kpi>strong{display:block;margin:7px 0 4px;color:#173b5b;font-size:28px;line-height:1.05}.live-period-report-kpi>small{font-size:10px;color:#788da0;line-height:1.35}.live-period-report-kpi.positive>strong{color:#13764f}.live-period-report-kpi.negative>strong{color:#c14949}.live-period-report-kpi.unavailable>strong{color:#8a98a6}
.live-period-report-table-card{padding:14px;border:1px solid #d2e0ea;border-radius:14px;background:#fff}.live-period-report-table-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:11px}.live-period-report-table-head span{display:block;color:#2c6fa5;font-size:9px;font-weight:900;letter-spacing:.12em}.live-period-report-table-head strong{display:block;margin-top:3px;color:#173b59;font-size:16px}.live-period-report-table-head small{font-size:10px;color:#74899c;text-align:right}
.live-period-table-wrap{border:1px solid #d5e1ea;border-radius:10px;overflow:auto;background:#fff}.live-period-table-v337{min-width:1120px}.live-period-table-v337 th{padding:11px 12px;background:#edf4f9;color:#365c79;font-size:11px;font-weight:900}.live-period-table-v337 td{padding:12px;border-bottom:1px solid #e8eef3;font-size:11px;vertical-align:middle}.live-period-date-cell{min-width:170px}.live-period-date-cell>strong{display:block;color:#173b59;font-size:13px}.live-period-date-cell>span{display:inline-flex;margin-top:5px;padding:3px 6px;border-radius:999px;background:#eef5fa;color:#5d778d;font-size:8.5px;font-weight:900}.live-period-missing .live-period-date-cell>span{background:#fff0cf;color:#8a651f}
.live-period-metric>strong{display:block;color:#173b59;font-size:14px;line-height:1.2}.live-period-metric>small{display:block;margin-top:4px;font-size:10px;font-weight:800}.live-period-metric>small.positive{color:#13764f}.live-period-metric>small.negative{color:#c14949}.live-period-metric>small.zero{color:#697e91}.live-period-metric>small.unavailable,.live-period-metric.unavailable>small{color:#9a7b42}.live-period-metric.unavailable>strong{color:#9b8a6a}.live-period-empty-row{padding:24px!important;text-align:center;color:#74889a!important;font-size:12px!important}
.live-period-report-evidence{padding:13px 15px;border:1px solid #e5c98f;border-radius:12px;background:#fff9ec;color:#6e511d}.live-period-report-evidence>strong{display:block;font-size:12px}.live-period-report-evidence>p{margin:7px 0;font-size:10.5px;line-height:1.55}.live-period-report-evidence>small{display:block;font-size:9.5px;line-height:1.5;color:#816734}

@media(max-width:1320px){.live-filtered-aggregate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.live-period-report-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.live-filtered-aggregate-grid{grid-template-columns:1fr}.live-period-report-hero{align-items:flex-start;flex-direction:column}.live-period-report-authority{text-align:left}.live-period-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.live-period-report-table-head{align-items:flex-start;flex-direction:column}.live-period-report-table-head small{text-align:left}.live-referral-period-shell{width:calc(100vw - 8px);height:calc(100vh - 8px)}}

/* V4.2.338 readability pass: match the Settlement report's report-first scale. */
.live-customer-table td{font-size:12px!important;line-height:1.42!important}.live-customer-table td small{font-size:10px!important}.live-customer-id strong{font-size:13px!important}.live-customer-id span{font-size:10.5px!important}.live-flag{font-size:10px!important;padding:4px 8px!important}.live-sort-button{font-size:12px!important}.live-customer-finance-note{font-size:10px!important}.live-customer-table th{font-size:12px!important}
.live-filtered-aggregate-head>div>span{font-size:10px!important}.live-filtered-aggregate-head>div>strong{font-size:16px!important}.live-filtered-aggregate-head>small{font-size:10px!important}.live-filtered-aggregate-grid article>span{font-size:10px!important}.live-filtered-aggregate-grid article>strong{font-size:20px!important}.live-filtered-aggregate-grid article>small{font-size:9.5px!important}
.live-referral-period-controls{padding:14px 18px!important}.live-referral-period-controls h2{font-size:25px!important}.live-referral-period-controls .section-kicker{font-size:12px!important}.live-referral-period-controls .modal-note{font-size:13px!important}.live-referral-period-controls .secondary-button{min-height:42px!important;font-size:14px!important;padding:8px 15px!important}
.live-period-report-hero{padding:20px 22px!important}.live-period-report-hero>div:first-child>span{font-size:12px!important}.live-period-report-hero>div:first-child>strong{font-size:30px!important}.live-period-report-hero>div:first-child>small{font-size:14px!important}.live-period-report-authority>span{font-size:11px!important}.live-period-report-authority>strong{font-size:18px!important}.live-period-report-authority>small{font-size:12px!important}
.live-period-report-kpi{padding:17px 18px!important}.live-period-report-kpi>span{font-size:12px!important}.live-period-report-kpi>strong{font-size:31px!important}.live-period-report-kpi>small{font-size:12px!important}
.live-period-report-table-card{padding:16px!important}.live-period-report-table-head span{font-size:11px!important}.live-period-report-table-head strong{font-size:19px!important}.live-period-report-table-head small{font-size:12px!important}.live-period-table-v337 th{padding:13px 14px!important;font-size:14px!important}.live-period-table-v337 td{padding:14px!important;font-size:13px!important}.live-period-date-cell>strong{font-size:16px!important}.live-period-date-cell>span{font-size:10px!important}.live-period-metric>strong{font-size:17px!important}.live-period-metric>small{font-size:12px!important}.live-period-report-evidence>strong{font-size:15px!important}.live-period-report-evidence>p{font-size:13px!important;line-height:1.65!important}.live-period-report-evidence>small{font-size:12px!important;line-height:1.6!important}


/* V4.2.339 — Referral semantic color consistency */
.customer-funnel-grid.live-funnel-grid article{border-width:1px!important;border-style:solid!important;box-shadow:0 4px 12px rgba(23,59,91,.045)}
.customer-funnel-grid.live-funnel-grid article.metric-registered{background:#eef6ff!important;border-color:#c8ddf4!important}
.customer-funnel-grid.live-funnel-grid article.metric-kyc{background:#f2f0ff!important;border-color:#d8d1fa!important}
.customer-funnel-grid.live-funnel-grid article.metric-live{background:#eefaf7!important;border-color:#c8e9df!important}
.customer-funnel-grid.live-funnel-grid article.metric-kyclive{background:#fff7e9!important;border-color:#f2ddb4!important}
.customer-funnel-grid.live-funnel-grid article.metric-ftd{background:#edf9ef!important;border-color:#c6e7ce!important}
.customer-funnel-grid.live-funnel-grid article small:empty{display:none}
.live-filtered-aggregate-grid article{border-width:1px!important;border-style:solid!important}
.live-filtered-aggregate-grid article.aggregate-count{background:#f4f8fc!important;border-color:#d4e1ec!important}
.live-filtered-aggregate-grid article.aggregate-deposit{background:#eef6ff!important;border-color:#c8ddf4!important}
.live-filtered-aggregate-grid article.aggregate-withdrawal{background:#fff7e9!important;border-color:#f2ddb4!important}
.live-filtered-aggregate-grid article.aggregate-balance{background:#eefaf7!important;border-color:#c8e9df!important}
.live-filtered-aggregate-grid article.aggregate-pnl{background:#f7f1ff!important;border-color:#ddcff4!important}
.live-customer-tools select[data-status="ALL"]{background:#f4f8fc!important;border-color:#cbd9e8!important;color:#1d344f!important}
.live-customer-tools select[data-status="FTD"],.live-customer-tools select[data-status="KYC_LIVE"]{background:#edf9ef!important;border-color:#9fd2ad!important;color:#176442!important}
.live-customer-tools select[data-status="LIVE"],.live-customer-tools select[data-status="KYC"]{background:#eef6ff!important;border-color:#a9cceb!important;color:#23557f!important}
.live-customer-tools select[data-status$="_PENDING"]{background:#fff4ef!important;border-color:#efc6b8!important;color:#9a4d37!important}
.live-period-report-kpi.tone-registered{background:#eef6ff!important;border-color:#c8ddf4!important}
.live-period-report-kpi.tone-kyc{background:#f2f0ff!important;border-color:#d8d1fa!important}
.live-period-report-kpi.tone-live{background:#eefaf7!important;border-color:#c8e9df!important}
.live-period-report-kpi.tone-kyclive{background:#fff7e9!important;border-color:#f2ddb4!important}
.live-period-report-kpi.tone-ftd{background:#edf9ef!important;border-color:#c6e7ce!important}
.live-period-report-kpi.tone-registered>strong,.live-period-report-kpi.tone-kyc>strong,.live-period-report-kpi.tone-live>strong,.live-period-report-kpi.tone-kyclive>strong,.live-period-report-kpi.tone-ftd>strong{color:#173b5b!important}
.live-period-table-v339 tbody tr:nth-child(even){background:#fbfdff}
.live-period-table-v339 .live-period-date-cell>span{color:#6f879b!important}


/* V4.2.340 — one Referral visual tone; sign/state meaning stays in text/icons, not card backgrounds. */
.customer-funnel-grid.live-funnel-grid article.metric-registered,
.customer-funnel-grid.live-funnel-grid article.metric-kyc,
.customer-funnel-grid.live-funnel-grid article.metric-live,
.customer-funnel-grid.live-funnel-grid article.metric-kyclive,
.customer-funnel-grid.live-funnel-grid article.metric-ftd,
.live-filtered-aggregate-grid article.aggregate-count,
.live-filtered-aggregate-grid article.aggregate-deposit,
.live-filtered-aggregate-grid article.aggregate-withdrawal,
.live-filtered-aggregate-grid article.aggregate-balance,
.live-filtered-aggregate-grid article.aggregate-pnl,
.live-period-report-kpi.tone-registered,
.live-period-report-kpi.tone-kyc,
.live-period-report-kpi.tone-live,
.live-period-report-kpi.tone-kyclive,
.live-period-report-kpi.tone-ftd{
  background:#f3f8fc!important;
  border-color:#cbddeb!important;
  box-shadow:0 4px 12px rgba(23,59,91,.04)!important;
}
.live-customer-tools select[data-status]{
  background:#f8fbfd!important;
  border-color:#cbd9e8!important;
  color:#1d344f!important;
}
.live-customer-tools select[data-status]:focus{border-color:#73a9d2!important;box-shadow:0 0 0 2px rgba(73,132,178,.12)!important}


/* V4.2.341 — user-requested full Referral text-tone unification.
   P/L sign remains numeric data only; it no longer changes text color anywhere in Referral UI. */
.live-filtered-aggregate-grid article.pnl>strong[data-sign="positive"],
.live-filtered-aggregate-grid article.pnl>strong[data-sign="negative"],
.live-filtered-aggregate-grid article.pnl>strong[data-sign="zero"],
.live-customer-table .live-pnl.positive>span,
.live-customer-table .live-pnl.negative>span,
.live-customer-table .live-pnl.zero>span,
.live-report-pnl.positive,
.live-report-pnl.negative,
.live-report-pnl.zero,
.liveboard-pnl.positive,
.liveboard-pnl.negative,
.liveboard-pnl.zero{
  color:#183b59!important;
}


/* V4.2.342 — preserve unified card/background tone, restore P/L sign semantics in every Referral view. */
.live-filtered-aggregate-grid article.pnl>strong[data-sign="negative"],
.live-customer-table .live-pnl.negative>span,
.live-report-pnl.negative,
.liveboard-pnl.negative{
  color:#c24747!important;
}
.live-filtered-aggregate-grid article.pnl>strong[data-sign="positive"],
.live-customer-table .live-pnl.positive>span,
.live-report-pnl.positive,
.liveboard-pnl.positive{
  color:#13764f!important;
}
.live-filtered-aggregate-grid article.pnl>strong[data-sign="zero"],
.live-customer-table .live-pnl.zero>span,
.live-report-pnl.zero,
.liveboard-pnl.zero{
  color:#183b59!important;
}


/* V4.2.344 — Referral period report capture layout + settlement report polish. */
.live-referral-period-shell{width:min(1780px,calc(100vw - 16px))!important;height:min(97vh,1120px)!important}
.live-referral-period-controls{padding:13px 18px!important}.live-referral-period-controls h2{font-size:22px!important}.live-referral-period-controls .modal-note{font-size:11px!important;line-height:1.35!important}
.live-referral-period-body{padding:13px 16px 16px!important;background:#edf3f7!important}
.live-period-event-report-v344{display:grid!important;gap:10px!important}
.live-period-v344-summary,.live-period-v344-daily-card{padding:11px 13px;border:1px solid #cfdeea;border-radius:13px;background:#fff}
.live-period-v344-summary.overall{background:#f5f9fc}.live-period-v344-summary-head,.live-period-v344-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:8px}
.live-period-v344-summary-head span,.live-period-v344-page-head span{display:block;color:#2f75a9;font-size:9px;font-weight:950;letter-spacing:.12em}.live-period-v344-summary-head strong,.live-period-v344-page-head strong{display:block;margin-top:2px;color:#173b59;font-size:15px}.live-period-v344-summary-head small{color:#71879a;font-size:10px}
.live-period-v344-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.live-period-v344-kpis article{padding:10px 12px;border:1px solid #d6e2ec;border-radius:11px;background:#fff}.live-period-v344-kpis span{display:block;color:#6c8295;font-size:9.5px;font-weight:900}.live-period-v344-kpis strong{display:block;margin:4px 0 2px;color:#173b59;font-size:23px;line-height:1.05}.live-period-v344-kpis small{display:block;color:#8194a5;font-size:9px;line-height:1.25}
.live-period-v344-pager{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.live-period-v344-pager button{height:32px;min-width:72px;padding:0 9px;border:1px solid #c9d9e5;border-radius:8px;background:#fff;color:#365d7b;font-size:10px;font-weight:900}.live-period-v344-pager button.active{border-color:#2b78b3;background:#e9f4fb;color:#145c8f}.live-period-v344-single{color:#71879a;font-size:10px;font-weight:800}
.live-period-v344-page{display:block}.live-period-v344-page[hidden]{display:none!important}.live-period-v344-page .live-period-report-table-head{margin-bottom:7px}.live-period-v344-page .live-period-report-table-head strong{font-size:14px!important}.live-period-v344-page .live-period-report-table-head small{font-size:9.5px!important}.live-period-table-v344{min-width:1080px!important;table-layout:fixed}.live-period-table-v344 th{padding:8px 10px!important;font-size:10.5px!important}.live-period-table-v344 td{padding:7px 10px!important;font-size:10.5px!important;line-height:1.2!important}.live-period-table-v344 .live-period-date-cell{width:17%!important}.live-period-table-v344 .live-period-date-cell>strong{font-size:12.5px!important}.live-period-table-v344 .live-period-date-cell>span{margin-top:3px!important;font-size:8px!important}.live-period-table-v344 .live-period-metric>strong{font-size:13px!important}.live-period-table-v344 .live-period-metric>small{margin-top:2px!important;font-size:9px!important}

/* Settlement transaction detail empty-state wording: all providers use one phrase. */
.capture-history-page-six .capture-empty-history,.settlement-meta-detail-empty{font-size:11px!important;font-weight:800!important;letter-spacing:0!important;color:#70889b!important;text-align:center!important}

/* Daily P/L editor: compact report-style spacing without shrinking readability. */
.settlement-table.pl th,.settlement-table.pl td{padding:8px 10px!important;vertical-align:middle!important;line-height:1.3!important}.settlement-table.pl td>strong{line-height:1.2!important}.settlement-table.pl textarea[data-pl-col="detail"]{min-height:48px!important;padding:7px 9px!important;font-size:11.5px!important;line-height:1.35!important;resize:vertical!important}.settlement-table.pl .settlement-pl-jpy-output{margin-top:4px!important;font-size:10px!important;line-height:1.2!important}

/* One-screen settlement capture: tighter row rhythm, clearer detail column. */
.capture-history-page-six{gap:7px!important}.capture-history-page-six>.capture-card{padding:9px 10px!important}.capture-history-page-six>.capture-card h2{margin-bottom:4px!important;font-size:12px!important;line-height:1.2!important}.capture-history-page-six table th,.capture-history-page-six table td{padding:4px 6px!important;font-size:10.25px!important;line-height:1.18!important}.capture-history-page-six .capture-section-total{font-size:9.5px!important;line-height:1.15!important}.capture-history-page-six .capture-empty-history{padding:12px 6px!important}
.capture-pl-card table th,.capture-pl-card table td{padding:4px 6px!important;font-size:11px!important;line-height:1.22!important;vertical-align:middle!important}.capture-pl-card table th:nth-child(1){width:23%!important}.capture-pl-card table th:nth-child(2){width:18%!important}.capture-pl-card table th:nth-child(3){width:43%!important}.capture-pl-card table th:nth-child(4){width:16%!important}.capture-pl-note{white-space:pre-line!important;font-size:10.5px!important;line-height:1.28!important;letter-spacing:-.01em!important}
@media(max-width:1200px){.live-period-v344-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* V4.2.345 exact registration authority + prominent selected-range banner */
.live-period-v345-range-banner{display:flex;align-items:center;gap:12px;margin:0 0 10px;padding:10px 13px;border:1px solid #b8d3e8;border-radius:11px;background:#eaf4fb;color:#17496f}
.live-period-v345-range-banner>span{font-size:10px;font-weight:950;letter-spacing:.08em;color:#2f75a9}
.live-period-v345-range-banner>strong{font-size:17px;line-height:1.1;color:#123f63}
.live-period-v345-range-banner>b{margin-left:auto;padding:4px 8px;border-radius:999px;background:#fff;border:1px solid #c6dbea;color:#2e5d80;font-size:10px}
.live-period-v345-registration-note{display:flex;align-items:center;gap:10px;margin-top:10px;padding:8px 10px;border:1px solid #e6d4a8;border-radius:10px;background:#fff9ec;color:#765719}
.live-period-v345-registration-note>strong{font-size:11px;white-space:nowrap}.live-period-v345-registration-note>span{font-size:10px;line-height:1.4}
.live-period-v345-page-range{display:block;margin-top:4px;color:#678097;font-size:10px!important;font-weight:800}
@media(max-width:760px){.live-period-v345-range-banner{align-items:flex-start;flex-direction:column}.live-period-v345-range-banner>b{margin-left:0}.live-period-v345-registration-note{align-items:flex-start;flex-direction:column}}

/* V4.2.346 referral period no-delta report */
.live-period-table-v346 .live-period-metric-v346{display:flex;align-items:center;min-height:28px}.live-period-table-v346 .live-period-metric-v346>strong{font-size:14px;line-height:1.25;color:#173b59}.live-period-v346-current-note{display:block;margin-top:8px;color:#667f95;font-size:10px;font-weight:800}

/* V4.2.347 - KST authority label cache-bust; V346 report layout preserved. */

/* V4.2.348 - cache-bust only; V347 Referral/Settlement styles preserved. */


/* V4.2.349 Referral report capture consolidation */
.live-referral-period-backdrop{padding:8px!important;align-items:center!important;justify-content:center!important}
.live-referral-period-shell{width:calc(100vw - 16px)!important;max-width:none!important;height:calc(100vh - 16px)!important;max-height:none!important;border-radius:16px!important}
.live-referral-period-controls{min-height:72px!important;padding:10px 14px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:10px!important}
.live-referral-period-heading{min-width:0}.live-referral-period-controls h2{margin:1px 0 2px!important;font-size:22px!important;line-height:1.15!important}.live-referral-period-controls .section-kicker{font-size:9px!important}.live-referral-period-controls .modal-note{font-size:10px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.live-referral-period-pager{display:flex;align-items:center;gap:7px}.live-referral-period-pager b{min-width:52px;text-align:center;color:#173b59;font-size:12px}.live-referral-period-pager .secondary-button,.live-referral-period-controls>.secondary-button{min-height:34px!important;padding:6px 11px!important;font-size:11px!important}
.live-referral-period-body{padding:8px 10px 10px!important;overflow:hidden!important;background:#eef3f7!important}
.live-report-v349-root,.live-report-v349-page{height:100%;min-height:0}.live-report-v349-page{display:flex;flex-direction:column;gap:7px}.live-report-v349-page[hidden]{display:none!important}
.live-report-v349-summary-row{display:grid;grid-template-columns:1fr 1fr;gap:7px}.live-report-v349-summary-block,.live-report-v349-table-card,.live-report-v349-ftd-overview{border:1px solid #cfdee9;border-radius:11px;background:#fff;padding:8px 10px}.live-report-v349-summary-block:first-child{background:#f6fafc}.live-report-v349-summary-block.period{background:#fbfdff}
.live-report-v349-section-head{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:6px}.live-report-v349-section-head>div>span{display:block;color:#2f75a9;font-size:8px;font-weight:950;letter-spacing:.12em}.live-report-v349-section-head strong{display:block;margin-top:1px;color:#173b59;font-size:13px;line-height:1.15}.live-report-v349-section-head strong em{margin-left:8px;color:#2e6288;font-size:11px;font-style:normal;font-weight:850}.live-report-v349-section-head>small{color:#71869a;font-size:9px;white-space:nowrap}
.live-report-v349-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.live-report-v349-kpis article{min-width:0;padding:6px 8px;border:1px solid #d8e3eb;border-radius:8px;background:#fff}.live-report-v349-kpis span{display:block;color:#6b8093;font-size:8px;font-weight:900}.live-report-v349-kpis strong{display:block;margin-top:2px;color:#173b59;font-size:20px;line-height:1}.live-report-v349-kpis small{display:block;margin-top:2px;color:#8193a3;font-size:8px}.live-report-v349-note{display:block;margin-top:5px;color:#8b681f;font-size:8.5px}
.live-report-v349-table-card{flex:1;min-height:0;display:flex;flex-direction:column}.live-report-v349-table-wrap{flex:1;min-height:0;overflow:hidden;border:1px solid #dbe5ec;border-radius:8px}.live-report-v349-table{width:100%;border-collapse:collapse;table-layout:fixed;color:#153a59}.live-report-v349-table thead th{padding:6px 8px;background:#edf4f9;border-bottom:1px solid #cddde8;font-size:9px;font-weight:950;text-align:left}.live-report-v349-table tbody td{padding:5px 8px;border-bottom:1px solid #e7edf2;font-size:11.5px;line-height:1.15;vertical-align:middle}.live-report-v349-table tbody tr:last-child td{border-bottom:0}.live-report-v349-table tbody tr:nth-child(even){background:#fbfdff}.live-report-v349-table.daily th:first-child,.live-report-v349-table.daily td:first-child{width:18%}.live-report-v349-table.daily td:not(:first-child){font-weight:900;font-size:12.5px}.live-report-v349-table.daily td:first-child strong{font-size:11px}.live-report-v349-table.daily td:first-child small{display:block;margin-top:1px;color:#6f8799;font-size:7.5px}
.live-report-v349-footnote{padding:3px 8px;color:#6c8192;font-size:8px;line-height:1.2}.live-report-v349-empty{padding:20px;text-align:center;color:#778b9c}
.live-report-v349-finance-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-bottom:7px}.live-report-v349-finance-kpis article{padding:6px 8px;border:1px solid #d6e2eb;border-radius:8px;background:#fff;min-width:0}.live-report-v349-finance-kpis span{display:block;color:#718598;font-size:8px;font-weight:900}.live-report-v349-finance-kpis strong{display:block;margin-top:2px;color:#173b59;font-size:14px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-report-v349-finance-kpis article.pnl[data-sign="negative"] strong{color:#c53b3b}.live-report-v349-finance-kpis article.pnl[data-sign="positive"] strong{color:#11774e}
.live-report-v349-country-head{display:flex;align-items:center;justify-content:space-between;margin:3px 0 4px}.live-report-v349-country-head strong{font-size:10px;color:#173b59}.live-report-v349-country-head small{font-size:8px;color:#73889a}.live-report-v349-country-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px}.live-report-v349-country-grid article{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:4px 6px;border:1px solid #d7e3eb;border-radius:7px;background:#f8fbfd}.live-report-v349-country-grid span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#527087;font-size:8px}.live-report-v349-country-grid strong{color:#173b59;font-size:9.5px;white-space:nowrap}
.live-report-v349-table.ftd th:nth-child(1),.live-report-v349-table.ftd td:nth-child(1){width:3.5%}.live-report-v349-table.ftd th:nth-child(2),.live-report-v349-table.ftd td:nth-child(2){width:22%}.live-report-v349-table.ftd th:nth-child(3),.live-report-v349-table.ftd td:nth-child(3){width:9%}.live-report-v349-table.ftd th:nth-child(4),.live-report-v349-table.ftd td:nth-child(4){width:15%}.live-report-v349-table.ftd th:nth-child(n+5),.live-report-v349-table.ftd td:nth-child(n+5){width:12.6%;text-align:right}.live-report-v349-table.ftd td:nth-child(2) strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-report-v349-table.ftd td:nth-child(2) small{display:block;margin-top:1px;color:#73889b;font-size:7.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-report-v349-pnl.negative{color:#c63e3e;font-weight:900}.live-report-v349-pnl.positive{color:#11774e;font-weight:900}
@media(max-width:1200px){.live-report-v349-summary-row{grid-template-columns:1fr}.live-report-v349-country-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.live-referral-period-body{overflow:auto!important}.live-report-v349-page{height:auto}}


/* V4.2.351 REFERRAL REPORT READABILITY + 30-DAY DENSITY
   Scope is intentionally limited to the Referral report/capture surface. */
.live-referral-period-controls h2{font-size:27px!important;line-height:1.12!important}
.live-referral-period-controls .section-kicker{font-size:11px!important;letter-spacing:.13em!important}
.live-referral-period-controls .modal-note{font-size:12px!important;line-height:1.35!important}
.live-referral-period-pager b{font-size:13px!important}
.live-referral-period-pager .secondary-button,.live-referral-period-controls>.secondary-button{font-size:12px!important}

.live-report-v349-section-head>div>span{font-size:10px!important;letter-spacing:.13em!important}
.live-report-v349-section-head strong{font-size:16px!important;line-height:1.14!important}
.live-report-v349-section-head strong em{font-size:13px!important}
.live-report-v349-section-head>small{font-size:10.5px!important}

.live-report-v349-kpis span{font-size:11px!important;line-height:1.15!important}
.live-report-v349-kpis strong{font-size:23px!important;line-height:1.02!important;margin-top:3px!important}
.live-report-v349-kpis small{font-size:9.5px!important}
.live-report-v349-note{font-size:9.5px!important}

.live-report-v349-table thead th{font-size:10.5px!important}
.live-report-v349-table.daily td:not(:first-child){font-size:12.5px!important}
.live-report-v349-table.daily td:first-child strong{font-size:11.5px!important}
.live-report-v349-table.daily td:first-child small{font-size:8px!important}

.live-report-v349-finance-kpis span{font-size:10px!important;line-height:1.15!important}
.live-report-v349-finance-kpis strong{font-size:17px!important;line-height:1.12!important}
.live-report-v349-country-head{margin:5px 0 6px!important}
.live-report-v349-country-head strong{font-size:13px!important}
.live-report-v349-country-head small{font-size:10px!important}
.live-report-v349-country-grid{gap:5px!important}
.live-report-v349-country-grid article{padding:5px 7px!important}
.live-report-v349-country-grid span{font-size:10.5px!important;line-height:1.15!important}
.live-report-v349-country-grid strong{font-size:11.5px!important;line-height:1.15!important}

/* Keep 30 daily rows inside the full-screen report at normal desktop sizes. */
.live-report-v349-page.period-page .live-report-v349-table tbody td{padding-top:4px!important;padding-bottom:4px!important}
.live-report-v349-page.period-page .live-report-v349-table-card{padding-bottom:7px!important}
.live-report-v349-page.period-page .live-report-v349-footnote{font-size:8.5px!important}


/* V4.2.352 REFERRAL BONUS SEPARATION + COUNTRY EMPHASIS
   Cash Balance and promotional Bonus stay separate; primary P/L remains cash-only. */
.live-report-v349-country-grid span{color:#173b59!important;font-weight:950!important;letter-spacing:.01em!important}
.live-report-v349-finance-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.live-report-v349-finance-kpis article.bonus strong,.live-report-v349-table.ftd td.live-report-v352-bonus{font-weight:900!important}
.live-report-v349-table.ftd th:nth-child(1),.live-report-v349-table.ftd td:nth-child(1){width:3.2%!important}
.live-report-v349-table.ftd th:nth-child(2),.live-report-v349-table.ftd td:nth-child(2){width:20%!important}
.live-report-v349-table.ftd th:nth-child(3),.live-report-v349-table.ftd td:nth-child(3){width:8%!important}
.live-report-v349-table.ftd th:nth-child(4),.live-report-v349-table.ftd td:nth-child(4){width:14%!important}
.live-report-v349-table.ftd th:nth-child(n+5),.live-report-v349-table.ftd td:nth-child(n+5){width:10.96%!important;text-align:right}


/* V4.2.353 REFERRAL FINANCE EMPHASIS
   Deposit / Withdrawal / Balance / Bonus / P/L values share the same strong numeric weight. */
.live-customer-table .live-finance-cell>span{font-weight:900!important}
.live-report-v349-table.ftd td:nth-child(n+5){font-weight:900!important}


/* V4.2.354 REFERRAL 25-DAY PAGING + TRADE EVIDENCE
   Trade evidence is diagnostic only; authoritative P/L remains cash-flow based. */
.live-pnl-trade-row-v354{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0}
.live-pnl-trade-row-v354>span:first-child{font-weight:900}
.live-trade-evidence-v354{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:2px 5px;border-radius:999px;border:1px solid #c9d8e4;background:#f4f8fb;color:#506b80;font-size:8px!important;font-weight:900!important;line-height:1.1;white-space:nowrap}
.live-trade-evidence-v354.has{border-color:#b9d6e9;background:#eef7fc;color:#23628e}
.live-trade-evidence-v354.none{border-color:#d7dde3;background:#f7f8fa;color:#6d7d89}
.live-trade-evidence-v354.pending{border-color:#ead9af;background:#fff9eb;color:#8a6a22}
.live-report-v349-table.ftd .live-pnl-trade-row-v354{justify-content:flex-end}

/* V4.2.355 REALTIME ORDER COLLECTION DEPARTMENT: trade evidence presentation retained; pending means active Order synchronization. */

/* V4.2.356: report trade evidence resolves before report render; no pending trade badge is rendered in finalized report. */

/* V4.2.357 CENTRAL TRADE SNAPSHOT + P/L SIGN COLOR RECOVERY
   Trade badges no longer create a report-click synchronization state.
   V354 wrapper changed DOM nesting, so restore V342 sign colors against the wrapped P/L value. */
.live-customer-table .live-pnl.negative .live-pnl-trade-row-v354>span:first-child{color:#c24747!important}
.live-customer-table .live-pnl.positive .live-pnl-trade-row-v354>span:first-child{color:#13764f!important}
.live-customer-table .live-pnl.zero .live-pnl-trade-row-v354>span:first-child{color:#183b59!important}

/* V4.2.359 dedicated trade-count field */
.live-trade-count-v358,.live-report-v358-trade{font-weight:900!important;color:#173b59!important;white-space:nowrap}
.live-customer-table{min-width:1480px!important}
.live-report-v349-table.ftd th:nth-child(1),.live-report-v349-table.ftd td:nth-child(1){width:3%!important}
.live-report-v349-table.ftd th:nth-child(2),.live-report-v349-table.ftd td:nth-child(2){width:18%!important}
.live-report-v349-table.ftd th:nth-child(3),.live-report-v349-table.ftd td:nth-child(3){width:7%!important}
.live-report-v349-table.ftd th:nth-child(4),.live-report-v349-table.ftd td:nth-child(4){width:13%!important}
.live-report-v349-table.ftd th:nth-child(n+5),.live-report-v349-table.ftd td:nth-child(n+5){width:9.83%!important;text-align:right}
.live-report-v349-table.ftd th:nth-child(10),.live-report-v349-table.ftd td:nth-child(10){text-align:center!important}
.liveboard-pnl.negative>span{color:#c63e3e!important;font-weight:900!important}
.liveboard-pnl.positive>span{color:#11774e!important;font-weight:900!important}
.liveboard-pnl.zero>span{color:#173b59!important;font-weight:900!important}
.live-customer-table .live-pnl.negative>span:first-child{color:#c24747!important}
.live-customer-table .live-pnl.positive>span:first-child{color:#13764f!important}
.live-customer-table .live-pnl.zero>span:first-child{color:#183b59!important}

/* V4.2.359 exact source event-time coverage warning */
.live-report-v359-source-time-warning{display:block;margin-top:5px;padding:5px 7px;border:1px solid #e8d7ae;border-radius:7px;background:#fffaf0;color:#7b5b1c;font-size:9.5px;font-weight:800;line-height:1.25}

.live-report-v359-source-time-warning.violation{font-weight:800}


/* V4.2.373 — settlement top summary helper rows must never overlap.
   Values/formulas are unchanged; only the vertical grid budget is corrected. */
.settlement-summary-grid article{
  height:146px!important;
  min-height:146px!important;
  grid-template-rows:34px 31px minmax(34px,auto) minmax(20px,auto)!important;
  row-gap:2px!important;
}
.settlement-summary-grid article.flow-net>small:first-of-type{
  height:auto!important;
  min-height:34px!important;
  align-content:start!important;
  overflow:visible!important;
}
.settlement-summary-grid article>small+small{
  margin-top:0!important;
  min-height:20px!important;
}

/* V4.2.375 Referral realtime recovery state policy.
   Red is reserved for a confirmed request/data failure. Shell/Finance/Order hydration is informational. */
.live-customer-head>div>small[data-state="loading"],
.live-customer-head>div>small[data-state="syncing"]{color:#2b658e!important}
.live-customer-head>div>small[data-state="online"]{color:#24795c!important}
.live-customer-head>div>small[data-state="error"]{color:#c83d49!important}
.live-referral-resultbar small,#liveReferralResultMeta{color:#71869b!important}
.live-realtime-state[data-state="syncing"]{border-color:#bfd7ef!important;background:#f3f8ff!important;color:#2b658e!important}
.live-realtime-state[data-state="syncing"]::before{background:#4b8fbe!important;box-shadow:0 0 0 3px rgba(75,143,190,.13)!important;animation:livePulse 1.2s infinite}
.live-realtime-state[data-state="error"]{border-color:#efc1b8!important;background:#fff2f0!important;color:#b34234!important}
.live-realtime-state[data-state="error"]::before{background:#d55a4b!important}
.live-realtime-state[data-state="warning"]{border-color:#d8c58e!important;background:#fffaf0!important;color:#765519!important}
.live-realtime-state[data-state="warning"]::before{background:#c6922d!important;box-shadow:0 0 0 3px rgba(198,146,45,.13)!important}

/* V4.2.376 cache-only period pending state: keep the modal usable without error/red failure styling. */
.live-period-pending-v376{display:flex;flex-direction:column;gap:6px;align-items:flex-start;justify-content:center;min-height:140px;padding:18px}.live-period-pending-v376 strong{font-size:14px}.live-period-pending-v376 span{font-size:10px;line-height:1.6}.live-period-pending-v376 small{font-size:8px;opacity:.78}

/* V4.2.383 - V382 settlement layout preserved; settlement-fee P/L correction is logic-only. */
.settlement-kev-balance-grid.settlement-payment-grid8-v302{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
.settlement-kev-settlement-grid-v382.settlement-payment-grid8-v302{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.settlement-kev-settlement-grid-v382>label{
  grid-column:1!important;
}
.settlement-kev-settlement-v382 input{
  background:#fff8ec!important;
  border-color:#e2c996!important;
  color:#7b5a1c!important;
}
.capture-kv-kev{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
.capture-kv-kev>span:nth-child(1){grid-column:1!important;grid-row:1!important}
.capture-kv-kev>span:nth-child(2){grid-column:2!important;grid-row:1!important}
.capture-kv-kev>span:nth-child(3){grid-column:3!important;grid-row:1!important}
.capture-kv-kev>span:nth-child(4){grid-column:4!important;grid-row:1!important}
.capture-kv-kev>span:nth-child(5){grid-column:5!important;grid-row:1!important}
.capture-kv-kev>span:nth-child(6){grid-column:1!important;grid-row:2!important}
.capture-kv-kev>span:nth-child(7){grid-column:2!important;grid-row:2!important}
.capture-kv-kev>span:nth-child(8){grid-column:3!important;grid-row:2!important}
.capture-kv-kev>span:nth-child(9){grid-column:4!important;grid-row:2!important}
@media(max-width:1180px){
  .settlement-kev-balance-grid.settlement-payment-grid8-v302,
  .settlement-kev-settlement-grid-v382.settlement-payment-grid8-v302{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:680px){
  .settlement-kev-balance-grid.settlement-payment-grid8-v302,
  .settlement-kev-settlement-grid-v382.settlement-payment-grid8-v302{grid-template-columns:1fr!important}
  .settlement-kev-settlement-grid-v382>label{grid-column:auto!important}
}

/* V396: Central preview contains no source work and never overwrites a confirmed ledger. */
#settlementKevCentralPreviewV396{margin-top:8px;font-size:13px;line-height:1.65;overflow-wrap:anywhere;}
.central-read-summary-v396{padding:10px;border:1px solid currentColor;border-radius:8px;}
.central-read-table-v396{overflow:auto;max-height:320px;}
.central-read-table-v396 table{width:100%;border-collapse:collapse;}
.central-read-table-v396 td,.central-read-table-v396 th{padding:6px 10px;text-align:left;border-bottom:1px solid currentColor;white-space:nowrap;}
#settlementKevCentralPreviewV396 summary{cursor:pointer;margin:5px 0;}

/* V398 receipt labels: a scope hash or long hostname may not overflow a card. */
.collector-native-volume>small{min-width:0;overflow-wrap:anywhere;word-break:normal}
.collector-native-volume>strong{font-size:14px}

/* V406 independent merchant fee, exactly below settlement principal. */
.capture-kv-kev>span:nth-child(6){grid-column:5!important;grid-row:2!important}
.capture-kv-kev>span:nth-child(7){grid-column:1!important;grid-row:2!important}
.capture-kv-kev>span:nth-child(8){grid-column:2!important;grid-row:2!important}
.capture-kv-kev>span:nth-child(9){grid-column:3!important;grid-row:2!important}
.capture-kv-kev>span:nth-child(10){grid-column:4!important;grid-row:2!important}
.capture-stic-order.stic-linkage-v406 small{display:block!important;white-space:normal;overflow-wrap:anywhere}
.settlement-unresolved-v406{overflow:auto}


/* V407 Bitorage unresolved: compact, provider-owned, collapsed by default. */
.settlement-bitorage-unresolved-v407{margin:8px 0 12px;border:1px solid var(--line,#dbe5ef);border-radius:10px;background:#fff;overflow:hidden}
.settlement-bitorage-unresolved-v407>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;font-size:12px;font-weight:700;list-style:none}
.settlement-bitorage-unresolved-v407>summary::-webkit-details-marker{display:none}
.settlement-bitorage-unresolved-v407>summary b{font-size:11px;font-weight:700;color:#9a6700}
.settlement-bitorage-unresolved-v407>p{margin:0;padding:0 12px 9px;color:var(--muted,#64748b);font-size:11px}
.settlement-bitorage-unresolved-table-v407{max-height:280px;overflow:auto;border-top:1px solid var(--line,#e5edf5)}
.settlement-bitorage-unresolved-table-v407 table{width:100%;border-collapse:collapse;font-size:11px}
.settlement-bitorage-unresolved-table-v407 th,.settlement-bitorage-unresolved-table-v407 td{padding:7px 9px;border-bottom:1px solid var(--line,#edf2f7);text-align:left;vertical-align:top;white-space:nowrap}

/* V408/V409: compact Bitorage recovery control; V409 mounts it inside 03-B. */
.settlement-bitorage-linkage-repair-v408{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 12px 10px;padding:10px 12px;border:1px solid #bfd9eb;border-radius:10px;background:linear-gradient(135deg,#f8fcff,#edf7fd)}
.settlement-bitorage-linkage-repair-v408[hidden]{display:none!important}
.settlement-bitorage-linkage-repair-v408>div{min-width:0;display:grid;gap:3px}
.settlement-bitorage-linkage-repair-v408 strong{color:#174d73;font-size:11px;font-weight:900}
.settlement-bitorage-linkage-repair-v408 small{color:#627b90;font-size:10px;line-height:1.45}
.settlement-bitorage-linkage-repair-v408 button{flex:0 0 auto;min-height:32px;padding:0 12px;border:1px solid #8ebedc;border-radius:9px;background:#fff;color:#17679b;font-size:10px;font-weight:900;cursor:pointer}
.settlement-bitorage-linkage-repair-v408 button:disabled{opacity:.55;cursor:default}

/* V409: Bitorage recovery actions are owned by the 03-B withdrawal workflow. */
.settlement-bitorage-recovery-v409{display:grid;gap:8px;margin-top:10px}
.settlement-bitorage-recovery-v409[hidden]{display:none!important}
.settlement-bitorage-recovery-v409 .settlement-bitorage-linkage-repair-v408{margin:0}

/* V410 Central operator dashboard */
.collector-native-ops-v410{display:grid;gap:12px;margin:14px 0 16px}.collector-native-today-v410{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.collector-native-today-v410>div{border:1px solid var(--line,#dfe4ea);border-radius:12px;padding:12px 14px;background:var(--panel,#fff);display:flex;align-items:center;justify-content:space-between;gap:10px}.collector-native-today-v410 span{font-size:12px;opacity:.72}.collector-native-today-v410 strong{font-size:22px}.collector-native-run-v410{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,2fr) 56px;align-items:center;gap:12px;border:1px solid var(--line,#dfe4ea);border-radius:12px;padding:12px 14px}.collector-native-run-v410>div:first-child{display:grid;gap:3px}.collector-native-run-v410 small{opacity:.72}.collector-native-run-bar-v410{height:10px;border-radius:999px;background:rgba(127,127,127,.16);overflow:hidden}.collector-native-run-bar-v410 i{display:block;height:100%;background:currentColor;border-radius:inherit;transition:width .25s ease}.collector-native-run-v410>b{text-align:right}.collector-native-repair-v410{border:1px solid var(--line,#dfe4ea);border-radius:12px;padding:10px 14px}.collector-native-repair-v410 summary{cursor:pointer;font-weight:700}.collector-native-repair-grid-v410{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(260px,1.3fr);gap:12px 16px;margin-top:12px;align-items:end}.collector-native-repair-grid-v410 label,.collector-native-repair-grid-v410>div{display:grid;gap:6px}.collector-native-repair-grid-v410 input{min-height:38px;border:1px solid var(--line,#dfe4ea);border-radius:8px;padding:7px 10px;background:transparent;color:inherit}.collector-native-repair-grid-v410 small{opacity:.72}.collector-native-repair-grid-v410 button{justify-self:start}.settlement-central-only-notice-v410{margin-top:10px;border:1px solid var(--line,#dfe4ea);border-radius:10px;padding:10px 12px;display:grid;gap:3px}.settlement-central-only-notice-v410 small{opacity:.72}@media(max-width:900px){.collector-native-today-v410{grid-template-columns:repeat(2,minmax(0,1fr))}.collector-native-run-v410{grid-template-columns:1fr}.collector-native-run-v410>b{text-align:left}.collector-native-repair-grid-v410{grid-template-columns:1fr}}


/* V4.2.413 reconciliation diagnostics / fast-path */
.collector-native-diagnostics-v412{border:1px solid #d9e1ea;border-radius:12px;background:#fbfcfe;padding:0 12px;}
.collector-native-diagnostics-v412>summary{cursor:pointer;padding:12px 2px;font-weight:800;display:flex;align-items:center;gap:10px;}
.collector-native-diagnostics-v412>summary small{font-weight:500;color:#667085;}
.collector-native-diagnostics-actions-v412{display:flex;gap:8px;flex-wrap:wrap;padding:0 0 10px;}
.collector-native-diagnostics-body-v412{margin:0 0 12px;max-height:320px;overflow:auto;white-space:pre-wrap;word-break:break-word;background:#0f1724;color:#e6edf5;border-radius:10px;padding:12px;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;}

/* V4.2.415 compact operator-only collector dashboard */
.collector-native-vendor-grid{gap:8px;margin:10px 0 12px}
.collector-native-vendor-card-v415{padding:10px 11px;border-radius:12px;box-shadow:0 3px 12px rgba(15,23,36,.04)}
.collector-native-vendor-card-v415 header{margin-bottom:7px;align-items:center}
.collector-native-vendor-card-v415 header strong{font-size:16px}
.collector-native-vendor-card-v415 header b{max-width:220px;text-align:right}
.collector-native-volume-grid-v415{gap:6px;margin:3px 0 7px}
.collector-native-volume-v415{border:1px solid #dde5ed;border-radius:9px;background:#f9fbfd;padding:7px;min-width:0}
.collector-native-volume-v415>strong{display:block;font-size:10px;color:#61778c;letter-spacing:.04em;margin-bottom:5px}
.collector-native-volume-v415>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.collector-native-volume-v415 span{display:grid;gap:2px;font-size:8.5px;color:#8192a2;min-width:0}
.collector-native-volume-v415 span b{font-size:12px;color:#18344d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.collector-native-volume-v415 span small{font-size:8px;color:#8192a2;white-space:nowrap}
.collector-native-today-line-v415{border-top:1px solid #e8edf2;padding-top:7px;font-size:10px;font-weight:850;color:#274b67;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.collector-native-card-foot-v415{margin-top:6px}
.collector-native-card-foot-v415>span{font-size:9px;font-weight:700;color:#7a8d9d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.collector-native-card-foot-v415>button{padding:5px 8px}
.collector-native-ops-v410{margin:6px 0 8px;gap:6px}
.collector-native-repair-v410{padding:7px 10px;border-radius:9px}
.collector-native-repair-v410 summary{font-size:11px}
@media(max-width:1250px){.collector-native-volume-v415>div{grid-template-columns:1fr}.collector-native-vendor-card-v415 header b{max-width:none}}

/* V415 final compact pass */
#collectorPlatformObservatoryPanel .collector-platform-panel-head{margin-bottom:6px}
#collectorPlatformObservatoryPanel .collector-platform-panel-head>div:first-child>span{font-size:9px}
#collectorPlatformObservatoryPanel .collector-platform-panel-head>div:first-child>strong{font-size:18px}
#collectorPlatformObservatoryPanel .collector-native-ops-v410{margin-top:2px}
#collectorPlatformObservatoryPanel .collector-native-repair-v410{margin-bottom:4px}
.collector-native-vendor-card-v415 .collector-native-card-foot-v415{min-height:28px;justify-content:flex-end}
.collector-native-vendor-card-v415 .collector-native-card-foot-v415>span{margin-right:auto;color:#a04a4a}


/* V4.2.416 — single-line, high-contrast collector volume table */
.collector-native-vendor-card-v415{padding:10px 12px}
.collector-native-vendor-card-v415 header{margin-bottom:8px}
.collector-native-vendor-card-v415 header strong{font-size:17px;line-height:1.15;color:#0f2f49}
.collector-native-vendor-card-v415 header>div>span{font-size:9.5px;font-weight:800;color:#6f8293;letter-spacing:.025em;white-space:nowrap}
.collector-native-vendor-card-v415 header b{font-size:11px;font-weight:900;white-space:nowrap}
.collector-native-volume-grid-v416{display:block;margin:4px 0 8px;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
.collector-native-volume-table-v416{min-width:445px;border:1px solid #d6e1eb;border-radius:10px;background:#fbfdff;overflow:hidden}
.collector-native-volume-head-v416,.collector-native-volume-row-v416{display:grid;grid-template-columns:minmax(64px,.72fr) repeat(3,minmax(92px,1fr));align-items:center;column-gap:0}
.collector-native-volume-head-v416{min-height:29px;background:#eef4f8;border-bottom:1px solid #dbe5ed;color:#526b7f}
.collector-native-volume-head-v416 span{padding:6px 8px;font-size:10.5px;font-weight:900;line-height:1;white-space:nowrap;text-align:right}
.collector-native-volume-head-v416 span:first-child{text-align:left}
.collector-native-volume-row-v416{min-height:34px;border-bottom:1px solid #e8eef3}
.collector-native-volume-row-v416:last-child{border-bottom:0}
.collector-native-volume-row-v416>strong{padding:7px 8px;font-size:11.5px;font-weight:900;line-height:1;color:#36566f;white-space:nowrap;text-align:left}
.collector-native-volume-row-v416>b{padding:7px 8px;font-size:14.5px;font-weight:950;line-height:1;font-variant-numeric:tabular-nums;color:#102f48;white-space:nowrap;text-align:right}
.collector-native-volume-row-v416>b[data-diff-tone="match"]{color:#0b6a52}
.collector-native-volume-row-v416>b[data-diff-tone="excess"],.collector-native-volume-row-v416>b[data-diff-tone="missing"]{color:#9a4d00}
.collector-native-volume-row-v416>b[data-diff-tone="unknown"]{color:#687b8c}
.collector-native-today-line-v415{padding-top:8px;font-size:11.5px;font-weight:900;color:#173e5c;line-height:1.2}
.collector-native-card-foot-v415>button{font-size:10.5px;font-weight:900}
@media(max-width:1050px){.collector-native-volume-table-v416{min-width:0}.collector-native-volume-grid-v416{overflow-x:visible}}
@media(max-width:560px){.collector-native-volume-grid-v416{overflow-x:auto}.collector-native-volume-table-v416{min-width:445px}}


/* V4.2.416 settlement viewport containment + historical Central evidence consistency. */
body.settlement-workspace{overflow-x:hidden}
body.settlement-workspace .main-content,
body.settlement-workspace .settlement-section,
body.settlement-workspace .settlement-editor,
body.settlement-workspace .settlement-summary-grid,
body.settlement-workspace .settlement-payment-grid-v299{min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important}
body.settlement-workspace .settlement-summary-grid{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))!important;gap:10px!important}
body.settlement-workspace .settlement-summary-grid article{min-width:0!important}
body.settlement-workspace .settlement-two-column,
body.settlement-workspace .settlement-payment-grid-v299{min-width:0!important}
body.settlement-workspace .settlement-card{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body.settlement-workspace .settlement-table-wrap,
body.settlement-workspace .central-read-table-v396{max-width:100%!important;min-width:0!important}
#settlementKevCentralPreviewV396 .central-read-summary-v396{font-size:12px!important;line-height:1.5!important;color:#173f5f!important;background:#fbfdff!important}
#settlementKevCentralPreviewV396 details{max-width:100%!important}
@media(max-width:1680px){
  body.settlement-workspace .settlement-payment-grid-v299{grid-template-columns:1fr!important}
  body.settlement-workspace .settlement-payment-grid-v299>.settlement-kev-card{grid-column:auto!important}
}

/* V421 operator-only SP exact source/Central sync */
.collector-native-sp-exact-sync-v421{grid-column:1/-1;border-top:1px dashed var(--line,#dfe4ea);padding-top:10px;display:grid;grid-template-columns:minmax(220px,.7fr) minmax(360px,1.6fr) auto;align-items:center;gap:8px 14px}.collector-native-sp-exact-sync-v421>strong{font-size:12px}.collector-native-sp-exact-sync-v421>small{opacity:.76}.collector-native-sp-exact-sync-v421>button{justify-self:start}.collector-native-sp-exact-sync-v421>small:last-child{grid-column:1/-1;font-variant-numeric:tabular-nums}@media(max-width:900px){.collector-native-sp-exact-sync-v421{grid-template-columns:1fr}}

/* V422 full/date SP sync progress and operator visibility */
.collector-native-sp-sync-v422{grid-column:1/-1;border-top:1px dashed var(--line,#dfe4ea);padding-top:10px;display:grid;gap:9px}
.collector-native-sp-sync-head-v422{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.collector-native-sp-sync-head-v422>div{display:grid;gap:3px}.collector-native-sp-sync-head-v422 strong{font-size:12px}.collector-native-sp-sync-head-v422 small{opacity:.76}
.collector-native-sp-sync-progress-v422{display:grid;gap:8px;padding:9px 10px;border:1px solid #d8e4ef;border-radius:10px;background:#f8fbfe}.collector-native-sp-sync-overall-v422{display:grid;grid-template-columns:80px minmax(120px,1fr) 52px;align-items:center;gap:10px;font-size:11px;font-weight:900}.collector-native-sp-sync-overall-v422 progress,.collector-native-sp-sync-datasets-v422 progress,.collector-native-sp-date-progress-v422 progress{width:100%;height:12px}.collector-native-sp-sync-datasets-v422{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.collector-native-sp-sync-datasets-v422>div{display:grid;grid-template-columns:42px minmax(70px,1fr) auto;gap:6px;align-items:center;padding:7px 8px;background:#fff;border:1px solid #e4ebf2;border-radius:8px;font-size:10.5px}.collector-native-sp-sync-datasets-v422 small{grid-column:1/-1;color:#587086}.collector-native-sp-sync-datasets-v422 [data-state="ERROR"]{border-color:#efb4b4;background:#fff7f7}.collector-native-sp-sync-datasets-v422 [data-state="CANCELLED"]{border-color:#e4d09a;background:#fffaf0}.collector-native-sp-sync-datasets-v422 [data-state="COMPLETE"]{border-color:#b9dfc7;background:#f6fff9}
.collector-native-sp-date-sync-v422{display:grid;grid-template-columns:minmax(220px,320px) auto minmax(220px,1fr);gap:8px 12px;align-items:end;padding-top:9px;border-top:1px dashed #dfe4ea}.collector-native-sp-date-sync-v422 label{display:grid;gap:4px;font-size:10.5px;font-weight:900}.collector-native-sp-date-sync-v422 input{min-height:34px}.collector-native-sp-date-progress-v422{display:grid;grid-template-columns:minmax(120px,1fr) 50px;gap:8px;align-items:center}.collector-native-sp-date-sync-v422>small{grid-column:1/-1;color:#587086}
@media(max-width:900px){.collector-native-sp-sync-head-v422,.collector-native-sp-sync-datasets-v422,.collector-native-sp-date-sync-v422{grid-template-columns:1fr}.collector-native-sp-sync-overall-v422{grid-template-columns:70px 1fr 42px}}

/* V4.2.423 SP exact-sync diagnostics */
.collector-native-sp-sync-diagnostics-v423{margin-top:10px;border-top:1px dashed var(--line,#dfe4ea);padding-top:8px}
.collector-native-sp-sync-diagnostics-v423>summary{cursor:pointer;font-size:12px;font-weight:900;color:#173e5c}
.collector-native-sp-sync-diagnostics-head-v423{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:8px 0}
.collector-native-sp-sync-diagnostics-head-v423 small{line-height:1.45;color:#667b8c}
.collector-native-sp-sync-diagnostics-body-v423{display:grid;gap:6px;max-height:260px;overflow:auto}
.collector-native-sp-sync-diagnostic-row-v423{display:grid;grid-template-columns:90px 150px 90px minmax(120px,.8fr) minmax(240px,2fr) 170px;gap:8px;align-items:start;padding:7px 8px;border:1px solid #e3e9ef;border-radius:8px;background:#fbfdff;font-size:11px}
.collector-native-sp-sync-diagnostic-row-v423 code{white-space:normal;overflow-wrap:anywhere}.collector-native-sp-sync-diagnostic-row-v423 small{color:#8a2f2f;overflow-wrap:anywhere}.collector-native-sp-sync-diagnostic-row-v423 em{font-style:normal;color:#667b8c;overflow-wrap:anywhere}
@media(max-width:1050px){.collector-native-sp-sync-diagnostic-row-v423{grid-template-columns:1fr 1fr}.collector-native-sp-sync-diagnostics-head-v423{align-items:flex-start;flex-direction:column}}

/* V4.2.424 fresh-run binding scope */
.collector-native-sp-sync-diagnostic-scope-v424{font-size:11px;font-weight:900;color:#31566f;padding:5px 7px;border-bottom:1px solid var(--line,#dfe4ea);word-break:break-all}

/* V4.2.427 SP exact-sync operator controls */
.collector-native-sp-sync-actions-v427{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.collector-native-sp-sync-actions-v427 [hidden]{display:none!important}

/* V4.2.441 — Period Settlement Excel report button */
.settlement-period-range .settlement-excel-button-v440{background:#edf8f0;border-color:#b9dec3;color:#176b34;font-weight:900}.settlement-period-range .settlement-excel-button-v440:hover:not(:disabled){background:#e2f4e7;border-color:#8fcda1;color:#0f5a2a}.settlement-period-range .settlement-excel-button-v440:disabled{background:#f4f7f5;color:#94a79a;border-color:#d9e2dc}

/* V4.2.455 selectable SP reconciliation datasets */
.collector-native-sp-sync-selection-v455{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;margin:10px 0 12px;padding:10px 12px;border:1px solid var(--line,rgba(148,163,184,.28));border-radius:12px;background:rgba(255,255,255,.5)}
.collector-native-sp-sync-selection-v455>span{display:flex;align-items:center;font-size:12px;font-weight:800;color:var(--muted,#64748b);padding:0 4px}
.collector-native-sp-sync-selection-v455 label{display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:7px;align-items:center;min-width:132px;padding:8px 10px;border:1px solid rgba(148,163,184,.30);border-radius:10px;background:rgba(255,255,255,.76);cursor:pointer}
.collector-native-sp-sync-selection-v455 input{grid-row:1/3;margin:0;align-self:center}
.collector-native-sp-sync-selection-v455 b{font-size:13px;line-height:1.2}
.collector-native-sp-sync-selection-v455 small{font-size:10px;color:var(--muted,#64748b);line-height:1.25}
.collector-native-sp-sync-selection-v455 label:has(input:checked){border-color:rgba(37,99,235,.45);box-shadow:0 0 0 1px rgba(37,99,235,.08) inset}
.collector-native-sp-sync-selection-v455 label:has(input:disabled){opacity:.62;cursor:not-allowed}
.collector-native-sp-sync-datasets-v422>div[data-state="SKIPPED"]{opacity:.5}


/* V4.2.462 Daily summary: two currency authorities, equal cards within each board. */
body.settlement-workspace .settlement-summary-grid.settlement-summary-v462{
  display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)!important;gap:12px!important;align-items:stretch!important;
}
body.settlement-workspace .settlement-summary-board-v462{min-width:0;border:1px solid #d7e5ef;border-radius:14px;background:#f9fcfe;padding:10px 12px;display:flex;flex-direction:column;gap:9px}
body.settlement-workspace .settlement-summary-board-v462.krw-board{background:#fbfafc;border-color:#e5deeb}
body.settlement-workspace .settlement-summary-board-head-v462{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px}
body.settlement-workspace .settlement-summary-board-head-v462>div{display:flex;align-items:center;gap:8px;min-width:0}
body.settlement-workspace .settlement-summary-board-head-v462 span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:24px;border-radius:999px;background:#e6f2fb;color:#185780;font-size:11px;font-weight:900;letter-spacing:.08em}
body.settlement-workspace .settlement-summary-board-v462.krw-board .settlement-summary-board-head-v462 span{background:#f0eafb;color:#65428a}
body.settlement-workspace .settlement-summary-board-head-v462 strong{font-size:14px;color:#102a43;white-space:nowrap}
body.settlement-workspace .settlement-summary-board-head-v462 small{font-size:10.5px;color:#70869a;text-align:right}
body.settlement-workspace .settlement-summary-cards-v462{display:grid;gap:8px;min-width:0;flex:1}
body.settlement-workspace .settlement-summary-cards-v462.four{grid-template-columns:repeat(4,minmax(0,1fr))}
body.settlement-workspace .settlement-summary-cards-v462.three{grid-template-columns:repeat(3,minmax(0,1fr))}
body.settlement-workspace .settlement-summary-cards-v462 article{min-width:0!important;padding:10px 9px!important;border:1px solid #e0eaf1!important;border-radius:11px!important;background:#fff!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;text-align:center!important;gap:4px!important;box-shadow:none!important}
body.settlement-workspace .settlement-summary-cards-v462 article>span{font-size:10.5px!important;line-height:1.25!important;white-space:normal!important;color:#516a7f!important;font-weight:800!important}
body.settlement-workspace .settlement-summary-cards-v462 article>strong{font-size:17px!important;line-height:1.2!important;color:#102a43!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}
body.settlement-workspace .settlement-summary-cards-v462 article>small{font-size:9.5px!important;line-height:1.25!important;color:#7d91a3!important;white-space:normal!important;min-height:12px!important}
body.settlement-workspace .settlement-summary-cards-v462 article.fee>strong{color:#79523a!important}
.capture-bitorage-fee-v462{display:block;margin-top:3px;font-size:.78em;color:#8a674e;font-weight:700;white-space:normal}
@media(max-width:1180px){body.settlement-workspace .settlement-summary-grid.settlement-summary-v462{grid-template-columns:1fr!important}.settlement-summary-cards-v462.four{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){body.settlement-workspace .settlement-summary-cards-v462.four,body.settlement-workspace .settlement-summary-cards-v462.three{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V4.2.463 Daily summary + crypto/hot separation + P/L readability */
body.settlement-workspace .settlement-summary-cards-v462.five{grid-template-columns:repeat(5,minmax(0,1fr))!important}
body.settlement-workspace .settlement-summary-cards-v462 article.net>strong{color:#0f6f5c!important}
body.settlement-workspace .settlement-summary-cards-v462 article.fee>strong{color:#79523a!important}
@media(max-width:1180px){body.settlement-workspace .settlement-summary-cards-v462.five{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:900px){body.settlement-workspace .settlement-summary-cards-v462.five{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.capture-summary-group-v463>h2{margin:7px 0 4px!important;font-size:11px!important;color:#214765!important;border-bottom:1px solid #d8e5ef!important;padding-bottom:3px!important}
.capture-summary-strip-v463.five{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important}
.capture-crypto-master-grid{gap:18px!important}
.capture-crypto-master-grid>.capture-crypto-flow{border-right:2px solid #d4e2ed!important;padding-right:14px!important}
.capture-crypto-master-grid>.capture-hot-card{padding-left:14px!important}
.settlement-table.pl textarea[data-pl-col="detail"]{white-space:pre-wrap!important}

/* V4.2.465 fee-aware seven-card daily summary */
body.settlement-workspace .settlement-summary-cards-v462.seven{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:6px!important}
.capture-summary-strip-v463.seven{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:5px!important}
@media(max-width:1180px){body.settlement-workspace .settlement-summary-cards-v462.seven{grid-template-columns:repeat(7,minmax(0,1fr))!important}}
@media(max-width:900px){body.settlement-workspace .settlement-summary-cards-v462.seven,.capture-summary-strip-v463.seven{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* V469 unified SP exact/scoped synchronization */
.collector-native-sp-sync-selection-v455{display:grid;grid-template-columns:88px repeat(3,minmax(0,1fr));align-items:stretch;gap:8px;flex-wrap:unset}
.collector-native-sp-sync-selection-v455>span{min-height:58px}
.collector-native-sp-sync-selection-v455 label{min-width:0;min-height:58px;width:100%;box-sizing:border-box}
.collector-native-sp-range-sync-v469{display:grid;grid-template-columns:minmax(180px,240px) minmax(180px,240px) auto 1fr;gap:8px;align-items:end;margin:10px 0 8px;padding:10px 12px;border:1px solid var(--line,rgba(148,163,184,.28));border-radius:12px;background:rgba(255,255,255,.5)}
.collector-native-sp-range-sync-v469 label{display:grid;gap:4px}.collector-native-sp-range-sync-v469 label>span{font-size:11px;font-weight:800;color:var(--muted,#64748b)}
.collector-native-sp-range-sync-v469 label>span small{font-size:9px;font-weight:700}.collector-native-sp-range-sync-v469 input{width:100%;box-sizing:border-box}
.collector-native-sp-range-sync-v469>small{align-self:center;font-size:10px;line-height:1.35;color:var(--muted,#64748b)}
@media(max-width:980px){.collector-native-sp-sync-selection-v455{grid-template-columns:88px repeat(3,minmax(120px,1fr));overflow-x:auto}.collector-native-sp-range-sync-v469{grid-template-columns:1fr 1fr auto}.collector-native-sp-range-sync-v469>small{grid-column:1/-1}}

/* V476 reconciliation mode: fast gap repair by default, force audit opt-in. */
.collector-native-sp-sync-mode-v476{display:flex;justify-content:flex-end;margin:.45rem 0 .2rem}.collector-native-sp-sync-mode-v476 label{display:flex;align-items:flex-start;gap:.55rem;padding:.5rem .7rem;border:1px solid var(--line,#d8e1ea);border-radius:10px;background:rgba(247,250,252,.8);cursor:pointer}.collector-native-sp-sync-mode-v476 input{margin-top:.18rem}.collector-native-sp-sync-mode-v476 span{display:flex;flex-direction:column;gap:.12rem}.collector-native-sp-sync-mode-v476 b{font-size:.78rem}.collector-native-sp-sync-mode-v476 small{font-size:.68rem;opacity:.72}


/**************** V4.2.489 EXECUTIVE SETTLEMENT MESSAGE (V488 LOGIC PRESERVED) ****************/
.settlement-report-text-button-v486{font-weight:900}.settlement-report-text-backdrop-v486{z-index:1180}.settlement-report-text-card-v486{width:min(760px,calc(100vw - 28px));max-height:calc(100vh - 40px);display:flex;flex-direction:column;gap:14px}.settlement-report-text-body-v486{width:100%;min-height:520px;max-height:65vh;resize:vertical;border:1px solid #c9d8e6;border-radius:12px;background:#f8fbfd;color:#102f49;padding:18px;font:700 14px/1.7 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;overflow:auto;box-sizing:border-box}.settlement-report-text-body-v486:focus{outline:2px solid rgba(34,120,210,.18);border-color:#7fb1dd}@media(max-width:700px){.settlement-report-text-card-v486{width:calc(100vw - 16px)}.settlement-report-text-body-v486{min-height:420px;font-size:12px;padding:13px}}
/**************** END V4.2.489 EXECUTIVE SETTLEMENT MESSAGE (V488 LOGIC PRESERVED) ****************/

/* V4.2.503 KevPay reserve audit clarity */
.settlement-reserve-release-v303 em{display:block;margin-top:3px;font-style:normal;font-size:9px;font-weight:900;color:#2b6f9c}.settlement-reserve-lot-v303.settlement-reserve-released-v503{opacity:.66}.settlement-reserve-lot-v303.settlement-reserve-released-v503 .settlement-reserve-release-v303 em{color:#718090}.settlement-reserve-source-v303{align-self:center;font-size:9px;font-weight:900;color:#4b6c87}

/* V4.2.503 released reserve presentation */
.settlement-kev-released-v503 input{background:#edf4f9!important;color:#275b7f!important;font-weight:900!important}.settlement-kev-released-v503>span small{color:#477897!important}


/* V4.2.504 - settlement numeric field width correction.
   SticPay has four balance fields; do not inherit KevPay's five-column geometry.
   KevPay reserve/released/available columns receive extra room so multi-million JPY values never clip. */
.settlement-payment-grid-v299>.settlement-kev-card{
  grid-column:1/-1!important;
}
.settlement-stic-card-v302 .settlement-kev-balance-grid.settlement-payment-grid8-v302{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.settlement-kev-card .settlement-kev-balance-grid.settlement-payment-grid8-v302{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  column-gap:10px!important;
}
.settlement-kev-card .settlement-kev-balance-grid input,
.settlement-stic-card-v302 .settlement-kev-balance-grid input{
  padding-left:8px!important;
  padding-right:8px!important;
}
@media(max-width:1180px){
  .settlement-kev-card .settlement-kev-balance-grid.settlement-payment-grid8-v302,
  .settlement-stic-card-v302 .settlement-kev-balance-grid.settlement-payment-grid8-v302{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:680px){
  .settlement-kev-card .settlement-kev-balance-grid.settlement-payment-grid8-v302,
  .settlement-stic-card-v302 .settlement-kev-balance-grid.settlement-payment-grid8-v302{
    grid-template-columns:1fr!important;
  }
}

/* V4.2.505 PayOK + Help2Pay Central-only settlement */
.settlement-payment-provider-v505{display:grid;gap:12px}.settlement-payment-provider-v505 .settlement-card-head{margin-bottom:0}.settlement-payment-provider-wrap-v505{max-height:360px}.settlement-payment-provider-table-v505{min-width:1240px}.settlement-payment-provider-table-v505 td,.settlement-payment-provider-table-v505 th{white-space:nowrap}.settlement-payment-provider-table-v505 td:first-child{font-weight:900;color:#1f5f97}.settlement-payment-provider-empty-v505{text-align:center!important;color:#7a8ea3!important;padding:22px!important}.settlement-payment-provider-balance-v505{font-size:11px;color:#607890}.settlement-payment-provider-net-v505{font-weight:900;color:#193f62}

/* V506 PayOK / Help2Pay settlement parity */
.settlement-payment-provider-table-v506{min-width:1540px}
.settlement-payment-provider-table-v506 th,.settlement-payment-provider-table-v506 td{white-space:nowrap}
.settlement-payment-provider-table-v506 th:nth-child(2),.settlement-payment-provider-table-v506 th:nth-child(3),.settlement-payment-provider-table-v506 td:nth-child(2),.settlement-payment-provider-table-v506 td:nth-child(3){min-width:124px}

/* V512 - source-auth feedback without hiding the provider's actual error */
.collector-node-session-feedback{display:block;margin:8px 0 3px;padding:7px 9px;border:1px solid #bcd4ed;border-radius:7px;background:#edf5fd;color:#1c426a;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.collector-node-session-feedback.error{background:#fff4f2;border-color:#e9a89e;color:#923d32}

/* V513 - unified collector gap breakdown, all native vendors and datasets. */
.collector-native-volume-table-v416{min-width:490px}
.collector-native-volume-head-v416,.collector-native-volume-row-v416{grid-template-columns:minmax(54px,.62fr) minmax(76px,.93fr) minmax(76px,.93fr) minmax(162px,1.46fr)}
.collector-native-volume-row-v416{min-height:46px}
.collector-gap-cell-v513{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;padding:5px 8px;min-width:0;text-align:right;gap:2px}
.collector-gap-cell-v513>b{font-size:14px;font-weight:950;line-height:1.08;font-variant-numeric:tabular-nums;color:#102f48}
.collector-gap-cell-v513>b[data-diff-tone="match"]{color:#0b6a52}
.collector-gap-cell-v513>b[data-diff-tone="missing"],.collector-gap-cell-v513>b[data-diff-tone="excess"]{color:#9a4d00}
.collector-gap-cell-v513>b[data-diff-tone="unknown"]{color:#687b8c}
.collector-gap-cell-v513>small{font-size:9.5px;line-height:1.15;white-space:nowrap;font-weight:700;color:#526b7f}
.collector-gap-cell-v513>small.collector-gap-pending-v513{color:#956515}
@media(max-width:560px){.collector-native-volume-table-v416{min-width:490px}}

.collector-native-data-card>header small{max-width:76%;overflow-wrap:anywhere;line-height:1.35}
.collector-native-repo-status{overflow-wrap:anywhere;line-height:1.4}

/* V516 - diagnostic action: compact toolbar, no new dashboard rows */
.collector-diagnostics-status-v516 { padding:6px 10px; color:var(--muted,#63758c); font-size:11px; line-height:1.5; white-space:normal; overflow-wrap:anywhere; }
#collectorDiagnosticsDownloadV516 { white-space:nowrap; max-width:100%; }
@media (max-width:700px) { .collector-platform-toolbar-actions { flex-wrap:wrap; } #collectorDiagnosticsDownloadV516 { white-space:normal; } }

/* V4.2.524 - five-provider desktop parity and no per-vendor card scrolling.
   Page itself may scroll vertically; individual summary cards must not. */
#collectorNativeVendorGrid.collector-native-vendor-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  max-width:100%;
  min-width:0;
}
#collectorNativeVendorGrid>.collector-native-vendor-card {min-width:0;max-width:100%;box-sizing:border-box;overflow:visible;}
#collectorNativeVendorGrid .collector-native-volume-grid-v416 {min-width:0;max-width:100%;overflow:visible;}
#collectorNativeVendorGrid .collector-native-volume-table-v416 {width:100%;min-width:0;max-width:100%;box-sizing:border-box;overflow:hidden;}
#collectorNativeVendorGrid .collector-native-volume-head-v416,
#collectorNativeVendorGrid .collector-native-volume-row-v416 {
  grid-template-columns:minmax(36px,.48fr) minmax(0,.98fr) minmax(0,.98fr) minmax(0,1.35fr);
  min-width:0;width:100%;
}
#collectorNativeVendorGrid .collector-native-volume-head-v416 span {
  padding:6px clamp(2px,.45vw,8px);font-size:clamp(8px,.66vw,10.5px);
  white-space:normal;overflow-wrap:anywhere;line-height:1.15;
}
#collectorNativeVendorGrid .collector-native-volume-row-v416>strong {
  padding:7px clamp(2px,.45vw,8px);white-space:normal;overflow-wrap:anywhere;
  font-size:clamp(10px,.70vw,11.5px);line-height:1.15;
}
#collectorNativeVendorGrid .collector-native-volume-row-v416>b {
  padding:7px clamp(2px,.45vw,8px);white-space:normal;overflow-wrap:anywhere;
  font-size:clamp(11px,.87vw,14.5px);line-height:1.1;
}
#collectorNativeVendorGrid .collector-gap-cell-v513 {
  padding:5px clamp(2px,.45vw,8px);overflow-wrap:anywhere;
}
#collectorNativeVendorGrid .collector-gap-cell-v513>small {
  white-space:normal;overflow-wrap:anywhere;line-height:1.18;text-align:right;
  font-size:clamp(8px,.61vw,9.5px);
}
#collectorNativeVendorGrid .collector-native-today-line-v415 {
  white-space:normal;overflow:visible;text-overflow:clip;
  overflow-wrap:anywhere;line-height:1.4;min-height:2.6em;
}
#collectorNativeVendorGrid .collector-native-vendor-card-v415 header {min-width:0;gap:6px;}
#collectorNativeVendorGrid .collector-native-vendor-card-v415 header>div {min-width:0;}
#collectorNativeVendorGrid .collector-native-vendor-card-v415 header b {max-width:42%;white-space:normal;text-align:right;line-height:1.3;}
@media (max-width:1480px){
  #collectorNativeVendorGrid.collector-native-vendor-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  #collectorNativeVendorGrid .collector-native-volume-head-v416 span {font-size:10px;}
  #collectorNativeVendorGrid .collector-native-volume-row-v416>b {font-size:13px;}
}
@media (max-width:800px){
  #collectorNativeVendorGrid.collector-native-vendor-grid {grid-template-columns:1fr;}
}
.collector-node-session-provider-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px;}
.collector-node-session-provider {display:flex;align-items:baseline;gap:8px;min-width:0;border:1px solid #d6e5ef;background:#f8fcff;padding:7px 9px;border-radius:8px;}
.collector-node-session-provider>b {white-space:nowrap;color:#194568;font-size:10px;}
.collector-node-session-provider>small {min-width:0;overflow-wrap:anywhere;line-height:1.3;color:#63778b;font-size:10px;}
@media(max-width:750px){.collector-node-session-provider-grid{grid-template-columns:1fr;}}

/* V550 evidence-backed correction: sessions and diagnostics span the whole PC node. */
.collector-node-card{align-items:start;min-width:0;}
.collector-node-identity,.collector-node-machine,.collector-node-modules,.collector-node-actions{min-width:0;}
.collector-node-telemetry-row {grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0;max-width:100%;}
.collector-node-telemetry-row .collector-node-session-panel{margin-top:0;min-width:0;}
.collector-node-session-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.collector-node-session-provider{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;align-items:start;gap:5px;min-width:0;}
.collector-node-session-provider>b{white-space:normal;overflow-wrap:break-word;word-break:normal;line-height:1.4;}
.collector-node-session-provider>small {min-width:0;overflow-wrap:break-word;word-break:normal;white-space:normal;line-height:1.55;font-size:10px;}
.collector-node-agent-update-details {display:block;min-width:0;padding:10px 12px;border:1px solid #cadfed;background:#f7fbff;border-radius:10px;color:#31516d;}
.collector-node-agent-update-details summary{cursor:pointer;font-size:11px;font-weight:900;overflow-wrap:break-word;}
.collector-node-agent-update-details>small{display:block;margin-top:8px;line-height:1.5;color:#637e94;font-size:10px;}
.collector-node-update-table{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px;}
.collector-node-update-row{min-width:0;display:grid;gap:4px;padding:8px 10px;border:1px solid #e0eaf2;border-radius:8px;background:#fff;font-size:10px;}
.collector-node-update-row>b{font-size:10px;color:#38617d;}
.collector-node-update-row>span{min-width:0;overflow-wrap:break-word;word-break:normal;line-height:1.45;color:#29435a;}
@media(max-width:760px){.collector-node-session-provider-grid,.collector-node-update-table{grid-template-columns:minmax(0,1fr);}}

/* V553: compact optional provider diagnostics; no 1-character forced wrapping. */
.collector-provider-diagnostics-v553 { margin: 2px 0 5px; padding: 0 8px; color: #64748b; font-size: 11px; max-width: 100%; min-width: 0; }
.collector-provider-diagnostics-v553 > summary { cursor:pointer; width:max-content; max-width:100%; padding: 4px 0; font-weight: 700; }
.collector-provider-diagnostics-v553 > small { display:block; max-width:100%; line-height:1.5; overflow-wrap:break-word; white-space:normal; }
.collector-provider-volume-v553 > b { overflow-wrap:normal; word-break:keep-all; }
