:root {
  --nta-panel: rgba(5, 20, 36, 0.9);
  --nta-soft-line: rgba(118, 181, 224, 0.15);
  --nta-amber-panel: rgba(71, 46, 9, 0.38);
}

.nt-app-page { min-height: 100vh; }
.nt-app-page [hidden] { display: none !important; }

.nta-launch-strip {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-bottom: 1px solid rgba(245, 196, 94, 0.4);
  padding: 6px 16px;
  background: linear-gradient(90deg, rgba(42, 27, 7, 0.97), rgba(8, 31, 50, 0.98), rgba(42, 27, 7, 0.97));
  color: #d4e4ef;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nta-launch-strip strong { color: #fff1bf; }
.nta-launch-strip > span:not(.nta-launch-orbit)::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--nt-cyan); vertical-align: middle; }
.nta-launch-orbit { width: 10px; height: 10px; border: 1px solid var(--nt-gold); border-radius: 50%; box-shadow: 0 0 0 3px rgba(245, 196, 94, 0.15), 0 0 13px rgba(91, 213, 255, 0.7); }

.nta-app { min-height: calc(100vh - 35px); }

.nta-hold { width: min(820px, calc(100% - 42px)); min-height: calc(100vh - 35px); display: grid; place-items: center; margin: 0 auto; padding: 64px 0; }
.nta-hold-card { position: relative; isolation: isolate; overflow: hidden; width: 100%; border: 1px solid rgba(91, 213, 255, 0.27); border-radius: 21px; padding: clamp(30px, 7vw, 74px); background: linear-gradient(145deg, rgba(11, 41, 66, 0.96), rgba(3, 15, 28, 0.98)); box-shadow: 0 36px 110px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.055); }
.nta-hold-card::before { content: ""; position: absolute; z-index: -1; top: -360px; right: -180px; width: 670px; height: 420px; border: 1px solid rgba(245, 196, 94, 0.2); border-radius: 50%; background: radial-gradient(ellipse, rgba(245, 196, 94, 0.1), transparent 62%); transform: rotate(-28deg); }
.nta-hold-card .nta-auth-brand { margin-bottom: 50px; }.nta-hold-card h1 { max-width: 700px; margin: 0; color: #f3f9ff; font-family: var(--nt-display); font-size: clamp(2.55rem, 6vw, 5rem); line-height: 0.93; }.nta-hold-card h1 span { display: block; color: transparent; background: linear-gradient(90deg, #fff0bd, #f0bd50 40%, #79d9ff 92%); -webkit-background-clip: text; background-clip: text; }.nta-hold-card > p { max-width: 680px; margin: 21px 0 0; color: #afc4d4; font-size: 0.92rem; line-height: 1.7; }
.nta-hold-boundary { display: grid; gap: 5px; max-width: 670px; border: 1px solid rgba(245, 196, 94, 0.26); border-left: 3px solid var(--nt-gold); border-radius: 10px; margin-top: 28px; padding: 15px 17px; background: rgba(68, 45, 8, 0.28); }.nta-hold-boundary span { color: var(--nt-gold); font-size: 0.58rem; font-weight: 900; letter-spacing: 0.11em; text-transform: uppercase; }.nta-hold-boundary strong { color: #fff0ca; font-size: 0.76rem; }.nta-hold-boundary small { color: #b8c8d1; font-size: 0.64rem; line-height: 1.5; }.nta-hold-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.nta-auth {
  position: relative;
  isolation: isolate;
  width: min(1240px, calc(100% - 48px));
  min-height: calc(100vh - 35px);
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(370px, 0.76fr);
  gap: clamp(44px, 8vw, 130px);
  align-items: center;
  margin: 0 auto;
  padding: 72px 0;
}

.nta-auth::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 5%;
  left: -10vw;
  width: min(61vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(91, 213, 255, 0.11);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(9, 66, 103, 0.18), transparent 63%);
  box-shadow: inset 0 0 72px rgba(91, 213, 255, 0.05);
}

.nta-auth-orbit { position: absolute; z-index: -1; border: 1px solid rgba(245, 196, 94, 0.2); border-radius: 50%; pointer-events: none; }
.nta-auth-orbit-one { right: 1%; top: 10%; width: 260px; height: 120px; transform: rotate(-32deg); box-shadow: 0 0 44px rgba(245, 196, 94, 0.11); }
.nta-auth-orbit-two { right: 11%; bottom: 4%; width: 440px; height: 220px; transform: rotate(16deg); border-color: rgba(91, 213, 255, 0.13); }

.nta-auth-intro { max-width: 720px; }
.nta-auth-brand { width: max-content; margin-bottom: 50px; }
.nta-auth h1 { max-width: 735px; margin: 0; color: #f3f9ff; font-family: var(--nt-display); font-size: clamp(2.8rem, 5vw, 5.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 0.92; }
.nta-auth h1 span { display: block; color: transparent; background: linear-gradient(90deg, #fff0bd, #f0bd50 40%, #79d9ff 94%); -webkit-background-clip: text; background-clip: text; }
.nta-auth-copy { max-width: 680px; margin: 21px 0 0; color: #aec3d3; font-size: 1rem; line-height: 1.75; }

.nta-boundary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 35px; }
.nta-boundary-grid article { min-height: 150px; border: 1px solid var(--nta-soft-line); border-radius: 12px; padding: 16px; background: linear-gradient(145deg, rgba(10, 35, 57, 0.7), rgba(3, 16, 29, 0.82)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03); }
.nta-boundary-grid span { display: block; color: var(--nt-gold); font-size: 0.59rem; font-weight: 900; letter-spacing: 0.13em; }
.nta-boundary-grid strong { display: block; margin-top: 16px; color: #eaf7ff; font-size: 0.78rem; }
.nta-boundary-grid p { margin: 7px 0 0; color: #8fa8ba; font-size: 0.65rem; line-height: 1.55; }
.nta-auth-footnote { margin: 24px 0 0; color: #8da5b7; font-size: 0.69rem; }
.nta-auth-footnote a { color: var(--nt-cyan); border-bottom: 1px solid rgba(91, 213, 255, 0.42); }

.nta-auth-card {
  border: 1px solid rgba(91, 213, 255, 0.28);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 35px);
  background: linear-gradient(145deg, rgba(10, 37, 60, 0.95), rgba(3, 15, 28, 0.98));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nta-auth-card-head { border-bottom: 1px solid var(--nta-soft-line); padding-bottom: 20px; }
.nta-auth-card-eyebrow { display: block; color: var(--nt-gold); font-size: 0.6rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.nta-auth-card-head strong { display: block; margin-top: 9px; color: #f7fbff; font-family: var(--nt-display); font-size: 1.72rem; }
.nta-auth-card-head p { margin: 8px 0 0; color: #9eb7c9; font-size: 0.72rem; line-height: 1.5; }
.nta-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border: 1px solid rgba(91, 213, 255, 0.18); border-radius: 9px; margin-top: 20px; padding: 4px; background: rgba(1, 12, 23, 0.54); }
.nta-auth-tabs button { min-height: 37px; border: 0; border-radius: 6px; background: transparent; color: #94acbe; font-size: 0.67rem; font-weight: 900; }
.nta-auth-tabs button.is-active { background: linear-gradient(135deg, rgba(31, 95, 142, 0.68), rgba(13, 47, 76, 0.9)); color: #effaff; box-shadow: inset 0 0 0 1px rgba(91, 213, 255, 0.25); }

.nta-auth-form { display: grid; gap: 8px; margin-top: 22px; }
.nta-auth-form label,
.nta-profile-editor > label,
.nta-position-form label { color: #cfe1ed; font-size: 0.68rem; font-weight: 800; }
.nta-auth-form input,
.nta-profile-editor input[type="text"],
.nta-profile-editor select,
.nta-position-form input,
.nta-position-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(91, 213, 255, 0.26);
  border-radius: 8px;
  margin: 0 0 7px;
  padding: 0 11px;
  background: rgba(2, 15, 28, 0.82);
  color: #effaff;
  font-size: 0.76rem;
}
.nta-auth-form input::placeholder,
.nta-profile-editor input::placeholder,
.nta-position-form input::placeholder { color: #638197; }
.nta-auth-form input:focus,
.nta-profile-editor input:focus,
.nta-profile-editor select:focus,
.nta-position-form input:focus,
.nta-position-form select:focus { border-color: var(--nt-cyan); box-shadow: 0 0 0 3px rgba(91, 213, 255, 0.1); outline: none; }
.nta-auth-submit { width: 100%; min-height: 45px; margin-top: 7px; }
.nta-check-row { display: grid; grid-template-columns: 17px 1fr; align-items: start; gap: 9px; margin: 7px 0 8px; color: #9db6c7 !important; font-size: 0.65rem !important; font-weight: 700 !important; line-height: 1.5; }
.nta-check-row input { width: 15px !important; min-height: 15px !important; height: 15px; margin: 2px 0 0 !important; accent-color: var(--nt-gold); }
.nta-check-row a { color: var(--nt-cyan); text-decoration: underline; text-underline-offset: 2px; }
.nta-auth-status { min-height: 20px; margin: 14px 0 0; color: #9ab6c9; font-size: 0.67rem; line-height: 1.45; }
.nta-auth-status.is-error { color: #ffb0ba; }.nta-auth-status.is-success { color: #b9f1df; }
.nta-auth-quiet { display: flex; gap: 9px; border-top: 1px solid var(--nta-soft-line); margin-top: 8px; padding-top: 15px; color: #7f9cad; font-size: 0.61rem; line-height: 1.45; }
.nta-auth-quiet span { color: var(--nt-gold); }

.nta-shell { display: grid; grid-template-columns: 276px minmax(0, 1fr); min-height: calc(100vh - 35px); }
.nta-rail { top: 35px; height: calc(100vh - 35px); }
.nta-main { padding-bottom: 0; }
.nta-topbar { min-height: 83px; }
.nta-top-actions { gap: 12px; }
.nta-user-chip { display: flex; align-items: center; gap: 8px; max-width: 220px; }
.nta-user-chip > img { display: block; width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(141, 72, 255, 0.38)); }
.nta-user-chip span { display: grid; gap: 1px; min-width: 0; }
.nta-user-chip small { color: #89a6b9; font-size: 0.51rem; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
.nta-user-chip strong { overflow: hidden; color: #e5f3fb; font-size: 0.66rem; text-overflow: ellipsis; white-space: nowrap; }
.nta-safety-banner { margin-top: 22px; }
.nta-overview-heading { margin-top: 0; }
.nta-snapshot-card { min-width: 230px; }
.nta-snapshot-card > div { display: grid; gap: 3px; min-width: 0; }
.nta-snapshot-card > div > span,
.nta-snapshot-card > div > strong { display: block; }
.nta-metric-grid { margin-top: 2px; }

.nta-overview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.nta-action-card { display: flex; flex-direction: column; min-height: 245px; border: 1px solid var(--nt-line); border-radius: 13px; padding: 20px; background: linear-gradient(145deg, rgba(10, 35, 58, 0.87), rgba(4, 16, 30, 0.96)); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.nta-onboarding-card { border-color: rgba(245, 196, 94, 0.33); background: linear-gradient(145deg, rgba(67, 44, 10, 0.7), rgba(5, 18, 32, 0.97)); }
.nta-action-card-head { display: flex; align-items: flex-start; gap: 11px; }
.nta-step-mark { display: grid; width: 31px; height: 31px; place-items: center; flex: 0 0 31px; border: 1px solid rgba(91, 213, 255, 0.38); border-radius: 8px; color: var(--nt-cyan); font-family: var(--nt-display); font-size: 0.93rem; font-weight: 700; }
.nta-onboarding-card .nta-step-mark { border-color: rgba(245, 196, 94, 0.58); color: var(--nt-gold); }
.nta-action-card-head p { margin: 0; color: #8ea8ba; font-size: 0.56rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.nta-action-card-head h2 { margin: 4px 0 0; color: #edf8ff; font-size: 0.9rem; line-height: 1.25; }
.nta-action-card > p { margin: 21px 0 0; color: #a5bdcc; font-size: 0.7rem; line-height: 1.62; }
.nta-action-card > button { align-self: flex-start; margin-top: auto; }
.nta-ready-pill { margin-left: auto; border: 1px solid rgba(245, 196, 94, 0.38); border-radius: 99px; padding: 4px 7px; color: var(--nt-gold-bright); font-size: 0.54rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; }
.nta-ready-pill.is-ready { border-color: rgba(82, 229, 196, 0.4); color: var(--nt-green); }
.nta-boundary-note { display: flex; align-items: flex-start; gap: 10px; border: 1px solid rgba(91, 213, 255, 0.2); border-left: 3px solid var(--nt-cyan); border-radius: 10px; margin-top: 14px; padding: 13px 15px; background: rgba(5, 29, 47, 0.62); }
.nta-boundary-note > span { display: grid; width: 18px; height: 18px; place-items: center; flex: 0 0 18px; border: 1px solid rgba(91, 213, 255, 0.5); border-radius: 50%; color: var(--nt-cyan); font-family: serif; font-size: 0.76rem; }
.nta-boundary-note p { margin: 0; color: #a8c1cf; font-size: 0.68rem; line-height: 1.55; }
.nta-boundary-note strong { color: #ddf3ff; }

.nta-profile-layout { display: grid; grid-template-columns: minmax(270px, 0.88fr) minmax(420px, 1.12fr); gap: 14px; }
.nta-profile-choices,
.nta-profile-editor,
.nta-position-form,
.nta-position-ledger,
.nta-assessment-results,
.nta-settings-card { min-width: 0; border: 1px solid var(--nt-line); border-radius: 13px; padding: 19px; background: linear-gradient(145deg, rgba(10, 35, 57, 0.87), rgba(3, 15, 29, 0.97)); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.035); }
.nta-profile-choices { display: grid; align-content: start; gap: 9px; padding: 16px; }
.nta-profile-choices legend { width: 100%; margin: 0 0 5px; color: var(--nt-cyan); font-size: 0.61rem; font-weight: 900; letter-spacing: 0.11em; text-transform: uppercase; }
.nta-profile-choice { position: relative; display: grid; grid-template-columns: 27px 1fr 18px; gap: 10px; align-items: start; min-height: 104px; border: 1px solid rgba(118, 181, 224, 0.16); border-radius: 9px; padding: 13px; background: rgba(3, 16, 30, 0.42); cursor: pointer; transition: 160ms ease; }
.nta-profile-choice:hover { border-color: rgba(91, 213, 255, 0.45); transform: translateY(-1px); }
.nta-profile-choice:has(input:checked) { border-color: rgba(245, 196, 94, 0.59); background: linear-gradient(135deg, rgba(70, 46, 10, 0.54), rgba(7, 23, 38, 0.78)); box-shadow: inset 2px 0 0 var(--nt-gold); }
.nta-profile-choice input { position: absolute; opacity: 0; pointer-events: none; }
.nta-choice-id { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(91, 213, 255, 0.38); border-radius: 6px; color: var(--nt-cyan); font-size: 0.57rem; font-weight: 900; }
.nta-profile-choice:has(input:checked) .nta-choice-id { border-color: rgba(245, 196, 94, 0.65); color: var(--nt-gold); }
.nta-profile-choice strong { display: block; color: #edf7ff; font-size: 0.76rem; }
.nta-profile-choice small { display: block; margin-top: 5px; color: #96afbf; font-size: 0.62rem; line-height: 1.45; }
.nta-profile-choice i { width: 12px; height: 12px; border: 1px solid rgba(118, 181, 224, 0.46); border-radius: 50%; margin-top: 3px; }
.nta-profile-choice:has(input:checked) i { border-color: var(--nt-gold); background: radial-gradient(circle, var(--nt-gold) 0 38%, transparent 43%); box-shadow: 0 0 10px rgba(245, 196, 94, 0.45); }

.nta-profile-editor { display: grid; align-content: start; gap: 8px; }
.nta-profile-editor > label { display: grid; gap: 7px; }
.nta-profile-editor > label > input { margin: 0; }
.nta-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 9px; }
.nta-field-grid > label { display: grid; gap: 7px; color: #cfe1ed; font-size: 0.67rem; font-weight: 800; }
.nta-field-grid > label > span { color: var(--nt-gold-bright); font-family: var(--nt-display); font-size: 0.98rem; }
.nta-field-grid input[type="range"] { width: 100%; margin: 1px 0 0; accent-color: var(--nt-gold); }
.nta-field-grid select { margin: 0; }
.nta-boundary-check { border: 1px solid rgba(245, 196, 94, 0.22); border-radius: 8px; margin: 14px 0 0; padding: 10px; background: rgba(71, 46, 9, 0.17); }
.nta-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--nta-soft-line); margin-top: 13px; padding-top: 15px; }
.nta-form-actions p { min-height: 16px; margin: 0; color: #9cc6b9; font-size: 0.64rem; line-height: 1.4; }
.nta-form-actions p.is-error { color: #ffadb7; }

.nta-positions-layout { display: grid; grid-template-columns: minmax(330px, 0.84fr) minmax(360px, 1.16fr); gap: 14px; }
.nta-form-head { display: flex; align-items: flex-start; gap: 11px; padding-bottom: 15px; }
.nta-form-head h2,
.nta-ledger-head h2 { margin: 4px 0 0; color: #edf8ff; font-size: 1rem; }
.nta-form-head p { margin: 6px 0 0; color: #98b2c4; font-size: 0.65rem; line-height: 1.45; }
.nta-position-fields { margin-top: 0; }
.nta-position-fields > label { color: #cfe1ed; }
.nta-position-fields input,
.nta-position-fields select { margin: 0; }
.nta-position-form .nta-check-row { margin-top: 15px; }
.nta-ledger-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--nta-soft-line); padding-bottom: 15px; }
.nta-ledger-head .nt-kicker { margin-bottom: 5px; }
.nta-ledger-head > span { border: 1px solid rgba(91, 213, 255, 0.23); border-radius: 99px; padding: 5px 8px; color: var(--nt-cyan); font-size: 0.56rem; font-weight: 900; white-space: nowrap; }
.nta-position-list { display: grid; gap: 9px; margin-top: 13px; }
.nta-position-row { display: grid; grid-template-columns: 35px minmax(0, 1fr) auto; gap: 10px; align-items: center; border: 1px solid rgba(118, 181, 224, 0.14); border-radius: 9px; padding: 11px; background: rgba(2, 15, 28, 0.44); }
.nta-position-mark { display: grid; width: 33px; height: 33px; place-items: center; border: 1px solid rgba(91, 213, 255, 0.4); border-radius: 8px; color: var(--nt-cyan); font-family: var(--nt-display); font-size: 0.7rem; }
.nta-position-row strong { display: block; overflow: hidden; color: #edf8ff; font-size: 0.72rem; text-overflow: ellipsis; white-space: nowrap; }
.nta-position-row small { display: block; margin-top: 4px; color: #8da9bc; font-size: 0.59rem; line-height: 1.35; }
.nta-position-row > div:last-child { text-align: right; }
.nta-position-row b { display: block; color: var(--nt-gold-bright); font-family: var(--nt-display); font-size: 0.92rem; font-weight: 700; }
.nta-position-row em { display: block; margin-top: 4px; color: #b8e9da; font-size: 0.56rem; font-style: normal; font-weight: 900; text-transform: uppercase; }
.nta-empty { margin: 0; padding: 24px 7px; color: #8da8ba; font-size: 0.68rem; line-height: 1.55; text-align: center; }

.nta-agent-flow { margin-bottom: 14px; }
.nta-agent-grid { margin-top: 0; }
.nta-agent-grid .nt-agent-card { min-height: 263px; }
.nta-assessment-action { display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid rgba(245, 196, 94, 0.29); border-radius: 12px; margin-top: 14px; padding: 17px 19px; background: linear-gradient(90deg, rgba(68, 44, 8, 0.62), rgba(8, 27, 44, 0.83)); }
.nta-assessment-action strong { color: #fff0ca; font-size: 0.82rem; }.nta-assessment-action p { max-width: 680px; margin: 5px 0 0; color: #b3c6d0; font-size: 0.66rem; line-height: 1.48; }
.nta-assessment-results { margin-top: 14px; }
.nta-finding-list { display: grid; gap: 0; margin-top: 10px; }
.nta-finding { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 67px; border-top: 1px solid var(--nta-soft-line); padding: 11px 0; }
.nta-finding-code { display: grid; width: 32px; height: 26px; place-items: center; border: 1px solid rgba(91, 213, 255, 0.34); border-radius: 6px; color: var(--nt-cyan); font-size: 0.56rem; font-weight: 900; }
.nta-finding strong { display: block; color: #e8f6ff; font-size: 0.7rem; }.nta-finding p { margin: 4px 0 0; color: #8faabb; font-size: 0.61rem; line-height: 1.4; }.nta-finding span:last-child { border: 1px solid rgba(82, 229, 196, 0.36); border-radius: 99px; padding: 4px 7px; color: var(--nt-green); font-size: 0.54rem; font-weight: 900; text-transform: uppercase; }

.nta-recommendation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nta-recommendation-grid .nta-empty { grid-column: 1 / -1; border: 1px dashed rgba(91, 213, 255, 0.25); border-radius: 12px; }

.nta-report-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(270px, 0.52fr); gap: 14px; }
.nta-report-card { position: relative; overflow: hidden; border: 1px solid rgba(245, 196, 94, 0.36); border-radius: 15px; padding: clamp(22px, 3vw, 35px); background: linear-gradient(135deg, rgba(62, 40, 8, 0.72), rgba(7, 25, 43, 0.97)); box-shadow: 0 24px 68px rgba(0, 0, 0, 0.27), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.nta-report-card::after { content: ""; position: absolute; right: -90px; bottom: -110px; width: 350px; height: 190px; border: 1px solid rgba(91, 213, 255, 0.22); border-radius: 50%; transform: rotate(-27deg); }
.nta-report-card > * { position: relative; z-index: 1; }
.nta-report-seal { display: grid; width: 78px; height: 78px; place-items: center; }
.nta-report-seal img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.44)) drop-shadow(0 0 14px rgba(185, 133, 255, 0.19)); }
.nta-report-card .nt-kicker { margin-top: 27px; }.nta-report-card h2 { max-width: 600px; margin: 8px 0 0; color: #fff5dc; font-family: var(--nt-display); font-size: clamp(1.55rem, 3vw, 2.5rem); line-height: 1; }.nta-report-card > p { max-width: 650px; margin: 14px 0 0; color: #c1d0d7; font-size: 0.74rem; line-height: 1.65; }
.nta-report-card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 24px 0 0; }.nta-report-card dl div { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; padding: 10px; background: rgba(1, 13, 23, 0.31); }.nta-report-card dt { color: var(--nt-gold); font-size: 0.54rem; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }.nta-report-card dd { margin: 5px 0 0; color: #e5eff4; font-size: 0.62rem; line-height: 1.38; }.nta-report-card button { margin-top: 25px; }
.nta-report-side { border: 1px solid var(--nt-line); border-radius: 13px; padding: 21px; background: linear-gradient(145deg, rgba(10, 35, 57, 0.86), rgba(3, 15, 29, 0.96)); }.nta-report-side h2 { margin: 0; color: #edf7ff; font-size: 0.95rem; }.nta-report-side ul { display: grid; gap: 11px; margin: 17px 0 0; padding: 0; list-style: none; }.nta-report-side li { position: relative; padding-left: 17px; color: #b0c5d3; font-size: 0.67rem; line-height: 1.45; }.nta-report-side li::before { content: ""; position: absolute; top: 0.48em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--nt-cyan); box-shadow: 0 0 8px rgba(91, 213, 255, 0.62); }.nta-report-side p { border-top: 1px solid var(--nta-soft-line); margin: 20px 0 0; padding-top: 16px; color: #809bad; font-size: 0.65rem; line-height: 1.55; }

.nta-settings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }.nta-settings-card { display: flex; flex-direction: column; min-height: 250px; }.nta-settings-card h2 { margin: 4px 0 0; color: #edf8ff; font-size: 1rem; line-height: 1.35; }.nta-settings-card > p:not(.nt-kicker) { margin: 10px 0 0; color: #a7bdcc; font-size: 0.7rem; line-height: 1.55; }.nta-settings-card > button { align-self: flex-start; margin-top: auto; }.nta-settings-boundary { border-color: rgba(245, 196, 94, 0.3); background: linear-gradient(145deg, rgba(66, 42, 8, 0.65), rgba(4, 16, 29, 0.95)); }.nta-settings-card ul { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }.nta-settings-card li { position: relative; padding-left: 15px; color: #b4c7d2; font-size: 0.66rem; line-height: 1.42; }.nta-settings-card li::before { content: ""; position: absolute; top: 0.5em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--nt-gold); }.nta-settings-reset { border-color: rgba(255, 107, 119, 0.24); }.nta-danger-button { color: #ffb2bc; border-color: rgba(255, 107, 119, 0.42); }.nta-reset-quiet { display: block; margin-top: auto; border-top: 1px solid rgba(255, 107, 119, 0.14); padding-top: 15px; color: #98b0be; font-size: 0.63rem; line-height: 1.48; }
.nta-inline-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }.nt-text-button { border: 0; padding: 8px 0; background: transparent; color: #7ee5ff; font: inherit; font-size: 0.72rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }.nt-text-button:hover, .nt-text-button:focus-visible { color: #f7d68e; }
.nta-footer { margin-top: auto; }
.nta-sign-out-rail { width: 100%; background: rgba(4, 20, 34, 0.53); }
.nta-toast { z-index: 70; }

@media (max-width: 1280px) {
  .nta-shell { grid-template-columns: 238px minmax(0, 1fr); }
  .nta-auth { grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr); gap: 48px; }
  .nta-boundary-grid { grid-template-columns: 1fr; max-width: 480px; }
  .nta-boundary-grid article { min-height: 100px; }
  .nta-overview-grid { grid-template-columns: 1fr; }
  .nta-action-card { min-height: 190px; }
  .nta-settings-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1040px) {
  .nta-profile-layout, .nta-positions-layout, .nta-report-layout { grid-template-columns: 1fr; }
  .nta-report-side { min-height: auto; }
  .nta-settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nta-launch-strip { gap: 8px; font-size: 0.54rem; }.nta-launch-strip > span:not(.nta-launch-orbit) { display: none; }.nta-launch-strip > strong + span { display: inline !important; }.nta-launch-orbit { display: none; }
  .nta-hold { width: min(620px, calc(100% - 32px)); min-height: auto; padding: 48px 0; }.nta-hold-card { border-radius: 15px; }.nta-hold-card .nta-auth-brand { margin-bottom: 35px; }
  .nta-auth { width: min(620px, calc(100% - 32px)); grid-template-columns: 1fr; min-height: auto; gap: 36px; padding: 48px 0; }.nta-auth-intro { max-width: none; }.nta-auth-brand { margin-bottom: 34px; }.nta-auth::before { left: -28vw; width: 95vw; }.nta-auth-orbit-two { display: none; }
  .nta-rail { top: 35px; height: calc(100vh - 35px); }.nta-top-actions .nt-outline-button { display: none; }.nta-user-chip { max-width: 120px; }.nta-user-chip small { display: none; }
  .nta-profile-choice { min-height: 93px; }.nta-agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.nta-recommendation-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .nta-hold { width: min(100% - 24px, 520px); padding: 34px 0; }.nta-hold-card { border-radius: 13px; padding: 25px 20px; }.nta-hold-card h1 { font-size: 2.7rem; }.nta-hold-actions { display: grid; }.nta-hold-actions > * { width: 100%; }
  .nta-auth { width: min(100% - 24px, 520px); padding: 33px 0; }.nta-auth h1 { font-size: 2.8rem; }.nta-auth-copy { font-size: 0.84rem; }.nta-boundary-grid { gap: 8px; margin-top: 25px; }.nta-boundary-grid article { min-height: 94px; }.nta-auth-card { border-radius: 13px; padding: 19px; }.nta-auth-card-head strong { font-size: 1.45rem; }
  .nta-topbar { gap: 8px; }.nta-user-chip { max-width: 42px; justify-content: flex-end; }.nta-user-chip > img { display: block; width: 32px; height: 32px; }.nta-user-chip > span { display: none; }.nta-user-chip strong { font-size: 0.6rem; }.nta-snapshot-card { min-width: 0; }.nta-field-grid { grid-template-columns: 1fr; }.nta-profile-layout, .nta-positions-layout { gap: 12px; }.nta-profile-editor, .nta-position-form, .nta-position-ledger { padding: 15px; }.nta-assessment-action { align-items: flex-start; flex-direction: column; }.nta-assessment-action button { width: 100%; }.nta-agent-grid, .nta-recommendation-grid { grid-template-columns: 1fr; }.nta-finding { grid-template-columns: 37px minmax(0, 1fr); }.nta-finding span:last-child { grid-column: 2; justify-self: start; }.nta-report-card dl { grid-template-columns: 1fr; }.nta-position-row { grid-template-columns: 33px minmax(0, 1fr); }.nta-position-row > div:last-child { grid-column: 2; text-align: left; }.nta-position-row b { display: inline; }.nta-position-row em { display: inline; margin-left: 6px; }.nta-launch-strip strong { display: none; }
}

/* Royal customer command system */
.nt-app-page {
  --nt-blue: #9c72ea;
  --nt-cyan: #d1b4ff;
  --nt-line: rgba(201, 166, 255, 0.21);
  --nt-line-bright: rgba(215, 186, 255, 0.48);
  --nta-purple: #b985ff;
  --nta-purple-soft: #dcc8ff;
  --nta-purple-deep: #553098;
  --nta-royal-glass: linear-gradient(145deg, rgba(16, 13, 29, 0.88), rgba(3, 8, 18, 0.94));
  background: #02040a;
}

.nta-royal-backdrop {
  z-index: 0;
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(1, 3, 9, 0.2), rgba(2, 3, 10, 0.44)),
    radial-gradient(circle at 50% 28%, rgba(110, 62, 171, 0.08), transparent 46%),
    linear-gradient(90deg, rgba(2, 4, 11, 0.34), transparent 24%, transparent 76%, rgba(2, 4, 11, 0.34)),
    url("/assets/nova-treasury/royal-command-backdrop-4k-v1.webp") center bottom / cover no-repeat;
  filter: saturate(1.04) contrast(1.03);
}

.nta-royal-backdrop::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(1, 3, 9, 0.04), rgba(1, 3, 9, 0.22) 62%, rgba(1, 3, 9, 0.38)),
    radial-gradient(circle at 50% 42%, transparent 0 28%, rgba(1, 3, 9, 0.14) 72%);
  content: "";
}

.nt-app-page .nt-scanlines {
  z-index: 0;
  background-image:
    linear-gradient(rgba(209, 180, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 196, 94, 0.014) 1px, transparent 1px);
  opacity: 0.5;
}

.nta-launch-strip,
.nta-app {
  position: relative;
  z-index: 1;
}

.nta-launch-strip {
  border-bottom-color: rgba(220, 183, 96, 0.48);
  background: linear-gradient(90deg, rgba(35, 20, 5, 0.94), rgba(17, 9, 29, 0.94), rgba(35, 20, 5, 0.94));
  box-shadow: 0 10px 38px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px) saturate(130%);
}

.nta-launch-strip > span:not(.nta-launch-orbit)::before {
  background: var(--nta-purple-soft);
  box-shadow: 0 0 8px rgba(185, 133, 255, 0.72);
}

.nta-launch-orbit {
  box-shadow: 0 0 0 3px rgba(245, 196, 94, 0.15), 0 0 16px rgba(185, 133, 255, 0.76);
}

.nta-app {
  background:
    radial-gradient(circle at 76% 20%, rgba(112, 62, 177, 0.08), transparent 31%),
    linear-gradient(180deg, rgba(1, 3, 9, 0.14), rgba(1, 3, 9, 0.42));
}

.nta-shell {
  background: linear-gradient(90deg, rgba(2, 4, 11, 0.24), rgba(2, 4, 11, 0.08) 28%, rgba(2, 4, 11, 0.23));
}

.nta-rail {
  border-right-color: rgba(219, 187, 255, 0.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(185, 133, 255, 0.13), transparent 27%),
    linear-gradient(180deg, rgba(4, 5, 13, 0.91), rgba(8, 6, 18, 0.84));
  box-shadow: 22px 0 64px rgba(0, 0, 0, 0.28), inset -1px 0 0 rgba(245, 196, 94, 0.06);
  backdrop-filter: blur(22px) saturate(125%);
}

.nta-rail::before {
  background: radial-gradient(circle at 50% 0%, rgba(185, 133, 255, 0.15), transparent 68%);
}

.nta-rail-scrim { display: none; }

.nt-app-page .nt-nav-link:hover {
  border-color: rgba(209, 180, 255, 0.28);
  background: rgba(74, 43, 112, 0.27);
}

.nt-app-page .nt-nav-link.is-active {
  border-color: rgba(209, 180, 255, 0.4);
  background: linear-gradient(90deg, rgba(95, 55, 145, 0.47), rgba(35, 20, 55, 0.68));
  box-shadow: inset 3px 0 0 var(--nt-gold), 0 12px 30px rgba(0, 0, 0, 0.22);
}

.nta-main {
  background: linear-gradient(180deg, rgba(2, 4, 11, 0.28), rgba(2, 4, 11, 0.12) 42%, rgba(2, 4, 11, 0.3));
}

.nta-topbar {
  border-bottom-color: rgba(215, 186, 255, 0.18);
  background: linear-gradient(180deg, rgba(3, 5, 13, 0.34), transparent);
}

.nt-view {
  position: relative;
  isolation: isolate;
}

.nt-view-heading h1 span,
.nta-auth h1 span,
.nta-hold-card h1 span {
  color: transparent;
  background: linear-gradient(90deg, #fff1bd, #e0b65a 44%, #d8bfff 94%);
  -webkit-background-clip: text;
  background-clip: text;
}

.nt-view-heading h1 span { display: block; }

.nta-hold-card,
.nta-auth-card,
.nta-boundary-grid article,
.nt-metric-card,
.nta-action-card,
.nta-profile-choices,
.nta-profile-editor,
.nta-position-form,
.nta-position-ledger,
.nta-assessment-results,
.nta-report-side,
.nta-settings-card,
.nt-recommendation-card,
.nt-data-source-card,
.nta-report-card {
  backdrop-filter: blur(18px) saturate(125%);
}

.nta-hold-card,
.nta-auth-card {
  border-color: rgba(216, 183, 255, 0.3);
  background:
    linear-gradient(145deg, rgba(22, 16, 36, 0.91), rgba(3, 8, 18, 0.96)),
    radial-gradient(circle at 88% 8%, rgba(245, 196, 94, 0.13), transparent 30%);
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 238, 189, 0.09);
}

.nta-boundary-grid article,
.nt-metric-card,
.nta-action-card,
.nta-profile-choices,
.nta-profile-editor,
.nta-position-form,
.nta-position-ledger,
.nta-assessment-results,
.nta-report-side,
.nta-settings-card,
.nt-recommendation-card,
.nt-data-source-card {
  border-color: rgba(205, 171, 255, 0.18);
  background: var(--nta-royal-glass);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 240, 199, 0.045);
}

.nta-onboarding-card,
.nta-settings-boundary,
.nta-report-card,
.nta-assessment-action {
  border-color: rgba(245, 196, 94, 0.35);
  background: linear-gradient(145deg, rgba(48, 31, 8, 0.78), rgba(14, 8, 24, 0.91) 62%, rgba(3, 8, 18, 0.95));
}

.nt-app-page .nt-safety-banner,
.nta-boundary-note {
  border-color: rgba(185, 133, 255, 0.25);
  border-left-color: var(--nt-gold);
  background: linear-gradient(90deg, rgba(48, 31, 8, 0.5), rgba(23, 12, 38, 0.66), rgba(4, 10, 20, 0.76));
  backdrop-filter: blur(14px);
}

.nt-app-page .nt-data-source-card span,
.nta-profile-choices legend,
.nta-ledger-head > span,
.nta-form-head .nt-kicker {
  color: var(--nta-purple-soft);
}

.nt-app-page input:focus,
.nt-app-page select:focus {
  border-color: var(--nta-purple-soft);
  box-shadow: 0 0 0 3px rgba(185, 133, 255, 0.13);
}

.nta-council-preview {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: 14px;
  margin-top: 14px;
}

.nta-council-preview-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(245, 196, 94, 0.33);
  border-radius: 15px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(50, 32, 8, 0.77), rgba(17, 9, 29, 0.9) 67%, rgba(3, 8, 18, 0.94));
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.27), inset 0 1px 0 rgba(255, 237, 184, 0.07);
  backdrop-filter: blur(18px) saturate(125%);
}

.nta-council-preview-copy h2 {
  margin: 6px 0 0;
  color: #fff5dd;
  font-family: var(--nt-display);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.05;
}

.nta-council-preview-copy h2 span { color: var(--nta-purple-soft); }
.nta-council-preview-copy > p:not(.nt-kicker) { margin: 13px 0 0; color: #b9b3c4; font-size: 0.7rem; line-height: 1.58; }
.nta-council-preview-copy button { margin-top: auto; }

.nta-council-roster {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.nta-council-member {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(211, 177, 255, 0.2);
  border-radius: 14px;
  padding: 9px;
  background:
    radial-gradient(circle at 50% 25%, rgba(185, 133, 255, 0.15), transparent 43%),
    linear-gradient(155deg, rgba(18, 13, 30, 0.92), rgba(3, 7, 16, 0.96));
  box-shadow: 0 19px 45px rgba(0, 0, 0, 0.27), inset 0 1px 0 rgba(255, 235, 177, 0.055);
  text-align: center;
  backdrop-filter: blur(15px);
}

.nta-council-member::before {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(245, 196, 94, 0.08);
  border-radius: 10px;
  pointer-events: none;
  content: "";
}

.nta-council-member img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.48));
}

.nta-council-member > span {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
  min-height: 56px;
  align-content: center;
  border-top: 1px solid rgba(245, 196, 94, 0.15);
  margin-top: 7px;
  padding-top: 7px;
}

.nta-council-member small {
  color: var(--nt-gold);
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.nta-council-member strong {
  color: #f6f0ff;
  font-size: 0.61rem;
  line-height: 1.25;
}

.nta-agent-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.nta-agent-grid .nt-agent-card,
.nta-agent-card,
.nta-agent-card:nth-child(2n) {
  min-height: 310px;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  border-color: rgba(245, 196, 94, 0.3);
  border-radius: 17px;
  padding: 0;
  background:
    radial-gradient(circle at 8% 20%, rgba(185, 133, 255, 0.13), transparent 32%),
    linear-gradient(145deg, rgba(20, 14, 32, 0.94), rgba(4, 8, 18, 0.97));
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 235, 177, 0.07);
  backdrop-filter: blur(18px) saturate(125%);
}

.nta-agent-card::before {
  position: absolute;
  inset: 7px;
  z-index: 1;
  border: 1px solid rgba(211, 177, 255, 0.07);
  border-radius: 12px;
  pointer-events: none;
  content: "";
}

.nta-agent-card::after {
  right: -42px;
  bottom: -50px;
  width: 150px;
  height: 150px;
  border-color: rgba(185, 133, 255, 0.18);
  background: radial-gradient(circle, rgba(185, 133, 255, 0.08), transparent 66%);
  box-shadow: 0 0 0 18px rgba(245, 196, 94, 0.018);
}

.nta-agent-identity {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  border-right: 1px solid rgba(245, 196, 94, 0.16);
  padding: 18px 12px;
  background:
    radial-gradient(circle at 50% 38%, rgba(185, 133, 255, 0.16), transparent 43%),
    linear-gradient(180deg, rgba(30, 19, 44, 0.52), rgba(6, 7, 16, 0.54));
}

.nta-agent-emblem {
  position: relative;
  display: grid;
  width: 106px;
  height: 106px;
  place-items: center;
  overflow: visible;
}

.nta-agent-emblem::after {
  display: none;
}

.nta-agent-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.48)) drop-shadow(0 0 16px rgba(185, 133, 255, 0.18));
}

.nta-agent-card .nt-agent-card-number {
  width: 62px;
  height: 28px;
  border-color: rgba(245, 196, 94, 0.58);
  background: rgba(42, 26, 5, 0.46);
  color: #ffe49a;
  font-family: Consolas, "Cascadia Mono", monospace;
  letter-spacing: 0.14em;
  box-shadow: inset 0 0 14px rgba(245, 196, 94, 0.06);
}

.nta-agent-body {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.nta-agent-card-head {
  align-items: flex-start !important;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(213, 182, 255, 0.1);
}

.nta-agent-division {
  color: var(--nt-gold);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nta-agent-card .nt-agent-status {
  color: var(--nta-purple-soft);
  font-size: 0.51rem;
  line-height: 1.25;
}

.nta-agent-card .nt-agent-status::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--nta-purple);
  box-shadow: 0 0 9px rgba(185, 133, 255, 0.82);
  content: "";
}

.nta-agent-card h2 {
  min-height: 36px;
  margin: 13px 0 0;
  color: #fff6df;
  font-family: var(--nt-display);
  font-size: 1.05rem;
  line-height: 1.12;
}

.nta-agent-card p {
  min-height: 48px;
  margin: 8px 0 0;
  color: #aaa5b5;
  font-size: 0.66rem;
  line-height: 1.5;
}

.nta-agent-card dl {
  gap: 8px;
  border-top-color: rgba(245, 196, 94, 0.13);
  margin-top: 15px;
  padding-top: 11px;
}

.nta-agent-card dt {
  color: var(--nt-gold);
  font-size: 0.5rem;
}

.nta-agent-card dd {
  color: #e7dcf4;
  font-size: 0.6rem;
}

.nta-agent-card footer {
  flex-wrap: wrap;
  border-top: 1px solid rgba(213, 182, 255, 0.1);
  margin-top: 12px;
  padding-top: 10px;
  color: #928a9e;
  font-size: 0.52rem;
}

.nta-agent-card footer strong { color: var(--nta-purple-soft); }

.nta-agent-card,
.nta-council-member { cursor: pointer; }

.nta-agent-card-open {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  border: 0;
  border-radius: inherit;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.nta-agent-card-open:focus-visible {
  outline: 2px solid var(--nta-purple-soft);
  outline-offset: -4px;
}

.nta-agent-card-cta,
.nta-council-file {
  color: var(--nt-gold);
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nta-agent-card-cta {
  flex-basis: 100%;
  margin-top: 2px;
  font-size: 0.5rem;
}

.nta-council-file {
  color: var(--nta-purple-soft);
  font-size: 0.49rem;
}

.nt-app-page.nta-dossier-open { overflow: hidden; }

.nta-agent-dossier {
  inset: 0;
  width: min(920px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  border: 1px solid rgba(245, 196, 94, 0.48);
  border-radius: 22px;
  padding: 0;
  background: #04050d;
  color: #f8f4ff;
  box-shadow:
    0 48px 140px rgba(0, 0, 0, 0.78),
    0 0 0 1px rgba(213, 182, 255, 0.11),
    inset 0 1px 0 rgba(255, 239, 196, 0.11);
}

.nta-agent-dossier::backdrop {
  background:
    radial-gradient(circle at 50% 36%, rgba(92, 50, 150, 0.26), transparent 48%),
    rgba(1, 2, 8, 0.82);
  backdrop-filter: blur(8px) saturate(115%);
}

.nta-dossier-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 0.78fr) minmax(0, 1.5fr);
  max-height: inherit;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(42, 27, 7, 0.22), transparent 40%),
    radial-gradient(circle at 78% 12%, rgba(185, 133, 255, 0.12), transparent 34%);
}

.nta-dossier-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 8;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(218, 190, 255, 0.34);
  border-radius: 50%;
  padding: 0;
  background: rgba(6, 6, 16, 0.82);
  color: #fff3d2;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.nta-dossier-close:hover { border-color: rgba(245, 196, 94, 0.72); color: var(--nt-gold-bright); }

.nta-dossier-portrait-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  border-right: 1px solid rgba(245, 196, 94, 0.17);
  padding: 34px 25px 28px;
  background:
    radial-gradient(circle at 50% 38%, rgba(185, 133, 255, 0.2), transparent 38%),
    linear-gradient(180deg, rgba(42, 27, 7, 0.52), rgba(13, 8, 22, 0.96) 62%, rgba(3, 5, 12, 0.98));
}

.nta-dossier-portrait-panel::before {
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(245, 196, 94, 0.1);
  border-radius: 15px;
  content: "";
}

.nta-dossier-eyebrow {
  align-self: flex-start;
  margin: 0 0 24px;
  color: var(--nt-gold);
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nta-dossier-portrait-frame {
  position: relative;
  width: min(230px, 100%);
  overflow: visible;
  aspect-ratio: 1;
}

.nta-dossier-portrait-frame::after {
  display: none;
}

.nta-dossier-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 22px rgba(185, 133, 255, 0.2));
}

.nta-dossier-scan {
  position: absolute;
  inset: auto 11% 13%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(222, 196, 255, 0.9), transparent);
  box-shadow: 0 0 14px rgba(185, 133, 255, 0.6);
}

.nta-dossier-serial {
  width: min(230px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(245, 196, 94, 0.3);
  border-radius: 10px;
  margin-top: 18px;
  padding: 10px 12px;
  background: rgba(53, 33, 7, 0.5);
}

.nta-dossier-serial span,
.nta-dossier-duty-state small {
  color: #a39bab;
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nta-dossier-serial strong {
  color: var(--nt-gold-bright);
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.nta-dossier-duty-state {
  width: min(230px, 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
}

.nta-dossier-duty-state > i {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--nta-purple-soft);
  box-shadow: 0 0 13px rgba(185, 133, 255, 0.9);
}

.nta-dossier-duty-state span { display: grid; gap: 3px; }
.nta-dossier-duty-state strong { color: #eee5fa; font-size: 0.61rem; }

.nta-dossier-details {
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 40px 38px 32px;
  scrollbar-color: rgba(185, 133, 255, 0.4) transparent;
}

.nta-dossier-header {
  border-bottom: 1px solid rgba(218, 190, 255, 0.14);
  padding-right: 44px;
  padding-bottom: 22px;
}

.nta-dossier-header h2 {
  margin: 3px 0 0;
  color: #fff3d1;
  font-family: var(--nt-display);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 0.98;
}

.nta-dossier-header > p:last-child {
  max-width: 610px;
  margin: 14px 0 0;
  color: #b8b0c1;
  font-size: 0.75rem;
  line-height: 1.62;
}

.nta-dossier-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 18px 0 0;
}

.nta-dossier-meta div {
  min-width: 0;
  border: 1px solid rgba(211, 177, 255, 0.14);
  border-radius: 10px;
  padding: 11px 12px;
  background: rgba(18, 11, 30, 0.54);
}

.nta-dossier-meta dt,
.nta-dossier-prompt > span {
  color: var(--nt-gold);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nta-dossier-meta dd {
  overflow-wrap: anywhere;
  margin: 5px 0 0;
  color: #e8ddf2;
  font-size: 0.62rem;
  line-height: 1.4;
}

.nta-dossier-brief,
.nta-dossier-duties {
  border: 1px solid rgba(245, 196, 94, 0.24);
  border-radius: 13px;
  margin-top: 13px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(51, 32, 7, 0.52), rgba(18, 10, 30, 0.58));
}

.nta-dossier-brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: start;
}

.nta-dossier-brief h3,
.nta-dossier-duties h3 {
  margin: 3px 0 0;
  color: #fff3d2;
  font-size: 0.93rem;
  line-height: 1.28;
}

.nta-dossier-brief-state {
  border: 1px solid rgba(185, 133, 255, 0.28);
  border-radius: 99px;
  padding: 5px 8px;
  color: var(--nta-purple-soft);
  font-size: 0.49rem;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.nta-dossier-brief > p {
  grid-column: 1 / -1;
  margin: 0;
  color: #bbb2c4;
  font-size: 0.66rem;
  line-height: 1.55;
}

.nta-dossier-prompt {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(245, 196, 94, 0.13);
  padding-top: 11px;
}

.nta-dossier-prompt p {
  margin: 5px 0 0;
  color: #dfd4e9;
  font-size: 0.62rem;
  line-height: 1.5;
}

.nta-dossier-duties {
  border-color: rgba(211, 177, 255, 0.16);
  background: rgba(11, 8, 21, 0.64);
}

.nta-dossier-duties ul {
  display: grid;
  gap: 8px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.nta-dossier-duties li {
  position: relative;
  padding-left: 17px;
  color: #c2b9cb;
  font-size: 0.64rem;
  line-height: 1.45;
}

.nta-dossier-duties li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nta-purple);
  box-shadow: 0 0 9px rgba(185, 133, 255, 0.72);
  content: "";
}

.nta-dossier-boundary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(245, 196, 94, 0.35);
  border-left: 3px solid var(--nt-gold);
  border-radius: 12px;
  margin-top: 13px;
  padding: 13px 14px;
  background: rgba(47, 29, 6, 0.48);
}

.nta-dossier-boundary > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
}

.nta-dossier-boundary > span img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.44)) drop-shadow(0 0 8px rgba(185, 133, 255, 0.18));
}

.nta-dossier-boundary div { display: grid; gap: 3px; }
.nta-dossier-boundary small { color: var(--nt-gold); font-size: 0.5rem; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
.nta-dossier-boundary strong { color: #fff1c8; font-size: 0.72rem; }
.nta-dossier-boundary p { margin: 2px 0 0; color: #aca3b5; font-size: 0.59rem; line-height: 1.4; }

.nta-morning-overview {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(245, 196, 94, 0.34);
  border-radius: 14px;
  margin-top: 14px;
  padding: 13px 15px;
  background:
    linear-gradient(110deg, rgba(53, 34, 8, 0.82), rgba(18, 10, 31, 0.89) 58%, rgba(5, 10, 20, 0.94)),
    radial-gradient(circle at 78% 20%, rgba(185, 133, 255, 0.18), transparent 36%);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.27), inset 0 1px 0 rgba(255, 241, 202, 0.07);
  backdrop-filter: blur(18px) saturate(125%);
}

.nta-morning-overview::after {
  position: absolute;
  z-index: -1;
  right: 8%;
  width: 230px;
  height: 76px;
  border: 1px solid rgba(211, 177, 255, 0.1);
  border-radius: 50%;
  content: "";
  transform: rotate(-12deg);
}

.nta-morning-overview-portrait {
  position: relative;
  width: 58px;
  height: 58px;
  overflow: visible;
}

.nta-morning-overview-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 9px 13px rgba(0, 0, 0, 0.44)) drop-shadow(0 0 10px rgba(185, 133, 255, 0.18));
}

.nta-morning-overview-copy { min-width: 0; }
.nta-morning-overview-copy .nt-kicker { margin-bottom: 4px; color: var(--nta-purple-soft); }
.nta-morning-overview-copy h2 { margin: 0; color: #fff2cd; font-size: 0.92rem; }
.nta-morning-overview-copy > p:last-child { margin: 5px 0 0; color: #b7adbf; font-size: 0.64rem; line-height: 1.45; }

.nta-morning-overview-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nta-morning-state-pill {
  border: 1px solid rgba(211, 177, 255, 0.3);
  border-radius: 99px;
  padding: 5px 8px;
  color: var(--nta-purple-soft);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
}

.nta-morning-state-pill.is-scheduled {
  border-color: rgba(245, 196, 94, 0.46);
  color: var(--nt-gold-bright);
  box-shadow: 0 0 14px rgba(245, 196, 94, 0.08);
}

.nta-morning-brief-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(245, 196, 94, 0.42);
  border-radius: 18px;
  margin-bottom: 14px;
  background:
    radial-gradient(circle at 78% 9%, rgba(185, 133, 255, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(45, 29, 8, 0.9), rgba(13, 8, 24, 0.94) 48%, rgba(3, 8, 17, 0.97));
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 238, 193, 0.08);
  backdrop-filter: blur(20px) saturate(126%);
}

.nta-morning-brief-card::before {
  position: absolute;
  z-index: -1;
  top: -120px;
  left: 25%;
  width: 560px;
  height: 210px;
  border: 1px solid rgba(245, 196, 94, 0.09);
  border-radius: 50%;
  content: "";
  transform: rotate(-8deg);
}

.nta-morning-brief-layout {
  display: grid;
  grid-template-columns: minmax(380px, 0.94fr) minmax(420px, 1.06fr);
  min-width: 0;
}

.nta-morning-controls {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
}

.nta-morning-heading {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid rgba(218, 190, 255, 0.14);
  padding-bottom: 20px;
}

.nta-morning-director-mark {
  position: relative;
  width: 66px;
  height: 66px;
  overflow: visible;
}

.nta-morning-director-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 11px 15px rgba(0, 0, 0, 0.44)) drop-shadow(0 0 12px rgba(185, 133, 255, 0.18));
}

.nta-morning-director-mark span {
  position: absolute;
  right: 4px;
  bottom: 4px;
  border: 1px solid rgba(245, 196, 94, 0.58);
  border-radius: 4px;
  padding: 2px 4px;
  background: rgba(4, 4, 10, 0.9);
  color: var(--nt-gold-bright);
  font: 900 0.43rem/1 Consolas, "Cascadia Mono", monospace;
  letter-spacing: 0.06em;
}

.nta-morning-heading .nt-kicker { margin-bottom: 5px; color: var(--nta-purple-soft); }
.nta-morning-heading h2 { margin: 0; color: #fff3d1; font-family: var(--nt-display); font-size: clamp(1.45rem, 2.6vw, 2.15rem); line-height: 1.02; }
.nta-morning-heading > div:last-child > p:last-child { max-width: 610px; margin: 9px 0 0; color: #b6acbf; font-size: 0.68rem; line-height: 1.52; }

.nta-morning-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(245, 196, 94, 0.27);
  border-radius: 12px;
  margin-top: 18px;
  padding: 13px 14px;
  background: linear-gradient(100deg, rgba(52, 32, 6, 0.47), rgba(22, 12, 35, 0.55));
  cursor: pointer;
}

.nta-morning-switch > span {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.nta-morning-switch strong { color: #fff0c9; font-size: 0.76rem; }
.nta-morning-switch small { color: #a9a0b2; font-size: 0.61rem; line-height: 1.42; }

.nta-morning-switch input {
  position: relative;
  width: 46px;
  height: 26px;
  flex: 0 0 46px;
  appearance: none;
  border: 1px solid rgba(211, 177, 255, 0.38);
  border-radius: 99px;
  margin: 0;
  background: rgba(4, 5, 13, 0.88);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nta-morning-switch input::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #9c90a8;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.4);
  content: "";
  transition: transform 160ms ease, background 160ms ease;
}

.nta-morning-switch input:checked {
  border-color: rgba(245, 196, 94, 0.7);
  background: linear-gradient(90deg, rgba(122, 77, 16, 0.74), rgba(86, 44, 137, 0.78));
  box-shadow: 0 0 18px rgba(185, 133, 255, 0.18);
}

.nta-morning-switch input:checked::after {
  background: #fff0b7;
  transform: translateX(20px);
}

.nta-morning-switch input:focus-visible {
  outline: 2px solid var(--nta-purple-soft);
  outline-offset: 3px;
}

.nta-morning-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 14px;
}

.nta-morning-field-grid label {
  display: grid;
  min-width: 0;
  gap: 7px;
  color: #d6cbe0;
  font-size: 0.62rem;
  font-weight: 800;
}

.nta-morning-recipient { grid-column: 1 / -1; }

.nta-morning-field-grid input,
.nta-morning-field-grid select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid rgba(211, 177, 255, 0.24);
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(4, 6, 15, 0.78);
  color: #f0e8f7;
  font: inherit;
  font-size: 0.69rem;
}

.nta-morning-field-grid input[readonly] {
  color: #b8adbf;
  background: rgba(4, 6, 15, 0.52);
}

.nta-morning-field-grid input:focus,
.nta-morning-field-grid select:focus {
  border-color: var(--nta-purple-soft);
  outline: none;
  box-shadow: 0 0 0 3px rgba(185, 133, 255, 0.12);
}

.nta-morning-field-grid select:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.nta-morning-consent { margin-top: 13px; }
.nta-morning-consent.is-disabled { opacity: 0.58; }

.nta-morning-delivery-note {
  border-left: 2px solid var(--nta-purple);
  margin: 12px 0 0;
  padding: 3px 0 3px 11px;
  color: #aaa0b4;
  font-size: 0.61rem;
  line-height: 1.48;
}

.nta-morning-delivery-note strong { color: var(--nta-purple-soft); }

.nta-morning-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  border-top: 1px solid rgba(218, 190, 255, 0.12);
  margin-top: 16px;
  padding-top: 16px;
}

.nta-morning-actions button { min-height: 42px; }
.nta-morning-actions button:disabled { opacity: 0.48; cursor: not-allowed; }
.nta-morning-actions .nt-text-button { min-height: 36px; color: var(--nta-purple-soft); }
.nta-morning-actions .nta-email-design-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-color: rgba(218, 190, 255, 0.4);
  background: linear-gradient(120deg, rgba(85, 48, 126, 0.4), rgba(55, 33, 8, 0.62));
  color: #fff0c9;
  text-decoration: none;
}

.nta-morning-actions .nta-email-design-link:hover,
.nta-morning-actions .nta-email-design-link:focus-visible {
  border-color: rgba(245, 196, 94, 0.76);
  box-shadow: 0 0 0 3px rgba(185, 133, 255, 0.1), 0 10px 24px rgba(0, 0, 0, 0.22);
}

.nta-morning-actions .nta-email-design-link span {
  color: var(--nt-gold-bright);
  font-size: 0.86rem;
}

.nta-morning-form-status {
  min-height: 18px;
  margin: 10px 0 0;
  color: #b8eadc;
  font-size: 0.62rem;
  line-height: 1.42;
}

.nta-morning-form-status.is-error { color: #ffb2bc; }

.nta-morning-safety {
  border-top: 1px solid rgba(245, 196, 94, 0.12);
  margin: 5px 0 0;
  padding-top: 12px;
  color: #948b9e;
  font-size: 0.57rem;
  line-height: 1.52;
}

.nta-morning-preview {
  min-width: 0;
  border-left: 1px solid rgba(245, 196, 94, 0.16);
  background:
    radial-gradient(circle at 50% 10%, rgba(185, 133, 255, 0.1), transparent 28%),
    rgba(3, 5, 12, 0.42);
}

.nta-morning-preview > summary { display: none; }

.nta-morning-preview-sheet {
  overflow: hidden;
  border: 1px solid rgba(245, 196, 94, 0.31);
  border-radius: 14px;
  margin: clamp(18px, 2.5vw, 30px);
  background: linear-gradient(180deg, rgba(13, 9, 22, 0.98), rgba(4, 7, 14, 0.99));
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 238, 193, 0.06);
}

.nta-morning-preview-sheet > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid rgba(245, 196, 94, 0.2);
  padding: 13px 15px;
  background: linear-gradient(90deg, rgba(53, 33, 6, 0.66), rgba(53, 29, 84, 0.35));
}

.nta-morning-preview-seal {
  display: block;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  object-fit: contain;
  filter: drop-shadow(0 8px 11px rgba(0, 0, 0, 0.42)) drop-shadow(0 0 9px rgba(185, 133, 255, 0.18));
}

.nta-morning-preview-sheet > header b { margin-left: auto; }

.nta-morning-preview-sheet > header div { display: grid; gap: 2px; }
.nta-morning-preview-sheet > header span { color: var(--nt-gold); font-size: 0.46rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.nta-morning-preview-sheet > header strong { color: #fff1cb; font-family: var(--nt-display); font-size: 1.05rem; }
.nta-morning-preview-sheet > header b { border: 1px solid rgba(211, 177, 255, 0.26); border-radius: 99px; padding: 5px 7px; color: var(--nta-purple-soft); font-size: 0.47rem; letter-spacing: 0.06em; text-transform: uppercase; }

.nta-morning-preview-envelope {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid rgba(218, 190, 255, 0.11);
  padding: 12px 15px;
  background: rgba(17, 11, 28, 0.62);
}

.nta-morning-preview-envelope span,
.nta-morning-preview-body section > span {
  color: var(--nt-gold);
  font-size: 0.47rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nta-morning-preview-envelope strong { overflow-wrap: anywhere; color: #e9e0ef; font-size: 0.65rem; }
.nta-morning-preview-envelope small { color: #968c9f; font-size: 0.53rem; line-height: 1.42; }

.nta-morning-preview-body { padding: 18px 17px 20px; }
.nta-morning-preview-body > p:first-child { margin: 0; color: var(--nta-purple-soft); font-size: 0.61rem; font-weight: 800; }
.nta-morning-preview-body h3 { margin: 9px 0 0; color: #fff1cd; font-family: var(--nt-display); font-size: 1.36rem; line-height: 1.03; }
.nta-morning-preview-body > h3 + p { margin: 10px 0 0; color: #afa6b7; font-size: 0.61rem; line-height: 1.52; }

.nta-morning-preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 14px 0 0;
}

.nta-morning-preview-metrics div {
  min-width: 0;
  border: 1px solid rgba(211, 177, 255, 0.13);
  border-radius: 7px;
  padding: 8px;
  background: rgba(18, 10, 29, 0.5);
}

.nta-morning-preview-metrics dt { color: #8e8398; font-size: 0.44rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.nta-morning-preview-metrics dd { overflow-wrap: anywhere; margin: 4px 0 0; color: #e8ddf0; font-size: 0.55rem; line-height: 1.35; }

.nta-morning-preview-body section {
  border-top: 1px solid rgba(245, 196, 94, 0.12);
  margin-top: 14px;
  padding-top: 12px;
}

.nta-morning-preview-body ul {
  display: grid;
  gap: 7px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.nta-morning-preview-body li {
  position: relative;
  padding-left: 14px;
  color: #b8afc1;
  font-size: 0.57rem;
  line-height: 1.45;
}

.nta-morning-preview-body li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--nta-purple);
  box-shadow: 0 0 8px rgba(185, 133, 255, 0.62);
  content: "";
}

.nta-morning-preview-body > .nt-primary-button { width: max-content; margin-top: 17px; text-decoration: none; }

.nta-morning-preview-sheet > footer {
  display: grid;
  gap: 4px;
  border-top: 1px solid rgba(245, 196, 94, 0.2);
  padding: 12px 15px;
  background: rgba(47, 29, 6, 0.48);
}

.nta-morning-preview-sheet > footer strong { color: #fff0c7; font-size: 0.58rem; }
.nta-morning-preview-sheet > footer span,
.nta-morning-preview-sheet > footer small { color: #978e9f; font-size: 0.49rem; line-height: 1.4; }
.nta-morning-preview-sheet > footer small { color: var(--nta-purple-soft); }

.nta-dossier-morning {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(211, 177, 255, 0.2);
  border-left: 3px solid var(--nta-purple);
  border-radius: 12px;
  margin-top: 13px;
  padding: 12px 13px;
  background: linear-gradient(100deg, rgba(30, 17, 48, 0.72), rgba(45, 28, 6, 0.42));
}

.nta-dossier-morning[hidden] { display: none; }

.nta-dossier-morning-mark {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
}

.nta-dossier-morning-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.44)) drop-shadow(0 0 8px rgba(185, 133, 255, 0.18));
}

.nta-dossier-morning .nt-kicker { margin-bottom: 3px; }
.nta-dossier-morning h3 { margin: 0; color: #fff1cc; font-size: 0.75rem; }
.nta-dossier-morning p:last-child { margin: 4px 0 0; color: #aaa0b3; font-size: 0.57rem; line-height: 1.42; }
.nta-dossier-morning button { min-height: 36px; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .nta-agent-card,
  .nta-council-member {
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }

  .nta-agent-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 196, 94, 0.53);
    box-shadow: 0 32px 78px rgba(0, 0, 0, 0.36), 0 0 34px rgba(185, 133, 255, 0.08);
  }

  .nta-council-member:hover {
    transform: translateY(-2px);
    border-color: rgba(211, 177, 255, 0.38);
  }
}

@media (max-width: 1180px) {
  .nta-council-preview { grid-template-columns: 1fr; }
  .nta-council-preview-copy button { margin-top: 18px; }
  .nta-agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nta-morning-brief-layout { grid-template-columns: 1fr; }
  .nta-morning-preview { border-top: 1px solid rgba(245, 196, 94, 0.16); border-left: 0; }
}

@media (max-width: 860px) {
  .nta-royal-backdrop { background-position: 55% bottom; }
  .nta-shell { display: block; }
  .nta-rail {
    visibility: hidden;
    pointer-events: none;
    transition: transform 220ms ease, visibility 0s linear 220ms;
  }
  .nta-rail.is-open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .nt-app-page.nta-rail-open { overflow: hidden; }
  .nta-rail-scrim {
    position: fixed;
    inset: 35px 0 0;
    z-index: 34;
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    background: rgba(1, 2, 8, 0.72);
    backdrop-filter: blur(3px);
    cursor: pointer;
  }
  .nta-council-roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nta-agent-grid .nt-agent-card { min-height: 300px; }
}

@media (max-width: 620px) {
  .nta-royal-backdrop {
    background:
      linear-gradient(180deg, rgba(1, 3, 9, 0.2), rgba(2, 3, 10, 0.5)),
      radial-gradient(circle at 50% 25%, rgba(185, 133, 255, 0.12), transparent 38%),
      url("/assets/nova-treasury/royal-command-backdrop-4k-v1.webp") 55% bottom / auto 100% no-repeat;
  }

  .nt-main.nta-main { padding-inline: 10px; }
  .nta-topbar { min-height: 60px; }
  .nt-menu-button { min-height: 44px; padding-inline: 10px; font-size: 0.62rem; }
  .nta-safety-banner { gap: 10px; margin-top: 12px; padding: 10px 11px; }
  .nta-safety-banner .nt-safety-lock { width: 24px; height: 25px; flex-basis: 24px; border-radius: 6px; }
  .nta-safety-banner .nt-safety-lock::before { top: -10px; left: 5px; width: 11px; height: 11px; }
  .nta-safety-banner .nt-safety-lock span { top: 8px; left: 9px; }
  .nta-safety-banner strong { font-size: 0.69rem; }
  .nta-safety-banner p { font-size: 0.62rem; line-height: 1.4; }

  .nt-view { padding-top: 20px; }
  .nt-view-heading { gap: 12px; margin-bottom: 16px; }
  .nt-view-heading h1 { font-size: clamp(1.78rem, 8.5vw, 2rem); line-height: 1.01; }
  .nt-heading-copy { margin-top: 10px; font-size: 0.75rem; line-height: 1.55; }
  .nt-kicker { margin-bottom: 7px; font-size: 0.59rem; line-height: 1.35; }
  .nt-snapshot-card,
  .nt-data-source-card { border-radius: 10px; padding: 11px 12px; }
  .nt-metric-card { min-height: 122px; padding: 14px; }
  .nt-metric-card > strong { margin-top: 9px; }
  .nt-metric-card > small { margin-top: 7px; }

  .nta-action-card,
  .nta-settings-card { min-height: auto; padding: 16px; }
  .nta-action-card > p { margin-top: 15px; }
  .nta-action-card > button { margin-top: 18px; }
  .nta-council-preview { gap: 10px; margin-top: 10px; }
  .nta-council-preview-copy { border-radius: 12px; padding: 17px; }
  .nta-council-preview-copy h2 { font-size: 1.18rem; line-height: 1.1; }
  .nta-council-preview-copy > p:not(.nt-kicker) { margin-top: 10px; font-size: 0.66rem; }
  .nta-council-preview-copy button { margin-top: 16px; }

  .nta-council-roster { grid-template-columns: 1fr; gap: 8px; }
  .nta-council-member,
  .nta-council-member:last-child {
    display: grid;
    grid-column: auto;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: center;
    justify-content: stretch;
    min-height: 72px;
    padding: 8px;
    text-align: left;
  }
  .nta-council-member img { width: 56px; height: 56px; border-radius: 9px; }
  .nta-council-member > span {
    min-height: 0;
    align-content: center;
    border-top: 0;
    border-left: 1px solid rgba(245, 196, 94, 0.15);
    margin: 0 0 0 8px;
    padding: 0 0 0 10px;
  }
  .nta-council-member strong { font-size: 0.66rem; }

  .nta-agent-flow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
  }
  .nta-agent-flow i { display: none; }
  .nta-agent-flow span {
    min-width: 0;
    border: 1px solid rgba(185, 133, 255, 0.18);
    border-radius: 7px;
    padding: 7px 6px;
    background: rgba(20, 12, 33, 0.52);
  }

  .nta-agent-grid { grid-template-columns: 1fr; }
  .nta-agent-grid .nt-agent-card,
  .nta-agent-card,
  .nta-agent-card:nth-child(2n) {
    min-height: 0;
    grid-template-columns: 70px minmax(0, 1fr);
    border-radius: 14px;
  }
  .nta-agent-identity { align-content: start; gap: 10px; padding: 13px 6px; }
  .nta-agent-emblem { width: 54px; height: 54px; border-radius: 13px; }
  .nta-agent-emblem::after { inset: 4px; border-radius: 9px; }
  .nta-agent-card .nt-agent-card-number { width: 42px; height: 24px; }
  .nta-agent-body { padding: 13px 12px; }
  .nta-agent-card-head { gap: 6px; padding-bottom: 8px; }
  .nta-agent-card h2 { min-height: auto; margin-top: 10px; font-size: 0.91rem; }
  .nta-agent-card p { min-height: auto; font-size: 0.61rem; line-height: 1.45; }
  .nta-agent-card dl { gap: 7px; margin-top: 10px; padding-top: 8px; }
  .nta-agent-card footer { align-items: flex-start; flex-direction: column; margin-top: 8px; padding-top: 8px; }
  .nta-assessment-action { border-radius: 10px; padding: 14px; }
  .nta-assessment-action p { font-size: 0.63rem; }

  .nta-report-card,
  .nta-report-side { padding: 17px; }
  .nta-report-seal { width: 58px; height: 58px; }
  .nta-report-card .nt-kicker { margin-top: 20px; }
  .nta-report-card h2 { font-size: 1.45rem; }

  .nta-morning-overview {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    border-radius: 12px;
    padding: 11px;
  }
  .nta-morning-overview-portrait { width: 46px; height: 46px; border-radius: 10px; }
  .nta-morning-overview-copy h2 { font-size: 0.8rem; }
  .nta-morning-overview-action {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    justify-content: stretch;
    border-top: 1px solid rgba(245, 196, 94, 0.12);
    padding-top: 10px;
  }
  .nta-morning-overview-action button { width: 100%; min-width: 0; }

  .nta-morning-brief-card { border-radius: 14px; }
  .nta-morning-controls { padding: 16px 14px; }
  .nta-morning-heading { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding-bottom: 16px; }
  .nta-morning-director-mark { width: 54px; height: 54px; border-radius: 13px; }
  .nta-morning-heading h2 { font-size: 1.35rem; }
  .nta-morning-switch { align-items: flex-start; margin-top: 14px; padding: 12px; }
  .nta-morning-field-grid { grid-template-columns: 1fr; }
  .nta-morning-recipient { grid-column: auto; }
  .nta-morning-actions { display: grid; grid-template-columns: 1fr; }
  .nta-morning-actions button,
  .nta-morning-actions .nt-text-button,
  .nta-morning-actions .nta-email-design-link { width: 100%; min-height: 44px; justify-content: center; text-align: center; }
  .nta-morning-preview > summary {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    color: #fff0ca;
    font-size: 0.67rem;
    font-weight: 900;
    cursor: pointer;
    list-style-position: inside;
  }
  .nta-morning-preview > summary small { margin-left: auto; color: var(--nta-purple-soft); font-size: 0.48rem; text-transform: uppercase; }
  .nta-morning-preview-sheet { border-radius: 11px; margin: 0 9px 9px; }
  .nta-morning-preview-sheet > header,
  .nta-morning-preview-envelope { padding: 11px 12px; }
  .nta-morning-preview-body { padding: 15px 13px 17px; }
  .nta-morning-preview-body h3 { font-size: 1.15rem; }
  .nta-morning-preview-metrics { grid-template-columns: 1fr; }
  .nta-morning-preview-body > .nt-primary-button { width: 100%; min-height: 44px; }
  .nta-dossier-morning { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 11px; }
  .nta-dossier-morning-mark { width: 34px; height: 34px; }
  .nta-dossier-morning button { grid-column: 2; width: 100%; margin-top: 2px; }

  .nta-agent-dossier {
    width: calc(100% - 12px);
    max-height: calc(100dvh - 12px);
    border-radius: 16px;
  }
  .nta-dossier-shell {
    display: block;
    max-height: inherit;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nta-dossier-close { top: 9px; right: 9px; }
  .nta-dossier-portrait-panel {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 11px 13px;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid rgba(245, 196, 94, 0.17);
    padding: 17px 16px;
  }
  .nta-dossier-portrait-panel::before { inset: 7px; border-radius: 11px; }
  .nta-dossier-eyebrow { grid-column: 1 / -1; margin: 0 48px 2px 0; }
  .nta-dossier-portrait-frame {
    grid-row: 2 / span 2;
    width: 128px;
    border-radius: 18px;
  }
  .nta-dossier-portrait-frame::after { inset: 5px; border-radius: 13px; }
  .nta-dossier-serial {
    width: 100%;
    display: grid;
    justify-content: stretch;
    gap: 5px;
    margin: 0;
    padding: 9px 10px;
  }
  .nta-dossier-duty-state { width: 100%; margin: 0; }
  .nta-dossier-details { overflow: visible; padding: 20px 16px 22px; }
  .nta-dossier-header { padding-right: 0; padding-bottom: 17px; }
  .nta-dossier-header h2 { font-size: 1.85rem; }
  .nta-dossier-header > p:last-child { margin-top: 10px; font-size: 0.69rem; }
  .nta-dossier-meta { gap: 7px; margin-top: 13px; }
  .nta-dossier-meta div { padding: 9px 10px; }
  .nta-dossier-brief,
  .nta-dossier-duties { margin-top: 10px; padding: 13px; }
  .nta-dossier-brief { grid-template-columns: 1fr; }
  .nta-dossier-brief-state { justify-self: start; }
  .nta-dossier-boundary { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; margin-top: 10px; padding: 11px; }
  .nta-dossier-boundary > span { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .nta-royal-backdrop { filter: saturate(1.02); }
  .nta-agent-card,
  .nta-council-member,
  .nta-agent-emblem img { transform: none !important; }
}
