body[data-trainee-planner] #app { min-width:0; width:min(100%,74rem); box-sizing:border-box; margin-inline:auto; }
body[data-trainee-planner] #app .cr-ssr { min-width:0; }
body[data-trainee-planner] #app .cr-ssr :is(h1,h2,h3,p,summary,dt,dd,a) { overflow-wrap:anywhere; }
body[data-trainee-planner] #app .cr-ssr h2 { margin-block:1.125rem .6rem; font-size:1.06rem; }
body[data-trainee-planner] #app .cr-ssr h3 { margin-block:.85rem .45rem; font-size:.9rem; }
body[data-trainee-planner] #app .cr-ssr-row > ul { list-style:none; margin:0; padding:0; display:grid; align-items:start; gap:.5rem; grid-template-columns:repeat(auto-fit,minmax(min(15rem,100%),1fr)); }
body[data-trainee-planner] #app .cr-ssr-card { margin:0; min-width:0; padding:.55rem .8rem; border:1px solid #344751; border-radius:.55rem; background:#14242d; }
body[data-trainee-planner] #app .cr-ssr-card > a { display:flex; align-items:center; min-height:44px; font-size:.95rem; font-weight:650; }
body[data-trainee-planner] #app .cr-ssr-card p { margin:0; color:#bfd0d5; font-size:.875rem; line-height:1.4; }
body[data-trainee-planner] #app .cr-ssr-card summary { min-height:44px; align-content:center; cursor:pointer; color:#b4dcd6; font-size:.84rem; }
body[data-trainee-planner] #app .cr-ssr-card ol { list-style:none; padding:0; }
body[data-trainee-planner] #app .cr-ssr-card ol li { border-block-start:1px solid #344751; padding:.6rem 0; margin:0; }
body[data-trainee-planner] #app .cr-ssr-card dl { margin:.2rem 0; font-size:.84rem; }
body[data-trainee-planner] #app .cr-ssr-card dt { margin-block-start:.4rem; color:#b3c8ce; }
body[data-trainee-planner] #app .cr-ssr-card dd { margin:0; }
body[data-trainee-planner] #app .cr-ssr-card dd a { display:inline-flex; align-items:center; min-height:44px; }
body[data-trainee-planner] #app .cr-ssr-card:target { outline:2px solid #8bdacf; scroll-margin-top:7rem; }

body[data-trainee-planner] #app [hidden] {display:none!important}
body[data-trainee-planner] #app .cr-heading {display:block;position:static;inset:auto;z-index:auto;border:0;background:transparent;box-shadow:none;margin:0 0 .85rem;padding:0;text-align:start;color:#ebf1f1}
body[data-trainee-planner] #app .cr-heading h1 {margin:0!important;font-size:clamp(1.45rem,1.12rem + .95vw,2rem)!important;letter-spacing:-.025em;line-height:1.16;overflow-wrap:anywhere;hyphens:auto}
body[data-trainee-planner] #app .cr-heading p {margin:.36rem 0 0!important;max-width:70ch;font-size:.9rem!important;line-height:1.45;color:#bdcbd1}
body[data-trainee-planner] #app .cr-classes {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8.7rem),1fr));gap:.55rem;align-items:stretch;max-width:55rem;margin:.15rem 0 .35rem;padding:0;position:static;background:transparent;box-shadow:none;border:0}
body[data-trainee-planner] #app .cr-class {display:grid;align-content:center;gap:.1rem;min-width:0;min-height:44px;box-sizing:border-box;padding:.63rem .8rem;color:#d8e3e7;text-decoration:none;border:1px solid #394e59;border-radius:.5rem;background:#172832;line-height:1.3;overflow-wrap:anywhere}
body[data-trainee-planner] #app .cr-class strong {font-weight:675;font-size:.97rem;color:inherit}
body[data-trainee-planner] #app .cr-class span {font-size:.8rem;color:#b1c2ca}
body[data-trainee-planner] #app .cr-class[aria-current] {background:#18342f;color:#e6f6ed;box-shadow:inset 3px 0 #8fc9a9;border-color:#609079}
body[data-trainee-planner] #app .cr-class[aria-current] span {color:#c1d9cb}
body[data-trainee-planner] #app #catalogue,body[data-trainee-planner] #app #tree-results {display:block;position:static;overflow:visible;box-sizing:border-box;width:100%;max-width:100%;height:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
body[data-trainee-planner] #app .cr-directory-head {display:flex;flex-wrap:wrap;gap:0 .6rem;align-items:center;justify-content:space-between;padding-top:0}
body[data-trainee-planner] #app #tree-title {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;padding:0;white-space:nowrap}
body[data-trainee-planner] #app #tree-stats {margin:.1rem 0!important;font-size:.81rem!important;color:#b3c3c9}
body[data-trainee-planner] #app #cr-research-ref {margin:0;max-width:100%;border:0;padding:0;background:none}
body[data-trainee-planner] #app #cr-research-ref summary,body[data-trainee-planner] #app .cr-requirements summary,body[data-trainee-planner] #app #cr-tree-costs summary {display:list-item;align-content:center;box-sizing:border-box;min-height:44px;margin:0;padding:.38rem 0;cursor:pointer;line-height:1.4;color:#b5dcd1;font-size:.835rem;font-weight:600;border:0;background:transparent;overflow-wrap:anywhere}
body[data-trainee-planner] #app #cr-research-ref > div {display:grid;gap:.1rem;padding:.05rem 0 .6rem .7rem;margin:0 0 .55rem;border-inline-start:2px solid #3d5955;color:#b9cbd2;font-size:.84rem;overflow-wrap:anywhere}
body[data-trainee-planner] #app #cr-research-ref :is(a,nav) {position:static;margin:0;box-shadow:none}
body[data-trainee-planner] #app #cr-research-ref a,body[data-trainee-planner] #app .cr-requirements a {display:inline-flex;align-items:center;min-height:44px;color:#bde5d8;text-underline-offset:.15em;font-size:.84rem}
body[data-trainee-planner] #app #cr-research-ref .cr-related {display:flex;flex-wrap:wrap;gap:0 .9rem;border:0;border-top:1px solid #384c53;padding:0;background:none}
body[data-trainee-planner] #app .cr-tools {display:flex;align-items:flex-end;flex-wrap:wrap;gap:.35rem .85rem;margin:.16rem 0 .8rem;padding:0;border:0;border-radius:0;background:transparent}
body[data-trainee-planner] #app .cr-tools label {min-width:0;margin:0;color:#c9d7dd;font-size:.8rem;font-weight:620;line-height:1.4}
body[data-trainee-planner] #app .cr-tools :is(.cr-search,.cr-row-picker) {display:grid;gap:.2rem}
body[data-trainee-planner] #app .cr-search {flex:1 1 18rem}
body[data-trainee-planner] #app .cr-search-input {display:flex;align-items:stretch;gap:.25rem;min-width:0}
body[data-trainee-planner] #app #tree-search,body[data-trainee-planner] #app #cr-row-jump,body[data-trainee-planner] #app .cr-cost-preview select {box-sizing:border-box;min-height:44px;min-width:0;max-width:100%;padding:.5rem .63rem;font:inherit;font-weight:400;font-size:.87rem;color:#e6eff0;background:#10202a;border:1px solid #49626d;border-radius:.38rem;line-height:1.3}
body[data-trainee-planner] #app #tree-search {width:100%}
body[data-trainee-planner] #app #tree-search::-webkit-search-cancel-button {display:none}
body[data-trainee-planner] #app #clear-search {min-height:44px;min-width:44px;max-width:55%;padding:.3rem .4rem;margin:0;background:transparent;border:0;font-size:.83rem;white-space:normal;color:#b8dbd3}
body[data-trainee-planner] #app .cr-tools .cr-row-picker {flex:0 1 12rem}
body[data-trainee-planner] #app #cr-row-jump {width:100%}
body[data-trainee-planner] #app .cr-tools .cr-cost-switch {display:flex;align-items:center;flex:0 1 auto;gap:.45rem;min-height:44px;cursor:pointer;font-weight:450;color:#c2d2d5}
body[data-trainee-planner] #app #class-costs {display:inline-block;position:static;appearance:auto;flex:0 0 auto;width:1.05rem;height:1.05rem;min-width:0;min-height:0;margin:0;accent-color:#91c9ab}
body[data-trainee-planner] #app #class-result-note {margin:.15rem 0 .5rem!important;color:#b9d1c9;font-size:.82rem!important}
body[data-trainee-planner] #app #class-result-note:empty {display:none}
body[data-trainee-planner] #app .cr-row {margin:0 0 1.05rem;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
body[data-trainee-planner] #app .cr-row h3 {display:flex;align-items:center;gap:.7rem;scroll-margin-top:6.5rem;margin:0 0 .45rem;padding:0;color:#bfced3;font-size:.875rem!important;line-height:1.3;font-weight:630}
body[data-trainee-planner] #app .cr-row h3::after {content:"";flex:1;height:1px;background:#30434d}
body[data-trainee-planner] #app .cr-cards {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:.55rem;list-style:none;padding:0;margin:0}
body[data-trainee-planner] #app .cr-card {display:block;box-sizing:border-box;min-width:0;margin:0;padding:0;border:1px solid #354b55;border-radius:.5rem;background:#182934;color:#e3edee;overflow-wrap:anywhere}
body[data-trainee-planner] #app .cr-card.cr-saved {border-color:#638970}
body[data-trainee-planner] #app .cr-tech {display:flex;align-items:center;gap:.55rem;min-height:54px;min-width:0;box-sizing:border-box;padding:.65rem;color:#ecf3f4;border-radius:.47rem;text-decoration:none}
body[data-trainee-planner] #app .cr-tech .tech-art {display:grid;place-items:center;overflow:hidden;flex:0 0 42px;box-sizing:border-box;width:42px;height:42px;min-width:0;margin:0;border:0;background:transparent}
body[data-trainee-planner] #app .cr-tech .tech-art>span {transform:scale(.85)}
body[data-trainee-planner] #app .cr-tech-copy {display:grid;gap:.15rem;min-width:0;flex:1 1 auto}
body[data-trainee-planner] #app .cr-tech strong {color:#ebf1f2;font-size:.94rem;font-weight:650;line-height:1.32}
body[data-trainee-planner] #app .cr-tech .cr-effect {color:#c1d0d6;font-size:.8rem;line-height:1.42}
body[data-trainee-planner] #app .cr-tech small {color:#a3b9be;font-size:.75rem;line-height:1.35}
body[data-trainee-planner] #app .cr-chevron {flex:none;align-self:center;color:#abcfbd;font-size:1.12rem;line-height:1}
body[data-trainee-planner] #app .cr-requirements,body[data-trainee-planner] #app .cr-cost-preview {margin:0 .65rem;padding:0;border:0;border-top:1px solid #314650;border-radius:0;background:none}
body[data-trainee-planner] #app .cr-requirements summary {font-size:.77rem;color:#a9c5bd}
body[data-trainee-planner] #app .cr-requirements summary span {font-weight:400}
body[data-trainee-planner] #app .cr-requirements>div {display:grid;min-width:0;padding:0 0 .4rem;color:#bdcbd1;font-size:.8rem}
body[data-trainee-planner] #app .cr-cost-preview {display:flex;align-items:center;flex-wrap:wrap;gap:.25rem .55rem;padding:.45rem 0 .6rem;font-size:.8rem}
body[data-trainee-planner] #app .cr-cost-preview label {margin:0;color:#b9cacf;font-size:inherit}
body[data-trainee-planner] #app .cr-cost-preview dl {flex-basis:100%;margin:.25rem 0 0;font-size:inherit}
body[data-trainee-planner] #app .cr-cost-preview dl>div {display:flex;justify-content:space-between;flex-wrap:wrap;gap:0 .4rem;padding:.15rem 0}
body[data-trainee-planner] #app .cr-cost-preview dt,body[data-trainee-planner] #app .cr-cost-preview dd {margin:0;color:#bbcbd0;font-size:inherit;line-height:1.4}
body[data-trainee-planner] #app .cr-cost-preview dd {color:#e7efed;font-weight:600;font-variant-numeric:tabular-nums}
body[data-trainee-planner] #app .cr-empty {font-size:.9rem;color:#c3d1d5;margin:.8rem 0 1.6rem}
body[data-trainee-planner] #app #cr-tree-costs {display:block;margin:.85rem 0;padding:0;border:0;border-block:1px solid #344951;background:transparent;scroll-margin-top:6.5rem}
body[data-trainee-planner] #app :is(.cr-class,.cr-tech,.cr-row h3,#catalogue a,#catalogue summary,#catalogue select,#catalogue input,#catalogue button):focus-visible {outline:2px solid #a5dbc7;outline-offset:2px}
@media(hover:hover){
body[data-trainee-planner] #app .cr-tech:hover,body[data-trainee-planner] #app .cr-class:hover {background:#213740}
}
@media(max-width:950px){
body[data-trainee-planner] #app .cr-cards {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
body[data-trainee-planner] #app .cr-cards {grid-template-columns:minmax(0,1fr)}
body[data-trainee-planner] #app .cr-heading {margin:0 0 .65rem}
body[data-trainee-planner] #app .cr-classes {gap:.35rem;margin-bottom:.2rem}
body[data-trainee-planner] #app .cr-class {padding:.48rem .55rem}
body[data-trainee-planner] #app .cr-class strong {font-size:.9rem}
body[data-trainee-planner] #app .cr-class span {font-size:.76rem}
body[data-trainee-planner] #app .cr-tools {gap:.23rem .7rem;margin-top:.1rem;padding:0}
body[data-trainee-planner] #app .cr-search {flex-basis:100%}
body[data-trainee-planner] #app .cr-tools .cr-row-picker {flex:1 1 7.7rem}
body[data-trainee-planner] #app .cr-tools .cr-cost-switch {flex:1 1 7.2rem}
body[data-trainee-planner] #app .cr-row {margin-bottom:.85rem}
body[data-trainee-planner] #app .cr-tech {padding:.55rem .62rem}
}
@media(max-width:28em){
body[data-trainee-planner] #app .cr-directory-head {align-items:center}
}


body[data-trainee-planner] #app #cr-research-ref > summary {display:flex;align-items:center;gap:.4rem;text-decoration:underline;text-underline-offset:.16em;list-style:none}
body[data-trainee-planner] #app #cr-research-ref > summary::marker {content:""}
body[data-trainee-planner] #app #cr-research-ref > summary::-webkit-details-marker {display:none}
body[data-trainee-planner] #app #cr-research-ref > summary::after {content:"";position:static;display:block;flex:0 0 .38rem;box-sizing:border-box;width:.38rem;height:.38rem;border:0;border-block-start:1.5px solid;border-inline-end:1.5px solid;background:none;transform:rotate(45deg)}
body[data-trainee-planner] #app #cr-research-ref[open] > summary::after {transform:rotate(135deg)}
body[data-trainee-planner] #app #cr-research-ref[open] {flex-basis:100%}

/* Give the verified effect the full reading width when text is enlarged. */
body[data-trainee-planner] #app #catalogue { container-type:inline-size; }
@container (max-width: 15rem) {
  body[data-trainee-planner] #app .cr-tech { display:block; padding:.35rem .4rem; }
  body[data-trainee-planner] #app .cr-tech .tech-art,
  body[data-trainee-planner] #app .cr-tech .cr-chevron { display:none; }
  body[data-trainee-planner] #app .cr-tech-copy { gap:.18rem; hyphens:auto; }
  body[data-trainee-planner] #app .cr-cost-preview,body[data-trainee-planner] #app .cr-requirements { margin-inline:.4rem; }
}
body[data-trainee-planner] #app #clear-search { flex:0 0 auto; width:auto; box-sizing:border-box; overflow-wrap:anywhere; }
body[data-trainee-planner] #app #tree-search { flex:1 1 0%; min-width:0; }

/* Trainee Officer · selected technology and saved upgrades */
body[data-trainee-planner] #technology-detail {
  width: min(52rem, calc(100% - 1.5rem)) !important;
  max-width: 100% !important;
  color: #e8f1f3;
  background: #122633 !important;
  border: 1px solid #47616d !important;
  border-radius: 12px !important;
}
body[data-trainee-planner] #technology-detail .dialog-head {
  align-items: center;
  gap: .65rem;
  padding: .8rem max(.85rem, 2.5%) !important;
  background: #122633 !important;
}
body[data-trainee-planner] #technology-detail #technology-icon {
  display: grid !important;
  place-items: center;
  width: 2.85rem; height: 2.85rem;
  flex: none;
  background: #203947;
  border: 1px solid #3d5864;
  border-radius: .55rem;
}
body[data-trainee-planner] #technology-detail #technology-icon .tech-art {
  display: grid !important; place-items: center;
  width: 46px; height: 46px;
  background: transparent; border: none;
}
body[data-trainee-planner] #technology-detail .dialog-head > div {
  flex: 1 1 8rem !important; min-width: 0;
}
body[data-trainee-planner] #technology-detail #technology-title {
  font-size: clamp(1.1rem, 2.3vw, 1.45rem) !important; line-height: 1.18;
}
body[data-trainee-planner] #technology-detail #technology-meta {
  margin: .25rem 0 0 !important; line-height: 1.4;
  white-space: normal; overflow-wrap: anywhere;
}
body[data-trainee-planner] #technology-detail #technology-body {
  padding: .9rem max(.85rem, 2.5%) .35rem !important;
}
body[data-trainee-planner] #technology-detail .tech-range {
  margin: 0 0 1rem !important; padding: 0 !important;
  border: 0 !important; background: transparent !important; box-shadow: none !important;
}
body[data-trainee-planner] #technology-detail .tech-range-inputs {
  display: grid !important; gap: .5rem .75rem !important;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important;
  align-items: end;
}
body[data-trainee-planner] #technology-detail .tech-range-inputs :is(label,select) {
  min-width: 0 !important; max-width: 100%; width: 100%; white-space: normal;
}
body[data-trainee-planner] #technology-detail .tech-range-presets {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap;
}
body[data-trainee-planner] #technology-detail .tech-range-presets button {
  min-height: 44px; padding: .3rem .65rem !important;
}
body[data-trainee-planner] #technology-detail .tech-effect-compare {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,8.4rem),1fr)) !important;
  margin: .9rem 0 1rem !important; gap: .5rem !important;
}
body[data-trainee-planner] #technology-detail .tech-effect-compare > div {
  min-width: 0; padding: .6rem .75rem !important;
  background: #192f3c !important;
  border: 0 !important; border-inline-start: 3px solid #59727b !important;
  border-radius: .25rem !important;
}
body[data-trainee-planner] #technology-detail .tech-effect-compare > div:last-child {
  background: #183934 !important; border-inline-start-color: #82d9c0 !important;
}
body[data-trainee-planner] #technology-detail .tech-effect-compare p {
  margin: .22rem 0 0 !important; color: #ecf4f5; line-height: 1.45;
}
body[data-trainee-planner] #technology-detail .tech-effect-compare span {
  color: #c8d9df; font-size: .8rem;
}
body[data-trainee-planner] #technology-detail .tech-range-result h3 {
  margin: 0 0 .5rem !important; font-size: 1rem !important;
}
body[data-trainee-planner] :is(#technology-detail,#upgrade-plan) .planner-time-summary {
  display: grid !important; grid-template-columns: repeat(auto-fit,minmax(min(100%,8rem),1fr)) !important;
  align-items: start; gap: .6rem 1rem; min-width: 0; height: auto !important;
}
body[data-trainee-planner] :is(#technology-detail,#upgrade-plan) .planner-time-summary > div,
body[data-trainee-planner] :is(#technology-detail,#upgrade-plan) .planner-time-summary > div :is(span,strong) {
  display: block !important; min-width: 0 !important; max-width: 100% !important;
  white-space: normal !important; overflow: visible !important; text-overflow: clip !important;
  overflow-wrap: anywhere; text-align: start !important;
}
body[data-trainee-planner] :is(#technology-detail,#upgrade-plan) .planner-time-summary > div {
  border: 0 !important; padding: 0 !important;
}
body[data-trainee-planner] #technology-detail .tech-plan-actions {
  display:flex; gap:.45rem; flex-wrap:wrap; align-items:stretch; margin: .75rem 0 !important;
}
body[data-trainee-planner] :is(#technology-detail,#upgrade-plan) :is(button,summary) {
  min-height: 44px; white-space: normal;
}
body[data-trainee-planner] #technology-detail #tech-plan-notice:empty,
body[data-trainee-planner] :is(#technology-detail,#upgrade-plan) .copy-status:empty {
  display:none;
}
body[data-trainee-planner] #technology-detail .tech-class-gate {
  display:block !important; width:auto !important; min-width:0 !important; max-width:100% !important;
  white-space:normal !important; overflow-wrap:anywhere; overflow:visible !important; height:auto !important;
  margin: 1rem 0 !important; line-height: 1.5 !important;
}
body[data-trainee-planner] #technology-detail .planner-level-details.pr339-reference {
  padding: 0 !important; overflow: visible;
}
body[data-trainee-planner] #technology-detail .planner-level-details.pr339-reference > summary {
  display:list-item; cursor:pointer; padding:.65rem .8rem; font-weight:700; align-content:center;
}
body[data-trainee-planner] #technology-detail .planner-level-details.pr339-reference > :is(p,div) {
  margin-inline: .75rem !important; max-width:calc(100% - 1.5rem) !important;
}
body[data-trainee-planner] #technology-detail .planner-level-details .tv340-scroll {
  margin-bottom:.75rem;
}
body[data-trainee-planner] #technology-detail .progression-dialog-language {
  box-sizing:border-box; width:100%; display:flex; flex-wrap:wrap; align-items:center;
  justify-content:space-between; gap:.4rem .8rem;
  padding:.7rem max(.85rem, 2.5%) !important; border-top:1px solid #38505d;
}
body[data-trainee-planner] #technology-detail .gt-detail-copy {
  display:flex; align-items:center; flex-wrap:wrap; gap:.35rem;
}
body[data-trainee-planner] #upgrade-plan:has(.gt-plan-heading) {
  scroll-margin-top: 6.5rem !important;
}
body[data-trainee-planner] #upgrade-plan .gt-plan-heading {
  align-items:start; gap: .6rem 1.5rem; flex-wrap:wrap;
}
body[data-trainee-planner] #upgrade-plan .gt-plan-heading > div {
  min-width:0; flex-wrap:wrap;
}
body[data-trainee-planner] #upgrade-plan .plan-selected article {
  display:flex; flex-wrap:wrap; align-items:start;
}
body[data-trainee-planner] #upgrade-plan .plan-selected article > div {
  flex:1 1 12rem; min-width:0;
}
body[data-trainee-planner] #upgrade-plan .plan-selected article :is(button,span,small) {
  overflow-wrap:anywhere; white-space:normal;
}
body[data-trainee-planner] #upgrade-plan .plan-wallet {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr)) !important;
}
body[data-trainee-planner] #upgrade-plan .planner-cost-values.has-supplies {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,5rem),1fr)) !important;
}
body[data-trainee-planner] :is(#technology-detail,#upgrade-plan) .planner-exact-row :is(dd,dt) {
  min-width:0; overflow-wrap:anywhere; white-space:normal !important;
}
@media(min-width:56rem) {
  body[data-trainee-planner] #technology-detail .tech-range-inputs:has(.tech-range-presets) {
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto !important;
  }
  body[data-trainee-planner] #technology-detail .tech-range-presets {grid-column:auto}
}
@media(max-width:650px) {
  body[data-trainee-planner] #technology-detail {width:calc(100% - .8rem) !important}
  body[data-trainee-planner] #technology-detail .planner-level-details .tv340-table-help {display:none !important}
  body[data-trainee-planner] #technology-detail .planner-level-details .tv340-scroll {
    overflow:visible !important; height:auto !important; max-height:none !important;
  }
  body[data-trainee-planner] #technology-detail .planner-level-details .tech-costs table {
    min-width:0 !important; width:100% !important; display:block !important;
  }
  body[data-trainee-planner] #technology-detail .planner-level-details .tech-costs table thead {
    position:absolute !important; width:1px !important; height:1px !important; overflow:hidden !important;
    clip-path:inset(50%); white-space:nowrap; display:block !important;
  }
  body[data-trainee-planner] #technology-detail .planner-level-details .tech-costs table tbody {
    display:grid !important; gap:.6rem; width:100%;
  }
  body[data-trainee-planner] #technology-detail .planner-level-details .tech-costs table tr,
  body[data-trainee-planner] #technology-detail .planner-level-details .tech-costs table tr > :is(th,td) {
    display:block !important; width:100% !important; height:auto !important; min-width:0 !important;
    max-width:100% !important; position:static !important; box-sizing:border-box; white-space:normal !important;
    text-align:start !important; overflow-wrap:anywhere;
  }
  body[data-trainee-planner] #technology-detail .planner-level-details .tech-costs table tr > td::before {
    content:attr(data-label) !important; display:block !important; color:#b5cdd3;
    margin-bottom:.15rem; font-weight:650; font-size:.78rem;
  }
  body[data-trainee-planner] #technology-detail .planner-level-details .tech-costs td div {white-space:normal !important}
  body[data-trainee-planner] #upgrade-plan .gt-plan-heading {display:block}
  body[data-trainee-planner] #upgrade-plan .gt-plan-heading > div:last-child {margin-top:.6rem}
}

body[data-trainee-planner] #upgrade-plan .plan-save-status {
  display: block !important; box-sizing: border-box;
  min-width: 0 !important; max-width: 100% !important; width: auto !important;
  white-space: normal !important; overflow-wrap: anywhere; height: auto !important;
}
body[data-trainee-planner] #technology-detail .gt-draft-note {
  margin: .8rem 0 .4rem; padding: .55rem .75rem;
  border-inline-start: 3px solid #e4b876; background: #342f29; color: #f2e5ce;
  font-size: .85rem; line-height: 1.5; overflow-wrap: anywhere;
}
@media(max-width:420px) {
  body[data-trainee-planner] #technology-detail .dialog-head {
    position: static !important;
  }
}

body[data-trainee-planner] #technology-detail #view-tech-plan[hidden],
body[data-trainee-planner] #upgrade-plan[hidden] {display:none !important}
body[data-trainee-planner] #technology-detail .progression-dialog-language {--tw-language-control-height:44px}
body[data-trainee-planner] :is(#technology-detail,#upgrade-plan) :is(button,input,select,summary) {
  box-sizing:border-box; min-height:44px; min-width:0; max-width:100%; overflow-wrap:anywhere;
}
body[data-trainee-planner] #technology-detail #tech-plan-notice,
body[data-trainee-planner] #upgrade-plan .gt-plan-heading :is(div,p,.sub) {
  box-sizing:border-box; min-width:0; max-width:100%; white-space:normal !important; overflow-wrap:anywhere;
}
body[data-trainee-planner] #technology-detail .planner-level-details #trainee-level-table {
  min-width:0 !important; width:100% !important; max-width:100% !important;
}
body[data-trainee-planner] #technology-detail #trainee-level-table :is(th,td),
body[data-trainee-planner] #technology-detail #trainee-level-table td div {
  min-width:0 !important; white-space:normal !important; overflow-wrap:anywhere;
}
body[data-trainee-planner] #technology-detail .plan-prereqs a,
body[data-trainee-planner] #technology-detail .pr339-requirements a,
body[data-trainee-planner] #technology-detail .tree-search-links a,
body[data-trainee-planner] #technology-detail .research-source-v469 a,
body[data-trainee-planner] #technology-detail .planner-level-details td a,
body[data-trainee-planner] #technology-detail .planner-cost-name a,
body[data-trainee-planner] #upgrade-plan .planner-cost-name a {
  display:inline-flex; align-items:center; min-height:44px; max-width:100%; overflow-wrap:anywhere;
}
@media(min-width:651px) {
  body[data-trainee-planner] #technology-detail #trainee-level-table {table-layout:fixed !important}
}
body[data-trainee-planner] #technology-detail .tech-effect-compare > div,
body[data-trainee-planner] #technology-detail .tech-effect-compare :is(span,p),
body[data-trainee-planner] #technology-detail :is(.plan-prereqs,.pr339-requirements,.research-source-v469,.tree-search-links) {
  box-sizing:border-box; min-width:0; max-width:100%;
  white-space:normal !important; overflow-wrap:anywhere !important;
}

body[data-trainee-planner] #technology-detail :is(#technology-back,#technology-close) {
  min-width:44px !important; min-height:44px !important; flex-shrink:0;
}
body[data-trainee-planner] #technology-detail .trainee-successors a {
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
  row-gap:.2rem; white-space:normal; overflow-wrap:anywhere;
}
/* Match the planner's normal type scale while following the reader's text size. */
body[data-trainee-planner] :is(#technology-detail,#upgrade-plan) :is(button,summary,.tech-range-inputs label,.tech-effect-compare span,.planner-level-details p,.plan-base-note,.plan-save-status,.sub) {
  font-size:.8125rem !important; line-height:1.4 !important;
}
body[data-trainee-planner] :is(#technology-detail,#upgrade-plan) :is(.tech-range-inputs select,.plan-wallet input) {
  font-size:1rem !important; line-height:1.3 !important; height:auto !important;
}
body[data-trainee-planner] :is(#technology-detail,#upgrade-plan) :is(.planner-cost-name,.planner-cost-name span,.planner-cost-values dd,.planner-time-summary strong,.planner-level-details :is(th,td,td b),.tech-range .small,.planner-exact-row strong) {
  font-size:.8125rem !important; line-height:1.45 !important;
}
body[data-trainee-planner] :is(#technology-detail,#upgrade-plan) :is(.planner-cost-values dt,.planner-time-summary span,.planner-base-note,.plan-wallet small) {
  font-size:.75rem !important; line-height:1.45 !important;
}
body[data-trainee-planner] #technology-detail .planner-level-details :is(th,td) :is(a,div,b) {
  font-size:inherit !important;
}
body[data-trainee-planner] #upgrade-plan .plan-wallet label {font-size:.8125rem !important}
body[data-trainee-planner] :is(#technology-detail,#upgrade-plan) :is(.plan-cost,.planner-cost-name,.planner-cost-name span,.planner-cost-values dd,.plan-wallet label) {
  min-width:0; overflow-wrap:anywhere; white-space:normal !important;
}
@media(max-width:650px) {
  body[data-trainee-planner] #technology-detail .tech-range-inputs {
    grid-template-columns:repeat(auto-fit,minmax(min(100%,7.5rem),1fr)) !important;
  }
  body[data-trainee-planner] #technology-detail .tech-range-arrow {display:none !important}
}

body[data-trainee-planner] #technology-detail .planner-level-details :is(p,td,td div,td b,summary) {
  white-space:normal !important; overflow-wrap:anywhere !important; min-width:0 !important;
}
body[data-trainee-planner] #technology-detail #trainee-level-table td div {
  flex-wrap:wrap; gap:.15em .35em;
}
body[data-trainee-planner] #technology-detail #trainee-level-table td b {
  display:inline; overflow-wrap:anywhere !important; max-width:100%; white-space:normal !important;
}

body[data-trainee-planner] #technology-detail .trainee-successors a,
body[data-trainee-planner] #technology-detail .trainee-successors a > span {
  font-size:.8125rem !important; line-height:1.45 !important;
}
body[data-trainee-planner] #technology-detail .trainee-successors a > small {
  font-size:.75rem !important; line-height:1.45 !important;
}
@media(max-width:360px) {
  body[data-trainee-planner] #technology-detail .planner-level-details.pr339-reference > .table-wrap {
    margin-inline:.25rem !important; max-width:calc(100% - .5rem) !important;
  }
}

