/* =========================================================
   NTO Portal — design system
   Palette: PNG flag ink/red/gold refined for gov-portal use.
   Mobile-first, WCAG 2.1 AA, light theme (committed).
   ========================================================= */

:root {
  /* Brand */
  --ink: #101820;          /* near-black, headers/footer */
  --ink-2: #1d2833;
  --red: #c8102e;          /* PNG flag red — primary action */
  --red-dark: #a20d25;
  --gold: #f5b700;         /* PNG flag gold — accents only */
  --gold-soft: #fdf3d7;
  --teal: #0e7c86;         /* secondary — links, info */
  --teal-dark: #0a5b62;

  /* Neutrals */
  --paper: #ffffff;
  --sand: #f7f5f0;         /* section alt background */
  --line: #e5e2da;
  --text: #23282e;
  --text-2: #5a6470;
  --muted: #8a929b;

  /* Chart ink (dataviz) */
  --grid: #e1e0d9;
  --axis: #c3c2b7;
  --series-1: #2a78d6;
  --series-2: #1baf7a;
  --series-3: #eda100;
  --series-4: #008300;
  --series-5: #4a3aa7;
  --series-6: #e34948;
  --up: #006300;
  --down: #b3261e;

  /* Type & rhythm */
  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 32, 0.06), 0 8px 24px rgba(16, 24, 32, 0.07);
  --shadow-lift: 0 2px 4px rgba(16, 24, 32, 0.08), 0 16px 40px rgba(16, 24, 32, 0.14);
  --wrap: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); font-weight: 800; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 2px; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; overflow: hidden; position: absolute !important;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--ink); color: #fff; padding: 0.75rem 1.25rem; }
.skip-link:focus { left: 0; }

.nto-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.nto-section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.nto-section--alt { background: var(--sand); }
.nto-section--ink { background: var(--ink); color: #cfd6dd; }
.nto-section--ink h2, .nto-section--ink h3 { color: #fff; }

/* ---------- Buttons, badges, links ---------- */
.nto-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font: 700 0.95rem/1 var(--font);
  padding: 0.85rem 1.5rem; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.nto-btn--primary { background: var(--red); color: #fff; }
.nto-btn--primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.nto-btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.nto-btn--ghost:hover { background: var(--ink); color: #fff; }
.nto-btn--gold { background: var(--gold); color: var(--ink); }
.nto-btn--gold:hover { background: #e0a800; color: var(--ink); }
.nto-section--ink .nto-btn--ghost { color: #fff; }

.nto-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font: 700 0.72rem/1 var(--font); letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--gold-soft); color: #7a5c00;
  border-radius: 999px; padding: 0.35rem 0.75rem;
}
.nto-badge--teal { background: #e2f2f3; color: var(--teal-dark); }
.nto-badge--verified { background: #e5f3e5; color: var(--up); }

.nto-link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; text-decoration: none; }
.nto-link-arrow:hover .nto-icon--arrow { transform: translateX(3px); }
.nto-icon--arrow { transition: transform 0.15s; }
.nto-kicker { font: 700 0.78rem/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin: 0 0 0.6rem; }
.nto-section--ink .nto-kicker { color: var(--gold); }

/* ---------- Top bar ---------- */
.nto-topbar { background: var(--ink); color: #aeb8c2; font-size: 0.82rem; }
.nto-topbar .nto-wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; flex-wrap: wrap; }
.nto-topbar a { color: #dfe5ea; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.nto-topbar a:hover { color: var(--gold); }
.nto-topbar__contact { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nto-topbar__gov { display: flex; align-items: center; gap: 0.5rem; }
.nto-topbar__flag { width: 18px; height: 12px; border-radius: 2px; flex: none;
  background: linear-gradient(135deg, var(--red) 0 50%, var(--ink-2) 50% 100%); border: 1px solid rgba(255,255,255,0.25); }

/* ---------- Header / nav ---------- */
.nto-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nto-header .nto-wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.nto-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-right: auto; }
.nto-brand img { max-height: 52px; width: auto; }
.nto-brand__mark {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--red) 0 48%, var(--ink) 52% 100%);
  position: relative; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.15);
}
.nto-brand__mark::after { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); font-size: 1.15rem; }
.nto-brand__name { font: 800 1.05rem/1.15 var(--font); color: var(--ink); letter-spacing: -0.01em; }
.nto-brand__name small { display: block; font: 600 0.68rem/1.3 var(--font); color: var(--text-2); letter-spacing: 0.08em; text-transform: uppercase; }

.nto-nav { display: none; }
.nto-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.nto-nav li { position: relative; }
.nto-nav a { display: block; padding: 0.65rem 0.85rem; font: 700 0.92rem/1 var(--font); color: var(--ink); text-decoration: none; border-radius: 8px; }
.nto-nav a:hover, .nto-nav .current-menu-item > a { background: var(--sand); color: var(--red); }
.nto-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); padding: 0.5rem; display: none; flex-direction: column; gap: 2px;
}
.nto-nav li:hover > .sub-menu, .nto-nav li:focus-within > .sub-menu { display: flex; }
.nto-nav .sub-menu a { font-weight: 600; }
.nto-header__actions { display: flex; align-items: center; gap: 0.6rem; }
.nto-header__search, .nto-nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer;
}
.nto-header__search:hover, .nto-nav-toggle:hover { border-color: var(--ink); }
.nto-header__cta { display: none; }

@media (min-width: 1024px) {
  .nto-nav { display: block; }
  .nto-nav-toggle { display: none; }
  .nto-header__cta { display: inline-flex; }
}

/* Mobile nav drawer */
.nto-mobile-nav { position: fixed; inset: 0; z-index: 100; display: none; }
.nto-mobile-nav.is-open { display: block; }
.nto-mobile-nav__scrim { position: absolute; inset: 0; background: rgba(16,24,32,0.55); }
.nto-mobile-nav__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw);
  background: #fff; padding: 1.25rem; overflow-y: auto;
  animation: nto-slide-in 0.25s ease;
}
@keyframes nto-slide-in { from { transform: translateX(30px); opacity: 0; } }
.nto-mobile-nav__close { float: right; }
.nto-mobile-nav ul { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.nto-mobile-nav li { border-bottom: 1px solid var(--line); }
.nto-mobile-nav a { display: block; padding: 0.9rem 0.25rem; font: 700 1.02rem/1.2 var(--font); color: var(--ink); text-decoration: none; }
.nto-mobile-nav .sub-menu { margin: 0 0 0.5rem; padding-left: 1rem; }
.nto-mobile-nav .sub-menu li { border: 0; }
.nto-mobile-nav .sub-menu a { font-weight: 500; padding: 0.4rem 0.25rem; color: var(--text-2); }

/* Search overlay */
.nto-search-overlay { position: fixed; inset: 0; z-index: 110; background: rgba(16,24,32,0.7); display: none; padding: 15vh 1rem 0; }
.nto-search-overlay.is-open { display: block; }
.nto-search-overlay form { max-width: 640px; margin-inline: auto; display: flex; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.nto-search-overlay input[type="search"] { flex: 1; border: 0; font: 500 1.15rem/1 var(--font); padding: 1.2rem 1.4rem; min-width: 0; }
.nto-search-overlay input[type="search"]:focus { outline: none; }
.nto-search-overlay button { border: 0; background: var(--red); color: #fff; padding: 0 1.5rem; cursor: pointer; }

/* ---------- Hero ---------- */
.nto-hero { position: relative; background: var(--ink); color: #d8dee5; overflow: hidden; }
.nto-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 85% -10%, rgba(200,16,46,0.35), transparent 65%),
    radial-gradient(600px 420px at -10% 110%, rgba(14,124,134,0.28), transparent 60%),
    radial-gradient(400px 260px at 70% 90%, rgba(245,183,0,0.12), transparent 60%);
}
.nto-hero .nto-wrap { position: relative; padding-block: clamp(3rem, 8vw, 6rem); }
.nto-hero__inner { max-width: 720px; }
.nto-hero h1 { color: #fff; margin-bottom: 0.6rem; }
.nto-hero h1 em { font-style: normal; color: var(--gold); }
.nto-hero__sub { font-size: clamp(1rem, 2vw, 1.15rem); max-width: 58ch; }
.nto-hero__search { margin-top: 1.75rem; display: flex; background: #fff; border-radius: 999px; overflow: hidden; max-width: 560px; box-shadow: var(--shadow-lift); }
.nto-hero__search input { flex: 1; border: 0; padding: 1rem 1.4rem; font: 500 1rem/1 var(--font); min-width: 0; }
.nto-hero__search input:focus { outline: none; }
.nto-hero__search button { border: 0; background: var(--red); color: #fff; padding: 0 1.4rem; cursor: pointer; display: grid; place-items: center; }
.nto-hero__search button:hover { background: var(--red-dark); }
.nto-hero__hints { margin-top: 0.9rem; font-size: 0.85rem; color: #9fb0bd; }
.nto-hero__hints a { color: #dfe5ea; }

/* Journey action cards over hero bottom edge */
.nto-actions { position: relative; z-index: 5; margin-top: clamp(-3.5rem, -5vw, -2.5rem); }
.nto-actions__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.nto-action {
  display: flex; flex-direction: column; gap: 0.6rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.4rem; text-decoration: none; color: var(--text);
  box-shadow: var(--shadow); transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.nto-action:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--red); }
.nto-action__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--red);
}
.nto-action h3 { margin: 0; font-size: 1.05rem; }
.nto-action p { margin: 0; font-size: 0.9rem; color: var(--text-2); }
.nto-action .nto-link-arrow { margin-top: auto; font-size: 0.88rem; color: var(--red); }

/* ---------- Ticker ---------- */
.nto-ticker { background: var(--ink-2); color: #e8edf2; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.08); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.nto-ticker__inner { display: flex; align-items: center; gap: 0; }
.nto-ticker__label {
  flex: none; display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--gold); color: var(--ink); font: 800 0.72rem/1 var(--font);
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.55rem 0.9rem; align-self: stretch;
}
.nto-ticker__track { display: flex; gap: 2.5rem; padding: 0.55rem 0; white-space: nowrap; animation: nto-marquee 45s linear infinite; }
.nto-ticker:hover .nto-ticker__track, .nto-ticker:focus-within .nto-ticker__track { animation-play-state: paused; }
@keyframes nto-marquee { to { transform: translateX(-50%); } }
.nto-ticker__item { font-size: 0.85rem; color: #cfd6dd; text-decoration: none; }
.nto-ticker__item strong { color: #fff; font-weight: 700; }
.nto-ticker__item .u { color: var(--up); } /* placeholder, overridden below for dark bg */
.nto-ticker__item .up { color: #56c271; font-weight: 700; }
.nto-ticker__item .down { color: #ff8a80; font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .nto-ticker__track { animation: none; flex-wrap: wrap; white-space: normal; }
}

/* ---------- Section head ---------- */
.nto-section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); flex-wrap: wrap; }
.nto-section-title { margin: 0; }

/* ---------- Card grids ---------- */
.nto-grid { display: grid; gap: 1.25rem; }
.nto-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); }
.nto-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.nto-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

.nto-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
}
.nto-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.nto-card__media { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--sand), #ece8de); overflow: hidden; }
.nto-card__media img { width: 100%; height: 100%; object-fit: cover; }
.nto-card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.nto-card__body h3 { margin: 0; font-size: 1.05rem; }
.nto-card__body h3 a { color: var(--ink); text-decoration: none; }
.nto-card__body h3 a:hover { color: var(--red); }
.nto-card__body p { margin: 0; font-size: 0.9rem; color: var(--text-2); }
.nto-card__meta { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; font-size: 0.78rem; color: var(--muted); }
.nto-card__foot { margin-top: auto; padding-top: 0.75rem; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }

/* Commodity card price block */
.nto-price { display: flex; align-items: baseline; gap: 0.5rem; }
.nto-price strong { font-size: 1.35rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.nto-price span { font-size: 0.78rem; color: var(--muted); }
.nto-delta { font: 700 0.8rem/1 var(--font); font-variant-numeric: tabular-nums; }
.nto-delta.up::before { content: "▲ "; font-size: 0.7em; }
.nto-delta.down::before { content: "▼ "; font-size: 0.7em; }
.nto-delta.up { color: var(--up); }
.nto-delta.down { color: var(--down); }
.nto-hs { font: 600 0.72rem/1 ui-monospace, monospace; background: var(--sand); border: 1px solid var(--line); border-radius: 6px; padding: 0.25rem 0.5rem; color: var(--text-2); }

/* Agency card */
.nto-agency-card { flex-direction: row; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; }
.nto-agency-card:hover { border-color: var(--teal); }
.nto-agency-card__logo {
  flex: none; width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sand); color: var(--teal); font: 800 0.8rem/1 var(--font);
}
.nto-agency-card__body h3 { font-size: 0.98rem; margin: 0; }
.nto-agency-card__body p { font-size: 0.82rem; color: var(--text-2); margin: 0.15rem 0 0; }

/* Event card */
.nto-date-badge {
  flex: none; width: 60px; border-radius: 12px; overflow: hidden; text-align: center;
  border: 1px solid var(--line); background: #fff;
}
.nto-date-badge .d { display: block; font: 800 1.4rem/1.5 var(--font); color: var(--ink); }
.nto-date-badge .m { display: block; font: 700 0.68rem/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; background: var(--red); color: #fff; padding: 0.3rem 0; }

/* SME card */
.nto-sme-card .nto-card__media { aspect-ratio: 16/9; }
.nto-sme-card__verified { position: absolute; margin: 0.75rem; }
.nto-sme-card { position: relative; }

/* ---------- Stat tiles & charts (dataviz) ---------- */
.nto-stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.nto-stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem 1.4rem;
}
.nto-section--ink .nto-stat { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.nto-stat__label { font: 600 0.8rem/1.3 var(--font); color: var(--text-2); margin: 0 0 0.4rem; }
.nto-section--ink .nto-stat__label { color: #9fb0bd; }
.nto-stat__value { font: 800 clamp(1.6rem, 3vw, 2.1rem)/1.1 var(--font); color: var(--ink); letter-spacing: -0.02em; }
.nto-section--ink .nto-stat__value { color: #fff; }
.nto-stat__delta { font: 700 0.8rem/1 var(--font); margin-top: 0.4rem; }
.nto-stat__delta.up { color: var(--up); }
.nto-section--ink .nto-stat__delta.up { color: #56c271; }

.nto-chart-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; }
.nto-chart-card h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.nto-chart-card .sub { font-size: 0.8rem; color: var(--muted); margin: 0 0 1rem; }
.nto-chart { width: 100%; }
.nto-chart svg { display: block; width: 100%; height: auto; }
.nto-chart text { font-family: var(--font); }
.nto-legend { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 0.75rem; font-size: 0.8rem; color: var(--text-2); }
.nto-legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.nto-legend i { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.nto-chart-tip {
  position: fixed; z-index: 90; pointer-events: none; opacity: 0;
  background: var(--ink); color: #fff; font: 600 0.78rem/1.4 var(--font);
  padding: 0.5rem 0.7rem; border-radius: 8px; box-shadow: var(--shadow-lift);
  transition: opacity 0.1s; max-width: 240px;
}
.nto-chart-tip.is-on { opacity: 1; }
.nto-table-wrap { overflow-x: auto; }
table.nto-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.nto-table th, .nto-table td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
.nto-table th { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.nto-table td.num { font-variant-numeric: tabular-nums; }

/* ---------- Wizard ---------- */
.nto-wizard { max-width: 860px; margin-inline: auto; }
.nto-wizard__progress { display: flex; gap: 0.4rem; margin-bottom: 1.75rem; }
.nto-wizard__progress i { height: 6px; flex: 1; border-radius: 3px; background: var(--line); }
.nto-wizard__progress i.done { background: var(--red); }
.nto-wizard__step-label { font: 700 0.78rem/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.nto-wizard h2 { margin-bottom: 1.25rem; }
.nto-choice-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.nto-choice {
  display: flex; flex-direction: column; gap: 0.3rem; text-align: left;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem; cursor: pointer; font: inherit; transition: border-color 0.15s, transform 0.15s;
}
.nto-choice:hover { border-color: var(--red); transform: translateY(-2px); }
.nto-choice strong { color: var(--ink); font-size: 1rem; }
.nto-choice small { color: var(--text-2); font-size: 0.82rem; }
.nto-choice .nto-hs { align-self: flex-start; margin-top: 0.3rem; }
.nto-wizard__back { background: none; border: 0; color: var(--teal); font: 700 0.9rem/1 var(--font); cursor: pointer; padding: 0.5rem 0; margin-bottom: 1rem; display: inline-flex; gap: 0.4rem; align-items: center; }

.nto-plan { counter-reset: step; }
.nto-plan__meta { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.nto-plan__step {
  position: relative; padding: 1.25rem 1.25rem 1.25rem 4rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 0.9rem;
}
.nto-plan__step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 1.1rem; top: 1.2rem;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--gold); font: 800 1rem/34px var(--font); text-align: center;
}
.nto-plan__step h3 { margin: 0 0 0.3rem; font-size: 1.02rem; }
.nto-plan__step p { margin: 0 0 0.5rem; font-size: 0.92rem; color: var(--text-2); }
.nto-plan__agency { font-size: 0.8rem; color: var(--muted); display: inline-flex; align-items: center; gap: 0.4rem; }
.nto-plan__actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.nto-form { max-width: 640px; }
.nto-field { display: flex; flex-direction: column; gap: 0.35rem; margin: 0 0 1.1rem; }
.nto-field label { font: 700 0.88rem/1.3 var(--font); color: var(--ink); }
.nto-field .req { color: var(--red); }
.nto-field input:not([type="file"]), .nto-field textarea, .nto-field select {
  font: 500 0.95rem/1.4 var(--font); color: var(--text);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 0.75rem 0.9rem; background: #fff; width: 100%;
}
.nto-field input:focus, .nto-field textarea:focus, .nto-field select:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(14,124,134,0.15); }
.nto-hp { position: absolute !important; left: -9999px; }
.nto-field--toggle label { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 0.7rem; align-items: center; font-weight: 500; cursor: pointer; }
.nto-field--toggle input { width: 20px; height: 20px; accent-color: var(--red); }
.nto-field--toggle .nto-form-note { grid-column: 2; margin: 0; }
.nto-field input[type="color"] { width: 64px; height: 40px; padding: 2px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; }

/* Owner dashboard listing rows */
.nto-my-listing { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.1rem 1.25rem; margin-bottom: 1rem; flex-wrap: wrap; }
.nto-my-listing__thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--sand); flex: none; }
.nto-my-listing__title { flex: 1; min-width: 180px; }
.nto-my-listing__title h3 { margin: 0; font-size: 1.02rem; }
.nto-my-listing__status { font: 700 0.72rem/1 var(--font); letter-spacing: 0.06em; text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: 999px; }
.nto-my-listing__status.publish { background: #e5f3e5; color: var(--up); }
.nto-my-listing__status.pending { background: var(--gold-soft); color: #7a5c00; }
.nto-my-listing__status.hidden { background: var(--sand); color: var(--muted); }
details.nto-panel { background: var(--sand); border-radius: var(--radius-lg); padding: 0; margin: 0.75rem 0 1.5rem; width: 100%; }
details.nto-panel summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 1rem 1.25rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.nto-panel summary::after { content: "+"; font-size: 1.3rem; color: var(--red); }
details.nto-panel[open] summary::after { content: "–"; }
details.nto-panel > div { padding: 0 1.25rem 1.25rem; }
.nto-form-note { font-size: 0.82rem; color: var(--muted); }
.nto-notice { border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-weight: 600; }
.nto-notice--ok { background: #e5f3e5; color: var(--up); }
.nto-notice--warn { background: var(--gold-soft); color: #7a5c00; }

/* ---------- Page & article layout ---------- */
.nto-page-head { background: var(--ink); color: #cfd6dd; padding-block: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.nto-page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% -20%, rgba(200,16,46,0.3), transparent 65%); }
.nto-page-head .nto-wrap { position: relative; }
.nto-page-head h1 { color: #fff; margin: 0.25rem 0 0; }
.nto-breadcrumbs { font-size: 0.8rem; color: #9fb0bd; }
.nto-breadcrumbs a { color: #dfe5ea; text-decoration: none; }
.nto-breadcrumbs a:hover { color: var(--gold); }
.nto-content { max-width: 780px; }
.nto-content-wrap { display: grid; gap: 3rem; }
@media (min-width: 960px) { .nto-content-wrap { grid-template-columns: minmax(0, 1fr) 320px; } }
.nto-aside > * { background: var(--sand); border-radius: var(--radius-lg); padding: 1.4rem; margin-bottom: 1.25rem; }
.nto-aside h3 { font-size: 0.95rem; }
.nto-meta-dl { margin: 0; }
.nto-meta-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.nto-meta-row:last-child { border: 0; }
.nto-meta-row dt { color: var(--text-2); font-weight: 600; }
.nto-meta-row dd { margin: 0; text-align: right; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }

.nto-prose h2 { margin-top: 1.75em; }
.nto-prose img { border-radius: var(--radius-lg); }
.nto-prose blockquote { border-left: 4px solid var(--gold); margin: 1.5em 0; padding: 0.25em 0 0.25em 1.25em; color: var(--text-2); font-style: italic; }

/* Pagination */
.nto-pagination { display: flex; gap: 0.4rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.nto-pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 0.6rem;
  border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 700; color: var(--ink);
}
.nto-pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.nto-pagination a.page-numbers:hover { border-color: var(--red); color: var(--red); }

/* ---------- Filters row ---------- */
.nto-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.nto-filters a {
  font: 700 0.82rem/1 var(--font); text-decoration: none; color: var(--text-2);
  border: 1.5px solid var(--line); border-radius: 999px; padding: 0.55rem 1rem;
}
.nto-filters a:hover, .nto-filters a.is-active { border-color: var(--ink); color: var(--ink); background: var(--gold-soft); }

/* ---------- CTA band ---------- */
.nto-cta-band { background: linear-gradient(120deg, var(--red), #8f0b21 60%, var(--ink)); color: #fff; }
.nto-cta-band .nto-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-block: clamp(2rem, 4vw, 3rem); }
.nto-cta-band h2 { color: #fff; margin: 0 0 0.25rem; }
.nto-cta-band p { margin: 0; color: rgba(255,255,255,0.85); }

/* ---------- Footer ---------- */
.nto-footer { background: var(--ink); color: #aeb8c2; font-size: 0.9rem; }
.nto-footer a { color: #dfe5ea; text-decoration: none; }
.nto-footer a:hover { color: var(--gold); }
.nto-footer__grid { display: grid; gap: 2.5rem; padding-block: clamp(2.5rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.nto-footer h3 { color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.nto-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.nto-footer__contact li { display: flex; gap: 0.6rem; align-items: start; }
.nto-footer__contact .nto-icon { flex: none; margin-top: 3px; color: var(--gold); }
.nto-footer__social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.nto-footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.07); }
.nto-footer__social a:hover { background: var(--red); color: #fff; }
.nto-footer__bar { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; color: #7f8a94; }
.nto-footer__bar a { color: #aeb8c2; }
.nto-footer__brand { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 1rem; }
.nto-footer__brand .nto-brand__name { color: #fff; }
.nto-footer__brand .nto-brand__name small { color: #8a97a3; }

/* ---------- Utilities ---------- */
.nto-center { text-align: center; }
.nto-mt-2 { margin-top: 2rem; }
.nto-muted { color: var(--muted); }

@media print {
  .nto-topbar, .nto-header, .nto-ticker, .nto-footer, .nto-cta-band, .nto-wizard__back, .nto-plan__actions { display: none !important; }
  body { font-size: 12pt; }
  .nto-plan__step { break-inside: avoid; border-color: #999; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
