/* ==========================================================================
   Oracle Reloaded - Clean Blue & White Interactive Showcase
   Philosophy: "Every click matters."
   ========================================================================== */

:root {
    --bg-white: #ffffff;
    --bg-soft: #f4f8ff;
    --bg-tint: #eaf2ff;
    --bg-card: #ffffff;

    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-900: #1e3a8a;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    --border-light: #e2e8f0;
    --border-blue: #bfdbfe;

    --green-bg: #ecfdf5;
    --green-border: #6ee7b7;
    --green-text: #047857;

    --red-bg: #fef2f2;
    --red-border: #fca5a5;
    --red-text: #dc2626;

    --shadow-sm: 0 2px 8px rgba(30, 58, 138, 0.05);
    --shadow-md: 0 10px 30px -8px rgba(30, 58, 138, 0.1);
    --shadow-lg: 0 20px 45px -12px rgba(37, 99, 235, 0.16);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-white);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-white);
    overflow-x: hidden;
}

::selection {
    background: var(--blue-100);
    color: var(--blue-900);
}

/* Subtle Top Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
    z-index: 1000;
    transition: width 0.08s linear;
}

/* Container */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow 0.25s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.06);
}

.nav-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    text-decoration: none;
    color: var(--blue-700);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--blue-600);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.94rem;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.18s var(--ease-smooth), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--blue-600);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
    background: var(--blue-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.36);
}

.btn-outline {
    background: #ffffff;
    color: var(--blue-700);
    border-color: var(--blue-200);
}

.btn-outline:hover {
    background: var(--blue-50);
    border-color: var(--blue-500);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.88rem 1.7rem;
    font-size: 1rem;
    border-radius: 12px;
}

/* ==========================================================================
   1. Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 5.5rem 0 4.75rem;
    background: linear-gradient(180deg, #eff6ff 0%, #f8fbff 55%, #ffffff 100%);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.browser-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--blue-200);
    color: var(--blue-700);
    font-size: 0.84rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.6rem);
    font-weight: 800;
    color: var(--blue-900);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hero-title span {
    color: var(--blue-600);
}

.hero-lead-card {
    max-width: 720px;
    margin: 0 auto 2.2rem;
    padding: 1.35rem 1.85rem;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px -12px rgba(37, 99, 235, 0.12);
}

.hero-subtitle {
    font-size: clamp(1.04rem, 1.75vw, 1.18rem);
    color: var(--text-secondary);
    line-height: 1.68;
    text-wrap: balance;
    margin: 0;
}

.hero-subtitle strong {
    color: var(--blue-900);
    font-weight: 700;
}

.hero-subline {
    margin-top: 0.9rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--blue-100);
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--blue-600);
    letter-spacing: -0.01em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 0;
}

.hero-highlights-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.pill-tag {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--blue-700);
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
}

/* ==========================================================================
   Shared Section Styling
   ========================================================================== */
.section {
    padding: 5rem 0;
}

.section-soft {
    background: var(--bg-soft);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-header {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 3rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-600);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: var(--blue-900);
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.02rem;
}

/* ==========================================================================
   2. Core Highlights Grid (4 Interactive Cards)
   ========================================================================== */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.highlights-grid .feature-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.15rem;
    transition: transform 0.28s var(--ease-smooth), box-shadow 0.28s ease, border-color 0.28s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--blue-200);
    box-shadow: var(--shadow-lg);
}

.card-kicker {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--blue-600);
    background: var(--blue-50);
    padding: 0.26rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.65rem;
}

.card-title {
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--blue-900);
    margin-bottom: 0.35rem;
}

.card-tagline {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--blue-600);
    margin-bottom: 0.65rem;
}

.card-list {
    list-style: none;
    display: grid;
    gap: 0.45rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.card-list li {
    position: relative;
    padding-left: 1.15rem;
}

.card-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--blue-600);
    font-weight: 800;
}

.card-list strong {
    color: var(--text-primary);
}

/* Designated Styled GIF Container */
.gif-stage {
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1.5px dashed #93c5fd;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.feature-card:hover .gif-stage {
    border-color: var(--blue-500);
    background: linear-gradient(135deg, #e0edff 0%, #dbeafe 100%);
}

.gif-stage.has-media {
    border-style: solid;
    border-color: var(--blue-200);
    background: #ffffff;
}

.gif-placeholder {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--blue-700);
    background: #ffffff;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.gif-placeholder::before {
    content: "▶";
    font-size: 0.72rem;
    color: var(--blue-600);
}

.gif-media {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
}

/* ==========================================================================
   Dedicated Helper Panels Section (Add Activity, Activity Details, Inventory)
   ========================================================================== */
.panels-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.panels-grid .feature-card {
    padding: 1.5rem;
}

.panels-grid .gif-stage {
    min-height: 145px;
}

@media (max-width: 960px) {
    .panels-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Dedicated Collaboration Chat Spotlight Section
   ========================================================================== */
.collab-card {
    background: var(--bg-card);
    border: 1px solid var(--border-blue);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 2.25rem;
}

.collab-card .gif-stage {
    min-height: 240px;
}

@media (max-width: 860px) {
    .collab-card {
        grid-template-columns: 1fr;
        padding: 1.75rem;
    }
}

/* ==========================================================================
   3. Tabbed Complete Feature Guide (Clean & Easy to Browse)
   ========================================================================== */
.tabs-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 2.25rem;
}

.tab-btn {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    background: #ffffff;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    border-color: var(--blue-200);
    color: var(--blue-700);
}

.tab-btn.active {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.24);
}

.tab-panel {
    display: none;
    animation: fadeUp 0.3s var(--ease-smooth);
}

.tab-panel.active {
    display: block;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.directory-grid.single-col-centered {
    grid-template-columns: minmax(0, 680px);
    justify-content: center;
}

.dir-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.85rem;
    transition: transform 0.22s var(--ease-smooth), border-color 0.22s ease, box-shadow 0.22s ease;
}

.dir-card:hover {
    transform: translateY(-3px);
    border-color: var(--blue-200);
    box-shadow: var(--shadow-md);
}

.dir-card h3 {
    font-size: 1.04rem;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 0.45rem;
}

.dir-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 0.55rem;
}

.dir-card p:last-child,
.dir-card p:has(+ ul:not(:has(li))) {
    margin-bottom: 0;
}

.dir-card > div:not(:has(*)),
.dir-card ul:not(:has(li)) {
    display: none;
}

.dir-card ul {
    list-style: none;
    display: grid;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.dir-card ul li {
    position: relative;
    padding-left: 1rem;
}

.dir-card ul li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--blue-600);
    font-weight: 700;
}

/* Red Different Date Warning Live Preview Badge */
.date-warning-demo {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--red-bg);
    border: 1px solid var(--red-border);
    color: var(--red-text);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
}

/* ==========================================================================
   4. Philosophy & Footer
   ========================================================================== */
.philosophy-box {
    background: var(--blue-700);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 3.25rem 2.25rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.philosophy-box h2 {
    font-size: clamp(1.85rem, 3.4vw, 2.55rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 1.35rem;
}

.philosophy-box p {
    max-width: 650px;
    margin: 0 auto 1.6rem;
    color: #dbeafe;
    font-size: 1.02rem;
}

.philosophy-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #dbeafe;
    margin: 0 auto 1.75rem;
}

.philosophy-eyebrow::before,
.philosophy-eyebrow::after {
    content: "";
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.philosophy-note {
    max-width: 600px;
    margin: 0 auto 1.4rem;
    padding: 0.25rem 0 0.25rem 1.25rem;
    border-left: 3px solid rgba(255, 255, 255, 0.45);
    text-align: left;
    color: #e0edff;
    font-size: 1.06rem;
    line-height: 1.75;
}

.philosophy-note strong {
    color: #ffffff;
    font-weight: 700;
}

.btn-white {
    background: #ffffff;
    color: var(--blue-700);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
}

.btn-white:hover {
    background: var(--blue-50);
    color: var(--blue-900);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
}

.implemented-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.implemented-tags span {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.32rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

.footer {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 3rem 0 2.5rem;
    text-align: center;
}

.footer-quote {
    font-size: 1.12rem;
    font-style: italic;
    font-weight: 500;
    color: var(--blue-900);
    margin-bottom: 0.3rem;
}

.footer-cite {
    display: block;
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue-600);
    margin-bottom: 1.5rem;
}

.footer-meta {
    font-size: 0.86rem;
    color: var(--text-muted);
}

.footer-disclaimer {
    margin-top: 0.75rem;
    font-size: 0.68rem;
    line-height: 1.4;
    color: var(--text-muted);
    opacity: 0.8;
}

/* ==========================================================================
   Toast & GIF Lightbox
   ========================================================================== */
.toast-stack {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 950;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--blue-200);
    border-left: 4px solid var(--blue-600);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 0.86rem;
    font-weight: 500;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
    animation: fadeUp 0.22s var(--ease-smooth);
}

.toast.is-alert {
    border-left-color: var(--red-text);
}

.gif-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gif-lightbox.open {
    display: flex;
}

.gif-lightbox img {
    max-width: min(960px, 92vw);
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* Scroll Reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s var(--ease-smooth), transform 0.55s var(--ease-smooth);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .nav-links {
        display: none;
    }

    .directory-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 4rem 0 3.5rem;
    }
}

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

/* ==========================================================================
   Scoped Mini-UI Component: Faux OFSC Dispatch Console (.faux-ofsc-*)
   Demonstrates Oracle Reloaded Route Auto-Refresh
   ========================================================================== */
.faux-ofsc-container {
    width: 100%;
    max-width: 500px;
    height: 345px;
    margin: 0 auto;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    user-select: none;
    text-align: left;
    position: relative;
}

/* Top Dark Oracle Reloaded Bar */
.faux-ofsc-topbar {
    background: #2f2e2c;
    padding: 5px 10px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.faux-ofsc-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.faux-ofsc-brand-main {
    color: #26c6da;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.faux-ofsc-brand-sub {
    color: #b8b5ad;
    font-size: 6.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    margin-top: 2px;
}

.faux-ofsc-live-badge {
    font-size: 9px;
    font-weight: 600;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.faux-ofsc-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.faux-ofsc-container.is-paused .faux-ofsc-live-dot {
    background: #94a3b8;
    box-shadow: none;
}

/* Dispatch Console Sub-Header */
.faux-ofsc-header {
    background: #f3f1ed;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.faux-ofsc-title-group {
    min-width: 0;
}

.faux-ofsc-title {
    font-size: 12.5px;
    font-weight: 800;
    color: #161513;
    line-height: 1.15;
    white-space: nowrap;
}

.faux-ofsc-subtitle {
    font-size: 9px;
    color: #57534e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.faux-ofsc-controls {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.faux-ofsc-select {
    background: #ffffff;
    border: 1px solid #c7c4be;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 9px;
    color: #334155;
    white-space: nowrap;
}

.faux-ofsc-select-btn {
    background: #ffffff;
    border: 1px solid #c7c4be;
    border-radius: 4px;
    padding: 2px 6px;
    font-family: inherit;
    font-size: 9px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.faux-ofsc-select-btn:hover,
.faux-ofsc-select-btn.is-open {
    background: #eff6ff;
    border-color: #0068c9;
    color: #0068c9;
}

/* Interactive Auto Refresh Pill Toggle */
.faux-ofsc-refresh-btn {
    background: #0068c9;
    color: #ffffff;
    border: 1px solid #005bb2;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 9.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 104, 201, 0.35);
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.faux-ofsc-refresh-btn:hover {
    background: #0058ad;
}

.faux-ofsc-refresh-btn:active {
    transform: scale(0.96);
}

.faux-ofsc-refresh-btn.is-off {
    background: #e2e8f0;
    color: #475569;
    border-color: #cbd5e1;
    box-shadow: none;
}

.faux-ofsc-refresh-btn.is-off:hover {
    background: #cbd5e1;
}

.faux-ofsc-date-nav {
    font-size: 9px;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.faux-ofsc-date-arrow {
    color: #64748b;
    font-weight: 400;
}

/* Oracle Redwood Geometric Accent Strip */
.faux-ofsc-redwood-strip {
    height: 5px;
    background: repeating-linear-gradient(
        115deg,
        #e5e0d8 0px,
        #e5e0d8 14px,
        #6d5a7a 14px,
        #6d5a7a 20px,
        #d4b46a 20px,
        #d4b46a 24px,
        #4a4453 24px,
        #4a4453 30px
    );
    border-top: 1px solid #d6d3cd;
    border-bottom: 1px solid #d6d3cd;
    flex-shrink: 0;
}

/* Split-Pane Body */
.faux-ofsc-body {
    flex: 1;
    display: flex;
    min-height: 0;
    background: #ffffff;
}

/* Left Tree Pane */
.faux-ofsc-sidebar {
    width: 34%;
    border-right: 1px solid #d6d3cd;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    overflow: hidden;
}

.faux-ofsc-searchbar {
    padding: 5px 6px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 4px;
}

.faux-ofsc-searchbox {
    flex: 1;
    border: 1px solid #94a3b8;
    border-radius: 3px;
    padding: 2px 5px;
    font-size: 9px;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
}

.faux-ofsc-tree {
    padding: 4px 0;
    font-size: 8.5px;
    color: #334155;
    line-height: 1.75;
    overflow: hidden;
}

.faux-ofsc-tree-node {
    padding: 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.faux-ofsc-tree-node.lvl-1 { padding-left: 12px; }
.faux-ofsc-tree-node.lvl-2 { padding-left: 18px; }
.faux-ofsc-tree-node.lvl-3 { padding-left: 24px; }
.faux-ofsc-tree-node.lvl-4 { padding-left: 30px; }

.faux-ofsc-tree-node.is-selected {
    background: #0068c9;
    color: #ffffff;
    font-weight: 700;
    padding-top: 1px;
    padding-bottom: 1px;
    margin-top: 2px;
}

/* Right Timeline / Gantt Pane */
.faux-ofsc-timeline-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
    background: #ffffff;
}

.faux-ofsc-timeline-head {
    height: 26px;
    background: #f8f7f5;
    border-bottom: 1px solid #d6d3cd;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.faux-ofsc-res-col {
    width: 78px;
    flex-shrink: 0;
    padding: 0 6px;
    font-size: 8.5px;
    font-weight: 700;
    color: #334155;
    border-right: 1px solid #d6d3cd;
    height: 100%;
    display: flex;
    align-items: center;
}

.faux-ofsc-hours-track {
    flex: 1;
    height: 100%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    align-items: flex-end;
    padding-bottom: 3px;
}

.faux-ofsc-hour-label {
    font-size: 8px;
    color: #64748b;
    text-align: left;
    padding-left: 2px;
}

/* Red Current-Time Pill on Header */
.faux-ofsc-clock-pill {
    position: absolute;
    bottom: 2px;
    transform: translateX(-50%);
    background: #b94a3e;
    color: #ffffff;
    font-size: 8.5px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 2px;
    z-index: 6;
    line-height: 1.25;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transition: left 0.35s ease, background 0.2s ease;
    white-space: nowrap;
}

.faux-ofsc-container.is-paused .faux-ofsc-clock-pill {
    background: #64748b;
}

/* Gantt Grid & Route Row */
.faux-ofsc-grid-area {
    flex: 1;
    display: flex;
    position: relative;
    overflow: hidden;
}

.faux-ofsc-res-list {
    width: 78px;
    flex-shrink: 0;
    border-right: 1px solid #d6d3cd;
    background: #ffffff;
}

.faux-ofsc-res-row {
    height: 26px;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 6px;
    font-size: 8px;
    color: #1e293b;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.faux-ofsc-gantt-canvas {
    flex: 1;
    position: relative;
    background-image: linear-gradient(to right, rgba(148, 163, 184, 0.35) 1px, transparent 1px);
    background-size: calc(100% / 9) 100%;
}

/* Route Activity Track */
.faux-ofsc-route-row {
    height: 26px;
    border-bottom: 1px solid #e5e7eb;
    background-image: radial-gradient(rgba(148, 163, 184, 0.22) 1px, transparent 1px);
    background-size: 5px 5px;
    position: relative;
    display: flex;
    align-items: center;
    transition: background-color 0.25s ease;
}

.faux-ofsc-route-row.is-refreshing {
    background-color: rgba(37, 99, 235, 0.14);
}

.faux-ofsc-route-bar {
    position: absolute;
    left: 5%;
    width: 82%;
    height: 15px;
    display: flex;
    align-items: stretch;
    border-left: 1.5px solid #475569;
    border-right: 1.5px solid #475569;
    padding: 1px 2px;
    gap: 1px;
}

.faux-ofsc-block {
    height: 100%;
    font-size: 7.5px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    padding: 0 3px;
    overflow: hidden;
    white-space: nowrap;
    border: 0.5px solid rgba(15, 23, 42, 0.25);
}

.faux-ofsc-block.travel { background: #ccfbf1; flex: 0.7; }
.faux-ofsc-block.green  { background: #4cb050; color: #052e16; flex: 1.1; }
.faux-ofsc-block.yellow { background: #facc15; flex: 1.4; }
.faux-ofsc-block.lunch  { background: #a3e635; flex: 0.95; }
.faux-ofsc-block.pink   { background: #fca5a5; flex: 1.25; }

/* Vertical Red Current-Time Line */
.faux-ofsc-now-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1.5px;
    background: #c94a38;
    z-index: 5;
    pointer-events: none;
    transition: left 0.35s ease, background 0.2s ease, opacity 0.2s ease;
}

.faux-ofsc-container.is-paused .faux-ofsc-now-line {
    background: #94a3b8;
    opacity: 0.7;
}

/* Subtle Status Footer */
.faux-ofsc-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 4px 10px;
    font-size: 9px;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .faux-rec-wrap .faux-ofsc-header,
    #faux-ofsc-autorefresh .faux-ofsc-header {
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .faux-ctc-wrap .faux-ofsc-select,
    .faux-ofsc-date-nav {
        display: none;
    }

    .faux-rec-wrap .faux-ofsc-controls,
    #faux-ofsc-autorefresh .faux-ofsc-controls {
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   Scoped Mini-UI Component: Faux OFSC Inventory List (.faux-inv-*)
   Demonstrates Oracle Reloaded Field Support Tool Links
   ========================================================================== */
.faux-inv-container {
    width: 100%;
    max-width: 500px;
    height: 330px;
    margin: 0 auto;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f3f1ed;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    user-select: none;
    text-align: left;
    position: relative;
}

/* Top Dark Oracle Reloaded Bar */
.faux-inv-topbar {
    background: #2f2e2c;
    padding: 5px 10px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.faux-inv-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.faux-inv-brand-main {
    color: #26c6da;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.faux-inv-brand-sub {
    color: #b8b5ad;
    font-size: 6.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    margin-top: 2px;
}

/* Inventory Header */
.faux-inv-header {
    background: #f3f1ed;
    padding: 5px 12px 7px;
    flex-shrink: 0;
}

.faux-inv-crumb {
    font-size: 8.5px;
    color: #44403c;
    margin-bottom: 2px;
}

.faux-inv-header-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.faux-inv-title {
    font-size: 13px;
    font-weight: 800;
    color: #161513;
}

.faux-inv-actions {
    display: flex;
    gap: 8px;
    font-size: 8px;
    font-weight: 600;
    color: #44403c;
    white-space: nowrap;
}

/* White Content Sheet with Redwood Top Edge */
.faux-inv-sheet {
    flex: 1;
    margin: 0 8px 0;
    background: #ffffff;
    border-radius: 6px 6px 0 0;
    border: 1px solid #d6d3cd;
    border-bottom: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.faux-inv-redwood {
    height: 5px;
    background: repeating-linear-gradient(
        115deg,
        #e5e0d8 0px,
        #e5e0d8 14px,
        #6d5a7a 14px,
        #6d5a7a 20px,
        #d4b46a 20px,
        #d4b46a 24px,
        #4a4453 24px,
        #4a4453 30px
    );
    flex-shrink: 0;
}

.faux-inv-content {
    flex: 1;
    padding: 8px 10px 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    overflow: hidden;
}

/* Centered Floating Oracle Reloaded Info Box */
.faux-inv-panel {
    width: 225px;
    margin: 0 auto;
    background: #f5f9ff;
    border: 1px solid #bfdbfe;
    border-radius: 7px;
    padding: 7px 10px 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
    flex-shrink: 0;
}

.faux-inv-panel-title {
    font-size: 10.5px;
    font-weight: 800;
    color: #0068c9;
    margin-bottom: 3px;
}

.faux-inv-meta {
    font-size: 8.5px;
    color: #334155;
    line-height: 1.5;
}

.faux-inv-copy-val {
    color: #0068c9;
    font-weight: 700;
    cursor: pointer;
    border-radius: 3px;
    padding: 0 2px;
    transition: background 0.15s ease;
}

.faux-inv-copy-val:hover {
    background: #dbeafe;
}

.faux-inv-panel-btns {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 6px;
}

.faux-inv-primary-btn {
    background: #0068c9;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 4px 9px;
    font-size: 8.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.12s ease;
}

.faux-inv-primary-btn:hover {
    background: #0054a6;
}

.faux-inv-primary-btn:active {
    transform: scale(0.96);
}

/* Customer Equipment Table */
.faux-inv-section-head {
    font-size: 10px;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 4px;
}

.faux-inv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 8.5px;
}

.faux-inv-table th {
    text-align: left;
    font-weight: 600;
    color: #64748b;
    padding: 3px 4px;
    border-bottom: 1px solid #cbd5e1;
    font-size: 8px;
}

.faux-inv-table td {
    padding: 5px 4px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
    white-space: nowrap;
}

.faux-inv-serial-cell {
    display: flex;
    align-items: center;
    gap: 5px;
}

.faux-inv-serial-link {
    color: #0068c9;
    font-weight: 700;
    cursor: pointer;
}

.faux-inv-serial-link:hover {
    text-decoration: underline;
}

/* Inline Light-Blue Pill Buttons (MTA Inspector / Insight) */
.faux-inv-pill-btn {
    background: #eff6ff;
    color: #0068c9;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 2px 7px;
    font-size: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.faux-inv-pill-btn:hover {
    background: #0068c9;
    border-color: #0068c9;
    color: #ffffff;
}

.faux-inv-pill-btn:active {
    transform: scale(0.95);
}

.faux-inv-resource-peek {
    font-size: 9.5px;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    opacity: 0.85;
}

/* Interactive Launch Status Bar at Bottom of Mini-UI */
.faux-inv-launch-bar {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 8px;
    background: #0f172a;
    color: #f8fafc;
    border-radius: 7px;
    padding: 6px 10px;
    font-size: 8.8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.28);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.faux-inv-launch-bar.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.faux-inv-launch-tag {
    color: #38bdf8;
    font-weight: 700;
    flex-shrink: 0;
}

@media (max-width: 520px) {
    .faux-inv-actions {
        display: none;
    }
}

/* ==========================================================================
   Scoped Mini-UI Component: Faux OFSC Click-to-Copy Popover (.faux-ctc-*)
   Builds on .faux-ofsc-* Dispatch Console base
   ========================================================================== */
.faux-ctc-wrap {
    position: relative;
    height: 345px;
}

.faux-ctc-popover {
    position: absolute;
    top: 60px;
    right: 10px;
    bottom: 8px;
    width: 286px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
    z-index: 12;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-size: 8.5px;
    color: #1e293b;
}

.faux-ctc-pop-head {
    padding: 6px 10px 4px;
    font-size: 10px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.faux-ctc-hint {
    font-size: 7.5px;
    font-weight: 600;
    color: #0068c9;
    background: #eff6ff;
    padding: 1px 6px;
    border-radius: 999px;
}

.faux-ctc-pop-body {
    flex: 1;
    padding: 5px 9px;
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Fake Mini Map Thumbnail in Upper-Right */
.faux-ctc-minimap {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 64px;
    height: 52px;
    border-radius: 3px;
    border: 1px solid #cbd5e1;
    background:
        linear-gradient(125deg, transparent 42%, #ffffff 42%, #ffffff 48%, transparent 48%),
        linear-gradient(35deg, transparent 58%, #ffffff 58%, #ffffff 64%, transparent 64%),
        linear-gradient(135deg, #e2e8f0 0%, #eef2f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.faux-ctc-map-pin {
    width: 14px;
    height: 14px;
    border-radius: 50% 50% 50% 0;
    background: #65a30d;
    border: 1.5px solid #ffffff;
    transform: rotate(-45deg);
    display: grid;
    place-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.faux-ctc-map-pin span {
    transform: rotate(45deg);
    color: #ffffff;
    font-size: 7px;
    font-weight: 800;
    line-height: 1;
}

/* Two-Column OFSC Tooltip Key-Value Rows */
.faux-ctc-row {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    line-height: 1.42;
}

.faux-ctc-pop-body > .faux-ctc-row:nth-child(-n+6) {
    padding-right: 68px;
}

.faux-ctc-label {
    text-align: right;
    color: #64748b;
    font-size: 8px;
    white-space: nowrap;
}

.faux-ctc-val {
    color: #1e293b;
    font-size: 8.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.faux-ctc-val.is-bold {
    font-weight: 700;
}

/* Interactive Click-to-Copy Field Button */
.faux-ctc-copyable {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 5px;
    margin-left: -5px;
    max-width: calc(100% + 5px);
    overflow: hidden;
    white-space: nowrap;
    border-radius: 4px;
    border: 1px solid transparent;
    background: transparent;
    font-family: inherit;
    font-size: 8.5px;
    color: #1e293b;
    cursor: pointer;
    text-align: left;
    transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.faux-ctc-copyable.is-bold {
    font-weight: 700;
}

.faux-ctc-copyable:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #0068c9;
}

.faux-ctc-copyable::after {
    content: "Copy";
    font-size: 7px;
    font-weight: 700;
    color: #0068c9;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.14s ease;
}

.faux-ctc-copyable:hover::after {
    opacity: 1;
}

.faux-ctc-copyable.is-copied {
    background: #ecfdf5;
    border-color: #6ee7b7;
    color: #047857;
}

.faux-ctc-copyable.is-copied::after {
    content: "Copied ✓";
    color: #047857;
    opacity: 1;
}

/* Bottom Blue Action Links */
.faux-ctc-pop-links {
    padding: 5px 9px;
    border-top: 1px solid #e2e8f0;
    background: #fafafa;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 8px;
    font-weight: 600;
    color: #0068c9;
    flex-shrink: 0;
}

/* Self-Contained Copy Toast Inside Mini-UI */
.faux-ctc-toast {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: #0f172a;
    color: #ffffff;
    font-size: 8.5px;
    font-weight: 600;
    padding: 5px 9px;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.3);
    z-index: 20;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.faux-ctc-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 520px) {
    .faux-ctc-popover {
        width: calc(100% - 20px);
        left: 10px;
    }
}

/* ==========================================================================
   Scoped Mini-UI Component: Faux OFSC Recent Jobs & Recent Routes (.faux-rec-*)
   Builds on .faux-ofsc-* Dispatch Console base
   ========================================================================== */
.faux-rec-wrap {
    position: relative;
    height: 330px;
}

.faux-rec-wrap .faux-ofsc-controls {
    gap: 4px;
}

.faux-rec-wrap .faux-ofsc-refresh-btn {
    padding: 2.5px 8px;
    font-size: 8.5px;
}

.faux-rec-dd-anchor {
    position: relative;
    display: inline-block;
}

.faux-rec-dd-btn {
    background: #ffffff;
    border: 1px solid #93c5fd;
    border-radius: 4px;
    padding: 2.5px 7px;
    font-family: inherit;
    font-size: 8.5px;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.14);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.faux-rec-dd-btn:hover,
.faux-rec-dd-btn.is-open {
    background: #eff6ff;
    border-color: #0068c9;
    color: #0068c9;
}

.faux-rec-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 185px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.2);
    z-index: 25;
    padding: 4px;
    display: none;
    flex-direction: column;
    gap: 2px;
}

.faux-rec-menu.is-open {
    display: flex;
}

.faux-rec-menu-right {
    left: auto;
    right: 0;
}

.faux-rec-menu-head {
    font-size: 7.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    padding: 3px 6px 2px;
}

.faux-rec-item {
    width: 100%;
    border: none;
    background: transparent;
    border-radius: 4px;
    padding: 5px 7px;
    text-align: left;
    font-family: inherit;
    font-size: 8.5px;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    transition: background 0.14s ease, color 0.14s ease;
}

.faux-rec-item:hover {
    background: #eff6ff;
    color: #0068c9;
}

.faux-rec-item.is-current {
    background: #dbeafe;
    color: #0054a6;
    font-weight: 700;
}

.faux-rec-item-sub {
    font-size: 7.5px;
    color: #64748b;
    flex-shrink: 0;
}

.faux-rec-block-highlight {
    outline: 2px solid #0068c9;
    outline-offset: 1px;
    z-index: 2;
}

/* ==========================================================================
   Scoped Mini-UI Component: Faux OFSC Add Activity Helper Panel (.faux-add-*)
   Demonstrates Route Timeline, 24h/12h Toggle, Quick Types & Per TOS Request
   ========================================================================== */
.faux-add-container {
    width: 100%;
    max-width: 500px;
    height: 350px;
    margin: 0 auto;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f3f1ed;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    user-select: none;
    text-align: left;
    position: relative;
}

.faux-add-topbar {
    background: #2f2e2c;
    padding: 5px 10px 4px;
    flex-shrink: 0;
}

.faux-add-brand-main {
    display: block;
    color: #26c6da;
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1;
}

.faux-add-brand-sub {
    display: block;
    color: #b8b5ad;
    font-size: 6px;
    font-weight: 600;
    letter-spacing: 0.16em;
    margin-top: 2px;
}

.faux-add-header {
    padding: 4px 10px 6px;
    background: #f3f1ed;
    flex-shrink: 0;
}

.faux-add-crumb {
    font-size: 8px;
    color: #44403c;
}

.faux-add-title {
    font-size: 12px;
    font-weight: 800;
    color: #161513;
    line-height: 1.2;
}

.faux-add-sub {
    font-size: 8px;
    color: #57534e;
}

.faux-add-sheet {
    flex: 1;
    margin: 0 8px;
    background: #ffffff;
    border: 1px solid #d6d3cd;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.faux-add-redwood {
    height: 4px;
    background: repeating-linear-gradient(
        115deg,
        #e5e0d8 0px,
        #e5e0d8 12px,
        #6d5a7a 12px,
        #6d5a7a 18px,
        #d4b46a 18px,
        #d4b46a 22px,
        #4a4453 22px,
        #4a4453 28px
    );
    flex-shrink: 0;
}

.faux-add-body {
    flex: 1;
    padding: 7px 8px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    overflow-y: auto;
    min-height: 0;
}

/* Blue-Tinted Activity Helper Panel */
.faux-add-helper {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 7px;
    padding: 6px 7px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.faux-add-helper-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    flex-wrap: wrap;
}

.faux-add-helper-label {
    font-size: 8px;
    font-weight: 800;
    color: #0369a1;
    letter-spacing: 0.02em;
}

.faux-add-helper-tech {
    font-size: 8px;
    font-weight: 600;
    color: #1e293b;
}

.faux-add-clock-controls {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.faux-add-clock-pill {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 1px 6px;
    font-size: 7.5px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.faux-add-format-btn {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 999px;
    padding: 1px 6px;
    font-family: inherit;
    font-size: 7.5px;
    font-weight: 700;
    color: #1d4ed8;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.14s ease, color 0.14s ease;
}

.faux-add-format-btn:hover {
    background: #2563eb;
    color: #ffffff;
}

/* Inner Route Timeline Box */
.faux-add-timeline {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 5px;
    padding: 5px 6px;
    max-height: 92px;
    overflow-y: auto;
}

.faux-add-tl-head {
    display: flex;
    justify-content: space-between;
    font-size: 7.5px;
    font-weight: 700;
    color: #0369a1;
    margin-bottom: 4px;
}

.faux-add-tl-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 2.5px 0;
    border-top: 1px solid #f1f5f9;
    font-size: 8px;
}

.faux-add-tl-left {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.faux-add-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.faux-add-dot.gray  { background: #94a3b8; }
.faux-add-dot.blue  { background: #3b82f6; }
.faux-add-dot.green { background: #22c55e; }
.faux-add-dot.amber { background: #f59e0b; }

.faux-add-status {
    font-size: 6.5px;
    font-weight: 700;
    padding: 0.5px 4px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
}

.faux-add-status.started {
    background: #dcfce7;
    color: #15803d;
}

.faux-add-time {
    font-size: 7.5px;
    font-weight: 700;
    color: #0369a1;
    white-space: nowrap;
}

/* Quick-Action Buttons Row */
.faux-add-quick-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.faux-add-qbtn {
    background: #ffffff;
    border: 1px solid #93c5fd;
    border-radius: 5px;
    padding: 2.5px 6px;
    font-family: inherit;
    font-size: 7.5px;
    font-weight: 700;
    color: #0068c9;
    cursor: pointer;
    transition: background 0.14s ease, color 0.14s ease, transform 0.1s ease;
}

.faux-add-qbtn:hover {
    background: #dbeafe;
}

.faux-add-qbtn:active {
    transform: scale(0.96);
}

.faux-add-qbtn.is-primary {
    background: #0068c9;
    border-color: #0054a6;
    color: #ffffff;
    margin-left: auto;
}

.faux-add-qbtn.is-primary:hover {
    background: #0054a6;
}

/* Native OFSC Form Fields Below Helper Panel */
.faux-add-field {
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 4px 7px;
    background: #ffffff;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.faux-add-field.is-flash {
    border-color: #0068c9;
    background: #eff6ff;
}

.faux-add-field-lbl {
    font-size: 7px;
    color: #64748b;
    display: block;
    line-height: 1.1;
}

.faux-add-field-val {
    font-size: 8.5px;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faux-add-checks {
    display: flex;
    gap: 10px;
    font-size: 8px;
    color: #334155;
    padding: 0 2px;
}

.faux-add-checks label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

/* ==========================================================================
   Scoped Mini-UI Component: Faux OFSC Activity Details & Summary Panel (.faux-act-*)
   Demonstrates Persistent Floating Activity Summary Panel + Click-to-Copy + Collapse
   ========================================================================== */
.faux-act-container {
    width: 100%;
    max-width: 500px;
    height: 350px;
    margin: 0 auto;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f3f1ed;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    user-select: none;
    text-align: left;
    position: relative;
}

.faux-act-topbar {
    background: #2f2e2c;
    padding: 5px 10px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.faux-act-search-pill {
    background: #1f1e1c;
    border: 1px solid #44403c;
    border-radius: 3px;
    padding: 2px 7px;
    font-size: 7.5px;
    color: #a8a29e;
}

.faux-act-header {
    padding: 4px 10px 6px;
    background: #f3f1ed;
    flex-shrink: 0;
}

.faux-act-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.faux-act-subrow {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    flex-wrap: wrap;
}

.faux-act-route-btn {
    background: #0068c9;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 2px 7px;
    font-family: inherit;
    font-size: 7.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.14s ease;
}

.faux-act-route-btn:hover {
    background: #0054a6;
}

.faux-act-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 7.5px;
    font-weight: 600;
    color: #44403c;
    white-space: nowrap;
}

.faux-act-timer-badge {
    background: #dc2626;
    color: #ffffff;
    border-radius: 3px;
    padding: 1.5px 5px;
    font-size: 7.5px;
    font-weight: 700;
}

.faux-act-sheet {
    flex: 1;
    margin: 0 8px;
    background: #ffffff;
    border: 1px solid #d6d3cd;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.faux-act-sheet-body {
    flex: 1;
    padding: 8px 182px 8px 12px;
    overflow-y: auto;
    font-size: 8.5px;
    color: #334155;
    transition: padding-right 0.18s ease;
}

.faux-act-container:has(.faux-act-summary.is-collapsed) .faux-act-sheet-body {
    padding-right: 12px;
}

.faux-act-notice {
    font-size: 7.5px;
    color: #64748b;
    margin-bottom: 6px;
    line-height: 1.35;
}

.faux-act-review-btn {
    display: inline-block;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 3px;
    padding: 2.5px 7px;
    font-size: 7.5px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.faux-act-cust-title {
    font-size: 10px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 5px;
}

.faux-act-cust-field {
    margin-bottom: 5px;
    line-height: 1.3;
}

.faux-act-cust-lbl {
    display: block;
    font-size: 7.2px;
    color: #64748b;
}

.faux-act-cust-val {
    font-size: 8.2px;
    color: #1e293b;
}

.faux-act-cust-val.is-link {
    color: #0068c9;
    font-weight: 700;
    cursor: pointer;
}

.faux-act-cust-val.is-link:hover {
    text-decoration: underline;
}

/* Floating Activity Summary Panel (Right Overlay) */
.faux-act-summary {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 178px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.22);
    overflow: hidden;
    z-index: 14;
}

.faux-act-summary-head {
    background: #0068c9;
    color: #ffffff;
    padding: 5px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 8.5px;
    font-weight: 700;
}

.faux-act-collapse-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 3px;
    padding: 1px 5px;
    font-family: inherit;
    font-size: 7px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.14s ease;
}

.faux-act-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.faux-act-summary-body {
    padding: 5px 7px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 215px;
    overflow-y: auto;
}

.faux-act-summary.is-collapsed .faux-act-summary-body {
    display: none;
}

.faux-act-sum-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    padding: 2px 3px;
    border-radius: 3px;
    font-size: 7.5px;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.14s ease;
}

.faux-act-sum-row.is-copied {
    background: #ecfdf5;
}

.faux-act-sum-lbl {
    color: #64748b;
    white-space: nowrap;
}

.faux-act-sum-btn {
    background: transparent;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 7.6px;
    font-weight: 700;
    color: #0068c9;
    cursor: pointer;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.faux-act-sum-btn:hover {
    text-decoration: underline;
    color: #004c97;
}

@media (max-width: 520px) {
    .faux-act-toolbar,
    .faux-act-search-pill {
        display: none;
    }

    .faux-act-sheet-body {
        padding-right: 12px;
    }
}

/* ==========================================================================
   Scoped Mini-UI Component: Faux OFSC Collaboration Chat Tour (.faux-chat-*)
   Interactive "Click Each Highlighted Section" Walkthrough
   ========================================================================== */
.faux-chat-container {
    width: 100%;
    max-width: 500px;
    min-height: 385px;
    margin: 0 auto;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: linear-gradient(145deg, #f8fafc 0%, #eff6ff 100%);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    padding: 12px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    user-select: none;
    text-align: left;
    align-items: stretch;
}

/* Authentic OFSC Collaboration Chat Panel */
.faux-chat-window {
    background: #f2f0ec;
    border: 1px solid #d6d3cd;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.faux-chat-top {
    background: #f6f4f0;
    border-bottom: 1px solid #e2dfd9;
    padding: 6px 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 9.5px;
    font-weight: 700;
    color: #1c1917;
}

.faux-chat-body {
    flex: 1;
    padding: 10px 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Clickable Highlighted Sections (1–4) */
.faux-chat-hotspot {
    position: relative;
    border: 1.5px solid rgba(220, 38, 38, 0.42);
    border-radius: 5px;
    padding: 4px 5px;
    cursor: pointer;
    background: transparent;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.14s ease;
    text-align: left;
    width: 100%;
    font-family: inherit;
}

.faux-chat-hotspot:hover {
    border-color: #dc2626;
    background: rgba(255, 255, 255, 0.45);
}

.faux-chat-hotspot.is-active {
    border-color: #dc2626;
    box-shadow: 0 0 0 2.5px rgba(220, 38, 38, 0.18);
    background: rgba(255, 255, 255, 0.65);
}

.faux-chat-num {
    position: absolute;
    top: -7px;
    right: -6px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #dc2626;
    color: #ffffff;
    font-size: 8.5px;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 5px rgba(220, 38, 38, 0.35);
    transition: transform 0.18s ease, background 0.18s ease;
}

.faux-chat-hotspot.is-active .faux-chat-num {
    transform: scale(1.15);
    background: #2563eb;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.45);
}

/* Hotspot 1: Smart Header */
.faux-chat-subhead {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 9px;
}

.faux-chat-avatar {
    width: 17px;
    height: 17px;
    border-radius: 3px;
    background: #4a354d;
    color: #ffffff;
    font-size: 7.5px;
    font-weight: 800;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.faux-chat-techlink {
    color: #0068c9;
    font-weight: 700;
    font-size: 9px;
}

/* Hotspot 2: Incoming Click-to-Copy Bubble */
.faux-chat-in-bubble {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    padding: 5px 6px;
    font-size: 8.2px;
    line-height: 1.38;
    color: #1e293b;
}

.faux-chat-smartlink {
    color: #0068c9;
    font-weight: 700;
    text-decoration: underline;
}

/* Joined System Note */
.faux-chat-sys {
    text-align: center;
    font-size: 7.2px;
    color: #78716c;
    line-height: 1.2;
}

/* Hotspot 3: Instant Greeting Outgoing Bubble */
.faux-chat-out-bubble {
    background: #e2e0dc;
    border-radius: 5px;
    padding: 5px 7px;
    font-size: 8.2px;
    color: #1c1917;
    margin-left: 16px;
}

.faux-chat-meta-time {
    display: block;
    text-align: right;
    font-size: 7px;
    color: #78716c;
    margin-top: 2px;
}

/* Hotspot 4: Floating Quick Replies Menu + Green Send Closing Button */
.faux-chat-qr-menu {
    background: #ffffff;
    border: 1px solid #d6d3cd;
    border-radius: 5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 4px;
}

.faux-chat-qr-item {
    padding: 3px 7px;
    font-size: 7.8px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.faux-chat-qr-item:last-child {
    border-bottom: none;
}

.faux-chat-closing-row {
    display: flex;
    justify-content: flex-end;
}

.faux-chat-closing-btn {
    background: #2e7d32;
    color: #ffffff;
    border-radius: 4px;
    padding: 2.5px 7px;
    font-size: 7.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.faux-chat-inputbar {
    background: #ffffff;
    border-top: 1px solid #e2dfd9;
    padding: 5px 8px;
    font-size: 8px;
    color: #94a3b8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Right Explainer Card */
.faux-chat-explainer {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: 9px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.faux-chat-exp-kicker {
    font-size: 7.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #2563eb;
    margin-bottom: 5px;
}

.faux-chat-exp-title {
    font-size: 13px;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 6px;
    line-height: 1.25;
}

.faux-chat-exp-desc {
    font-size: 9.5px;
    color: #475569;
    line-height: 1.5;
}

.faux-chat-exp-nav {
    margin-top: 12px;
    padding-top: 9px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.faux-chat-step-pills {
    display: flex;
    gap: 5px;
}

.faux-chat-step-pill {
    flex: 1;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 6px;
    padding: 4px 0;
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.faux-chat-step-pill:hover {
    background: #dbeafe;
}

.faux-chat-step-pill.is-active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.faux-chat-exp-hint {
    font-size: 8px;
    color: #64748b;
    text-align: center;
}

@media (max-width: 520px) {
    .faux-chat-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Hidden Easter Egg Modal (.grace-modal-*)
   ========================================================================== */
.grace-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.25s var(--ease-smooth);
}

.grace-modal-backdrop[hidden] {
    display: none;
}

.grace-modal-backdrop.is-open {
    opacity: 1;
}

.grace-modal-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border: 1px solid var(--border-blue);
    border-radius: var(--radius-lg);
    padding: 2.35rem 2rem 2rem;
    text-align: center;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
    transform: translateY(12px) scale(0.97);
    transition: transform 0.28s var(--ease-smooth);
}

.grace-modal-backdrop.is-open .grace-modal-card {
    transform: translateY(0) scale(1);
}

.grace-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.18s ease, color 0.18s ease;
}

.grace-modal-close:hover {
    background: var(--blue-50);
    color: var(--blue-700);
}

.grace-modal-emblem {
    width: 52px;
    height: 52px;
    margin: 0 auto 1.15rem;
    border-radius: 50%;
    background: var(--blue-50);
    border: 1px solid var(--blue-200);
    color: var(--blue-600);
    display: grid;
    place-items: center;
}

.grace-modal-message {
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.65;
    color: var(--blue-900);
    margin: 0 auto 1.6rem;
    text-wrap: balance;
}

.grace-modal-dismiss {
    min-width: 120px;
}
