:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #182033;
  background: #f5f6fa;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --primary: #3451d1;
  --primary-dark: #263da8;
  --primary-soft: #eef1ff;
  --surface: #ffffff;
  --surface-muted: #f7f8fc;
  --border: #dfe3ed;
  --border-strong: #cbd1df;
  --text: #182033;
  --muted: #667085;
  --success: #14804a;
  --danger: #c73532;
  --shadow: 0 12px 35px rgba(29, 41, 78, 0.08);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: #f5f6fa; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(circle at 20% 0%, #eef1ff 0, transparent 28rem), #f5f6fa; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }

.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.app-header {
  position: sticky; top: 0; z-index: 30; min-height: 72px; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px; padding: 10px clamp(18px, 4vw, 56px); background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(203,209,223,.8); backdrop-filter: blur(14px);
}
.brand-block { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: white; background: linear-gradient(145deg, var(--primary), #704fd8); box-shadow: 0 8px 22px rgba(52,81,209,.25); }
.brand-block h1 { margin: 0; font-size: 18px; line-height: 1.15; }
.brand-block p { margin: 4px 0 0; color: var(--muted); font-size: 12px; white-space: nowrap; }
.main-nav { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--border); background: #f7f8fb; border-radius: 13px; }
.main-nav button { display: flex; align-items: center; gap: 8px; border: 0; border-radius: 9px; padding: 9px 14px; background: transparent; color: var(--muted); font-weight: 650; }
.main-nav button.active { color: var(--primary); background: white; box-shadow: 0 3px 12px rgba(25,37,74,.09); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.icon-button { width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 11px; background: white; color: #3e475a; display: grid; place-items: center; transition: .15s ease; }
.icon-button:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.mobile-menu-button { display: none; }
.cloud-indicator { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 650; padding: 7px 9px; border-radius: 999px; background: var(--surface-muted); }
.cloud-indicator span { width: 8px; height: 8px; border-radius: 50%; background: #98a2b3; }
.cloud-indicator.synced span { background: #21a366; box-shadow: 0 0 0 4px rgba(33,163,102,.12); }
.cloud-indicator.syncing span { background: #d99b1c; }
.cloud-indicator.error span { background: var(--danger); }

.content { width: min(1440px, 100%); margin: 0 auto; flex: 1; padding: 38px clamp(16px, 4vw, 56px) 34px; }
.page-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.eyebrow { display: block; margin-bottom: 7px; color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.page-title-row h2 { margin: 0; font-size: clamp(27px, 3vw, 38px); letter-spacing: -.035em; }
.page-title-row p { margin: 9px 0 0; color: var(--muted); max-width: 700px; line-height: 1.55; }
.month-switcher, .year-switcher { display: flex; align-items: center; gap: 8px; padding: 6px; background: white; border: 1px solid var(--border); border-radius: 13px; box-shadow: 0 5px 20px rgba(29,41,78,.05); }
.month-switcher button, .year-switcher button { width: 36px; height: 36px; border: 0; border-radius: 9px; color: #3f4960; background: #f5f6fa; display: grid; place-items: center; }
.month-switcher input { height: 36px; min-width: 152px; border: 0; outline: none; font-weight: 700; color: var(--text); background: transparent; }
.year-switcher strong { min-width: 68px; text-align: center; font-size: 18px; }

.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.yearly-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.summary-card { min-height: 126px; display: flex; gap: 14px; padding: 20px; border: 1px solid var(--border); border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 8px 26px rgba(29,41,78,.05); }
.summary-icon { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--primary); background: var(--primary-soft); }
.summary-card p { margin: 1px 0 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
.summary-card strong { display: block; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: -.03em; }
.summary-card span { display: block; margin-top: 8px; color: #8a93a5; font-size: 11px; }

.data-card { border: 1px solid var(--border); border-radius: 20px; background: white; box-shadow: var(--shadow); overflow: hidden; }
.card-toolbar { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.card-toolbar h3 { margin: 0; font-size: 17px; }
.card-toolbar p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.toolbar-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.rate-control { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 7px 0 12px; border: 1px solid var(--border); border-radius: 10px; color: var(--muted); background: #fafbfc; font-size: 12px; font-weight: 650; }
.rate-control span { color: #4a5366; font-size: 14px; }
.rate-control input { width: 72px; height: 29px; border: 0; border-left: 1px solid var(--border); padding-left: 8px; color: var(--text); background: transparent; font-weight: 750; outline: none; }
.button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; border-radius: 10px; border: 1px solid transparent; font-weight: 700; font-size: 13px; transition: .15s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button.compact { min-height: 38px; padding: 8px 11px; }
.button.primary { color: white; background: var(--primary); box-shadow: 0 6px 14px rgba(52,81,209,.2); }
.button.primary:hover:not(:disabled) { background: var(--primary-dark); }
.button.secondary { color: #3f4960; background: white; border-color: var(--border); }
.button.ghost { background: transparent; color: var(--muted); }
.button.ghost.danger { color: var(--danger); }
.button.danger-outline { color: var(--danger); background: #fff8f7; border-color: #efc4c2; }
.button-row { display: flex; gap: 9px; margin-top: 12px; }
.button-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.text-button { border: 0; background: transparent; color: var(--primary); font-weight: 750; padding: 5px 7px; }

.table-wrapper { overflow: auto; max-width: 100%; }
.entry-table, .year-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 1040px; }
th { position: sticky; top: 0; z-index: 2; background: #f7f8fb; color: #626c80; font-size: 11px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; text-align: left; }
th, td { border-bottom: 1px solid #e7e9f0; padding: 10px 12px; vertical-align: middle; }
.entry-table tbody td { vertical-align: top; }
.entry-table tbody tr:hover, .year-table tbody tr:hover { background: #fbfcff; }
.entry-table tbody tr:last-child td, .year-table tbody tr:last-child td { border-bottom: 0; }
.date-column { width: 78px; text-align: center; }
.hours-column { width: 110px; }
.rate-column { width: 118px; }
.amount-column { width: 130px; }
.date-cell { padding-top: 13px; text-align: center; }
.date-cell span { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 9px; color: #4c566b; background: #f2f4f8; font-weight: 800; }
.table-input { width: 100%; min-width: 160px; height: 38px; padding: 7px 9px; border: 1px solid transparent; border-radius: 8px; color: var(--text); background: transparent; outline: none; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.table-input:hover { border-color: #e4e7ee; background: white; }
.table-input:focus { border-color: #8fa0ec; background: white; box-shadow: 0 0 0 3px rgba(52,81,209,.1); }
.table-textarea { min-height: 38px; height: 38px; max-height: 180px; resize: none; overflow-x: hidden; overflow-y: hidden; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; font: inherit; field-sizing: content; }
.class-textarea { min-width: 260px; }
.notes-textarea { min-width: 220px; }
.multiline-editor-cell { min-width: 280px; }
.number-input { min-width: 80px; text-align: right; }
td small { display: block; max-width: 260px; margin: 4px 0 0 9px; color: var(--danger); font-size: 10px; }
.invalid-row { background: #fff9f8; }
.muted-cell { padding-top: 19px; color: var(--muted); font-size: 13px; }
.amount-cell { color: #126f43; font-weight: 800; white-space: nowrap; }
.entry-table tbody .amount-cell { padding-top: 19px; }
tfoot td { position: sticky; bottom: 0; z-index: 2; padding: 14px 12px; color: #27314a; background: #f0f3ff; border-top: 1px solid #ccd5fa; border-bottom: 0; font-weight: 850; }
.year-table { min-width: 820px; }
.year-table td { padding: 15px 14px; font-size: 13px; }
.year-table th { padding: 12px 14px; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 60; display: flex; justify-content: flex-end; background: rgba(17,24,39,.38); backdrop-filter: blur(3px); animation: fadeIn .15s ease; }
.settings-drawer { width: min(520px, 100%); height: 100%; display: flex; flex-direction: column; background: white; box-shadow: -20px 0 60px rgba(17,24,39,.18); animation: slideIn .2s ease; }
.drawer-header, .drawer-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.drawer-header h2 { margin: 0; font-size: 21px; }
.drawer-header p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.drawer-content { flex: 1; overflow-y: auto; padding: 18px 20px 24px; }
.settings-section { padding: 18px 0; border-bottom: 1px solid var(--border); }
.settings-section:first-child { padding-top: 0; }
.settings-section:last-child { border-bottom: 0; }
.section-heading { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 14px; color: var(--primary); }
.section-heading h3 { margin: 0; color: var(--text); font-size: 15px; }
.section-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.field-label { display: block; margin-top: 12px; color: #4d576b; font-size: 12px; font-weight: 750; }
.field-label input { width: 100%; height: 43px; margin-top: 6px; padding: 9px 11px; border: 1px solid var(--border); border-radius: 10px; outline: none; }
.field-label input:focus { border-color: #8fa0ec; box-shadow: 0 0 0 3px rgba(52,81,209,.1); }
.notice-box { margin-top: 12px; padding: 11px 12px; border: 1px solid #d6dcf6; border-radius: 10px; color: #4b5681; background: #f3f5ff; font-size: 12px; line-height: 1.5; }
.notice-box.subtle { color: var(--muted); background: #f8f9fb; border-color: var(--border); }
.notice-box code { font-weight: 750; }
.sync-pill { width: fit-content; display: flex; align-items: center; gap: 7px; margin: 5px 0 10px; padding: 7px 10px; border-radius: 999px; color: var(--muted); background: #f4f5f8; font-size: 12px; font-weight: 750; }
.sync-pill.synced { color: var(--success); background: #ecf8f1; }
.sync-pill.error { color: var(--danger); background: #fff1f0; }
.danger-zone .section-heading { color: var(--danger); }
.drawer-footer { border-top: 1px solid var(--border); border-bottom: 0; background: #fafbfc; }
.drawer-footer > div { display: flex; align-items: center; gap: 7px; color: var(--success); font-size: 12px; font-weight: 750; }
.spin { animation: spin 1s linear infinite; }

.toast { position: fixed; right: 24px; bottom: 24px; z-index: 90; max-width: min(420px, calc(100vw - 32px)); display: flex; align-items: center; gap: 9px; padding: 13px 15px; border-radius: 12px; color: #fff; background: #27314a; box-shadow: 0 14px 38px rgba(17,24,39,.26); font-size: 13px; font-weight: 700; animation: toastIn .2s ease; }
.toast.success { background: #16774a; }
.toast.error { background: #b63a36; }
.app-footer { min-height: 48px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; padding: 10px 18px; color: #7a8497; font-size: 11px; }
.app-footer span { display: flex; align-items: center; gap: 5px; }
.loading-screen { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 13px; color: var(--muted); }
.loading-logo { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; color: white; background: linear-gradient(145deg, var(--primary), #704fd8); box-shadow: 0 12px 32px rgba(52,81,209,.25); }
.loading-screen p { font-weight: 650; }

@keyframes slideIn { from { transform: translateX(30px); opacity: .6; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes toastIn { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1050px) {
  .app-header { grid-template-columns: 1fr auto; }
  .main-nav { position: absolute; top: 63px; right: 18px; display: none; flex-direction: column; width: 220px; padding: 8px; background: white; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav button { justify-content: flex-start; }
  .mobile-menu-button { display: grid; }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yearly-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .app-header { min-height: 64px; padding: 9px 14px; }
  .brand-logo { width: 40px; height: 40px; border-radius: 12px; }
  .brand-block p { display: none; }
  .cloud-indicator { display: none; }
  .content { padding: 24px 14px 24px; }
  .page-title-row { align-items: stretch; flex-direction: column; gap: 16px; }
  .page-title-row h2 { font-size: 29px; }
  .month-switcher, .year-switcher { width: 100%; justify-content: space-between; }
  .month-switcher input { flex: 1; text-align: center; }
  .summary-grid, .yearly-summary { grid-template-columns: 1fr 1fr; gap: 10px; }
  .summary-card { min-height: 112px; padding: 15px; border-radius: 15px; }
  .summary-icon { width: 36px; height: 36px; border-radius: 11px; }
  .summary-card strong { font-size: 20px; }
  .card-toolbar { align-items: stretch; flex-direction: column; padding: 15px; }
  .toolbar-actions { justify-content: flex-start; }
  .rate-control { flex: 1 1 100%; justify-content: space-between; }
  .rate-control input { flex: 1; max-width: 90px; }
  .data-card { border-radius: 16px; }
  .drawer-header, .drawer-footer { padding: 15px 16px; }
  .drawer-content { padding: 16px; }
  .button-grid { grid-template-columns: 1fr; }
  .stacked-mobile { flex-direction: column; }
  .stacked-mobile .button { width: 100%; }
  .toast { left: 16px; right: 16px; bottom: 16px; }
  .app-footer { gap: 9px 14px; }
}

@media (max-width: 480px) {
  .summary-grid, .yearly-summary { grid-template-columns: 1fr; }
  .summary-card { min-height: 96px; }
  .header-actions { gap: 6px; }
  .icon-button { width: 38px; height: 38px; }
  .brand-block h1 { font-size: 16px; }
}

@media print {
  .app-header, .page-title-row, .summary-grid, .card-toolbar, .app-footer { display: none !important; }
  .content { width: 100%; padding: 0; }
  .data-card { border: 0; box-shadow: none; }
  .table-wrapper { overflow: visible; }
  .entry-table { min-width: 0; }
}

.audit-status { min-height: 30px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.audit-status.clean { color: #14804a; background: #ecf8f1; }
.audit-status.warning { color: #9a6400; background: #fff5d9; }
.spinner { width: 14px; height: 14px; display: inline-block; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 1s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.warning-box { color: #8a5b00; background: #fff8df; border-color: #ead394; }
.sync-code-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 6px; }
.sync-code-field input { margin-top: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: .025em; }
.sync-code-field .button { min-width: 112px; }
.pairing-box { margin-top: 14px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: #fafbff; }
.pairing-box h4 { margin: 0; color: var(--text); font-size: 13px; }
.pairing-box p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.pairing-box .button { width: 100%; margin-top: 12px; }
.text-danger-button { display: inline-flex; margin-top: 14px; padding: 4px 0; border: 0; color: var(--danger); background: transparent; font-size: 11px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 480px) {
  .sync-code-field { grid-template-columns: 1fr; }
  .sync-code-field .button { width: 100%; }
}

/* Authentication gate — v1.3 */
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(380px, 1.05fr) minmax(420px, .95fr);
  background: #fff;
}
.auth-showcase {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(48px, 8vw, 112px);
  color: #fff;
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,.18), transparent 16rem),
    radial-gradient(circle at 88% 78%, rgba(127,102,255,.45), transparent 22rem),
    linear-gradient(145deg, #263da8 0%, #3451d1 48%, #643fc4 100%);
}
.auth-showcase::before,
.auth-showcase::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
}
.auth-showcase::before { width: 420px; height: 420px; right: -180px; top: -130px; }
.auth-showcase::after { width: 300px; height: 300px; left: -160px; bottom: -160px; }
.showcase-content { position: relative; z-index: 1; width: min(620px, 100%); }
.auth-brand { display: flex; align-items: center; gap: 13px; }
.auth-brand .auth-logo,
.auth-loading .auth-logo,
.mobile-auth-brand .auth-logo {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, var(--primary), #704fd8);
  box-shadow: 0 14px 34px rgba(52,81,209,.25);
}
.auth-brand.inverse .auth-logo { color: #3047bd; background: #fff; box-shadow: 0 14px 34px rgba(17,24,39,.18); }
.auth-brand span { display: block; margin-bottom: 3px; font-size: 10px; font-weight: 850; letter-spacing: .16em; opacity: .72; }
.auth-brand h1 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.showcase-eyebrow { display: block; margin-top: clamp(64px, 10vh, 116px); font-size: 11px; font-weight: 850; letter-spacing: .18em; opacity: .72; }
.showcase-content > h2 { margin: 14px 0 18px; font-size: clamp(44px, 5vw, 72px); line-height: .98; letter-spacing: -.055em; }
.showcase-content > p { max-width: 560px; margin: 0; color: rgba(255,255,255,.82); font-size: clamp(15px, 1.45vw, 18px); line-height: 1.7; }
.showcase-features { display: grid; gap: 13px; margin-top: 36px; }
.showcase-features span { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.92); font-size: 13px; font-weight: 700; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 6vw, 84px); background: radial-gradient(circle at 100% 0%, #f1f3ff 0, transparent 24rem), #fff; }
.auth-panel-inner { width: min(440px, 100%); }
.mobile-auth-brand { display: none; align-items: center; gap: 11px; margin-bottom: 38px; }
.mobile-auth-brand .auth-logo { width: 48px; height: 48px; border-radius: 15px; }
.mobile-auth-brand strong { font-size: 19px; }
.auth-panel h2,
.auth-copy h2 { margin: 0; color: var(--text); font-size: clamp(30px, 3vw, 42px); letter-spacing: -.045em; }
.auth-description,
.auth-copy p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.auth-form { display: grid; gap: 17px; margin-top: 28px; }
.auth-form > label { color: #424c61; font-size: 12px; font-weight: 780; }
.auth-form input {
  width: 100%;
  height: 50px;
  margin-top: 7px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.auth-form input:focus { border-color: #8799eb; box-shadow: 0 0 0 4px rgba(52,81,209,.1); }
.password-field { position: relative; }
.password-field input { padding-right: 52px; }
.password-field button { position: absolute; right: 7px; top: 14px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 9px; color: var(--muted); background: transparent; }
.password-field button:hover { color: var(--primary); background: var(--primary-soft); }
.auth-submit { width: 100%; min-height: 50px; margin-top: 3px; justify-content: center; font-size: 14px; }
.auth-links { min-height: 26px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 9px; margin-top: 20px; color: var(--muted); font-size: 12px; }
.auth-links button { padding: 3px 0; border: 0; color: var(--primary); background: transparent; font-weight: 800; }
.auth-links button:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-alert { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; padding: 12px 13px; border: 1px solid; border-radius: 11px; font-size: 12px; line-height: 1.5; }
.auth-alert.error { color: #9a302d; border-color: #efc2bf; background: #fff2f1; }
.auth-alert.success { color: #116e40; border-color: #bce3cd; background: #eefaf3; }
.auth-alert code { display: block; margin-top: 6px; padding: 7px 8px; border-radius: 7px; color: #33405d; background: rgba(255,255,255,.72); font-size: 11px; }
.auth-security-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); color: #7a8497; font-size: 11px; line-height: 1.55; }
.auth-security-note svg { flex: 0 0 auto; margin-top: 1px; }
.auth-loading { min-height: 100vh; grid-column: 1 / -1; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; background: radial-gradient(circle at 50% 0%, #eef1ff, transparent 30rem), #f7f8fc; }
.auth-loading h1 { margin: 4px 0 0; font-size: 26px; }
.auth-loading p { max-width: 360px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.auth-card { width: min(520px, calc(100% - 32px)); margin: auto; padding: clamp(24px, 5vw, 46px); border: 1px solid var(--border); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.configuration-card { grid-column: 1 / -1; }
.configuration-card .auth-copy { margin-top: 34px; }
.auth-footnote { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.account-summary { display: flex; align-items: center; gap: 11px; margin: 4px 0 12px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: #fafbff; }
.account-avatar { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; color: #fff; background: linear-gradient(145deg, var(--primary), #704fd8); font-size: 16px; font-weight: 850; }
.account-summary strong { display: block; overflow-wrap: anywhere; font-size: 13px; }
.account-summary span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }

@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; background: #fff; }
  .auth-showcase { display: none; }
  .auth-panel { min-height: 100vh; align-items: flex-start; padding: 42px 22px; }
  .auth-panel-inner { width: min(480px, 100%); margin: auto; }
  .mobile-auth-brand { display: flex; }
}

@media (max-width: 480px) {
  .auth-panel { padding: 28px 17px; }
  .mobile-auth-brand { margin-bottom: 32px; }
  .auth-panel h2 { font-size: 31px; }
  .auth-form { margin-top: 23px; }
  .auth-security-note { margin-top: 22px; }
  .account-summary { align-items: flex-start; }
}

/* Professional personal workspace refresh — v1.4 */
.header-signout-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid #ecd4d2;
  border-radius: 11px;
  color: #a23834;
  background: linear-gradient(180deg, #fff, #fff8f7);
  font-size: 12px;
  font-weight: 780;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.header-signout-button:hover {
  transform: translateY(-1px);
  border-color: #e1b7b3;
  box-shadow: 0 8px 20px rgba(162,56,52,.10);
}

.auth-showcase {
  isolation: isolate;
  background:
    radial-gradient(circle at 14% 12%, rgba(255,255,255,.18), transparent 17rem),
    radial-gradient(circle at 86% 80%, rgba(153,123,255,.42), transparent 24rem),
    linear-gradient(145deg, #1f3195 0%, #3654d5 48%, #7042c6 100%);
}
.auth-showcase::before {
  width: 560px;
  height: 560px;
  right: -250px;
  top: -210px;
  background: radial-gradient(circle, rgba(255,255,255,.06), transparent 66%);
}
.auth-showcase::after {
  width: 390px;
  height: 390px;
  left: -210px;
  bottom: -210px;
  background: radial-gradient(circle, rgba(255,255,255,.055), transparent 66%);
}
.creator-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(48px, 7vh, 82px);
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: rgba(255,255,255,.93);
  background: rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}
.creator-badge span {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .15em;
}
.showcase-eyebrow { margin-top: 25px; }
.showcase-content > h2 {
  max-width: 760px;
  margin-top: 13px;
  text-wrap: balance;
  text-shadow: 0 10px 30px rgba(20,26,74,.16);
}
.showcase-content > p { max-width: 650px; }
.showcase-features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.showcase-features span {
  min-height: 68px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  background: rgba(255,255,255,.07);
  line-height: 1.45;
  backdrop-filter: blur(10px);
}
.showcase-features svg { flex: 0 0 auto; margin-top: 1px; }
.showcase-status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 15px;
  background: rgba(14,20,66,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}
.showcase-status-card > div:first-child span {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .16em;
}
.showcase-status-card strong { display: block; margin-top: 4px; font-size: 14px; }
.status-orb {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: rgba(255,255,255,.88);
  font-size: 11px;
  font-weight: 760;
}
.status-orb i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #72f0ac;
  box-shadow: 0 0 0 5px rgba(114,240,172,.13), 0 0 16px rgba(114,240,172,.55);
}

.auth-panel { position: relative; overflow: hidden; }
.auth-panel::before {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  right: -150px;
  top: -170px;
  border-radius: 50%;
  border: 1px solid rgba(52,81,209,.08);
  box-shadow: 0 0 0 44px rgba(52,81,209,.025), 0 0 0 88px rgba(52,81,209,.018);
}
.auth-panel-inner {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(215,220,233,.92);
  border-radius: 24px;
  background: rgba(255,255,255,.91);
  box-shadow: 0 24px 70px rgba(34,48,92,.11);
  backdrop-filter: blur(14px);
}
.auth-panel-inner > .eyebrow { margin-top: 0; }
.mobile-auth-brand > div:last-child { display: grid; gap: 2px; }
.mobile-auth-brand span { color: var(--muted); font-size: 11px; font-weight: 650; }
.mobile-creator-note {
  display: none;
  align-items: center;
  gap: 8px;
  margin: -18px 0 26px;
  padding: 10px 12px;
  border: 1px solid #d9def5;
  border-radius: 11px;
  color: #485584;
  background: #f5f7ff;
  font-size: 11px;
  font-weight: 720;
}
.auth-form input { box-shadow: inset 0 1px 2px rgba(17,24,39,.025); }
.auth-submit { border-radius: 12px; box-shadow: 0 12px 26px rgba(52,81,209,.22); }
.auth-security-note { color: #697489; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15,23,42,.58);
  backdrop-filter: blur(8px);
  animation: fadeIn .16s ease;
}
.safe-logout-dialog {
  width: min(560px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(15,23,42,.30);
  animation: dialogIn .2s ease;
}
.logout-dialog-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, #3451d1, #704fd8);
  box-shadow: 0 12px 28px rgba(52,81,209,.24);
}
.safe-logout-dialog h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.safe-logout-dialog > p { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.logout-progress { display: grid; gap: 9px; margin-top: 22px; }
.logout-progress-row {
  min-height: 66px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fafbfc;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.logout-progress-row.active {
  transform: translateX(2px);
  border-color: #aab7ef;
  background: #f2f5ff;
}
.logout-progress-row.done { border-color: #bfe2ce; background: #f1faf5; }
.logout-progress-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #65718a;
  background: #eef0f5;
}
.logout-progress-row.active .logout-progress-icon { color: var(--primary); background: #e5eaff; }
.logout-progress-row.done .logout-progress-icon { color: var(--success); background: #ddf3e6; }
.logout-progress-row strong { display: block; color: var(--text); font-size: 12px; }
.logout-progress-row span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.logout-progress-state { display: grid; place-items: center; color: var(--success); }
.logout-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px;
  padding: 12px 13px;
  border: 1px solid #efc1be;
  border-radius: 12px;
  color: #9e3733;
  background: #fff3f2;
}
.logout-error svg { flex: 0 0 auto; margin-top: 1px; }
.logout-error strong { display: block; font-size: 12px; }
.logout-error span { display: block; margin-top: 4px; font-size: 11px; line-height: 1.5; }
.logout-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; margin-top: 20px; }
.logout-actions .button { min-height: 46px; }
.logout-footnote {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  margin-top: 15px;
  color: #7a8497;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}
.logout-footnote svg { flex: 0 0 auto; margin-top: 1px; }

@keyframes dialogIn {
  from { transform: translateY(12px) scale(.985); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

@media (max-width: 1180px) {
  .showcase-features { grid-template-columns: 1fr; }
  .showcase-features span { min-height: 0; }
}

@media (max-width: 900px) {
  .auth-panel-inner { width: min(520px, 100%); padding: clamp(24px, 6vw, 38px); }
  .mobile-creator-note { display: flex; }
}

@media (max-width: 720px) {
  .header-signout-button { width: 38px; height: 38px; justify-content: center; padding: 0; }
  .header-signout-button span { display: none; }
}

@media (max-width: 480px) {
  .auth-panel-inner { padding: 24px 18px; border-radius: 20px; }
  .mobile-creator-note { margin-top: -12px; }
  .safe-logout-dialog { padding: 22px 17px; border-radius: 20px; }
  .logout-actions { grid-template-columns: 1fr; }
  .logout-actions .safe-logout-primary { grid-row: 1; }
  .logout-progress-row { grid-template-columns: 36px minmax(0, 1fr) 20px; }
}


/* Multi-user profile additions */
.field-help {
  margin-top: -10px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.45;
}
.profile-form { display: grid; gap: 13px; }
.profile-form .button { justify-self: start; }
.field-label input[disabled],
.field-label input[readonly] {
  color: #687386;
  background: #f4f6fa;
  cursor: not-allowed;
}
.header-user-chip {
  min-width: 0;
  max-width: 190px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
}
.header-user-chip > span {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #6d5ce7);
  font-size: 11px;
  font-weight: 800;
}
.header-user-chip strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  color: var(--text);
}
@media (max-width: 920px) {
  .header-user-chip strong { display: none; }
  .header-user-chip { padding-right: 6px; }
}
@media (max-width: 620px) {
  .header-user-chip { display: none; }
}

/* Product polish & account security — v2.1 */
.auth-shell {
  grid-template-columns: minmax(500px, 1.08fr) minmax(460px, .92fr);
  background: #f7f8fc;
}
.auth-showcase {
  padding: clamp(54px, 7vw, 104px);
  background:
    radial-gradient(circle at 14% 10%, rgba(255,255,255,.16), transparent 18rem),
    radial-gradient(circle at 84% 84%, rgba(150,118,255,.46), transparent 25rem),
    linear-gradient(145deg, #1d2f91 0%, #3654d5 48%, #7042c6 100%);
}
.showcase-content { width: min(760px, 100%); }
.creator-badge { margin-top: clamp(42px, 6vh, 68px); }
.showcase-eyebrow { margin-top: 22px; }
.showcase-content > h2 {
  max-width: 780px;
  margin: 13px 0 20px;
  font-size: clamp(46px, 4.7vw, 76px);
  line-height: .97;
  letter-spacing: -.055em;
}
.showcase-content > p {
  max-width: 690px;
  color: rgba(255,255,255,.86);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.72;
}
.showcase-features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}
.showcase-features .showcase-feature-card {
  min-height: 152px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}
.showcase-features .showcase-feature-card > div {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: rgba(255,255,255,.13);
}
.showcase-features .showcase-feature-card strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
}
.showcase-features .showcase-feature-card span {
  min-height: 0;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(255,255,255,.72);
  background: transparent;
  font-size: 11px;
  font-weight: 560;
  line-height: 1.55;
  backdrop-filter: none;
}
.showcase-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 19px;
  color: rgba(255,255,255,.74);
  font-size: 10.5px;
  font-weight: 700;
}
.showcase-trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.showcase-status-card { margin-top: 18px; }
.auth-panel {
  padding: clamp(30px, 5vw, 76px);
  background:
    radial-gradient(circle at 100% 0%, rgba(230,234,255,.95) 0, transparent 23rem),
    radial-gradient(circle at 0% 100%, rgba(246,241,255,.85) 0, transparent 20rem),
    #fbfcff;
}
.auth-panel-inner {
  width: min(470px, 100%);
  padding: clamp(30px, 3.8vw, 44px);
  border-color: rgba(207,214,232,.96);
  box-shadow: 0 28px 80px rgba(34,48,92,.12);
}
.auth-value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 20px;
}
.auth-value-strip span {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 7px;
  border: 1px solid #e0e5f4;
  border-radius: 10px;
  color: #56617a;
  background: #f8f9fe;
  font-size: 9.5px;
  font-weight: 760;
  white-space: nowrap;
}
.auth-form { margin-top: 24px; }
.auth-security-note { margin-top: 24px; }
.auth-security-note strong { color: #56617a; }
.auth-product-foot {
  margin-top: 16px;
  color: #98a2b3;
  font-size: 9.5px;
  line-height: 1.5;
  text-align: center;
}

.settings-drawer { width: min(560px, 100%); }
.drawer-header .eyebrow { margin-bottom: 5px; }
.security-settings-section {
  margin: 4px -10px 0;
  padding: 19px 10px;
  border: 1px solid #e4e8f4;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfcff 0%, #f8f9fd 100%);
}
.security-settings-section + .settings-section { border-top: 0; }
.password-change-form { display: grid; gap: 11px; }
.password-change-form .field-label { margin-top: 0; }
.password-requirements {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid #dfe5f5;
  border-radius: 10px;
  color: #5d6881;
  background: #f7f9ff;
  font-size: 10.5px;
  line-height: 1.5;
}
.password-requirements svg { flex: 0 0 auto; margin-top: 1px; color: var(--primary); }
.security-action-button { justify-self: start; }
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.about-grid > div {
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fafbfc;
}
.about-grid span { display: block; color: var(--muted); font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.about-grid strong { display: block; margin-top: 4px; overflow-wrap: anywhere; color: var(--text); font-size: 11.5px; }

@media (max-width: 1180px) {
  .auth-shell { grid-template-columns: minmax(420px, 1fr) minmax(420px, .9fr); }
  .showcase-features { grid-template-columns: 1fr; }
  .showcase-features .showcase-feature-card { min-height: 0; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; column-gap: 11px; }
  .showcase-features .showcase-feature-card > div { grid-row: 1 / 3; }
}
@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-panel { background: radial-gradient(circle at 100% 0%, #eef1ff 0, transparent 24rem), #f8f9fd; }
  .auth-value-strip { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 520px) {
  .auth-value-strip { grid-template-columns: 1fr; }
  .auth-value-strip span { justify-content: flex-start; }
  .about-grid { grid-template-columns: 1fr; }
  .security-action-button { width: 100%; }
}

@media (min-width: 901px) and (max-height: 820px) {
  .auth-showcase { padding-top: 34px; padding-bottom: 34px; }
  .creator-badge { margin-top: 24px; }
  .showcase-eyebrow { margin-top: 15px; }
  .showcase-content > h2 { margin: 9px 0 12px; font-size: clamp(38px, 4vw, 58px); }
  .showcase-content > p { font-size: 14px; line-height: 1.55; }
  .showcase-features { margin-top: 20px; }
  .showcase-features .showcase-feature-card { min-height: 118px; padding: 12px; }
  .showcase-trust-row { margin-top: 12px; }
  .showcase-status-card { margin-top: 12px; padding-top: 11px; padding-bottom: 11px; }
  .auth-panel { padding-top: 24px; padding-bottom: 24px; }
  .auth-panel-inner { padding-top: 28px; padding-bottom: 28px; }
}

/* v2.2 report/export polish */
.footer-brand-symbol { min-width: 30px; justify-content: center; }
.footer-brand-symbol img { width: 26px; height: 26px; object-fit: contain; border-radius: 8px; opacity: .78; filter: grayscale(1) contrast(1.08); }
.auth-product-foot { display: flex; align-items: center; justify-content: center; gap: 8px; }
.auth-product-foot img { width: 24px; height: 24px; object-fit: contain; border-radius: 7px; opacity: .72; filter: grayscale(1) contrast(1.08); }
.toolbar-actions .button.compact { min-width: 76px; justify-content: center; }
@media (max-width: 720px) {
  .toolbar-actions { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolbar-actions .audit-status, .toolbar-actions .rate-control { grid-column: 1 / -1; }
  .toolbar-actions .button.compact { width: 100%; }
}

/* v2.2.1 landing branding refinement */
.loading-logo img,
.auth-logo img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  display: block;
}
.loading-logo {
  background: linear-gradient(145deg, #ffffff, #f5f7ff);
  box-shadow: 0 16px 42px rgba(52,81,209,.18);
}
.auth-loading .auth-logo {
  background: linear-gradient(145deg, #ffffff, #f5f7ff);
}
.brand-logo-badge {
  position: relative;
  overflow: hidden;
}
.brand-logo-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
  pointer-events: none;
}
.auth-brand.inverse .brand-logo-badge,
.mobile-auth-brand .brand-logo-badge,
.configuration-card .brand-logo-badge {
  background: linear-gradient(145deg, #ffffff, #f6f8ff);
}
.auth-brand.inverse .brand-logo-badge img,
.mobile-auth-brand .brand-logo-badge img,
.configuration-card .brand-logo-badge img,
.auth-loading .brand-logo-badge img,
.loading-logo img {
  filter: grayscale(1) contrast(1.08);
}
.showcase-content {
  width: min(800px, 100%);
}
.showcase-brand-watermark {
  position: absolute;
  right: clamp(-24px, 4vw, 44px);
  bottom: clamp(12px, 4vw, 40px);
  z-index: 0;
  pointer-events: none;
  opacity: .11;
  mix-blend-mode: screen;
  filter: invert(1) grayscale(1) brightness(1.35) contrast(1.08) drop-shadow(0 16px 42px rgba(8,16,48,.18));
}
.showcase-brand-watermark img {
  width: min(34vw, 430px);
  min-width: 250px;
  height: auto;
  display: block;
  transform: rotate(-8deg);
}
.auth-brand.inverse {
  position: relative;
  z-index: 1;
}
.showcase-content > h2,
.showcase-content > p,
.showcase-features,
.showcase-trust-row,
.showcase-status-card,
.creator-badge,
.showcase-eyebrow {
  position: relative;
  z-index: 1;
}
.showcase-features .showcase-feature-card {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
.showcase-status-card {
  background: rgba(12,18,58,.2);
}
.auth-product-foot img {
  filter: grayscale(1) contrast(1.08);
}
@media (max-width: 1180px) {
  .showcase-brand-watermark {
    right: -8px;
    bottom: 20px;
    opacity: .1;
  }
  .showcase-brand-watermark img {
    width: min(44vw, 360px);
  }
}
@media (max-width: 900px) {
  .showcase-brand-watermark { display: none; }
}


/* MySalary brand system — v2.3 */
.brand-logo-image {
  overflow: hidden;
  color: #111827;
  background: linear-gradient(145deg, #ffffff, #f5f7ff);
  box-shadow: 0 8px 22px rgba(52,81,209,.16);
}
.brand-logo-image img {
  width: 78%;
  height: 78%;
  display: block;
  object-fit: contain;
  filter: grayscale(1) contrast(1.08);
}
.auth-brand.inverse h1,
.mobile-auth-brand strong {
  letter-spacing: -.035em;
}
.auth-brand.inverse::after {
  content: "Teaching Pay Audit";
  display: block;
  position: absolute;
  left: 69px;
  top: 48px;
  color: rgba(255,255,255,.62);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.showcase-brand-watermark {
  opacity: .095;
}
.auth-product-foot {
  opacity: .92;
}
@media (max-width: 720px) {
  .brand-block p { display: none; }
}
