/* Home review workspace. All changes represented here are local plans. */
.action-center { min-width: 0; }
.ac-page { width: 100%; max-width: 1320px; margin: 0 auto; padding: 34px 40px 52px; box-sizing: border-box; }
.ac-header { margin-bottom: 24px; }
.ac-header .eyebrow { margin-bottom: 10px; }
.ac-header h1 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.13; letter-spacing: -.035em; font-weight: 600; margin: 0; max-width: 820px; }
.ac-header p { font-size: 14px; line-height: 1.65; color: var(--ink-2); max-width: 720px; margin: 12px 0 0; }
.ac-scope { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 18px; border: 1px solid var(--line); background: var(--bg); border-radius: var(--r-lg); margin-bottom: 20px; }
.ac-scope .field { margin: 0; min-width: 0; }
.ac-scope .select { width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; }
.ac-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 28px; }
.ac-metric { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; background: var(--bg); }
.ac-metric-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .045em; color: var(--ink-3); text-transform: uppercase; }
.ac-metric-value { display: block; font-size: 32px; font-weight: 600; letter-spacing: -.03em; margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.ac-metric-note { font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.ac-toolbar { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.ac-toolbar h2 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.ac-toolbar p { font-size: 12px; color: var(--ink-3); margin: 7px 0 0; line-height: 1.5; }
.ac-filters { display: flex; gap: 12px; flex-wrap: wrap; }
.ac-filters .field { min-width: 150px; margin: 0; }
.ac-filters .select { min-width: 0; max-width: 100%; }
.ac-queue, .ac-activity-list { display: flex; flex-direction: column; gap: 12px; }
.ac-issue { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.ac-issue h3 { font-size: 17px; line-height: 1.4; font-weight: 600; letter-spacing: -.015em; margin: 12px 0 7px; }
.ac-issue p { font-size: 13px; line-height: 1.6; color: var(--ink-2); margin: 0; max-width: 78ch; }
.ac-tags, .ac-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; }
.ac-tag { font-family: var(--font-mono); font-size: 10px; line-height: 1.5; border: 1px solid var(--line); padding: 3px 7px; border-radius: 3px; color: var(--ink-2); background: var(--bg-soft); }
.ac-tag.status-approved { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ac-meta { font-size: 11px; line-height: 1.6; color: var(--ink-3); margin-top: 14px; }
.ac-meta span { overflow-wrap: anywhere; }
.ac-empty { text-align: center; padding: 44px 24px; border: 1px dashed var(--line); border-radius: var(--r-lg); background: var(--bg); }
.ac-empty h3 { font-size: 18px; font-weight: 600; margin: 0 0 10px; }
.ac-empty p { font-size: 13px; line-height: 1.6; color: var(--ink-3); margin: 0 auto 18px; max-width: 54ch; }
.ac-boundary, .ac-notice { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-soft); padding: 14px 18px; font-size: 12px; line-height: 1.65; color: var(--ink-2); margin: 18px 0; }
.ac-boundary strong { font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; display: block; margin-bottom: 4px; }
.ac-notice { background: var(--bg); border-left: 3px solid var(--ink); }
.ac-back { margin-bottom: 22px; }
.ac-review-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(250px, 1fr); gap: 20px; align-items: start; }
.ac-review-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ac-review-context { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ac-storage-note { margin: 18px 0; color: var(--ink-3); font-size: 11px; line-height: 1.6; }
.ac-storage-note p, .ac-notice p { margin: 0; }
.ac-notice p + p { margin-top: 6px; }
.ac-panel { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); padding: 24px; min-width: 0; }
.ac-panel h2 { margin: 0 0 16px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.ac-panel h3 { font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.ac-panel p { font-size: 13px; color: var(--ink-2); line-height: 1.65; }
.ac-evidence { margin: 0; }
.ac-evidence > div { padding: 12px 0; border-top: 1px solid var(--line-soft); }
.ac-evidence > div:first-child { padding-top: 0; border-top: 0; }
.ac-evidence dt, .ac-facts dt { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); line-height: 1.6; margin-bottom: 5px; }
.ac-evidence dd, .ac-facts dd { font-size: 13px; color: var(--ink); line-height: 1.6; margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.ac-changes { display: flex; flex-direction: column; gap: 18px; }
.ac-before-after { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ac-value { padding: 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-soft); min-width: 0; }
.ac-value-label { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); margin-bottom: 8px; }
.ac-value p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.ac-facts { margin: 0; display: grid; gap: 15px; }
.ac-revision { font-family: var(--font-mono); font-size: 11px; overflow-wrap: anywhere; }
.ac-note { margin-top: 20px; }
.ac-note .textarea { width: 100%; min-height: 108px; box-sizing: border-box; resize: vertical; }
.ac-note .field-label { display: block; margin-bottom: 8px; }
.ac-decision-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ac-decision-actions .btn { white-space: normal; }
.ac-decision-result { font-size: 15px; font-weight: 600; line-height: 1.5; margin: 18px 0 0; }
.ac-activity { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.ac-activity h3 { font-size: 16px; line-height: 1.4; margin: 12px 0 9px; font-weight: 600; }
.ac-activity-note { font-size: 13px; line-height: 1.6; padding: 12px 14px; background: var(--bg-soft); margin: 16px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.ac-activity-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.ac-channel-card { text-align: left; font: inherit; width: 100%; cursor: pointer; }
.ac-channel-card .mc-desc { line-height: 1.6; }
.ac-channels-foot { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 1180px) {
    .ac-review-grid { grid-template-columns: minmax(0, 1fr); }
    .ac-review-context { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 900px) {
    .ac-page { padding: 28px 24px 42px; }
    .ac-header h1 { font-size: 34px; }
    .ac-scope { gap: 12px; }
    .ac-issue { padding: 20px; }
}
@media (max-width: 600px) {
    .ac-page { padding: 24px 18px 36px; }
    .ac-header h1 { font-size: 28px; }
    .ac-scope { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 14px; }
    .ac-metrics { gap: 8px; margin-bottom: 24px; }
    .ac-metric { padding: 14px 11px; }
    .ac-metric-label { font-size: 9px; }
    .ac-metric-value { font-size: 27px; }
    .ac-metric-note { font-size: 10px; }
    .ac-filters { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .ac-filters .field { min-width: 0; }
    .ac-filters .select { width: 100%; }
    .ac-issue { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 18px; }
    .ac-issue > .btn { justify-self: start; }
    .ac-panel, .ac-activity { padding: 18px; }
    .ac-before-after, .ac-review-context { grid-template-columns: minmax(0, 1fr); }
    .ac-decision-actions .btn { flex: 1 1 140px; }
    .ac-activity-footer { align-items: flex-start; }
    .ac-activity-footer .btn { width: 100%; }
}

/* Authenticated dealership context; demo review history remains separate. */
.ac-workspace-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ac-header h1 { overflow-wrap: anywhere; }
@media (max-width: 600px) { .ac-workspace-actions > .btn { width: 100%; } }
