:root {
  --ink: #17211d;
  --ink-soft: #35443d;
  --muted: #718078;
  --line: #e3e9e5;
  --line-strong: #d5ddd8;
  --canvas: #f5f7f5;
  --panel: #ffffff;
  --forest: #155c43;
  --forest-dark: #0d4734;
  --mint: #dff4e9;
  --mint-strong: #bce8d0;
  --amber: #a96d16;
  --amber-bg: #fff4de;
  --red: #b3403d;
  --red-bg: #fff0ef;
  --shadow: 0 14px 34px rgba(28, 50, 40, 0.07);
  --radius: 18px;
  --sidebar: 244px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; min-height: 100vh; background: var(--canvas); color: var(--ink); }
button, input, select { font: inherit; }
button { color: inherit; }
code { padding: 2px 6px; border-radius: 6px; background: #edf1ee; color: var(--forest-dark); font-size: .9em; }

.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 20; width: var(--sidebar);
  display: flex; flex-direction: column; padding: 26px 18px 20px;
  background: #10241c; color: #f6fbf8;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 0 7px 28px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: #4ed38c; color: #0b3d2b; font-weight: 900; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.brand-mark-large { width: 50px; height: 50px; border-radius: 15px; font-size: 22px; }
.brand strong, .brand span { display: block; }
.brand strong { letter-spacing: .01em; }
.brand span { margin-top: 3px; color: #8fab9e; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.brand .version-tag { display: inline-flex; margin-left: 5px; padding: 2px 5px; border: 1px solid rgba(78,211,140,.35); border-radius: 999px; background: rgba(78,211,140,.12); color: #75e7a7; font-size: 8px; font-style: normal; line-height: 1; vertical-align: 2px; }
.main-nav { display: flex; flex-direction: column; gap: 5px; }
.nav-item { width: 100%; border: 0; padding: 12px 13px; display: flex; align-items: center; gap: 12px; border-radius: 11px; background: transparent; color: #aebfb6; cursor: pointer; text-align: left; transition: .16s ease; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.055); }
.nav-item.active { color: #fff; background: rgba(78,211,140,.15); box-shadow: inset 3px 0 #4ed38c; }
.nav-icon { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: rgba(255,255,255,.06); font-size: 12px; font-weight: 700; }
.nav-item.active .nav-icon { color: #65e59e; background: rgba(78,211,140,.13); }
.sidebar-foot { margin-top: auto; }
.safe-mode { display: flex; align-items: flex-start; gap: 9px; padding: 13px 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.035); }
.safe-mode strong, .safe-mode span { display: block; }
.safe-mode strong { font-size: 12px; color: #ebf4ef; }
.safe-mode div span { margin-top: 4px; color: #7f9b8e; font-size: 10px; line-height: 1.45; }
.logout-button { width: 100%; margin-top: 10px; padding: 9px; border: 0; background: transparent; color: #82978d; cursor: pointer; font-size: 12px; }
.logout-button:hover { color: #fff; }

.main-content { min-height: 100vh; margin-left: var(--sidebar); padding: 0 36px 48px; }
.topbar { height: 104px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.topbar h1 { margin: 4px 0 0; font-size: 24px; letter-spacing: -.03em; }
.breadcrumb { margin: 0; color: var(--muted); font-size: 12px; }
.topbar-actions, .panel-actions, .hero-actions { display: flex; align-items: center; gap: 10px; }
.runtime-pill { display: flex; align-items: center; gap: 7px; padding: 9px 12px; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-size: 12px; }
.status-dot { width: 8px; height: 8px; display: inline-block; flex: 0 0 auto; border-radius: 50%; background: #aeb8b2; box-shadow: 0 0 0 3px rgba(120,130,125,.1); }
.status-dot.green { background: #31af6e; box-shadow: 0 0 0 3px rgba(49,175,110,.13); }
.status-dot.amber { background: #e4a63a; box-shadow: 0 0 0 3px rgba(228,166,58,.13); }
.status-dot.gray { background: #96a29c; }

.button { min-height: 38px; padding: 0 15px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font-weight: 650; font-size: 13px; transition: .16s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.button.primary { color: #fff; background: var(--forest); box-shadow: 0 7px 16px rgba(21,92,67,.18); }
.button.primary:hover { background: var(--forest-dark); }
.button.secondary { border-color: var(--line-strong); background: #fff; color: var(--ink); }
.button.secondary:hover { border-color: #b9c6bf; }
.button.ghost { border-color: transparent; background: #eff3f0; color: var(--ink-soft); }
.button.full { width: 100%; }
.button.small { min-height: 33px; padding: 0 12px; font-size: 12px; }
.icon-button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--forest); cursor: pointer; font-size: 20px; }
.text-button { border: 0; background: transparent; color: var(--forest); cursor: pointer; font-size: 12px; font-weight: 650; }

.view { display: none; padding-top: 30px; animation: fade-in .18s ease; }
.view.active { display: block; }
@keyframes fade-in { from { opacity: .25; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.hero-panel { min-height: 248px; padding: 36px 40px; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); align-items: center; gap: 50px; border: 1px solid #dfe8e2; border-radius: 22px; background: linear-gradient(135deg, #fff 0%, #f4fbf7 62%, #edf8f2 100%); box-shadow: var(--shadow); overflow: hidden; }
.hero-kicker { display: flex; align-items: center; gap: 8px; color: var(--amber); font-size: 12px; font-weight: 700; }
.hero-panel h2 { margin: 14px 0 10px; max-width: 620px; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.045em; line-height: 1.18; }
.hero-panel p { max-width: 680px; margin: 0 0 25px; color: var(--muted); line-height: 1.7; font-size: 14px; }
.hero-visual { position: relative; padding: 20px 24px; border: 1px solid rgba(21,92,67,.12); border-radius: 18px; background: rgba(255,255,255,.68); box-shadow: 0 16px 40px rgba(20,68,49,.08); }
.flow-node { display: flex; align-items: center; gap: 12px; }
.flow-node > span { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); background: #fff; font-size: 12px; font-weight: 800; }
.flow-node.done > span { border-color: var(--mint-strong); background: var(--mint); color: var(--forest); }
.flow-node strong, .flow-node small { display: block; }
.flow-node strong { font-size: 13px; }
.flow-node small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.flow-line { width: 1px; height: 23px; margin: 5px 0 5px 16px; background: var(--line-strong); }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.metric-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); box-shadow: 0 8px 22px rgba(30,53,42,.035); }
.metric-card span, .metric-card small, .metric-card strong { display: block; }
.metric-card span { color: var(--muted); font-size: 12px; }
.metric-card strong { margin: 8px 0 5px; font-size: 29px; letter-spacing: -.04em; }
.metric-card small { color: #95a099; font-size: 11px; }
.metric-card.accent { border-color: #efdbae; background: #fffdf7; }
.metric-card.accent strong { color: var(--amber); }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: 0 8px 24px rgba(29,55,42,.035); }
.panel-heading { min-height: 70px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.panel-heading h3 { margin: 0; font-size: 15px; letter-spacing: -.015em; }
.panel-heading p:not(.eyebrow) { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.eyebrow { margin: 0 0 5px; color: #84938b; font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.badge { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.badge.amber { color: #8f5f18; background: var(--amber-bg); }
.badge.green { color: var(--forest); background: var(--mint); }
.badge.red { color: var(--red); background: var(--red-bg); }
.badge.neutral { color: #65726b; background: #eff2f0; }
.check-list { padding: 8px 20px 16px; }
.check-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; border-bottom: 1px dashed #e8ece9; font-size: 12px; }
.check-row:last-child { border-bottom: 0; }
.check-row > div { display: flex; align-items: center; gap: 9px; }
.check-row small { color: var(--muted); }
.guard-list { margin: 0; padding: 8px 20px 16px; list-style: none; }
.guard-list li { min-height: 58px; display: flex; align-items: center; gap: 13px; border-bottom: 1px dashed #e8ece9; }
.guard-list li:last-child { border: 0; }
.guard-list li > span { width: 28px; color: #9eaaa3; font-size: 10px; font-weight: 800; }
.guard-list strong, .guard-list small { display: block; }
.guard-list strong { font-size: 12px; }
.guard-list small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.preview-panel { margin-top: 16px; }
.table-empty { min-height: 150px; padding: 50px 24px; display: grid; place-items: center; text-align: center; color: #929e97; font-size: 12px; }

.section-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 20px; }
.section-intro h2 { margin: 5px 0 8px; font-size: 27px; letter-spacing: -.04em; }
.section-intro p:not(.eyebrow) { margin: 0; color: var(--muted); line-height: 1.6; font-size: 13px; }
.split-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 16px; }
.batch-list-panel, .batch-detail-panel { min-height: 600px; }
.batch-list { padding: 10px; }
.batch-item { width: 100%; margin-bottom: 7px; padding: 13px 14px; border: 1px solid transparent; border-radius: 11px; background: #f7f9f7; cursor: pointer; text-align: left; }
.batch-item:hover, .batch-item.active { border-color: #cce5d7; background: #f0f8f4; }
.batch-item-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.batch-item strong { font-size: 13px; }
.batch-item small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; }
.validation-strip { display: flex; gap: 8px; padding: 12px 18px 0; overflow-x: auto; }
.validation-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 8px; background: #f2f5f3; color: var(--ink-soft); font-size: 10px; white-space: nowrap; }

.rules-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.rule-card { min-height: 260px; }
.rule-card.wide { grid-column: 1 / -1; min-height: 200px; }
.compact-table { padding: 7px 20px 17px; overflow-x: auto; }
.manual-rerun-jobs-panel { margin-top: 16px; }
.manual-rerun-job-current { padding: 0 20px; color: var(--muted); }
.manual-rerun-jobs-table { width: 100%; border-collapse: collapse; text-align: left; }
.manual-rerun-jobs-table th, .manual-rerun-jobs-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.manual-rerun-jobs-table td:last-child { white-space: normal; }
.compact-row { min-height: 43px; display: grid; align-items: center; gap: 10px; border-bottom: 1px solid #edf0ee; font-size: 11px; }
.compact-row:last-child { border-bottom: 0; }
.compact-row.channels { grid-template-columns: 70px minmax(120px,1fr) 56px; }
.compact-row.teams { grid-template-columns: minmax(120px,1fr) minmax(150px,1fr) 112px; }
.compact-row.rule { grid-template-columns: minmax(180px,1.4fr) minmax(140px,1fr) minmax(110px,.8fr) 80px 112px; min-width: 680px; }
.compact-row.rule.team-rules { grid-template-columns: 80px minmax(130px,1fr) minmax(130px,1fr) 112px; min-width: 560px; }
.compact-row.rule.service-fee-rules { grid-template-columns: minmax(150px,1fr) 100px 112px; min-width: 420px; }
.compact-label { color: #849189; }
.row-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; }
.row-action { min-width: 42px; height: 26px; padding: 0 8px; border: 0; border-radius: 7px; background: #f0f3f1; color: var(--ink-soft); cursor: pointer; font-size: 10px; white-space: nowrap; }
.row-edit:hover { color: var(--forest); background: var(--mint); }
.row-delete:hover { color: var(--red); background: var(--red-bg); }
.empty-mini { padding: 30px 8px; color: #98a39d; text-align: center; font-size: 11px; }

.data-table-wrap, .sheet-table-wrap { width: 100%; overflow: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.data-table th { padding: 13px 16px; color: #7b8981; background: #fafbfa; text-align: left; font-weight: 650; white-space: nowrap; }
.data-table td { padding: 14px 16px; border-top: 1px solid #edf0ee; white-space: nowrap; }
.data-table tbody tr.config-conflict {
  background: #fff4db;
  outline: 2px solid #e4a72f;
  outline-offset: -2px;
}
.provider-name strong, .provider-name small { display: block; }
.provider-name small { margin-top: 4px; color: var(--muted); }

.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.setting-card { min-height: 175px; padding: 22px; display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: start; gap: 16px; }
.setting-card h3 { margin: 2px 0 7px; font-size: 15px; }
.setting-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.setting-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.setting-actions .button { white-space: nowrap; }
.setting-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; font-weight: 850; }
.setting-icon.tencent { color: #2b65bd; background: #e8f0ff; }
.setting-icon.feishu { color: #275ecc; background: #eaf0ff; }
.setting-icon.clock { color: var(--forest); background: var(--mint); }
.setting-icon.alert { color: #7c8781; background: #eef1ef; }
.connection-status { margin-top: 14px; display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 10px; }
.oauth-health-list { align-items: stretch; flex-direction: column; }
.oauth-health-item { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.oauth-health-item strong { color: var(--ink); font-size: 10px; }
.oauth-health-actions { display: inline-flex; gap: 5px; margin-left: auto; }
.oauth-health-actions button { border: 0; background: transparent; color: var(--forest); cursor: pointer; font: inherit; padding: 2px 3px; }
.oauth-health-actions button:hover { text-decoration: underline; }
.muted-card { background: #fbfcfb; }
.audit-list { padding: 8px 20px; }
.audit-item { min-height: 63px; display: grid; grid-template-columns: 150px 95px minmax(0,1fr); align-items: center; gap: 16px; border-bottom: 1px solid #edf0ee; font-size: 11px; }
.audit-item:last-child { border-bottom: 0; }
.audit-item time { color: var(--muted); }
.audit-item code { width: fit-content; }

.sheet-table { min-width: 2280px; border-collapse: separate; border-spacing: 0; font-size: 10px; }
.sheet-table th, .sheet-table td { padding: 9px 10px; border-right: 1px solid #e7ebe8; border-bottom: 1px solid #e7ebe8; white-space: nowrap; }
.sheet-table thead th { position: sticky; top: 0; z-index: 2; background: #f7f9f7; color: #637169; text-align: left; }
.sheet-table .group-head { padding: 7px 10px; color: #536159; text-align: center; font-size: 9px; letter-spacing: .06em; }
.sheet-table .group-dimension { background: #eff4f1; }
.sheet-table .group-funds { background: #edf7f2; }
.sheet-table .group-rates { background: #fff7e8; }
.sheet-table .group-rebate { background: #eef3fa; }
.sheet-table .group-settlement { background: #f3eff8; }
.sheet-table tbody tr:hover td { background: #fbfdfc; }
.sheet-table td.money { text-align: right; font-variant-numeric: tabular-nums; }
.sheet-table td.rate { color: var(--forest); text-align: right; }
.sheet-table td.formula { color: #5d617b; background: #fafafe; }
.sheet-table th:first-child, .sheet-table td:first-child { position: sticky; left: 0; z-index: 1; background: #fff; }
.sheet-table thead th:first-child { z-index: 3; background: #f7f9f7; }

.modal { width: min(720px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 20px; background: transparent; box-shadow: 0 26px 70px rgba(14,35,25,.25); }
.modal::backdrop { background: rgba(10,24,18,.48); backdrop-filter: blur(3px); }
.modal-card { padding: 0; border-radius: 20px; background: #fff; overflow: hidden; }
.modal-card.narrow { width: min(500px, 100%); }
.modal-heading { min-height: 84px; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.modal-heading h2 { margin: 3px 0 0; font-size: 20px; }
.modal-close { width: 34px; height: 34px; border: 0; border-radius: 9px; background: #f1f4f2; color: #6f7c75; cursor: pointer; font-size: 22px; }
.form-grid { padding: 22px 24px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field > span { color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.field small { color: var(--muted); font-size: 9px; line-height: 1.5; }
.field input, .field select, .login-form input { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 9px; outline: 0; background: #fff; color: var(--ink); font-size: 12px; }
.field input:focus, .field select:focus, .login-form input:focus { border-color: #55a27f; box-shadow: 0 0 0 3px rgba(42,139,96,.1); }
.field input[readonly], .field select:disabled { color: #718078; background: #f1f4f2; cursor: not-allowed; }
.modal-actions { padding: 16px 24px 20px; display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid var(--line); }
.inline-alert { margin: 18px 24px 0; padding: 11px 13px; border-radius: 9px; font-size: 11px; line-height: 1.55; }
.inline-alert.danger { color: #923e3c; background: var(--red-bg); }
.inline-alert.amber { color: #79551e; background: var(--amber-bg); }
.hidden { display: none !important; }
.toast-region { position: fixed; z-index: 80; top: 22px; right: 24px; display: flex; flex-direction: column; gap: 8px; }
.toast { min-width: 270px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: var(--shadow); font-size: 11px; animation: toast-in .2s ease; }
.toast.success { border-color: #bfe4cf; }
.toast.error { border-color: #edc2c0; color: var(--red); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.login-body { min-height: 100vh; display: grid; place-items: center; padding: 36px; background: radial-gradient(circle at 12% 15%, rgba(63,190,123,.18), transparent 30%), #10241c; }
.login-shell { width: min(1040px, 100%); min-height: 610px; display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 35px 100px rgba(0,0,0,.3); }
.login-brand { padding: 64px 62px; display: flex; flex-direction: column; justify-content: center; color: #eefaf3; background: linear-gradient(145deg, #102c21, #164c38 68%, #1b6a49); }
.login-brand .eyebrow { margin-top: 33px; color: #69d99c; }
.login-brand h1 { margin: 13px 0 20px; font-size: clamp(36px, 4.2vw, 55px); line-height: 1.12; letter-spacing: -.055em; }
.login-lead { max-width: 480px; margin: 0; color: #b7d0c2; font-size: 14px; line-height: 1.8; }
.login-guardrails { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 10px 18px; color: #c6dbd0; font-size: 11px; }
.login-guardrails span { display: flex; align-items: center; gap: 7px; }
.guard-dot { width: 5px; height: 5px; border-radius: 50%; background: #57dc93; }
.login-card { padding: 66px 52px; display: flex; flex-direction: column; justify-content: center; }
.login-card h2 { margin: 8px 0 8px; font-size: 25px; letter-spacing: -.035em; }
.muted { margin: 0; color: var(--muted); font-size: 12px; }
.login-form { margin-top: 33px; }
.login-form label span { display: block; margin-bottom: 8px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.login-form input { min-height: 46px; margin-bottom: 14px; }
.demo-hint { margin-top: 18px; padding: 11px 12px; border-radius: 9px; background: #f6f8f6; color: var(--muted); font-size: 10px; }

@media (max-width: 1100px) {
  :root { --sidebar: 208px; }
  .main-content { padding-left: 24px; padding-right: 24px; }
  .hero-panel { grid-template-columns: 1fr; gap: 28px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --sidebar: 0px; }
  .sidebar { position: static; width: 100%; height: auto; padding: 14px; }
  .brand { padding: 0 5px 12px; }
  .main-nav { flex-direction: row; overflow-x: auto; }
  .nav-item { width: auto; flex: 0 0 auto; padding: 10px; }
  .nav-item span:last-child { display: none; }
  .sidebar-foot { display: none; }
  .main-content { margin: 0; padding: 0 14px 36px; }
  .topbar { height: 84px; }
  .runtime-pill { display: none; }
  .hero-panel { padding: 26px 22px; }
  .metric-grid, .overview-grid, .rules-grid { grid-template-columns: 1fr; }
  .rule-card.wide { grid-column: auto; }
  .split-layout { grid-template-columns: 1fr; }
  .batch-list-panel { min-height: auto; }
  .settings-grid { grid-template-columns: 1fr; }
  .setting-card { grid-template-columns: 40px 1fr; }
  .setting-card > .button, .setting-card > .setting-actions { grid-column: 2; width: fit-content; }
  .section-intro { align-items: flex-start; flex-direction: column; }
  .login-body { padding: 14px; }
  .login-shell { grid-template-columns: 1fr; }
  .login-brand { display: none; }
  .login-card { padding: 48px 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}
