/* Native, nearby depth. Text remains in the reading tree and in print. */
[data-e40-disclosure]{font-size:14px;line-height:1.7;margin:12px 0;color:inherit}
[data-e40-disclosure]>summary{cursor:pointer;padding:7px 0;color:inherit;font-size:14px;line-height:1.6}
.e141-detail-body{padding:10px 0 4px}
.e141-detail-body p{font-size:15px!important;line-height:1.75!important}
body.ws39-editing [data-e40-disclosure] .e141-detail-body{display:block!important}
@media print{
 [data-e40-disclosure]::details-content{content-visibility:visible!important;display:block!important;height:auto!important}
 [data-e40-disclosure]>.e141-detail-body{display:block!important;content-visibility:visible!important;height:auto!important}
 [data-e40-disclosure]{break-inside:auto}
 [data-e40-disclosure]>summary{list-style:none}
}

/* Revision143: quiet hint surfaces for prose notes, never chart axes or scenario bands. */
body.edition39 #e40-occ-chart .e40-note{
 border:1px solid rgba(169,195,188,.2);
 border-radius:8px;
 background:rgba(178,204,196,.045);
 padding:12px 16px;
 box-shadow:none;
}
body.edition39 #e40-two-lives .e40-life-note{
 border:1px solid rgba(37,72,66,.19);
 border-radius:8px;
 background:rgba(59,99,86,.045);
 padding:12px 16px;
 margin:0 0 12px!important;
 box-shadow:none;
}
body.edition39 #actions-results .m39-constraint-pair>div,
body.edition39 #actions-results .m39-order-steps>div{
 border:1px solid rgba(37,72,66,.19);
 border-radius:8px;
 background:rgba(59,99,86,.045);
 padding:10px 14px;
 box-shadow:none;
}
/* Keep the training sequence connector behind the note surfaces. */
body.edition39 #actions-results .m39-order-steps>div{background:#eceee6}
@media(max-width:600px){
 body.edition39 #e40-occ-chart .e40-note,
 body.edition39 #e40-two-lives .e40-life-note{padding:11px 13px}
}
@media print{
 body.edition39 #e40-occ-chart .e40-note,
 body.edition39 #e40-two-lives .e40-life-note,
 body.edition39 #actions-results .m39-constraint-pair>div,
 body.edition39 #actions-results .m39-order-steps>div{
  border:1px solid #b8c1bd;background:transparent;box-shadow:none;
 }
}
@media print{body.edition39 #actions-results .m39-order-steps>div{background:#fff}}

/* Revision145: remove the requested occupation deck while retaining its saved key. */
body.edition39 #occupation-outcomes .o80-opening .o80-deck>.f40-occupation-intro,
body.edition39 #occupation-outcomes .o80-opening .o80-deck:has(>.f40-occupation-intro:only-child){display:none!important}
body.edition39 #occupation-outcomes .o80-introduction{grid-template-columns:minmax(0,1fr);gap:0}
body.edition39 #occupation-outcomes .o80-notes .o80-source-notes.v141-source-notes{padding:4px 22px 10px}
body.edition39 #occupation-outcomes .o80-notes .o80-source-notes.v141-source-notes>summary{padding:12px 0;margin:0}
body.edition39 #occupation-outcomes .o80-notes .o80-source-notes.v141-source-notes>.e141-detail-body{padding:8px 0 14px}
@media(max-width:700px){body.edition39 #occupation-outcomes .o80-notes .o80-source-notes.v141-source-notes{padding-inline:14px}}
