:root{font-family:Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,sans-serif;color:#e9f1f6;background:#08121f;font-synthesis:none;font-size:16px;--line:#243548;--muted:#91a5b9;--mint:#7de4d6;--amber:#f5c582}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button,select{cursor:pointer}button{color:inherit;background:transparent;border:1px solid transparent;border-radius:7px;padding:9px 12px;transition:.15s}button:hover{background:#203349}button:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--mint);outline-offset:3px}button.active{background:#20433f;color:#a6f1e2}button:disabled,select:disabled{opacity:.45;cursor:default}input{accent-color:var(--mint)}input[type=checkbox]{width:15px;height:15px}header{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 3vw;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:inherit;font-size:27px;font-weight:600;line-height:1}.brand-mark{display:grid;place-items:center;width:38px;height:43px;border:1px solid #85cfbf;border-radius:17px 7px;color:#9fe5d6;font-size:30px;font-style:italic}.brand-sub{display:block;font-size:9px;letter-spacing:.16em;margin-top:8px;color:#99b3c7}.audience{background:#101f2f;padding:4px;border-radius:9px;font-size:14px}.audience button.active{background:#294356;color:#eaf7fc}.outline{border:1px solid #3e556b;font-size:14px}.outline span{margin-left:22px;color:#8de1d6}main{max-width:1850px;margin:0 auto;padding:30px 3vw 0}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:20px}.eyebrow{font-size:11px;color:#8ad8ce;letter-spacing:.16em;margin:0 0 8px;font-weight:600}h1{font-size:27px;letter-spacing:.03em;margin:0;font-weight:500}.synthetic{font-size:12px;color:#d2bd93;text-align:right;line-height:1.8;margin:0}.synthetic span{display:block;color:var(--muted)}.workspace{display:grid;grid-template-columns:218px minmax(0,1fr);gap:30px}aside{padding-top:4px}.step{display:flex;align-items:center;gap:10px;margin-bottom:18px}.step b{font-size:11px;color:#91d6cc;border:1px solid #43665f;border-radius:50%;padding:5px}.step h2{font-size:15px;font-weight:500;margin:0}.segmented{display:flex;background:#112133;border-radius:7px;padding:3px;margin-bottom:15px}.segmented button{font-size:12px;flex:1;padding:9px 5px}nav{display:grid;gap:4px}nav button{text-align:left;padding:12px 14px;border-radius:6px;border-left:2px solid transparent}nav button.active{border-left-color:#8aedda;background:#163331}nav button span{font-size:14px;display:block}nav small{display:block;color:#829aaf;font-size:10px;letter-spacing:.05em;margin-top:5px}nav button.active small{color:#81b7ad}.second{margin-top:27px;margin-bottom:14px}.normal{width:100%;border:1px solid var(--line);font-size:13px;margin-bottom:10px}.segments{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.segments button{border:1px solid #334251;font-size:16px;padding:10px}.segments button.active{background:#654b2e;color:#ffe0ac;border-color:#d3a562}.segments button:nth-last-child(-n+2){font-size:14px}.small{font-size:12px;color:var(--muted);line-height:1.8}.field{display:block;font-size:12px;color:#b4c7d5;margin-top:18px}.field select{margin-top:8px;width:100%}select{background:#142437;border:1px solid #36485a;color:#dbe8f1;padding:10px;border-radius:6px;font-size:13px}.stage{min-width:0}.stage-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.stage-title h2{font-size:22px;font-weight:500;margin:0}.stage-title .eyebrow{font-size:10px}.phase{font-size:13px;background:#112030;border-radius:7px;padding:3px}.paired{display:grid;grid-template-columns:1fr 1fr;gap:14px}.visual-panel,.map-panel{border:1px solid #25364a;border-radius:10px;background:#0a1726;overflow:hidden}.panel-top{display:flex;justify-content:space-between;align-items:center;padding:15px 17px;gap:10px}.panel-top h3{font-size:13px;font-weight:500;margin:0;white-space:nowrap}.panel-top span,.panel-top label{font-size:11px;color:#92a8bb}.cyan{display:inline-block;width:6px;height:6px;background:var(--mint);border-radius:50%;margin-right:8px}#heart{height:365px;position:relative}#heart canvas{display:block;width:100%;height:100%}#webgl-error{padding:30px;position:absolute;z-index:5}.echo-panel{background:#030609}#echo{width:100%;height:365px;object-fit:contain;display:block}.panel-actions{display:flex;justify-content:space-between;align-items:center;min-height:46px;gap:3px;padding:7px 12px;border-top:1px solid #1d2c3e;font-size:11px;color:var(--muted)}.panel-actions button{font-size:11px;padding:5px 8px}.panel-actions label{display:flex;align-items:center;gap:3px;white-space:nowrap}.in-plane{color:#f3cc8e}.out-plane{color:#9fafbe}.slice-controls{display:flex;gap:20px;align-items:center;padding:20px 0 8px}.slice-controls>label{flex:1;min-width:95px}.slice-controls>label span{display:flex;justify-content:space-between;font-size:12px;color:#c0d0dd}.slice-controls output{color:#8ee0d2;font-size:11px}.slice-controls input{width:100%;margin:12px 0 0;height:3px}.slice-controls button{font-size:11px;white-space:nowrap;border:1px solid #34504e;padding:9px}.slice-controls button.quiet{border-color:transparent;color:#93a8bb}.orientation{font-size:11px;color:#90a7ba;line-height:1.8;margin:9px 0 20px}.lower{display:grid;grid-template-columns:1fr 1fr;gap:25px}.map-panel .panel-top{padding:14px}.map-panel select{font-size:10px;padding:6px;max-width:175px}#map{width:100%;display:block}.explanation{padding:20px 8px}.explanation h2{font-size:24px;font-weight:500;margin:16px 0 20px}.explanation p:not(.eyebrow):not(.small){font-size:15px;line-height:1.95;color:#bfceda}.explanation .small{font-size:12px}.rule{height:1px;background:#294051;margin:22px 0}.reference{border-top:1px solid #2b3c4f;margin:38px 0 0;padding:20px 0;font-size:14px}.reference summary{cursor:pointer;color:#adc1d1}.reference-body{display:grid;grid-template-columns:1.4fr 1fr;gap:40px;margin:25px 0}.reference h2{font-size:21px;font-weight:500}.reference p{color:#a7bdcd;font-size:14px;line-height:1.9}.reference figure{margin:0}.reference img{width:100%;border-radius:10px}.reference figcaption{color:#8fa8bc;font-size:12px;line-height:1.7}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}td,th{text-align:left;border-bottom:1px solid #293e50;padding:13px;line-height:1.7}td:first-child{min-width:190px}td:nth-child(2){min-width:180px}th{color:#8ed7cd}td{color:#b3c5d4}table small{font-size:11px;color:#7e9baf}.sources{display:flex;flex-wrap:wrap;gap:12px 25px;margin-top:24px}.sources a{color:#8dd5cc;font-size:12px}footer{padding:22px 0;color:#6e8a9f;font-size:11px;display:flex;justify-content:space-between}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%);background:#254e47;color:#cef3e6;border-radius:9px;font-size:14px}#toast:not(:empty){padding:15px 25px}@media(min-width:1550px){#heart,#echo{height:440px}.workspace{grid-template-columns:235px minmax(0,1fr)}.explanation{padding:35px 20px}}@media(max-width:1150px){.workspace{grid-template-columns:180px minmax(0,1fr);gap:20px}.paired{gap:9px}.panel-top{padding:12px 10px}.panel-top h3{font-size:11px}.panel-top span{display:none}.slice-controls{flex-wrap:wrap;gap:14px}.slice-controls>label{flex-basis:35%}.lower{gap:14px}.explanation h2{font-size:20px}#heart,#echo{height:300px}.map-panel .panel-top{flex-wrap:wrap}.intro h1{font-size:22px}.synthetic{font-size:10px}}@media(max-width:760px){header{height:auto;min-height:78px;padding:15px 5vw;flex-wrap:wrap;gap:15px}.brand{font-size:24px}.audience{order:3;width:100%;display:flex}.audience button{flex:1;font-size:13px}main{padding:24px 5vw 0}.intro{display:block}.intro h1{font-size:23px;line-height:1.6}.synthetic{text-align:left;margin-top:12px;font-size:11px}.synthetic span{display:inline;margin-left:10px}.workspace{display:block}aside{display:grid;grid-template-columns:1fr 1fr;gap:10px 15px;margin-bottom:30px}.step,.segmented,nav,.second{grid-column:1/-1}.step{margin:8px 0}.second{margin-top:12px}.segmented{max-width:360px;margin-bottom:0}nav{grid-template-columns:1fr 1fr;gap:5px}nav button{padding:10px;background:#102031}.segments{grid-row:7/10;grid-column:1}.normal{grid-column:2;grid-row:7;margin:0}.field{grid-column:2;margin:0}.small{margin:0;font-size:11px}#segment-name{grid-column:1}#mechanism-note{grid-column:2}.stage-title h2{font-size:19px}.stage-title{gap:10px}.phase button{padding:8px;font-size:11px}.paired{grid-template-columns:1fr}.panel-top h3{font-size:14px}.panel-top span{display:block}#heart,#echo{height:360px}.panel-actions,.panel-actions button{font-size:12px}.lower{grid-template-columns:1fr}.explanation{padding:12px 0}.explanation h2{font-size:24px}.map-panel .panel-top{flex-wrap:nowrap}#map{max-height:380px;object-fit:contain}.reference-body{grid-template-columns:1fr}.reference-body figure{max-width:480px}footer span{display:none}.slice-controls>label{flex-basis:40%}.slice-controls{gap:17px 12px}.orientation{font-size:12px}.eyebrow{font-size:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}.heart-actions{flex-wrap:wrap;gap:5px 10px;justify-content:flex-start}.heart-actions select{font-size:12px;padding:7px 9px;margin-right:auto}.heart-actions button,.heart-actions label{font-size:12px}.heart-actions label:last-child{margin-left:auto}.heart-note{flex-basis:100%;font-size:11px;line-height:1.6;color:#89a6b8;padding:2px 0}.probe-info{padding:10px 14px 13px;border-top:1px solid #24394a;display:grid;gap:5px;font-size:11px;line-height:1.7;color:#9cb6c7}.probe-info strong{color:#a9e9e1;font-weight:500}.probe-info small{font-size:10px;color:#8196a9}.heart-actions button:disabled{opacity:.4;cursor:default}.papillary-note{flex-basis:100%;font-size:11px;line-height:1.65;color:#d6bfa0;padding:4px 0}.heart-actions{align-content:flex-start}.tee-view{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 18px;padding-bottom:12px;border-bottom:1px solid #365b63;font-size:13px}.tee-view button{border:1px solid #365b63;font-size:13px}.tee-view label{margin-left:auto}.tee-view p{flex-basis:100%;margin:4px 0 0;color:#a6bfca;font-size:12px;line-height:1.6}.tee-controls .tee-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:760px){.tee-controls .tee-grid{grid-template-columns:1fr}.tee-view label{margin-left:0}}[hidden]{display:none!important}.tee-controls{margin:0 0 18px;padding:18px;border:1px solid #365b63;border-radius:10px;background:#0d202c}.tee-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.tee-heading h3{font-size:16px;margin:0;color:#b3eee4}.tee-heading p{font-size:11px;color:#9db5c7;margin:5px 0 0}.tee-heading button{border:1px solid #42656a;font-size:12px}.tee-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.tee-control label{display:flex;justify-content:space-between;font-size:12px;gap:8px}.tee-control output{color:#ffd493;white-space:nowrap}.tee-buttons{display:flex;gap:5px;margin:10px 0}.tee-buttons button{flex:1;background:#193440;border:1px solid #365965;padding:9px 4px;font-size:10px;touch-action:manipulation}.tee-buttons button:disabled{opacity:.35;cursor:default}.tee-control input{width:100%;margin:9px 0}.tee-control small{display:block;font-size:10px;line-height:1.6;color:#95afbe}.tee-presets{display:flex;gap:4px;margin:6px 0}.tee-presets button{flex:1;font-size:11px;padding:6px;background:#16313b}.tee-presets button.active{background:#426459;color:#f4e1b8}.tee-status{color:#c5e7de;font-size:11px;margin:15px 0 5px}.tee-note{font-size:10px;color:#859fad;line-height:1.7;margin:0}@media(max-width:1150px){.tee-grid{grid-template-columns:1fr}.tee-buttons button{font-size:12px}.tee-heading{align-items:flex-start}.tee-heading h3{font-size:14px}}
