/* A staff overview first, with document scrolling and five peer result tabs. */
.staff-page #staff-detail{max-width:1120px;margin-inline:auto}
.staff-detail-workspace{margin-top:24px;min-width:0}
.staff-detail-workspace>.staff-tablist{display:flex;gap:4px;flex-wrap:wrap;background:#edf1eb;border:1px solid var(--line);padding:4px;margin:0 0 22px;border-radius:10px}
.staff-detail-workspace .staff-tab{flex:1 1 110px;font-size:14px;min-height:44px;padding:11px 14px;border-radius:7px;box-shadow:none}
.staff-detail-workspace .staff-tab[aria-selected=true]{background:white;box-shadow:inset 0 -2px #285e50}
.staff-detail-workspace>.staff-tabpanel{min-width:0;overflow:visible;max-height:none}
.staff-detail-workspace>.staff-tabpanel.panel{padding:26px}
.staff-detail-workspace .counsellor-brief{border:0;padding:0;margin:0;display:grid;gap:16px}
.staff-detail-workspace .counsellor-brief>.panel{padding:24px 26px;margin:0;border:1px solid var(--line);border-radius:12px}
.staff-recap .eyebrow{font-size:10px;letter-spacing:1.2px;color:#536b5b;margin:0 0 10px}
.staff-recap h2{margin:0 0 14px}.staff-recap-text{font-size:16px;line-height:1.7;max-width:960px;margin:0 0 14px}
.recap-highlights{list-style:none;padding:0;margin:16px 0 18px}.recap-highlights li{position:relative;padding-left:22px;margin:9px 0;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.recap-highlights li:before{content:"";position:absolute;left:0;top:.6em;width:8px;height:8px;background:#a5bfb0;border-radius:50%}
.recap-highlights a{color:var(--ink);font-weight:600;text-decoration:none}.recap-highlights a:hover{text-decoration:underline}.recap-highlights span{color:var(--muted)}
.overview-link{display:inline-block;min-height:44px;padding:10px 0;font-size:14px;font-weight:600;color:#285e50;text-underline-offset:3px}
.appointment-card h2{font-size:23px;margin:0 0 12px}.overview-questions{padding-left:24px;margin:0 0 10px}.overview-questions li{padding:3px 0 7px 3px;font-size:14px;line-height:1.65}.appointment-card>.muted{margin:0;font-size:12px}
.staff-detail-workspace .counsellor-brief>details.panel{padding:0}.review-disclosure>summary,.topics-disclosure>summary{padding:18px 24px;min-height:52px;font-size:15px;font-weight:600;cursor:pointer;list-style-position:inside}
.review-disclosure>.brief-columns{padding:0 24px 22px;gap:24px}.review-disclosure .brief-columns h3{font-size:14px}.review-disclosure .brief-item{font-size:14px}.review-disclosure .brief-item>details{margin:4px 0}.topics-disclosure>div{padding:0 24px 22px}.topics-disclosure h3{font-size:17px}.topics-disclosure h4{font-size:14px}.topics-disclosure li{font-size:14px;line-height:1.6}
.overview-note{font-size:12px!important;margin:0 2px;line-height:1.6}.staff-detail-workspace .description-index{border:0;padding:0;margin:12px 0}.description-index>summary{font-size:14px;min-height:44px;padding:12px 0;cursor:pointer}
.staff-detail-workspace .staff-skill h3{font-size:18px}.staff-detail-workspace .staff-skill{scroll-margin-top:24px}.staff-detail-workspace .staff-turn{scroll-margin-top:24px}
.transcript-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.transcript-heading>a{font-size:13px;min-height:44px;padding:10px 0}
.staff-more-actions{position:relative;margin:0;padding:0;border:0}.staff-more-actions>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:center;font-size:24px;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:7px;background:white}.staff-more-actions>summary::-webkit-details-marker{display:none}
.staff-more-actions>div{position:absolute;right:0;top:calc(100% + 6px);z-index:4;background:white;border:1px solid var(--line);border-radius:9px;padding:8px;min-width:185px;box-shadow:0 8px 22px #18313a18}.staff-more-actions button{width:100%;text-align:left}
@media(max-width:760px){.staff-detail-workspace .staff-tab{flex-basis:90px;padding:10px 7px;font-size:13px}.staff-detail-workspace>.staff-tabpanel.panel{padding:18px}.staff-detail-workspace .counsellor-brief>.panel{padding:20px}.staff-recap-text{font-size:15px}.staff-recap h2{font-size:26px}.recap-highlights li{font-size:14px}.review-disclosure>summary,.topics-disclosure>summary{padding:16px 18px}.review-disclosure>.brief-columns{padding:0 18px 18px;grid-template-columns:1fr}.topics-disclosure>div{padding:0 18px 18px}.staff-detail-workspace .counsellor-brief>details.panel{padding:0}.appointment-card h2{font-size:22px}}

/* Taxonomy cards: a code/concept first, source details on demand. */
.taxonomy-section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.taxonomy-section-heading h2{margin:0}.taxonomy-version{font-size:12px;border:1px solid var(--line);padding:6px 10px;border-radius:6px;background:#f4f6f2}
.taxonomy-recap{display:flex;align-items:center;gap:12px 18px;flex-wrap:wrap;margin:18px 0;padding:13px 16px;background:#edf2ed;border-radius:8px}.taxonomy-stat{font-size:14px;font-weight:600}.taxonomy-stat.attention{color:#765415}.taxonomy-index{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap}.taxonomy-index a{display:inline-flex;min-height:36px;align-items:center;padding:4px 12px;border:1px solid #cfddd1;background:#e1eade;border-radius:6px;font-size:13px;text-decoration:none}
.staff-detail-workspace .taxonomy-card{border:1px solid #d1ddd5;border-radius:10px;background:#fff;padding:18px;margin:12px 0;scroll-margin-top:24px}.taxonomy-card.needs_clarification,.taxonomy-card.unmatched{border-color:#dfc18b;background:#fffdf7}.taxonomy-card-heading{display:flex;gap:12px;align-items:flex-start}.taxonomy-card .taxonomy-card-heading h3{font:600 19px/1.35 Georgia,serif;margin:2px 0 8px;flex:1;overflow-wrap:anywhere}.taxonomy-code{display:inline-flex;align-items:center;justify-content:center;background:#e1eade;color:#18313a;border-radius:5px;min-width:48px;min-height:36px;padding:4px 9px;font-size:16px;font-weight:700;flex-shrink:0}.taxonomy-item-count{font-size:12px;color:var(--muted);white-space:nowrap;padding-top:5px}.taxonomy-card .taxonomy-source{font-size:14px;line-height:1.6;margin:7px 0;scroll-margin-top:100px}.taxonomy-source small{display:block;font-size:11px}.taxonomy-concept-description{font-size:13px;color:var(--muted);margin:8px 0 12px}.taxonomy-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.taxonomy-toggle{display:inline-flex;align-items:center;gap:7px;min-height:40px;font:500 12px/1.4 "Avenir Next","Trebuchet MS",sans-serif;padding:8px 11px;border:1px solid #c7d5cb;background:#fff;color:#18313a;border-radius:5px;text-decoration:none;box-shadow:none;cursor:pointer;max-width:100%}.taxonomy-toggle:hover{background:#f0f4ee}.taxonomy-toggle[aria-expanded=true]{background:#e5eee4;border-color:#426b54}.taxonomy-icon{font-size:17px;line-height:1;flex-shrink:0}.taxonomy-detail{background:#f0f5ee;padding:15px 18px;border-radius:7px;margin-top:10px;font-size:13px;line-height:1.6}.taxonomy-detail>:first-child{margin-top:0}.taxonomy-detail>:last-child{margin-bottom:0}.taxonomy-detail h4{font-size:14px}.taxonomy-detail blockquote{padding:6px 0 6px 12px;margin:10px 0;border-left:3px solid #a1bba8}.taxonomy-detail a{font-size:12px;text-underline-offset:3px}.esco-attribution{font-size:11px;margin-top:18px}.staff-activities>.activity-technical{font-size:12px;margin-top:18px}
@media(max-width:600px){.staff-detail-workspace .taxonomy-card{padding:15px}.taxonomy-card-heading{flex-wrap:wrap;gap:8px}.taxonomy-card .taxonomy-card-heading h3{font-size:18px;min-width:150px}.taxonomy-item-count{margin-left:auto}.taxonomy-actions{gap:6px}.taxonomy-toggle{font-size:12px;min-height:44px}.taxonomy-index{margin-left:0;width:100%}.taxonomy-recap{gap:10px;font-size:13px}.taxonomy-detail{padding:14px}.taxonomy-version{font-size:11px}}

.staff-export{position:relative;margin:0;border:0;padding:0}.staff-export>summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;background:#18313a;color:white;border-radius:7px;font-size:13px;font-weight:700;list-style:none;cursor:pointer}.staff-export>summary::before{content:"↓";font-size:19px}.staff-export>summary::after{content:"⌄"}.staff-export>summary::-webkit-details-marker{display:none}.staff-export-popover{position:absolute;right:0;top:calc(100% + 8px);z-index:8;width:320px;max-width:calc(100vw - 34px);background:white;border:1px solid #d1ddd5;border-radius:9px;box-shadow:0 10px 32px #18313a25;padding:18px}.staff-export-popover h2{font-size:22px;margin:0 0 8px}.staff-export-popover p{font-size:12px;margin:9px 0}.staff-export-popover ul{list-style:none;padding:0;margin:14px 0}.staff-export-popover li{font-size:13px;padding:4px 0}.staff-export-popover li:before{content:"✓";display:inline-grid;place-items:center;background:#18313a;color:white;border-radius:50%;width:19px;height:19px;font-size:12px;margin-right:9px}.staff-export-popover #staff-download{width:100%;font-size:13px;min-height:44px}.staff-export-popover #staff-export-hint{color:#85601f}.staff-export>summary:focus-visible,.taxonomy-toggle:focus-visible{outline:3px solid #9a7020;outline-offset:3px}

.taxonomy-index a{color:#244d43}.taxonomy-info{font-size:12px;margin-top:18px;padding-top:12px;border-top:1px solid var(--line)}.taxonomy-info>summary{cursor:pointer;min-height:36px;padding:7px 0}.taxonomy-info p{font-size:12px;line-height:1.6}.taxonomy-card .badge{margin-top:2px}.taxonomy-card.no_match,.taxonomy-card.unavailable{border-color:#dfc18b}
@media(max-width:600px){.staff-export-popover{position:fixed;left:16px;right:16px;top:calc(var(--ergon-bar-height,56px) + 12px);width:auto;max-width:none;max-height:calc(100dvh - var(--ergon-bar-height,56px) - 28px);overflow:auto;z-index:50}}

.taxonomy-index a{display:block;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:26px}
