.sj-toast-region {
    position: fixed;
    z-index: 40;
    right: 12px;
    bottom: 12px;
    display: grid;
    width: min(360px, calc(100vw - 24px));
    gap: 8px;
    pointer-events: none;
}

.sj-toast {
    border: 1px solid var(--line);
    border-radius: 0;
    background: rgba(8, 12, 18, 0.96);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
    color: var(--text);
    padding: 10px 12px;
    font-size: 0.86rem;
    line-height: 1.35;
    animation: sj-slide-up 160ms ease-out;
}

.sj-toast.ok { border-color: rgba(139, 214, 111, 0.6); }
.sj-toast.warn { border-color: rgba(243, 181, 75, 0.7); }
.sj-toast.error { border-color: rgba(239, 117, 100, 0.75); }

.readiness-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(104px, 0.6fr);
    gap: 10px;
    align-items: stretch;
}

.readiness-card,
.action-section,
.activity-strip {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.035);
    padding: 10px;
}

.readiness-card strong,
.activity-strip strong {
    display: block;
    color: #fff;
    font-size: 0.96rem;
}

.readiness-stat {
    display: grid;
    place-items: center;
    border: 1px solid rgba(243, 181, 75, 0.34);
    border-radius: 0;
    background: rgba(243, 181, 75, 0.08);
    padding: 10px;
    text-align: center;
}

.readiness-stat strong {
    color: var(--amber);
    font-size: 1.2rem;
}

.action-sections {
    display: grid;
    gap: 10px;
}

.action-section h3 {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.action-list {
    display: grid;
    gap: 8px;
}

.action-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-height: 60px;
    padding: 9px 10px;
    text-align: left;
}

.action-card strong,
.action-card span {
    display: block;
}

.action-card strong {
    font-size: 0.95rem;
}

.action-card .muted {
    font-size: 0.76rem;
}

.action-card .reason {
    color: var(--amber);
}

.action-card[data-fit="true"] {
    border-color: rgba(243, 181, 75, 0.62);
}

.action-card[data-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.68;
}

.action-card[data-disabled="true"] .reason,
.action-card:disabled .reason {
    color: var(--red);
}

.activity-strip {
    display: grid;
    gap: 6px;
}

.activity-row {
    display: grid;
    gap: 2px;
    color: var(--muted);
    font-size: 0.8rem;
}

.activity-row.ok { color: var(--green); }
.activity-row.warn { color: var(--amber); }
.activity-row.error { color: var(--red); }

.sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(0, 0, 0, 0.52);
    animation: sj-fade-in 140ms ease-out;
}

.beacon-sheet {
    position: fixed;
    z-index: 31;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    max-height: min(86vh, 720px);
    border: 1px solid var(--line-hot);
    border-radius: 0;
    background: rgba(9, 14, 21, 0.98);
    box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.48);
    padding: 14px;
    gap: 12px;
    overflow: auto;
    animation: sj-sheet-up 170ms ease-out;
}

.sheet-header,
.sheet-actions,
.beacon-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.beacon-preview {
    border: 1px solid rgba(100, 199, 255, 0.22);
    border-radius: 0;
    background: rgba(100, 199, 255, 0.06);
    color: var(--muted);
    padding: 9px;
    font-size: 0.82rem;
    line-height: 1.35;
}

.beacon-preview strong {
    color: var(--text);
}

.picker-frame.is-open {
    display: block;
}

.sj-kiosk-factions {
    margin-top: 10px;
}

@keyframes sj-slide-up {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes sj-sheet-up {
    from { transform: translateY(18px); }
    to { transform: translateY(0); }
}

@keyframes sj-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (min-width: 720px) {
    .beacon-sheet {
        right: max(18px, calc((100vw - 620px) / 2));
        left: max(18px, calc((100vw - 620px) / 2));
        bottom: 18px;
        border-radius: 0;
    }
}
