/* edet-inspector.css — the Scene Inspector aux panel (Cluster A · Phase 1).
   Shares the right aux column with notes/history/comments via
   #edet-app[data-aux="inspector"] (the .dr-aux base lives in edet-notes.css).
   Tokens from site.css :root only — no hardcoded colors/timings. */

.edet-app[data-aux="inspector"] #dr-inspector-pane {
    display: flex;
    transform: translateX(0);
    box-shadow: var(--shadow-lg);
}
@media (min-width: 721px) {
    .edet-app[data-aux="inspector"] #dr-inspector-pane {
        position: static;
        transform: none;
        width: auto;
        max-width: none;
        box-shadow: none;
    }
}

.dr-inspector-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 0.6rem 0.7rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.dr-insp-empty {
    padding: 0.6rem 0.5rem;
    color: var(--fg-dim);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.dr-insp-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.dr-insp-label {
    color: var(--fg-muted);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.dr-insp-text,
.dr-insp-input,
.dr-insp-select {
    width: 100%;
    box-sizing: border-box;
    background: var(--bg);
    color: var(--fg);
    border: 1px solid var(--rule);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    line-height: 1.5;
    padding: 0.35rem 0.5rem;
    outline: none;
}
.dr-insp-text { resize: vertical; min-height: 2.2rem; }
.dr-insp-text:focus,
.dr-insp-input:focus,
.dr-insp-select:focus {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--rule));
}
.dr-insp-text::placeholder,
.dr-insp-input::placeholder { color: var(--fg-dim); }

.dr-insp-checks {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 0.35rem 0.45rem;
    max-height: 9rem;
    overflow-y: auto;
}
.dr-insp-checks-empty { color: var(--fg-dim); font-size: var(--text-sm); margin: 0; }
.dr-insp-check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--fg);
    cursor: pointer;
}
.dr-insp-check input { accent-color: var(--accent); }

/* ---- character-arc turning points (Phase 3) ---- */
.dr-insp-tps {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.dr-insp-tp {
    display: grid;
    grid-template-columns: 1fr minmax(6rem, 9rem) auto;
    gap: 0.3rem;
    align-items: center;
}
.dr-insp-tp-del {
    background: transparent;
    border: 1px solid var(--rule);
    border-radius: 6px;
    color: var(--fg-dim);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    width: 26px;
    height: 26px;
    cursor: pointer;
    line-height: 1;
}
.dr-insp-tp-del:hover { color: var(--status-err, #e66); border-color: var(--status-err, #e66); }
.dr-insp-add {
    align-self: flex-start;
    margin-top: 0.3rem;
    background: transparent;
    border: 1px dashed var(--rule);
    border-radius: 6px;
    color: var(--fg-muted);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    padding: 0.25rem 0.6rem;
    cursor: pointer;
}
.dr-insp-add:hover { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, var(--rule)); }

/* ---- corkboard card badges (purpose one-liner + tone dot) ---- */
.dr-scene-card-purpose {
    color: var(--fg-muted);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    line-height: 1.4;
    margin-top: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dr-scene-tone {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* scene soundtrack launcher (Phase 13) */
.dr-insp-snd { display: flex; gap: 0.35rem; align-items: stretch; }
.dr-insp-snd .dr-insp-input { flex: 1 1 auto; }
.dr-insp-play {
    flex: 0 0 auto;
    background: transparent;
    border: 1px solid var(--rule);
    border-radius: 6px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    padding: 0 0.55rem;
    cursor: pointer;
}
.dr-insp-play:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--rule)); background: var(--bg); }
