/* B desktop refinement: a persistent task-level cue, then two clear advice groups. */
.desktop-workbench .priority-banner {
  display: flex; align-items: center; gap: 18px; flex: none;
  padding: 15px 20px; margin: 0 0 14px; min-height: 90px;
  border: 1px solid #e7c28b; border-left: 5px solid #bc730c; border-radius: 12px;
  background: #fff7e9; color: #543815; box-shadow: 0 3px 10px #70490006;
}
.desktop-workbench .priority-banner-symbol { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #eac98c; border-radius: 12px; background: #ffe9bf; color: #996015; }
.desktop-workbench .priority-banner-symbol .icon { width: 25px; height: 25px; }
.desktop-workbench .priority-banner-copy { flex: 1; min-width: 0; }
.desktop-workbench .priority-banner-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 5px; }
.desktop-workbench .priority-banner-heading strong { font-size: 19px; font-weight: 700; line-height: 1.3; }
.desktop-workbench .priority-banner-heading span { font-size: 12px; line-height: 1.5; color: #825b27; border-left: 1px solid #d6b581; padding-left: 12px; }
.desktop-workbench .priority-banner-copy p { margin: 0; font-size: 17px; line-height: 1.6; color: #684516; overflow-wrap: anywhere; }
.desktop-workbench .priority-banner-action { flex: none; min-height: 44px; padding: 10px 16px; color: #fff; background: #735526; border: 1px solid #735526; border-radius: 8px; font-size: 14px; }
.desktop-workbench .priority-banner-action:hover { background: #5c421c; border-color: #5c421c; }
.desktop-workbench .priority-banner-action:active { background: #443011; }
.desktop-workbench .assistant-content { padding: 16px 18px 24px; }
.desktop-workbench .advice-overview { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 0 0 15px; margin-bottom: 16px; border-bottom: 1px solid #e2eaf0; font-size: 13px; color: #60798e; }
.desktop-workbench .advice-overview > span { display: inline-flex; align-items: center; gap: 6px; }
.desktop-workbench .advice-overview b { font-size: 17px; font-variant-numeric: tabular-nums; }
.desktop-workbench .advice-overview .priority-count { color: #8a5b18; }
.desktop-workbench .advice-overview .priority-count .icon { width: 17px; height: 17px; }
.desktop-workbench .advice-overview > .button { margin-left: auto; font-size: 12px; min-height: 30px; padding: 4px 0; }
.desktop-workbench .advice-group { margin: 0 0 18px; }
.desktop-workbench .advice-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.desktop-workbench .advice-group-heading h3 { font-size: 17px; margin: 0; color: #704715; }
.desktop-workbench .advice-group-heading > span { font-size: 12px; color: #8c714b; }
.desktop-workbench .advice-task { min-width: 0; border: 1px solid #dce7ef; border-radius: 10px; background: #fff; overflow: hidden; }
.desktop-workbench article.advice-task { padding: 15px 17px; margin: 0 0 11px; }
.desktop-workbench .advice-task.is-priority { border-color: #e5c794; background: #fffaf1; border-left: 3px solid #bf822e; }
.desktop-workbench .advice-task.is-focused { outline: 2px solid #b4791e; outline-offset: 2px; }
.desktop-workbench .advice-task-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; font-size: 12px; color: #875e25; }
.desktop-workbench .advice-task-meta > span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.desktop-workbench .advice-task-meta .icon { width: 16px; height: 16px; }
.desktop-workbench .advice-task-meta > small { font-size: 10px; color: #8c7554; }
.desktop-workbench .advice-task-text { margin: 0; font-size: 16px; line-height: 1.8; font-weight: 550; color: #543f26; overflow-wrap: anywhere; }
.desktop-workbench .task-evidence { margin-top: 11px; }
.desktop-workbench .task-evidence > summary { cursor: pointer; color: #506e85; font-size: 12px; line-height: 1.8; }
.desktop-workbench .task-evidence > summary span { margin-left: 6px; color: #728595; }
.desktop-workbench .task-evidence .guidance-source { margin: 8px 0 0; padding: 11px 13px; background: #f1f6fa; border: 1px solid #dde8f0; font-size: 13px; }
.desktop-workbench .task-evidence .guidance-source small { margin-bottom: 5px; }
.desktop-workbench .task-source-empty { font-size: 11px; line-height: 1.6; color: #8c7657; margin: 9px 0 0; }
.desktop-workbench .advice-task-actions { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.desktop-workbench .advice-task-actions .button { flex: none; min-height: 34px; padding: 6px 10px; font-size: 12px; border-radius: 6px; }
.desktop-workbench .advice-task-actions .task-complete { border: 1px solid #a9bccb; background: #fff; color: #285777; }
.desktop-workbench .advice-task-actions .task-complete:hover { border-color: #477995; background: #f0f7fc; }
.desktop-workbench .advice-task-actions .task-complete:active { background: #e0eef9; }
.desktop-workbench .advice-task-actions > small { color: #826e51; font-size: 10px; line-height: 1.6; }
.desktop-workbench .advice-group > summary { display: flex; align-items: center; gap: 10px; list-style: none; padding: 14px 15px; border-radius: 9px; background: #eef4f9; border: 1px solid #d6e3ed; cursor: pointer; color: #3a5d77; }
.desktop-workbench .advice-group > summary::-webkit-details-marker { display: none; }
.desktop-workbench .advice-group > summary > span { display: flex; flex: 1; align-items: baseline; gap: 12px; }
.desktop-workbench .advice-group > summary strong { font-size: 16px; }
.desktop-workbench .advice-group > summary small { font-size: 11px; font-weight: 400; color: #6c8599; }
.desktop-workbench .advice-group > summary b { font-size: 12px; font-weight: 500; }
.desktop-workbench .advice-group > summary > .icon { width: 17px; height: 17px; transform: rotate(90deg); transition: transform .15s ease; }
.desktop-workbench .advice-group[open] > summary > .icon { transform: rotate(-90deg); }
.desktop-workbench .support-group-items { display: grid; gap: 8px; padding-top: 9px; }
.desktop-workbench .advice-task.is-support { background: #f9fcff; }
.desktop-workbench .advice-task.is-support > summary { display: flex; align-items: center; gap: 10px; padding: 13px 15px; list-style: none; cursor: pointer; font-size: 14px; line-height: 1.7; color: #335b77; }
.desktop-workbench .advice-task.is-support > summary::-webkit-details-marker { display: none; }
.desktop-workbench .advice-task.is-support > summary span { flex: 1; }
.desktop-workbench .advice-task.is-support > summary .icon { flex: none; width: 16px; height: 16px; }
.desktop-workbench .advice-task.is-support[open] > summary { border-bottom: 1px solid #e0eaf2; }
.desktop-workbench .advice-task-body { padding: 13px 15px; }
.desktop-workbench .is-support .advice-task-meta,.desktop-workbench .is-support .advice-task-actions small { color: #6a8294; }
.desktop-workbench .reference-group > summary { background: #f7f9fb; color: #526b80; }
.desktop-workbench .advice-completed-note { display: flex; align-items: center; gap: 7px; width: 100%; padding: 12px 0; border: 0; background: transparent; color: #617d73; cursor: pointer; font-size: 12px; text-align: left; }
.desktop-workbench .advice-completed-note .icon { width: 16px; height: 16px; }
.desktop-workbench .advice-completed-note .icon:last-child { margin-left: auto; }
.desktop-workbench .advice-caught-up { padding: 42px 14px; text-align: center; color: #5e7a90; }
.desktop-workbench .advice-caught-up > .icon { width: 28px; height: 28px; margin-bottom: 13px; }
.desktop-workbench .advice-caught-up h3 { margin: 0 0 9px; font-size: 18px; font-weight: 600; }
.desktop-workbench .advice-caught-up p { font-size: 14px; line-height: 1.8; }
.desktop-workbench .fact-inspector { padding: 15px; border: 1px solid #bdd7e9; border-radius: 10px; background: #f6fbff; margin-bottom: 18px; }
.desktop-workbench .fact-inspector header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.desktop-workbench .fact-inspector header strong { font-size: 15px; }
.desktop-workbench .fact-inspector header .button { min-height: 30px; padding: 3px 0; font-size: 12px; }
.desktop-workbench .fact-inspector > p { font-size: 14px; line-height: 1.8; margin: 8px 0 12px; }
.desktop-workbench .fact-inspector > .guidance-source { margin: 7px 0 10px; padding: 11px; font-size: 13px; }
.desktop-workbench .fact-inspector > div > .button { font-size: 12px; min-height: 34px; padding: 5px 10px; }
.desktop-workbench .advice-item .advice-number { display: none; }
.desktop-workbench #dialog .advice-item { grid-template-columns: 1fr; }
.desktop-workbench #dialog .advice-item[data-priority="priority"] { border-left: 3px solid #bf822e; background: #fffaf1; }
.desktop-workbench .priority-banner :focus-visible,.desktop-workbench .advice-task :focus-visible,.desktop-workbench .advice-group > summary:focus-visible,.desktop-workbench .advice-completed-note:focus-visible { outline: 3px solid #2b78ad; outline-offset: 3px; }
@media (max-width: 1399px) {
 .desktop-workbench .priority-banner { gap: 13px; padding: 12px 16px; margin-bottom: 12px; min-height: 86px; }
 .desktop-workbench .priority-banner-copy p { font-size: 16px; }
 .desktop-workbench .priority-banner-heading strong { font-size: 18px; }
 .desktop-workbench .assistant-content { padding: 13px 14px 20px; }
 .desktop-workbench article.advice-task { padding: 13px 14px; }
 .desktop-workbench .advice-task-text { font-size: 15px; }
 .desktop-workbench .advice-task-actions { flex-wrap: wrap; gap: 5px 10px; }
 .desktop-workbench .advice-task-actions > small { flex: 1 1 150px; }
}
@media (max-width: 899px) {
 .desktop-workbench .header-navigation [data-nav="settings"] { display: none; }
 .desktop-workbench .priority-banner { align-items: flex-start; padding: 12px; gap: 10px; flex-wrap: wrap; }
 .desktop-workbench .priority-banner-symbol { width: 32px; height: 32px; flex-basis: 32px; border-radius: 8px; }
 .desktop-workbench .priority-banner-symbol .icon { width: 20px; height: 20px; }
 .desktop-workbench .priority-banner-copy { flex-basis: calc(100% - 46px); }
 .desktop-workbench .priority-banner-action { margin-left: 42px; min-height: 36px; padding: 7px 12px; font-size: 12px; }
 .desktop-workbench .priority-banner-heading strong { font-size: 17px; }
 .desktop-workbench .priority-banner-copy p { font-size: 15px; }
 .desktop-workbench .advice-group-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
 .desktop-workbench .advice-overview { gap: 8px 10px; }
 .desktop-workbench .advice-overview > .button { margin-left: 0; }
 .desktop-workbench .advice-group > summary > span { align-items: flex-start; flex-direction: column; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) { .desktop-workbench .advice-group > summary > .icon { transition: none; } }

.desktop-workbench .assistant-tools .sound-toggle { gap: 5px; min-height: 34px; padding: 5px 7px; color: #285e80; border: 0; background: transparent; border-radius: 6px; font-size: 11px; }
.desktop-workbench .sound-toggle[aria-pressed="false"] { color: #6e7f8d; background: #f0f4f7; }
.desktop-workbench .assistant-tools .sound-test { min-width: 35px; padding: 5px; }
.desktop-workbench .assistant-title small { font-size: 10px; }

.desktop-workbench .advice-task.task-compact { margin: 0 0 10px; }
.desktop-workbench .advice-task.task-compact > summary { display: flex; align-items: center; gap: 12px; padding: 13px 16px; list-style: none; cursor: pointer; font-size: 15px; line-height: 1.7; }
.desktop-workbench .advice-task.task-compact > summary::-webkit-details-marker { display: none; }
.desktop-workbench .advice-task.task-compact > summary > span { flex: 1; min-width: 0; }
.desktop-workbench .advice-task.task-compact > summary small { display: block; font-size: 11px; margin-bottom: 5px; font-weight: 500; color: #8a632b; }
.desktop-workbench .advice-task.task-compact > summary .icon { width: 17px; height: 17px; flex: none; }
.desktop-workbench .advice-task.task-compact.is-priority > summary { color: #604722; font-weight: 550; }
.desktop-workbench .advice-task.task-compact[open] > summary { border-bottom: 1px solid #e7d5b9; }
.desktop-workbench .advice-task.task-compact[open] > summary > .icon { transform: rotate(45deg); }
