/* PeerSlate Slate Board - living whiteboard baseline.
   Visual authority: PS-BOARD-001 Photo 1 (physical planning wall).
   Function/state authority: revised storyboard states and Foundation C. */

:root {
    --sb-ink: #0a1b36;
    --sb-ink-soft: #53647d;
    --sb-indigo: #203767;
    --sb-azure: #4ea3ff;
    --sb-cyan: #2f5296;
    --sb-amber: #b87900;
    --sb-cloud: #f6f8fc;
    --sb-wall: #f3f4f7;
    --sb-line: #d4dbea;
    --sb-surface: #fbfaf7;
    --sb-marker-blue: #236fbd;
    --sb-marker-teal: #168f9c;
    --sb-marker-amber: #a87108;
    --sb-radius: 22px;
}

body.slate-board-redesign {
    background:
        radial-gradient(circle at 82% 4%, rgba(78, 163, 255, 0.12), transparent 26rem),
        linear-gradient(180deg, #fafbfd 0%, var(--sb-wall) 60%, #eef1f6 100%);
    color: var(--sb-ink);
    overflow-x: hidden;
}

body.slate-board-redesign .main-content {
    max-width: none;
    min-height: 0;
    padding: 0;
}

body.slate-board-redesign .footer {
    display: none;
}

.sb-page,
.sb-page *,
.sb-page *::before,
.sb-page *::after {
    box-sizing: border-box;
}

.sb-page {
    position: relative;
    isolation: isolate;
    min-height: calc(100svh - 104px);
    padding: 22px clamp(18px, 2.8vw, 48px) 34px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sb-page [hidden] {
    display: none !important;
}

.sb-page button,
.sb-page input,
.sb-page textarea,
.sb-page select {
    font: inherit;
}

.sb-page button {
    color: inherit;
}

.sb-page svg {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.75;
}

.sb-room-glow {
    position: fixed;
    z-index: -1;
    bottom: -10rem;
    width: 24rem;
    height: 38rem;
    pointer-events: none;
    filter: blur(10px);
    opacity: 0.24;
}

.sb-room-glow--left {
    left: -13rem;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(55, 102, 53, 0.5), transparent 23%),
        radial-gradient(ellipse at 62% 46%, rgba(42, 91, 51, 0.42), transparent 20%),
        radial-gradient(ellipse at 90% 68%, rgba(78, 129, 79, 0.34), transparent 23%);
    transform: rotate(10deg);
}

.sb-room-glow--right {
    right: -12rem;
    background:
        radial-gradient(ellipse at 20% 16%, rgba(57, 105, 59, 0.46), transparent 22%),
        radial-gradient(ellipse at 42% 48%, rgba(44, 88, 47, 0.42), transparent 20%),
        radial-gradient(ellipse at 15% 72%, rgba(76, 124, 77, 0.32), transparent 22%);
    transform: rotate(-9deg);
}

.sb-workspace {
    position: relative;
    width: min(100%, 1760px);
    margin: 0 auto;
}

.sb-workspace__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    min-height: 90px;
    padding: 0 4px 16px;
}

.sb-workspace__heading {
    min-width: 0;
}

.sb-workspace__eyebrow {
    display: block;
    margin-bottom: 2px;
    color: #2d8fe8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.sb-workspace__heading h1,
.sb-dialog h2,
.sb-panel__header h2 {
    margin: 0;
    color: var(--sb-ink);
    font-family: Newsreader, Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.sb-workspace__heading h1 {
    font-size: clamp(2.35rem, 3.2vw, 3.75rem);
    line-height: 0.98;
}

.sb-workspace__heading p {
    margin: 7px 0 0;
    color: #667891;
    font-size: clamp(0.94rem, 1vw, 1.04rem);
}

.sb-workspace__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    flex-wrap: wrap;
    padding-bottom: 3px;
}

.sb-privacy-pill,
.sb-view-toggle,
.sb-button,
.sb-icon-button {
    min-height: 44px;
    border: 1px solid rgba(149, 166, 195, 0.38);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 24px rgba(40, 57, 88, 0.05);
}

.sb-privacy-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    color: #4d607b;
    font-size: 0.82rem;
    white-space: nowrap;
}

.sb-privacy-pill__dot,
.sb-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--sb-cyan);
    box-shadow: 0 0 0 4px rgba(46, 200, 211, 0.13);
}

.sb-view-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(54px, auto));
    overflow: hidden;
    padding: 0;
}

.sb-view-toggle button {
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: #66758e;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 700;
}

.sb-view-toggle button[aria-pressed="true"] {
    background: #e9ecff;
    color: #3f4fc5;
}

.sb-button,
.sb-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.sb-icon-button {
    width: 44px;
    padding: 0;
}

.sb-button:hover,
.sb-icon-button:hover,
.sb-view-toggle button:hover {
    border-color: rgba(32, 55, 103, 0.55);
    transform: translateY(-1px);
}

.sb-button--primary {
    border-color: #203767;
    background: linear-gradient(135deg, #203767, #5b6de8);
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(32, 55, 103, 0.22);
}

.sb-button--primary:hover {
    background: #4350c4;
}

.sb-button--secondary {
    background: #fff;
    color: var(--sb-ink);
}

.sb-button--dark {
    border-color: var(--sb-ink);
    background: var(--sb-ink);
    color: #fff !important;
}

.sb-button--quiet {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    color: #53647d;
}

.sb-button:disabled,
.sb-icon-button:disabled {
    cursor: not-allowed;
    opacity: 0.48;
    transform: none;
}

.sb-stage {
    display: grid;
    grid-template-columns: clamp(166px, 12.5vw, 205px) minmax(0, 1fr);
    gap: clamp(18px, 1.8vw, 30px);
    min-height: clamp(630px, calc(100svh - 235px), 810px);
    align-items: stretch;
}

/* Full, labeled control card from the selected original. */
.sb-controls {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(193, 201, 215, 0.68);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 248, 251, 0.88));
    box-shadow:
        0 22px 50px rgba(30, 42, 67, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
}

.sb-controls__group {
    display: grid;
    gap: 4px;
    padding: 20px 14px 17px;
    border-bottom: 1px solid rgba(205, 212, 224, 0.72);
}

.sb-controls__group:last-child {
    border-bottom: 0;
}

.sb-controls__label {
    margin: 0 5px 10px;
    color: #53627b;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sb-controls button {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 43px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #273852;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: left;
}

.sb-controls button svg {
    width: 1.08rem;
    height: 1.08rem;
    color: #4d5f79;
}

.sb-controls button:hover,
.sb-controls button.is-active {
    border-color: rgba(80, 102, 180, 0.08);
    background: #e9edf8;
    color: #3145b6;
}

.sb-controls button.is-active svg {
    color: #315bd4;
}

.sb-controls .sb-controls__chalk {
    color: #087d87;
}

.sb-controls .sb-controls__chalk svg {
    color: #0a9ba5;
}

.sb-controls__view {
    gap: 10px;
}

.sb-controls__zoom {
    display: grid;
    grid-template-columns: 42px minmax(48px, 1fr) 42px;
    align-items: center;
    gap: 5px;
}

.sb-controls__zoom button {
    justify-content: center;
    min-height: 39px;
    padding: 0;
    border-color: #dde3ee;
    background: #fff;
    font-size: 1rem;
}

.sb-controls__zoom output {
    color: #2f4058;
    font-size: 0.75rem;
    font-weight: 750;
    text-align: center;
}

.sb-controls .sb-fit-button {
    justify-content: center;
    border-color: #dfe4ee;
    background: #fff;
}

.sb-controls__status {
    margin-top: auto;
    gap: 10px;
    padding-bottom: 20px;
}

.sb-status-line {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 0 5px;
    color: #52627a;
    font-size: 0.71rem;
    line-height: 1.4;
}

.sb-status-line .sb-status-dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: 3px;
    box-shadow: none;
    background: #65be69;
}

.sb-status-line--saved svg {
    flex: 0 0 auto;
    width: 0.94rem;
    height: 0.94rem;
    color: #3d6a4e;
}

/* Physical wall-mounted whiteboard. */
.sb-board-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    padding: 7px 7px 0;
}

.sb-frame {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    padding: 13px;
    border: 1px solid #abb3bd;
    border-radius: 24px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.8), transparent 12%, transparent 88%, rgba(255,255,255,.78)),
        linear-gradient(180deg, #d9dee3 0%, #f6f7f8 14%, #b3bbc3 48%, #eef0f1 78%, #a9b1b9 100%);
    box-shadow:
        0 28px 46px rgba(31, 42, 60, 0.18),
        0 8px 18px rgba(40, 52, 73, 0.14),
        inset 0 1px 0 #fff,
        inset 0 -1px 0 rgba(75, 86, 98, 0.28);
}

.sb-frame::before {
    content: "";
    position: absolute;
    inset: 7px;
    z-index: 1;
    border: 1px solid rgba(89, 100, 111, 0.34);
    border-radius: 18px;
    pointer-events: none;
}

.sb-frame__corner {
    position: absolute;
    z-index: 5;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(99, 108, 118, 0.45);
    background: linear-gradient(135deg, #f4f5f6, #aab1b8 48%, #eef0f1 72%, #9ca5ad);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 2px 3px rgba(39,49,59,.16);
}

.sb-frame__corner--tl { top: 1px; left: 1px; border-radius: 22px 4px 12px 4px; }
.sb-frame__corner--tr { top: 1px; right: 1px; border-radius: 4px 22px 4px 12px; }
.sb-frame__corner--bl { bottom: 1px; left: 1px; border-radius: 4px 12px 4px 22px; }
.sb-frame__corner--br { right: 1px; bottom: 1px; border-radius: 12px 4px 22px 4px; }

.sb-canvas {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 555px;
    overflow: hidden;
    border: 1px solid rgba(166, 175, 185, 0.54);
    border-radius: 13px;
    background:
        radial-gradient(ellipse at 14% 5%, rgba(255,255,255,.94), transparent 27%),
        radial-gradient(ellipse at 84% 22%, rgba(226,236,247,.28), transparent 32%),
        linear-gradient(106deg, rgba(255,255,255,.48), transparent 22%, rgba(241,239,234,.2) 70%, rgba(255,255,255,.42)),
        var(--sb-surface);
    box-shadow:
        inset 0 0 28px rgba(112, 122, 132, 0.12),
        inset 0 2px 2px rgba(119, 126, 133, 0.13),
        0 1px 0 #fff;
}

.sb-enamel-sheen {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.sb-enamel-sheen::before {
    content: "";
    position: absolute;
    top: -42%;
    left: -8%;
    width: 72%;
    height: 92%;
    border-radius: 50%;
    background: linear-gradient(126deg, rgba(255,255,255,.7), rgba(255,255,255,0));
    transform: rotate(-8deg);
    filter: blur(5px);
}

.sb-board-sketches {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sb-board-sketches path {
    fill: none;
    stroke: rgba(35, 111, 189, 0.45);
    stroke-linecap: round;
    stroke-width: 1.7;
    vector-effect: non-scaling-stroke;
}

.sb-board-sketches .sb-sketch-arrow {
    stroke-width: 2.1;
}

.sb-board-sketches .sb-sketch-dash {
    stroke-dasharray: 7 8;
}

.sb-scale {
    --sb-scale: 1;
    position: relative;
    z-index: 2;
    width: calc(100% / var(--sb-scale));
    height: calc(100% / var(--sb-scale));
    transform: scale(var(--sb-scale));
    transform-origin: center;
    transition: transform 180ms ease;
}

.sb-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    width: 100%;
    height: 100%;
    min-height: 555px;
    padding: 12px 20px 16px;
}

.sb-column {
    position: relative;
    min-width: 0;
    min-height: 0;
    padding: clamp(20px, 2.4vw, 38px) clamp(18px, 2.7vw, 42px) 20px;
}

.sb-column__heading {
    margin: 0 0 10px;
}

.sb-column__header {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--sb-marker-blue);
    cursor: default;
}

.sb-column--long .sb-column__header {
    color: var(--sb-marker-teal);
}

.sb-column--work .sb-column__header {
    color: var(--sb-marker-amber);
}

.sb-column__title {
    position: relative;
    display: inline-block;
    font-family: Caveat, "Segoe Print", "Bradley Hand", cursive;
    font-size: clamp(2rem, 2.45vw, 3rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
}

.sb-column__title::after {
    content: "";
    position: absolute;
    right: -9px;
    bottom: -5px;
    left: -3px;
    height: 2px;
    border-radius: 50%;
    background: currentColor;
    transform: rotate(-1.5deg);
    opacity: 0.88;
}

.sb-column__count {
    display: none;
}

.sb-column__chevron {
    display: none !important;
}

.sb-note-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(128px, 40%);
    grid-auto-rows: min-content;
    align-content: start;
    gap: 7px 15px;
    min-height: 0;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

.sb-note-list > li {
    min-width: 0;
}

.sb-column--short .sb-note-list > li:first-child {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: center;
    padding-right: 4px;
}

.sb-column--short .sb-note-list > li:not(:first-child) { grid-column: 2; }
.sb-column--projects .sb-note-list > li:first-child,
.sb-column--long .sb-note-list > li:first-child,
.sb-column--work .sb-note-list > li:first-child {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    padding-left: 5px;
}

.sb-column--projects .sb-note-list > li:not(:first-child),
.sb-column--long .sb-note-list > li:not(:first-child),
.sb-column--work .sb-note-list > li:not(:first-child) { grid-column: 1; }

.sb-note {
    position: relative;
    min-width: 0;
    color: #132039;
    cursor: grab;
    transition: transform 170ms ease, filter 170ms ease, opacity 170ms ease;
}

.sb-note:active {
    cursor: grabbing;
}

.sb-note__open {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    border: 0;
    border-radius: inherit;
    background: transparent;
    cursor: pointer;
}

.sb-note__top {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 19px minmax(0, 1fr) 22px;
    align-items: start;
    gap: 7px;
    pointer-events: none;
}

.sb-note__top h3 {
    min-width: 0;
    margin: 0;
    font-family: Caveat, "Segoe Print", cursive;
    font-size: clamp(1.15rem, 1.3vw, 1.46rem);
    font-weight: 600;
    line-height: 1.05;
}

.sb-note__complete,
.sb-note__star {
    position: relative;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
}

.sb-note__complete span {
    width: 13px;
    height: 13px;
    border: 1.5px solid rgba(49, 70, 97, 0.52);
    border-radius: 3px;
    background: rgba(255,255,255,.3);
}

.sb-note__complete[aria-checked="true"] span {
    border-color: #29926b;
    background: #29926b;
    box-shadow: inset 0 0 0 3px rgba(255,255,255,.94);
}

.sb-note__star svg {
    width: 0.95rem;
    height: 0.95rem;
    color: rgba(44, 60, 82, 0.5);
}

.sb-note__star[aria-pressed="true"] svg {
    fill: var(--sb-amber);
    stroke: #956807;
}

.sb-note__summary {
    position: relative;
    z-index: 1;
    margin: 7px 0 0 26px;
    color: #384a62;
    font-family: Caveat, "Segoe Print", cursive;
    font-size: clamp(0.98rem, 1.02vw, 1.14rem);
    line-height: 1.2;
}

.sb-note__meta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    margin: 8px 0 0 26px;
    color: #617087;
    font-size: 0.62rem;
    line-height: 1.25;
}

.sb-tag {
    display: inline-flex;
    max-width: 55%;
    padding: 3px 6px;
    overflow: hidden;
    border: 1px solid rgba(54, 71, 98, 0.13);
    border-radius: 999px;
    background: rgba(255,255,255,.38);
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* First object in each quadrant is a pinned paper note; the remaining
   semantic notes render as marker-list lines to preserve image 3. */
.sb-note-list > li:first-child .sb-note {
    min-height: clamp(118px, 12vw, 160px);
    padding: 23px 14px 14px;
    background: linear-gradient(145deg, #d2e8fb 0%, #bfdef8 76%, #b4d5f1 100%);
    box-shadow:
        0 17px 22px rgba(42, 58, 78, 0.16),
        0 5px 8px rgba(42, 58, 78, 0.12),
        inset -7px -8px 12px rgba(72, 110, 143, 0.05);
    transform: rotate(-2.4deg);
}

.sb-column--projects .sb-note-list > li:first-child .sb-note {
    background: linear-gradient(145deg, #fff0b9, #f2dda0 80%, #ead18b);
    transform: rotate(2.3deg);
}

.sb-column--long .sb-note-list > li:first-child .sb-note {
    background: linear-gradient(145deg, #d4f0ec, #bce3df 82%, #acd6d1);
    transform: rotate(-1.5deg);
}

.sb-column--work .sb-note-list > li:first-child .sb-note {
    background: linear-gradient(145deg, #e1dcff, #cec8f1 82%, #bfb8e8);
    transform: rotate(2deg);
}

.sb-note-list > li:first-child .sb-note::before {
    content: "";
    position: absolute;
    z-index: 6;
    top: -8px;
    left: 50%;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 38% 33%, #fff 0 16%, #dce1e7 40%, #aeb7c2 72%, #818b97 100%);
    box-shadow: 0 4px 7px rgba(35, 47, 61, 0.28);
    transform: translateX(-50%);
}

.sb-note-list > li:first-child .sb-note::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 23px;
    height: 20px;
    background: linear-gradient(135deg, transparent 47%, rgba(255,255,255,.35) 48%);
    opacity: 0.42;
}

.sb-note-list > li:first-child .sb-note__top {
    grid-template-columns: 18px minmax(0, 1fr) 20px;
}

.sb-note-list > li:first-child .sb-note__top h3 {
    font-size: clamp(1.22rem, 1.5vw, 1.66rem);
}

.sb-note-list > li:not(:first-child) .sb-note {
    min-height: 38px;
    padding: 6px 0 5px 2px;
}

.sb-note-list > li:not(:first-child) .sb-note:hover {
    transform: translateX(4px);
}

.sb-note-list > li:not(:first-child) .sb-note__top {
    grid-template-columns: 17px minmax(0, 1fr) 20px;
}

.sb-note-list > li:not(:first-child) .sb-note__complete span {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: #142039;
    box-shadow: none;
}

.sb-note-list > li:not(:first-child) .sb-note__complete[aria-checked="true"] span {
    width: 13px;
    height: 7px;
    border-bottom: 2px solid var(--sb-marker-blue);
    border-left: 2px solid var(--sb-marker-blue);
    border-radius: 0;
    background: transparent;
    transform: rotate(-45deg) translate(2px, -1px);
}

.sb-note-list > li:not(:first-child) .sb-note__summary,
.sb-note-list > li:not(:first-child) .sb-tag {
    display: none;
}

.sb-note-list > li:not(:first-child) .sb-note__meta {
    justify-content: flex-start;
    margin: 2px 0 0 24px;
    font-family: Inter, sans-serif;
    opacity: 0.78;
}

.sb-note.is-completed h3 {
    color: #728095;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.sb-note.is-dragging {
    z-index: 12;
    opacity: 0.55;
    filter: saturate(0.75);
}

.sb-note-list.is-drag-over,
.sb-note-list.is-drop-target {
    outline: 2px dashed rgba(78, 163, 255, 0.54);
    outline-offset: 8px;
    border-radius: 12px;
}

.sb-column__add {
    position: absolute;
    z-index: 5;
    right: 16px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 34px;
    padding: 0 9px;
    border: 0;
    border-radius: 8px;
    background: rgba(255,255,255,.52);
    color: rgba(38, 75, 122, 0.62);
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity 150ms ease, background 150ms ease;
}

.sb-column:hover .sb-column__add,
.sb-column:focus-within .sb-column__add {
    opacity: 1;
}

.sb-column__add:hover {
    background: #fff;
    color: #315bd4;
}

.sb-focus-anchor {
    position: absolute;
    z-index: 7;
    top: 50%;
    left: 50%;
    display: grid;
    min-width: clamp(142px, 15vw, 205px);
    min-height: 68px;
    padding: 9px 22px;
    border: 2px solid var(--sb-marker-blue);
    border-radius: 50%;
    background: rgba(251,250,247,.93);
    color: var(--sb-marker-blue);
    cursor: pointer;
    font-family: Caveat, "Segoe Print", cursive;
    line-height: 1;
    text-align: center;
    transform: translate(-50%, -50%) rotate(1deg);
    box-shadow: 0 0 0 5px rgba(251,250,247,.82), 0 0 0 7px rgba(35,111,189,.48);
}

.sb-focus-anchor span {
    font-size: clamp(1.05rem, 1.3vw, 1.45rem);
}

.sb-focus-anchor strong {
    color: #6b7283;
    font-family: Inter, sans-serif;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sb-board-corner-tools {
    position: absolute;
    z-index: 9;
    top: 14px;
    right: 14px;
    display: flex;
    gap: 3px;
    padding: 4px;
    border: 1px solid rgba(166, 175, 187, 0.46);
    border-radius: 10px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 5px 14px rgba(52, 66, 85, 0.08);
    backdrop-filter: blur(8px);
}

.sb-board-corner-tools button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
}

.sb-board-corner-tools button:hover {
    background: #edf0f8;
}

/* Projecting metal marker tray. */
.sb-marker-tray {
    position: relative;
    z-index: 8;
    display: grid;
    grid-template-columns: minmax(230px, auto) 1fr auto;
    align-items: center;
    gap: 16px;
    width: calc(100% - 80px);
    min-height: 51px;
    margin: -3px auto 0;
    padding: 5px 10px 7px;
    border: 1px solid #9da6ae;
    border-top-color: #c9ced3;
    border-radius: 2px 2px 12px 12px;
    background: linear-gradient(180deg, #f8f9fa 0%, #cbd1d5 22%, #e5e8ea 58%, #aeb6bc 100%);
    box-shadow: 0 9px 15px rgba(41, 50, 60, 0.2), inset 0 1px 0 #fff;
}

.sb-marker-tray::after {
    content: "";
    position: absolute;
    right: 2%;
    bottom: -5px;
    left: 2%;
    height: 6px;
    border-radius: 0 0 50% 50%;
    background: rgba(51, 61, 70, 0.22);
    filter: blur(4px);
}

.sb-chalk-button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 39px;
    padding: 4px 14px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #20b9c6, #36c7dc);
    color: #fff;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 4px 8px rgba(21,130,143,.18);
}

.sb-chalk-button > span {
    display: flex;
    align-items: baseline;
    gap: 10px;
    text-align: left;
}

.sb-chalk-button strong {
    font-size: 0.74rem;
}

.sb-chalk-button small {
    font-size: 0.6rem;
    opacity: 0.9;
}

.sb-markers {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 13px;
    min-width: 200px;
}

.sb-marker {
    position: relative;
    display: block;
    width: clamp(68px, 7vw, 104px);
    height: 11px;
    border: 1px solid rgba(45,55,66,.34);
    border-radius: 7px;
    background: linear-gradient(180deg, #fff, #d8dcdf 63%, #b9bec3);
    box-shadow: 0 2px 3px rgba(41,51,61,.22);
}

.sb-marker::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 24%;
    height: 100%;
    border-radius: inherit;
    background: currentColor;
}

.sb-marker::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 8%;
    width: 25%;
    height: 2px;
    border-radius: 2px;
    background: rgba(63,73,83,.18);
}

.sb-marker--ink { color: #1c2632; transform: rotate(-1deg); }
.sb-marker--blue { color: #347ada; transform: rotate(1.2deg); }
.sb-marker--amber { color: #c59125; transform: rotate(-0.8deg); }

.sb-tray-status {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #66758a;
    font-size: 0.61rem;
}

.sb-tray-status > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.sb-tray-status > span svg {
    width: 0.8rem;
    height: 0.8rem;
}

.sb-tray-zoom {
    display: flex;
    align-items: center;
    gap: 3px;
    min-height: 34px;
    padding: 2px;
    border: 1px solid rgba(142,153,165,.46);
    border-radius: 9px;
    background: rgba(255,255,255,.64);
}

.sb-tray-zoom button {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
}

.sb-tray-zoom button:hover {
    background: rgba(255,255,255,.9);
}

.sb-tray-zoom output {
    min-width: 40px;
    font-weight: 700;
    text-align: center;
}

.sb-mobile-add,
.sb-mobile-chalk {
    display: none;
}

/* Same semantic records become an equivalent structured list. */
.sb-workspace.is-list-view .sb-board-sketches,
.sb-workspace.is-list-view .sb-focus-anchor,
.sb-workspace.is-list-view .sb-board-corner-tools,
.sb-workspace.is-list-view .sb-enamel-sheen,
.sb-workspace.is-list-view .sb-marker-tray {
    display: none;
}

.sb-workspace.is-list-view .sb-board-wrap {
    padding: 0;
}

.sb-workspace.is-list-view .sb-frame {
    padding: 0;
    border: 1px solid #dbe1ec;
    border-radius: 22px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 20px 50px rgba(36, 49, 73, 0.1);
}

.sb-workspace.is-list-view .sb-frame__corner {
    display: none;
}

.sb-workspace.is-list-view .sb-frame::before {
    display: none;
}

.sb-workspace.is-list-view .sb-canvas {
    min-height: 0;
    overflow: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.sb-workspace.is-list-view .sb-scale {
    width: 100% !important;
    height: auto !important;
    transform: none !important;
}

.sb-workspace.is-list-view .sb-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    height: auto;
    min-height: 0;
    gap: 0;
    padding: 18px;
}

.sb-workspace.is-list-view .sb-column {
    padding: 22px;
    border: 1px solid #e1e6ef;
    background: rgba(255,255,255,.76);
}

.sb-workspace.is-list-view .sb-column__header {
    color: var(--sb-ink);
    cursor: default;
}

.sb-workspace.is-list-view .sb-column__title {
    font-family: Inter, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
}

.sb-workspace.is-list-view .sb-column__title::after {
    display: none;
}

.sb-workspace.is-list-view .sb-column__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 25px;
    border-radius: 999px;
    background: #edf0f7;
    color: #53647d;
    font-size: 0.72rem;
}

.sb-workspace.is-list-view .sb-note-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.sb-workspace.is-list-view .sb-note-list > li,
.sb-workspace.is-list-view .sb-note-list > li:first-child,
.sb-workspace.is-list-view .sb-note-list > li:not(:first-child) {
    grid-column: 1;
    grid-row: auto;
    align-self: auto;
    padding: 0;
}

.sb-workspace.is-list-view .sb-note-list .sb-note,
.sb-workspace.is-list-view .sb-note-list > li:first-child .sb-note {
    min-height: 70px;
    padding: 14px 15px;
    border: 1px solid #dfe4ed;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
    transform: none;
}

.sb-workspace.is-list-view .sb-note-list > li:first-child .sb-note::before,
.sb-workspace.is-list-view .sb-note-list > li:first-child .sb-note::after {
    display: none;
}

.sb-workspace.is-list-view .sb-note__top,
.sb-workspace.is-list-view .sb-note-list > li:first-child .sb-note__top,
.sb-workspace.is-list-view .sb-note-list > li:not(:first-child) .sb-note__top {
    grid-template-columns: 22px minmax(0, 1fr) 26px;
}

.sb-workspace.is-list-view .sb-note__top h3,
.sb-workspace.is-list-view .sb-note-list > li:first-child .sb-note__top h3 {
    font-family: Inter, sans-serif;
    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1.35;
}

.sb-workspace.is-list-view .sb-note__summary {
    display: block;
    margin: 5px 34px 0 29px;
    font-family: Inter, sans-serif;
    font-size: 0.78rem;
    line-height: 1.45;
}

.sb-workspace.is-list-view .sb-note__meta {
    justify-content: flex-start;
    margin: 7px 0 0 29px;
    font-family: Inter, sans-serif;
}

.sb-workspace.is-list-view .sb-note-list .sb-tag {
    display: inline-flex;
}

.sb-workspace.is-list-view .sb-column__add {
    position: static;
    margin-top: 9px;
    opacity: 1;
}

/* Foreground listening, proposal, and focus states keep the board visible. */
.sb-capture-layer {
    position: absolute;
    inset: 92px 0 0;
    z-index: 30;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 28px clamp(18px, 5vw, 76px);
    background: rgba(242, 246, 251, 0.6);
    backdrop-filter: blur(1.5px);
}

.sb-capture-strip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    width: min(1180px, 100%);
    min-height: 150px;
    padding: 18px 22px;
    border: 1px solid rgba(46, 200, 211, 0.58);
    border-radius: 24px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 28px 70px rgba(31, 52, 82, 0.22);
}

.sb-capture-orb {
    position: relative;
    display: grid;
    place-items: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(46,200,211,.09);
}

.sb-capture-orb::after {
    content: "";
    width: 30px;
    height: 30px;
    border: 10px solid var(--sb-cyan);
    border-radius: 50%;
    background: #fff;
}

.sb-capture-orb span {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(46,200,211,.22);
    border-radius: 50%;
}

.sb-capture-orb span:nth-child(2) { inset: 20px; }
.sb-capture-orb span:nth-child(3) { inset: 30px; }

.sb-workspace.is-listening .sb-capture-orb span {
    animation: sb-listening-ring 1.8s ease-out infinite;
}

.sb-workspace.is-listening .sb-capture-orb span:nth-child(2) { animation-delay: 0.3s; }
.sb-workspace.is-listening .sb-capture-orb span:nth-child(3) { animation-delay: 0.6s; }

@keyframes sb-listening-ring {
    0% { opacity: .7; transform: scale(.72); }
    85%, 100% { opacity: 0; transform: scale(1.28); }
}

.sb-capture-copy {
    min-width: 0;
}

.sb-capture-title-row {
    display: flex;
    align-items: center;
    gap: 9px;
}

.sb-capture-title-row h2 {
    margin: 0;
    color: var(--sb-ink);
    font-family: Inter, sans-serif;
    font-size: 1rem;
}

.sb-capture-state {
    padding: 4px 7px;
    border-radius: 999px;
    background: #e9fafb;
    color: #087c85;
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sb-capture-copy textarea {
    width: 100%;
    min-height: 56px;
    margin-top: 4px;
    resize: vertical;
    border: 0;
    outline: 0;
    background: transparent;
    color: #243955;
    font-size: clamp(1rem, 1.35vw, 1.22rem);
    line-height: 1.4;
}

.sb-capture-copy textarea::placeholder {
    color: #8190a5;
}

.sb-waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 28px;
    overflow: hidden;
}

.sb-waveform span {
    width: 3px;
    height: var(--wave-height);
    border-radius: 999px;
    background: var(--sb-cyan);
    opacity: 0.35;
}

.sb-workspace.is-listening .sb-waveform span {
    opacity: 1;
    animation: sb-wave 650ms ease-in-out infinite alternate;
}

.sb-workspace.is-listening .sb-waveform span:nth-child(3n) { animation-delay: 150ms; }
.sb-workspace.is-listening .sb-waveform span:nth-child(4n) { animation-delay: 300ms; }

@keyframes sb-wave {
    from { transform: scaleY(.48); }
    to { transform: scaleY(1); }
}

.sb-capture-trust,
.sb-panel-note {
    margin: 2px 0 0;
    color: #6d7b8f;
    font-size: 0.67rem;
    line-height: 1.45;
}

.sb-capture-actions {
    display: grid;
    gap: 7px;
    min-width: 170px;
}

.sb-capture-actions .sb-button {
    width: 100%;
}

.sb-proposal-panel,
.sb-focus-panel {
    position: absolute;
    z-index: 35;
    top: 102px;
    right: 22px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    width: min(430px, calc(100% - 44px));
    overflow: auto;
    padding: 24px;
    border: 1px solid rgba(177, 188, 205, 0.62);
    border-radius: 26px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 32px 80px rgba(28, 46, 75, 0.24);
}

.sb-panel__header,
.sb-dialog__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.sb-panel__header h2,
.sb-dialog h2 {
    font-size: clamp(1.65rem, 2.3vw, 2.25rem);
    line-height: 1.02;
}

.sb-panel__header p,
.sb-dialog__lead {
    margin: 7px 0 0;
    color: #62738c;
    font-size: 0.78rem;
    line-height: 1.5;
}

.sb-dialog__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #4359cf;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.sb-proposal-source {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
    padding: 9px 11px;
    border-radius: 10px;
    background: #f1f4f9;
    color: #5d6e86;
    font-size: 0.64rem;
}

.sb-proposal-list {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.sb-proposal-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #d8e0ed;
    border-radius: 12px;
    background: #fff;
}

.sb-proposal-item__type {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #edf0ff;
    color: #4958d1;
    font-size: 0.8rem;
    font-weight: 800;
}

.sb-proposal-item strong,
.sb-focus-related strong {
    display: block;
    color: #172944;
    font-size: 0.76rem;
}

.sb-proposal-item small,
.sb-focus-related small {
    display: block;
    margin-top: 2px;
    color: #718097;
    font-size: 0.61rem;
    line-height: 1.35;
}

.sb-proposal-item__remove {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #f6f7fa;
    color: #64748b;
    cursor: pointer;
}

.sb-audience-options {
    display: grid;
    gap: 7px;
    margin: 14px 0 0;
    padding: 0;
    border: 0;
}

.sb-audience-options legend {
    margin-bottom: 5px;
    color: #53647d;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sb-audience-options label {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 8px 11px;
    border: 1px solid #dbe1eb;
    border-radius: 11px;
    cursor: pointer;
}

.sb-audience-options label:has(input:checked) {
    border-color: var(--sb-cyan);
    background: #f2fcfd;
}

.sb-audience-options label.is-disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

.sb-audience-options label span {
    display: grid;
    gap: 2px;
}

.sb-audience-options label strong {
    font-size: 0.72rem;
}

.sb-audience-options label small {
    color: #718098;
    font-size: 0.61rem;
}

.sb-panel__actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
}

.sb-panel__actions .sb-button {
    flex: 1 1 auto;
    padding-inline: 11px;
}

.sb-focus-progress {
    margin-top: 19px;
}

.sb-focus-progress > div:first-child {
    display: flex;
    justify-content: space-between;
    color: #5e6f88;
    font-size: 0.67rem;
}

.sb-focus-progress__track {
    height: 8px;
    margin-top: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf0f5;
}

.sb-focus-progress__track span {
    display: block;
    width: 64%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--sb-indigo), #6d7cf0);
}

.sb-focus-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 16px 0 0;
}

.sb-focus-facts > div {
    padding: 10px;
    border: 1px solid #dde3ec;
    border-radius: 11px;
}

.sb-focus-facts dt {
    color: #8190a4;
    font-size: 0.56rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.sb-focus-facts dd {
    margin: 4px 0 0;
    color: #1b2d47;
    font-size: 0.72rem;
    font-weight: 750;
}

.sb-focus-related {
    margin-top: 18px;
}

.sb-focus-related h3 {
    margin: 0 0 8px;
    color: #53647c;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sb-focus-related article {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e6eaf1;
}

.sb-focus-related article > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #edf0ff;
    color: #4b59d3;
    font-size: 0.7rem;
    font-weight: 800;
}

.sb-focus-related article.is-evidence {
    margin-inline: -8px;
    padding-inline: 8px;
    background: rgba(215,163,62,.16);
}

.sb-focus-related article.is-evidence > span {
    background: #fff5d7;
    color: #9a6d10;
}

/* Dialog foundations shared by note, overview, and audience flows. */
.sb-dialog {
    width: min(680px, calc(100vw - 32px));
    max-height: min(88vh, 860px);
    margin: auto;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 26px;
    background: transparent;
    color: var(--sb-ink);
}

.sb-dialog::backdrop {
    background: rgba(10, 27, 54, 0.42);
    backdrop-filter: blur(4px);
}

.sb-dialog__surface {
    max-height: min(88vh, 860px);
    overflow: auto;
    padding: 25px;
    border: 1px solid rgba(193, 202, 216, 0.8);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 34px 90px rgba(12, 28, 54, 0.3);
}

.sb-dialog__header-actions {
    display: flex;
    gap: 6px;
}

.sb-dialog__star {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #dce2eb;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.sb-dialog__star[aria-pressed="true"] svg {
    fill: var(--sb-amber);
    stroke: #9f7114;
}

.sb-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.sb-field {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: #3f5069;
    font-size: 0.72rem;
    font-weight: 750;
}

.sb-field--wide {
    grid-column: 1 / -1;
}

.sb-field input,
.sb-field textarea,
.sb-field select,
.sb-invite input,
.sb-invite select,
.sb-comments__composer input,
.sb-checklist__row input[type="text"] {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d8dfeb;
    border-radius: 11px;
    outline: 0;
    background: #fff;
    color: var(--sb-ink);
    font-size: 0.82rem;
    font-weight: 500;
}

.sb-field textarea {
    min-height: 94px;
    resize: vertical;
}

.sb-field input:focus,
.sb-field textarea:focus,
.sb-field select:focus,
.sb-invite input:focus,
.sb-invite select:focus,
.sb-comments__composer input:focus,
.sb-checklist__row input[type="text"]:focus {
    border-color: #6170df;
    box-shadow: 0 0 0 3px rgba(32,55,103,.13);
}

.sb-color-field {
    margin: 0;
    padding: 0;
    border: 0;
}

.sb-color-field legend {
    margin-bottom: 8px;
}

.sb-color-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.sb-color-choices label {
    position: relative;
}

.sb-color-choices input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.sb-color-choice {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 10px;
    border: 2px solid transparent;
    border-radius: 9px;
    color: #22324a;
    cursor: pointer;
    font-size: 0.66rem;
}

.sb-color-choices input:checked + .sb-color-choice {
    border-color: var(--sb-indigo);
    box-shadow: 0 0 0 2px rgba(32,55,103,.13);
}

.sb-color-choice--work { background: #c7e2f8; }
.sb-color-choice--personal { background: #c7ebe6; }
.sb-color-choice--goal { background: #d7d2fa; }
.sb-color-choice--health { background: #f6dda0; }
.sb-color-choice--finance { background: #bcebed; }

.sb-checklist,
.sb-note-more,
.sb-comments {
    margin-top: 16px;
    border-top: 1px solid #e4e8ef;
}

.sb-checklist summary,
.sb-note-more summary,
.sb-comments summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    min-height: 48px;
    color: #2d405b;
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 750;
    list-style: none;
}

.sb-checklist summary::-webkit-details-marker,
.sb-note-more summary::-webkit-details-marker,
.sb-comments summary::-webkit-details-marker {
    display: none;
}

.sb-checklist summary > span:first-child,
.sb-note-more summary > span:first-child,
.sb-comments summary {
    display: flex;
    align-items: center;
    gap: 7px;
}

.sb-checklist__count,
.sb-comments summary span {
    display: inline-grid;
    place-items: center;
    min-width: 23px;
    height: 23px;
    padding: 0 5px;
    border-radius: 999px;
    background: #edf0f6;
    color: #5d6d84;
    font-size: 0.64rem;
}

.sb-subsection-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
}

.sb-subsection-head p {
    margin: 0;
    color: #728096;
    font-size: 0.7rem;
}

.sb-subsection-head button,
.sb-comments__composer button,
.sb-checklist__remove {
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid #d8dfeb;
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
    color: #40516a;
    font-size: 0.68rem;
    font-weight: 700;
}

.sb-checklist__items,
.sb-comments__thread {
    display: grid;
    gap: 8px;
}

.sb-checklist__row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.sb-checklist__row input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.sb-checklist__empty {
    padding: 12px;
    border-radius: 10px;
    background: #f6f7fa;
    color: #748198;
    font-size: 0.72rem;
    text-align: center;
}

.sb-support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.sb-file-field__picker {
    position: relative;
    display: block;
}

.sb-file-field__control {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d8dfeb;
    border-radius: 11px;
    background: #fff;
}

.sb-file-field__picker input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.sb-field__hint {
    color: #77849a;
    font-size: 0.62rem;
    font-weight: 500;
    line-height: 1.4;
}

.sb-comment {
    padding: 10px;
    border-radius: 10px;
    background: #f4f6fa;
}

.sb-comment p {
    margin: 0;
    color: #32445f;
    font-size: 0.74rem;
    line-height: 1.45;
}

.sb-comment small {
    color: #78869a;
    font-size: 0.6rem;
}

.sb-comments__composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin-top: 9px;
}

.sb-dialog__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e5e9f0;
}

.sb-dialog__footer--end {
    justify-content: flex-end;
}

.sb-dialog__footer-start,
.sb-dialog__footer-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sb-private-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5e6d83;
    font-size: 0.67rem;
}

.sb-private-note svg {
    width: 0.95rem;
    height: 0.95rem;
}

.sb-delete-button {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid #e5b5bd;
    border-radius: 10px;
    background: #fff7f8;
    color: #a5273b;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 750;
}

.sb-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    margin-top: 18px;
}

.sb-stat {
    display: grid;
    gap: 3px;
    padding: 14px;
    border: 1px solid #e0e5ed;
    border-radius: 12px;
    background: #f8f9fb;
}

.sb-stat strong {
    color: var(--sb-ink);
    font-size: 1.4rem;
}

.sb-stat span {
    color: #738097;
    font-size: 0.65rem;
}

.sb-overview-chart {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    margin-top: 18px;
    padding: 18px;
    border-radius: 14px;
    background: #f5f7fa;
}

.sb-donut {
    display: grid;
    place-items: center;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: conic-gradient(#4ea3ff 0 25%, #203767 25% 50%, #2f5296 50% 75%, #b87900 75% 100%);
}

.sb-donut > span {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #fff;
}

.sb-donut strong {
    font-size: 1.35rem;
}

.sb-donut small {
    color: #76849a;
    font-size: 0.62rem;
}

.sb-legend {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sb-legend li {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    color: #53647c;
    font-size: 0.72rem;
}

.sb-legend__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.sb-legend__dot--short { background: #4ea3ff; }
.sb-legend__dot--projects { background: #203767; }
.sb-legend__dot--long { background: #2f5296; }
.sb-legend__dot--work { background: #b87900; }

.sb-share-dialog {
    width: min(760px, calc(100vw - 32px));
}

.sb-share-modes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 18px;
}

.sb-share-modes article {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 78px;
    padding: 12px;
    border: 1px solid #dde3ec;
    border-radius: 13px;
    background: #fff;
}

.sb-share-modes article.is-selected {
    border-color: var(--sb-cyan);
    background: #f3fcfd;
}

.sb-share-modes__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #edf0ff;
    color: #203767;
}

.sb-share-modes h3,
.sb-share-preview-box h3 {
    margin: 0;
    color: #1a2b44;
    font-size: 0.78rem;
}

.sb-share-modes p,
.sb-share-preview-box p {
    margin: 3px 0 0;
    color: #718097;
    font-size: 0.65rem;
    line-height: 1.4;
}

.sb-share-modes__state {
    padding: 4px 7px;
    border-radius: 999px;
    background: #f0f2f6;
    color: #66758c;
    font-size: 0.57rem;
    font-weight: 800;
    text-transform: uppercase;
}

.is-selected .sb-share-modes__state {
    background: #dcf7f8;
    color: #087d86;
}

.sb-share-preview-box {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #dfe4ec;
    border-radius: 14px;
    background: #f7f8fa;
}

.sb-invite {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px auto;
    gap: 8px;
    margin-top: 11px;
}

.sb-invite-list {
    display: grid;
    gap: 7px;
    margin-top: 10px;
}

.sb-invite-person {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    padding: 9px 10px;
    border: 1px solid #dfe4ec;
    border-radius: 10px;
    background: #fff;
    font-size: 0.7rem;
}

.sb-invite-person button {
    border: 0;
    background: transparent;
    color: #9c3144;
    cursor: pointer;
}

.sb-share-dialog__notice {
    margin: 12px 0 0;
    padding: 10px 11px;
    border-radius: 10px;
    background: #fff8e7;
    color: #725719;
    font-size: 0.67rem;
    line-height: 1.45;
}

.sb-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.sb-page :focus-visible {
    outline: 3px solid #173e8d;
    outline-offset: 3px;
}

/* Photo 1 visual lock: preserve the live workflows while matching the
   reference's quiet wall, compact controls, sparse ink, and physical frame. */
body.slate-board-redesign {
    background:
        radial-gradient(circle at 75% 14%, rgba(255, 255, 255, 0.98), transparent 31rem),
        linear-gradient(180deg, #fbfcfe 0%, #f4f5f7 72%, #eef0f3 100%);
}

.sb-page {
    min-height: calc(100svh - 168px);
    padding: 12px 30px 0;
}

.sb-workspace {
    width: min(100%, 1500px);
}

.sb-workspace__header {
    align-items: center;
    min-height: 68px;
    padding: 0 2px 8px;
}

.sb-workspace__heading h1 {
    font-size: clamp(2rem, 2.35vw, 2.55rem);
    line-height: 1;
}

.sb-workspace__heading p {
    margin-top: 5px;
    font-size: 0.78rem;
}

.sb-workspace__actions {
    flex-wrap: nowrap;
    gap: 12px;
    padding: 0;
}

.sb-button--share {
    min-height: 39px;
    padding-inline: 14px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(30, 44, 67, 0.05);
}

.sb-button--share svg {
    width: 1rem;
    height: 1rem;
}

.sb-header-more {
    width: 39px;
    min-height: 39px;
    border-radius: 9px;
}

.sb-stage {
    grid-template-columns: 156px minmax(0, 1fr);
    gap: 22px;
    min-height: 0;
    align-items: start;
}

.sb-controls {
    align-self: start;
    height: min(610px, calc(100% - 29px));
    min-height: 560px;
    margin-top: 26px;
    border-radius: 17px;
    box-shadow: 0 16px 34px rgba(36, 49, 71, 0.08);
}

.sb-controls__group {
    gap: 2px;
    padding: 12px 10px 10px;
}

.sb-controls__label {
    margin: 0 4px 7px;
    font-size: 0.57rem;
}

.sb-controls__label span {
    color: #8490a1;
    font-weight: 650;
}

.sb-controls button {
    gap: 9px;
    min-height: 32px;
    padding: 0 8px;
    border-radius: 7px;
    font-size: 0.69rem;
}

.sb-controls button svg {
    width: 0.92rem;
    height: 0.92rem;
}

.sb-controls button[data-tool="redo"] svg {
    transform: scaleX(-1);
}

.sb-sticky-icon {
    display: block;
    width: 13px;
    height: 11px;
    border-radius: 1px;
    background: #c9b9ee;
    box-shadow: inset -2px -2px 0 rgba(99, 76, 155, 0.1);
    transform: rotate(-4deg);
}

.sb-controls__view {
    gap: 6px;
}

.sb-controls__zoom {
    grid-template-columns: 32px minmax(40px, 1fr) 32px;
}

.sb-controls__zoom button {
    min-height: 29px;
}

.sb-controls__zoom output,
.sb-controls .sb-fit-button {
    font-size: 0.62rem;
}

.sb-controls .sb-fit-button {
    min-height: 32px;
}

.sb-controls__people {
    display: block;
}

.sb-controls__people ul {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0 4px;
    list-style: none;
}

.sb-controls__people li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 5px;
    align-items: center;
    gap: 6px;
    color: #35465e;
    font-size: 0.57rem;
    line-height: 1.15;
}

.sb-controls__people li small {
    color: #768397;
    font-size: 0.52rem;
}

.sb-controls__people li i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4ea3ff;
}

.sb-controls__people li i.is-indigo { background: #7566c9; }
.sb-controls__people li i.is-green { background: #58ad68; }
.sb-controls__people li i.is-amber { background: #b87900; }

.sb-person-avatar {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border: 1px solid #d4dae4;
    border-radius: 50%;
    background: #f1f3f7;
    color: #617088;
    font-size: 0.48rem;
    font-weight: 700;
}

.sb-preview-label {
    margin: 5px 4px 0;
    color: #8a95a5;
    font-size: 0.5rem;
}

.sb-controls__status {
    gap: 6px;
    padding-top: 8px;
    padding-bottom: 9px;
}

.sb-status-line {
    gap: 7px;
    font-size: 0.56rem;
}

.sb-board-wrap {
    padding: 3px 5px 0;
}

.sb-frame {
    flex: none;
    width: 100%;
    aspect-ratio: 1.68;
    padding: 10px;
    border-radius: 18px;
    box-shadow:
        0 23px 38px rgba(31, 42, 60, 0.15),
        0 6px 13px rgba(40, 52, 73, 0.12),
        inset 0 1px 0 #fff,
        inset 0 -1px 0 rgba(75, 86, 98, 0.24);
}

.sb-frame::before {
    inset: 5px;
    border-radius: 14px;
}

.sb-frame__corner {
    width: 25px;
    height: 25px;
}

.sb-canvas,
.sb-columns {
    min-height: 0;
}

.sb-canvas {
    border-radius: 10px;
    background:
        radial-gradient(ellipse at 12% 4%, rgba(255,255,255,.98), transparent 30%),
        linear-gradient(108deg, rgba(255,255,255,.7), transparent 28%, rgba(241,239,234,.16) 72%, rgba(255,255,255,.52)),
        #fbfaf7;
}

.sb-board-sketches path {
    stroke: rgba(35, 111, 189, 0.38);
    stroke-width: 1.35;
}

.sb-board-sketches .sb-sketch-doodle,
.sb-board-sketches .sb-sketch-alert {
    stroke-width: 2;
}

.sb-board-sketches .sb-sketch-alert {
    stroke: rgba(188, 58, 50, 0.58);
}

.sb-columns {
    padding: 7px 16px 10px;
}

.sb-column {
    padding: clamp(15px, 1.65vw, 24px) clamp(14px, 2vw, 29px) 14px;
}

.sb-column__heading {
    margin-bottom: 5px;
}

.sb-column__header {
    min-height: 38px;
}

.sb-column__title {
    font-size: clamp(1.68rem, 2.1vw, 2.32rem);
}

.sb-note-list {
    grid-template-columns: minmax(96px, 29%) minmax(0, 1fr);
    gap: 1px 12px;
    margin-top: 2px;
}

.sb-column--projects .sb-note-list,
.sb-column--long .sb-note-list,
.sb-column--work .sb-note-list {
    grid-template-columns: minmax(0, 1fr) minmax(96px, 29%);
}

.sb-column--short .sb-note-list > li:first-child,
.sb-column--projects .sb-note-list > li:first-child,
.sb-column--long .sb-note-list > li:first-child,
.sb-column--work .sb-note-list > li:first-child {
    grid-row: 1 / span 4;
}

.sb-column--long .sb-column__header,
.sb-column--work .sb-column__header {
    color: var(--sb-marker-blue);
}

.sb-note-list > li:first-child .sb-note {
    display: grid;
    place-items: center;
    min-height: clamp(88px, 8.5vw, 116px);
    padding: 19px 10px 10px;
}

.sb-column--long .sb-note-list > li:first-child .sb-note {
    background: linear-gradient(145deg, #e5ddfb, #d3c7ee 82%, #c5b6e5);
}

.sb-column--work .sb-note-list > li:first-child .sb-note {
    background: linear-gradient(145deg, #f3c4c3, #e9abae 82%, #dc989c);
}

.sb-note-list > li:first-child .sb-note__top {
    display: block;
    width: 100%;
}

.sb-note-list > li:first-child .sb-note__top h3 {
    font-size: clamp(0.96rem, 1.15vw, 1.22rem);
    line-height: 1.02;
    text-align: center;
}

.sb-note-list > li:first-child .sb-note__complete,
.sb-note-list > li:first-child .sb-note__star,
.sb-note-list > li:first-child .sb-note__summary,
.sb-note-list > li:first-child .sb-note__meta,
.sb-note-list > li:not(:first-child) .sb-note__star,
.sb-note-list > li:not(:first-child) .sb-note__meta {
    display: none;
}

.sb-workspace.is-list-view .sb-note-list > li:first-child .sb-note__top {
    display: grid;
}

.sb-workspace.is-list-view .sb-note-list > li:first-child .sb-note__complete,
.sb-workspace.is-list-view .sb-note-list > li:first-child .sb-note__star {
    display: inline-flex;
}

.sb-workspace.is-list-view .sb-note-list > li:first-child .sb-note__summary {
    display: block;
}

.sb-workspace.is-list-view .sb-note-list > li:first-child .sb-note__meta {
    display: flex;
}

.sb-note-list > li:first-child .sb-note::before {
    width: 17px;
    height: 17px;
    top: -6px;
}

.sb-note-list > li:not(:first-child) .sb-note {
    min-height: 27px;
    padding: 2px 0 1px;
}

.sb-note-list > li:not(:first-child) .sb-note__top {
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 5px;
}

.sb-note-list > li:not(:first-child) .sb-note__top h3 {
    font-size: clamp(0.86rem, 1.04vw, 1.12rem);
    line-height: 1.05;
}

.sb-note-list > li:not(:first-child) .sb-note__complete {
    width: 16px;
    height: 18px;
}

.sb-note-list > li:not(:first-child) .sb-note__complete span {
    width: 5px;
    height: 5px;
}

.sb-column__add {
    right: 10px;
    bottom: 4px;
    min-height: 29px;
    font-size: 0.59rem;
}

.sb-focus-anchor {
    min-width: clamp(116px, 11.5vw, 158px);
    min-height: 53px;
    padding: 7px 16px;
}

.sb-focus-anchor span {
    font-size: clamp(0.95rem, 1.12vw, 1.18rem);
}

.sb-focus-anchor strong {
    font-size: 0.5rem;
}

.sb-board-corner-tools {
    top: 10px;
    right: 10px;
    border-radius: 8px;
}

.sb-board-corner-tools button {
    width: 31px;
    height: 31px;
}

.sb-board-corner-tools svg {
    width: 0.95rem;
    height: 0.95rem;
}

.sb-marker-tray {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: calc(100% - 76px);
    min-height: 27px;
    margin-top: -3px;
    padding: 3px 18px 5px;
    border-radius: 1px 1px 7px 7px;
}

.sb-markers {
    justify-content: flex-start;
    gap: 12px;
    width: min(440px, 62%);
    min-width: 0;
}

.sb-marker {
    width: clamp(58px, 6vw, 82px);
    height: 9px;
}

.sb-marker--red { color: #c83a34; transform: rotate(-0.8deg); }

.sb-eraser {
    position: absolute;
    right: 8%;
    bottom: 4px;
    display: grid;
    place-items: center;
    width: clamp(70px, 7vw, 92px);
    height: 29px;
    border: 1px solid #313840;
    border-radius: 4px;
    background: linear-gradient(145deg, #3f464e, #20262d);
    color: #9199a1;
    box-shadow: 0 3px 5px rgba(24, 30, 36, 0.24), inset 0 1px 0 rgba(255,255,255,.12);
    font-family: Newsreader, Georgia, serif;
    font-size: 0.55rem;
}

.sb-reference-footer {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 46px;
    margin: 0 -30px;
    padding: 7px 30px;
    color: #8791a1;
    font-size: 0.53rem;
}

.sb-reference-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #20314d;
    font-family: Newsreader, Georgia, serif;
    font-size: 0.78rem;
}

.sb-reference-footer__mark {
    width: 13px;
    height: 13px;
    background: linear-gradient(135deg, #4ea3ff 0 48%, #203767 49% 100%);
    box-shadow: 4px 3px 0 -1px rgba(46, 200, 211, 0.65);
}

.sb-reference-footer nav {
    display: flex;
    gap: 18px;
    margin-left: auto;
}

.sb-reference-footer a {
    color: #69768a;
    text-decoration: none;
}

@media (max-width: 1220px) {
    .sb-page {
        padding-inline: 20px;
    }

    .sb-stage {
        grid-template-columns: 154px minmax(0, 1fr);
        gap: 16px;
    }

    .sb-controls__group {
        padding-inline: 10px;
    }

    .sb-column {
        padding-inline: 22px;
    }

    .sb-note-list {
        grid-template-columns: minmax(94px, 31%) minmax(0, 1fr);
    }

    .sb-marker-tray {
        width: calc(100% - 42px);
    }

    .sb-chalk-button small,
    .sb-tray-status > span {
        display: none;
    }

    .sb-proposal-panel,
    .sb-focus-panel {
        top: 112px;
    }
}

@media (max-width: 980px) {
    .sb-workspace__header {
        align-items: flex-start;
    }

    .sb-workspace__actions {
        max-width: 480px;
    }

    .sb-privacy-pill {
        display: none;
    }

    .sb-stage {
        grid-template-columns: 72px minmax(0, 1fr);
        min-height: 680px;
    }

    .sb-controls {
        border-radius: 18px;
    }

    .sb-controls__label,
    .sb-controls button span,
    .sb-controls__view,
    .sb-controls__people,
    .sb-controls__status {
        display: none;
    }

    .sb-controls__group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 7px;
        padding: 12px 8px;
        border-bottom: 0;
    }

    .sb-controls button {
        justify-content: center;
        width: 48px;
        min-height: 48px;
        padding: 0;
    }

    .sb-column {
        padding-inline: 18px;
    }

    .sb-column__title {
        font-size: clamp(1.7rem, 3vw, 2.2rem);
    }

    .sb-note-list {
        grid-template-columns: 1fr;
    }

    .sb-note-list > li,
    .sb-column .sb-note-list > li:first-child,
    .sb-column .sb-note-list > li:not(:first-child) {
        grid-column: 1;
        grid-row: auto;
        padding: 0;
    }

    .sb-note-list > li:first-child .sb-note {
        min-height: 104px;
        padding: 21px 12px 12px;
    }

    .sb-note-list > li:first-child .sb-note__summary {
        display: none;
    }

    .sb-marker-tray {
        grid-template-columns: auto 1fr auto;
    }

    .sb-markers {
        min-width: 120px;
        gap: 7px;
    }

    .sb-tray-status > span {
        display: none;
    }
}

@media (max-width: 759px) {
    body.slate-board-redesign .footer {
        display: none;
    }

    .sb-page {
        min-height: 0;
        padding: 20px 14px 84px;
    }

    .sb-room-glow {
        display: none;
    }

    .sb-workspace__header {
        display: grid;
        min-height: 0;
        padding: 0 2px 16px;
    }

    .sb-workspace__heading h1 {
        font-size: clamp(2rem, 10vw, 2.55rem);
    }

    .sb-workspace__actions {
        display: grid;
        grid-template-columns: 1fr auto auto;
        width: 100%;
        max-width: none;
        padding: 0;
    }

    .sb-workspace__actions .sb-button--primary {
        min-width: 0;
        padding-inline: 12px;
    }

    .sb-stage {
        display: block;
        min-height: 0;
    }

    .sb-controls {
        display: none;
    }

    .sb-board-wrap {
        min-height: 0;
        padding: 0;
    }

    .sb-frame {
        min-height: 0;
        padding: 8px;
        border-radius: 18px;
        aspect-ratio: auto;
    }

    .sb-frame__corner {
        width: 23px;
        height: 23px;
    }

    .sb-canvas {
        min-height: 0;
        overflow: visible;
        border-radius: 10px;
    }

    .sb-board-sketches,
    .sb-focus-anchor {
        display: none;
    }

    .sb-scale {
        width: 100% !important;
        height: auto !important;
        transform: none !important;
    }

    .sb-columns,
    .sb-workspace.is-list-view .sb-columns {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
        min-height: 0;
        padding: 8px;
    }

    .sb-column,
    .sb-workspace.is-list-view .sb-column {
        padding: 6px 10px 12px;
        border: 0;
        border-bottom: 1px solid rgba(35,111,189,.22);
        background: transparent;
    }

    .sb-column:last-child {
        border-bottom: 0;
    }

    .sb-column__heading {
        margin: 0;
    }

    .sb-column__header,
    .sb-workspace.is-list-view .sb-column__header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        width: 100%;
        min-height: 58px;
        cursor: pointer;
        text-align: left;
    }

    .sb-column__title,
    .sb-workspace.is-list-view .sb-column__title {
        font-family: Caveat, "Segoe Print", cursive;
        font-size: 2rem;
        font-weight: 600;
    }

    .sb-column__title::after,
    .sb-workspace.is-list-view .sb-column__title::after {
        display: block;
    }

    .sb-column__count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 28px;
        height: 28px;
        border-radius: 999px;
        background: rgba(255,255,255,.72);
        color: #5b6a80;
        font-family: Inter, sans-serif;
        font-size: 0.68rem;
    }

    .sb-column__chevron {
        display: block !important;
        transition: transform 160ms ease;
    }

    .sb-column.is-open .sb-column__chevron {
        transform: rotate(180deg);
    }

    .sb-workspace.is-enhanced .sb-column:not(.is-open) .sb-note-list,
    .sb-workspace.is-enhanced .sb-column:not(.is-open) .sb-column__add {
        display: none;
    }

    .sb-note-list,
    .sb-workspace.is-list-view .sb-note-list {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 4px 0 8px;
    }

    .sb-note-list > li,
    .sb-note-list > li:first-child,
    .sb-note-list > li:not(:first-child),
    .sb-workspace.is-list-view .sb-note-list > li {
        grid-column: 1;
        grid-row: auto;
        padding: 0;
    }

    .sb-note-list .sb-note,
    .sb-note-list > li:first-child .sb-note,
    .sb-note-list > li:not(:first-child) .sb-note,
    .sb-workspace.is-list-view .sb-note-list .sb-note {
        min-height: 78px;
        padding: 14px;
        border: 1px solid rgba(167, 176, 190, 0.46);
        border-radius: 11px;
        background: rgba(255,255,255,.82);
        box-shadow: 0 7px 16px rgba(36,49,68,.08);
        transform: none;
    }

    .sb-note-list > li:first-child .sb-note::before,
    .sb-note-list > li:first-child .sb-note::after {
        display: none;
    }

    .sb-note-list .sb-note__top,
    .sb-note-list > li:first-child .sb-note__top,
    .sb-note-list > li:not(:first-child) .sb-note__top {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr) 25px;
    }

    .sb-note-list > li:first-child .sb-note__complete,
    .sb-note-list > li:first-child .sb-note__star {
        display: inline-flex;
    }

    .sb-note-list .sb-note__top h3,
    .sb-note-list > li:first-child .sb-note__top h3,
    .sb-note-list > li:not(:first-child) .sb-note__top h3 {
        font-family: Inter, sans-serif;
        font-size: 0.9rem;
        line-height: 1.35;
    }

    .sb-note-list > li:not(:first-child) .sb-note__complete span {
        width: 14px;
        height: 14px;
        border: 1.5px solid rgba(49,70,97,.52);
        border-radius: 3px;
        background: transparent;
    }

    .sb-note-list .sb-note__summary,
    .sb-note-list > li:first-child .sb-note__summary {
        display: block;
        margin: 5px 30px 0 28px;
        font-family: Inter, sans-serif;
        font-size: 0.75rem;
        line-height: 1.45;
    }

    .sb-note-list .sb-note__meta,
    .sb-note-list > li:not(:first-child) .sb-note__meta {
        margin: 7px 0 0 28px;
        font-family: Inter, sans-serif;
    }

    .sb-note-list .sb-tag,
    .sb-note-list > li:not(:first-child) .sb-tag {
        display: inline-flex;
    }

    .sb-column__add {
        position: static;
        min-height: 44px;
        margin: 4px 0 0;
        opacity: 1;
    }

    .sb-board-corner-tools {
        display: none;
    }

    .sb-marker-tray {
        display: none;
    }

    .sb-mobile-add,
    .sb-mobile-chalk {
        position: fixed;
        z-index: 45;
        right: 18px;
        bottom: calc(72px + env(safe-area-inset-bottom));
        display: grid;
        place-items: center;
        width: 54px;
        height: 54px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: var(--sb-indigo);
        color: #fff;
        box-shadow: 0 14px 32px rgba(31,46,94,.28);
    }

    .sb-mobile-chalk {
        right: 82px;
        background: var(--sb-cyan);
    }

    .sb-workspace.is-list-view .sb-marker-tray {
        display: none;
    }

    .sb-capture-layer {
        position: fixed;
        inset: 0;
        z-index: 1000;
        align-items: flex-end;
        padding: 12px;
        background: rgba(10,27,54,.42);
        backdrop-filter: blur(3px);
    }

    .sb-capture-strip {
        grid-template-columns: 1fr;
        gap: 10px;
        max-height: calc(100svh - 24px);
        overflow: auto;
        padding: 18px;
        border-radius: 22px;
    }

    .sb-capture-orb {
        width: 64px;
        height: 64px;
        justify-self: center;
    }

    .sb-capture-actions {
        grid-template-columns: 1fr 1fr;
        min-width: 0;
    }

    .sb-capture-actions .sb-button--dark {
        grid-column: 1 / -1;
    }

    .sb-proposal-panel,
    .sb-focus-panel {
        position: fixed;
        z-index: 1000;
        inset: 10px;
        width: auto;
        max-height: calc(100svh - 20px);
        border-radius: 22px;
    }

    .sb-panel__actions {
        flex-direction: column;
    }

    .sb-dialog {
        width: min(100% - 20px, 680px);
        max-height: calc(100svh - 20px);
    }

    .sb-dialog__surface {
        max-height: calc(100svh - 20px);
        padding: 18px;
        border-radius: 20px;
    }

    .sb-form-grid,
    .sb-support-grid,
    .sb-share-modes,
    .sb-stats,
    .sb-focus-facts {
        grid-template-columns: 1fr;
    }

    .sb-field--wide {
        grid-column: 1;
    }

    .sb-dialog__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .sb-dialog__footer-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .sb-overview-chart {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .sb-legend {
        width: 100%;
    }

    .sb-invite {
        grid-template-columns: 1fr;
    }

    .sb-proposal-source {
        flex-direction: column;
    }

    .sb-reference-footer {
        flex-wrap: wrap;
        margin: 16px -14px 0;
        padding: 12px 16px;
    }

    .sb-reference-footer nav {
        width: 100%;
        margin-left: 0;
    }
}

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

@media (forced-colors: active) {
    .sb-frame,
    .sb-canvas,
    .sb-controls,
    .sb-marker-tray,
    .sb-note,
    .sb-dialog__surface,
    .sb-proposal-panel,
    .sb-focus-panel {
        border: 1px solid CanvasText;
        background: Canvas;
        box-shadow: none;
        color: CanvasText;
    }

    .sb-board-sketches,
    .sb-enamel-sheen,
    .sb-frame__corner,
    .sb-marker,
    .sb-room-glow {
        display: none;
    }

    .sb-note-list > li:first-child .sb-note::before {
        display: none;
    }

    .sb-button,
    .sb-icon-button,
    .sb-controls button,
    .sb-view-toggle button,
    .sb-column__add {
        border: 1px solid ButtonText;
        background: ButtonFace;
        color: ButtonText;
    }

    .sb-page :focus-visible {
        outline: 3px solid Highlight;
    }
}

/* =====================================================================
   LAYERED INK & SIGNAL GOLD (PS-THEME-002, 2026-07-16)
   body[data-theme="dark"]: the whiteboard canvas STAYS light so the
   handwriting stays legible (brief rule) — a bright white board hung on
   a near-black wall. The wall and app chrome drop to layered ink and
   every indigo/azure/cyan accent becomes signal gold. Sticky-note and
   marker colors are user content and stay as they are.
   ===================================================================== */
body[data-theme="dark"] {
    --sb-ink: #f2f4f8;
    --sb-ink-soft: #9aa5b8;
    --sb-indigo: #e3b83a;
    --sb-azure: #d8a928;
    --sb-cyan: #bf8f17;
    --sb-amber: #d8a928;
    --sb-cloud: #16294c;
    --sb-wall: #132444;
    --sb-line: #2e4573;
}

body[data-theme="dark"].slate-board-redesign {
    background:
        radial-gradient(circle at 82% 4%, rgba(216, 169, 40, 0.08), transparent 26rem),
        linear-gradient(180deg, #0a1730 0%, #132444 60%, #0e1d3a 100%);
    color: var(--sb-ink);
}

/* App chrome on the dark wall: the controls rail becomes a dark card one
   layer above the wall; the white whiteboard stays the bright layer. */
body[data-theme="dark"] .sb-controls {
    border-color: #2e4573;
    background: linear-gradient(145deg, rgba(26, 44, 79, 0.96), rgba(20, 34, 62, 0.9));
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}

body[data-theme="dark"] .sb-controls__group {
    border-bottom-color: #2e4573;
}

/* Rail typography + tools: light labels on the dark rail; the active/
   hovered tool takes the gold signal instead of the light theme's blue. */
body[data-theme="dark"] .sb-controls__label { color: #9aa5b8; }

body[data-theme="dark"] .sb-controls button {
    color: #cbd3e0;
}

body[data-theme="dark"] .sb-controls button svg { color: #9aa5b8; }

body[data-theme="dark"] .sb-controls button:hover,
body[data-theme="dark"] .sb-controls button.is-active {
    border-color: rgba(216, 169, 40, 0.35);
    background: rgba(216, 169, 40, 0.14);
    color: #e3b83a;
}

body[data-theme="dark"] .sb-controls button.is-active svg,
body[data-theme="dark"] .sb-controls button:hover svg { color: #e3b83a; }

/* White mini-pills inside the rail (zoom, fit/list view) keep ink type —
   they are small white layers on the dark rail. */
body[data-theme="dark"] .sb-controls__zoom button,
body[data-theme="dark"] .sb-controls .sb-fit-button {
    border-color: rgba(255, 255, 255, 0.16);
    background: #f6f5f0;
    color: #1a1c22;
}

body[data-theme="dark"] .sb-controls__zoom button:hover,
body[data-theme="dark"] .sb-controls .sb-fit-button:hover {
    background: #fffdf6;
    color: #1a1c22;
}

body[data-theme="dark"] .sb-controls .sb-fit-button svg { color: #1a1c22; }
body[data-theme="dark"] .sb-controls__zoom output { color: #c4ccda; }

body[data-theme="dark"] .sb-controls__people li { color: #cbd3e0; }
body[data-theme="dark"] .sb-controls__people li small { color: #9aa5b8; }
body[data-theme="dark"] .sb-preview-label { color: #9aa5b8; }

body[data-theme="dark"] .sb-status-line { color: #9aa5b8; }
body[data-theme="dark"] .sb-status-line--saved svg { color: #69ae92; }

/* Header buttons on the dark wall (Share Board, More): white pills need
   ink type — they inherit the flipped light ink otherwise. */
body[data-theme="dark"] .sb-button,
body[data-theme="dark"] .sb-icon-button,
body[data-theme="dark"] .sb-header-more {
    color: #1a1c22;
}

/* ON-CANVAS controls sit on the white board and must keep ink type (they
   inherit the flipped light ink otherwise). */
body[data-theme="dark"] .sb-canvas .sb-focus-anchor,
body[data-theme="dark"] .sb-canvas .sb-column__add {
    color: #1a1c22;
}

body[data-theme="dark"] .sb-button:hover,
body[data-theme="dark"] .sb-icon-button:hover,
body[data-theme="dark"] .sb-view-toggle button:hover {
    border-color: rgba(216, 169, 40, 0.65);
}

body[data-theme="dark"] .sb-button--primary {
    border-color: #d8a928;
    background: linear-gradient(135deg, #d8a928, #e3b83a);
    color: #0a1730 !important;
    box-shadow: 0 12px 28px rgba(216, 169, 40, 0.25);
}

body[data-theme="dark"] .sb-button--primary:hover {
    background: #e3b83a;
}

/* Category legend + progress donut: mono family (labels carry meaning).
   The graphite segment flips to off-white so it survives the dark rail. */
body[data-theme="dark"] .sb-donut {
    background: conic-gradient(#d8a928 0 25%, #e2e7f0 25% 50%, #a89f8d 50% 75%, #8a6500 75% 100%);
}

body[data-theme="dark"] .sb-legend__dot--short { background: #d8a928; }
body[data-theme="dark"] .sb-legend__dot--projects { background: #e2e7f0; }
body[data-theme="dark"] .sb-legend__dot--long { background: #a89f8d; }
body[data-theme="dark"] .sb-legend__dot--work { background: #8a6500; }

body[data-theme="dark"] .sb-share-modes h3,
body[data-theme="dark"] .sb-share-preview-box h3 { color: #0a1730; }

body[data-theme="dark"] .sb-reference-footer__mark {
    background: linear-gradient(135deg, #d8a928 0 48%, #8a6500 49% 100%);
    box-shadow: 4px 3px 0 -1px rgba(216, 169, 40, 0.5);
}

/* Marker handwriting + note chrome: ink-first mono. */
body[data-theme="dark"] {
    --sb-marker-blue: #0a1730;
    --sb-marker-teal: #8a6500;
    --sb-marker-amber: #a87108;
}

body[data-theme="dark"] .sb-column__title { color: var(--sb-marker-blue); }
body[data-theme="dark"] .sb-column__chevron,
body[data-theme="dark"] .sb-column__chevron path { stroke: #55534e; }
body[data-theme="dark"] .sb-column__count { color: #66645f; }
body[data-theme="dark"] .sb-sketch-dash { stroke: rgba(11, 12, 14, 0.32); }

body[data-theme="dark"] .sb-note { border-color: rgba(178, 171, 158, 0.5); }
body[data-theme="dark"] .sb-note.is-starred { border-color: rgba(216, 169, 40, 0.55); }
body[data-theme="dark"] .sb-note h3 { color: #0a1730; }
body[data-theme="dark"] .sb-note__summary { color: #3a3d42; }
body[data-theme="dark"] .sb-note span { border-color: rgba(11, 12, 14, 0.35); }

body[data-theme="dark"] .sb-button--share,
body[data-theme="dark"] .sb-header-more { border-color: rgba(178, 171, 158, 0.55); }
