/* Digital Trust – Dashboard UI */
:root {
  --dt-primary: #9d23a0;
  --dt-primary-600: #861d89;
  --dt-primary-700: #6f1772;
  --dt-primary-50: #faf2fa;
  --dt-primary-100: #f3e1f3;
  --dt-blue: #1565d8;
  --dt-blue-50: #eef4fd;
  --dt-text: #1d2433;
  --dt-text-2: #4d4d4d;
  --dt-muted: #6b7280;
  --dt-subtle: #9aa1ad;
  --dt-border: #e6e8ef;
  --dt-border-strong: #d5d8e1;
  --dt-bg: #f5f6fa;
  --dt-surface: #ffffff;
  --dt-success: #15803d;
  --dt-success-bg: #ecfdf3;
  --dt-warning: #b45309;
  --dt-warning-bg: #fff7e6;
  --dt-danger: #c62828;
  --dt-danger-bg: #fdecec;
  --dt-info: #1565d8;
  --dt-info-bg: #eef4fd;
  --dt-neutral-bg: #f1f2f6;
  --dt-radius: 12px;
  --dt-radius-sm: 8px;
  --dt-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
  --dt-shadow-lg: 0 12px 32px rgba(16, 24, 40, .14);
  --dt-sidebar: 264px;
  --dt-topbar: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.dt-app {
  margin: 0;
  background: var(--dt-bg);
  color: var(--dt-text);
  font: 400 14px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.dt-app a { color: var(--dt-blue); text-decoration: none; }
.dt-app a:hover { text-decoration: underline; }
.dt-app h1, .dt-app h2, .dt-app h3, .dt-app h4 { margin: 0; color: var(--dt-text); line-height: 1.3; }
.dt-app p { margin: 0; }
.dt-app button, .dt-app input, .dt-app select, .dt-app textarea { font: inherit; color: inherit; }
.dt-app img { max-width: 100%; }
.dt-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Shell ---------- */
.dt-sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--dt-sidebar); z-index: 40;
  background: var(--dt-surface); border-right: 1px solid var(--dt-border);
  display: flex; flex-direction: column;
  transition: transform .25s ease;
}
.dt-brand {
  height: var(--dt-topbar); display: flex; align-items: center; gap: 10px;
  padding: 0 20px; border-bottom: 1px solid var(--dt-border); flex-shrink: 0;
}
.dt-brand a { display: flex; align-items: center; gap: 10px; color: var(--dt-text); text-decoration: none !important; }
.dt-brand__mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--dt-primary), #c03fc3); color: #fff;
}
.dt-brand__name { font-weight: 700; font-size: 16px; letter-spacing: -.2px; }
.dt-brand__sub { display: block; font-size: 11px; color: var(--dt-muted); font-weight: 500; }
.dt-nav { flex: 1; overflow-y: auto; padding: 16px 12px 24px; }
.dt-nav__group + .dt-nav__group { margin-top: 18px; }
.dt-nav__label { padding: 0 12px 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dt-subtle); }
.dt-nav__item {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: var(--dt-radius-sm);
  color: var(--dt-text-2) !important; font-weight: 500; text-decoration: none !important;
  transition: background .15s, color .15s;
}
.dt-nav__item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--dt-subtle); }
.dt-nav__item:hover { background: var(--dt-neutral-bg); color: var(--dt-text) !important; }
.dt-nav__item.is-active { background: var(--dt-primary-50); color: var(--dt-primary) !important; font-weight: 600; }
.dt-nav__item.is-active svg { color: var(--dt-primary); }
.dt-nav__count { margin-left: auto; min-width: 20px; padding: 0 6px; height: 20px; border-radius: 10px; background: var(--dt-primary); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.dt-sidebar__foot { padding: 14px 16px; border-top: 1px solid var(--dt-border); font-size: 12px; color: var(--dt-muted); }
.dt-sidebar__foot a { font-weight: 500; }

.dt-main { margin-left: var(--dt-sidebar); min-height: 100vh; display: flex; flex-direction: column; }
.dt-topbar {
  position: sticky; top: 0; z-index: 30; height: var(--dt-topbar);
  display: flex; align-items: center; gap: 12px; padding: 0 28px;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--dt-border);
}
.dt-topbar__title { font-size: 16px; font-weight: 600; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt-topbar__actions { display: flex; align-items: center; gap: 6px; }
.dt-icon-btn.dt-burger { display: none; }
.dt-content { padding: 28px; width: 100%; max-width: 1320px; margin: 0 auto; flex: 1; }
.dt-backdrop { display: none; }

/* ---------- Page header ---------- */
.dt-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.dt-page-head h1 { font-size: 24px; font-weight: 700; letter-spacing: -.4px; }
.dt-page-head p { margin-top: 4px; color: var(--dt-muted); }
.dt-page-head__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Card ---------- */
.dt-card { background: var(--dt-surface); border: 1px solid var(--dt-border); border-radius: var(--dt-radius); box-shadow: var(--dt-shadow); }
.dt-card + .dt-card { margin-top: 20px; }
.dt-grid > .dt-card + .dt-card, .dt-grid > * > .dt-card:first-child { margin-top: 0; }
.dt-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--dt-border); flex-wrap: wrap; }
.dt-card__head h2, .dt-card__head h3 { font-size: 15px; font-weight: 600; }
.dt-card__head p { color: var(--dt-muted); font-size: 13px; margin-top: 2px; }
.dt-card__body { padding: 22px; }
.dt-card__body--flush { padding: 0; }
.dt-card__foot { padding: 14px 22px; border-top: 1px solid var(--dt-border); display: flex; justify-content: flex-end; gap: 10px; background: #fcfcfd; border-radius: 0 0 var(--dt-radius) var(--dt-radius); }

.dt-grid { display: grid; gap: 20px; }
.dt-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dt-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dt-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dt-grid--main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }

/* ---------- Stat ---------- */
.dt-stat { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; text-decoration: none !important; color: inherit !important; transition: border-color .15s, box-shadow .15s; }
a.dt-stat:hover { border-color: var(--dt-primary-100); box-shadow: var(--dt-shadow-lg); }
.dt-stat__label { color: var(--dt-muted); font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.dt-stat__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dt-subtle); }
.dt-stat__value { font-size: 28px; font-weight: 700; letter-spacing: -.5px; }
.dt-stat__hint { font-size: 12px; color: var(--dt-subtle); }

/* ---------- Buttons ---------- */
.dt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: var(--dt-radius-sm); border: 1px solid transparent;
  font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; text-decoration: none !important;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.dt-btn svg { width: 16px; height: 16px; }
.dt-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(157, 35, 160, .25); }
.dt-btn--primary { background: var(--dt-primary); color: #fff !important; }
.dt-btn--primary:hover { background: var(--dt-primary-600); }
.dt-btn--secondary { background: var(--dt-surface); color: var(--dt-text) !important; border-color: var(--dt-border-strong); }
.dt-btn--secondary:hover { background: var(--dt-neutral-bg); }
.dt-btn--ghost { background: transparent; color: var(--dt-text-2) !important; }
.dt-btn--ghost:hover { background: var(--dt-neutral-bg); }
.dt-btn--success { background: var(--dt-success); color: #fff !important; }
.dt-btn--success:hover { background: #116632; }
.dt-btn--danger { background: var(--dt-surface); color: var(--dt-danger) !important; border-color: #f2c4c4; }
.dt-btn--danger:hover { background: var(--dt-danger-bg); }
.dt-btn--sm { height: 32px; padding: 0 12px; font-size: 13px; }
.dt-btn--lg { height: 46px; padding: 0 22px; font-size: 15px; }
.dt-btn--block { width: 100%; }
.dt-btn[disabled], .dt-btn.is-loading { opacity: .6; pointer-events: none; }
.dt-btn.is-loading::before { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: dt-spin .7s linear infinite; }
@keyframes dt-spin { to { transform: rotate(360deg); } }
.dt-icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 0;
  background: transparent; color: var(--dt-text-2); cursor: pointer; position: relative;
}
.dt-icon-btn:hover { background: var(--dt-neutral-bg); }
.dt-icon-btn svg { width: 20px; height: 20px; }
.dt-icon-btn__badge { position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--dt-danger); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; box-sizing: content-box; }

/* ---------- Badges ---------- */
.dt-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.dt-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dt-badge--success { background: var(--dt-success-bg); color: var(--dt-success); }
.dt-badge--warning { background: var(--dt-warning-bg); color: var(--dt-warning); }
.dt-badge--danger { background: var(--dt-danger-bg); color: var(--dt-danger); }
.dt-badge--info { background: var(--dt-info-bg); color: var(--dt-info); }
.dt-badge--neutral { background: var(--dt-neutral-bg); color: var(--dt-text-2); }
.dt-badge--brand { background: var(--dt-primary-50); color: var(--dt-primary); }

/* ---------- Forms ---------- */
.dt-field { display: flex; flex-direction: column; gap: 6px; }
.dt-field + .dt-field { margin-top: 16px; }
.dt-label { font-weight: 600; font-size: 13px; color: var(--dt-text); }
.dt-label .dt-req { color: var(--dt-danger); }
.dt-label small { font-weight: 400; color: var(--dt-subtle); margin-left: 4px; }
.dt-input, .dt-select, .dt-textarea {
  width: 100%; height: 42px; padding: 0 12px; border-radius: var(--dt-radius-sm);
  border: 1px solid var(--dt-border-strong); background: #fff; color: var(--dt-text);
  transition: border-color .15s, box-shadow .15s; outline: none;
}
.dt-textarea { height: auto; min-height: 110px; padding: 10px 12px; resize: vertical; }
.dt-select { appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.dt-input:focus, .dt-select:focus, .dt-textarea:focus { border-color: var(--dt-primary); box-shadow: 0 0 0 3px rgba(157, 35, 160, .15); }
.dt-input[readonly] { background: var(--dt-neutral-bg); color: var(--dt-text-2); }
.dt-field.has-error .dt-input, .dt-field.has-error .dt-textarea { border-color: var(--dt-danger); }
.dt-help { font-size: 12px; color: var(--dt-muted); }
.dt-error { font-size: 12px; color: var(--dt-danger); min-height: 0; }
.dt-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.dt-form-grid .dt-field + .dt-field { margin-top: 0; }
.dt-form-grid .dt-field--full { grid-column: 1 / -1; }

/* ---------- Toolbar & table ---------- */
.dt-toolbar { display: flex; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--dt-border); flex-wrap: wrap; align-items: center; }
.dt-toolbar .dt-input, .dt-toolbar .dt-select { height: 38px; }
.dt-search { position: relative; flex: 1 1 260px; max-width: 420px; }
.dt-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--dt-subtle); pointer-events: none; }
.dt-search .dt-input { padding-left: 36px; }
.dt-toolbar .dt-select { width: auto; min-width: 180px; }
.dt-tabs { display: flex; gap: 4px; padding: 0 22px; border-bottom: 1px solid var(--dt-border); overflow-x: auto; scrollbar-width: none; }
.dt-tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 10px; border-bottom: 2px solid transparent; color: var(--dt-muted) !important; font-weight: 500; white-space: nowrap; text-decoration: none !important; margin-bottom: -1px; }
.dt-tab:hover { color: var(--dt-text) !important; }
.dt-tab.is-active { color: var(--dt-primary) !important; border-bottom-color: var(--dt-primary); font-weight: 600; }
.dt-tab__count { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--dt-neutral-bg); color: var(--dt-text-2); }
.dt-tab.is-active .dt-tab__count { background: var(--dt-primary-50); color: var(--dt-primary); }

.dt-table-wrap { width: 100%; overflow-x: auto; }
.dt-table { width: 100%; border-collapse: collapse; }
.dt-table th { text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--dt-muted); padding: 12px 16px; background: #fafbfc; border-bottom: 1px solid var(--dt-border); white-space: nowrap; }
.dt-table td { padding: 14px 16px; border-bottom: 1px solid var(--dt-border); vertical-align: middle; }
.dt-table tr:last-child td { border-bottom: 0; }
.dt-table tbody tr:hover { background: #fcfbfd; }
.dt-table th:first-child, .dt-table td:first-child { padding-left: 22px; }
.dt-table th:last-child, .dt-table td:last-child { padding-right: 22px; }
.dt-table .dt-num { text-align: right; font-variant-numeric: tabular-nums; }
.dt-entity { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.dt-entity__logo { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--dt-border); background: #fff center/contain no-repeat; flex-shrink: 0; display: grid; place-items: center; font-weight: 700; color: var(--dt-primary); background-color: var(--dt-primary-50); overflow: hidden; }
.dt-entity__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.dt-entity__name { font-weight: 600; color: var(--dt-text) !important; display: block; max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dt-entity__meta { font-size: 12px; color: var(--dt-muted); }
.dt-person { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.dt-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--dt-blue-50); color: var(--dt-blue); display: grid; place-items: center; font-weight: 700; font-size: 11px; flex-shrink: 0; overflow: hidden; }
.dt-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dt-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: nowrap; }
.dt-muted { color: var(--dt-muted); }
.dt-subtle { color: var(--dt-subtle); font-size: 12px; }

.dt-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; border-top: 1px solid var(--dt-border); flex-wrap: wrap; }
.dt-pagination__info { color: var(--dt-muted); font-size: 13px; }
.dt-pagination__pages { display: flex; gap: 4px; }
.dt-page { min-width: 34px; height: 34px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--dt-border); display: grid; place-items: center; color: var(--dt-text-2) !important; text-decoration: none !important; font-weight: 500; background: #fff; }
.dt-page:hover { background: var(--dt-neutral-bg); }
.dt-page.is-active { background: var(--dt-primary); border-color: var(--dt-primary); color: #fff !important; }
.dt-page.is-disabled { opacity: .45; pointer-events: none; }

/* ---------- Empty ---------- */
.dt-empty { padding: 56px 24px; text-align: center; color: var(--dt-muted); }
.dt-empty__icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; background: var(--dt-primary-50); color: var(--dt-primary); display: grid; place-items: center; }
.dt-empty__icon svg { width: 26px; height: 26px; }
.dt-empty h3 { font-size: 16px; margin-bottom: 6px; }
.dt-empty .dt-btn { margin-top: 18px; }

/* ---------- Stepper ---------- */
.dt-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.dt-step { position: relative; padding-top: 44px; text-align: center; font-size: 13px; color: var(--dt-muted); }
.dt-step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--dt-border-strong); color: var(--dt-subtle); font-weight: 700;
}
.dt-step::after { content: ""; position: absolute; top: 15px; left: calc(50% + 20px); right: calc(-50% + 20px); height: 2px; background: var(--dt-border); }
.dt-step:last-child::after { display: none; }
.dt-step__title { font-weight: 600; color: var(--dt-text-2); display: block; }
.dt-step__desc { font-size: 12px; display: block; margin-top: 2px; padding: 0 6px; }
.dt-step.is-done::before { content: "✓"; background: var(--dt-primary); border-color: var(--dt-primary); color: #fff; }
.dt-step.is-done::after { background: var(--dt-primary); }
.dt-step.is-current::before { border-color: var(--dt-primary); color: var(--dt-primary); box-shadow: 0 0 0 5px var(--dt-primary-50); }
.dt-step.is-current .dt-step__title { color: var(--dt-primary); }
.dt-step.is-failed::before { content: "!"; background: var(--dt-danger); border-color: var(--dt-danger); color: #fff; }
.dt-step.is-failed .dt-step__title { color: var(--dt-danger); }

/* ---------- Callout ---------- */
.dt-callout { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--dt-radius); border: 1px solid; align-items: flex-start; }
.dt-callout svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.dt-callout__title { font-weight: 600; margin-bottom: 2px; }
.dt-callout__body { flex: 1; min-width: 0; }
.dt-callout__body p + p { margin-top: 4px; }
.dt-callout__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.dt-callout--info { background: var(--dt-info-bg); border-color: #cfe0fa; color: #0f3f86; }
.dt-callout--warning { background: var(--dt-warning-bg); border-color: #fbe0b0; color: #7a3d06; }
.dt-callout--success { background: var(--dt-success-bg); border-color: #bfe8cf; color: #0f5130; }
.dt-callout--danger { background: var(--dt-danger-bg); border-color: #f6caca; color: #8a1c1c; }
.dt-callout--brand { background: var(--dt-primary-50); border-color: var(--dt-primary-100); color: var(--dt-primary-700); }

/* ---------- Definition list ---------- */
.dt-dl { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.dt-dl dt, .dt-dl dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--dt-border); }
.dt-dl dt { color: var(--dt-muted); font-weight: 500; padding-right: 16px; }
.dt-dl dd { color: var(--dt-text); word-break: break-word; }
.dt-dl > :nth-last-child(-n+2) { border-bottom: 0; }

/* ---------- List ---------- */
.dt-list { list-style: none; margin: 0; padding: 0; }
.dt-list__item { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--dt-border); }
.dt-list__item:last-child { border-bottom: 0; }
.dt-list__main { flex: 1; min-width: 0; }
.dt-list__title { font-weight: 600; color: var(--dt-text) !important; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Dropdown ---------- */
.dt-dropdown { position: relative; }
.dt-dropdown__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; z-index: 60;
  background: #fff; border: 1px solid var(--dt-border); border-radius: var(--dt-radius); box-shadow: var(--dt-shadow-lg);
  padding: 6px; display: none;
}
.dt-dropdown.is-open .dt-dropdown__menu { display: block; animation: dt-pop .14s ease-out; }
@keyframes dt-pop { from { opacity: 0; transform: translateY(-4px); } }
.dt-menu-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 8px; border: 0; background: none; text-align: left; color: var(--dt-text) !important; font-weight: 500; cursor: pointer; text-decoration: none !important; }
.dt-menu-item:hover { background: var(--dt-neutral-bg); }
.dt-menu-item svg { width: 16px; height: 16px; color: var(--dt-muted); }
.dt-menu-item--danger { color: var(--dt-danger) !important; }
.dt-menu-sep { height: 1px; background: var(--dt-border); margin: 6px 4px; }
.dt-user-btn { display: flex; align-items: center; gap: 10px; padding: 4px 8px 4px 4px; border-radius: 999px; border: 1px solid var(--dt-border); background: #fff; cursor: pointer; max-width: 260px; }
.dt-user-btn:hover { background: var(--dt-neutral-bg); }
.dt-user-btn .dt-avatar { width: 32px; height: 32px; font-size: 12px; }
.dt-user-btn__text { text-align: left; min-width: 0; line-height: 1.25; }
.dt-user-btn__name { font-weight: 600; font-size: 13px; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 160px; }
.dt-user-btn__role { font-size: 11px; color: var(--dt-muted); display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 160px; }

.dt-notif { width: 380px; padding: 0; }
.dt-notif__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--dt-border); }
.dt-notif__head strong { font-size: 14px; }
.dt-notif__list { max-height: 420px; overflow-y: auto; }
.dt-notif__item { display: block; padding: 12px 16px; border-bottom: 1px solid var(--dt-border); color: var(--dt-text) !important; text-decoration: none !important; }
.dt-notif__item:hover { background: var(--dt-neutral-bg); }
.dt-notif__item.is-unread { background: var(--dt-primary-50); }
.dt-notif__title { font-weight: 600; font-size: 13px; }
.dt-notif__text { font-size: 13px; color: var(--dt-text-2); margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dt-notif__time { font-size: 11px; color: var(--dt-subtle); margin-top: 4px; }
.dt-notif__empty { padding: 32px 16px; text-align: center; color: var(--dt-muted); }

/* ---------- Modal ---------- */
.dt-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(17, 20, 32, .5); }
.dt-modal.is-open { display: flex; animation: dt-fade .15s ease-out; }
@keyframes dt-fade { from { opacity: 0; } }
.dt-modal__dialog { width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 16px; box-shadow: var(--dt-shadow-lg); animation: dt-pop .18s ease-out; }
.dt-modal__dialog--lg { max-width: 760px; }
.dt-modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 24px 0; }
.dt-modal__head h3 { font-size: 17px; font-weight: 700; }
.dt-modal__head p { color: var(--dt-muted); margin-top: 4px; font-size: 13px; }
.dt-modal__body { padding: 20px 24px; }
.dt-modal__foot { padding: 0 24px 20px; display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- Toast ---------- */
.dt-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: calc(100vw - 40px); }
.dt-toast { display: flex; gap: 10px; align-items: flex-start; min-width: 280px; max-width: 400px; padding: 12px 14px; border-radius: 10px; background: #1d2433; color: #fff; box-shadow: var(--dt-shadow-lg); font-size: 13px; animation: dt-pop .18s ease-out; }
.dt-toast--success { background: #14532d; }
.dt-toast--error { background: #7f1d1d; }

/* ---------- Misc ---------- */
.dt-kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--dt-border); }
.dt-kv:last-child { border-bottom: 0; }
.dt-kv span:first-child { color: var(--dt-muted); }
.dt-kv span:last-child { font-weight: 600; text-align: right; }
.dt-hero { padding: 24px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; background: linear-gradient(120deg, #fff 0%, #fff 55%, var(--dt-primary-50) 100%); }
.dt-hero__logo { width: 72px; height: 72px; border-radius: 16px; border: 1px solid var(--dt-border); background: #fff; display: grid; place-items: center; overflow: hidden; font-size: 26px; font-weight: 700; color: var(--dt-primary); flex-shrink: 0; }
.dt-hero__logo img { width: 100%; height: 100%; object-fit: contain; }
.dt-hero__main { flex: 1; min-width: 220px; }
.dt-hero__main h2 { font-size: 20px; font-weight: 700; }
.dt-hero__meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; color: var(--dt-muted); font-size: 13px; }
.dt-hero__meta strong { color: var(--dt-text); font-weight: 600; }
.dt-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; background: var(--dt-neutral-bg); padding: 2px 6px; border-radius: 6px; }
.dt-prose { color: var(--dt-text-2); }
.dt-prose h2 { font-size: 17px; margin: 0 0 12px; }
.dt-prose h3 { font-size: 15px; margin: 22px 0 8px; color: var(--dt-text); }
.dt-prose ul { margin: 0; padding-left: 20px; }
.dt-prose li + li { margin-top: 6px; }
.dt-prose li strong { color: var(--dt-text); }
.dt-avatar-edit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.dt-avatar-edit__img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 1px solid var(--dt-border); background: var(--dt-neutral-bg); }
.dt-divider { height: 1px; background: var(--dt-border); margin: 20px 0; }
.dt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--dt-neutral-bg); font-size: 12px; font-weight: 500; color: var(--dt-text-2); }
.dt-timeline { list-style: none; margin: 0; padding: 0; }
.dt-timeline li { position: relative; padding: 0 0 18px 26px; }
.dt-timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--dt-primary); box-shadow: 0 0 0 4px var(--dt-primary-50); }
.dt-timeline li::after { content: ""; position: absolute; left: 10px; top: 20px; bottom: 0; width: 2px; background: var(--dt-border); }
.dt-timeline li:last-child::after { display: none; }
.dt-timeline__title { font-weight: 600; }
.dt-timeline__time { font-size: 12px; color: var(--dt-subtle); }
.dt-mt-0 { margin-top: 0 !important; }
.dt-mt-16 { margin-top: 16px; }
.dt-mt-20 { margin-top: 20px; }
.dt-mb-20 { margin-bottom: 20px; }
.dt-hide-mobile {}
.dt-show-mobile { display: none !important; }
.dt-legacy-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(17,20,32,.5); padding: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .dt-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dt-grid--main { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1024px) {
  .dt-sidebar { transform: translateX(-100%); box-shadow: var(--dt-shadow-lg); }
  .dt-app.nav-open .dt-sidebar { transform: none; }
  .dt-app.nav-open .dt-backdrop { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(17, 20, 32, .4); }
  .dt-main { margin-left: 0; }
  .dt-icon-btn.dt-burger { display: grid; }
  .dt-topbar { padding: 0 16px; }
  .dt-content { padding: 20px 16px; }
}
@media (max-width: 760px) {
  .dt-grid--2, .dt-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .dt-form-grid { grid-template-columns: minmax(0, 1fr); }
  .dt-dl { grid-template-columns: minmax(0, 1fr); }
  .dt-dl dt { border-bottom: 0; padding-bottom: 0; }
  .dt-dl > :nth-last-child(2) { border-bottom: 0; }
  .dt-page-head h1 { font-size: 20px; }
  .dt-user-btn__text { display: none; }
  .dt-user-btn { padding: 4px; }
  .dt-hide-mobile { display: none !important; }
  .dt-show-mobile { display: initial !important; }
  .dt-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .dt-step { padding: 0 0 0 46px; text-align: left; min-height: 32px; }
  .dt-step::before { left: 0; transform: none; }
  .dt-step::after { left: 15px; right: auto; top: 34px; width: 2px; height: calc(100% - 20px); }
  .dt-notif { width: calc(100vw - 32px); right: -60px; }
  .dt-card__head, .dt-card__body { padding: 16px; }
  .dt-toolbar, .dt-tabs { padding-left: 16px; padding-right: 16px; }
  .dt-table th:first-child, .dt-table td:first-child { padding-left: 16px; }
  /* Bảng dạng thẻ trên mobile */
  .dt-table--stack thead { display: none; }
  .dt-table--stack, .dt-table--stack tbody, .dt-table--stack tr, .dt-table--stack td { display: block; width: 100%; }
  .dt-table--stack tr { padding: 14px 16px; border-bottom: 1px solid var(--dt-border); }
  .dt-table--stack td { border: 0; padding: 4px 0 !important; }
  .dt-table--stack td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--dt-subtle); font-weight: 600; }
  .dt-table--stack .dt-actions { justify-content: flex-start; margin-top: 8px; flex-wrap: wrap; }
  .dt-table--stack .dt-num { text-align: left; }
  .dt-entity { min-width: 0; }
  .dt-entity__name { max-width: 100%; }
  .dt-toast { min-width: 0; }
}

/* ---------- Trang theo dõi hồ sơ (nhúng trong theme) ---------- */
.dt-app.dt-review { max-width: 1200px; margin: 24px auto 48px; padding: 0 16px; color: var(--dt-text); font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; line-height: 1.55; text-align: left; }
.dt-review__top { margin-bottom: 12px; }
.dt-app h2 { font-size: 15px; }
.dt-app.dt-review .dt-hero h2 { font-size: 20px; }
.dt-app button.dt-btn, .dt-app button.dt-icon-btn, .dt-app label.dt-btn { text-transform: none; letter-spacing: normal; line-height: 1; }
.dt-app button.dt-btn--secondary:hover, .dt-app button.dt-btn--secondary:focus { background: var(--dt-neutral-bg); color: var(--dt-text); border-color: var(--dt-border-strong); }
.dt-app button.dt-btn--primary:hover, .dt-app button.dt-btn--primary:focus { background: var(--dt-primary-600); color: #fff; }
.dt-app button.dt-btn--success:hover, .dt-app button.dt-btn--success:focus { background: #116632; color: #fff; }
.dt-app button.dt-btn--danger:hover, .dt-app button.dt-btn--danger:focus { background: var(--dt-danger-bg); color: var(--dt-danger); border-color: #f2c4c4; }
.dt-app button.dt-btn--ghost:hover, .dt-app button.dt-icon-btn:hover { background: var(--dt-neutral-bg); color: var(--dt-text); }
.dt-app button.dt-icon-btn { border: 0; padding: 0; }
.dt-app .dt-dl dd, .dt-app .dt-dl dt { font-size: 14px; }
.dt-app table.dt-table { margin: 0; font-size: 14px; }
.dt-app table.dt-table td, .dt-app table.dt-table th { border-left: 0; border-right: 0; border-top: 0; }
.dt-app ol.dt-steps { list-style: none; margin: 0; padding: 0; }
.dt-app button.dt-btn--primary, .dt-app button.dt-btn--primary:hover { background: var(--dt-primary); color: #fff; border-color: transparent; }
.dt-app button.dt-btn--primary:hover { background: var(--dt-primary-600); }
.dt-app button.dt-btn--success { background: var(--dt-success); color: #fff; border-color: transparent; }
.dt-app button.dt-btn--secondary { background: var(--dt-surface); color: var(--dt-text); border-color: var(--dt-border-strong); }
.dt-app button.dt-btn--danger { background: var(--dt-surface); color: var(--dt-danger); border-color: #f2c4c4; }
.dt-app button.dt-btn--ghost { background: transparent; color: var(--dt-text-2); border-color: transparent; }
.dt-app button.dt-icon-btn { background: transparent; color: var(--dt-text-2); }
.dt-app.dt-review { width: 100%; box-sizing: border-box; }
.dt-app .dt-btn.dt-btn--block { width: 100%; display: flex; }
.dt-app button.dt-btn { height: 40px; padding: 0 16px; border-radius: var(--dt-radius-sm); font-weight: 600; font-size: 14px; }
.dt-app button.dt-btn--sm { height: 32px; padding: 0 12px; font-size: 13px; }
.dt-app select.dt-select { height: 42px; padding: 0 36px 0 12px; border-radius: var(--dt-radius-sm); border: 1px solid var(--dt-border-strong); font-size: 14px; }
.dt-app textarea.dt-textarea { border-radius: var(--dt-radius-sm); border: 1px solid var(--dt-border-strong); font-size: 14px; }
.elementor-widget:has(> .elementor-widget-container .dt-review), .elementor-widget:has(> .elementor-shortcode .dt-review) { width: 100%; }

/* ---------- Wizard nộp hồ sơ ---------- */
body:has(.dt-wizard) { background: var(--dt-bg); }
.dt-app.dt-wizard { width: 100%; min-height: 100vh; background: var(--dt-bg); color: var(--dt-text); font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; line-height: 1.55; text-align: left; }
.elementor-widget:has(.dt-wizard) { width: 100%; }
.dt-wizard__head { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 24px; background: #fff; border-bottom: 1px solid var(--dt-border); }
.dt-wizard__brand { display: flex; align-items: center; gap: 10px; color: var(--dt-text) !important; text-decoration: none !important; flex-shrink: 0; }
.dt-wizard__steps { flex: 1; display: flex; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.dt-wizard__steps li { display: flex; align-items: center; gap: 8px; color: var(--dt-subtle); font-weight: 500; font-size: 13px; }
.dt-wizard__steps li + li::before { content: ""; width: 40px; height: 2px; background: var(--dt-border); margin-right: 8px; }
.dt-wizard__steps li.is-done + li::before, .dt-wizard__steps li.is-current::before { background: var(--dt-primary); }
.dt-wizard__steps a { display: flex; align-items: center; gap: 8px; color: var(--dt-text-2) !important; text-decoration: none !important; }
.dt-wizard__num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--dt-border-strong); font-weight: 700; font-size: 12px; background: #fff; }
.dt-wizard__steps li.is-current { color: var(--dt-primary); font-weight: 600; }
.dt-wizard__steps li.is-current .dt-wizard__num { border-color: var(--dt-primary); color: var(--dt-primary); box-shadow: 0 0 0 4px var(--dt-primary-50); }
.dt-wizard__steps li.is-done .dt-wizard__num { background: var(--dt-primary); border-color: var(--dt-primary); color: #fff; }
.dt-wizard__body { max-width: 860px; margin: 0 auto; padding: 32px 20px 64px; }
.dt-wizard__intro { margin-bottom: 20px; }
.dt-wizard__intro h1 { font-size: 24px; font-weight: 700; letter-spacing: -.4px; margin: 0 0 6px; color: var(--dt-text); }
.dt-wizard__intro p { color: var(--dt-muted); margin: 0; }
.dt-wizard form.dt-card { display: block; }
.dt-wizard__foot { gap: 10px; align-items: center; position: sticky; bottom: 0; z-index: 5; }
.dt-wizard .dt-req { color: var(--dt-danger); }
.dt-upload { display: flex; align-items: center; gap: 16px; }
.dt-upload__preview { width: 72px; height: 72px; border-radius: 14px; border: 1px dashed var(--dt-border-strong); background: var(--dt-neutral-bg); display: grid; place-items: center; overflow: hidden; color: var(--dt-subtle); flex-shrink: 0; }
.dt-upload__preview img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.dt-repeat { display: flex; flex-direction: column; gap: 8px; }
.dt-repeat__row { display: flex; gap: 6px; align-items: center; }
.dt-cert-list { list-style: none; margin: 0; padding: 0; }
.dt-cert { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--dt-border); }
.dt-cert:last-child { border-bottom: 0; }
.dt-cert__title { font-weight: 600; }
.dt-cert__link { grid-column: 1 / -1; display: none; margin-top: 4px; }
.dt-cert.is-on { background: #fcfaff; }
.dt-cert.is-on .dt-cert__link { display: flex; }
.dt-seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--dt-neutral-bg); }
.dt-seg label { position: relative; cursor: pointer; margin: 0; }
.dt-seg input { position: absolute; opacity: 0; pointer-events: none; }
.dt-seg span { display: block; padding: 6px 14px; border-radius: 8px; font-weight: 600; font-size: 13px; color: var(--dt-muted); white-space: nowrap; }
.dt-seg input:checked + span { background: #fff; color: var(--dt-text); box-shadow: var(--dt-shadow); }
.dt-seg input[value="1"]:checked + span { color: var(--dt-success); }
.dt-seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(157, 35, 160, .25); }
.dt-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; padding: 6px 0; }
.dt-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--dt-primary); flex-shrink: 0; }
.dt-app input.dt-input, .dt-app select.dt-select { height: 42px; border-radius: var(--dt-radius-sm); border: 1px solid var(--dt-border-strong); padding: 0 12px; font-size: 14px; background-color: #fff; color: var(--dt-text); box-shadow: none; }
.dt-app select.dt-select { padding-right: 36px; }
.dt-app input.dt-input:focus, .dt-app select.dt-select:focus, .dt-app textarea.dt-textarea:focus { border-color: var(--dt-primary); box-shadow: 0 0 0 3px rgba(157, 35, 160, .15); outline: none; }
.dt-app .dt-field.has-error input.dt-input { border-color: var(--dt-danger); }
.dt-app label.dt-btn { margin: 0; }
@media (max-width: 860px) {
  .dt-wizard__label { display: none; }
  .dt-wizard__steps li.is-current .dt-wizard__label { display: inline; }
  .dt-wizard__steps li + li::before { width: 16px; }
  .dt-wizard__head { gap: 12px; padding: 0 12px; }
  .dt-wizard__brand .dt-brand__name { display: none; }
  .dt-wizard__body { padding: 20px 12px 48px; }
  .dt-cert { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
  .dt-wizard__foot { flex-wrap: wrap; }
  .dt-wizard__foot .dt-btn--primary { flex: 1; }
}
.dt-app .dt-field.has-error select.dt-select { border-color: var(--dt-danger); }
.dt-app table.dt-table tbody > tr:nth-child(odd) > td, .dt-app table.dt-table tbody > tr:nth-child(even) > td { background-color: transparent; }
.dt-app table.dt-table tbody > tr:hover > td { background-color: #fcfbfd; }
.dt-icon-btn__badge { top: 3px; right: 3px; min-width: 14px; height: 14px; padding: 0 3px; font-size: 9px; line-height: 14px; border-width: 1.5px; }
.dt-icon-btn > svg { position: relative; z-index: 0; }

/* ---------- Đăng nhập / Đăng ký ---------- */
body:has(.dt-auth) { margin: 0; background: #fff; }
.elementor-widget:has(.dt-auth) { width: 100%; }
.dt-app.dt-auth { display: grid; grid-template-columns: minmax(380px, 44%) minmax(0, 1fr); min-height: 100vh; width: 100%; background: #fff; color: var(--dt-text); font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; line-height: 1.55; text-align: left; }
.dt-auth__brand { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 40px 48px; color: #fff; background: radial-gradient(circle at 15% 0%, rgba(255,255,255,.18), transparent 45%), radial-gradient(circle at 100% 100%, rgba(44,149,255,.35), transparent 50%), linear-gradient(150deg, #a52aa8 0%, #861d89 45%, #4f1052 100%); }
.dt-auth__brand::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 60px rgba(255,255,255,.04), 0 0 0 120px rgba(255,255,255,.03); pointer-events: none; }
.dt-auth__logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; position: relative; z-index: 1; }
.dt-auth__logo img { height: 56px; width: auto; filter: brightness(0) invert(1); }
.dt-auth__pitch { position: relative; z-index: 1; max-width: 460px; }
.dt-auth__pitch h2 { color: #fff; font-size: 32px; line-height: 1.2; font-weight: 700; letter-spacing: -.6px; margin: 0 0 14px; }
.dt-auth__pitch p { color: rgba(255,255,255,.82); font-size: 15px; margin: 0; }
.dt-auth__points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.dt-auth__points li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255,255,255,.85); }
.dt-auth__points svg { width: 22px; height: 22px; flex-shrink: 0; padding: 7px; box-sizing: content-box; border-radius: 10px; background: rgba(255,255,255,.14); color: #fff; }
.dt-auth__points strong { color: #fff; }
.dt-auth__foot { position: relative; z-index: 1; font-size: 13px; color: rgba(255,255,255,.7); }
.dt-auth__foot a { color: #fff !important; text-decoration: underline !important; }
.dt-auth__main { display: flex; flex-direction: column; padding: 28px 48px; min-width: 0; }
.dt-auth__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.dt-auth__top a { font-weight: 600; color: var(--dt-primary) !important; }
.dt-auth__back { color: var(--dt-muted) !important; font-weight: 500; text-decoration: none !important; }
.dt-auth__box { width: 100%; max-width: 420px; margin: auto; padding: 40px 0; }
.dt-auth__panel { display: none; }
.dt-auth__panel.is-active { display: block; animation: dt-pop .2s ease-out; }
.dt-auth__panel h1 { font-size: 28px; font-weight: 700; letter-spacing: -.6px; margin: 6px 0 8px; color: var(--dt-text); line-height: 1.2; }
.dt-auth__lead { color: var(--dt-muted); margin: 0 0 24px; font-size: 15px; }
.dt-auth__lead strong { color: var(--dt-text); word-break: break-all; }
.dt-auth__eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--dt-primary); }
.dt-auth__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--dt-primary-50); color: var(--dt-primary); margin-bottom: 14px; }
.dt-auth__icon svg { width: 24px; height: 24px; }
.dt-auth__progress { height: 4px; border-radius: 2px; background: var(--dt-neutral-bg); margin-bottom: 28px; overflow: hidden; }
.dt-auth__progress span { display: block; height: 100%; background: var(--dt-primary); border-radius: 2px; transition: width .3s ease; }
.dt-auth .dt-field + .dt-field { margin-top: 16px; }
.dt-app input.dt-input.dt-input--lg { height: 48px; font-size: 15px; padding: 0 14px; }
.dt-app .dt-btn--lg { height: 48px; font-size: 15px; }
.dt-auth .dt-btn--block { width: 100%; }
.dt-auth__link { background: none !important; border: 0 !important; padding: 0 !important; color: var(--dt-primary) !important; font-weight: 600; cursor: pointer; font-size: inherit; text-decoration: none; height: auto !important; }
.dt-auth__link[disabled] { color: var(--dt-subtle) !important; cursor: default; }
button.dt-auth__back { color: var(--dt-muted) !important; font-weight: 500; margin-bottom: 14px; display: inline-block; }
.dt-auth__alert { padding: 11px 14px; border-radius: 10px; font-size: 13.5px; margin-bottom: 16px; }
.dt-auth__alert--error { background: var(--dt-danger-bg); color: #8a1c1c; border: 1px solid #f6caca; }
.dt-auth__alert--success { background: var(--dt-success-bg); color: #0f5130; border: 1px solid #bfe8cf; }
.dt-auth__alert a { font-weight: 600; color: inherit !important; text-decoration: underline !important; }
.dt-auth__choices { display: grid; gap: 12px; }
.dt-app button.dt-choice { display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px; border-radius: 14px; border: 1px solid var(--dt-border-strong); background: #fff; text-align: left; cursor: pointer; color: var(--dt-text); transition: border-color .15s, box-shadow .15s, transform .15s; height: auto; text-transform: none; font-weight: 400; }
.dt-app button.dt-choice:hover, .dt-app button.dt-choice:focus-visible { border-color: var(--dt-primary); box-shadow: 0 0 0 4px var(--dt-primary-50); background: #fff; color: var(--dt-text); outline: none; }
.dt-app button.dt-choice[aria-checked="true"] { border-color: var(--dt-primary); background: var(--dt-primary-50); }
.dt-choice__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--dt-primary-50); color: var(--dt-primary); flex-shrink: 0; }
.dt-choice__icon svg { width: 22px; height: 22px; }
.dt-choice__body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.dt-choice__body strong { font-size: 16px; font-weight: 600; }
.dt-choice__body span { color: var(--dt-muted); font-size: 13.5px; line-height: 1.45; white-space: normal; }
.dt-choice__arrow { width: 18px; height: 18px; color: var(--dt-subtle); flex-shrink: 0; }
.dt-auth__or { display: flex; align-items: center; gap: 12px; color: var(--dt-subtle); font-size: 13px; margin: 20px 0; }
.dt-auth__or::before, .dt-auth__or::after { content: ""; flex: 1; height: 1px; background: var(--dt-border); }
.dt-otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.dt-app input.dt-otp__cell { width: 100%; height: 56px; padding: 0; border-radius: 12px; border: 1px solid var(--dt-border-strong); text-align: center; font-size: 22px; font-weight: 700; color: var(--dt-text); background: #fff; font-variant-numeric: tabular-nums; }
.dt-app input.dt-otp__cell:focus { border-color: var(--dt-primary); box-shadow: 0 0 0 3px rgba(157, 35, 160, .15); outline: none; }
.dt-auth__resend { margin: 16px 0 4px; color: var(--dt-muted); text-align: center; }
.dt-auth .dt-help { text-align: center; display: block; }
.dt-auth__support { margin: 0; text-align: center; font-size: 12.5px; color: var(--dt-subtle); }
.dt-auth__support a { color: var(--dt-muted) !important; }
.dt-auth .dt-check { font-size: 13.5px; color: var(--dt-text-2); }
.dt-auth .dt-check a { color: var(--dt-primary) !important; font-weight: 500; }
@media (max-width: 960px) {
  .dt-app.dt-auth { grid-template-columns: minmax(0, 1fr); }
  .dt-auth__brand { padding: 20px 20px; gap: 0; flex-direction: row; align-items: center; }
  .dt-auth__brand::after, .dt-auth__pitch, .dt-auth__foot { display: none; }
  .dt-auth__logo img { height: 38px; }
  .dt-auth__main { padding: 16px 20px 24px; }
  .dt-auth__box { padding: 28px 0 32px; margin: 0 auto; }
  .dt-auth__panel h1 { font-size: 24px; }
  .dt-otp { gap: 6px; }
  .dt-app input.dt-otp__cell { height: 50px; font-size: 20px; }
}
.dt-app.dt-auth .dt-auth__logo img { height: 52px !important; width: auto !important; max-width: 220px; }
.dt-app.dt-auth .dt-auth__lead { margin: 0 0 24px; }
.dt-app.dt-auth .dt-auth__pitch p { margin: 0; }
.dt-app.dt-auth .dt-auth__resend { margin: 16px 0 4px; }
.dt-app.dt-auth .dt-auth__support { margin: 0; }
.dt-app.dt-auth .dt-auth__panel h1 { margin: 6px 0 8px; }
.dt-app.dt-auth .dt-label { display: block; margin-bottom: 6px; }
.dt-app.dt-auth .dt-field { gap: 0; }
.dt-app.dt-auth .dt-help { margin-top: 6px; }
@media (max-width: 960px) { .dt-app.dt-auth .dt-auth__logo img { height: 36px !important; } }
.dt-app.dt-auth .dt-auth__logo img { height: 76px !important; }
@media (max-width: 960px) { .dt-app.dt-auth .dt-auth__logo img { height: 44px !important; } }
.dt-app.dt-auth button.dt-auth__back { display: block; width: fit-content; margin: 0 0 16px; }
.dt-app.dt-auth .dt-field .dt-help { text-align: left; }
.dt-app.dt-auth .dt-auth__top { flex-wrap: wrap; }
@media (max-width: 960px) {
  .dt-app.dt-auth { grid-template-rows: auto 1fr; }
  .dt-auth__brand { min-height: 0; }
}
