/* Workspace appearance and controls. */
.nt-plan-status, .nt-workspace-context, .nt-label-short { display:none; }
html:not([data-nt-interface="minimal"]) :is(.nt-plan-status,.nt-workspace-context,.nt-label-short) {display:none!important;}

/* The restored picker keeps its original text-only links. */
.nt-mode-symbol {display:none;}

/* Shared behavior and keyboard targets for the two overview designs. */
#root .nt-overview [data-home-item="recent"] .nt-recent-head {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
#root .nt-overview .nt-recent-head h3 {flex:1; min-width:0; margin:0;}
#root #content .nt-recent-head #nt-recent-toggle {
  display:flex; align-items:center; gap:10px; width:100%; min-height:44px;
  padding:4px 0; border:0; border-radius:3px; background:transparent; box-shadow:none;
  color:inherit; font:inherit; letter-spacing:inherit; text-align:start; cursor:pointer;
}
#nt-recent-toggle .nt-recent-chevron {
  flex:none; width:8px; height:8px; margin:0 3px 0 2px; box-sizing:border-box;
  border:solid currentColor; border-width:0 1.6px 1.6px 0; transform:rotate(-45deg);
}
#nt-recent-toggle[aria-expanded="true"] .nt-recent-chevron {transform:rotate(45deg);}
#root #content .nt-recent-all {
  flex:none; display:inline-flex; align-items:center; min-height:44px; padding:3px 0;
  font-size:14px; font-weight:540; text-decoration:none; text-underline-offset:3px;
}
#root #content .nt-recent-all:hover {text-decoration:underline;}
#root #content #nt-recent-items[hidden] {display:none!important;}
@media(prefers-reduced-motion:no-preference) {
  #nt-recent-toggle .nt-recent-chevron {transition:transform .16s ease;}
}

html[data-nt-interface="minimal"][data-nt-layout="current"][data-nt-edition="console"][data-nt-refresh]:has(#root) {
  --canvas:#1b1d20;
  --rail:#17191b;
  --surface:#232629;
  --raised:#2b2f33;
  --field:#1b1d20;
  --hair:#383c40;
  --edge:#535a61;
  --column-rule:#373d42;
  --section-gap:clamp(18px,2vw,28px);
  --inset:clamp(14px,1.5vw,22px);
  --control-size:40px;
  --paper-ink:#f1f3f4;
  --secondary:#c4c9cd;
  --dim:#a3aab0;
  --accent:#adceed;
  --action-fill:#7ea2ff;
  --action-hover:#9ab6ff;
  --action-pressed:#7094ee;
  --action-ink:#111d35;
  --choice-ink:#a7bfff;
  --choice-surface:#26334e;
  --link-ink:#b4d3ed;
  --selected-ink:#dceaf6;
  --selected-surface:#2c343c;
  --button:#e6eaec;
  --button-ink:#1b2023;
  --ui-face:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  --display-face:var(--ui-face);
  accent-color:var(--accent);
  scrollbar-color:#52575d var(--rail);
  & body {background:var(--canvas);}
  & body:has(#root) #root {
    --guide-surface:var(--surface); --guide-edge:var(--edge); --guide-title:var(--paper-ink);
    --guide-text:var(--secondary); --guide-action:var(--link-ink); --guide-rule:var(--hair);
    --guide-mark:var(--selected-surface); --guide-current:var(--raised);
    font-family:var(--ui-face);
    & .nt-sidebar .nt-label-full {display:none;}
    & .nt-sidebar .nt-label-short {display:inline;}
    & .nt-app .nt-sidebar {background:var(--rail); border-right:1px solid var(--hair);}
    & :is(.nt-sidebar .nt-brand,.login .logo) .nt-mark {
      border:0; border-radius:0; background:transparent; box-shadow:none; width:24px; height:27px;
    }
    & .nt-mark i {background:var(--button);}
    & .nt-brand .nt-mark i:last-child {background:var(--action-fill);}
    & .nt-sidebar .nt-brand {gap:10px; color:var(--paper-ink); font:635 22px/1.2 var(--ui-face); letter-spacing:-.052em;}
    & .nt-app .nt-sidebar :is(.nt-workspace,nav > a) {
      gap:11px; border:0; border-radius:12px; color:var(--secondary);
      font-size:14px; font-weight:520; letter-spacing:0;
    }
    & .nt-app .nt-sidebar .nt-workspace {min-height:40px; margin-bottom:8px; padding:8px 10px;}
    & .nt-app .nt-sidebar .nt-workspace small {display:none;}
    & .nt-app .nt-sidebar .nt-workspace::before {width:17px;height:17px;background-color:currentColor;}
    & .nt-app .nt-sidebar :is(.nt-workspace[aria-current],nav a[aria-current],nav a.on) {
      background:var(--selected-surface); color:var(--paper-ink); box-shadow:none;
    }
    & .nt-app .nt-sidebar :is(nav a[aria-current] svg,.nt-workspace[aria-current]::before) {color:var(--accent);}
    & .nt-app .nt-sidebar nav a svg {width:18px;height:18px;flex:0 0 18px;color:var(--dim);stroke-width:1.65;}
    & .nt-app .nt-sidebar > nav {flex:1 0 auto;margin-bottom:4px;}
    & .nt-app .nt-sidebar > nav > a[href="#/help"] {margin-top:auto;}
    & .nt-app .nt-sidebar > nav > a[href="#/subscription"] {margin-block:8px 4px;background:var(--surface);}
    & .nt-app .nt-sidebar > nav > a[href="#/subscription"] svg {color:var(--choice-ink);}
    & .nt-app .nt-sidebar > nav > a[href="#/subscription"][aria-current] {background:var(--choice-surface);color:var(--choice-ink);}
    & .nt-nav-plan {margin-inline-start:auto;padding:2px 6px;border-radius:999px;background:var(--raised);
      color:var(--secondary);white-space:nowrap;font:550 10px/1.5 var(--ui-face);}
    & .nt-sidebar .nt-nav-label {display:none;}
    & .nt-app .nt-sidebar nav {padding-top:10px;}
    & .nt-app .nt-sidebar :is(nav > a,.nt-task-row > a,.nt-workspace) {padding-inline:10px;gap:11px;min-height:40px;}
    & .nt-app .nt-sidebar nav > a:not(.on):hover {background:var(--surface);color:var(--paper-ink);}
    & .nt-sidebar nav .nt-category-rail {margin:1px 0 12px 20px;padding-left:11px;gap:0;border-color:var(--hair);}
    & .nt-sidebar nav .nt-category-rail a {color:var(--dim);font:480 13px/1.4 var(--ui-face);min-height:33px;padding:6px 8px;}
    & .nt-sidebar nav .nt-category-rail a[aria-current] {background:transparent;color:var(--accent);box-shadow:none;}
    & .nt-sidebar .nt-sidebar-profile {background:transparent;border-color:var(--hair);}
    & :is(.nt-avatar,.nt-top-avatar) {color:var(--paper-ink);background:var(--raised);border:1px solid var(--edge);box-shadow:none;}
    & .nt-content .nt-topbar {background:var(--canvas);border-color:var(--hair);}
    & .nt-top-actions {gap:8px;}
    & :is(.nt-top-actions,.nt-sidebar nav,.nt-mobile-nav,.nt-dashboard) svg {stroke-linecap:round;stroke-linejoin:round;}
    & .nt-mobile-nav a {border-radius:13px;}
    & .nt-sidebar nav .nt-category-rail {border-inline-start:none!important;}
    & .nt-content .nt-topbar {border-bottom-color:color-mix(in srgb,var(--hair) 48%,transparent);}
    & .nt-top-actions .nt-top-avatar {border-radius:50%;}
    & .nt-top-actions :is(.nt-design-toggle,.ux-search-open) {color:var(--secondary);background:var(--surface)!important;border:0!important;border-radius:999px!important;}
    & .nt-top-actions :is(.nt-design-toggle,.ux-search-open):hover {color:var(--paper-ink);background:var(--raised)!important;}
    & .nt-plan-status {
      display:inline-flex; align-items:center; min-height:34px; padding:4px 10px; color:var(--secondary);
      border:0!important;border-radius:999px;background:var(--raised); font:530 13px/1.35 var(--ui-face); text-decoration:none;
    }
    & .nt-app[data-page="overview"] .nt-breadcrumb > * {display:none;}
    & .nt-app[data-page="overview"] .nt-breadcrumb .nt-workspace-context {display:block;color:var(--dim);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
    & .nt-sidebar nav .nt-category-rail[hidden] {display:none!important;}
    & .nt-task-row {display:flex;align-items:center;gap:2px;}
    & .nt-app .nt-sidebar .nt-task-row > a {flex:1;display:flex;align-items:center;gap:11px;min-height:40px;padding:8px 10px;border-radius:12px;color:var(--secondary);font:520 14px/1.4 var(--ui-face);}
    & .nt-task-rail-toggle {display:grid;place-items:center;flex:none;width:34px;height:38px;border:0;border-radius:50%;background:transparent;color:var(--dim);cursor:pointer;}
    & .nt-task-rail-toggle::after {content:"";width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-top:-3px;transition:transform .15s ease;}
    & .nt-task-rail-toggle[aria-expanded=true]::after {transform:rotate(225deg);margin-top:3px;}
    & .nt-task-rail-toggle:hover {background:var(--raised);color:var(--paper-ink);}
    & .nt-plan-status:hover {color:var(--link-ink);text-decoration:underline;text-underline-offset:3px;}
    & .nt-access-note {display:none!important;}
    & .nt-content .nt-breadcrumb :is(a,b) {color:var(--dim);font-weight:540;}
    & .nt-mobile-nav {background:var(--rail);border-color:var(--hair);}
    & .nt-mobile-nav a[aria-current] {background:var(--selected-surface);color:var(--selected-ink);}
    & .nt-footer {color:var(--dim);border-color:var(--hair);}
    & .nt-content #content {
      --secondary:#c4c9cd;
      &:focus, &:not(:focus) {outline:none!important;}
      & .nt-dashboard :is(.stat,.nt-menu-tile,[data-home-item="chart"],[data-home-item="recent"]) {
        min-width:0; margin:0; background:transparent!important; border:0!important; border-radius:0!important; box-shadow:none!important;
      }
      & .nt-dashboard-meta {width:100%!important;max-width:none!important;background:none!important;color:var(--dim);}
      & .nt-home-empty .nt-empty-explanation {display:none;}
      & .nt-report-pair .nt-home-empty {background:transparent!important;}
      & .nt-attention-clear {color:var(--dim);}
      & .nt-reading-notes {padding:0;margin:0 0 14px;border:0;border-bottom:1px solid var(--hair);border-radius:0;background:transparent;}
      & .nt-reading-notes > summary {display:flex;align-items:center;justify-content:flex-start!important;gap:8px;min-height:35px;padding:3px 0 6px;list-style:none;cursor:pointer;color:var(--secondary);font:500 13px/1.4 var(--ui-face);}
      & .nt-reading-notes > summary::after {display:none!important;}
      & .nt-reading-notes summary::-webkit-details-marker {display:none;}
      & .nt-reading-notes > summary::before {content:"";width:6px;height:6px;border:solid var(--dim);border-width:0 1.4px 1.4px 0;transform:rotate(-45deg);transition:transform .15s ease;}
      & .nt-reading-notes[open] > summary::before {transform:rotate(45deg);}
      & .nt-reading-notes :is(.hint,.ui-note) {background:transparent!important;margin:3px 0 9px;padding:0;color:var(--secondary);font-size:13px;line-height:1.45;}
      & .nt-reading-notes .nt-account-metrics {margin:0 0 8px;}
      & .nt-reading-notes .nt-account-stat {min-height:0;padding:9px 12px;background:transparent!important;box-shadow:none!important;}
      & .nt-reading-notes .nt-account-stat {position:relative;}
      & .nt-reading-notes .nt-account-stat-header {position:absolute;right:6px;top:5px;width:auto;min-height:0;margin:0;}
      & .nt-reading-notes .nt-account-stat-icon {display:none;}
      & .nt-reading-notes .nt-account-stat-header .metric-help {position:relative;inset:auto;}
      & .nt-reading-notes .nt-account-stat .num {font-size:22px;}
      & [aria-label="Списки аккаунтов"] {display:flex;flex-wrap:wrap;gap:2px 14px;margin:0;padding:0;border-bottom:1px solid var(--hair);}
      & [aria-label="Списки аккаунтов"] .btn[data-account-view] {color:var(--dim)!important;background:transparent!important;padding:8px 2px!important;border:0!important;border-radius:0!important;box-shadow:none;}
      & [aria-label="Списки аккаунтов"] .btn[data-account-view][aria-pressed=true] {color:var(--paper-ink)!important;box-shadow:inset 0 -2px var(--accent)!important;}
      & .ux-editor-toolbar [role=group] {background:var(--field)!important;border-color:var(--hair)!important;}
      & #material-text-form .ux-editor-toolbar [role=group] .btn[data-editor-mode] {border:0!important;border-radius:4px;}
      & #material-text-form .ux-editor-toolbar [role=group] .btn[data-editor-mode][aria-pressed=true] {background:var(--raised)!important;color:var(--paper-ink)!important;}
      & .nt-reading-notes [data-material-rules] {padding-left:14px;}
      & .nt-account-drop {border-color:var(--edge)!important;}
      & .nt-dashboard-meta {font:400 13px/1.4 var(--ui-face);}
      & .nt-studio-heading, & .nt-studio-heading:not(.nt-home-heading), & .nt-home-heading {
        display:block; min-height:0; padding:0; margin:0 0 var(--section-gap);
        border:0; border-radius:0; background:transparent; box-shadow:none;
        overflow:visible; isolation:auto;
      }
      & .nt-studio-heading > .nt-studio-art, & .nt-studio-group-head .nt-studio-art, & .nt-home-heading .nt-home-date {display:none!important;}
      & > .head, & .nt-studio-heading > .head, & .nt-home-heading > .head {
        display:flex; flex-flow:row wrap; align-items:center; justify-content:space-between;
        column-gap:18px;row-gap:12px; margin:0; padding:0; min-height:0; border:0; background:transparent;
      }
      & > .head {margin-bottom:var(--section-gap);}
      & .head > div {min-width:0;}
      & .head > .stack {display:flex;align-items:center;flex-wrap:wrap;gap:8px;}
      & .nt-studio-heading .head :is(h1,h2), & .head :is(h1,h2) {
        color:var(--paper-ink); font:620 clamp(29px,2.65vw,39px)/1.14 var(--ui-face);
        letter-spacing:-.045em; margin:0; overflow-wrap:break-word;
      }
      & .head .sub {font-size:14px; line-height:1.5; color:var(--dim);margin:6px 0 0;}
      & .nt-home-heading .head .sub {display:none;}
      & .nt-home-heading .head .stack {display:flex;flex-wrap:wrap;gap:8px;}
      & :is(.btn,.btn.lg,.head .btn:not(.quiet,.line,.danger),#material-text-form #material-save),
      & .nt-home-heading .head .stack .btn:not(.line) {
        background:var(--button); color:var(--button-ink); border:1px solid transparent;
        border-radius:6px; min-height:var(--control-size); padding:8px 13px; font:610 14px/1.3 var(--ui-face);box-shadow:none;
      }
      & :is(.btn.line,.btn.quiet,.head .btn.line,.head .btn.quiet,.nt-task-table .btn),
      & .nt-home-heading .head .stack .btn.line {
        background:transparent!important; color:var(--secondary)!important; border-color:var(--edge);
      }
      & .btn.line:not([aria-pressed],[role=tab]) {border:1px solid var(--edge)!important;}
      & .btn.quiet {border-color:transparent!important;}
      & :is(.nt-home-heading,.nt-studio-heading,.head) .stack > .btn {
        height:auto;min-height:var(--control-size)!important;padding-block:8px;line-height:1.35;
      }
      & .btn:not(:disabled):not([aria-disabled=true]):hover {filter:none;box-shadow:none;}
      & :is(.btn.line,.btn.quiet):not(:disabled):hover {background:var(--raised)!important;color:var(--paper-ink)!important;}
      & :is(
        .nt-home-focus a.nt-focus-primary,
        .head a.btn[href="#/campaigns/choose"],
        #nt-plan-continue, #material-save, #proxy-add-toggle[aria-expanded=false],
        .btn[data-act="import"], .nt-task-create button[type="submit"], #collector-submit,
        .nt-compose-panel-footer > .btn:not(.line), .nt-password-form button[type="submit"]
      ):not(:disabled,[aria-disabled=true]) {
        background:var(--action-fill)!important;color:var(--action-ink)!important;
        border-color:transparent!important;
        @media (hover:hover) { &:hover {background:var(--action-hover)!important;} }
        &:active {background:var(--action-pressed)!important;}
        &:focus-visible {outline:2px solid var(--paper-ink)!important;outline-offset:3px;}
      }
      & .nt-plan-terms input:checked + span {
        background:var(--choice-surface);color:var(--choice-ink);border-color:var(--action-fill);box-shadow:inset 0 0 0 1px var(--action-fill);
      }
      & .nt-category-tabs > a[aria-current=page] {box-shadow:inset 0 -2px var(--action-fill)!important;}
      & #nt-order-title .nt-order-term {color:var(--choice-ink);}
      & .btn.danger {background:#382a2c;color:#ffc4bf;border-color:#71504e;}
      & :is(.btn:disabled,.btn[aria-disabled=true]) {opacity:.68;}
      & :is(.card,.box,.nt-profile-cover,.nt-material-card,.nt-template-row,.nt-account-drop,.nt-material-drop,.nt-collector-row,.nt-help-topic,.nt-category-picker,.nt-more-link,.ux-diagnostic) {
        border-color:var(--hair);border-radius:7px;box-shadow:none;background-image:none;
      }
      & .card .card:not(.stat) {box-shadow:none;}
      & #body:not(.nt-overview) > .card:has(+ .card) {margin-bottom:0;}
      & #body:not(.nt-overview) > .card + .card {margin-top:16px;}
      & .nt-profile-aside {display:flex;flex-direction:column;gap:16px;}
      & .nt-profile-aside > * {margin-block:0;}
      & .nt-space-card > .btn + .btn {margin-top:8px;}
      & .nt-profile-note > svg, & .nt-section-heading > svg {color:var(--link-ink);stroke:currentColor;background:transparent;}
      & :is(.nt-account-stat-icon,.nt-menu-tile-icon,.nt-studio-group-head svg) {background:transparent;color:var(--secondary);box-shadow:none;border:0;}
      & :is(.nt-profile-tabs,.nt-material-tabs,.nt-category-tabs,.ui-task-tabs) {
        display:flex;flex-wrap:wrap;gap:0 12px; padding:0; margin-bottom:18px;
        background:transparent;border:0;border-bottom:1px solid var(--hair);border-radius:0;width:100%;
      }
      & :is(.nt-profile-tabs,.nt-material-tabs,.nt-category-tabs,.ui-task-tabs) > :is(a,button) {
        min-height:40px;padding:8px 2px; background:transparent;color:var(--dim)!important;
        border:0;border-radius:0;box-shadow:none;font-weight:540;
      }
      & :is(.nt-profile-tabs,.nt-material-tabs,.nt-category-tabs,.ui-task-tabs) > :is([aria-current]:not([aria-current=false]),.on,.active,[aria-selected=true]) {
        color:var(--paper-ink)!important;background:transparent!important;box-shadow:inset 0 -2px var(--accent);
      }
      & :is(input.inp,select.inp,textarea.inp) {background:var(--field);border-color:var(--edge);color:var(--paper-ink);border-radius:5px;}
      & :is(input,textarea)::placeholder {color:var(--dim);opacity:1;}
      & :is(.inp:focus,select:focus,textarea:focus) {border-color:var(--accent);}
      & label.field:has(> .inp):not([hidden]) {display:grid;align-content:start;gap:6px;}
      & label.field > .inp {margin-block:0;}
      & #client-provider {display:grid;gap:8px;}
      & #client-provider > div {display:flex;align-items:center;flex-wrap:wrap;gap:8px;}
      & #client-provider .inp {flex:1 1 220px;min-width:0;width:auto;}
      & #client-provider .btn {flex:0 0 auto;}
      & #material-text-form #material-row-list {margin-top:10px;}
      & :is(input.inp,select.inp,.card:has(>#material-text-form) :is(input.inp,select.inp)):not([type=checkbox],[type=radio],[type=file]) {
        min-height:var(--control-size);padding-block:8px;line-height:1.35;box-sizing:border-box;
      }
      & .field > label, & .nt-help-index > .field {color:var(--secondary);font:540 14px/1.4 var(--ui-face);}
      & th {color:var(--secondary);background:var(--raised);}
      & table :is(th,td) {vertical-align:middle;}
      & .nt-help-index {gap:var(--section-gap);}
      & .nt-help-topics {grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));}
      & .nt-help-errors .ux-diagnostic {max-width:none;width:100%;box-sizing:border-box;}
      & .nt-help-errors .ux-diagnostic summary {min-height:40px;display:flex;align-items:center;justify-content:space-between;}
      & .nt-help-topic small {max-width:52ch;}
      & .nt-help-index h3 {margin:0 0 8px;}
      & .nt-help-detail {padding:var(--inset);}

      & .nt-help-topics {column-gap:24px;row-gap:0;}
      & .nt-help-topic {
        padding:14px 0; background:transparent; box-shadow:none; border:0; border-bottom:1px solid var(--hair);
        border-radius:0!important;transform:none;
      }
      & :is(.nt-help-topic,.nt-more-link):hover strong {color:var(--link-ink);}
      & .nt-category-tabs:has(+ .nt-category-picker) {
        max-width:48rem;
        & > a[aria-current=page] {color:var(--choice-ink)!important;}
      }
      & .nt-category-picker {
        width:100%;max-width:48rem;padding:0!important;background:transparent!important;border:0!important;
      }
      & .nt-category-picker .nt-studio-group-head {position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;padding:0;margin:0;}
      & .nt-category-picker .nt-more-grid {
        display:grid;grid-template-columns:minmax(0,1fr);gap:2px;padding:6px;
        background:var(--surface)!important;border:1px solid var(--hair)!important;border-radius:16px;
      }
      & .nt-category-picker .nt-more-grid > a.card.nt-more-link {
        display:flex;align-items:center;justify-content:space-between;gap:12px;
        min-height:54px;margin:0;padding:8px 16px!important;box-sizing:border-box;
        color:var(--secondary)!important;background:transparent!important;border:0!important;
        border-radius:10px!important;box-shadow:none;transform:none;text-decoration:none;
        & strong {
          display:flex;align-items:center;gap:14px;min-width:0;
          color:inherit!important;font:570 15px/1.4 var(--ui-face);
        }
        & .nt-mode-symbol {
          display:grid;place-items:center;width:24px;flex:none;color:var(--dim);
        }
        & .nt-mode-symbol svg {
          display:block;width:23px;height:23px;fill:none;stroke:currentColor;
          stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;
        }
        & .nt-mode-direction {
          display:grid;place-items:center;width:16px;height:20px;flex:none;
          font-size:0;color:var(--dim);
        }
        & .nt-mode-direction::after {
          content:'';width:7px;height:7px;border:solid currentColor;border-width:1.6px 1.6px 0 0;
          transform:rotate(45deg);
        }
        @media (hover:hover) {
          &:hover {background:color-mix(in srgb,var(--action-fill) 8%,var(--raised))!important;color:var(--paper-ink)!important;}
          &:hover :is(.nt-mode-symbol,.nt-mode-direction) {color:var(--action-fill);}
        }
        &:focus-visible {
          outline:2px solid var(--action-fill)!important;outline-offset:-2px;
          color:var(--paper-ink)!important;background:color-mix(in srgb,var(--action-fill) 8%,var(--raised))!important;
        }
        &:is(:focus-visible,:active) :is(.nt-mode-symbol,.nt-mode-direction) {color:var(--action-fill);}
        &:active {background:var(--selected-surface)!important;}
        @media(prefers-reduced-motion:no-preference) {
          transition:background-color .14s ease-out,color .14s ease-out;
        }
      }
      & .nt-task-guide {border-color:var(--hair);}
      & .nt-task-guide > summary {color:var(--secondary);}
      & :is(.ux-progress,.traffic-track,.nt-campaign-progress-track,.nt-account-progress-track) {background:var(--hair);}
      & :is(.ux-progress,.traffic-track,.nt-campaign-progress-track,.nt-account-progress-track)>:first-child {background:var(--accent);}
      & .nt-attention {margin:0 0 16px;background:var(--surface);}
      & .nt-attention .nt-attention-head p {color:var(--dim);}
      & .nt-attention.nt-no-alert, & .nt-dashboard + .nt-menu-layout {display:none!important;}
      & :is(.nt-empty-icon,.nt-home-empty .nt-empty-icon) {display:none!important;}
      & .metric-help summary {color:var(--dim);background:transparent;border:0;box-shadow:none;}
      & .metric-help[open] .metric-help-text {background:var(--raised);border:1px solid var(--edge);color:var(--paper-ink);}
      & #start-panel {
        margin:0 0 var(--section-gap);padding:0;border:1px solid var(--edge);
        border-radius:9px;box-shadow:none;background:var(--surface);
      }
      & #start-panel.nt-welcome {background:#22292f;display:block;overflow:visible;}
      & #start-panel.nt-welcome > summary {
        display:grid;grid-template-columns:minmax(0,1fr) auto auto 16px;align-items:center;
        min-height:55px;column-gap:14px;padding:10px var(--inset);margin:0;border:0;list-style:none;cursor:pointer;
      }
      & #start-panel.nt-welcome > summary h2 {grid-column:1;margin:0;font:610 20px/1.25 var(--ui-face);letter-spacing:-.027em;}
      & #start-panel.nt-welcome > summary [data-welcome-count] {grid-column:2;grid-row:1;margin:0;white-space:nowrap;color:var(--secondary);font:500 13px/1.4 var(--ui-face);}
      & #start-panel.nt-welcome > summary .nt-welcome-meter {grid-column:3;grid-row:1;align-self:center;width:clamp(40px,6vw,90px);height:4px;margin:0;background:var(--edge);border-radius:4px;}
      & #start-panel.nt-welcome > summary .nt-welcome-chevron {grid-column:4;grid-row:1;justify-self:end;margin:0;color:var(--accent);}
      & .nt-welcome ol {display:block;margin:0 var(--inset);padding:0;border:0;border-top:1px solid var(--edge);}
      & .nt-welcome li, & .nt-welcome li + li {
        display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:12px;
        margin:0;padding:8px 0;min-height:48px;border:0;
      }
      & .nt-welcome li + li {border-top:1px solid var(--hair);}
      & .nt-welcome .nt-welcome-number {
        display:grid;place-items:center;width:23px;height:23px;margin:0;border:1px solid var(--edge);
        border-radius:50%;background:transparent;color:var(--secondary);font:550 12px/1 var(--ui-face);
      }
      & .nt-welcome li[aria-current=step] .nt-welcome-number {color:var(--button-ink);background:var(--accent);border-color:var(--accent);}
      & .nt-welcome li[data-complete] .nt-welcome-number {color:var(--link-ink);border-color:var(--accent);background:transparent;}
      & .nt-welcome-copy {
        min-width:0;display:grid;align-items:center;grid-template-columns:minmax(155px,.82fr) minmax(0,1fr) minmax(112px,.45fr);gap:4px 14px;
      }
      & .nt-welcome-copy h3 {grid-column:1;grid-row:1;margin:0;}
      & .nt-welcome li .nt-welcome-action {display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0;color:var(--paper-ink)!important;font:570 15px/1.4 var(--ui-face);}
      & .nt-welcome li[aria-current=step] .nt-welcome-action {color:var(--link-ink)!important;}
      & .nt-welcome .nt-welcome-action span {font-size:12px;color:var(--dim);}
      & .nt-welcome li p {grid-column:2;grid-row:1;margin:0;color:var(--secondary);font:400 13px/1.45 var(--ui-face);}
      & .nt-welcome .nt-proxy-purchase {grid-column:3;justify-self:end;display:grid;justify-items:end;gap:2px;margin:0;}
      & .nt-welcome .nt-welcome-done {grid-column:2;grid-row:2;justify-self:start;margin:0;}
      & .nt-proxy-purchase button:disabled {padding:3px 8px;min-height:24px;background:transparent;color:var(--secondary);border:1px solid var(--edge);border-radius:4px;font:500 12px/1.4 var(--ui-face);}
      & .nt-welcome .nt-proxy-purchase small {color:var(--dim);font:400 11px/1.3 var(--ui-face);}
      & .ux-start-panel {padding:16px 20px!important;}
      & .ux-start-panel > summary > span:first-child {font-size:24px;}
      & .ux-start-panel .ux-start-step {border-width:0 0 1px;border-radius:0;background:transparent;}
      & .nt-dashboard {display:grid;min-width:0;width:100%;row-gap:var(--section-gap);container-type:inline-size;}
      & .nt-kpi-band {
        display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;
        padding:14px 0;border-block:1px solid var(--edge);
      }
      & .nt-dashboard .nt-kpi-band > .stat {
        position:relative;display:grid;grid-row:span 4;grid-template-rows:subgrid;grid-template-columns:minmax(0,1fr) 28px;
        align-content:start;align-items:center;justify-content:stretch;gap:0 4px;min-height:0;
        padding:0 var(--inset);overflow:visible;
      }
      & .nt-dashboard .nt-kpi-band > .stat + .stat {border-inline-start:1px solid var(--column-rule)!important;}
      & .nt-kpi-band .stat > small {
        grid-area:1/1;align-self:center;max-width:none;margin:0;padding:0;color:var(--secondary);font:530 13px/1.3 var(--ui-face);
      }
      & .nt-kpi-band .stat > .num {
        grid-area:2/1/3/-1;align-self:baseline;margin:4px 0 3px;padding:0;min-width:0;
        color:var(--paper-ink);font:570 clamp(26px,2.5vw,36px)/1.15 var(--ui-face);
        font-variant-numeric:tabular-nums;letter-spacing:-.04em;overflow-wrap:anywhere;
      }
      & .nt-kpi-band .stat > .num[data-no-metric] {font-size:clamp(17px,1.55vw,22px);letter-spacing:-.025em;}
      & .nt-kpi-band .stat > span {grid-area:3/1/4/-1;align-self:start;color:var(--dim);font:400 13px/1.4 var(--ui-face);}
      & .nt-kpi-band .traffic-track {grid-area:4/1/5/-1;height:3px;width:100%;margin:7px 0 0;border-radius:2px;mask:none;}
      & .nt-dashboard .metric-help {
        position:relative;inset:auto;justify-self:end;align-self:center;margin:0;padding:0;
        width:28px;height:28px;min-height:0;box-sizing:border-box;border:0;z-index:1;
      }
      & .nt-dashboard .metric-help summary {display:grid;place-items:center;width:28px;height:28px;margin:0;padding:4px;color:var(--dim);border-radius:50%;}
      & .nt-dashboard .metric-help summary:hover {background:var(--raised);color:var(--paper-ink);}
      & .nt-kpi-band .stat > .metric-help {grid-area:1/2;}
      & .nt-dashboard .metric-help[open], & .nt-dashboard [data-home-item]:has(.metric-help[open]) {z-index:6;}
      & .nt-report-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;align-items:start;}
      & .nt-resource-band {display:grid;grid-template-columns:minmax(0,1fr);align-content:start;padding:0 var(--inset) 0 0;min-width:0;}
      & .nt-dashboard :is(.nt-report-pair,.nt-recent-head) h3 {
        color:var(--paper-ink);font:600 clamp(17px,1.4vw,20px)/1.35 var(--ui-face);letter-spacing:-.022em;margin:0;
      }
      & #nt-resources-title, & .nt-report-pair [data-home-item="chart"] > .stack {
        display:flex;align-items:baseline;align-content:flex-start;gap:4px 16px;flex-wrap:wrap;
        min-height:40px;margin:0 0 2px!important;padding:6px 0 8px;
      }
      & .nt-dashboard .nt-resource-band > .nt-menu-tile {
        position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) 28px;align-items:center;
        gap:12px;min-height:48px;padding:0;border-top:1px solid var(--hair)!important;transform:none;
      }
      & .nt-dashboard .nt-resource-band .nt-menu-tile .nt-menu-tile-link {
        display:grid;grid-template-columns:20px minmax(0,1fr) 16px;align-items:center;
        width:100%;gap:11px;min-height:48px;padding:5px 0!important;color:var(--paper-ink);
        border:0;border-radius:4px;background:transparent;text-align:left!important;
      }
      & .nt-resource-band .nt-menu-tile-link > span:nth-child(2) {min-width:0;display:block;}
      & .nt-resource-band .nt-menu-tile-link strong {display:block;color:var(--paper-ink);font:550 15px/1.4 var(--ui-face);}
      & .nt-resource-band .nt-menu-tile-link small {display:block;margin:0;color:var(--dim);font:400 13px/1.4 var(--ui-face);}
      & .nt-resource-band .nt-menu-tile-icon {display:grid;place-items:center;width:20px;height:22px;padding:0;border:0;background:none;box-shadow:none;color:var(--secondary);}
      & .nt-resource-band .nt-menu-tile-icon svg {width:19px;height:19px;}
      & .nt-resource-band .nt-menu-tile .nt-menu-arrow {display:block;justify-self:end;margin:0;color:var(--dim);font:400 16px/1 var(--ui-face);}
      & .nt-resource-band .nt-menu-tile-link:hover :is(strong,.nt-menu-arrow) {color:var(--link-ink);}
      & .nt-dashboard .nt-report-pair > [data-home-item="chart"] {min-height:0;margin:0;padding:0 0 0 var(--inset);border-inline-start:1px solid var(--column-rule)!important;align-self:stretch;}
      & .nt-report-pair .bars {height:132px;background:transparent;border-color:var(--hair);}
      & .nt-report-pair .bars .b i {background:#49555f;}
      & .nt-report-pair .bars .b i.p {background:var(--accent);}
      & .nt-report-pair .state.okk::before {background:var(--accent);}
      & .nt-report-pair .state.idle::before {background:#7d8b97;}
      & .nt-report-pair .bars .b span {color:var(--dim);}
      & .nt-dashboard .nt-home-empty {
        min-height:0;display:block;margin:0;padding:13px 0 0;align-items:start;text-align:start;
        color:var(--dim);font:400 14px/1.5 var(--ui-face);background:transparent;border:0;border-top:1px solid var(--hair);border-radius:0;
      }
      & .nt-dashboard .nt-home-empty b {display:block;margin:0 0 3px;color:var(--secondary);font:530 15px/1.4 var(--ui-face);}
      & .nt-task-history {padding:2px 0;border-block:1px solid var(--edge);}
      & .nt-task-history [data-home-item="recent"] {padding:0;min-height:0;text-align:start;}
      & .nt-task-history .nt-recent-chevron, & .nt-task-history #nt-recent-toggle:hover {color:var(--accent);}
      & .nt-task-history #nt-recent-toggle {min-height:46px;}
      & .nt-task-history #nt-recent-items {padding:0 0 8px;}
      & .nt-task-history a.item {padding:10px 0;border-color:var(--hair);background:transparent;}
      & .nt-task-history a.item:hover {background:var(--surface);}
      & .nt-dashboard-meta {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;padding:0;}
      & .nt-dashboard-meta .ui-note {margin:0;max-width:100%;font-size:12px;color:var(--dim);}
      & .nt-dashboard-meta .btn.line {border:0!important;font-size:12px;min-height:32px;}

      /* Give the next action its own space. Reports open only when asked for. */
      & .nt-dashboard {row-gap:24px;}
      & .nt-home-heading .head .stack {display:none;}
      &:has(.nt-overview [aria-busy=true]) > .nt-welcome {display:none;}
      & .nt-home-focus {
        --focus-inset:clamp(19px,3.5cqi,38px);
        min-width:0;margin:0;padding:var(--focus-inset);
        background:#22292e;border:1px solid #39444d;border-radius:12px;
      }
      & .nt-focus-head {display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 23px;}
      & .nt-focus-head > span:first-child {color:var(--link-ink);font:570 14px/1.4 var(--ui-face);}
      & .nt-step-pager {display:inline-flex;align-items:center;gap:8px;color:var(--secondary);font:500 13px/1.4 var(--ui-face);}
      & .nt-step-pager button {
        display:grid;place-items:center;width:40px;height:40px;padding:0;flex:none;
        border:0!important;border-radius:50%!important;background:#323b42;color:var(--paper-ink);cursor:pointer;
      }
      & .nt-step-pager button:hover:not([aria-disabled=true]) {background:#43515b;}
      & .nt-step-pager button[aria-disabled=true] {color:#99a3aa;background:#2a3035;cursor:default;}
      & .nt-step-pager svg {width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
      & .nt-step-pager [data-step-number] {min-width:9ch;text-align:center;font-variant-numeric:tabular-nums;}
      & :is(.nt-step-pager,.nt-setup-complete,.ux-start-step)[hidden] {display:none!important;}
      & .nt-home-focus, & .nt-focus-guide .ux-start-grid {touch-action:pan-y pinch-zoom;}
      & .nt-setup-complete {display:inline-flex;align-items:center;gap:7px;color:var(--link-ink);font:540 13px/1.4 var(--ui-face);}
      & .nt-setup-complete i {display:grid;place-items:center;width:22px;height:22px;font-style:normal;border-radius:50%;background:#344651;}
      & .nt-home-focus:has(.nt-review-steps) .nt-focus-guide {display:none;}
      & .nt-review-steps {display:inline-flex;align-items:center;min-height:40px;margin:10px 0 0;padding:0 4px 0 0;border:0;background:none;color:var(--secondary);font:500 13px/1.4 var(--ui-face);cursor:pointer;}
      & .nt-review-steps:is(:hover,:focus-visible) {color:var(--link-ink);text-decoration:underline;}
      & .nt-focus-guide .ux-start-panel .nt-step-pager {margin:8px 0;}
      & .nt-focus-guide .ux-start-grid:has([hidden]) {display:block;}
      & .nt-focus-action > [data-proxy-slot] {min-width:0;}
      & .nt-focus-action {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px 24px;}
      & .nt-focus-action #nt-focus-title {margin:0;color:var(--paper-ink);font:570 clamp(24px,3cqi,34px)/1.18 var(--ui-face);letter-spacing:-.035em;overflow-wrap:anywhere;}
      & .nt-focus-action p {max-width:55ch;margin:8px 0 0;color:var(--secondary);font:400 14px/1.55 var(--ui-face);}
      & .nt-home-focus a.nt-focus-primary {
        display:inline-flex;align-items:center;justify-content:center;justify-self:start;gap:15px;max-width:100%;min-height:42px;
        padding:9px 15px;border:1px solid transparent!important;
        border-radius:13px!important;box-shadow:none;text-decoration:none;font:600 14px/1.4 var(--ui-face);
      }
      & .nt-home-focus a.nt-focus-primary span {font-size:18px;line-height:1;}
      & .nt-home-proxy-actions {display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;}
      & .nt-home-proxy-actions .nt-own-proxy, & .nt-home-proxy-actions .nt-proxy-purchase button:disabled {
        display:inline-flex;align-items:center;justify-content:center;gap:10px;
        min-height:44px!important;height:auto;box-sizing:border-box;margin:0;padding:9px 14px;border-radius:13px!important;
        font:570 14px/1.4 var(--ui-face);text-decoration:none;
      }
      & .nt-home-proxy-actions .nt-own-proxy:not(.nt-focus-primary) {
        color:var(--link-ink)!important;background:transparent!important;border:1px solid var(--edge)!important;
      }
      & .nt-home-proxy-actions .nt-own-proxy:not(.nt-focus-primary):hover {background:var(--raised)!important;}
      & .nt-home-proxy-actions .nt-proxy-purchase {
        display:inline-flex;min-width:0;margin:0;
      }
      & .nt-home-proxy-actions .nt-proxy-purchase button:disabled {
        width:100%;background:transparent!important;border:1px solid var(--edge)!important;
        color:var(--secondary)!important;opacity:1;box-shadow:none;cursor:not-allowed;
      }
      & .nt-home-proxy-actions .nt-proxy-purchase small {
        display:inline-block;padding:2px 7px;border-radius:999px;background:var(--raised);color:var(--secondary);
        font:480 12px/1.4 var(--ui-face);
      }
      & .nt-dashboard:has(.nt-home-proxy-actions) .nt-focus-guide .nt-proxy-purchase {display:none!important;}
      & .nt-focus-guide:not(:empty) {margin-top:19px;}
      & .nt-dashboard .nt-focus-guide #start-panel {
        min-height:0;width:100%;margin:0;padding:0!important;
        background:transparent!important;border:0!important;border-radius:0;box-shadow:none;
      }
      & .nt-dashboard .nt-focus-guide #start-panel > summary {
        display:inline-flex!important;align-items:center;justify-content:flex-start!important;gap:9px;
        width:auto;max-width:100%;min-height:40px;margin:0;padding:2px 0;border:0;background:none;color:var(--secondary);
        font:500 13px/1.4 var(--ui-face);list-style:none;cursor:pointer;
      }
      & .nt-dashboard .nt-focus-guide #start-panel > summary > :not(.nt-guide-summary-text) {display:none!important;}
      & .nt-dashboard .nt-focus-guide #start-panel > summary .nt-guide-summary-text {margin:0;font:inherit;color:inherit;}
      & .nt-dashboard .nt-focus-guide #start-panel > summary:is(:hover,:focus-visible) {color:var(--paper-ink);}
      & .nt-dashboard .nt-focus-guide #start-panel > summary::after,
      & .nt-home-disclosure > summary::after, & .nt-secondary-fold > summary::after {
        content:""!important;display:block!important;flex:none;position:static;width:7px;height:7px;box-sizing:border-box;
        margin:-3px 2px 0 0;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);
      }
      & .nt-dashboard .nt-focus-guide #start-panel[open] > summary::after,
      & .nt-home-disclosure[open] > summary::after, & .nt-secondary-fold[open] > summary::after {transform:rotate(225deg);margin-top:3px;}
      & .nt-focus-guide #start-panel.nt-welcome ol {margin:9px 0 0;}
      & .nt-step-route[hidden] {display:none!important;}
      & .nt-home-focus:has(.nt-step-route:not([hidden])) {
        display:grid;grid-template-columns:minmax(0,1.4fr) minmax(235px,.85fr);padding:0;
        border:1px solid #3c4850;border-radius:17px;background:#22282c;overflow:hidden;
        --route-inset:clamp(20px,3cqi,30px);
        grid-template-areas:"head map" "body map" "review map";
        & .nt-focus-head {grid-area:head;margin:22px var(--route-inset) 18px;gap:6px 12px;}
        & .nt-focus-action {grid-area:body;min-width:0;margin:0 var(--route-inset) 26px;}
        & .nt-step-route {grid-area:map;}
        & .nt-review-steps {grid-area:review;justify-self:start;margin:-14px var(--route-inset) 12px;}
        & [data-focus-context] {color:#cbd8df;font:590 17px/1.4 var(--ui-face);letter-spacing:-.025em;}
        & .nt-step-pager {gap:5px;font-size:12px;}
        & .nt-step-pager button {width:34px;height:34px;}
        & .nt-step-pager svg {width:15px;height:15px;}
        & .nt-focus-guide {display:none;}
        & .nt-focus-action {grid-template-columns:minmax(0,1fr);gap:19px;}
        & #nt-focus-title {font-size:clamp(24px,3cqi,32px);line-height:1.14;letter-spacing:-.045em;}
        & .nt-focus-action p {margin-top:6px;color:#b8c0c5;}
        & .nt-proxy-purchase button:disabled {padding-inline:5px;border-color:transparent!important;}
      }
      & .nt-step-route {
        position:relative;isolation:isolate;align-self:stretch;min-height:180px;min-width:0;
        background-color:#283842;background-image:radial-gradient(circle,#69808c66 .85px,transparent 1px);background-size:11px 11px;
      }
      & .nt-step-route::after {content:'';position:absolute;inset:9px;border:1px solid #8ba1ac20;border-radius:10px;pointer-events:none;}
      & .nt-route-path {position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#738d9a;stroke-width:1.5;stroke-dasharray:3 4;stroke-linecap:round;pointer-events:none;}
      & .nt-route-stop {
        position:absolute;display:flex;flex-flow:column;align-items:center;gap:7px;min-width:48px;
        transform:translate(-50%,-20px);padding:0;border:0!important;border-radius:11px!important;background:transparent!important;
        color:#c5d2da;box-shadow:none;font:560 12px/17px var(--ui-face);cursor:pointer;-webkit-tap-highlight-color:transparent;
      }
      & .nt-route-stop[data-route-step="0"] {left:15%;top:61.3%;}
      & .nt-route-stop[data-route-step="1"] {left:50%;top:31.5%;}
      & .nt-route-stop[data-route-step="2"] {left:85%;top:56%;}
      & .nt-route-icon {
        position:relative;display:grid;place-items:center;box-sizing:border-box;width:40px;height:40px;
        border:1px solid #667d8b;border-radius:14px;background:#31424d;transition:background-color .15s,color .15s;
      }
      & .nt-route-icon svg {width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
      & .nt-route-icon i {position:absolute;top:-5px;right:-5px;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;
        background:#c7e1f4;color:#162b38;box-shadow:0 0 0 2px #283842;font:700 11px/1 var(--ui-face);}
      & .nt-route-label {padding:0 5px;border-radius:4px;background:#283842;color:inherit;}
      & .nt-route-stop:hover .nt-route-icon {border-color:#a1b5c1;}
      & .nt-route-stop[aria-pressed=true] {color:var(--choice-ink);}
      & .nt-route-stop[aria-pressed=true] .nt-route-icon {
        background:var(--choice-surface);color:var(--choice-ink);
        border-color:var(--action-fill);outline:1px solid var(--action-fill);outline-offset:3px;
      }
      & .nt-focus-alert-slot:empty {display:none;}
      & .nt-home-summary {min-width:0;margin:0;padding:0;}
      & #nt-home-summary-title {margin:0 0 12px;color:var(--paper-ink);font:580 18px/1.4 var(--ui-face);letter-spacing:-.02em;}
      & .nt-home-counts {
        display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;
      }
      & .nt-home-count {
        display:grid;align-content:center;gap:16px;min-width:0;min-height:108px;box-sizing:border-box;
        padding:16px clamp(14px,2.3cqi,24px);color:var(--paper-ink);text-decoration:none;background:#23272a;border-radius:14px;
      }
      & .nt-home-count:is(:hover,:focus-visible) {background:var(--raised);text-decoration:none;}
      & .nt-home-count:focus-visible {outline-offset:-3px;}
      & .nt-count-heading {display:flex;align-items:center;gap:8px;color:var(--secondary);font:550 14px/1.4 var(--ui-face);}
      & .nt-count-heading svg {width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
      & .nt-count-arrow {margin-inline-start:auto;color:var(--dim);font:400 15px/1 var(--ui-face);}
      & .nt-home-count:is(:hover,:focus-visible) :is(.nt-count-heading,.nt-count-arrow) {color:var(--link-ink);}
      & .nt-count-reading {display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;min-width:0;}
      & .nt-count-reading strong {min-width:0;overflow-wrap:anywhere;color:var(--paper-ink);font:560 clamp(26px,3cqi,33px)/1.05 var(--ui-face);font-variant-numeric:tabular-nums;letter-spacing:-.035em;}
      & .nt-count-reading small {color:var(--dim);font:400 13px/1.4 var(--ui-face);}
      & .nt-home-summary > .nt-home-proxy-actions {margin-top:12px;}

      & .nt-task-history[hidden] {display:none!important;}
      & .nt-focus-reports .nt-task-history, & .nt-home-disclosure, & .nt-secondary-fold {
        margin:0;padding:0;min-height:0;max-width:none;background:transparent;border:0;border-bottom:1px solid var(--hair);
        border-radius:0;box-shadow:none;
      }
      & .nt-focus-reports #nt-recent-toggle, & .nt-home-disclosure > summary, & .nt-secondary-fold > summary {
        display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:55px;
        padding:8px 2px;margin:0;border:0;background:none;color:var(--secondary);
        text-align:left;list-style:none;cursor:pointer;font:530 15px/1.4 var(--ui-face);letter-spacing:0;
      }
      & :is(.nt-home-disclosure,.nt-secondary-fold,.nt-focus-guide details) > summary::-webkit-details-marker {display:none;}
      & .nt-focus-reports .nt-recent-chevron {order:1;width:7px;height:7px;margin-right:2px;color:var(--secondary);transform:rotate(45deg);}
      & .nt-focus-reports #nt-recent-toggle[aria-expanded=true] .nt-recent-chevron {transform:rotate(225deg);}
      & .nt-home-disclosure > summary small {flex:1;text-align:right;min-width:0;color:var(--dim);font:450 13px/1.4 var(--ui-face);}
      & :is(.nt-home-disclosure,.nt-secondary-fold) > summary:hover, & .nt-focus-reports #nt-recent-toggle:hover {color:var(--link-ink);}
      & .nt-home-disclosure:not([open]) > :not(summary), & .nt-secondary-fold:not([open]) > :not(summary) {display:none!important;}
      & .nt-home-disclosure .nt-stats-content {display:grid;gap:18px;padding:2px 0 16px;}
      & .nt-stats-content .nt-kpi-band {border-top:0;}
      & .nt-stats-content [data-home-item="chart"][data-has-activity=false] {display:none!important;}
      & .nt-stats-content .nt-report-pair:has([data-has-activity=false]) {grid-template-columns:1fr;}
      & .nt-stats-content .nt-report-pair:has([data-has-activity=false]) .nt-resource-band {padding:0;}
      & .nt-stats-links a {display:inline-flex;align-items:center;min-height:36px;color:var(--link-ink);font-size:14px;}
      & .nt-focus-alert > summary {justify-content:flex-start;color:#e8bc8c;font-weight:570;}
      & .nt-focus-alert .nt-attention {margin:0 0 12px;}
      & .nt-focus-alert .nt-attention-head {display:none;}
      & .nt-task-history #nt-recent-items {padding:0 2px 10px;}
      & .nt-task-history #nt-recent-items > p {display:inline-block;margin:5px 18px 5px 0!important;}
      & .nt-task-history #nt-recent-items > .nt-recent-all {display:inline-flex;}

      & .nt-focus-reports {
        display:grid;gap:2px;padding:6px;background:var(--surface);
        border:1px solid var(--hair);border-radius:16px;
      }
      & .nt-focus-reports :is(.nt-task-history,#nt-home-stats) {margin:0;padding:0;border:0;}
      & .nt-focus-reports :is(#nt-recent-toggle,#nt-home-stats > summary) {
        display:flex;justify-content:space-between;align-items:center;gap:12px;box-sizing:border-box;
        width:100%;min-height:54px;padding:8px 16px;border:0;border-radius:10px;
        color:var(--secondary);background:transparent;font:570 15px/1.4 var(--ui-face);cursor:pointer;
      }
      & .nt-focus-reports #nt-home-stats > summary::after {display:none!important;}
      & .nt-report-label {display:flex;align-items:center;gap:14px;text-align:start;}
      & .nt-report-label svg {width:23px;height:23px;flex:none;fill:none;stroke:var(--dim);stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;}
      & .nt-report-chevron, & .nt-recent-arrow {
        width:8px;height:8px;box-sizing:border-box;margin-inline:4px;flex:none;
        border:solid currentColor;border-width:0 1.6px 1.6px 0;color:var(--dim);transform:rotate(45deg);
      }
      & .nt-focus-reports :is(#nt-recent-toggle[aria-expanded=true],#nt-home-stats[open] > summary) {
        background:var(--selected-surface);color:var(--paper-ink);
        & .nt-report-chevron {transform:rotate(225deg);color:var(--action-fill);}
        & svg {stroke:var(--action-fill);}
      }
      & .nt-focus-reports :is(#nt-recent-toggle,#nt-home-stats > summary):is(:hover,:focus-visible) {
        background:color-mix(in srgb,var(--action-fill) 8%,var(--raised));color:var(--paper-ink);
      }
      & .nt-focus-reports :is(#nt-recent-toggle,#nt-home-stats > summary,a):focus-visible {
        outline:2px solid var(--action-fill);outline-offset:-2px;
      }
      & .nt-focus-reports #nt-home-stats .nt-stats-content {padding:12px clamp(8px,2cqi,20px) 16px;}
      & .nt-focus-reports #nt-recent-items:not([hidden]) {display:grid;gap:5px;padding:8px 4px 6px;}
      & .nt-recent-link {
        display:grid;grid-template-columns:minmax(0,1fr) auto 12px;gap:5px 14px;align-items:center;
        min-height:48px;padding:9px 12px;box-sizing:border-box;background:var(--canvas);border:1px solid var(--hair);
        border-radius:10px;color:var(--paper-ink);text-decoration:none;
      }
      & .nt-recent-copy {min-width:0;display:grid;gap:3px;overflow-wrap:anywhere;}
      & .nt-recent-copy strong {color:inherit;font:560 14px/1.4 var(--ui-face);}
      & .nt-recent-copy small {color:var(--dim);font:400 12px/1.4 var(--ui-face);}
      & .nt-recent-link .state {justify-self:start;font-size:12px;}
      & .nt-recent-arrow {font-size:0;transform:rotate(-45deg);margin:0;}
      & .nt-recent-link:is(:hover,:focus-visible) {border-color:var(--action-fill);color:var(--choice-ink);}
      & .nt-recent-actions {display:flex;flex-wrap:wrap;gap:8px;padding:6px 0 0;}
      & .nt-recent-actions a {display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:4px 12px;
        box-sizing:border-box;border-radius:10px;border:1px solid var(--edge);color:var(--secondary);text-decoration:none;font:550 13px/1.4 var(--ui-face);}
      & .nt-recent-actions a:hover {background:var(--raised);color:var(--paper-ink);}
      & .nt-account-status-band {margin:0 0 16px;}
      & .nt-account-status-band dl {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;}
      & .nt-account-status-band dl > div {display:grid;gap:6px;background:var(--surface);padding:12px clamp(10px,2vw,20px);border-radius:12px;}
      & .nt-account-status-band dt {color:var(--secondary);font:530 13px/1.4 var(--ui-face);}
      & .nt-account-status-band dd {margin:0;color:var(--paper-ink);font:580 clamp(22px,2.3vw,30px)/1.1 var(--ui-face);font-variant-numeric:tabular-nums;}
      & .nt-account-status-band [data-status-group=work] dd {color:var(--choice-ink);}
      & .nt-account-status-band footer {display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;margin:7px 2px 0;}
      & .nt-account-status-band footer :is(small,a) {color:var(--dim);font:400 12px/1.5 var(--ui-face);}
      & .nt-account-status-band footer a {color:var(--link-ink);}
      & [data-check-progress][hidden] {display:none!important;}
      & .nt-quota-tile {position:relative;display:grid;min-width:0;}
      & .nt-dashboard .nt-quota-tile > .metric-help {position:absolute;inset:8px 9px auto auto;}
      & .nt-traffic-count {gap:8px;}
      & .nt-traffic-count .nt-count-heading {padding-right:26px;}
      & .nt-traffic-count .nt-count-arrow {display:none;}
      & .nt-traffic-count .nt-count-reading {display:grid;gap:3px;}
      & .nt-traffic-count .nt-count-reading strong {font-size:clamp(21px,2.5cqi,29px);}
      & .nt-traffic-count .nt-count-reading strong[data-no-metric] {font-size:18px;}
      & .nt-quota-track {display:block;height:4px;background:var(--edge);border-radius:4px;overflow:hidden;}
      & .nt-quota-track i {display:block;height:100%;background:var(--action-fill);border-radius:inherit;}
      & .nt-task-filters .nt-task-status-filters {
        display:flex;flex-wrap:wrap;gap:6px;padding:8px 0 0;margin:0;
        width:auto;background:transparent;border:0;
      }
      & .nt-task-status-filters > button[data-task-status] {
        display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;margin:0;padding:7px 12px;
        background:var(--canvas)!important;color:var(--secondary)!important;border:1px solid var(--edge)!important;
        border-radius:999px!important;font:530 13px/1.35 var(--ui-face);box-shadow:none!important;
      }
      & .nt-task-status-filters > [data-task-status] [data-status-count] {
        min-width:1.5em;padding:1px 5px;border-radius:999px;box-sizing:border-box;text-align:center;
        background:var(--raised);color:var(--secondary);font:550 12px/1.4 var(--ui-face);font-variant-numeric:tabular-nums;
      }
      & .nt-task-status-filters > button[data-task-status][aria-pressed=true] {
        background:var(--choice-surface)!important;color:var(--choice-ink)!important;border-color:var(--action-fill)!important;
        & [data-status-count] {background:var(--action-fill);color:var(--action-ink);}
      }
      & .nt-task-status-filters > button[data-task-status]:hover {border-color:var(--action-fill)!important;}
      & .nt-task-status-filters > button[data-task-status]:focus-visible {outline:2px solid var(--action-fill);outline-offset:2px;}
      & :is(.head,.nt-home-focus) a.btn[href="#/campaigns/choose"] {
        min-height:44px!important;border-radius:999px!important;padding-inline:20px;
      }
      @media (prefers-reduced-motion:no-preference) {
        & .nt-report-chevron {transition:transform .16s ease;}
        & :is(.nt-recent-link,.nt-recent-actions a,[data-task-status],#nt-home-stats > summary,#nt-recent-toggle) {
          transition:background-color .14s,color .14s,border-color .14s;
        }
      }

      & .nt-secondary-fold > summary {font-size:14px;min-height:44px;}
      & .nt-fold-content {display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:4px 0 12px;}
      & .nt-fold-checks, & .nt-fold-editor {border:0;min-width:0;}
      & .nt-fold-checks > summary, & .nt-fold-editor > summary {
        width:fit-content;min-height:40px;justify-content:flex-start;gap:9px;padding-inline:7px;
      }
      & .nt-fold-checks[open], & .nt-fold-editor[open] {flex-basis:100%;}
      & .nt-fold-checks .nt-fold-content {justify-content:flex-start;}
      & .nt-fold-provider {margin-top:16px;border-top:1px solid var(--hair);}
      & .nt-fold-provider .nt-fold-content, & .nt-fold-errors .nt-fold-content {display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:12px;}
      & .nt-fold-provider .nt-fold-content > .card {margin:0!important;}
      & .nt-help-index [data-help-group]:has(.nt-fold-errors) > h3 {display:none;}
      & .nt-help-index .nt-help-topic small {display:none;}
      & .nt-help-index .nt-help-topic {padding-block:13px;}
      & .nt-fold-errors {border-top:1px solid var(--hair);}
      & .nt-task-filter-fields:has(.nt-fold-filters) {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;}
      & .nt-fold-filters {border:0;}
      & .nt-fold-filters > summary {
        box-sizing:border-box;width:max-content;max-width:100%;min-height:40px;gap:9px;
        padding:7px 12px;background:var(--surface);border:1px solid var(--edge);border-radius:12px;
      }
      & .nt-fold-filters[open] > summary {color:var(--choice-ink);border-color:var(--action-fill);}
      & .nt-fold-filters .nt-fold-content {padding-top:8px;}
      & .nt-fold-filters[open] {grid-column:1/-1;}
      & .nt-fold-filters .nt-fold-content {align-items:end;}
      & #body:has(#task-result-count[data-empty-workspace=true]) :is(.nt-task-filters,#task-result-count,.nt-task-table thead),
      & #body[data-empty-accounts=true] :is([aria-label="Списки аккаунтов"],.uv-account-tools,[data-account-result],.uv-account-table thead,[aria-label="Массовое удаление аккаунтов"]),
      & :is(.nt-task-pagination,.ux-pagination)[data-single-page=true],
      & .nt-proxy-inventory[data-empty=true] > .ui-event-head p,
      & .nt-proxy-inventory:not(:has(#personal-proxy-form:not([hidden]))) > .ui-note,
      & #material-text-form:has(#material-row-mode[data-has-rows=false]:not([hidden])) #material-count,
      & #material-text-form #material-row-mode[data-has-rows=false] > .field,
      & #material-row-mode .ux-pagination:has([data-editor-prev]:disabled):has([data-editor-next]:disabled),
      & #material-row-mode:not(:has([data-select-row]:checked,#material-undo:not(:disabled))) .ux-editor-toolbar:has(#material-copy-selected) {display:none!important;}
    }
    & :focus-visible {outline:2px solid var(--accent);outline-offset:3px;}
    & .nt-app .nt-sidebar nav a, & .nt-app .nt-sidebar .nt-workspace, & .nt-mobile-nav a, & .btn, & .nt-dashboard a {
      transition:background-color .14s ease,color .14s ease,border-color .14s ease;
    }
    & .nt-content #content :is(.nt-menu-tile,.nt-help-topic):hover {transform:none;}
  }

  /* Native dialogs live directly under body, outside the workspace shell. */
  & body:has(#root) dialog, & body:has(#root) #section-search-dialog {
    color:var(--paper-ink)!important;background:var(--surface)!important;
    border:1px solid var(--edge)!important;border-radius:9px!important;
    box-shadow:0 12px 40px #0004!important;backdrop-filter:none!important;
    & :is(h2,h3,label,strong,b) {color:var(--paper-ink)!important;}
    & :is(.muted,small,p) {color:var(--secondary);}
    & .btn {background:var(--button);border:1px solid transparent;color:var(--button-ink);box-shadow:none;}
    & :is(.btn.line,.btn.quiet) {background:transparent!important;color:var(--secondary)!important;border-color:var(--edge);}
    & .inp {background:var(--field)!important;border:1px solid var(--edge)!important;color:var(--paper-ink)!important;}
    & .inp::placeholder {color:var(--dim)!important;}
    & :focus-visible {outline:2px solid var(--accent)!important;outline-offset:2px;}
  }
  & body:has(#root) dialog::backdrop {background:rgb(9 11 13 / 63%)!important;backdrop-filter:none!important;}
  & body:has(#root) #section-search-dialog #section-search-results a {min-height:38px;padding:9px 10px;color:var(--paper-ink)!important;background:transparent!important;border:0!important;border-radius:4px!important;box-shadow:none!important;}
  & body:has(#root) #section-search-dialog #section-search-results a:is(.on,:hover) {background:var(--selected-surface)!important;}
  & body:has(#root) #section-search-results a small {display:none;}
  @media (min-width:761px) {
    & body:has(#root) #root .nt-app {
      grid-template-columns:clamp(196px,15.5vw,230px) minmax(0,1fr);
      & .nt-sidebar {padding:20px 12px 12px;}
      & .nt-sidebar .nt-brand {margin:4px 10px 29px;}
      & .nt-top-actions .nt-top-avatar {display:none;}
      & .nt-content :is(.nt-topbar,#content,.nt-footer) {padding-inline:clamp(22px,3.1vw,56px);}
      & .nt-topbar {height:52px;}
      & #content {padding-top:26px;}
    }
  }
  @container (max-width:710px) {
    & body:has(#root) #root .nt-content #content {
      & .nt-focus-action:has([data-proxy-slot]) {grid-template-columns:minmax(0,1fr);gap:18px;}
      & .nt-kpi-band {grid-template-columns:repeat(2,minmax(0,1fr));padding:0;}
      & .nt-dashboard .nt-kpi-band > .stat {padding-block:10px;}
      & .nt-dashboard .nt-kpi-band > .stat:nth-child(odd) {border-inline-start:0!important;}
      & .nt-dashboard .nt-kpi-band > .stat:nth-child(n+3) {border-block-start:1px solid var(--column-rule)!important;}
    }
  }
  @container (max-width:650px) {
    & body:has(#root) #root .nt-content #content .nt-home-focus:has(.nt-step-route:not([hidden])) {
      grid-template-columns:minmax(0,1fr);
      grid-template-areas:"head" "map" "body" "review";
      & .nt-focus-head {margin:8px 16px;}
      & .nt-focus-action {margin:17px 18px 18px;}
      & .nt-review-steps {margin:-8px 18px 10px;}
      & .nt-step-pager button {width:44px;height:44px;}
      & .nt-focus-action {gap:14px;}
      & .nt-step-route {min-height:152px;}
    }
  }
  @container (max-width:570px) {
    & body:has(#root) #root .nt-content #content {
      & .nt-home-counts {grid-template-columns:minmax(0,1fr);}
      & .nt-home-count {grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:60px;padding:10px 16px;}
      & .nt-traffic-count.nt-home-count {grid-template-columns:minmax(0,1fr);gap:6px;padding:14px 16px;}
      & .nt-traffic-count .nt-count-reading {justify-items:start;text-align:start;}
      & .nt-traffic-count .nt-count-arrow {margin-inline-start:auto;}
      & .nt-task-status-filters > button[data-task-status] {min-height:44px;}
      & .nt-recent-link {grid-template-columns:minmax(0,1fr) 12px;gap:4px 8px;}
      & .nt-recent-link .state {grid-column:1;}
      & .nt-recent-arrow {grid-area:1/2/3/3;align-self:center;}
      & .nt-count-arrow {margin-inline-start:0;}
      & .nt-count-reading {display:grid;justify-items:end;gap:1px;text-align:end;}
      & .nt-count-reading strong {font-size:22px;}
      & .nt-count-reading small {font-size:12px;}
      & .nt-focus-action {grid-template-columns:minmax(0,1fr);gap:18px;}
      & .nt-focus-head {margin-bottom:16px;}
      & .nt-focus-guide:not(:empty) {margin-top:10px;}
      & .nt-report-pair {grid-template-columns:minmax(0,1fr);gap:var(--section-gap);}
      & .nt-resource-band {padding:0;}
      & .nt-dashboard .nt-report-pair > [data-home-item="chart"] {border-inline-start:0!important;padding:0;}
      & .nt-task-history .nt-recent-head {gap:6px;}
      & .nt-resource-band .nt-menu-tile-link > span:nth-child(2) {display:flex;align-items:baseline;flex-wrap:wrap;gap:1px 10px;}
    }
  }
  @container (max-width:400px) {
    & body:has(#root) #root .nt-content #content .nt-home-proxy-actions {
      display:grid;grid-template-columns:minmax(0,1fr);width:100%;
      & > :is(.nt-own-proxy,.nt-proxy-purchase) {width:100%;}
    }
  }
  @media (max-width:1040px) {
    & body:has(#root) #root .nt-content #content {
      & .nt-welcome-copy {grid-template-columns:minmax(0,1fr) auto;gap:0 12px;}
      & .nt-welcome li .nt-welcome-action {min-height:23px;}
      & .nt-welcome li p {grid-area:2/1;}
      & .nt-welcome .nt-proxy-purchase {grid-area:1/2/3/3;}
      & .nt-welcome .nt-welcome-done {grid-area:2/2;}
    }
  }
  @media (max-width:760px) {
    & body:has(#root) #root {
      & .nt-topbar .nt-breadcrumb {min-width:0;}
      & .nt-topbar .nt-top-actions {gap:3px;}
      & .nt-plan-status {font-size:12px;padding-inline:6px;}
      & .nt-content #content .nt-category-tabs {gap:0 10px;}
    }
  }
  @media (max-width:540px) {
    & body:has(#root) #root {
      & .nt-topbar .nt-breadcrumb {display:none;}
      & .nt-topbar .nt-top-actions {width:100%;justify-content:flex-end;}
      & .nt-plan-status {margin-right:auto;}
      & .nt-content #content {
        & .nt-task-filter-fields:has(.nt-fold-filters) {grid-template-columns:minmax(0,1fr);gap:5px;}
        & .nt-fold-filters .nt-fold-content {display:grid;align-items:stretch;}
        & .head > .stack {width:100%;}
        & .nt-category-tabs a {min-height:44px;text-align:left;font-size:13px;}
        & #start-panel.nt-welcome > summary {grid-template-columns:minmax(0,1fr) auto 12px;gap:8px;}
        & #start-panel.nt-welcome > summary .nt-welcome-chevron {grid-column:3;}
        & #start-panel.nt-welcome > summary .nt-welcome-meter {display:none;}
        & .nt-welcome li, & .nt-welcome li + li {gap:8px;}
      }
    }
  }
  @media (max-width:380px) {
    & body:has(#root) #root .nt-content #content .nt-category-tabs {
      display:grid;
      grid-template-columns:1.3fr 1.15fr 1fr;
      gap:4px;
    }
    & body:has(#root) #root .nt-content #content .nt-category-tabs > a {
      min-width:0;
      white-space:normal;
      line-height:1.25;
      justify-content:center;
      text-align:center;
    }
  }
  @media (min-width:601px) {
    & body:has(#root) #root .nt-content #content table > :is(thead,tbody,tfoot) > tr > :is(td,th) + :is(td,th) {
      border-inline-start:1px solid var(--column-rule)!important;
    }
  }
  @media (max-width:420px) {
    & body:has(#root) #root .nt-content #content {
      & .nt-welcome-copy {display:block;}
      & .nt-welcome .nt-proxy-purchase {display:flex;justify-content:flex-start;justify-self:start;align-items:center;flex-flow:row wrap;gap:6px;margin-top:5px;}
      & .nt-welcome li {align-items:start;}
      & .nt-welcome .nt-welcome-number {margin-top:1px;}
      & .nt-kpi-band .stat > small {font-size:12px;}
      & .nt-dashboard .nt-kpi-band > .stat {padding-inline:9px;}
    }
  }
  @media (prefers-reduced-motion:reduce) {
    & body:has(#root) #root :is(a,button,details,.rise) {animation:none!important;transition:none!important;}
  }
}


/* Local file preflight for workspaces without a subscription. */
#root #content .nt-file-check {
  --file-panel:#232a2e;--file-text:#f1f4f6;--file-muted:#b7c2ca;--file-accent:#c9dfef;
  margin:0 0 22px;color:var(--file-text);
}
#root #content .nt-file-target {
  position:relative;display:grid;grid-template-columns:52px minmax(0,1fr) auto;
  grid-template-areas:"icon copy pick" "icon copy hint";gap:3px 16px;align-items:center;
  box-sizing:border-box;min-height:122px;padding:24px clamp(16px,3vw,30px);margin:0;
  border:1px dashed #657683;border-radius:16px;background:var(--file-panel);cursor:pointer;
  transition:border-color .14s,background-color .14s;
}
#root #content .nt-file-target:is(:hover,.is-dragging,:focus-within) {background:#29353e;border-color:#b5d5ec;}
#root #content .nt-file-target:focus-within {outline:2px solid #b5d5ec;outline-offset:3px;}
#root #content .nt-file-target input {position:absolute;inset:0;z-index:1;opacity:0;width:100%;height:100%;min-width:0;max-width:none;cursor:pointer;margin:0;padding:0;}
#root #content .nt-file-symbol {grid-area:icon;display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#303e48;color:#c6dfef;}
#root #content .nt-file-symbol svg {width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round;}
#root #content .nt-file-copy {grid-area:copy;min-width:0;display:grid;gap:6px;}
#root #content .nt-file-copy strong {color:var(--file-text);font:590 clamp(17px,1.65vw,22px)/1.25 var(--ui-face,system-ui);letter-spacing:-.025em;}
#root #content #nt-file-limits {color:var(--file-muted);font:400 13px/1.5 var(--ui-face,system-ui);}
#root #content .nt-file-pick {grid-area:pick;justify-self:center;align-self:end;border-radius:11px;padding:11px 16px;color:#152631;background:var(--file-accent);font:600 14px/1.4 var(--ui-face,system-ui);}
#root #content .nt-file-drop-hint {grid-area:hint;align-self:start;text-align:center;color:var(--file-muted);font:400 12px/1.5 var(--ui-face,system-ui);}
#root #content #nt-file-access {margin:8px 2px 0;color:var(--dim,#a7b2bb);font:400 13px/1.5 var(--ui-face,system-ui);}
#root #content #nt-file-access a {color:var(--link-ink,#b4d3ed);text-underline-offset:3px;}
#root #content .nt-file-feedback {display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px;}
#root #content .nt-file-feedback p {margin:0;color:var(--paper-ink,#ebeff3);font:500 13px/1.5 var(--ui-face,system-ui);overflow-wrap:anywhere;}
#root #content .nt-file-feedback p:not(:empty) {padding-block:8px;}
#root #content .nt-file-feedback .is-error {color:#ffc5ad;}
#root #content .nt-file-reset {min-height:40px;padding:2px 5px;border:0;background:transparent;color:var(--link-ink,#b4d3ed);font:500 13px/1.4 var(--ui-face,system-ui);cursor:pointer;}
#root #content .nt-file-reset[hidden] {display:none!important;}
@media(max-width:700px) {
  #root #content .nt-file-target {grid-template-columns:42px minmax(0,1fr);grid-template-areas:"icon copy" "pick pick";gap:14px 12px;padding:16px;}
  #root #content .nt-file-symbol {width:42px;height:42px;border-radius:13px;}
  #root #content .nt-file-pick {justify-self:stretch;text-align:center;}
  #root #content .nt-file-drop-hint {display:none;}
}
@media(prefers-reduced-motion:reduce){#root #content .nt-file-target{transition:none;}}

#root #content .nt-plan-layout {display:grid;gap:18px;max-width:820px;}
#root #content .nt-plan-card {padding:clamp(18px,3vw,30px);margin:0;}
#root #content .nt-plan-heading {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;}
#root #content .nt-plan-heading h2 {margin:0;font-size:clamp(19px,2.4vw,27px);letter-spacing:-.025em;}
#root #content .nt-plan-heading svg {width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;}
#root #content .nt-plan-card p,#root #content .nt-plan-heading small {color:var(--dim,inherit);line-height:1.5;}
#root #content .nt-plan-note {margin-top:18px;padding-top:16px;border-top:1px solid var(--column-rule,#68727a);font-size:14px;line-height:1.55;}
#root #content .nt-plan-terms {border:0;margin:24px 0;padding:0;display:flex;flex-wrap:wrap;gap:8px;}
#root #content .nt-plan-terms label {position:relative;cursor:pointer;}
#root #content .nt-plan-terms input,#root #content .nt-plan-sr {position:absolute;inline-size:1px;block-size:1px;overflow:hidden;clip-path:inset(50%);}
#root #content .nt-plan-terms span {display:grid;place-items:center;min-height:44px;padding-inline:16px;border:1px solid currentColor;border-radius:12px;}
#root #content .nt-plan-terms input:checked + span {background:#c1dbed;color:#152736;border-color:#c1dbed;}
#root #content .nt-plan-terms input:focus-visible + span {outline:2px solid currentColor;outline-offset:3px;}
#root #content .nt-order-summary {margin:22px 0 0;padding:16px 0;border-block:1px solid var(--column-rule,#68727a);}
#root #content .nt-order-summary div {display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;}
#root #content .nt-order-summary dd {margin:0;font-weight:600;}
#root #content .nt-payment-pending {margin:14px 0 0;}

#root #content .nt-password-form {display:grid;max-width:32rem;gap:14px;}
#root #content .nt-password-form :is(.field,h3) {margin:0;}
#root #content .nt-password-form .inp {width:100%;min-width:0;box-sizing:border-box;}
#root #content .nt-password-form :is(small,.nt-password-note) {font-size:13px;line-height:1.5;color:var(--dim,inherit);}
#root #content .nt-password-form small {margin-top:-9px;}
#root #content .nt-password-form button {justify-self:start;}
#root #content .nt-password-form [role=status]:empty {display:none;}

#root #content .nt-status-sheet {margin:16px 0;padding:0;border:0;border-block:1px solid var(--hair,#52585c);background:transparent;color:inherit;}
#root #content .nt-status-sheet summary {display:flex;align-items:center;gap:12px;min-height:48px;padding:6px 0;list-style:none;cursor:pointer;font:inherit;}
#root #content .nt-status-sheet summary::-webkit-details-marker {display:none;}
#root #content .nt-status-sheet summary strong {font-size:16px;}
#root #content .nt-status-sheet summary span {margin-left:auto;font-size:14px;}
#root #content .nt-status-sheet summary::after {content:"";width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:0 5px 4px;}
#root #content .nt-status-sheet[open] summary::after {transform:rotate(225deg);margin-bottom:-4px;}
#root #content .nt-status-sheet dl {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:6px 0 16px;}
#root #content .nt-status-sheet dt {font-size:15px;font-weight:600;}
#root #content .nt-status-sheet dd {margin:4px 0 0;display:grid;gap:4px;line-height:1.45;font-size:14px;}
#root #content .nt-status-sheet dd b {font-size:24px;font-variant-numeric:tabular-nums;}
#root #content .nt-status-sheet footer {display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between;padding:10px 0 14px;font-size:14px;}
#root #content .nt-select-shell {position:relative;display:block;min-width:0;width:100%;}
#root #content .nt-select-shell select.inp {appearance:none!important;-webkit-appearance:none!important;background-image:none!important;box-sizing:border-box;width:100%;min-width:0;padding-inline-end:40px!important;text-overflow:ellipsis;}
#root #content .nt-select-shell::after {content:"";position:absolute;inset-inline-end:16px;top:50%;width:8px;height:8px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-70%) rotate(45deg);pointer-events:none;}
@media(max-width:600px){
 #root #content .nt-status-sheet dl {grid-template-columns:1fr;gap:12px;}
 #root #content .nt-status-sheet dl>div {display:grid;grid-template-columns:6em minmax(0,1fr);align-items:baseline;}
 #root #content .nt-status-sheet dd {display:flex;align-items:baseline;gap:10px;margin:0;}
 #root #content .nt-status-sheet dd b {font-size:18px;}
}
