/* ═══════════════════════════════════════════════════
   ONBOARDING — Getting Started (home page)
   Theme-agnostic: gray-alpha borders, NodeOne blue accent
   ═══════════════════════════════════════════════════ */

.n1-onboard {
    position: relative;
    border: 1px solid rgba(128, 128, 128, 0.18);
    border-radius: 24px;
    padding: 40px 32px 32px;
}

@supports (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px)) {
    .n1-onboard {
        background: rgba(59, 130, 246, 0.04);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }
}

.n1-onboard__dismiss {
    position: absolute;
    top: 14px;
    right: 14px;
    border: none;
    background: transparent;
    color: rgba(128, 128, 128, 0.6);
    font-size: var(--text-sm);
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.2s ease;
}

    .n1-onboard__dismiss:hover {
        color: inherit;
    }

/* ── Returning / known-visitor banner ─────────────── */
.n1-onboard__banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(128, 128, 128, 0.18);
    border-radius: 10px;
    font-size: var(--text-sm);
}

.n1-onboard__banner-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Step headings ────────────────────────────────── */
.n1-onboard__step-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: var(--text-md);
    margin-bottom: 14px;
}

.n1-onboard__step-subhead {
    font-size: var(--text-sm);
    opacity: 0.65;
    margin: -8px 0 18px;
}

.n1-onboard__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--bs-body-color);
    border: 1px solid rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.1);
}

.n1-onboard__step {
    height: 100%;
    border: 1px solid rgba(128, 128, 128, 0.15);
    border-radius: 16px;
    padding: 20px;
    margin:3px;
}

.n1-onboard__step-desc {
    font-size: var(--text-base);
    opacity: 0.7;
    margin-bottom: 12px;
}

/* ── Onboard tab strip — fixed-width segmented control, never
      horizontally scrolls, all segments always visible ─────────── */
.n1-onboard__tabs {
    display: flex;
    gap: 2px;
    padding: 3px;
    margin-bottom: 22px;
    border: 1px solid rgba(128, 128, 128, 0.18);
    border-radius: 10px;
}

.n1-onboard__tab {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 6px;
    border-radius: 7px;
    border: none;
    background: transparent;
    color: inherit;
    font-size: var(--text-sm);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: background-color 0.15s ease, opacity 0.15s ease;
    opacity: 0.6;
}

    .n1-onboard__tab:hover {
        opacity: 0.85;
    }

.n1-onboard__tab--active {
    background: rgba(59, 130, 246, 0.08);
    opacity: 1;
}

@media (max-width: 420px) {
    .n1-onboard__tab .emoji-icon {
        display: none;
    }
}

.n1-onboard__panel {
    padding-top: 4px;
}

/* ── Goal tiles (Step 1) ──────────────────────────── */
.n1-goal-grid {
    display: grid;
    /* 3 columns (not 4) — gives each tile enough width for the icon and
       title to sit on one line, and balances 6 goals into two even rows. */
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

@media (max-width: 992px) {
    .n1-goal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .n1-goal-grid {
        grid-template-columns: 1fr;
    }
}

/* Per-goal accent — a small set of RGB triplets so a card can compose
   rgba(var(--n1-goal-accent), N). The card background itself uses a low-
   opacity tint of this (translucent, theme still shows through) rather
   than a solid fill — CLAUDE.md's "no background colors" rule is about
   opaque fills breaking the surface hierarchy, not a translucent wash. */
.n1-goal--purple { --n1-goal-accent: 139, 92, 246; }
.n1-goal--blue   { --n1-goal-accent: 59, 130, 246; }
.n1-goal--teal   { --n1-goal-accent: 20, 184, 166; }
.n1-goal--orange { --n1-goal-accent: 249, 115, 22; }
.n1-goal--indigo { --n1-goal-accent: 99, 102, 241; }

.n1-goal {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 22px 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(128, 128, 128, 0.18);
    background: rgba(var(--n1-goal-accent, 128, 128, 128), 0.06);
    color: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

    .n1-goal:hover {
        border-color: rgba(var(--n1-goal-accent, 59, 130, 246), 0.5);
        background: rgba(var(--n1-goal-accent, 59, 130, 246), 0.1);
        transform: translateY(-2px);
    }

.n1-goal--active {
    background: rgba(var(--n1-goal-accent, 59, 130, 246), 0.14);
}

.n1-goal--recommended {
    border-color: rgba(var(--n1-goal-accent), 0.45);
}

.n1-goal__badge {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: var(--text-xs);
    font-weight: 700;
    color: rgb(var(--n1-goal-accent));
    border: 1px solid rgba(var(--n1-goal-accent), 0.4);
}

.n1-goal__icon {
    width: 176px;
    height: 176px;
    margin: -14px 0 -6px;
    object-fit: contain;
    flex-shrink: 0;
}

.n1-goal__title {
    font-weight: 700;
    font-size: var(--text-md);
    margin-bottom: 6px;
    color: rgb(var(--n1-goal-accent, 33, 33, 33));
}

.n1-goal__desc {
    font-size: var(--text-md);
    opacity: 0.65;
    line-height: 1.4;
}

.n1-goal__cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(var(--n1-goal-accent, 59, 130, 246), 0.15);
    font-size: var(--text-sm);
    font-weight: 700;
    color: rgb(var(--n1-goal-accent, 59, 130, 246));
}

/* ── "Not sure where to start?" hint bar ──────────── */
.n1-goal-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
    padding: 12px 16px;
    border: 1px solid rgba(128, 128, 128, 0.18);
    border-radius: 10px;
    font-size: var(--text-sm);
    opacity: 0.8;
    text-align: center;
}

.n1-goal-hint a {
    font-weight: 700;
    color: rgb(59, 130, 246);
    text-decoration: none;
}

.n1-goal-hint a:hover {
    text-decoration: underline;
}

/* ── Home section emoji icons ─────────────────────── */
.home-feature-tile {
    padding:2px;
    margin:4px;
}
.home-feature-tile__icon {
    display: block;
    font-size: var(--text-lg);
    line-height: 1;
    margin-bottom: 10px;
}

.home-platform-card__icon {
    font-size: var(--text-lg);
    line-height: 1;
}

/* ── Pipeline flow ────────────────────────────────── */
.n1-flow {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.n1-flow__stage {
    display: flex;
    align-items: center;
    gap: 8px;
}

.n1-flow__card {
    border: 1px solid rgba(128, 128, 128, 0.18);
    border-radius: 12px;
    padding: 10px 14px;
    text-align: center;
    min-width: 120px;
    height: 100%;
}

.n1-flow__label {
    font-weight: 700;
    font-size: var(--text-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bs-body-color);
    margin-bottom: 4px;
}

.n1-flow__items {
    font-size: var(--text-xs);
    opacity: 0.6;
    white-space: nowrap;
}

.n1-flow__arrow {
    color: rgba(128, 128, 128, 0.5);
    font-size: var(--text-base);
}

@media (max-width: 768px) {
    .n1-onboard {
        padding: 32px 18px 24px;
    }

    .n1-flow {
        flex-direction: column;
        align-items: center;
    }

    .n1-flow__stage {
        flex-direction: column;
        width: 100%;
    }

    .n1-flow__card {
        width: 100%;
    }

    .n1-flow__arrow {
        transform: rotate(90deg);
    }
}

/* ═══════════════════════════════════════════════════
   SECTION LABEL — pill badge
   ═══════════════════════════════════════════════════ */

.home-section-label {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--bs-body-color);
}

/* centre when inside a text-center parent */
.text-center > .home-section-label {
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════════════════
   FEATURES — n1-feature-card
   ═══════════════════════════════════════════════════ */

/* ── Shared emoji icon ────────────────────────────── */
/*.emoji-icon {*/
    /*display: inline-block;*/
    /*font-size: var(--text-lg);
    line-height: 1;
    flex-shrink: 0;
}*/

.n1-feature-card {
    height: calc(100% - 8px);
    border: 1px solid rgba(128, 128, 128, 0.15);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 24px 22px;
    margin: 4px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

    .n1-feature-card:hover {
        border-color: rgba(59, 130, 246, 0.4);
        transform: translateY(-2px);
    }

.n1-feature-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}


.n1-feature-card__title {
    font-weight: 700;
    font-size: var(--text-md);
    margin: 0;
    line-height: 1.3;
}

.n1-feature-card__desc {
    font-size: var(--text-md);
    opacity: 0.9;
    line-height: 1.55;
    margin-bottom: 14px;
}

.n1-feature-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .n1-feature-card__list li {
        position: relative;
        padding-left: 16px;
        font-size: var(--text-sm);
        opacity: 0.87;
        line-height: 1.7;
    }

        .n1-feature-card__list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.6em;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: rgba(59, 130, 246, 0.5);
        }

/* ═══════════════════════════════════════════════════
   USE CASES — n1-usecase
   ═══════════════════════════════════════════════════ */

.n1-usecase {
    height: calc(100% - 8px);
    border: 1px solid rgba(128, 128, 128, 0.15);
    border-radius: 16px;
    padding: 24px 22px;
    margin: 4px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

    .n1-usecase:hover {
        border-color: rgba(59, 130, 246, 0.4);
        transform: translateY(-2px);
    }

.n1-usecase__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}


.n1-usecase__title {
    font-weight: 700;
    font-size: var(--text-md);
    margin: 0;
    line-height: 1.3;
}

.n1-usecase__desc {
    font-size: var(--text-md);
    opacity: 0.9;
    line-height: 1.55;
    margin-bottom: 16px;
}

.n1-usecase__services {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.n1-usecase__tag {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: var(--bs-body-color);
}

/* ── Audience cards ──────────────────────────────── */

.n1-audience {
    height: calc(100% - 8px);
    border: 1px solid rgba(128, 128, 128, 0.12);
    border-radius: 14px;
    padding: 20px 18px;
    margin: 4px;
    text-align: center;
}

.n1-audience__title {
    font-weight: 700;
    font-size: var(--text-md);
    margin: 0 0 8px;
}

.n1-audience__desc {
    font-size: var(--text-md);
    opacity: 0.9;
    line-height: 1.55;
    margin-bottom: 10px;
}

.n1-audience__tags {
    font-size: var(--text-sm);
    opacity: 0.9;
    letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════
   SLIDE MODE — full-screen horizontal carousel
   Active only when .nodeone-page has .n1-slides-on;
   otherwise the wrappers are inert and the page scrolls.
   ═══════════════════════════════════════════════════ */

body.n1-body-lock {
    overflow: hidden !important;
}

/* theme.scss sets content-visibility:auto on .nodeone-page, which makes it
   the containing block for position:fixed children — the dock, arrows and
   restore pill must anchor to the real viewport */
.nodeone-page {
    content-visibility: visible;
}

.nodeone-page.n1-slides-on {
    overflow: hidden;
}

.n1-slides-on .n1-slides-viewport {
    position: relative;
    overflow: hidden;
}

.n1-slides-on .n1-slides-track {
    display: flex;
    height: 100%;
    transition: transform 0.55s cubic-bezier(0.22, 0.9, 0.28, 1);
    will-change: transform;
}

.n1-slides-on .n1-slide {
    flex: 0 0 100%;
    max-width: 100%;
    height: 100%;
    opacity: 0.25;
    transform: scale(0.98);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.n1-slides-on .n1-slide--active {
    opacity: 1;
    transform: scale(1);
}

/* ── Heading entrance — title/subtitle fade up whenever a slide becomes
   active (n1-slide--active is toggled by vm.activeSlide), so each goal
   slide's title reads as a deliberate "arrival" rather than a static page ── */
@keyframes n1HeadIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.n1-slide--active .nodeone-title-gradient,
.n1-slide--active .nodeone-h2 {
    animation: n1HeadIn 0.45s ease both;
}

.n1-slide--active .nodeone-subtitle {
    animation: n1HeadIn 0.45s 0.08s ease both;
}

/* ── "Try Now" reveal panels — ngAnimate class-based transition for
   ng-animate="'fade-slide'" (API Data / Smart Search / Data Explorer
   Try Now panels share this) ── */
.fade-slide.ng-enter {
    transition: opacity 0.35s ease, transform 0.35s ease;
    opacity: 0;
    transform: translateY(14px);
}

.fade-slide.ng-enter.ng-enter-active {
    opacity: 1;
    transform: translateY(0);
}

.fade-slide.ng-leave {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fade-slide.ng-leave.ng-leave-active {
    opacity: 0;
    transform: translateY(8px);
}

.n1-slides-on .n1-slide__inner {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 16px;
    padding-bottom: 110px; /* keep content clear of the dock */
    -webkit-overflow-scrolling: touch;
    /* spring-back after a rubber-band pull that didn't commit */
    transition: transform 0.4s cubic-bezier(0.22, 0.9, 0.28, 1);
}

/* While the wheel is actively pulling, follow it near-instantly */
.n1-slides-on .n1-slide__inner.n1-stretch-live {
    transition: transform 0.07s linear;
}

/* While a finger drags the track, no easing — 1:1 follow */
.n1-slides-on .n1-slides-track.n1-drag-live {
    transition: none;
}

/* Scroll-mode spacer sections are dead weight inside a slide */
.n1-slides-on .n1-spacer {
    display: none;
}

/* ── Progress bar ─────────────────────────────────── */
.n1-slides-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    background: rgba(59, 130, 246, 0.55);
    transition: width 0.55s cubic-bezier(0.22, 0.9, 0.28, 1);
    z-index: 5;
    pointer-events: none;
}

/* ── Glass dock — doubles as the app footer while in App View.
      Edge-to-edge like a real footer/tab bar instead of a floating
      pill, since the site nav + footer are hidden while this is
      showing (see applySlideModeSideEffects / $rootScope.showNav). */
.n1-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    /*padding: 6px 10px;*/
    border-top: 1px solid rgba(128, 128, 128, 0.25);
    width: 100%;
    overflow-x: auto;
}

@supports (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px)) {
    .n1-dock {
        background: rgba(59, 130, 246, 0.05);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }
}

.n1-dock__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 5px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: inherit;
    /*font-size: var(--text-sm);*/
    font-size: var(--text-lg);
    font-weight: 600;
    white-space: nowrap;
    opacity: 0.55;
    cursor: pointer;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

    .n1-dock__btn:hover {
        opacity: 0.85;
    }

.n1-dock__btn--active {
    opacity: 1;
    background: rgba(59, 130, 246, 0.1);
}

.n1-dock__divider {
    width: 1px;
    align-self: stretch;
    background: rgba(128, 128, 128, 0.3);
    margin: 0 4px;
    flex-shrink: 0;
}

/* ── Prev / next arrows ───────────────────────────────────────────
   Persistent navigation affordance — visible at rest (not just on
   hover) so it's obvious this direction is available, with a brief
   self-terminating "nudge" wiggle on mount to draw the eye. Shown on
   mobile too (previously hidden), sized down for a touch context, so
   swipe always has a visible, tappable fallback.
   ─────────────────────────────────────────────────────────────── */
.n1-slide-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1049;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(128, 128, 128, 0.3);
    background: rgba(128, 128, 128, 0.08);
    color: inherit;
    font-size: var(--text-lg);
    line-height: 1;
    opacity: 0.85;
    cursor: pointer;
    transition: border-color 0.2s ease, opacity 0.2s ease, background 0.2s ease;
    animation: n1ArrowNudge 1.1s ease-in-out 2;
}

@supports (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px)) {
    .n1-slide-arrow {
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }
}

    .n1-slide-arrow:hover:not(:disabled) {
        opacity: 1;
        border-color: rgba(59, 130, 246, 0.5);
        background: rgba(59, 130, 246, 0.08);
    }

    .n1-slide-arrow:disabled {
        opacity: 0.15;
        cursor: default;
        animation: none; /* boundary reached — no nudge toward a direction you can't go */
    }

@keyframes n1ArrowNudge {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50%      { transform: translateY(-50%) translateX(calc(4px * var(--nudge-dir, 1))); }
}

.n1-slide-arrow--prev {
    left: 14px;
    --nudge-dir: -1;
}

.n1-slide-arrow--next {
    right: 14px;
    --nudge-dir: 1;
}

@media (max-width: 767px) {
    .n1-slide-arrow {
        width: 34px;
        height: 34px;
        font-size: var(--text-md);
    }
    .n1-slide-arrow--prev { left: 6px; }
    .n1-slide-arrow--next { right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    .n1-slide-arrow { animation: none; }
}

/* ── Restore pill (scroll mode) ───────────────────── */
.n1-view-restore {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1050;
}

/* ── Back to menu — top-left, mirrors .n1-view-toolbar's top-right ── */
.n1-back-to-menu {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 1050;
}

@media (max-width: 767px) {
    .n1-back-to-menu {
        top: 8px;
        left: 8px;
    }
}

/* ── View toolbar (App View) — account + theme, top-right ─────────
   Same minimal fixed-control language as .n1-slide-arrow / .n1-coach. */
.n1-view-toolbar {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 6px;
}

.n1-view-toolbar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(128, 128, 128, 0.3);
    background: rgba(128, 128, 128, 0.08);
    color: inherit;
    font-size: var(--text-md);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

    .n1-view-toolbar__btn:hover {
        border-color: rgba(59, 130, 246, 0.5);
        background: rgba(59, 130, 246, 0.08);
    }

@supports (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px)) {
    .n1-view-toolbar__btn {
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }
}

@media (max-width: 767px) {
    .n1-view-toolbar {
        top: 8px;
        right: 8px;
    }
    .n1-view-toolbar__btn {
        width: 32px;
        height: 32px;
        font-size: var(--text-base);
    }
}

/* ── Reduced motion ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .n1-slides-on .n1-slides-track,
    .n1-slides-on .n1-slide,
    .n1-slides-on .n1-slide__inner,
    .n1-slides-progress {
        transition: none;
    }
}

/* ═══════════════════════════════════════════════════
   COACH MARK — first-time App View navigation hint
   Shown once ever (localStorage), dismissible, and
   auto-dismissed on the first successful navigation.
   ═══════════════════════════════════════════════════ */
.n1-coach {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100vw - 32px);
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    animation: n1CoachIn 0.4s cubic-bezier(0.22, 0.9, 0.28, 1) both;
}

@supports (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px)) {
    .n1-coach {
        background: rgba(59, 130, 246, 0.08);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }
}

@keyframes n1CoachIn {
    from { opacity: 0; transform: translate(-50%, -8px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

.n1-coach__icon {
    font-size: var(--text-lg);
    line-height: 1;
    flex-shrink: 0;
}

.n1-coach__body { min-width: 0; }

.n1-coach__title {
    font-weight: 700;
    font-size: var(--text-sm);
    line-height: 1.3;
}

.n1-coach__hint {
    font-size: var(--text-sm);
    opacity: 0.75;
    line-height: 1.3;
}

.n1-coach__dismiss {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: inherit;
    opacity: 0.6;
    padding: 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.n1-coach__dismiss:hover { opacity: 1; }

@media (max-width: 480px) {
    .n1-coach__hint { display: none; } /* keep it compact on very small screens */
}

@media (prefers-reduced-motion: reduce) {
    .n1-coach { animation: none; }
}
