/* ══════════════════════════════════════════════════════════
   Portfolio Board — matches site's warm-slate fintech theme
   ══════════════════════════════════════════════════════════ */

.board {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.board__shell {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ── Top bar ───────────────────────────────────────────── */
.board__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(var(--bg-card-rgb), 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    flex: 0 0 auto;
    z-index: 3;
}

.board__top-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.board__top-left .btn-back {
    background: var(--accent-light);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.18s ease;
    font-family: inherit;
}
.board__top-left .btn-back:hover {
    background: var(--accent);
    color: var(--accent-contrast);
    border-color: var(--accent);
}

.board__title-wrap { display: flex; flex-direction: column; gap: 2px; }
.board__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.015em;
    color: var(--text);
}
.board__sub {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

.board__top-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.board__search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 10px 0 32px;
    transition: border-color 0.18s ease;
}
.board__search-wrap:focus-within {
    border-color: var(--accent);
}
.board__search-wrap svg {
    position: absolute;
    left: 10px;
    color: var(--text-muted);
}
.board__search-wrap input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 13px;
    padding: 8px 2px;
    width: 180px;
    font-family: inherit;
}
.board__search-wrap input::placeholder { color: var(--text-muted); }

.board__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s ease;
    font-family: inherit;
}
.board__btn:hover {
    background: var(--accent-light);
    color: var(--text);
    border-color: var(--accent);
}
.board__btn--primary {
    background: var(--accent);
    color: var(--accent-contrast);
    border-color: var(--accent);
}
.board__btn--primary:hover {
    background: var(--text);
    color: var(--accent-contrast);
    border-color: var(--text);
}

/* ── AI Portfolio Summary card ────────────────────────── */
.board__summary {
    margin: 18px 24px 0;
    padding: 22px 24px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
    animation: board-summary-in 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04),
                0 4px 12px rgba(15, 23, 42, 0.04);
}
@keyframes board-summary-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.board__summary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.6;
}

.board__summary-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
    gap: 12px;
}
.board__summary-kicker {
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 700;
    margin-bottom: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.board__summary-kicker::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: board-pulse 2s ease-in-out infinite;
}
@keyframes board-pulse {
    0%, 100% { opacity: 0.35; transform: scale(0.9); }
    50%      { opacity: 1;    transform: scale(1.1); }
}
.board__summary-headline {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.015em;
    line-height: 1.3;
}
.board__summary-refresh {
    width: 34px; height: 34px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
    flex-shrink: 0;
}
.board__summary-refresh:hover {
    color: var(--text);
    border-color: var(--accent);
    background: var(--accent-light);
}
.board__summary-refresh.is-spinning svg {
    animation: board-spin 0.9s linear infinite;
}
@keyframes board-spin { to { transform: rotate(360deg); } }

.board__summary-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
}
@media (max-width: 880px) {
    .board__summary-grid { grid-template-columns: 1fr; }
}

.board__summary-narrative {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-line;
}
.board__summary-narrative.is-loading {
    opacity: 0.5;
}

.board__summary-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.board__summary-highlights li {
    display: flex;
    gap: 10px;
    padding: 10px 14px;
    background: var(--accent-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 12.5px;
    color: var(--text);
    line-height: 1.55;
}
.board__summary-highlights li::before {
    content: '▸';
    color: var(--accent);
    flex-shrink: 0;
    font-size: 11px;
    margin-top: 3px;
}

.board__summary-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.board__summary-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.board__summary-stat-k {
    font-size: 9.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}
.board__summary-stat-v {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

/* ── Canvas ───────────────────────────────────────────── */
.board__canvas-wrap {
    position: relative;
    flex: 1 1 auto;
    overflow: hidden;
    background: var(--bg);
    /* Matching subtle grid — same pattern as body::before across the site */
    background-image:
        linear-gradient(rgba(24, 24, 27, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(24, 24, 27, 0.035) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: 0 0;
    cursor: grab;
}
.board__canvas-wrap.is-panning { cursor: grabbing; }

.board__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: 0 0;
}

.board__graph {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 1;
    transform-origin: 0 0;  /* Match canvas + graph-top so lines stay aligned with dots */
}

/* ── Property Node ────────────────────────────────────── */
.board-node {
    position: absolute;
    width: 230px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    cursor: grab;
    user-select: none;
    transition: border-color 0.18s ease, transform 0.14s ease, box-shadow 0.24s ease;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04),
                0 4px 12px rgba(15, 23, 42, 0.05);
    z-index: 2;
}
.board-node:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06),
                0 12px 28px rgba(15, 23, 42, 0.08);
}
.board-node.is-dragging {
    cursor: grabbing;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    transition: none;
}
.board-node.is-selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-glow),
                0 4px 14px rgba(15, 23, 42, 0.08);
}

.board-node__row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.board-node__postcode {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text);
}
.board-node__country {
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.board-node__score {
    text-align: center;
    padding: 14px 0 16px;
    border-radius: 10px;
    margin-bottom: 12px;
    background: var(--accent-light);
}
.board-node__score-num {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--text);
}
.board-node__score-lbl {
    margin-top: 4px;
    font-size: 10px;
    letter-spacing: 0.16em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}
.board-node--good .board-node__score {
    background: var(--score-good-bg);
}
.board-node--good .board-node__score-num { color: var(--score-good); }
.board-node--good .board-node__score-lbl { color: var(--score-good); }
.board-node--mid .board-node__score {
    background: var(--score-mid-bg);
}
.board-node--mid .board-node__score-num { color: var(--score-mid); }
.board-node--mid .board-node__score-lbl { color: var(--score-mid); }
.board-node--poor .board-node__score {
    background: var(--score-poor-bg);
}
.board-node--poor .board-node__score-num { color: var(--score-poor); }
.board-node--poor .board-node__score-lbl { color: var(--score-poor); }

.board-node__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin-bottom: 14px;
}
.board-node__stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.board-node__stat-k {
    font-size: 9.5px;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}
.board-node__stat-v {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
}

.board-node__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 10.5px;
    color: var(--text-muted);
}
.board-node__date {
    letter-spacing: 0.02em;
}
.board-node__open {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}
.board-node__open:hover { color: var(--text); }

.board-node.is-premium::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 3px;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(90deg, #d97706, #f59e0b, #fbbf24);
}

/* ── Graph edges — Grasshopper-style wires ──────────────── */
.board-edge {
    stroke: var(--accent);
    stroke-opacity: 0.6;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    transition: stroke-opacity 0.18s ease, stroke-width 0.18s ease;
    pointer-events: stroke;
    cursor: pointer;
}
.board-edge--custom {
    stroke-width: 2.6;
    stroke-opacity: 0.8;
    stroke: #9333ea;
}
.board-edge-hit {
    stroke: transparent;
    stroke-width: 18;
    fill: none;
    pointer-events: stroke;
    cursor: pointer;
}
.board-edge:hover,
.board-edge.is-highlighted {
    stroke-opacity: 0.95;
    stroke-width: 2.8;
}
.board-edge--preview {
    stroke: #9333ea;
    stroke-width: 2.6;
    stroke-opacity: 0.7;
    stroke-dasharray: 6 5;
    fill: none;
    pointer-events: none;
}
.board__graph--off .board-edge,
.board__graph--off .board-edge-hit,
.board__graph--off .board-edge-dot { display: none; }

/* ── Top overlay (endpoint dots + preview wire) ─────────── */
.board__graph-top {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
    z-index: 3;  /* Above cards (z:2) so dots / previews are visible */
    transform-origin: 0 0;
}
.board-edge-dot {
    fill: var(--accent);
    stroke: var(--bg);
    stroke-width: 2;
    pointer-events: none;
    filter: drop-shadow(0 1px 2px rgba(37, 99, 235, 0.35));
}
.board-edge-dot--custom {
    fill: #9333ea;
    filter: drop-shadow(0 1px 2px rgba(147, 51, 234, 0.4));
}

/* ── Card ports (Grasshopper input/output handles) ─────── */
.board-node__port {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    cursor: crosshair;
    opacity: 0;
    transition: opacity 0.14s ease, transform 0.14s ease, background 0.14s ease, border-color 0.14s ease;
    z-index: 4;
    padding: 0;
}
.board-node__port--left  { left: -8px; }
.board-node__port--right { right: -8px; }
.board-node:hover .board-node__port,
.board-node.is-connect-pending .board-node__port,
.board__canvas-wrap.is-wiring .board-node__port {
    opacity: 1;
}
.board-node__port:hover,
.board-node__port.is-active {
    background: var(--accent);
    transform: translateY(-50%) scale(1.25);
}
.board-node.is-wire-target {
    border-color: #9333ea !important;
    box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.2);
}
.board-node.is-wiring-source .board-node__port--right,
.board-node.is-wiring-source .board-node__port--left {
    background: #9333ea;
    border-color: #9333ea;
    opacity: 1;
}

/* ── Mode dropdown ────────────────────────────────────── */
.board__mode {
    position: relative;
}
.board__mode-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 260px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    z-index: 8;
    animation: board-mode-menu-in 0.14s ease;
}
@keyframes board-mode-menu-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.board__mode-item {
    display: block;
    padding: 10px 14px;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
    transition: background 0.14s ease;
}
.board__mode-item:last-child { border-bottom: none; }
.board__mode-item:hover { background: var(--accent-light); }
.board__mode-item.is-active {
    background: var(--accent-light);
    font-weight: 600;
}
.board__mode-item-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}
.board__mode-item-desc {
    font-size: 11.5px;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.45;
}
.board__mode-item-check {
    color: var(--accent);
    font-weight: 700;
}

/* Connect mode: highlight pending node */
.board-node.is-connect-pending {
    box-shadow:
        0 10px 40px rgba(147, 51, 234, 0.25),
        0 0 0 2px rgba(147, 51, 234, 0.6);
    border-color: #9333ea;
}
.board__canvas-wrap.is-connect-mode {
    cursor: crosshair;
}
.board__canvas-wrap.is-connect-mode .board-node { cursor: crosshair; }
.board__btn--toggle[aria-pressed="true"] {
    background: #9333ea;
    color: #fff;
    border-color: #9333ea;
}

/* Legend hint when in connect mode */
.board__legend-hint {
    margin-top: 8px;
    padding: 7px 10px;
    background: rgba(147, 51, 234, 0.08);
    border: 1px solid rgba(147, 51, 234, 0.25);
    color: #7e22ce;
    border-radius: 6px;
    font-size: 11.5px;
    line-height: 1.45;
}

/* Edge popover (click a line) */
.board__edge-popover {
    position: absolute;
    z-index: 12;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
    min-width: 220px;
    max-width: 280px;
    font-size: 13px;
    animation: board-edge-pop 0.14s ease;
}
@keyframes board-edge-pop {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.board__edge-popover-title {
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 4px;
}
.board__edge-popover-desc {
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 10px;
}
.board__edge-popover-actions {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}
.board__edge-popover-actions .board__btn {
    padding: 6px 10px;
    font-size: 12px;
}

/* Toolbar toggle state */
.board__btn--toggle[aria-pressed="false"] {
    background: var(--accent-light);
    color: var(--text-muted);
    opacity: 0.75;
}
.board__btn--toggle[aria-pressed="false"]:hover {
    opacity: 1;
}

/* Connections legend */
.board__legend {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px 14px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    max-width: 320px;
    font-size: 12px;
    animation: board-legend-in 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes board-legend-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.board__legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
}
.board__legend-title {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
    font-size: 12.5px;
    letter-spacing: 0.01em;
}
.board__legend-body {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 12px;
}
.board__legend-body strong { color: var(--text); font-weight: 600; }
.board__legend-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}
.board__legend-close:hover { color: var(--text); }
.board__legend.is-hidden { display: none; }

/* ══════════════════════════════════════════════════════
   1. Color tags on cards
   ══════════════════════════════════════════════════════ */
.board-node--tag-shortlisted { border-color: #f59e0b !important; box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.3); }
.board-node--tag-visited     { border-color: #8b5cf6 !important; box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.3); }
.board-node--tag-rejected    { border-color: #ef4444 !important; opacity: 0.55; }
.board-node--tag-followup    { border-color: #06b6d4 !important; box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.3); }

.board-node__tag-dot {
    position: absolute;
    top: 14px;
    right: 50px;        /* clear of the right port and the × button */
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--border);
    border: 2px solid var(--bg-card);
    cursor: pointer;
    transition: transform 0.14s ease;
}
.board-node__tag-dot:hover { transform: scale(1.3); }
.board-node--tag-shortlisted .board-node__tag-dot { background: #f59e0b; }
.board-node--tag-visited     .board-node__tag-dot { background: #8b5cf6; }
.board-node--tag-rejected    .board-node__tag-dot { background: #ef4444; }
.board-node--tag-followup    .board-node__tag-dot { background: #06b6d4; }

/* ══════════════════════════════════════════════════════
   2. Multi-layer connection mode menu
   ══════════════════════════════════════════════════════ */
.board__mode-item-color {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}
.board__mode-item-checkbox {
    margin-left: auto;
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
    flex-shrink: 0;
}
.board__mode-item.is-active .board__mode-item-checkbox {
    border-color: var(--accent);
    background: var(--accent);
}

/* ══════════════════════════════════════════════════════
   3. Frames (containers for grouping cards)
   ══════════════════════════════════════════════════════ */
.board-frame {
    position: absolute;
    background: rgba(37, 99, 235, 0.025);
    border: 2px dashed rgba(37, 99, 235, 0.4);
    border-radius: 14px;
    z-index: 1;
    transform-origin: 0 0;
    pointer-events: auto;
    transition: border-color 0.14s ease, background 0.14s ease;
}
.board-frame:hover { border-color: rgba(37, 99, 235, 0.65); background: rgba(37, 99, 235, 0.04); }
.board-frame.is-dragging { transition: none; cursor: grabbing; }
.board-frame__label {
    position: absolute;
    top: -32px;
    left: 0;
    padding: 5px 12px;
    background: rgba(37, 99, 235, 0.92);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 6px 6px 0 0;
    cursor: grab;
    user-select: none;
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.board-frame__label:hover { background: rgba(29, 78, 216, 0.95); }
.board-frame__remove {
    position: absolute;
    top: -28px;
    right: 0;
    width: 22px;
    height: 22px;
    border: none;
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.14s ease;
}
.board-frame:hover .board-frame__remove { opacity: 1; }
.board-frame__resize {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    cursor: nwse-resize;
    background:
        linear-gradient(135deg, transparent 0%, transparent 50%,
                        rgba(37, 99, 235, 0.55) 50%, rgba(37, 99, 235, 0.55) 100%);
    border-radius: 0 0 14px 0;
    opacity: 0;
    transition: opacity 0.14s ease;
}
.board-frame:hover .board-frame__resize { opacity: 1; }

/* Color variants */
.board-frame--purple { background: rgba(139, 92, 246, 0.025); border-color: rgba(139, 92, 246, 0.4); }
.board-frame--purple .board-frame__label { background: rgba(139, 92, 246, 0.92); }
.board-frame--green  { background: rgba(16, 185, 129, 0.025); border-color: rgba(16, 185, 129, 0.4); }
.board-frame--green  .board-frame__label { background: rgba(16, 185, 129, 0.92); }
.board-frame--amber  { background: rgba(245, 158, 11, 0.025); border-color: rgba(245, 158, 11, 0.4); }
.board-frame--amber  .board-frame__label { background: rgba(245, 158, 11, 0.92); }

/* ══════════════════════════════════════════════════════
   4. Per-card attachment popover
   ══════════════════════════════════════════════════════ */
.board__attach {
    position: absolute;
    z-index: 14;
    width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}
.board__attach-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text);
}
.board__attach-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 0 6px;
    line-height: 1;
}
.board__attach-close:hover { color: var(--text); }
.board__attach-label {
    display: block;
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    margin: 8px 0 4px;
}
.board__attach-input,
.board__attach-textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 7px;
    font-size: 13px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.14s ease;
}
.board__attach-input:focus,
.board__attach-textarea:focus { border-color: var(--accent); }
.board__attach-textarea {
    min-height: 90px;
    resize: vertical;
}
.board__attach-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

/* Attachment indicator on card */
.board-node--has-attachment .board-node__postcode::after {
    content: '🔗';
    margin-left: 6px;
    font-size: 10px;
    opacity: 0.7;
}

/* ── Sticky notes (standalone text on canvas) ──────────── */
.board-sticky {
    position: absolute;
    width: 200px;
    min-height: 140px;
    padding: 18px 18px 14px;
    border-radius: 4px;
    background: #fef3c7;
    color: #1f2937;
    font-size: 13px;
    line-height: 1.5;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08),
                0 8px 24px rgba(15, 23, 42, 0.12);
    cursor: grab;
    user-select: none;
    z-index: 2;
    overflow: hidden;
    transform-origin: top left;
    transform: rotate(-0.5deg);
    transition: box-shadow 0.18s ease;
}
.board-sticky:hover {
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.1),
                0 14px 32px rgba(15, 23, 42, 0.18);
}
.board-sticky.is-dragging {
    cursor: grabbing;
    transition: none;
    z-index: 3;
}
.board-sticky--pink   { background: #fbcfe8; }
.board-sticky--blue   { background: #bfdbfe; }
.board-sticky--green  { background: #bbf7d0; }
.board-sticky--purple { background: #ddd6fe; }
.board-sticky__text {
    width: 100%;
    min-height: 100px;
    border: none;
    background: transparent;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    outline: none;
    resize: none;
    cursor: text;
}
.board-sticky__remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    color: #1f2937;
    border: none;
    cursor: pointer;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    transition: opacity 0.14s ease, background 0.14s ease;
}
.board-sticky:hover .board-sticky__remove { opacity: 1; }
.board-sticky__remove:hover { background: rgba(0, 0, 0, 0.18); }

/* ── Marquee box-select ───────────────────────────────── */
.board__marquee {
    position: absolute;
    border: 1px solid var(--accent);
    background: rgba(37, 99, 235, 0.08);
    pointer-events: none;
    z-index: 6;
    border-radius: 2px;
}

/* ── Right-click context menu ─────────────────────────── */
.board__context {
    position: absolute;
    z-index: 15;
    min-width: 180px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    padding: 4px;
    animation: board-context-in 0.1s ease;
}
@keyframes board-context-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.board__context-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
    text-align: left;
    width: 100%;
    border-radius: 6px;
    transition: background 0.1s ease;
}
.board__context-item:hover { background: var(--accent-light); }
.board__context-item--danger { color: #dc2626; }
.board__context-item--danger:hover { background: rgba(220, 38, 38, 0.08); }
.board__context-sep {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

/* ── Alignment guides (shown while dragging a node) ──── */
.board__align-guide {
    position: absolute;
    background: #9333ea;
    pointer-events: none;
    z-index: 6;
    opacity: 0;
    transition: opacity 0.1s ease;
}
.board__align-guide.is-visible { opacity: 0.85; }
.board__align-guide--v { width: 1px; top: 0; bottom: 0; }
.board__align-guide--h { height: 1px; left: 0; right: 0; }

/* ── Card delete handle ───────────────────────────────── */
.board-node__remove {
    position: absolute;
    top: -9px;
    right: 24px;          /* clear of the right port */
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 14px;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.14s ease, color 0.14s ease, border-color 0.14s ease;
    z-index: 5;
}
.board-node:hover .board-node__remove { opacity: 1; }
.board-node__remove:hover {
    color: #dc2626;
    border-color: #dc2626;
}

/* ── Collapsible summary card ─────────────────────────── */
.board__summary-collapse {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.14s ease;
    flex-shrink: 0;
    margin-right: 6px;
}
.board__summary-collapse:hover {
    color: var(--text);
    background: var(--accent-light);
}
.board__summary-collapse svg { transition: transform 0.22s ease; }
.board__summary.is-collapsed .board__summary-collapse svg { transform: rotate(-180deg); }
.board__summary.is-collapsed .board__summary-grid,
.board__summary.is-collapsed .board__summary-stats { display: none; }
.board__summary.is-collapsed .board__summary-head { margin-bottom: 0; padding-bottom: 0; }

/* ── Library sidebar ──────────────────────────────────── */
.board__library {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 220px;
    max-height: calc(100% - 36px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
    z-index: 6;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.board__library.is-collapsed {
    transform: translateX(calc(-100% + 42px));
}
.board__library.is-resizing { transition: none; }

/* Drag handle on the right edge */
.board__library-resize {
    position: absolute;
    top: 0;
    right: -3px;
    width: 6px;
    height: 100%;
    cursor: ew-resize;
    z-index: 7;
    background: transparent;
    transition: background 0.15s ease;
}
.board__library-resize:hover,
.board__library.is-resizing .board__library-resize {
    background: var(--accent);
    opacity: 0.55;
}
.board__library.is-collapsed .board__library-resize { display: none; }
.board__library-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
}
.board__library-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    text-transform: uppercase;
}
.board__library-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 26px;
    height: 26px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.14s ease;
}
.board__library-toggle:hover { color: var(--text); background: var(--accent-light); }
.board__library-toggle svg { transition: transform 0.22s ease; }
.board__library.is-collapsed .board__library-toggle svg { transform: rotate(180deg); }

.board__library-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 8px;
}
.board__library-empty {
    padding: 14px 8px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}
.board__library-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    margin-bottom: 4px;
    cursor: grab;
    transition: all 0.14s ease;
    user-select: none;
}
.board__library-item:hover {
    background: var(--accent-light);
    border-color: var(--border);
}
.board__library-item.is-on-board .board__library-item-dot {
    background: var(--accent);
}
.board__library-item-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
}
.board__library-item-body {
    flex: 1 1 auto;
    min-width: 0;
}
.board__library-item-pc {
    font-weight: 700;
    font-size: 12.5px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.board__library-item-meta {
    font-size: 10.5px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.board__library-item-score {
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.board__library-item-score--good { color: #059669; }
.board__library-item-score--mid  { color: #d97706; }
.board__library-item-score--poor { color: #dc2626; }

/* Shift canvas contents right if the library is open (to avoid overlap)
   — only visually, positions unchanged. Optional: the user can collapse. */
.board__library.is-collapsed + .board__canvas + .board__graph-top { /* no-op placeholder */ }

/* ── Zoom controls ────────────────────────────────────── */
.board__zoom {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    z-index: 5;
}
.board__zoom-pct {
    font-size: 11px;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    padding: 6px 0;
    background: var(--accent-light);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: color 0.14s ease;
    user-select: none;
}
.board__zoom-pct:hover { color: var(--text); }
.board__zoom button {
    width: 40px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.14s ease, color 0.14s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-bottom: 1px solid var(--border);
}
.board__zoom button:last-child { border-bottom: none; }
.board__zoom button:hover {
    background: var(--accent-light);
    color: var(--text);
}
.board__zoom svg { pointer-events: none; }

/* ── Compare tray ─────────────────────────────────────── */
.board__tray {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 320px;
    max-width: 80%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1),
                0 8px 16px rgba(15, 23, 42, 0.06);
    z-index: 5;
}
.board__tray-title {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 700;
}
.board__tray-body {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.board__tray-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--accent-light);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text);
    font-weight: 500;
}
.board__tray-chip button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0;
}
.board__tray-chip button:hover { color: var(--score-poor); }
.board__tray-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* ── Detail drawer ────────────────────────────────────── */
.board__drawer {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(440px, 90%);
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    padding: 24px 26px 26px;
    overflow-y: auto;
    z-index: 10;
    box-shadow: -20px 0 40px rgba(15, 23, 42, 0.08);
    animation: board-drawer-in 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes board-drawer-in {
    from { transform: translateX(20px); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}
.board__drawer-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 10px;
}
.board__drawer-close:hover { color: var(--text); }

.board__drawer h3 {
    margin: 0 0 4px;
    font-size: 22px;
    color: var(--text);
    letter-spacing: -0.015em;
}
.board__drawer h4 {
    margin: 22px 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    text-transform: uppercase;
}
.board__drawer .drawer-meta {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 20px;
}
.board__drawer .drawer-row {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}
.board__drawer .drawer-row:last-child { border-bottom: none; }
.board__drawer .drawer-row-k { color: var(--text-secondary); }
.board__drawer .drawer-row-v { color: var(--text); font-weight: 600; }

.board__drawer .drawer-compare-bar {
    height: 7px;
    background: var(--accent-light);
    border-radius: 4px;
    overflow: hidden;
    margin: 8px 0 16px;
}
.board__drawer .drawer-compare-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 4px;
    transition: width 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.board__drawer .drawer-open-cta {
    display: block;
    text-align: center;
    margin-top: 24px;
    background: var(--accent);
    color: var(--accent-contrast);
    text-decoration: none;
    padding: 12px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.18s ease;
}
.board__drawer .drawer-open-cta:hover { background: var(--text); }

/* ── Empty state ──────────────────────────────────────── */
.board__empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    z-index: 3;
}
.board__empty-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    margin-bottom: 18px;
}
.board__empty h3 {
    font-size: 20px;
    margin: 0 0 8px;
    color: var(--text);
    letter-spacing: -0.01em;
}
.board__empty p {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 380px;
    line-height: 1.6;
    margin: 0 0 20px;
}

/* ── Send-to-AI overlay ─────────────────────────────────── */
.board-ai-overlay {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    animation: board-ai-in 0.18s ease;
}
@keyframes board-ai-in { from { opacity: 0; } to { opacity: 1; } }

.board-ai-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
    position: relative;
}
.board-ai-card__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}
.board-ai-card__close:hover {
    color: var(--text);
    border-color: var(--border);
    background: var(--accent-light);
}

.board-ai-card__head {
    padding: 24px 28px 14px;
    border-bottom: 1px solid var(--border);
}
.board-ai-card__kicker {
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 4px;
}
.board-ai-card__title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}
.board-ai-card__sub {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
}

.board-ai-card__text {
    flex: 1 1 auto;
    width: 100%;
    min-height: 300px;
    padding: 18px 22px;
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--text);
    background: var(--accent-light);
    border: none;
    border-bottom: 1px solid var(--border);
    resize: none;
    outline: none;
    box-sizing: border-box;
}

.board-ai-card__actions {
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.board-ai-card__left, .board-ai-card__right {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.board-ai-card__label {
    font-size: 11.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin-right: 2px;
}
.board-ai-card__chip {
    padding: 6px 12px;
    border-radius: 7px;
    background: var(--accent-light);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.14s ease;
}
.board-ai-card__chip:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.board-ai-card__status {
    padding: 0 22px 16px;
    font-size: 12px;
    color: #059669;
    min-height: 18px;
}

/* ── Infographic overlay (compare modal) ──────────────── */
.board-infographic {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    animation: board-infographic-in 0.24s ease;
}
@keyframes board-infographic-in { from { opacity: 0; } to { opacity: 1; } }

.board-infographic__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 32px 32px;
    width: 100%;
    max-width: 980px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
}
.board-infographic__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}
.board-infographic__close:hover { color: var(--text); }

.board-infographic__title {
    font-size: 22px;
    color: var(--text);
    margin: 0 0 4px;
    letter-spacing: -0.015em;
}
.board-infographic__sub {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.board-infographic__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}
.board-infographic__col {
    background: var(--accent-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}
.board-infographic__col h5 {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.01em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.board-infographic__metric {
    margin-bottom: 16px;
}
.board-infographic__metric-k {
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 600;
}
.board-infographic__metric-v {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}
.board-infographic__metric-bar {
    height: 4px;
    background: var(--bg);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}
.board-infographic__metric-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.board-infographic__winner {
    display: inline-block;
    padding: 2px 8px;
    background: var(--score-good-bg);
    color: var(--score-good);
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ── Dark theme overrides (when site is in dark mode) ── */
[data-theme="dark"] .board__canvas-wrap {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}
[data-theme="dark"] .board-node {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3),
                0 8px 20px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .board-node:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35),
                0 16px 32px rgba(0, 0, 0, 0.3);
}
