:root {
  --tz-bg: #f3f6fb;
  --tz-surface: #ffffff;
  --tz-surface-soft: #f8fafc;
  --tz-surface-muted: #f1f5f9;
  --tz-ink: #172033;
  --tz-ink-strong: #101a2e;
  --tz-muted: #617187;
  --tz-muted-soft: #7f8da0;
  --tz-line: #e3e9f2;
  --tz-line-strong: #d7e0ec;
  --tz-primary: #2457d6;
  --tz-primary-strong: #173d9a;
  --tz-primary-soft: #edf3ff;
  --tz-navy: #111c35;
  --tz-navy-2: #1a2a4b;
  --tz-success: #177245;
  --tz-success-bg: #eaf8f0;
  --tz-warning: #8a5a00;
  --tz-warning-bg: #fff5d9;
  --tz-danger: #9f1239;
  --tz-danger-bg: #fff1f2;
  --tz-radius-sm: 10px;
  --tz-radius: 16px;
  --tz-radius-lg: 24px;
  --tz-shadow-sm: 0 5px 18px rgba(25, 42, 74, .045);
  --tz-shadow: 0 16px 44px rgba(30, 48, 83, .08);
  --tz-shadow-lg: 0 28px 70px rgba(16, 28, 53, .14);

  /* High-readability Arabic typography: local/system fonts only, no remote dependency. */
  --tz-font-ui: Tahoma, "Segoe UI", Arial, sans-serif;
  --tz-font-mono: Consolas, "Courier New", monospace;
  --tz-text-xs: 12px;
  --tz-text-sm: 13px;
  --tz-text-base: 15px;
  --tz-text-md: 16px;
  --tz-text-lg: 18px;
  --tz-text-xl: 22px;
  --tz-weight-regular: 400;
  --tz-weight-medium: 500;
  --tz-weight-semibold: 600;
  --tz-weight-bold: 700;
}

* { box-sizing: border-box; }
html {
  font-family: var(--tz-font-ui);
  font-size: 16px;
  background: var(--tz-bg);
  color: var(--tz-ink);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
body { margin: 0; background: var(--tz-bg); color: var(--tz-ink); font-size: var(--tz-text-base); font-weight: var(--tz-weight-regular); line-height: 1.7; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Shared chrome */
.topbar {
  height: 76px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tz-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 40;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--tz-navy); }
.brand-mark, .auth-brand-mark {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--tz-navy), #294b86);
  color: #fff;
  font-weight: 900;
  letter-spacing: -.04em;
  box-shadow: 0 8px 22px rgba(17,28,53,.2);
}
.brand-mark { width: 44px; height: 44px; border-radius: 14px; }
.brand-copy b { font-size: 18px; font-weight: var(--tz-weight-bold); line-height: 1.35; }
.brand-copy small { display: block; color: #69788d; margin-top: 2px; font-size: 12px; line-height: 1.45; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.portal-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: #526179;
  background: #f5f7fb;
  border: 1px solid #e6ebf2;
  padding: 8px 11px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: var(--tz-weight-semibold);
}
.portal-shortcut:hover { background: #eef3fb; color: var(--tz-primary); }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 5px 8px 5px 12px; border-radius: 14px; }
.user-chip strong { font-size: 15px; font-weight: var(--tz-weight-bold); color: #1a2942; line-height: 1.35; }
.user-chip small { display: block; color: #68778d; font-size: 12px; line-height: 1.4; }
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eaf0fc;
  color: var(--tz-primary-strong);
  font-weight: var(--tz-weight-bold);
}
.mobile-nav-toggle {
  display: none;
  border: 1px solid var(--tz-line);
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  cursor: pointer;
  color: var(--tz-navy);
  font-size: 20px;
}
.app-shell { display: grid; grid-template-columns: 242px minmax(0, 1fr); min-height: calc(100vh - 76px); }
.sidebar {
  background: linear-gradient(180deg, var(--tz-navy), #0c162a);
  padding: 24px 15px;
  color: #d2d9e5;
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
  overflow: auto;
}
.side-title { font-size: 11.5px; font-weight: var(--tz-weight-bold); letter-spacing: 0; color: #98a7bd; margin: 2px 12px 14px; line-height: 1.5; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #cbd4e1;
  text-decoration: none;
  padding: 11px 13px;
  border-radius: 12px;
  margin-bottom: 5px;
  font-size: 15px;
  font-weight: var(--tz-weight-semibold);
  transition: .16s ease;
}
.nav-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-link.active { background: linear-gradient(135deg, #2858bf, #244a98); color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.14); }
.nav-icon { width: 29px; height: 29px; border-radius: 9px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 14px; flex: 0 0 29px; }
.nav-link.active .nav-icon { background: rgba(255,255,255,.15); }
.main { padding: 30px clamp(20px,3vw,42px) 48px; min-width: 0; max-width: 1660px; width: 100%; margin: 0 auto; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 22px; }
.page-head h1 { font-size: clamp(27px,2vw,34px); letter-spacing: 0; margin: 4px 0 0; color: #101d35; font-weight: var(--tz-weight-bold); line-height: 1.35; }
.eyebrow { font-size: 12px; font-weight: var(--tz-weight-bold); letter-spacing: 0; color: #60718a; line-height: 1.45; }
.page-context { font-size: 13.5px; color: #65758b; line-height: 1.6; }

/* Buttons and states */
.btn { border: 1px solid transparent; border-radius: 11px; padding: 10px 15px; font-size: 14px; font-weight: var(--tz-weight-bold); cursor: pointer; transition: .15s ease; line-height: 1.45; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--tz-primary), #386fe8); color: #fff; box-shadow: 0 9px 22px rgba(36,87,214,.22); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(36,87,214,.28); }
.btn-ghost { background: #f4f7fb; color: #34435b; border-color: #e3e8f0; }
.btn-ghost:hover { background: #ebf0f7; }
.btn-block { width: 100%; margin-top: 9px; }
.alert { padding: 13px 15px; border-radius: 12px; background: #eef4ff; color: #294c8f; border: 1px solid #dbe7ff; font-size: 14px; line-height: 1.65; }
.alert.danger { background: var(--tz-danger-bg); color: var(--tz-danger); border-color: #fecdd3; }
.badge, .status-pill, .count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: var(--tz-weight-bold);
}
.badge { padding: 6px 10px; font-size: 11.5px; background: #edf2f7; color: #4d5d73; border: 1px solid transparent; line-height: 1.35; }
.badge.ok { background: var(--tz-success-bg); color: var(--tz-success); border-color: #ccebd9; }
.badge.off { background: #f2f4f7; color: #697386; border-color: #e5e9ef; }
.badge.warn { background: var(--tz-warning-bg); color: var(--tz-warning); border-color: #f3dfaa; }
.badge.info { background: var(--tz-primary-soft); color: #2856b2; border-color: #d9e6ff; }
.status-pill { padding: 7px 11px; font-size: 11.5px; line-height: 1.35; }
.status-pill--readonly { color: #1d5c42; background: #eaf8f0; border: 1px solid #cdebd8; }
.status-pill--warning { color: var(--tz-warning); background: var(--tz-warning-bg); border: 1px solid #f0dda8; }
.count-pill { padding: 8px 12px; font-size: 12.5px; color: #43536a; background: #f5f7fa; border: 1px solid #e5eaf1; }
.count-pill strong { color: var(--tz-ink-strong); font-size: 14px; font-weight: var(--tz-weight-bold); }

/* Portal */
.hero { position: relative; overflow: hidden; background: linear-gradient(125deg, #13213f 0%, #1f3c73 60%, #2c58ad 100%); color: #fff; border-radius: 26px; padding: 34px 36px; margin-bottom: 24px; box-shadow: 0 20px 52px rgba(18,37,73,.16); }
.hero:after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.06); left: -90px; top: -125px; }
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero .eyebrow { color: #9fc1ff; }
.hero h2 { font-size: clamp(29px,3vw,39px); letter-spacing: 0; margin: 7px 0 9px; font-weight: var(--tz-weight-bold); line-height: 1.4; }
.hero p { margin: 0; color: #e1e9f6; max-width: 700px; line-height: 1.9; font-size: 15px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.hero-trust span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.13); border-radius: 999px; padding: 6px 10px; font-size: 11.5px; font-weight: var(--tz-weight-semibold); color: #f1f6ff; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin: 25px 1px 13px; }
.section-heading h2 { margin: 0; font-size: 21px; font-weight: var(--tz-weight-bold); line-height: 1.4; }
.section-heading p { margin: 5px 0 0; color: #65758b; font-size: 13.5px; line-height: 1.6; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.app-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  border: 1px solid var(--tz-line);
  border-radius: 22px;
  padding: 22px;
  color: var(--tz-ink);
  text-decoration: none;
  box-shadow: var(--tz-shadow-sm);
  transition: .18s ease;
  overflow: hidden;
}
.app-card:before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(180deg, #2858d4, #6d88ee); opacity: 0; transition: .18s ease; }
.app-card:hover { transform: translateY(-3px); border-color: #cad7eb; box-shadow: 0 18px 38px rgba(33,48,80,.10); }
.app-card:hover:before { opacity: 1; }
.app-card h3 { margin: 0 0 6px; font-size: 17.5px; font-weight: var(--tz-weight-bold); line-height: 1.4; }
.app-card p { margin: 0; color: #63748a; font-size: 13.5px; line-height: 1.75; }
.app-icon { width: 58px; height: 58px; border-radius: 17px; background: linear-gradient(145deg,#eef3ff,#e1eafa); color: #244a98; display: grid; place-items: center; font-size: 22px; box-shadow: inset 0 0 0 1px rgba(36,87,214,.05); }
.arrow { font-size: 19px; color: #9aa9bc; transition: .18s ease; }
.app-card:hover .arrow { color: var(--tz-primary); transform: translateX(-3px); }

/* Login */
.public-body { background: #eef3f9; }
.public-main { min-height: 100vh; }
.auth-stage { min-height: 100vh; display: grid; place-items: center; padding: 28px; background: radial-gradient(circle at 15% 15%,rgba(43,90,183,.12),transparent 30%), radial-gradient(circle at 85% 80%,rgba(22,42,77,.1),transparent 34%), #f3f6fb; }
.auth-panel { width: min(980px,100%); min-height: 590px; background: #fff; border: 1px solid #e4e9f1; border-radius: 28px; display: grid; grid-template-columns: 1.03fr .97fr; overflow: hidden; box-shadow: var(--tz-shadow-lg); }
.auth-visual { position: relative; background: linear-gradient(145deg,#111d37,#1d3b72 68%,#2c5db6); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.auth-visual:before, .auth-visual:after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); }
.auth-visual:before { width: 360px; height: 360px; left: -160px; bottom: -135px; }
.auth-visual:after { width: 220px; height: 220px; right: -90px; top: -80px; }
.auth-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; }
.auth-brand-mark { width: 54px; height: 54px; border-radius: 17px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); box-shadow: none; }
.auth-brand strong { display: block; font-size: 21px; font-weight: var(--tz-weight-bold); }
.auth-brand small { display: block; color: #c8d8ef; margin-top: 3px; font-size: 13px; line-height: 1.5; }
.auth-visual-copy { position: relative; z-index: 1; max-width: 430px; }
.auth-visual-copy .eyebrow { color: #9ec0ff; }
.auth-visual-copy h2 { font-size: 34px; line-height: 1.45; letter-spacing: 0; margin: 9px 0 12px; font-weight: var(--tz-weight-bold); }
.auth-visual-copy p { color: #dbe5f4; line-height: 1.9; margin: 0; font-size: 15px; }
.auth-points { position: relative; z-index: 1; display: flex; gap: 8px; flex-wrap: wrap; }
.auth-points span { padding: 6px 9px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #edf4ff; font-size: 11.5px; font-weight: var(--tz-weight-semibold); }
.auth-form-side { padding: 54px clamp(34px,5vw,62px); display: flex; align-items: center; }
.auth-form { width: 100%; max-width: 390px; margin: auto; }
.auth-form .form-kicker { color: var(--tz-primary); font-size: 12.5px; font-weight: var(--tz-weight-bold); margin-bottom: 7px; }
.auth-form h1 { font-size: 32px; letter-spacing: 0; margin: 0 0 8px; font-weight: var(--tz-weight-bold); line-height: 1.4; }
.auth-form > .form-intro { color: #63748a; line-height: 1.8; margin: 0 0 24px; font-size: 14.5px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13.5px; font-weight: var(--tz-weight-semibold); margin: 0 0 7px; color: #2d3c53; }
.field input, .table-search input { width: 100%; padding: 12px 13px; border: 1px solid #c8d3e2; border-radius: 11px; background: #fbfcfe; outline: none; transition: .15s ease; font-size: 14.5px; line-height: 1.5; }
.field input:focus, .table-search input:focus { border-color: #7da2ee; box-shadow: 0 0 0 4px rgba(36,87,214,.08); background: #fff; }
.form-security-note { display: flex; gap: 8px; align-items: flex-start; color: #68778c; font-size: 12px; margin-top: 16px; line-height: 1.65; }
.form-security-note:before { content: "✓"; display: grid; place-items: center; flex: 0 0 18px; height: 18px; border-radius: 50%; background: #e8f7ee; color: #166b3e; font-weight: 900; }

/* DBAdmin visual system */
.mode-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  border: 1px solid #dfe7f2;
  border-radius: 16px;
  background: linear-gradient(135deg,#f8fbff,#f3f7fd);
  box-shadow: 0 4px 16px rgba(39,67,113,.035);
}
.mode-banner__icon { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: #e9f7ef; color: #177245; font-weight: 900; }
.mode-banner strong { display: block; font-size: 14px; color: #1f2e45; font-weight: var(--tz-weight-bold); line-height: 1.45; }
.mode-banner span:not(.mode-banner__icon):not(.status-pill) { display: block; margin-top: 3px; color: #65758b; font-size: 12.5px; line-height: 1.55; }

.metric-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px; margin-bottom: 22px; }
.metric-card {
  --metric-accent: #2457d6;
  --metric-soft: #edf3ff;
  position: relative;
  min-height: 154px;
  overflow: hidden;
  background: linear-gradient(180deg,#fff,#fbfcff);
  border: 1px solid var(--tz-line);
  border-radius: 20px;
  padding: 18px 18px 17px;
  box-shadow: 0 8px 24px rgba(31,48,78,.055);
}
.metric-card:after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; background: var(--metric-soft); left: -34px; bottom: -44px; opacity: .8; }
.metric-card--green { --metric-accent: #19734a; --metric-soft: #eaf8f0; }
.metric-card--violet { --metric-accent: #6b47b8; --metric-soft: #f2edff; }
.metric-card--indigo { --metric-accent: #3a53b8; --metric-soft: #edf0ff; }
.metric-card--teal { --metric-accent: #15756f; --metric-soft: #e9f8f6; }
.metric-card--amber { --metric-accent: #9a6500; --metric-soft: #fff5d9; }
.metric-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.metric-card__label { color: #53647b; font-size: 13.5px; font-weight: var(--tz-weight-bold); line-height: 1.5; }
.metric-card__icon { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: 0 0 40px; background: var(--metric-soft); color: var(--metric-accent); font-size: 16px; font-weight: var(--tz-weight-bold); }
.metric-card__value { position: relative; z-index: 1; margin-top: 16px; font-size: 38px; line-height: 1.05; font-weight: var(--tz-weight-bold); letter-spacing: -.02em; color: #101d35; font-variant-numeric: tabular-nums; }
.metric-card__meta { position: relative; z-index: 1; margin-top: 9px; color: #6d7c91; font-size: 12.5px; line-height: 1.55; }
.metric-card__rail { position: absolute; right: 0; top: 20px; bottom: 20px; width: 3px; border-radius: 99px; background: var(--metric-accent); opacity: .85; }

.security-summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 17px 18px; border: 1px solid #f0dfb0; background: linear-gradient(135deg,#fffdf8,#fff8e8); border-radius: 18px; margin-bottom: 22px; }
.security-summary--elevated { box-shadow: 0 8px 22px rgba(105,75,13,.045); }
.security-summary__icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #fff0bd; color: #8a5a00; font-weight: 900; font-size: 16px; }
.security-summary__body strong { font-size: 14px; color: #44361c; font-weight: var(--tz-weight-bold); line-height: 1.45; }
.security-summary__body p { font-size: 13px; color: #6b5833; margin: 5px 0 0; line-height: 1.7; }

.data-surface {
  background: var(--tz-surface);
  border: 1px solid var(--tz-line);
  border-radius: 22px;
  margin-bottom: 20px;
  box-shadow: 0 10px 28px rgba(31,48,78,.055);
  overflow: hidden;
}
.data-surface__head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px 17px; border-bottom: 1px solid #edf1f6; background: linear-gradient(180deg,#fff,#fdfefe); }
.data-surface__head--list { align-items: flex-end; }
.surface-kicker { display: block; margin-bottom: 6px; color: #506b95; font-size: 11.5px; font-weight: var(--tz-weight-bold); letter-spacing: 0; line-height: 1.4; }
.data-surface__head h2 { margin: 0; color: #101d35; font-size: 20px; letter-spacing: 0; font-weight: var(--tz-weight-bold); line-height: 1.4; }
.data-surface__head p { margin: 6px 0 0; color: #65758b; font-size: 13.5px; line-height: 1.65; }
.surface-stats { display: flex; align-items: center; gap: 8px; }
.table-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; background: #fbfcfe; border-bottom: 1px solid #edf1f6; }
.table-search { display: grid; grid-template-columns: auto minmax(220px,420px) auto; align-items: center; gap: 8px; width: min(100%, 590px); }
.table-search__icon { margin-left: -38px; position: relative; z-index: 2; color: #8a99ad; pointer-events: none; font-size: 16px; }
.table-search input { padding-right: 38px; height: 42px; background: #fff; }
.btn-search { min-width: 76px; height: 42px; padding-block: 8px; }
.table-tools__hint { display: flex; align-items: center; gap: 7px; color: #6e7d91; font-size: 12px; font-weight: var(--tz-weight-medium); white-space: nowrap; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #21a268; box-shadow: 0 0 0 4px rgba(33,162,104,.10); }
.table-frame { overflow: auto; background: #fff; }
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 760px; }
.data-table--legible { font-family: var(--tz-font-ui); }
.table-head-label { display: inline-block; line-height: 1.5; }
.data-table th, .data-table td { text-align: right; vertical-align: middle; }
.data-table th { padding: 14px 18px; background: #f7f9fc; color: #4f6077; border-bottom: 1px solid #e4eaf2; font-size: 12.5px; font-weight: var(--tz-weight-bold); letter-spacing: 0; line-height: 1.5; white-space: nowrap; position: sticky; top: 0; z-index: 3; }
.data-table td { padding: 15px 18px; border-bottom: 1px solid #e9eef5; color: #2f3d52; font-size: 13.5px; line-height: 1.65; background: #fff; transition: background .13s ease; }
.data-table tbody tr:nth-child(even) td { background: #fcfdff; }
.data-table tbody tr:hover td { background: #f7faff; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td:first-child, .data-table th:first-child { padding-right: 20px; }
.data-table td:last-child, .data-table th:last-child { padding-left: 20px; }
.entity-cell { display: flex; align-items: center; gap: 10px; min-width: 150px; }
.entity-cell__avatar { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 36px; background: #edf3fc; color: #294d91; font-weight: var(--tz-weight-bold); font-size: 13px; box-shadow: inset 0 0 0 1px #dce6f3; }
.entity-cell__copy { min-width: 0; }
.entity-cell__copy strong, .entity-cell__name { display: block; color: #18263d; font-size: 13.5px; font-weight: var(--tz-weight-bold); line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.entity-cell__copy small, .entity-cell__kind { display: block; margin-top: 3px; color: #75849a; font-size: 11.5px; line-height: 1.4; }
.cell-strong { color: #213047; font-weight: var(--tz-weight-semibold); }
.cell-muted { color: #637288; font-size: 13px; line-height: 1.65; }
.cell-mono { display: inline-flex; direction: ltr; text-align: left; max-width: 280px; overflow-wrap: anywhere; font-family: var(--tz-font-mono); font-size: 11.5px; font-weight: var(--tz-weight-medium); line-height: 1.45; color: #40516a; background: #f5f7fa; border: 1px solid #e5ebf2; padding: 5px 8px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.empty-state { background: #fff; border: 1px dashed #cfd8e5; border-radius: 18px; padding: 34px; text-align: center; color: #718096; }
.empty-state strong, .empty-state span { display: block; }
.empty-state strong { color: #27364e; margin-bottom: 5px; }
.empty-row { text-align: center !important; color: #7b8798 !important; padding: 34px !important; }
.pagination { display: flex; gap: 9px; align-items: center; justify-content: flex-end; padding: 15px 18px 18px; border-top: 1px solid #f1f4f8; background: #fcfdff; }
.pagination__link, .pagination__current { min-height: 36px; padding: 8px 12px; border-radius: 9px; font-size: 12.5px; line-height: 1.45; }
.pagination__link { background: #fff; border: 1px solid #e1e7ef; text-decoration: none; color: #3e4d63; box-shadow: 0 2px 7px rgba(34,48,72,.03); }
.pagination__link:hover { border-color: #cdd9ed; color: var(--tz-primary); background: #f8faff; }
.pagination__current { color: #718096; background: #f4f7fa; border: 1px solid #e8edf3; }
.pagination__current strong { color: #26364e; }

.standalone-error { min-height: 100vh; display: grid; place-items: center; padding: 30px; }
.standalone-error > div { max-width: 620px; background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 28px; text-align: center; }
.logout-form { margin: 0; }

@media (max-width: 1380px) {
  .metric-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 980px) {
  .auth-panel { grid-template-columns: 1fr; max-width: 620px; }
  .auth-visual { min-height: 270px; padding: 34px; }
  .auth-visual-copy h2 { font-size: 28px; }
  .auth-form-side { padding: 36px; }
  .app-shell { grid-template-columns: 210px 1fr; }
  .main { padding-inline: 20px; }
  .table-tools { align-items: stretch; flex-direction: column; }
  .table-search { width: 100%; }
  .table-tools__hint { padding-right: 4px; }
}

@media (max-width: 820px) {
  .topbar { height: 68px; padding: 0 14px; }
  .mobile-nav-toggle { display: grid; place-items: center; }
  .portal-shortcut { display: none; }
  .user-chip .user-text { display: none; }
  .app-shell { grid-template-columns: 1fr; min-height: calc(100vh - 68px); }
  .sidebar { position: fixed; right: 0; top: 68px; height: calc(100vh - 68px); width: min(290px,86vw); z-index: 35; transform: translateX(105%); transition: .2s ease; box-shadow: -18px 0 45px rgba(9,18,35,.18); }
  body.sidebar-open .sidebar { transform: translateX(0); }
  .main { padding: 20px 15px 36px; }
  .page-head { align-items: flex-start; }
  .hero { padding: 28px 24px; border-radius: 21px; }
  .auth-stage { padding: 15px; }
  .auth-panel { border-radius: 22px; }
  .auth-visual { padding: 27px; min-height: 235px; }
  .auth-form-side { padding: 30px 24px; }
  .top-actions { gap: 6px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .data-surface__head { align-items: flex-start; }
  .data-surface__head--list { flex-direction: column; }
}

@media (max-width: 680px) {
  .mode-banner { grid-template-columns: auto 1fr; align-items: start; }
  .mode-banner .status-pill { grid-column: 2; justify-self: start; }
  .security-summary { grid-template-columns: auto 1fr; align-items: start; }
  .security-summary .status-pill { grid-column: 2; justify-self: start; }
  .data-surface { border-radius: 18px; }
  .data-surface__head { padding: 18px; }
  .table-tools { padding: 13px; }
  .table-search { grid-template-columns: auto minmax(0,1fr) auto; }
  .table-tools__hint { display: none; }

  .data-table--responsive { min-width: 0; display: block; padding: 10px; }
  .data-table--responsive thead { display: none; }
  .data-table--responsive tbody { display: grid; gap: 10px; }
  .data-table--responsive tr { display: block; border: 1px solid #e6ecf3; border-radius: 15px; overflow: hidden; background: #fff; box-shadow: 0 5px 14px rgba(26,42,70,.035); }
  .data-table--responsive td { display: grid; grid-template-columns: minmax(90px,36%) 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-bottom: 1px solid #eef2f6; background: #fff !important; }
  .data-table--responsive td:before { content: attr(data-label); color: #66768c; font-size: 11.5px; font-weight: var(--tz-weight-bold); line-height: 1.4; }
  .data-table--responsive td:last-child { border-bottom: 0; }
  .data-table--responsive .empty-row { display: block; }
  .data-table--responsive .empty-row:before { display: none; }
  .entity-cell { min-width: 0; }
  .entity-cell__copy strong { max-width: 100%; }
  .cell-mono { max-width: 100%; }
  .pagination { justify-content: center; }
}

@media (max-width: 560px) {
  .brand-copy small { display: none; }
  .brand-mark { width: 39px; height: 39px; }
  .user-chip { padding: 3px; }
  .avatar { width: 34px; height: 34px; }
  .logout-form .btn { padding: 8px 10px; font-size: 12.5px; }
  .page-head h1 { font-size: 24px; }
  .metric-grid { grid-template-columns: 1fr; gap: 11px; }
  .metric-card { min-height: 136px; }
  .metric-card__value { font-size: 34px; }
  .app-grid { grid-template-columns: 1fr; }
  .auth-visual-copy h2 { font-size: 24px; }
  .auth-points { display: none; }
  .table-search { grid-template-columns: auto minmax(0,1fr); }
  .btn-search { grid-column: 1 / -1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Round 2A — controlled entitlement management */
.action-panel { margin-bottom: 20px; background: #fff; border: 1px solid var(--tz-line); border-radius: 20px; box-shadow: var(--tz-shadow-sm); overflow: hidden; }
.action-panel__head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:18px 20px; border-bottom:1px solid #edf1f6; background:linear-gradient(180deg,#fff,#fbfcff); }
.action-panel__head h2 { margin:0; font-size:19px; line-height:1.45; color:var(--tz-ink-strong); }
.action-panel__head p { margin:5px 0 0; color:var(--tz-muted); font-size:13.5px; }
.action-form { display:grid; grid-template-columns: 1.2fr 1fr 1fr 1fr auto; gap:12px; align-items:end; padding:18px 20px 20px; }
.form-field { display:grid; gap:6px; min-width:0; }
.form-field label { font-size:12.5px; font-weight:var(--tz-weight-bold); color:#4f6077; }
.form-field input,.form-field select { width:100%; min-height:42px; border:1px solid #dce4ee; border-radius:11px; padding:9px 11px; background:#fff; outline:none; }
.form-field input:focus,.form-field select:focus { border-color:#9db8ef; box-shadow:0 0 0 3px rgba(36,87,214,.09); }
.write-lock-banner { display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; padding:14px 16px; margin-bottom:18px; border:1px solid #ead9a7; border-radius:16px; background:#fffaf0; color:#665222; }
.write-lock-banner strong { display:block; color:#473816; font-size:14px; }
.write-lock-banner span { display:block; font-size:12.5px; margin-top:2px; }
.btn-danger { background:#fff1f2; color:#9f1239; border-color:#fecdd3; box-shadow:none; }
.btn-danger:hover { background:#ffe4e6; }
.inline-action-form { margin:0; display:inline-flex; }
.action-cell { white-space:nowrap; }
.flash-success,.flash-error { padding:12px 14px; border-radius:12px; margin-bottom:16px; font-size:13.5px; font-weight:var(--tz-weight-semibold); }
.flash-success { background:#eaf8f0; color:#17633f; border:1px solid #ccebd9; }
.flash-error { background:#fff1f2; color:#9f1239; border:1px solid #fecdd3; }
@media (max-width:1100px){ .action-form{grid-template-columns:1fr 1fr;} .action-form .btn{width:100%;} }
@media (max-width:680px){ .action-form{grid-template-columns:1fr;} .action-panel__head{flex-direction:column;} .write-lock-banner{grid-template-columns:auto 1fr;} .write-lock-banner .status-pill{grid-column:2;justify-self:start;} }

/* Shared UI Feedback Library — ADR-TZAPPS-UI-FEEDBACK-001 */
.feedback-notice { display:grid; grid-template-columns:auto minmax(0,1fr); gap:12px; align-items:flex-start; margin:0 0 16px; padding:14px 16px; border:1px solid #dfe6ef; border-radius:14px; background:#fff; box-shadow:0 6px 18px rgba(25,42,70,.045); }
.feedback-notice__icon { width:32px; height:32px; display:grid; place-items:center; border-radius:10px; font-size:15px; font-weight:800; line-height:1; }
.feedback-notice__copy { min-width:0; display:grid; gap:3px; }
.feedback-notice__copy strong { color:#18263d; font-size:14px; font-weight:var(--tz-weight-bold); line-height:1.55; }
.feedback-notice__copy > span { color:#516179; font-size:13px; line-height:1.65; }
.feedback-notice__support { color:#76849a !important; font-size:12px !important; }
.feedback-notice--success { border-color:#cde8d8; background:#f7fcf9; }
.feedback-notice--success .feedback-notice__icon { background:#e2f5e9; color:#177245; }
.feedback-notice--error { border-color:#f1cbd1; background:#fff8f8; }
.feedback-notice--error .feedback-notice__icon { background:#ffe8eb; color:#a51d3b; }
.feedback-notice--warning { border-color:#ead9a7; background:#fffaf0; }
.feedback-notice--warning .feedback-notice__icon { background:#fff0c9; color:#8a5b0d; }
.feedback-notice--info { border-color:#cbdcf7; background:#f7faff; }
.feedback-notice--info .feedback-notice__icon { background:#e7effd; color:#2457d6; }

.tz-dialog-open { overflow:hidden; }
.tz-confirm-layer { position:fixed; inset:0; z-index:1000; display:grid; place-items:center; padding:22px; opacity:0; transition:opacity .15s ease; }
.tz-confirm-layer[hidden] { display:none; }
.tz-confirm-layer.is-open { opacity:1; }
.tz-confirm-backdrop { position:absolute; inset:0; background:rgba(12,21,38,.52); backdrop-filter:blur(3px); }
.tz-confirm { position:relative; width:min(520px,100%); overflow:hidden; border:1px solid rgba(220,228,239,.95); border-radius:22px; background:#fff; box-shadow:0 28px 80px rgba(13,27,52,.24); transform:translateY(8px) scale(.985); transition:transform .15s ease; outline:none; }
.tz-confirm-layer.is-open .tz-confirm { transform:translateY(0) scale(1); }
.tz-confirm__header { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:13px; align-items:start; padding:20px 20px 15px; }
.tz-confirm__icon { width:42px; height:42px; display:grid; place-items:center; border-radius:13px; background:#fff0c9; color:#8a5b0d; font-size:18px; font-weight:800; }
.tz-confirm-layer[data-variant="error"] .tz-confirm__icon { background:#ffe8eb; color:#a51d3b; }
.tz-confirm-layer[data-variant="info"] .tz-confirm__icon { background:#e7effd; color:#2457d6; }
.tz-confirm__heading { min-width:0; }
.tz-confirm__eyebrow { display:block; margin-bottom:3px; color:#7a8799; font-size:11.5px; font-weight:var(--tz-weight-bold); }
.tz-confirm__heading h2 { margin:0; color:#17243a; font-size:20px; line-height:1.5; }
.tz-confirm__close { width:34px; height:34px; display:grid; place-items:center; padding:0; border:0; border-radius:10px; background:#f5f7fa; color:#64748b; font-size:20px; cursor:pointer; }
.tz-confirm__close:hover { background:#edf1f6; color:#27364e; }
.tz-confirm__body { padding:0 75px 19px 20px; }
.tz-confirm__body p { margin:0; color:#4c5d74; font-size:14px; line-height:1.8; }
.tz-confirm__supporting { margin-top:10px !important; padding:10px 12px; border-radius:11px; background:#f7f9fc; color:#6d7b8f !important; font-size:12.5px !important; }
.tz-confirm__actions { display:flex; align-items:center; justify-content:flex-start; gap:9px; padding:14px 20px 18px; border-top:1px solid #edf1f6; background:#fbfcfe; }
.btn-danger-solid { border:1px solid #b42342; background:#b42342; color:#fff; box-shadow:0 5px 13px rgba(180,35,66,.16); }
.btn-danger-solid:hover { border-color:#971b36; background:#971b36; }
.btn-danger-solid:focus-visible { outline:3px solid rgba(180,35,66,.18); outline-offset:2px; }

.tz-toast-region { position:fixed; left:22px; bottom:22px; z-index:1100; width:min(390px,calc(100vw - 32px)); display:grid; gap:9px; pointer-events:none; }
.tz-toast { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; align-items:start; padding:13px 14px; border:1px solid #dfe6ef; border-radius:14px; background:#fff; box-shadow:0 18px 45px rgba(13,27,52,.18); opacity:0; transform:translateY(8px); transition:.18s ease; pointer-events:auto; }
.tz-toast.is-visible { opacity:1; transform:translateY(0); }
.tz-toast__mark { width:9px; height:9px; margin-top:6px; border-radius:50%; background:#2457d6; box-shadow:0 0 0 5px #e7effd; }
.tz-toast--success .tz-toast__mark { background:#177245; box-shadow:0 0 0 5px #e2f5e9; }
.tz-toast--warning .tz-toast__mark { background:#8a5b0d; box-shadow:0 0 0 5px #fff0c9; }
.tz-toast--error .tz-toast__mark { background:#a51d3b; box-shadow:0 0 0 5px #ffe8eb; }
.tz-toast strong,.tz-toast span { display:block; }
.tz-toast strong { color:#18263d; font-size:13.5px; line-height:1.5; }
.tz-toast span { margin-top:2px; color:#64748b; font-size:12.5px; line-height:1.55; }
.tz-toast__close { border:0; background:transparent; color:#8793a5; font-size:18px; cursor:pointer; padding:0 3px; }

@media (max-width:560px) {
  .tz-confirm-layer { padding:12px; align-items:end; }
  .tz-confirm { border-radius:20px 20px 14px 14px; }
  .tz-confirm__header { padding:18px 17px 13px; }
  .tz-confirm__body { padding:0 17px 17px; }
  .tz-confirm__actions { padding:13px 17px 16px; }
  .tz-confirm__actions .btn { flex:1 1 0; }
  .tz-toast-region { left:16px; right:16px; width:auto; bottom:16px; }
}

/* Round 2B — reusable account/settings surfaces */
.password-security-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff7e8;border:1px solid #f0d79d;border-radius:18px;padding:16px 18px;margin-bottom:18px;box-shadow:var(--tz-shadow-sm)}
.password-security-banner strong{display:block;color:#7a4d05;font-weight:var(--tz-weight-bold);margin-bottom:3px}.password-security-banner span{display:block;color:#7a6541;font-size:13.5px;line-height:1.7}
.settings-card{background:#fff;border:1px solid var(--tz-line);border-radius:22px;box-shadow:var(--tz-shadow-sm);overflow:hidden}.settings-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px;border-bottom:1px solid var(--tz-line);background:linear-gradient(180deg,#fff,#fbfcff)}.settings-card__head h2{margin:3px 0 5px;font-size:20px}.settings-card__head p{margin:0;color:#66778d;line-height:1.7;font-size:13.5px}.settings-form{padding:24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.settings-form .form-field:first-of-type,.settings-form .form-actions{grid-column:1/-1}.form-field{display:flex;flex-direction:column;gap:7px}.form-field label{font-weight:var(--tz-weight-semibold);font-size:13.5px;color:#34445c}.form-field input,.form-field select{width:100%;border:1px solid #dce3ec;border-radius:13px;padding:11px 13px;background:#fff;color:var(--tz-ink);font:inherit;outline:none;transition:.16s}.form-field input:focus,.form-field select:focus{border-color:#7ea1e6;box-shadow:0 0 0 3px rgba(44,91,184,.10)}.form-field small{color:#7a889b;font-size:12px;line-height:1.6}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:4px}.credential-reveal{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;background:linear-gradient(145deg,#0f1d38,#1c3a70);color:#fff;border-radius:20px;padding:20px 22px;margin-bottom:18px;box-shadow:0 15px 36px rgba(17,37,75,.17)}.credential-reveal__copy strong{display:block;font-size:16px;margin-bottom:5px}.credential-reveal__copy span{display:block;color:#cddaf0;font-size:13px;line-height:1.7}.credential-reveal__secret{direction:ltr;text-align:left;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:20px;font-weight:700;letter-spacing:.6px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);border-radius:13px;padding:10px 13px;user-select:all}.action-cluster{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.btn.btn-compact{padding:7px 10px;font-size:12px;border-radius:10px}.btn.btn-warning-soft{background:#fff6e0;color:#8a5b08;border:1px solid #f0d79f}.btn.btn-danger-soft{background:#fff0f1;color:#a6333f;border:1px solid #f0cfd3}.btn.btn-success-soft{background:#eefaf3;color:#176443;border:1px solid #cdebd8}.user-state-note{display:block;color:#7c8798;font-size:11.5px;margin-top:3px;line-height:1.5}
@media(max-width:760px){.settings-form{grid-template-columns:1fr;padding:18px}.settings-card__head,.password-security-banner{align-items:stretch;flex-direction:column}.credential-reveal{grid-template-columns:1fr}.credential-reveal__secret{font-size:17px}.action-cluster{justify-content:flex-start}}

/* Shared action UI baseline — modals, icon actions, large tooltips */
.tz-icon-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.tz-icon-action{position:relative;width:42px;height:42px;display:inline-grid;place-items:center;flex:0 0 42px;border:1px solid #dbe3ee;border-radius:12px;background:#fff;color:#44566f;box-shadow:0 3px 9px rgba(29,48,78,.035);cursor:pointer;transition:background .14s ease,border-color .14s ease,color .14s ease,transform .14s ease,box-shadow .14s ease;text-decoration:none;padding:0}
.tz-icon-action svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.tz-icon-action:hover{transform:translateY(-1px);border-color:#c8d5e7;background:#f8fbff;color:#1f4eaa;box-shadow:0 6px 16px rgba(31,78,170,.08)}
.tz-icon-action:focus-visible{outline:3px solid rgba(36,87,214,.16);outline-offset:2px}
.tz-icon-action--primary{background:#eef4ff;border-color:#cddcf8;color:#2457d6}.tz-icon-action--primary:hover{background:#e5efff;border-color:#b9cef4}
.tz-icon-action--warning{background:#fff8e9;border-color:#edd9a9;color:#8a5b0d}.tz-icon-action--warning:hover{background:#fff3d6;border-color:#e2c781;color:#734803}
.tz-icon-action--danger{background:#fff0f2;border-color:#efcfd5;color:#a51d3b}.tz-icon-action--danger:hover{background:#ffe7eb;border-color:#e8b8c2;color:#8c1731}
.tz-icon-action--success{background:#eefaf3;border-color:#cbe9d6;color:#176443}.tz-icon-action--success:hover{background:#e3f7eb;border-color:#b3ddc3;color:#115335}
.tz-icon-action[disabled],.tz-icon-action[aria-disabled="true"]{cursor:not-allowed;opacity:.46;transform:none;box-shadow:none}
.tz-icon-action[disabled]:hover{background:#fff;color:#44566f;border-color:#dbe3ee}
.data-surface__actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}

.tz-tooltip-bubble{position:absolute;z-index:1300;max-width:290px;padding:9px 12px;border:1px solid rgba(24,38,61,.14);border-radius:11px;background:#17243a;color:#fff;font-family:var(--tz-font-ui);font-size:14px;font-weight:var(--tz-weight-semibold);line-height:1.55;text-align:center;box-shadow:0 12px 30px rgba(12,28,54,.18);opacity:0;transform:translateY(3px);transition:opacity .12s ease,transform .12s ease;pointer-events:none;white-space:normal}
.tz-tooltip-bubble.is-visible{opacity:1;transform:translateY(0)}

.tz-modal-open{overflow:hidden}
.tz-modal-layer{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:24px;opacity:0;transition:opacity .15s ease}
.tz-modal-layer[hidden]{display:none}.tz-modal-layer.is-open{opacity:1}
.tz-modal-backdrop{position:absolute;inset:0;background:rgba(12,21,38,.55);backdrop-filter:blur(4px)}
.tz-modal{position:relative;width:min(620px,100%);max-height:min(88vh,900px);overflow:hidden;display:flex;flex-direction:column;border:1px solid rgba(220,228,239,.96);border-radius:22px;background:#fff;box-shadow:0 30px 90px rgba(13,27,52,.28);transform:translateY(10px) scale(.985);transition:transform .15s ease;outline:none}
.tz-modal-layer.is-open .tz-modal{transform:translateY(0) scale(1)}
.tz-modal--sm{width:min(440px,100%)}.tz-modal--md{width:min(620px,100%)}.tz-modal--lg{width:min(820px,100%)}.tz-modal--xl{width:min(1040px,100%)}
.tz-modal__header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 16px;border-bottom:1px solid #edf1f6;background:linear-gradient(180deg,#fff,#fbfcfe)}
.tz-modal__heading{min-width:0}.tz-modal__eyebrow{display:block;margin-bottom:4px;color:#60738f;font-size:12px;font-weight:var(--tz-weight-bold);line-height:1.4}.tz-modal__heading h2{margin:0;color:#17243a;font-size:21px;line-height:1.45;font-weight:var(--tz-weight-bold)}
.tz-modal__close{width:38px;height:38px;flex-basis:38px;border-radius:11px;background:#f5f7fa;border-color:#e3e8ef;box-shadow:none}.tz-modal__close svg{width:19px;height:19px}
.tz-modal__body{padding:22px;overflow:auto;overscroll-behavior:contain}
.tz-modal__body .settings-form,.tz-modal__body .action-form{padding:0;background:transparent;border:0;box-shadow:none}
.tz-modal__body .settings-form{grid-template-columns:repeat(2,minmax(0,1fr))}
.tz-modal__body .settings-form .form-field:first-of-type{grid-column:auto}.tz-modal__body .settings-form .form-actions{grid-column:1/-1;border-top:1px solid #edf1f6;padding-top:16px;margin-top:2px}
.tz-modal__intro{margin:-4px 0 18px;color:#66778d;font-size:13.5px;line-height:1.75}
.tz-modal__status{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px;padding:11px 13px;border-radius:13px;background:#f7f9fc;border:1px solid #e7ecf3;color:#56667c;font-size:12.5px}

.tz-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.tz-details-item{margin:0;padding:13px 14px;border:1px solid #e5eaf1;border-radius:14px;background:#fbfcfe}.tz-details-item--wide{grid-column:1/-1}.tz-details-item dt{margin:0 0 5px;color:#76859a;font-size:12px;font-weight:var(--tz-weight-semibold);line-height:1.45}.tz-details-item dd{margin:0;color:#1d2b42;font-size:14px;font-weight:var(--tz-weight-semibold);line-height:1.65;overflow-wrap:anywhere}.tz-details-item__value--mono{direction:ltr;text-align:left;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px}

.table-primary-action{margin-inline-start:auto}
.action-form--modal{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.action-form--modal .form-field--wide,.action-form--modal .form-actions{grid-column:1/-1}.action-form--modal .form-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:15px;border-top:1px solid #edf1f6}

@media(max-width:760px){.tz-modal-layer{padding:12px;align-items:end}.tz-modal{width:100%;max-height:92vh;border-radius:20px 20px 14px 14px}.tz-modal__header{padding:18px 17px 14px}.tz-modal__body{padding:17px}.tz-details-grid,.action-form--modal,.tz-modal__body .settings-form{grid-template-columns:1fr}.tz-details-item--wide,.action-form--modal .form-field--wide,.action-form--modal .form-actions,.tz-modal__body .settings-form .form-actions{grid-column:1}.tz-icon-action{width:44px;height:44px;flex-basis:44px}.tz-tooltip-bubble{font-size:14.5px;max-width:min(300px,calc(100vw - 24px))}}

/* TZApps Data Workspace v1 ------------------------------------------------ */
.tz-data-workspace{position:relative}
.workspace-command-bar{padding-block:18px 16px;min-height:92px}
.workspace-command-bar__copy{min-width:0;max-width:760px}
.workspace-command-bar__actions{align-self:center}
.workspace-summary-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px;
  margin:0;
  background:#e8edf5;
  border-bottom:1px solid #e4eaf2;
}
.workspace-summary-item{
  min-width:0;
  padding:12px 16px 11px;
  background:#fff;
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-areas:"label value" "meta meta";
  align-items:baseline;
  column-gap:10px;
}
.workspace-summary-item__label{grid-area:label;color:#6a788c;font-size:12px;font-weight:var(--tz-weight-semibold);white-space:nowrap}
.workspace-summary-item__value{grid-area:value;color:#17243b;font-size:18px;line-height:1.2;font-weight:var(--tz-weight-bold);font-variant-numeric:tabular-nums;text-align:left}
.workspace-summary-item__meta{grid-area:meta;margin-top:3px;color:#8a96a7;font-size:11px;line-height:1.35}
.workspace-summary-item--mode{box-shadow:inset -3px 0 0 #8aa1c8}
.workspace-summary-item--write{box-shadow:inset -3px 0 0 #24815b;background:#fbfffd}
.workspace-summary-item--warning{box-shadow:inset -3px 0 0 #b37a12;background:#fffdf8}
.workspace-toolbar{padding:12px 16px;min-height:62px;background:#f9fbfd}
.workspace-toolbar__primary{display:flex;align-items:center;gap:10px;flex:1;min-width:0}
.workspace-toolbar__primary .table-search{width:min(100%,620px)}
.workspace-toolbar__secondary{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.workspace-toolbar__status{padding:7px 10px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#5f6f84}
.workspace-toolbar__status--write{border-color:#cfe8dc;background:#f2fbf6;color:#176443}
.workspace-toolbar__status--warning{border-color:#f0dfb5;background:#fffaf0;color:#845800}
.workspace-toolbar__status--write .status-dot{background:#2f9569}
.workspace-toolbar__status--warning .status-dot{background:#b77c13}

/* Operational workspaces favor scanability over card height. */
.data-surface.tz-data-workspace{overflow:visible}
.data-surface.tz-data-workspace .table-frame{position:relative;isolation:isolate;overflow:auto;max-height:none;scrollbar-gutter:stable;background:#fff}
.data-surface.tz-data-workspace .data-table th{top:0;z-index:7;box-shadow:0 1px 0 #e4eaf2,0 8px 16px -18px rgba(23,32,51,.45)}
.data-surface.tz-data-workspace .data-table th:last-child,
.data-surface.tz-data-workspace .data-table td:last-child{
  position:sticky;
  left:0;
  z-index:5;
  min-width:104px;
  box-shadow:10px 0 18px -16px rgba(23,32,51,.42);
}
.data-surface.tz-data-workspace .data-table th:last-child{z-index:9;background:#f4f7fb}
.data-surface.tz-data-workspace .data-table td:last-child{background:#fff}
.data-surface.tz-data-workspace .data-table tbody tr:nth-child(even) td:last-child{background:#fcfdff}
.data-surface.tz-data-workspace .data-table tbody tr:hover td:last-child{background:#f7faff}
.data-surface.tz-data-workspace .data-table td{padding-block:13px}
.data-surface.tz-data-workspace .data-table th{padding-block:12px}
.data-surface.tz-data-workspace .entity-cell__avatar{box-shadow:inset 0 0 0 1px #d9e3f0,0 3px 8px rgba(34,61,105,.05)}
.data-surface.tz-data-workspace .tz-icon-actions{justify-content:flex-start;flex-wrap:nowrap}

.workspace-empty-state{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:28px 18px;color:#738297;text-align:center}
.workspace-empty-state__icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#f1f5fa;color:#45618f;font-size:20px;font-weight:700;margin-bottom:3px}
.workspace-empty-state strong{color:#26364e;font-size:14px;font-weight:var(--tz-weight-bold)}
.workspace-empty-state span:not(.workspace-empty-state__icon){font-size:12.5px;line-height:1.6;max-width:440px}

/* Dashboard keeps the richer KPI cards; tighten them slightly without turning
   operational list pages back into oversized metric grids. */
.metric-grid{gap:13px}
.metric-card{min-height:150px;padding:18px 18px 16px}
.metric-card__value{margin-top:13px;font-size:35px}
.metric-card__meta{margin-top:6px}

@media (max-width: 980px){
  .workspace-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 700px){
  .workspace-command-bar{min-height:0}
  .workspace-summary-strip{grid-template-columns:1fr 1fr}
  .workspace-summary-item{padding:10px 12px}
  .workspace-summary-item__value{font-size:16px}
  .workspace-toolbar{align-items:stretch}
  .workspace-toolbar__secondary{justify-content:flex-start}
  .data-surface.tz-data-workspace .data-table th:last-child,
  .data-surface.tz-data-workspace .data-table td:last-child{position:static;left:auto;box-shadow:none;min-width:0}
}
@media (max-width: 460px){
  .workspace-summary-strip{grid-template-columns:1fr}
  .workspace-summary-item{grid-template-columns:92px 1fr}
}

/* TZApps Security Foundation S1 */
.security-overview-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:18px;margin-top:18px}
.security-mini-list{display:grid;gap:0}
.security-mini-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;padding:14px 18px;border-top:1px solid var(--line,#e7ebf0)}
.security-mini-row:first-child{border-top:0}.security-mini-row strong{display:block;font-size:15px;line-height:1.6}.security-mini-row small{display:block;color:var(--muted,#667085);margin-top:2px;font-size:13px;line-height:1.5}
.metric-grid--security{grid-template-columns:repeat(5,minmax(0,1fr))}.metric-grid--security .metric-card{min-height:118px}
.mono-cell{direction:ltr;unicode-bidi:isolate;font-family:Consolas,"Courier New",monospace;font-size:12px;background:#f6f8fb;border:1px solid #e7ebf0;border-radius:7px;padding:3px 6px;white-space:nowrap}
@media(max-width:1100px){.metric-grid--security{grid-template-columns:repeat(3,minmax(0,1fr))}.security-overview-grid{grid-template-columns:1fr}}
@media(max-width:720px){.metric-grid--security{grid-template-columns:repeat(2,minmax(0,1fr))}.security-mini-row{padding:12px 14px}}
.status-pill--success{color:#17623f;background:#eaf8f0;border:1px solid #cdebd8}
.status-pill--danger{color:#9f2d2d;background:#fff0f0;border:1px solid #f1caca}
.status-pill--info{color:#245b86;background:#edf6fd;border:1px solid #cfe4f6}

/* Security Center operational workspace — TZAppsCore v018 */
.security-posture {
  margin-bottom: 20px;
  background: linear-gradient(135deg, #101d35 0%, #193661 58%, #2457a7 100%);
  color: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 46px rgba(16, 29, 53, .16);
  overflow: hidden;
  position: relative;
}
.security-posture:after {
  content: "";
  position: absolute;
  inline-size: 250px;
  block-size: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,.055);
  inset-inline-start: -80px;
  inset-block-start: -120px;
}
.security-posture > * { position: relative; z-index: 1; }
.security-posture > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.security-posture h2 { margin: 0; font-size: 23px; line-height: 1.45; font-weight: 700; }
.security-posture p { margin: 7px 0 0; color: #d9e6f8; font-size: 13.5px; line-height: 1.75; max-width: 760px; }
.security-posture .surface-kicker { color: #9ec2ff; }
.security-mode-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
.security-posture__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.security-posture-item {
  min-height: 126px;
  padding: 15px;
  border-radius: 17px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(5px);
}
.security-posture-item__status {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(255,255,255,.12);
}
.security-posture-item--pass .security-posture-item__status { color: #bff3d4; background: rgba(31,184,111,.18); }
.security-posture-item--pending .security-posture-item__status { color: #ffe3a5; background: rgba(245,171,37,.17); }
.security-posture-item--disabled .security-posture-item__status { color: #d7deea; }
.security-posture-item strong { display: block; font-size: 14px; line-height: 1.45; }
.security-posture-item p { color: #d6e1f1; font-size: 12px; line-height: 1.65; margin-top: 5px; }
.security-posture > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #cfdbed;
  font-size: 12.5px;
}
.security-posture > footer strong { color: #fff; font-variant-numeric: tabular-nums; }

.security-kpi-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; margin-bottom: 20px; }
.security-kpi {
  position: relative;
  min-height: 124px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--tz-line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--tz-shadow-sm);
}
.security-kpi:after { content: ""; position: absolute; inset-inline-start: -26px; inset-block-end: -38px; inline-size: 88px; block-size: 88px; border-radius: 50%; background: #edf3ff; }
.security-kpi__label { display: block; color: #5c6d84; font-size: 12.5px; font-weight: 700; line-height: 1.5; }
.security-kpi strong { position: relative; z-index: 1; display: block; margin-top: 11px; color: #12203a; font-size: 31px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.security-kpi small { position: relative; z-index: 1; display: block; margin-top: 8px; color: #78869a; font-size: 11.5px; line-height: 1.45; }
.security-kpi--alert:after, .security-kpi--risk:after { background: #fff1f2; }
.security-kpi--device:after, .security-kpi--binding:after { background: #eef4ff; }
.security-kpi--event:after, .security-kpi--application:after { background: #eaf8f0; }

.security-overview-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.security-mini-list { padding: 4px 18px 18px; }
.security-mini-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 13px 2px; border-bottom: 1px solid #edf1f6; }
.security-mini-row:last-child { border-bottom: 0; }
.security-mini-row strong { display: block; color: #1c2b42; font-size: 13px; line-height: 1.5; }
.security-mini-row small { display: block; margin-top: 3px; color: #748299; font-size: 11.5px; line-height: 1.45; }

.security-breakdown { padding: 18px 22px 22px; }
.security-breakdown-row { margin-bottom: 17px; }
.security-breakdown-row:last-child { margin-bottom: 0; }
.security-breakdown-row > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 7px; }
.security-breakdown-row strong { font-size: 13px; color: #24344d; font-variant-numeric: tabular-nums; }
.security-breakdown-track { height: 8px; border-radius: 999px; background: #edf1f6; overflow: hidden; }
.security-breakdown-fill { display: block; height: 100%; border-radius: inherit; background: #4d76dc; }
.security-breakdown-fill--critical { background: #8b102f; }
.security-breakdown-fill--high { background: #d62d4d; }
.security-breakdown-fill--medium { background: #d68a14; }
.security-breakdown-fill--low { background: #2d8b6c; }
.security-breakdown-fill--info { background: #4675d2; }

.security-app-list { padding: 8px 20px 18px; }
.security-app-list article { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 2px; border-bottom: 1px solid #edf1f6; }
.security-app-list article:last-child { border-bottom: 0; }
.security-app-list article > div > strong { display: block; color: #1b2a41; font-size: 14px; }
.security-app-list article > div > small { display: block; color: #7a879a; font-size: 11.5px; margin-top: 3px; }
.security-app-list dl { display: flex; gap: 16px; margin: 0; }
.security-app-list dl div { text-align: center; min-width: 52px; }
.security-app-list dt { color: #78869a; font-size: 10.5px; }
.security-app-list dd { margin: 3px 0 0; color: #24344d; font-size: 14px; font-weight: 700; }

.security-filter-bar { display: grid; grid-template-columns: repeat(6,minmax(120px,1fr)) auto auto; gap: 10px; align-items: end; padding: 14px 18px; background: #fbfcfe; border-bottom: 1px solid #edf1f6; }
.security-filter-field { display: grid; gap: 5px; min-width: 0; }
.security-filter-field > span { color: #5c6c82; font-size: 11.5px; font-weight: 700; }
.security-filter-field input, .security-filter-field select { width: 100%; min-height: 40px; border: 1px solid #dce4ee; border-radius: 10px; background: #fff; padding: 8px 10px; font-size: 12.5px; }
.security-filter-field input:focus, .security-filter-field select:focus { outline: 3px solid rgba(36,87,214,.12); border-color: #7b9bea; }
.security-event-key { direction: ltr; display: inline-block; color: #334965; background: #f3f6fa; border: 1px solid #e3e9f1; border-radius: 8px; padding: 5px 7px; font-size: 11px; }
.security-app-key { display: inline-flex; padding: 5px 8px; border-radius: 8px; background: #eef4ff; color: #2b57aa; font-size: 11.5px; font-weight: 700; }
.security-time { color: #56677e; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.security-time-range { color: #43546d; font-size: 12px; line-height: 1.5; }
.security-time-range small { color: #7b899d; }
.security-alert-copy { min-width: 230px; max-width: 420px; }
.security-alert-copy strong { display: block; color: #1d2c43; font-size: 13px; line-height: 1.5; }
.security-alert-copy small { display: block; color: #78869a; font-size: 11.5px; line-height: 1.55; margin-top: 3px; }
.status-pill--critical { color: #fff; background: #7f1231; border: 1px solid #681027; }
.status-pill--danger { color: var(--tz-danger); background: var(--tz-danger-bg); border: 1px solid #fecdd3; }
.status-pill--success { color: var(--tz-success); background: var(--tz-success-bg); border: 1px solid #cdebd8; }
.status-pill--info { color: #2856b2; background: var(--tz-primary-soft); border: 1px solid #d9e6ff; }

@media (max-width: 1320px) {
  .security-kpi-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .security-filter-bar { grid-template-columns: repeat(3,minmax(140px,1fr)) auto auto; }
}
@media (max-width: 900px) {
  .security-posture__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .security-overview-grid { grid-template-columns: 1fr; }
  .security-filter-bar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .security-app-list article { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .security-posture { padding: 20px; border-radius: 20px; }
  .security-posture > header { flex-direction: column; }
  .security-posture__grid { grid-template-columns: 1fr; }
  .security-kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .security-filter-bar { grid-template-columns: 1fr; }
  .security-filter-bar .btn { width: 100%; }
  .security-app-list dl { width: 100%; justify-content: space-between; gap: 7px; }
}

/* TZApps Security S2 — operational management surfaces */
.form-field textarea{width:100%;min-height:110px;resize:vertical;border:1px solid #dce3ec;border-radius:13px;padding:11px 13px;background:#fff;color:var(--tz-ink);font:inherit;line-height:1.75;outline:none;transition:.16s}
.form-field textarea:focus{border-color:#7ea1e6;box-shadow:0 0 0 3px rgba(44,91,184,.10)}
.form-field--wide{grid-column:1/-1}
.security-policy-subject{min-width:170px}.security-policy-subject strong{display:block;color:#1d2c43;font-size:13px;line-height:1.55}.security-policy-subject small{display:block;margin-top:3px;color:#8390a2;font-size:11px;font-variant-numeric:tabular-nums}
.data-surface.tz-data-workspace .data-table td:last-child,.data-surface.tz-data-workspace .data-table th:last-child{min-width:74px}
@media(max-width:760px){.form-field--wide{grid-column:1}}


/* TZApps Security S3 — MFA foundation */
.mfa-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;padding:24px;margin-bottom:20px;border-radius:24px;color:#fff;background:linear-gradient(135deg,#17213d 0%,#244b8c 62%,#2e6ed0 100%);box-shadow:0 18px 48px rgba(22,42,78,.18)}
.mfa-hero h2{margin:4px 0 8px;font-size:24px;line-height:1.45}.mfa-hero p{margin:0;max-width:780px;color:#dce9fb;line-height:1.8}.mfa-hero .surface-kicker{color:#a9c9ff}.mfa-hero__status{display:grid;justify-items:end;gap:8px;white-space:nowrap}.mfa-hero__status small{color:#d6e2f4;font-size:12px}
.mfa-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:18px}.mfa-grid>.feedback-notice{grid-column:1/-1}.mfa-enrollment,.mfa-state{display:grid;gap:16px}.mfa-secret{padding:18px;border:1px solid #dce5f2;border-radius:16px;background:#f8fbff}.mfa-secret span,.mfa-secret small{display:block;color:#66768c;font-size:12px}.mfa-secret code{display:block;direction:ltr;unicode-bidi:isolate;margin:10px 0;padding:12px;border-radius:12px;background:#14213a;color:#fff;font:700 18px/1.5 Consolas,monospace;word-break:break-all;letter-spacing:.08em}.mfa-uri{display:block;direction:ltr;unicode-bidi:isolate;white-space:normal;word-break:break-all;padding:12px;background:#f4f7fb;border-radius:10px;font-size:11px}.mfa-state{grid-template-columns:auto 1fr;align-items:center;padding:16px;border:1px solid #d9ebdf;background:#f2fbf6;border-radius:15px}.mfa-state strong,.mfa-state small{display:block}.mfa-state small{color:#6d7d72;margin-top:4px}.mfa-recovery-codes{padding:16px;border:1px solid #f1dbac;background:#fffaf0;border-radius:16px}.mfa-recovery-codes ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:0;padding-inline-start:24px}.mfa-recovery-codes code{direction:ltr;unicode-bidi:isolate;font:700 13px Consolas,monospace}.mfa-challenge-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.settings-form--compact{margin-top:18px}
@media(max-width:900px){.mfa-grid{grid-template-columns:1fr}.mfa-hero{flex-direction:column}.mfa-hero__status{justify-items:start}.mfa-challenge-grid{grid-template-columns:1fr}}
@media(max-width:560px){.mfa-recovery-codes ol{grid-template-columns:1fr}.mfa-hero{padding:20px;border-radius:20px}}

.mfa-recovery-codes__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.mfa-recovery-codes__head strong{font-size:15px}.btn-sm{min-height:34px;padding:6px 11px;font-size:13px}

/* Password Recovery Foundation */
.auth-secondary-action{display:flex;justify-content:center;margin:13px 0 2px;font-size:13px}.auth-secondary-action a{color:var(--tz-primary);font-weight:var(--tz-weight-semibold);text-decoration:none}.auth-secondary-action a:hover{text-decoration:underline}.recovery-contact-summary{margin:22px 24px 0;padding:16px 18px;border:1px solid var(--tz-line);border-radius:15px;background:#f8fafc;display:grid;gap:5px}.recovery-contact-summary strong{font-size:13px;color:#45566d}.recovery-contact-summary span{font-weight:var(--tz-weight-bold);direction:ltr;text-align:right}.recovery-contact-summary small{color:#7a889b;line-height:1.6}

/* MFA enrollment QR experience — Core v021 */
.mfa-setup-wizard{display:grid;gap:14px}.mfa-setup-step{display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;align-items:start;padding:18px;border:1px solid #dde6f2;border-radius:18px;background:#fff}.mfa-setup-step__number{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#eaf2ff;color:#245db8;font-weight:800;font-size:15px}.mfa-setup-step strong{display:block;font-size:16px;color:#17213d}.mfa-setup-step p{margin:6px 0 0;color:#617187;line-height:1.8}.mfa-setup-step__body{min-width:0}.mfa-qr-card{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:18px;align-items:center;margin-top:16px;padding:18px;border:1px solid #d8e4f2;border-radius:18px;background:linear-gradient(180deg,#fbfdff 0%,#f5f9ff 100%)}.mfa-qr{display:grid;place-items:center;width:min(100%,280px);aspect-ratio:1;padding:12px;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(27,55,96,.12)}.mfa-qr__svg{display:block;width:100%;height:100%;max-width:256px;max-height:256px}.mfa-qr-card__meta{display:grid;justify-items:start;gap:9px}.mfa-qr-card__meta small{color:#66768c;line-height:1.7}.mfa-manual-setup{margin-top:14px;padding:12px 14px;border:1px dashed #c8d6e8;border-radius:14px;background:#fafcff}.mfa-manual-setup>summary,.mfa-technical-uri>summary{cursor:pointer;font-weight:700;color:#365479}.mfa-manual-setup[open]>summary{margin-bottom:12px}.mfa-technical-uri{margin-top:10px}.mfa-verify-form{margin-top:14px}.form-hint{display:block;margin-top:7px;color:#6b7b90;font-size:12px;line-height:1.65}.mfa-security-note{display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding:14px 16px;border:1px solid #f0d8a7;border-radius:14px;background:#fffaf0;color:#705521}.mfa-security-note strong{white-space:nowrap}.mfa-security-note span{line-height:1.7}.mfa-setup-step--qr{background:#fbfdff}
@media(max-width:760px){.mfa-qr-card{grid-template-columns:1fr}.mfa-qr{margin-inline:auto}.mfa-qr-card__meta{justify-items:center;text-align:center}}
@media(max-width:520px){.mfa-setup-step{grid-template-columns:34px minmax(0,1fr);padding:14px}.mfa-setup-step__number{width:32px;height:32px}.mfa-qr{padding:9px}.mfa-security-note{display:grid}}
