.project-command{margin:14px 0;padding:14px 16px;background:var(--surface,#fff);border:1px solid var(--line,#cad7df);border-radius:14px;color:var(--text,#142c3b)}
.command-speech-status{margin:10px 0;line-height:1.5}.command-entry{flex-wrap:wrap}.command-entry input{flex:1 1 150px}.command-entry button{flex:0 0 auto}
@media(max-width:640px){.command-entry input{flex:1 0 100%}.command-entry button{flex:1 1 0}}
.command-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.command-heading label{font-weight:750}.command-heading span{font-size:.76rem;letter-spacing:.09em;color:var(--muted,#506877)}.command-entry{display:flex;gap:8px}.command-entry input{flex:1;min-width:0;min-height:44px}.command-entry button,.command-actions button{min-height:44px}.command-actions{display:flex;gap:8px}.project-command details>summary{cursor:pointer}.project-command li{padding:8px 0;overflow-wrap:anywhere}.project-command li small{display:block;color:var(--muted,#506877)}
/* Keep a small visible help affordance beside each labelled action. The
   existing accessible dialog and its keyboard focus behavior remain. */
.first-explain-pair{position:relative;display:flex!important;align-items:stretch!important;min-width:0}
.first-explain-pair>button:not(.first-explain-icon){flex:1;min-width:0;padding-right:38px!important}
.first-explain-pair>.first-explain-icon{position:absolute;right:3px;top:50%;transform:translateY(-50%);border:0!important;background:transparent!important;box-shadow:none!important;min-width:32px!important;min-height:36px!important;width:32px!important;height:36px!important;padding:4px!important;font-size:.8rem!important;border-radius:50%!important;opacity:.72}
.first-explain-pair>.first-explain-icon:hover,.first-explain-pair>.first-explain-icon:focus-visible{opacity:1;background:var(--surface,#fff)!important;outline:2px solid #18756d}
.point-explain-icon{min-width:32px!important;width:32px!important;min-height:36px!important;font-size:.8rem!important;padding:4px!important}
.view-controls{gap:8px!important}.view-controls>.first-explain-pair{grid-column:auto!important}
@media(max-width:640px){.project-command{padding:12px}.command-heading span{display:none}.view-controls{display:flex!important;flex-wrap:wrap}.view-controls>button,.view-controls>.first-explain-pair{flex:1 1 140px;min-height:46px}.view-controls .first-explain-pair>button:not(.first-explain-icon){min-height:46px!important;font-size:.88rem!important}.view-controls>.first-explain-pair>.first-explain-icon{flex:none!important}.viewer-head-actions #open-selection-export{min-height:40px}.command-entry input{font-size:16px}}

@media(max-width:640px){.project-command .command-entry input{flex:1 0 100%}.project-command .command-entry button{flex:1 1 0}}
