#tac-staff .ts561-layout{display:grid;grid-template-columns:minmax(170px,230px) minmax(0,1fr);gap:22px;margin-top:18px}#tac-staff .ts561-menu{display:flex;flex-direction:column;gap:6px;align-self:start}#tac-staff .ts561-menu button{width:100%;text-align:left;padding:12px;border:1px solid #dedede;border-radius:8px;background:transparent;color:inherit;font-size:12px;line-height:1.4;cursor:pointer}#tac-staff .ts561-menu button.is-active{border-color:currentColor;font-weight:700}#tac-staff .ts561-content{min-width:0}#tac-staff .ts561-section[hidden]{display:none!important}#tac-staff .ts561-section h4{font-size:17px;margin:0 0 18px}#tac-staff .ts561-answer{border-bottom:1px solid #ddd;padding:14px 0}#tac-staff .ts561-question{font-size:12px;opacity:.75;margin-bottom:7px}#tac-staff .ts561-value{font-size:14px;font-weight:600;overflow-wrap:anywhere}#tac-staff .ts561-changed{border-left:3px solid #8d9c96;padding-left:12px}#tac-staff .ts561-diff{margin-top:12px;padding:12px;background:rgba(120,120,120,.08);border-radius:8px}#tac-staff .ts561-diff span{font-size:11px;opacity:.7}#tac-staff .ts561-diff p{font-size:13px;margin:4px 0 10px}#tac-staff .ts561-diff select{display:block;max-width:100%;margin-top:5px;padding:7px;background:#fff;color:#222}#tac-staff .ts561-bottom,#tac-staff .ts561-review{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:20px}#tac-staff .ts561-bottom{justify-content:space-between}#tac-staff .ts561-bottom button,#tac-staff .ts561-review button{border:1px solid #888;border-radius:7px;padding:10px 14px;background:#222;color:#fff!important;cursor:pointer;opacity:1;visibility:visible}#tac-staff .ts561-bottom button:disabled{opacity:.4;cursor:default}#tac-staff .ts561-review [data-ts561-message]{font-size:12px}#tac-staff .ts561-note{font-size:12px}@media(max-width:720px){#tac-staff .ts561-layout{grid-template-columns:1fr}#tac-staff .ts561-menu{flex-direction:row;overflow-x:auto}#tac-staff .ts561-menu button{min-width:150px}}
/* TAC 5.62 — legible action buttons and compact survey version headings. */
#tac-staff details.ts561-survey > summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 12px;cursor:pointer;min-height:42px}
#tac-staff details.ts561-survey > summary strong{font-size:12px!important;font-weight:600!important;line-height:1.45!important;letter-spacing:0!important;overflow-wrap:anywhere;min-width:0}
#tac-staff details.ts561-survey > summary span{font-size:10px!important;line-height:1.4!important;font-weight:400;white-space:nowrap;color:#666}
#tac-staff .ts561-bottom button,#tac-staff .ts561-review button{font-family:inherit!important;font-size:12px!important;line-height:1.4!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;background:#1c1c1c!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #1c1c1c!important;opacity:1!important;box-shadow:none!important;min-height:38px;transition:background .15s ease,border-color .15s ease}
#tac-staff .ts561-bottom button:not(:disabled):hover,#tac-staff .ts561-review button:not(:disabled):hover{background:#444!important;border-color:#444!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
#tac-staff .ts561-bottom button:disabled,#tac-staff .ts561-review button:disabled{background:#eee!important;border-color:#ddd!important;color:#666!important;-webkit-text-fill-color:#666!important;opacity:1!important;cursor:not-allowed}
#tac-staff .ts561-bottom button:focus-visible,#tac-staff .ts561-review button:focus-visible{outline:2px solid #444;outline-offset:2px}
#tac-staff .ts561-review{margin-top:12px}
@media(max-width:720px){#tac-staff details.ts561-survey > summary{align-items:flex-start;flex-direction:column;gap:3px}#tac-staff details.ts561-survey > summary span{white-space:normal}}

/* TAC 5.63: visible per-answer review without bulk approval. */
#tac-staff .ts563-overview{grid-column:1/-1;padding:13px 16px;border:1px solid #cbd5ce;border-radius:8px;background:#f3f7f4;color:#223a2c;font-size:12px;line-height:1.6}
#tac-staff .ts563-change-tag{display:inline-block;margin-bottom:8px;padding:4px 8px;border-radius:4px;background:#e5f0e9;color:#235b38;font-size:11px;font-weight:700}
#tac-staff .ts561-changed{border-left:3px solid #378353;padding-left:14px;background:rgba(55,131,83,.025)}
#tac-staff .ts563-field-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:12px}
#tac-staff .ts563-field-actions button{font:600 12px/1.4 inherit!important;padding:9px 12px;border:1px solid #222;border-radius:6px;background:#fff;color:#222!important;cursor:pointer}
#tac-staff .ts563-field-actions button.is-selected{background:#1d1d1d;color:#fff!important}
#tac-staff .ts563-field-actions button:disabled{opacity:.5;cursor:default}
#tac-staff .ts563-field-actions span,#tac-staff .ts563-final-state{font-size:11px;color:#555}
#tac-staff .ts563-final-state{margin-top:9px;font-weight:600}

/* TAC 5.64 — unmistakable navigation markers and individual changed-field emphasis. */
#tac-staff .ts561-menu button.ts564-menu-changed{display:flex;align-items:center;justify-content:space-between;gap:7px;border-color:#8dbba0!important;background:#eff7f1!important;color:#184c30!important;font-weight:650}
#tac-staff .ts561-menu button.ts564-menu-changed.is-active{border:2px solid #237e4c!important;background:#e2f2e7!important}
#tac-staff .ts564-count{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;border-radius:99px;padding:4px 7px;background:#217a49;color:white!important;font:700 10px/1.2 Arial,sans-serif;white-space:nowrap}
#tac-staff .ts561-answer.ts561-changed{margin:12px 0;padding:16px 18px!important;border:1px solid #9bc8ac!important;border-left:5px solid #25804c!important;border-radius:9px;background:#f1f8f3!important;box-shadow:0 2px 8px rgba(20,70,40,.06)}
#tac-staff .ts561-changed .ts561-question{font-weight:700;color:#173b28;opacity:1}
#tac-staff .ts561-changed .ts561-diff{background:white;border:1px solid #d8e7dd}
#tac-staff .ts563-change-tag{background:#227a49!important;color:white!important;font-weight:700!important;padding:6px 10px}
#tac-staff .ts563-field-actions button{font-family:inherit!important;font-size:12px!important;font-weight:650!important}
#tac-staff .ts563-field-actions button:first-child{border-color:#267c4d!important;background:#267c4d!important;color:white!important}
#tac-staff .ts563-field-actions button.is-selected{outline:3px solid #b1d5bd!important;outline-offset:2px}
#tac-staff .ts561-diff select[hidden]{display:none!important}
