.essay-explorer{--ex-accent:var(--teal);margin:38px 0 44px;padding:28px 0;border-block:1px solid #b9c8bd;min-width:0}
.essay-explorer *{box-sizing:border-box}
.essay-explorer [hidden]{display:none!important}
.ex-heading h3{font-size:clamp(27px,3.2vw,39px);line-height:1.15;letter-spacing:-.035em;margin:0;max-width:25ch}
.article-section .ex-heading p{font-size:16px;line-height:1.65;letter-spacing:0;color:#41594e;max-width:55ch;margin:14px 0 24px}
.ex-key{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;margin-bottom:22px;color:#34483e;font-size:11px;line-height:1.5}
.ex-field-label{display:block;font-size:11px;font-weight:700;line-height:1.5;letter-spacing:0;margin-bottom:8px;color:inherit}
.ex-items{min-width:0}
.ex-choice,.ex-footer button,.ex-disclosure summary{font-family:var(--sans);cursor:pointer;touch-action:manipulation}
.ex-choice{display:flex;align-items:center;gap:12px;min-width:0;min-height:52px;padding:15px 18px;text-align:left;background:transparent;border:0;font-size:16px;line-height:1.4;color:inherit}
.ex-choice>span:last-child{min-width:0}
.ex-node{width:10px;height:10px;border:1px solid currentColor;border-radius:50%;flex:none;background:#fff}
[data-selected=true]>.ex-choice .ex-node{background:currentColor;box-shadow:0 0 0 4px #ffffff80}
.ex-panel{min-width:0;display:flex;flex-direction:column;justify-content:center;padding:30px}
.ex-value{font-size:17px;line-height:1.65;letter-spacing:0;overflow-wrap:anywhere}
.ex-value+.ex-value{margin-top:22px}
.ex-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px}
.ex-footer button{min-height:44px;border:0;padding:9px 0;background:transparent;color:var(--ex-accent);font-size:13px;line-height:1.4;font-weight:700;text-decoration:underline;text-underline-offset:5px}
.ex-footer>span{font-size:11px;line-height:1.5;color:#4d6257;text-align:right}
.essay-explorer :is(button,summary):focus-visible{outline:3px solid var(--teal);outline-offset:4px;position:relative;z-index:2}

/* The six switches select a question, not a live work account. */
.ex-switchboard .ex-items{display:grid;grid-template-columns:minmax(160px,.72fr) minmax(0,1.28fr);background:#e9f3ed;border:1px solid #b8cbbb}
.ex-switchboard .ex-item,.ex-measure .ex-item{display:contents}
.ex-switchboard .ex-choice{grid-column:1;grid-row:var(--ex-row);border-bottom:1px solid #bfd2c3;color:#254b3b}
.ex-switchboard .ex-item:last-child .ex-choice{border-bottom:0}
.ex-switchboard [data-selected=true]>.ex-choice{background:#005957;color:white}
.ex-switchboard .ex-panel{grid-column:2;grid-row:1/span 6;border-left:1px solid #b8cbbb;background:#f7fbf7}
.ex-switchboard .ex-value-2{order:-1;margin:0 0 26px;font-size:clamp(25px,3vw,34px);line-height:1.2;letter-spacing:-.035em;font-weight:700;color:#153f30}

/* The three stations retain their suggested order and checks. */
.ex-path .ex-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));position:relative;isolation:isolate}
.ex-path .ex-items::before{content:'';position:absolute;top:17px;left:18px;right:18px;height:1px;background:#a4b5a9;z-index:-1}
.ex-path .ex-item{display:contents}
.ex-path .ex-choice{grid-column:var(--ex-row);grid-row:1;flex-direction:column;align-items:flex-start;gap:18px;padding:0 18px 22px 0;font-size:16px;font-weight:700}
.ex-path .ex-node{display:grid;place-items:center;position:relative;width:36px;height:36px;font-size:12px;color:#244d3d;background:#fff;z-index:1}
.ex-path [data-selected=true]>.ex-choice .ex-node{background:var(--lime);color:#142a20;box-shadow:none}
.ex-path .ex-panel{grid-column:1/-1;grid-row:2;border-top:4px solid #254d3c;background:#f0f5ed;padding:30px}
.ex-path .ex-value-1{font-size:22px;line-height:1.5;letter-spacing:-.025em;font-weight:600;max-width:44ch}
.ex-path .ex-value-2{border-top:1px solid #b5c8b9;padding-top:20px;color:#345746}

/* A measurement definition is inspected before it becomes a number. */
.ex-measure .ex-items{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(0,1.3fr);border-block:1px solid #557466;background:#f8faf5}
.ex-measure .ex-choice{grid-column:1;grid-row:var(--ex-row);padding:17px 14px 17px 0;border-bottom:1px solid #d1dcd2;font-size:14px;position:relative}
.ex-measure .ex-item:last-child .ex-choice{border-bottom:0}
.ex-measure [data-selected=true]>.ex-choice{font-weight:800;color:#005957}
.ex-measure [data-selected=true]>.ex-choice::after{content:'';position:absolute;right:-6px;top:calc(50% - 6px);width:12px;height:12px;background:var(--lime);border:1px solid #385744;transform:rotate(45deg);z-index:1}
.ex-measure .ex-panel{grid-column:2;grid-row:1/span 6;background:#e8f0e2;border-left:1px solid #557466}
.ex-measure .ex-value-1{font-size:21px;line-height:1.55;letter-spacing:-.02em}
.ex-measure .ex-value-2{font-size:15px;border-top:1px solid #a4b9a4;padding-top:19px}

.ex-disclosure summary{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:64px;list-style:none;font-size:20px;line-height:1.4;font-weight:700;padding:18px 0}
.ex-disclosure summary::-webkit-details-marker{display:none}
.ex-disclosure summary .icon{height:19px;width:19px;flex:none}
.ex-disclosure[open] summary .icon{transform:rotate(45deg)}
.ex-disclosure-body{padding:0 0 24px}
.ex-record .ex-items{border-bottom:1px solid #9dac9b}
.ex-record .ex-disclosure{padding:0 22px;border-top:1px solid #9dac9b;background:#f0f3e9}
.ex-record .ex-disclosure:nth-child(2n){background:#f9f9f1}
.ex-record .ex-disclosure[open]{background:#e2ede0}
.ex-record .ex-disclosure summary{font-size:19px;letter-spacing:-.02em}
.ex-record .ex-disclosure-body{padding:0 34px 24px 0}
.ex-record .ex-value{font-size:16px}

.ex-conversation{--ex-accent:#514263;border-color:#bfb4ce}
.ex-conversation .ex-items{padding-left:24px;border-left:1px solid #b1a4c3}
.ex-conversation .ex-disclosure{position:relative;border-bottom:1px solid #cbc3d6}
.ex-conversation .ex-disclosure::before{content:'';position:absolute;width:9px;height:9px;left:-29px;top:31px;border:1px solid #5f4b73;border-radius:50%;background:white}
.ex-conversation .ex-disclosure[open]::before{background:#8a75a3}
.ex-conversation .ex-disclosure summary{font-size:clamp(22px,2.9vw,29px);line-height:1.3;letter-spacing:-.03em;font-weight:600}
.ex-conversation .ex-disclosure-body{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:4px 0 24px}
.ex-conversation .ex-value{font-size:16px;padding:20px;background:#f2eef7}
.ex-conversation .ex-value-2{margin:0;background:#e9f2ed;color:#264b3b}
.ex-evidence .ex-disclosure{border-top:1px solid #b4c3b7}
.ex-evidence .ex-disclosure:last-child{border-bottom:1px solid #b4c3b7}
.ex-evidence .ex-disclosure summary{font-size:18px;font-weight:700}
.ex-evidence .ex-disclosure-body{max-width:58ch}
.ex-evidence .ex-value-2{font-size:14px;color:#415c4d;border-top:1px dashed #aebdb0;padding-top:16px;margin-top:18px}

.essay-explorer[data-ex-kind=select][data-ex-all=true] .ex-items{display:block;border:0;background:transparent}
.essay-explorer[data-ex-kind=select][data-ex-all=true] .ex-item{display:block;border-top:1px solid #b8c8bc;margin-top:20px}
.essay-explorer[data-ex-kind=select][data-ex-all=true] .ex-choice{padding:16px 0;flex-direction:row;align-items:center;font-weight:700}
.essay-explorer[data-ex-kind=select][data-ex-all=true] .ex-items::before,.essay-explorer[data-ex-kind=select][data-ex-all=true] .ex-choice::after{display:none}
.essay-explorer[data-ex-kind=select][data-ex-all=true] .ex-panel{border:0;padding:22px}

@media(hover:hover) and (pointer:fine){.ex-choice:hover,.ex-disclosure summary:hover{color:var(--teal)}.ex-switchboard [data-selected=true]>.ex-choice:hover{color:white}.ex-footer button:hover{text-decoration-thickness:2px}}
@media(max-width:600px){
 .essay-explorer{margin:30px 0 36px;padding:22px 0}.ex-heading h3{font-size:29px}.ex-key{font-size:10px;gap:8px 16px}
 .ex-switchboard .ex-items,.ex-measure .ex-items{display:flex;flex-wrap:wrap;gap:0}
 .ex-switchboard .ex-item,.ex-measure .ex-item{display:contents}
 .ex-switchboard .ex-choice,.ex-measure .ex-choice{width:50%;order:0;min-height:70px;padding:13px 12px;border-bottom:1px solid #b8cbbb;font-size:13px}
 .ex-switchboard .ex-choice,.ex-measure .ex-choice{border-right:1px solid #b8cbbb}
 .ex-switchboard .ex-item:nth-child(2n) .ex-choice,.ex-measure .ex-item:nth-child(2n) .ex-choice{border-right:0}
 .ex-switchboard .ex-panel,.ex-measure .ex-panel{width:100%;order:1;border-left:0;padding:24px 20px;min-height:295px}
 .ex-measure [data-selected=true]>.ex-choice{background:#dff09d}.ex-measure [data-selected=true]>.ex-choice::after{display:none}
 .ex-switchboard .ex-value-2{font-size:27px}.ex-value{font-size:16px}.ex-measure .ex-value-1{font-size:20px}
 .ex-path .ex-choice{font-size:13px;padding-right:10px;gap:15px}.ex-path .ex-panel{padding:24px 20px}.ex-path .ex-value-1{font-size:20px}
 .ex-footer{align-items:flex-start}.ex-footer>span{padding-top:12px;max-width:19ch}
 .ex-record .ex-disclosure{padding-inline:15px}.ex-record .ex-disclosure-body{padding-right:0}
 .ex-conversation .ex-items{padding-left:18px}.ex-conversation .ex-disclosure::before{left:-23px}.ex-conversation .ex-disclosure-body{grid-template-columns:1fr;gap:10px}.ex-conversation .ex-value{padding:18px}
 .ex-disclosure summary{font-size:18px;gap:16px}.ex-evidence .ex-disclosure summary{font-size:17px}
 .essay-explorer[data-ex-kind=select][data-ex-all=true] .ex-choice{width:100%;min-height:52px;border:0}.essay-explorer[data-ex-kind=select][data-ex-all=true] .ex-panel{min-height:0}
}
@media(prefers-reduced-motion:reduce){.essay-explorer *{scroll-behavior:auto}}
