/* hero-dashboard.css
 *
 * Product-demo chrome, extracted from content on 2026-08-31. This styles a
 * PICTURE OF THE PRODUCT, not the website. Nothing in here may reference a
 * website token, and nothing in here belongs in style.css.
 *
 * Was inline in: wp_block 17 (the homepage hero)
 *
 * SPLIT BY MEASURED CONTAINMENT, NOT BY NAME. These demos reuse the site's
 * own gn- namespace (the hero band itself is website design and lives in the same style block), so a prefix split would have moved a
 * website rule into here or left a demo rule behind, and the name tells you
 * nothing about which. scripts/css-scope.sh asked the DOM which elements
 * each rule matches and whether they all sit inside a demo container.
 * A rule matching nothing moved only if a class in its selector is one the
 * demo already owns; otherwise it stayed. Thirteen rules stayed, including the whole .gn-hero-* band and, critically,
 * the "#gn-hero-full *" universal reset: it matches 836 elements, 26 of them
 * OUTSIDE the demo, so it is scoped wider than the thing it belongs to and
 * moving it would have changed the hero.
 */

.gn-ping {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    animation: gn-radar 5s ease-out infinite;
    animation-delay: 2s;
    pointer-events: none;
    width: 0; height: 0;
    opacity: 0;
}
.gn-ping-2 { animation-delay: 3.65s; border-color: rgba(0,178,177,0.45); }
.gn-ping-3 { animation-delay: 5.3s; border-color: rgba(241,181,61,0.4); }
@keyframes gn-radar {
    0%   { width:0; height:0; opacity:0.5; border-width:2px; }
    30%  { opacity:0.22; }
    100% { width:760px; height:760px; opacity:0; border-width:1px; }
}
.gn-flow svg { width: 100%; height: 100%; overflow: visible; }
.gn-m-frame {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 19px;
    overflow: hidden;
    box-shadow:
        0 -25px 70px rgba(0,15,50,0.55),
        0 -8px 30px rgba(0,178,177,0.1);
}
.gn-m-main {
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 19px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: var(--wp--preset--font-family--body);
    color: var(--hero-ink);
}

.gn-m-header {
    height: 54px;
    min-height: 54px;
    max-height: 54px;
    background: var(--hero-primary);
    display: flex;
    align-items: center;
    padding: 0 24px;
    justify-content: space-between;
    flex-shrink: 0;
    overflow: hidden;
}
.gn-m-logo {
    height: 20px !important;
    max-height: 20px !important;
    width: auto !important;
    max-width: none !important;
    display: block !important;
    align-self: center;
    object-fit: contain;
}
.gn-m-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--hero-white);
    font-size: 12px;
    font-weight: 600;
}
.gn-m-user-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--hero-accent);
    box-shadow: 0 0 8px rgba(0,178,177,0.6);
    animation: gn-dot-pulse 2.5s ease-in-out infinite;
    animation-delay: 2s;
}
@keyframes gn-dot-pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.gn-m-body {
    flex: 1;
    display: flex;
    min-height: 0;
}
.gn-m-sidebar::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 48px;
    background: #262a44;
    z-index: 0;
}
.gn-m-nav-title {
    color: var(--hero-white);
    font-size: 14px;
    font-weight: 700;
    padding: 22px 22px 16px 64px;
    position: relative;
    z-index: 1;
}
.gn-m-nav-row {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.65);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.4s ease, color 0.4s ease;
    position: relative;
    z-index: 1;
}
.gn-m-nav-row::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: transparent;
    transition: background 0.4s ease;
    z-index: 2;
}
.gn-m-row-icon {
    width: 48px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
    transition: color 0.4s ease;
}
.gn-m-row-icon svg { width: 16px; height: 16px; }
.gn-m-row-label {
    flex: 1;
    padding: 10px 16px;
}
.gn-m-nav-row.active {
    background: var(--hero-steel);
    color: var(--hero-white);
}
.gn-m-nav-row.active::before { background: var(--hero-accent); }
.gn-m-nav-row.active .gn-m-row-icon { color: var(--hero-white); }
.gn-m-nav-row.clicking {
    background: rgba(0,178,177,0.18);
    transition: background 0.12s ease;
}
.gn-m-toolbar {
    height: 42px;
    background: var(--hero-ink);
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 24px;
    flex-shrink: 0;
}
.gn-m-tool {
    color: rgba(255,255,255,0.85);
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.gn-m-tool svg { width: 12px; height: 12px; }

.gn-m-tabs {
    background: #f5f6fa;
    display: flex;
    border-bottom: 1px solid #e0e3eb;
    padding: 0 24px;
    flex-shrink: 0;
}
.gn-m-tab {
    padding: 14px 18px;
    font-size: 12px;
    font-weight: 600;
    color: #6a7390;
    border-bottom: 2px solid transparent;
}
.gn-m-tab.active {
    color: var(--hero-primary);
    border-bottom-color: var(--hero-primary);
}

.gn-m-content-body {
    flex: 1;
    position: relative;
    overflow: hidden;
}
.gn-m-panel {
    position: absolute;
    inset: 22px 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    overflow: hidden;
}
.gn-m-panel.active {
    opacity: 1;
    visibility: visible;
}
.gn-m-panel-title {
    font-family: var(--wp--preset--font-family--heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--hero-ink);
    margin-bottom: 18px;
}

.gn-m-section-band {
    background: var(--hero-steel);
    color: var(--hero-white);
    padding: 7px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 4px 4px 0 0;
    margin-top: 12px;
}
.gn-m-section-band:first-of-type { margin-top: 0; }
.gn-m-section-band svg { width: 12px; height: 12px; }

.gn-m-fields {
    background: var(--hero-white);
    border: 1px solid #e0e3eb;
    border-top: none;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    border-radius: 0 0 4px 4px;
}
.gn-m-field { display: flex; flex-direction: column; gap: 2px; }
.gn-m-field-label {
    font-size: 9px;
    font-weight: 700;
    color: var(--hero-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.gn-m-field-value {
    font-size: 12px;
    color: var(--hero-ink);
    font-weight: 500;
}
.gn-m-list-row {
    display: grid;
    align-items: center;
    padding: 11px 16px;
    border-bottom: 1px solid #f0f2f7;
    font-size: 11px;
}
.gn-m-list-row:last-child { border-bottom: none; }
.gn-m-list-row.head {
    background: #f5f6fa;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    color: #6a7390;
    padding: 8px 16px;
}
.gn-m-list-policies { grid-template-columns: 100px 1fr 80px 100px; gap: 12px; }
.gn-m-list-claims   { grid-template-columns: 90px 80px 1fr 100px; gap: 12px; }
.gn-m-list-docs     { grid-template-columns: 24px 1fr 80px; gap: 12px; }
.gn-m-list-tasks    { grid-template-columns: 1fr 90px 70px; gap: 12px; }

.gn-m-id { font-family: monospace; color: var(--hero-primary); font-weight: 700; }
.gn-m-name { color: var(--hero-ink); font-weight: 600; }
.gn-m-amount { color: var(--hero-ink); font-weight: 700; font-family: monospace; text-align: right; }
.gn-m-date { color: #6a7390; font-family: monospace; }
.gn-m-pill {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
}
.gn-m-pill.active { background: var(--hero-accent); color: var(--hero-white); }
.gn-m-pill.pending { background: var(--hero-cta-hover); color: var(--hero-white); }
.gn-m-pill.review { background: var(--hero-steel); color: var(--hero-white); }
.gn-m-pill.settled { background: var(--hero-pale-steel); color: var(--hero-ink); }
.gn-m-pill.investigating { background: var(--hero-cta); color: var(--hero-white); }
.gn-m-pill.high { background: var(--hero-cta); color: var(--hero-white); }
.gn-m-pill.med { background: var(--hero-cta-hover); color: var(--hero-white); }
.gn-m-pill.low { background: var(--hero-pale-steel); color: var(--hero-ink); }

.gn-m-doc-icon {
    width: 22px;
    height: 22px;
    background: rgba(0,78,170,0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hero-primary);
}
.gn-m-doc-icon svg { width: 12px; height: 12px; }
.gn-pop.active {
    opacity: 1;
    visibility: visible;
    animation: gn-card-float 6s ease-in-out infinite;
}
@keyframes gn-card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.gn-pop-header {
    background: var(--hero-primary);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--hero-white);
}
.gn-pop-header.alert {
    background: var(--hero-cta);
}
.gn-pop-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gn-pop-title svg { width: 14px; height: 14px; }
.gn-pop-badge {
    background: var(--hero-accent);
    color: var(--hero-white);
    font-size: 9px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.gn-pop-badge.warn { background: var(--hero-cta-hover); }
.gn-pop-badge.high { background: var(--hero-white); color: var(--hero-cta); }
.gn-pop-badge.draft { background: var(--hero-pale-steel); color: var(--hero-ink); }
.gn-pop-badge.count { background: rgba(255,255,255,0.2); color: var(--hero-white); }
.gn-pop-amount {
    padding: 14px 16px;
    border-bottom: 1px solid #e0e3eb;
}
.gn-pop-amount-label {
    font-size: 9px;
    color: #6a7390;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}
.gn-pop-amount-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--hero-primary);
    margin-top: 2px;
}
.gn-pop-amount-sub {
    font-size: 10px;
    color: #6a7390;
    margin-top: 1px;
}
.gn-pop-meta {
    background: var(--hero-white);
    padding: 4px 0;
}
.gn-pop-meta-row {
    padding: 7px 16px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
}
.gn-pop-meta-row.divider {
    border-top: 1px solid #e0e3eb;
    margin-top: 4px;
    padding-top: 11px;
}
.gn-pop-meta-label { color: #6a7390; font-weight: 600; }
.gn-pop-meta-value { color: var(--hero-ink); font-weight: 700; font-family: monospace; }
.gn-pop-tag-row {
    padding: 12px 16px;
    background: var(--hero-white);
    border-top: 1px solid #e0e3eb;
}
.gn-pop-tag {
    background: rgba(0,178,177,0.1);
    border: 1px solid rgba(0,178,177,0.3);
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 10px;
    font-weight: 700;
    color: var(--hero-accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
}
.gn-pop-tag svg { width: 11px; height: 11px; }
.gn-pop-question {
    font-size: 12px;
    color: var(--hero-ink);
    line-height: 1.5;
    margin-bottom: 14px;
}
.gn-pop-question strong { font-weight: 700; color: var(--hero-primary); }

.gn-pop-field { margin-bottom: 10px; }
.gn-pop-field:last-child { margin-bottom: 0; }
.gn-pop-field-label {
    font-size: 9px;
    font-weight: 700;
    color: var(--hero-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}
.gn-pop-select {
    background: #f5f6fa;
    border: 1px solid #e0e3eb;
    border-radius: 5px;
    padding: 7px 10px;
    font-size: 11px;
    color: var(--hero-ink);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.gn-pop-select::after {
    content: '▾';
    color: #6a7390;
    font-size: 10px;
}
.gn-pop-textarea {
    background: #f5f6fa;
    border: 1px solid #e0e3eb;
    border-radius: 5px;
    padding: 8px 10px;
    font-size: 10px;
    color: var(--hero-ink);
    min-height: 48px;
    line-height: 1.5;
}

.gn-pop-checks {
    background: var(--hero-white);
    padding: 4px 0 8px;
}
.gn-pop-check {
    padding: 7px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--hero-ink);
    font-weight: 600;
}
.gn-pop-check-box {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: var(--hero-white);
    border: 1.5px solid #c0c8d8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.gn-pop-check.checked .gn-pop-check-box {
    background: var(--hero-accent);
    border-color: var(--hero-accent);
}
.gn-pop-check.checked .gn-pop-check-box::after {
    content: '✓';
    color: var(--hero-white);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.gn-pop-actions {
    background: #f5f6fa;
    border-top: 1px solid #e0e3eb;
    padding: 10px 16px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
.gn-pop-btn {
    padding: 7px 14px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.gn-pop-btn.secondary {
    background: transparent;
    color: #6a7390;
    border: 1px solid #c0c8d8;
}
.gn-pop-btn.primary {
    background: var(--hero-cta);
    color: var(--hero-white);
}

/* Was inline in wp_block 17 (gw-hero) until 4 September 2026; moved by the
   audit's CSS pass so git, review and the theme comparison can see it. Demo-only rules by css-scope measurement. */
.gn-radar-origin { position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 1;
    pointer-events: none; }
.gn-flow { position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: min(94vw, 1240px);
    height: 400px;
    z-index: 6;
    pointer-events: none;
    mask-image: linear-gradient(to top, black 0%, black 30%, transparent 92%);
    -webkit-mask-image: linear-gradient(to top, black 0%, black 30%, transparent 92%);
    opacity: 0;
    animation: gn-flow-fade 0.5s ease 2s forwards; }
.gn-mockup-stage { position: absolute;
    bottom: var(--gn-mockup-bottom);
    left: 50%;
    transform: translateX(-50%);
    width: min(88%, 1140px);
    height: var(--gn-mockup-height);
    z-index: 10; }
.gn-m-frame-overlay { position: absolute;
    inset: 0;
    z-index: 100;
    border-radius: 19px;
    padding: 2px;
    background: conic-gradient(from var(--gn-frame-angle, 0deg),
        var(--hero-primary), var(--hero-ink), var(--hero-steel), var(--hero-pale-steel),
        var(--hero-accent), var(--hero-cta-hover), var(--hero-cta), var(--hero-purple), var(--hero-primary));
    -webkit-mask:
        linear-gradient(var(--hero-white) 0 0) content-box,
        linear-gradient(var(--hero-white) 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    animation: gn-frame-spin 8s linear infinite;
    animation-delay: 2s;
    pointer-events: none; }
.gn-m-sidebar { width: 220px;
    background: var(--hero-ink);
    flex-shrink: 0;
    position: relative; }
.gn-m-content { flex: 1;
    background: #f5f6fa;
    display: flex;
    flex-direction: column;
    min-width: 0; }
.gn-m-list { background: var(--hero-white);
    border: 1px solid #e0e3eb;
    border-top: none;
    border-radius: 0 0 4px 4px;
    overflow: hidden; }
.gn-pop { position: absolute;
    top: 96px;
    right: 36px;
    width: 290px;
    background: var(--hero-white);
    border-radius: 12px;
    box-shadow:
        0 25px 60px rgba(0,15,50,0.45),
        0 0 0 1px rgba(0,178,177,0.15);
    overflow: hidden;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    font-family: var(--wp--preset--font-family--body); }
.gn-pop-template { background: #f5f6fa;
    padding: 8px 16px;
    font-size: 11px;
    color: #6a7390;
    font-weight: 600;
    border-bottom: 1px solid #e0e3eb; }
.gn-pop-body { padding: 14px 16px;
    background: var(--hero-white); }
@media (max-width: 1023px) {
  .gn-mockup-stage { position: absolute;
        bottom: var(--gn-mockup-bottom);
        left: 50%;
        transform: translateX(-50%);
        width: 74%;
        max-width: 576px;
        height: var(--gn-mockup-height); }
  .gn-flow { height: 280px;
        width: 95vw; }
  .gn-pop { width: 160px;
        right: 11px;
        top: 61px; }
  .gn-m-sidebar { width: 144px; }
}
@media (max-width: 599px) {
  .gn-mockup-stage { position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 0; }
  .gn-m-frame { display: none; }
  .gn-m-frame-overlay { display: none; }
  .gn-pop { display: none !important; }
  .gn-flow { height: 110vh;
        width: 200vw;
        max-width: 200vw; }
}
@keyframes gn-flow-fade {
    to { opacity: 1; }
}
@keyframes gn-frame-spin {
    to { --gn-frame-angle: 360deg; }
}

/* §413: strips in a rounded window's corners are rounded themselves. */
.gn-m-header { border-radius: 19px 19px 0 0; }
.gn-m-sidebar { border-bottom-left-radius: 19px; }
.gn-m-content { border-bottom-right-radius: 19px; }
.gn-pop-header { border-radius: 12px 12px 0 0; }
.gn-pop-actions { border-radius: 0 0 12px 12px; }
