.channel-guide {
    --ink: #152f39;
    --copy: #40545e;
    --teal: #216c6b;
    --line: #d6e3e3;
    --tint: #f1f8f7;
    color: var(--copy);
    background: #fff;
    font-family: "Noto Sans", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.72;
}
.cg-shell { width: min(calc(100% - 64px), 1120px); margin-inline: auto; }
.cg-section { padding-block: clamp(48px, 5.6vw, 78px); scroll-margin-top: 72px; }
.cg-band { background: #f5f9f9; border-block: 1px solid #e1ebea; scroll-margin-top: 70px; }
.channel-guide h1, .channel-guide h2, .channel-guide h3 { color: var(--ink); font-weight: 710; line-height: 1.16; text-wrap: balance; }
.channel-guide h2 { margin: 0 0 18px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.042em; }
.channel-guide h3 { margin: 0 0 11px; font-size: clamp(20px, 2vw, 25px); letter-spacing: -.028em; }
.channel-guide p { margin: 0 0 14px; }
.channel-guide strong { color: var(--ink); }
.channel-guide a { color: var(--teal); text-underline-offset: .2em; }
.channel-guide a:hover, .channel-guide summary:hover { text-decoration: underline; }
.channel-guide :focus-visible { outline: 3px solid #247f81; outline-offset: 4px; }
.channel-guide details summary { cursor: pointer; color: var(--teal); font-weight: 650; }
.channel-guide details[open] summary { margin-bottom: 10px; }
.channel-guide details p:last-child, .channel-guide figure p:last-child { margin-bottom: 0; }
.cg-intro { padding-block: 20px clamp(38px, 4vw, 62px); background: linear-gradient(112deg, #f0faf8 6%, #fff 80%); }
.cg-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: #50676d; margin: 0 0 30px; }
.cg-crumbs a, .cg-link { font-weight: 650; }
.cg-crumbs span { color: #7e999d; }
.cg-hero { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: clamp(30px, 5vw, 76px); }
.cg-hero h1 { margin: 0 0 22px; font-size: clamp(45px, 5.4vw, 76px); font-weight: 700; letter-spacing: -.048em; line-height: 1.02; }
.cg-hero h1 em { color: #277978; font-style: normal; }
.cg-hero p { max-width: 48ch; font-size: clamp(16px, 1.4vw, 19px); }
.cg-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 25px; }
.channel-guide .cg-button { background: var(--teal); border-radius: 8px; padding: 11px 17px; color: white; font-size: 15px; font-weight: 650; text-decoration: none; }
.channel-guide .cg-button:hover { background: #175958; }
.cg-button span, .cg-link span { margin-left: .3em; }
.cg-plate { overflow: hidden; border: 1px solid #cddfde; border-radius: 14px; background: white; margin: 0; }
.cg-perspective { box-shadow: 0 12px 30px -22px #346363; }
.cg-plate-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 12px; border-bottom: 1px solid var(--line); padding: 12px 19px; font-size: 13px; }
.cg-plate-head strong { color: #2b6064; }
.cg-plate-head span { color: #5c7075; font-size: 12px; }
.cg-plate svg { display: block; width: 100%; }
.cg-plate figcaption { padding: 13px 19px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.cg-jumps { border-block: 1px solid var(--line); }
.cg-jumps > div { display: flex; flex-wrap: wrap; gap: 0 clamp(14px, 2.5vw, 36px); }
.cg-jumps a { padding: 14px 0; font-size: 14px; font-weight: 620; white-space: nowrap; }
.cg-section-head { max-width: 76ch; margin-bottom: 27px; }
.cg-definitions, .cg-mechanisms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px clamp(28px, 4vw, 56px); }
.cg-definitions > div { border-top: 2px solid #a6cfcd; padding-top: 19px; }
.cg-definitions > div:first-child { border-color: #dec2a3; }
.cg-definitions h3 { display: flex; align-items: center; gap: 11px; }
.cg-definitions h3 span { font-weight: 500; font-size: .76em; color: #62777c; }
.cg-definitions p, .cg-mechanisms p:last-child, .cg-compare p { margin-bottom: 0; }
.cg-symbol { width: 13px; height: 13px; display: inline-block; }
.cg-symbol-s { border-radius: 50%; border: 3px solid #147675; }
.cg-symbol-g { width: 11px; height: 11px; margin-inline: 1px; transform: rotate(45deg); background: #a65c16; }
.cg-lab { display: grid; grid-template-columns: .92fr 1.08fr; align-items: stretch; }
.cg-lab-plot { margin: 0; background: #f4faf9; border-right: 1px solid var(--line); }
.cg-lab-plot .cg-plate-head { background: #fff; }
.cg-lab-plot svg { max-height: 365px; margin: auto; }
.cg-lab-controls { align-self: center; padding: clamp(20px, 3.6vw, 46px); }
.cg-lab-controls fieldset { border: 0; margin: 0; padding: 0; }
.cg-lab-controls legend { font-weight: 680; color: var(--ink); margin-bottom: 10px; }
.cg-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cg-options label { position: relative; cursor: pointer; }
.cg-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cg-options span { display: block; min-height: 44px; padding: 9px 8px; border: 1px solid #b7cccc; border-radius: 7px; text-align: center; color: #334e57; font-weight: 600; font-size: 14px; }
.cg-options input:checked + span { color: #fff; background: var(--teal); border-color: var(--teal); }
.cg-options input:focus-visible + span { outline: 3px solid #378e8f; outline-offset: 2px; }
.cg-results { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 23px 0 13px; }
.cg-results > div > small { display: block; color: #526c70; font-size: 13px; }
.cg-results strong { display: block; font-size: clamp(22px, 2.8vw, 34px); line-height: 1.4; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.cg-results strong small { font-size: 14px; font-weight: 550; letter-spacing: 0; }
.cg-lab-foot { padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.cg-lab-controls p:last-child { margin-bottom: 0; }
.cg-split { display: grid; grid-template-columns: 1.13fr .87fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.cg-flow svg { height: 265px; background: #f6fbfa; }
.cg-work { padding: 30px 0; border-top: 1px solid #c5d6d7; }
.cg-work:last-child { padding-bottom: 0; }
.cg-work-head > span { display: block; color: var(--teal); font-size: 13px; font-weight: 750; margin-bottom: 6px; }
.cg-steps { margin: 18px 0 0; padding-left: 26px; list-style: decimal; }
.cg-steps li { padding-left: 5px; margin: 13px 0; }
.cg-steps li::marker { color: var(--teal); font-weight: 700; }
.cg-equation { display: block; margin-top: 6px; color: #254649; font-variant-numeric: tabular-nums; }
.cg-equation b { white-space: nowrap; }
.cg-steps details { font-size: 15px; margin-top: 8px; }
.cg-table { width: 100%; font-size: 15px; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; margin: 18px 0; background: white; }
.cg-table caption { text-align: left; padding-bottom: 8px; font-weight: 630; }
.cg-table :is(th,td) { padding: 8px 12px; border-bottom: 1px solid var(--line); }
.cg-table :is(th,td):not(:first-child) { text-align: right; }
.cg-table thead { background: #e6f0ee; color: #2d5557; }
.cg-note, .cg-takeaway { border-left: 3px solid #398a88; padding: 16px 20px; background: #eaf5f3; margin-block: 19px; }
.cg-section-tools { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px 28px; margin-bottom: 24px; }
.cg-section-tools h2 { margin-bottom: 10px; }
.cg-section-tools p { max-width: 64ch; margin: 0; }
.cg-units { display: inline-flex; flex-shrink: 0; padding: 3px; border: 1px solid #bcd3d1; border-radius: 9px; background: #fff; }
.channel-guide .cg-units a { padding: 9px 15px; min-height: 42px; display: grid; place-items: center; border-radius: 6px; font-size: 14px; font-weight: 650; line-height: 1.2; text-decoration: none; }
.cg-units a[aria-current] { background: var(--teal); color: #fff; }
.cg-units a:hover:not([aria-current]) { background: #e9f4f2; }
.cg-work-pair { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .83fr); gap: 20px clamp(32px, 5vw, 70px); align-items: start; }
.cg-work-head h3 { margin-bottom: 20px; }
.cg-work-pair .cg-table { margin: 0; }
.cg-table tbody th { font-weight: 550; }
.cg-web-row { background: #f0f8f7; color: #204d50; }
.cg-thin svg { background: #f7fbfa; max-height: 288px; }
.cg-field-layout, .cg-shapes-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 22px clamp(32px, 5.5vw, 80px); }
.cg-field-photo { margin: 0; }
.cg-photo-frame { position: relative; overflow: hidden; border-radius: 10px; background: #e4edeb; }
.cg-photo-frame img { display: block; width: 100%; height: auto; }
.cg-field-photo figcaption { margin-top: 9px; font-size: 13px; line-height: 1.5; color: #53686c; }
.cg-field-photo figcaption a, .cg-references a { text-decoration: underline; }
.cg-pin { --leader: clamp(14px, 2vw, 27px); position: absolute; transform: translate(-50%, calc(-100% - var(--leader))); white-space: nowrap; padding: 3px 8px; border-radius: 4px; background: #193c40; color: #fff; font-size: clamp(11px, .95vw, 13px); font-weight: 650; line-height: 1.5; }
.cg-pin::before { content: ""; position: absolute; width: 2px; height: var(--leader); left: calc(50% - 1px); top: 100%; background: #fff; box-shadow: 0 0 2px #142d31; }
.cg-pin::after { content: ""; position: absolute; left: calc(50% - 4px); top: calc(100% + var(--leader) - 4px); width: 8px; height: 8px; border: 2px solid white; border-radius: 50%; background: #216c6b; }
.cg-pin-rail { left: 39%; top: 44%; }
.cg-pin-cross { left: 63%; top: 34%; }
.cg-pin-channel { left: 32%; top: 44%; }
.cg-pin-hss { left: 88%; top: 29%; }
.cg-shapes-layout { align-items: start; }
.cg-shapes-layout .cg-compare { display: grid; grid-template-columns: 1fr; }
.cg-shapes-layout .cg-compare > div { grid-template-columns: 60px 1fr; padding: 16px 0; }
.cg-shapes-layout .cg-compare > div:first-child { border-top: 0; padding-top: 0; }
.cg-shapes-layout .cg-profile { height: 74px; }
.cg-shapes-layout .cg-profile svg { width: 46px; height: 62px; }
.cg-shapes-layout .cg-compare h3 { margin: 0 0 4px; font-size: 20px; }
.cg-shapes-layout .cg-compare p { font-size: 15px; line-height: 1.55; }
.cg-mechanisms > article { border-top: 2px solid #aacdca; padding-top: 18px; }
.cg-buckling { margin-top: 25px; }
.cg-buckling-views { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.cg-buckling-views svg { background: #f7fbfa; fill: var(--ink); font-size: 15px; font-weight: 600; }
.cg-buckling-views .cg-svg-small { font-size: 13px; font-weight: 500; }
.channel-guide .cg-takeaway { margin: 26px 0 0; }
.cg-compare { gap: 0 38px; }
.cg-compare > div { display: grid; grid-template-columns: 72px 1fr; gap: 17px; border-top: 1px solid var(--line); padding: 21px 0; }
.cg-profile { border-radius: 7px; background: #f2f8f7; height: 86px; display: grid; place-items: center; }
.cg-profile svg { width: 54px; height: 74px; }
.cg-compare small { color: #577278; font-size: 12px; }
.cg-compare h3 { font-size: 21px; margin-block: 3px 8px; }
.cg-review { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 28px; }
.cg-review details, .cg-references { margin-top: 10px; }
.cg-further { margin: 30px 0 18px; background: var(--tint); border: 1px solid var(--line); padding: 22px 24px; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.cg-further p { margin: 0; }
.cg-further a { flex-shrink: 0; }
.cg-references { font-size: 14px; }
.cg-references ul { list-style: disc; padding-left: 22px; }
@media (max-width: 820px) {
    .cg-shell { width: min(calc(100% - 40px), 700px); }
    .cg-hero, .cg-split, .cg-lab { grid-template-columns: 1fr; }
    .cg-hero p { max-width: 58ch; }
    .cg-hero h1 br { display: none; }
    .cg-field-layout, .cg-shapes-layout, .cg-work-pair { grid-template-columns: 1fr; }
    .cg-field-photo { max-width: 530px; }
    .cg-work-pair .cg-thin { max-width: 460px; width: 100%; }
    .cg-lab { grid-template-areas: "choices" "numbers" "diagram" "result" "explanation"; }
    .cg-lab-controls { display: contents; }
    .cg-lab-controls fieldset { grid-area: choices; padding: 0 16px 16px; margin-top: 14px; min-width: 0; }
    .cg-lab-controls legend { padding: 0; font-size: 14px; margin-bottom: 6px; }
    .cg-lab-plot { grid-area: diagram; border-top: 1px solid var(--line); }
    .cg-live { display: contents; }
    .cg-results { grid-area: numbers; margin: 0 16px; padding: 8px 0 12px; border-top: 1px solid var(--line); }
    .cg-lab-foot { grid-area: explanation; margin: 0 16px 14px !important; padding-top: 8px; }
    .cg-live #cg-note { grid-area: result; margin: 12px 16px 10px; }
    .cg-perspective svg { max-height: 320px; }
    .cg-split { gap: 16px; }
    .cg-lab-plot { border-right: 0; border-bottom: 1px solid var(--line); }
    .cg-lab-plot svg { max-height: 290px; }
    .cg-jumps a { padding-block: 8px; }
}
@media (max-width: 600px) {
    .cg-shell { width: calc(100% - 32px); }
    .cg-crumbs { margin-bottom: 22px; }
    .cg-section-tools { flex-direction: column; gap: 12px; margin-bottom: 16px; }
    .cg-hero h1 { font-size: clamp(39px, 10.5vw, 54px); }
    .cg-section { padding-block: 36px; }
    .cg-lab-plot svg { max-height: 253px; }
    .cg-lab .cg-plate-head { padding-block: 6px; }
    .cg-lab .cg-options span { font-size: 13px; }
    .cg-lab-foot { font-size: 13px; }
    .cg-results strong { font-size: 25px; }
    .cg-definitions, .cg-mechanisms, .cg-buckling-views { grid-template-columns: 1fr; }
    .cg-plate-head, .cg-plate figcaption { padding: 10px 13px; }
    .cg-table :is(th,td) { padding: 7px 6px; font-size: 14px; }
    .cg-jumps > div { gap: 0 16px; padding-block: 5px; }
    .cg-jumps a { padding-block: 4px; font-size: 13px; }
    .cg-further { align-items: flex-start; flex-direction: column; }
    .cg-steps { padding-left: 19px; }
}
