/* Approved compact icon system. Selection is a same-colour wash, never text underline. */
[data-prompt-family=contribute]{--prompt-tone:#85d69d}
[data-prompt-family=steady]{--prompt-tone:#8bcfc5}
[data-prompt-family=partial]{--prompt-tone:#efa66b}
[data-prompt-family=recovery]{--prompt-tone:#f1d36e}
[data-prompt-family=concern]{--prompt-tone:#ef9995}
[data-prompt-family=next]{--prompt-tone:var(--blue,#9bc7cd)}
.light [data-prompt-family=contribute]{--prompt-tone:#27764a}.light [data-prompt-family=steady]{--prompt-tone:#276f69}.light [data-prompt-family=partial]{--prompt-tone:#9d4f1f}.light [data-prompt-family=recovery]{--prompt-tone:#806014}.light [data-prompt-family=concern]{--prompt-tone:#ae4147}
#observationActions,#classObservation.standard-batch-evaluation #batchBehaviors{display:block}
.comment-family{margin:0 0 12px}.comment-family h3{font-size:10px!important;font-weight:600;letter-spacing:.1px;color:var(--prompt-tone);margin:0 0 2px;padding:6px 0;border-bottom:1px solid color-mix(in srgb,var(--prompt-tone) 25%,transparent)}
.family-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 7px}
body #popover #observationNextSteps.next-step-shortcuts,body #classObservation.standard-batch-evaluation #batchSteps{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 7px}
.batch-person-prompts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 7px}.batch-person-prompts:has(.comment-family){display:block}
body #popover .action-shortcut,body #popover .next-step-option,body #classObservation.standard-batch-evaluation .batch-prompt[data-prompt-family]{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;min-height:73px;padding:7px 2px 5px;border:1px solid transparent!important;border-radius:5px!important;background:transparent!important;color:var(--ink)!important;text-decoration:none!important;box-shadow:none;font-size:11.5px!important;line-height:1.32;text-align:center;touch-action:manipulation}
body #popover .action-shortcut>svg,body #popover .next-step-option>svg,body #classObservation.standard-batch-evaluation .batch-prompt[data-prompt-family]>svg{width:22px;height:22px;flex:none;color:var(--prompt-tone);stroke-width:1.75}
body #popover .action-shortcut>span:not(.prompt-check),body #popover .next-step-option>span:not(.prompt-check),body #classObservation .batch-prompt[data-prompt-family]>span:not(.prompt-check){text-decoration:none!important;line-height:1.32;overflow-wrap:normal;max-width:100%}
body #popover .action-shortcut[aria-pressed=true],body #popover .next-step-option[aria-pressed=true],body #classObservation.standard-batch-evaluation .batch-prompt[data-prompt-family][aria-pressed=true]{border-color:var(--prompt-tone)!important;background:color-mix(in srgb,var(--prompt-tone) 14%,var(--paper))!important;text-decoration:none!important}
body #popover .action-shortcut:hover,body #popover .next-step-option:hover,body #classObservation.standard-batch-evaluation .batch-prompt[data-prompt-family]:hover{background:color-mix(in srgb,var(--prompt-tone) 7%,var(--paper))!important}
.prompt-check{position:absolute;right:3px;top:3px;font-size:10px;line-height:1;color:var(--prompt-tone);display:none}
[aria-pressed=true]>.prompt-check{display:block}
/* Every sub-click occupies the same tile, including a final item in a row. */
body #popover .action-shortcut,body #popover .next-step-option,body #classObservation.standard-batch-evaluation .batch-prompt[data-prompt-family]{grid-column:auto;display:grid;grid-template-rows:22px minmax(0,1fr);align-items:center;justify-items:center;gap:6px;height:90px;min-height:90px;box-sizing:border-box;padding:6px 3px;text-align:center}
body #popover .action-shortcut>span:not(.prompt-check),body #popover .next-step-option>span:not(.prompt-check),body #classObservation .batch-prompt[data-prompt-family]>span:not(.prompt-check){width:100%;text-align:center;font-size:11.5px;line-height:1.3;hyphens:none;overflow-wrap:normal}
#popover #observationNextStepDetails{border-top:0;border-bottom:1px solid var(--line);margin:0 0 12px;padding:0 0 4px}
#observationNextStepDetails>p{display:none}#observationNextStepDetails summary{color:var(--blue);font-size:12px;text-decoration:none}
#popover .shortcut-heading{font-size:12px;font-weight:600}.shortcut-heading .muted{display:none}
body #ratings.unified-ratings,body #batchRatings{gap:6px;margin:8px 0 13px}
body #ratings.unified-ratings button,body #batchRatings button{position:relative;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;min-height:51px;padding:7px;gap:9px;border:1px solid var(--line);border-radius:5px;background:transparent;text-decoration:none!important;font-size:11.5px;line-height:1.3;color:var(--ink)}
body #ratings.unified-ratings button>svg,body #batchRatings button>svg{width:22px;height:22px;flex:none;color:var(--prompt-tone,var(--blue))}
#ratings button[data-rating=active],#ratings button[data-rating=quiet],#batchRatings button[data-rating=active],#batchRatings button[data-rating=quiet]{--prompt-tone:#85d69d}
#ratings button[data-rating=partly],#batchRatings button[data-rating=partly]{--prompt-tone:#f1d36e}
#ratings button[data-rating=off],#batchRatings button[data-rating=off]{--prompt-tone:#ef9995}
body #ratings.unified-ratings button.picked,body #batchRatings button.picked{border:1px solid var(--prompt-tone)!important;padding:7px;background:color-mix(in srgb,var(--prompt-tone) 14%,var(--paper));box-shadow:none;text-decoration:none!important}
body #ratings.unified-ratings button.picked>span,body #batchRatings button.picked>span{border:0;padding:0;text-decoration:none!important}
#popover button:focus-visible,#classObservation button:focus-visible,#popover summary:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
#popover{max-width:calc(100vw - 24px);scrollbar-width:thin;overscroll-behavior:contain}
