/* =================================================================
   autoTagWorkMovement.css — review modal for AutoTag Work & Movement.
   Builds on .work-confirm-modal from works-view.css; adds per-track
   rows with checkboxes, editable proposal fields, confidence badges.
   ================================================================= */

.atwm-content {
    width: 860px;
    max-width: 96vw;
}

.atwm-toolbar {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.atwm-link {
    background: transparent;
    border: none;
    color: var(--accent-cyan);
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.atwm-link:hover {
    text-decoration: underline;
}

.atwm-body {
    gap: 8px;
}

.atwm-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 12px 14px;
}

.atwm-row-set {
    opacity: 0.65;
}

.atwm-row-nomatch {
    opacity: 0.55;
}

.atwm-check {
    padding-top: 3px;
}

.atwm-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-primary);
    cursor: pointer;
}

.atwm-main {
    flex: 1;
    min-width: 0;
}

.atwm-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.atwm-sub {
    font-size: 11px;
    color: var(--text-muted);
    margin: 2px 0 8px;
}

.atwm-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.atwm-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.atwm-flabel {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.atwm-field input[type="text"] {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 12.5px;
    padding: 7px 9px;
    width: 100%;
    font-family: inherit;
}

.atwm-field input[type="text"]:disabled {
    opacity: 0.5;
}

.atwm-field input[type="text"]:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.atwm-current {
    font-size: 11px;
    color: var(--text-muted);
}

.atwm-side {
    flex-shrink: 0;
    padding-top: 2px;
}

.atwm-badge {
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.atwm-badge-high {
    background: rgba(52, 211, 153, 0.18);
    color: #34d399;
}

.atwm-badge-med {
    background: rgba(251, 191, 36, 0.16);
    color: #fbbf24;
}

.atwm-badge-low {
    background: rgba(167, 139, 250, 0.16);
    color: #a78bfa;
}

.atwm-badge-set {
    background: var(--bg-card-hover);
    color: var(--text-muted);
}

.atwm-badge-none {
    background: rgba(255, 90, 107, 0.12);
    color: #ff5a6b;
}

@media (max-width: 700px) {
    .atwm-fields {
        grid-template-columns: 1fr;
    }
}
