/* Lesson six: the same quiet material and visual hierarchy as lessons 1–5. */
.l6-host .l6-flatten-demo{--ink:#293d34;--muted:#738077;--line:#e4e9e4;position:relative;isolation:isolate;display:flex;flex-direction:column;clear:both;padding:26px;margin:32px 0 12px;border:1px solid #e0e6df;border-radius:24px;background:linear-gradient(145deg,#fff,#fbfcf9);box-shadow:0 2px 3px #344b3910,0 14px 38px -25px #344b3933;color:var(--ink)}
.l6-flatten-demo *{box-sizing:border-box}.l6-host .l6-demo-head{margin-bottom:8px;align-items:flex-start}.l6-host .l6-demo-head h4{font-size:20px!important;font-weight:600;letter-spacing:-.025em;color:var(--ink)!important;line-height:1.45}.l6-host .l6-demo-eyebrow{font-size:11px;letter-spacing:.1em;color:var(--muted)!important}.l6-host .l6-demo-head>button{font-size:12px;min-width:44px;min-height:44px;border-radius:50%;color:#65796b;background:#f1f4ef;padding:6px;flex-shrink:0}
.l6-host .l6-demo-stages{background:#f0f3ee;border:1px solid #e9ede7;padding:4px;margin-top:16px;border-radius:12px;gap:4px}.l6-host .l6-demo-stages button{min-height:40px;font-size:12px;border-radius:9px;transition:background-color 160ms ease,transform 120ms ease}.l6-host .l6-demo-stages button[aria-pressed=true]{background:#fff;box-shadow:0 1px 4px #293d3410;color:#355c47}
.l6-host .l6-demo-transport{order:90;border-top:1px solid var(--line);padding-top:15px;margin-top:16px;gap:8px;min-height:58px}.l6-host .l6-demo-transport button{min-height:42px;padding:0 15px;border-radius:24px;background:#355c47;color:white;font-size:12px!important;font-weight:500;transition:transform 120ms ease,background-color 160ms ease}.l6-host .l6-demo-transport button[data-model-next],.l6-host .l6-demo-transport button[data-order-next]{background:#eef3ed;color:#536a5b}.l6-host .l6-demo-transport button:active,.l6-host .l6-demo-head button:active{transform:scale(.96)}.l6-host .l6-demo-transport>span{color:var(--muted);font-size:11px;line-height:1.7;min-width:100px}.l6-host .l6-demo-timeline{order:89;margin:12px 0 0;background:#e8eee6}.l6-host .l6-demo-timeline>span{background:#83a792}
.l6-host .l6-demo-slider{order:80;width:100%;max-width:none;margin:20px 0 0;padding-top:16px;border-top:1px solid var(--line)}.l6-host .l6-demo-slider label{font-size:11px;font-weight:500;color:var(--muted)}.l6-host .l6-demo-slider input{appearance:none;-webkit-appearance:none;height:28px;background:transparent;accent-color:#648872}.l6-host .l6-demo-slider input::-webkit-slider-runnable-track{height:3px;border-radius:4px;background:#d8e1d7}.l6-host .l6-demo-slider input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:#648872;border:2px solid white;box-shadow:0 1px 4px #36534340;margin-top:-5.5px}.l6-host .l6-demo-slider input::-moz-range-track{height:3px;background:#d8e1d7}.l6-host .l6-demo-slider input::-moz-range-thumb{width:10px;height:10px;border:2px solid white;background:#648872;border-radius:50%}.l6-host .l6-demo-slider-ticks{font-size:10px;color:#88958c}
.l6-host .l6-demo-chart{width:100%;max-width:480px;height:240px;gap:28px;grid-template-columns:28px repeat(2,minmax(0,1fr));background:repeating-linear-gradient(to top,#e9ede7 0,#e9ede7 1px,transparent 1px,transparent 80px);border-color:#d5ded3;margin-top:44px}.l6-host .l6-demo-scale{background:#fdfefb;font-size:10px}.l6-host .l6-demo-column{max-width:82px}.l6-host .l6-demo-base{background:linear-gradient(90deg,#d4e0d7,#e4ece4)}.l6-host .l6-demo-growth{background:linear-gradient(90deg,#93b3c5,#bbcfdb);opacity:1}.l6-host [data-flatten-object="1"] .l6-demo-growth{background:linear-gradient(90deg,#afa2c2,#d1c7dc)}.l6-host .l6-demo-value{font-size:28px;font-weight:550;letter-spacing:-.035em;white-space:nowrap}.l6-host .l6-demo-baseline{border-color:#92aa9980}.l6-host .l6-demo-baseline span{font-size:10px;background:#f3f6f0;color:#728074;border-radius:6px}.l6-host .l6-demo-equations,.l6-host .l6-demo-object-labels{width:100%;max-width:480px;padding-left:56px;font-size:12px}.l6-host .l6-demo-equations{min-height:36px;align-items:center;font-size:12px;white-space:nowrap}.l6-host .l6-demo-object-labels small{font-size:10px}
.l6-host .l6-demo-bottom{order:70;min-height:105px;align-items:flex-start;margin-top:20px;padding-top:18px;gap:12px}.l6-host .l6-demo-bottom p,.l6-host .l6-comp-hint,.l6-host .l6-ratio-hint,.l6-host .l6-order-hint,.l6-host .l6-model-hint{font-size:12px!important;line-height:1.85!important;color:var(--muted)!important}.l6-host .l6-demo-bottom button{font-size:11px;min-height:42px;border-radius:20px;background:#edf3ed;white-space:nowrap;padding:8px 12px}.l6-host .l6-comp-hint,.l6-host .l6-ratio-hint,.l6-host .l6-order-hint,.l6-host .l6-model-hint{order:70;min-height:80px;margin:18px 0 0;padding-top:16px;border-color:var(--line)}
.l6-host .l6-comp-context,.l6-host .l6-ratio-context,.l6-host .l6-order-given,.l6-host .l6-model-context{font-size:12px!important;line-height:1.85!important;color:var(--muted)!important;margin:18px 0 10px}.l6-host .l6-comp-row{padding:22px 0;border-color:var(--line)}.l6-host .l6-comp-row-head{font-size:12px;margin-bottom:15px}.l6-host .l6-comp-row-head>span{font-size:11px}.l6-host .l6-comp-row-head .l6-comp-current{font-size:28px;font-weight:550;min-width:90px;text-align:right;white-space:nowrap}.l6-host .l6-comp-bar{height:32px}.l6-host .l6-comp-fill{background:linear-gradient(90deg,#d0dfd4,#e0e9df)}.l6-host .l6-comp-change{background:linear-gradient(90deg,#96b6c9,#bbd0dc)}.l6-host [data-comp-row="1"] .l6-comp-change{background:linear-gradient(90deg,#b7a7c5,#d0c6da)}.l6-host .l6-comp-equation{font-size:12px;min-height:64px;gap:8px}.l6-host .l6-comp-percent{font-size:23px;min-width:92px;white-space:nowrap;font-weight:550}
.l6-host .l6-ratio-choices{gap:10px}.l6-host .l6-ratio-choices button{font-size:13px;padding:15px;border-radius:14px;background:#f5f7f3;border-color:#e4e9e1;min-height:108px}.l6-host .l6-ratio-choices .is-ratio-correct{padding:14px;background:#edf4ed;border-color:#8ba998}.l6-host .l6-ratio-choices small,.l6-host .l6-ratio-pick-state{font-size:11px}.l6-host .l6-ratio-bars{margin:24px 0 20px}.l6-host .l6-ratio-bar{height:22px;border-radius:6px;background:#edf1eb}.l6-host .l6-ratio-bar>div{border-radius:6px;background:linear-gradient(90deg,#96b6c9,#bbd0dc)}.l6-host .l6-ratio-bar-row:nth-child(2) .l6-ratio-bar>div{background:linear-gradient(90deg,#b7a7c5,#d0c6da)}.l6-host .l6-ratio-equation{padding:20px 10px;background:#f3f6f0;border-radius:16px;min-height:160px}.l6-host .l6-ratio-result strong{font-weight:550;letter-spacing:-.04em;white-space:nowrap}.l6-host .l6-ratio-result{min-width:90px}.l6-host .l6-ratio-why,.l6-host .l6-order-proof{order:95;font-size:12px;border-top:1px solid var(--line);padding-top:16px}
.l6-host .l6-order-route{background:#f5f7f3;border-color:#e4e9e1;border-radius:16px;padding:20px}.l6-host .l6-order-route h5{font-size:14px}.l6-host .l6-order-equation{font-size:15px;min-height:120px}.l6-host .l6-order-rail>span{background:#9fbcaa}.l6-host .l6-order-rail>i{background:#648872;border:2px solid white;box-shadow:0 1px 4px #36534330;width:14px;height:14px;top:-5px}.l6-host .l6-order-answer strong{font-size:28px;font-weight:550;letter-spacing:-.035em}.l6-host .l6-order-phase,.l6-host .l6-model-phase{order:60;font-size:13px;min-height:44px;margin:20px 0 0;line-height:1.7}
.l6-host .l6-model-equation{background:#f3f6f0;border-radius:14px;font-size:15px;padding:18px;min-height:72px}.l6-host .l6-area-board{width:100%;max-width:420px;grid-template-rows:210px auto}.l6-host .l6-area-fill{background-color:#a4bfce}.l6-host .l6-area-grid{background-color:#eef2eb}.l6-host .l6-area-reference{border-color:#7f9a88}.l6-host .l6-area-reference span{font-size:10px}.l6-host .l6-area-factor-row{font-size:12px;gap:12px}.l6-host .l6-area-factor-row b{display:inline-block;min-width:36px;font-size:23px;font-weight:550}.l6-host .l6-area-key,.l6-host .l6-difference-key{font-size:11px!important;color:var(--muted)!important}.l6-host .l6-difference-track{height:28px;border-radius:6px;background:#eef2eb}.l6-host .l6-difference-track>div{border-radius:6px;background:linear-gradient(90deg,#96b6c9,#bbd0dc)}.l6-host .l6-difference-row:nth-child(2) .l6-difference-track>div{background:linear-gradient(90deg,#b7a7c5,#d0c6da)}.l6-host .l6-difference-row>strong{font-weight:550;font-size:23px;white-space:nowrap}.l6-host .l6-difference-gap-row .l6-difference-gap{background:linear-gradient(90deg,#dbc99f,#c7a365)}.l6-host .l6-difference-reading strong{font-size:32px;font-weight:550;white-space:nowrap}
.l6-host .l6-flatten-demo :focus-visible{outline:2px solid #648b73;outline-offset:4px}
@media(hover:hover) and (pointer:fine){.l6-host .l6-demo-transport button:hover{background:#284d39}.l6-host .l6-demo-head>button:hover{background:#e4ece2}}
@media(max-width:600px){.l6-host .l6-flatten-demo{padding:18px 16px;border-radius:20px;margin:26px 0 10px}.l6-host .l6-demo-head h4{font-size:17px!important}.l6-host .l6-demo-stages button{font-size:10px!important;padding:6px 3px;min-height:42px}.l6-host .l6-demo-chart{height:210px;gap:18px;grid-template-columns:20px repeat(2,minmax(0,1fr));background-size:auto;background-image:repeating-linear-gradient(to top,#e9ede7 0,#e9ede7 1px,transparent 1px,transparent 70px)}.l6-host .l6-demo-column{max-width:64px}.l6-host .l6-demo-value{font-size:24px}.l6-host .l6-demo-equations,.l6-host .l6-demo-object-labels{padding-left:38px;gap:8px;font-size:10px}.l6-host .l6-demo-bottom{display:flex;flex-direction:column;min-height:154px}.l6-host .l6-demo-bottom button{margin:0;width:auto}.l6-host .l6-demo-transport{gap:6px}.l6-host .l6-demo-transport>span{flex-basis:100%;min-height:38px}.l6-host .l6-demo-transport button{padding:0 11px;font-size:11px!important}.l6-host .l6-comp-row-head{gap:6px}.l6-host .l6-comp-row-head .l6-comp-current{font-size:24px;min-width:65px}.l6-host .l6-comp-row-head>span{font-size:10px}.l6-host .l6-comp-equation{gap:5px;font-size:11px}.l6-host .l6-comp-percent{font-size:21px;min-width:75px}.l6-host .l6-comp-bar{height:26px}.l6-host .l6-ratio-choices button{padding:12px 8px;font-size:11px}.l6-host .l6-ratio-choices .is-ratio-correct{padding:11px 7px}.l6-host .l6-ratio-equation .l6-manual-fraction{min-width:78px}.l6-host .l6-ratio-result strong{font-size:29px}.l6-host .l6-ratio-result{min-width:75px;max-width:100px}.l6-host .l6-order-routes{gap:10px}.l6-host .l6-order-route{padding:15px}.l6-host .l6-order-equation{min-height:95px;font-size:14px}.l6-host .l6-area-board{grid-template-columns:40px minmax(0,1fr);grid-template-rows:175px auto;gap:10px}.l6-host .l6-area-factor-row{gap:6px;font-size:10px}.l6-host .l6-area-factor-row b{min-width:20px;font-size:20px}.l6-host .l6-model-equation{font-size:13px;padding:14px 8px}.l6-host .l6-difference-row{grid-template-columns:18px minmax(0,1fr) 50px;gap:8px}.l6-host .l6-difference-row>strong{font-size:20px}.l6-host .l6-model-hint,.l6-host .l6-ratio-hint,.l6-host .l6-comp-hint,.l6-host .l6-order-hint{min-height:112px}}
@media(prefers-reduced-motion:reduce){.l6-host .l6-flatten-demo *{animation:none!important;transition:none!important}}
/* Visible quantities, not just a cursor: compensate, then divide both quantities to one unit. */
.l6-host .l6-order-motion{padding:26px 0 8px;min-height:192px}.l6-host .l6-order-motion-label{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#738077;align-items:center;margin:0 0 8px}.l6-host .l6-order-motion-label b{font-size:20px;font-weight:550;font-variant-numeric:tabular-nums;min-width:60px;text-align:right;white-space:nowrap;color:#486e84}.l6-host .l6-order-motion-track{position:relative;height:24px;border-radius:6px;background:#e8eee7;overflow:hidden;margin-bottom:16px}.l6-host .l6-order-motion-track>i{display:block;width:100%;height:100%;transform-origin:left;background:linear-gradient(90deg,#96b6c9,#bbd0dc);border-radius:6px}.l6-host .l6-order-motion-secondary b{color:#7b658a}.l6-host .l6-order-motion-secondary>i{background:linear-gradient(90deg,#b7a7c5,#d0c6da)}.l6-host .l6-order-motion>small{display:block;font-size:11px;line-height:1.7;min-height:38px;color:#738077}.l6-host .l6-order-motion-track em{position:absolute;left:84.615%;top:0;bottom:0;border-left:1px dashed #73807780}.l6-host .is-dividing .l6-order-motion-track em{display:none}.l6-host .l6-order-equation{min-height:95px}.l6-host .l6-order-route .l6-order-interim{min-height:42px}
@media(max-width:600px){.l6-host .l6-order-motion{padding-top:20px;min-height:185px}.l6-host .l6-order-motion-label{font-size:10px}.l6-host .l6-order-motion-label b{font-size:19px}.l6-host .l6-order-motion-track{height:22px}.l6-host .l6-order-equation{min-height:90px}}
