

.system-status {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: #9db3c8;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: .62rem;
    letter-spacing: .08em;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #72d49a;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(114, 212, 154, .55);
    animation: status-pulse 2.2s infinite;
}

.week-strip {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 22px;
}

.week-day {
    display: grid;
    justify-items: center;
    gap: 3px;
    padding: 6px 2px;
    border: 1px solid rgba(255, 253, 249, .16);
    color: #9db3c8;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: .58rem;
    line-height: 1;
    text-transform: uppercase;
}

.week-day time {
    color: var(--paper);
    font-size: .68rem;
    font-weight: 700;
}

.week-day[aria-current="date"] {
    border-color: var(--gold);
    color: var(--ink);
    background: var(--gold);
}

.week-day[aria-current="date"] time {
    color: var(--ink);
}

.code-note {
    display: grid;
    justify-items: end;
    gap: 3px;
    width: 100%;
    margin-top: 10px;
    color: var(--paper);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .04em;
    opacity: 1;
    text-align: right;
}

.visual-note {
    color: var(--paper);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.05;
}

.visual-note strong {
    color: var(--gold);
    font-size: 2.7rem;
}

.plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    margin: 16px 0 30px;
}

.plan-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
    min-height: 120px;
    padding: 17px;
    border: 0;
    color: var(--ink);
    font-family: "Lato", "Segoe UI", system-ui, sans-serif;
    font-size: .76rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -.01em;
    cursor: pointer;
    text-align: left;
    transition: filter .2s ease, transform .2s ease;
}

.plan-tile-today {
    position: absolute;
    top: 11px;
    right: 11px;
    padding: 2px 4px;
    border: 1px solid currentColor;
    font-size: .52rem;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1;
}

.plan-tile-today[hidden] {
    display: none;
}

.plan-tile:hover {
    filter: brightness(1.12);
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    transform: translateY(-5px);
}

.plan-tile:focus-visible,
.plan-tile.is-selected {
    filter: brightness(1.12);
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.plan-tile:focus-visible {
    outline-color: var(--white);
}

.plan-tile:active {
    transform: translateY(-1px) scale(.985);
}

.plan-tile .plan-letter {
    color: var(--gold);
}

.plan-tile-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.plan-letter {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    white-space: nowrap;
}

.plan-a {
    color: var(--ink);
    background: var(--gold);
}

.plan-a .plan-letter {
    color: var(--ink);
}

.plan-b {
    color: var(--white);
    background: #223147;
}

.plan-c {
    color: var(--white);
    background: var(--accent);
}

.plan-c .plan-letter {
    color: var(--white);
}

.plan-d {
    color: var(--white);
    background: #526c70;
}

.visual-caption {
    color: var(--paper);
    font-size: .9rem;
    line-height: 1.35;
}

.visual-caption strong {
    color: var(--gold);
}

.caption-action {
    display: inline-block;
    width: 100%;
    font-size: 1.05rem;
    font-weight: 700;
    transform: translateY(2px);
    text-align: left;
    white-space: nowrap;
}

.caption-action::after {
    display: inline-block;
    width: 7px;
    height: calc(1.15em - 2px);
    margin-left: 6px;
    background: var(--gold);
    content: "";
    transform: translateY(0);
    vertical-align: -.14em;
    animation: cursor-blink 1.1s steps(2, start) infinite;
}

@keyframes status-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(114, 212, 154, .55);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(114, 212, 154, 0);
    }
}
