/* Grok redemption: cookie tutorial figure, safety note and live paste check. */
.cookie-guide {
    margin: 12px 0 0;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    background: var(--surface);
}

.cookie-guide > summary {
    cursor: pointer;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.cookie-guide[open] > summary {
    border-bottom: 1px solid var(--divider);
}

/* A drawn Chrome DevTools panel; every value is a placeholder. */
.devtools-mock {
    margin: 12px;
    border: 1px solid #d4d4d8;
    border-radius: var(--radius-sm);
    overflow: hidden;
    font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: #27272a;
    background: #ffffff;
}

.dt-tabs,
.dt-subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 14px;
    padding: 6px 10px;
    background: #f4f4f5;
    border-bottom: 1px solid #e4e4e7;
    color: #71717a;
}

.dt-subtabs {
    background: #fafafa;
}

.dt-active {
    color: #18181b;
    font-weight: 700;
    box-shadow: inset 0 -2px 0 #18181b;
}

.dt-body {
    display: grid;
    grid-template-columns: minmax(96px, 32%) minmax(0, 1fr);
    min-height: 168px;
}

.dt-list {
    border-right: 1px solid #e4e4e7;
}

.dt-list-head,
.dt-row,
.dt-section,
.dt-header {
    padding: 3px 10px;
}

.dt-list-head {
    color: #71717a;
    border-bottom: 1px solid #e4e4e7;
}

.dt-row {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #52525b;
}

.dt-selected {
    background: #e4e4e7;
    color: #18181b;
    font-weight: 700;
}

.dt-section {
    font-weight: 700;
    color: #18181b;
}

.dt-header {
    overflow-wrap: anywhere;
}

.dt-key {
    color: #7c3aed;
}

.dt-highlight {
    margin: 2px 6px;
    border: 2px solid #18181b;
    border-radius: 6px;
    background: #fef9c3;
}

.dt-menu {
    display: inline-flex;
    flex-direction: column;
    margin: 0 0 4px 28px;
    padding: 4px 0;
    border: 1px solid #d4d4d8;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.dt-menu span {
    padding: 2px 14px;
}

.dt-menu .dt-active {
    box-shadow: none;
    background: #18181b;
    color: #ffffff;
}

/* Numbered pins match the step numbers above the figure. */
.dt-pin {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    border-radius: 50%;
    background: #18181b;
    color: #ffffff;
    font: 700 11px/1 Inter, system-ui, sans-serif;
    vertical-align: middle;
}

.cookie-guide-warning {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 12px 0 16px;
    padding: 10px 12px;
    border-radius: var(--radius);
    background: var(--warning-soft);
    color: #92400e;
    font-size: 13px;
    line-height: 1.55;
}

.cookie-guide-warning svg,
.cookie-guide-warning i {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

.cookie-check {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.cookie-check.is-ok {
    color: #047857;
}

.cookie-check.is-bad {
    color: var(--error);
}

@media (max-width: 480px) {
    .devtools-mock {
        margin: 10px;
        font-size: 11px;
    }

    .dt-body {
        grid-template-columns: minmax(84px, 34%) minmax(0, 1fr);
    }
}
