/* NOVA Settings UX 2026-11-10 — scoped presentation only. No global theme changes. */
.nova-settings-ux-20261110 {
  --ns-text: #132948;
  --ns-muted: #687b96;
  --ns-blue: #204f9f;
  --ns-blue-dark: #14396e;
  --ns-blue-soft: #edf2fd;
  --ns-border: #dce3f2;
  --ns-bg: #f5f6fd;
  --ns-card: #ffffff;
  --ns-radius: 16px;
  color: var(--ns-text);
  max-width: 100%;
  min-width: 0;
}
.nova-settings-ux-20261110 * { box-sizing: border-box; }
.nova-settings-ux-20261110 > .page-head {
  margin: 0 0 18px;
  padding: 17px 20px;
  border: 1px solid var(--ns-border);
  border-radius: 17px;
  background: linear-gradient(120deg,#fff 0%,#f8f9ff 80%,#eef2ff 100%);
}
.nova-settings-ux-20261110 .page-title { color: #0e2850; }
.ns-settings-stage { display:grid; grid-template-columns: minmax(220px, 260px) minmax(0,1fr); gap:16px; align-items:start; min-width:0; }
.ns-settings-nav { display:flex; flex-direction:column; gap:8px; min-width:0; }
.ns-nav-item { width:100%; min-width:0; display:flex; align-items:center; gap:11px; padding:12px 10px; border:1px solid var(--ns-border); color:var(--ns-text); text-align:left; border-radius:15px; background:#fff; cursor:pointer; box-shadow:0 3px 14px rgba(19,44,84,.035); font:inherit; }
.ns-nav-item:hover { border-color:#9ab4eb; background:#f8faff; }
.ns-nav-item.is-active { border-color:#467be0; background:linear-gradient(120deg,#f2f6ff,#e9f0ff); box-shadow:inset 3px 0 0 var(--ns-blue); }
.ns-icon { flex:0 0 42px; height:42px; display:grid; place-items:center; color:var(--ns-blue); background:#eaf0ff; border-radius:12px; }
.ns-nav-copy { display:flex; flex-direction:column; gap:3px; min-width:0; }
.ns-nav-copy strong { font-size:13px; line-height:1.3; font-weight:750; overflow-wrap:anywhere; }
.ns-nav-copy small { display:block; font-size:10.5px; color:var(--ns-muted); line-height:1.4; }
.ns-chevron { margin-left:auto; font-size:25px; color:#7890b5; font-weight:300; }
.ns-workspace { min-width:0; background:var(--ns-card); border:1px solid var(--ns-border); border-radius:18px; padding:22px; box-shadow:0 12px 30px rgba(25,55,100,.06); }
.ns-section-head { border-bottom:1px solid var(--ns-border); padding-bottom:16px; margin-bottom:17px; }
.ns-section-head h2,.ns-overview h2 { font-size:22px; line-height:1.25; font-weight:800; color:#0f2e5e; margin:6px 0 5px; }
.ns-section-head p,.ns-overview>p { font-size:12px; line-height:1.5; color:var(--ns-muted); margin:0; }
.ns-back { background:none; border:0; padding:3px 0; color:var(--ns-blue); font-size:12px; font-weight:650; cursor:pointer; }
.ns-back:hover { text-decoration:underline; }
.ns-overview-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:22px; }
.ns-overview-grid .ns-nav-item { min-height:103px; padding:15px; }
.ns-overview-grid .ns-icon { flex-basis:51px; height:51px; }
.ns-overview-grid .ns-nav-copy strong { font-size:16px; }
.ns-overview-grid .ns-nav-copy small { font-size:12px; }
.ns-tabs { display:flex; flex-wrap:nowrap; gap:7px; overflow:auto hidden; padding:0 0 9px; margin:0 0 12px; overscroll-behavior-x:contain; scrollbar-width:thin; }
.ns-tabs button { flex:0 0 auto; border:1px solid var(--ns-border); border-radius:10px; background:#fff; color:#26456b; font:inherit; font-size:12px; font-weight:700; padding:11px 13px; cursor:pointer; white-space:nowrap; }
.ns-tabs button.active { background:var(--ns-blue-dark); border-color:var(--ns-blue-dark); color:#fff; }
.ns-tabs button:not(.active):hover { border-color:#9eb9ed; background:#f7faff; }
.ns-settings-cards { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; min-width:0; }
.ns-settings-cards>.settings-card { min-width:0; width:100%; margin:0; }
.ns-active-content .settings-card,.ns-court-content .settings-card { border:1px solid var(--ns-border); border-radius:14px; padding:18px; box-shadow:none; }
.ns-active-content .settings-card h3 { font-size:15px; color:#0e2d59; line-height:1.35; }
.ns-active-content .settings-card p { font-size:12px; }
.ns-court-columns { display:grid; grid-template-columns:minmax(0,1fr) minmax(188px, 230px); align-items:start; gap:13px; }
.ns-court-content { min-width:0; }
.ns-court-content>.settings-card { width:100%; min-width:0; }
.ns-court-aside { border:1px solid var(--ns-border); background:linear-gradient(180deg,#fafbff 0%,#fff 100%); border-radius:14px; padding:15px; min-width:0; }
.ns-court-aside h3 { margin:0 0 9px; font-size:14px; color:#153765; }
.ns-aside-note { margin:0 0 11px; font-size:11px; color:var(--ns-muted); line-height:1.5; }
.ns-aside-sources { border-top:1px solid var(--ns-border); }
.ns-aside-source { display:grid; grid-template-columns:8px minmax(0,1fr); column-gap:8px; align-items:start; padding:11px 0; border-bottom:1px solid #e8edf8; font-size:11.5px; font-weight:650; }
.ns-aside-source small { grid-column:2; color:var(--ns-muted); font-weight:400; line-height:1.4; margin-top:3px; }
.ns-aside-dot { display:block; width:7px; height:7px; margin-top:3px; border-radius:50%; background:#aab9d2; }
.ns-aside-footer { margin-top:16px; display:flex; flex-direction:column; gap:6px; padding:10px; background:var(--ns-blue-soft); border-radius:10px; }
.ns-aside-footer strong { color:var(--ns-blue-dark); font-size:11px; }
.ns-aside-footer span { font-size:11px; line-height:1.5; color:var(--ns-muted); }
.ns-empty { padding:25px 18px; border:1px dashed var(--ns-border); border-radius:14px; color:var(--ns-muted); line-height:1.5; font-size:13px; }
.nova-settings-ux-20261110 :is(input:not([type=checkbox]):not([type=radio]), textarea,select) { min-width:0; max-width:100%; }
.nova-settings-ux-20261110 .integration-source089144 { min-width:0; overflow-wrap:anywhere; }
.nova-settings-ux-20261110 :is(button,input,select,textarea,a):focus-visible { outline:3px solid #5c8def; outline-offset:2px; }
@media (max-width:1320px) {
  .ns-settings-stage { grid-template-columns:minmax(195px, 220px) minmax(0,1fr); gap:12px; }
  .ns-workspace { padding:17px; }
  .ns-court-columns { grid-template-columns:minmax(0,1fr); }
  .ns-court-aside { display:grid; grid-template-columns:1fr 1fr; column-gap:15px; }
  .ns-court-aside h3,.ns-aside-note { grid-column:1/-1; }
  .ns-aside-footer { margin-top:0; align-self:start; }
}
@media (max-width:960px) {
  .ns-settings-stage { display:flex; flex-direction:column; }
  .ns-settings-nav { flex-direction:row; width:100%; max-width:100%; gap:8px; overflow-x:auto; padding-bottom:7px; overscroll-behavior-x:contain; }
  .ns-settings-nav>.ns-nav-item { flex:0 0 180px; padding:10px; }
  .ns-settings-nav .ns-nav-copy small { display:none; }
  .ns-settings-nav .ns-icon { flex-basis:31px; height:31px; }
  .ns-settings-nav .ns-icon svg { width:19px; height:19px; }
  .ns-settings-nav .ns-chevron { display:none; }
  .ns-workspace { width:100%; }
}
@media (max-width:580px) {
  .nova-settings-ux-20261110>.page-head { padding:12px 14px; }
  .ns-workspace { padding:13px; border-radius:13px; }
  .ns-section-head h2,.ns-overview h2 { font-size:19px; }
  .ns-overview-grid { grid-template-columns:minmax(0,1fr); gap:9px; }
  .ns-overview-grid .ns-nav-item { min-height:74px; }
  .ns-court-aside { display:block; }
  .ns-aside-footer { margin-top:13px; }
  .ns-active-content .settings-card,.ns-court-content .settings-card { padding:12px; }
  .ns-settings-nav>.ns-nav-item { flex-basis:149px; }
  .ns-nav-copy strong { font-size:12px; }
  .ns-tabs button { font-size:11px; padding:9px; }
}
@media (prefers-reduced-motion:reduce) {
  .nova-settings-ux-20261110 * { transition:none!important; animation:none!important; scroll-behavior:auto!important; }
}
/* Existing NOVA dark theme remains functional; no global appearance override. */
html[data-nova-theme="dark"] .nova-settings-ux-20261110 {
  --ns-text:#e7eefc;
  --ns-muted:#aabbd5;
  --ns-blue:#8bb4ff;
  --ns-blue-dark:#28589a;
  --ns-blue-soft:#1e3555;
  --ns-border:#385171;
  --ns-card:#172942;
}
html[data-nova-theme="dark"] .nova-settings-ux-20261110>.page-head,
html[data-nova-theme="dark"] .nova-settings-ux-20261110 .ns-workspace,
html[data-nova-theme="dark"] .nova-settings-ux-20261110 .ns-nav-item,
html[data-nova-theme="dark"] .nova-settings-ux-20261110 .ns-tabs button,
html[data-nova-theme="dark"] .nova-settings-ux-20261110 .ns-settings-cards>.settings-card,
html[data-nova-theme="dark"] .nova-settings-ux-20261110 .ns-court-content>.settings-card {
  background:#172942; color:var(--ns-text);
}
html[data-nova-theme="dark"] .nova-settings-ux-20261110 .ns-nav-item.is-active {
  background:#253f63; border-color:#739def;
}
html[data-nova-theme="dark"] .nova-settings-ux-20261110 .ns-icon {
  background:#223d65; color:#c3d6ff;
}
html[data-nova-theme="dark"] .nova-settings-ux-20261110 :is(.ns-section-head h2,.ns-overview h2,.ns-court-aside h3,.ns-active-content .settings-card h3) { color:#e7eefc; }
html[data-nova-theme="dark"] .nova-settings-ux-20261110 .ns-tabs button.active {
  background:#3664b0; border-color:#5785d1; color:#fff;
}
html[data-nova-theme="dark"] .nova-settings-ux-20261110 .ns-court-aside {
  background:#172942;
}
html[data-nova-theme="dark"] .nova-settings-ux-20261110 .ns-aside-source { border-color:#304766; }
html[data-nova-theme="dark"] .nova-settings-ux-20261110 .ns-aside-footer { background:#223b5f; }
html[data-nova-theme="dark"] .nova-settings-ux-20261110 .ns-aside-footer strong { color:#d8e6ff; }
