:root{color-scheme:light;--paper:#f4f0e6;--paper-2:#e9e2d3;--ink:#18323c;--muted:#60747a;--line:#d4cbbb;--blue:#1c6576;--blue-2:#2e8a91;--copper:#c46d3d;--water:#74c4c8;--white:#fffdf7;--shadow:0 14px 34px rgba(36,47,44,.09);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--paper);color:var(--ink)}body{min-height:100vh}.masthead{height:62px;padding:0 28px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:rgba(255,253,247,.76)}.brand{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:.12em;font-size:11px}.brand-mark{width:28px;height:28px;border:1px solid var(--blue);border-radius:50%;display:grid;place-items:center;color:var(--blue)}.brand-mark svg{width:17px;height:17px}.mast-meta{font:600 10px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.12em;color:var(--muted)}main{max-width:1440px;margin:0 auto;padding:22px 28px 30px}.intro{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:18px}.eyebrow{font:700 10px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.18em;text-transform:uppercase;color:var(--copper);margin-bottom:7px}.intro h1{font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.035em;font-size:clamp(27px,3vw,39px);line-height:1.03;margin:0}.intro p{max-width:430px;margin:0 0 2px;color:var(--muted);font-size:12px;line-height:1.55}.workspace{display:grid;grid-template-columns:286px minmax(0,1fr);gap:18px;align-items:start}.controls{background:var(--white);border:1px solid var(--line);border-radius:13px;padding:17px 17px 15px;box-shadow:var(--shadow)}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.panel-head h2{font-size:11px;letter-spacing:.12em;text-transform:uppercase;margin:0}.micro{font:600 9px ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--muted);letter-spacing:.08em}.control{padding:10px 0 12px;border-top:1px solid #eee8dc}.control:first-of-type{border-top:0}.control-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:8px}.control label{font-size:11px;font-weight:650}.value{font:700 11px ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--blue);white-space:nowrap}.control input[type=range]{width:100%;accent-color:var(--copper);cursor:pointer}.range-limits{display:flex;justify-content:space-between;color:#879397;font:9px ui-monospace,SFMono-Regular,Consolas,monospace;margin-top:1px}.control-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.small-btn,.export-btn{border:1px solid var(--line);border-radius:7px;background:#faf7ef;color:var(--ink);font:700 10px ui-monospace,SFMono-Regular,Consolas,monospace;padding:8px 10px;cursor:pointer}.small-btn:hover,.export-btn:hover{border-color:var(--blue);color:var(--blue)}button:focus-visible,input:focus-visible{outline:3px solid rgba(196,109,61,.38);outline-offset:3px}.visual-column{min-width:0;display:grid;gap:14px}.visual-card{background:var(--white);border:1px solid var(--line);border-radius:13px;overflow:hidden;box-shadow:var(--shadow)}.visual-head{display:flex;align-items:center;justify-content:space-between;padding:12px 15px 10px;border-bottom:1px solid #eee8dc}.visual-head h2{font-size:10px;letter-spacing:.12em;text-transform:uppercase;margin:0}.visual-head span{font:600 9px ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--muted)}.schematic-wrap{height:285px;position:relative;background:linear-gradient(180deg,#fdfbf5 0%,#f4f0e6 100%)}canvas{display:block;width:100%;height:100%}.canvas-note{position:absolute;left:14px;bottom:10px;font:9px ui-monospace,SFMono-Regular,Consolas,monospace;color:#75858a;pointer-events:none}.readouts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--line)}.readout{padding:11px 13px;border-right:1px solid var(--line);min-width:0}.readout:last-child{border-right:0}.readout .r-label{display:block;font:600 9px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.06em;color:var(--muted);text-transform:uppercase;margin-bottom:5px}.readout strong{font:700 clamp(13px,1.5vw,18px) ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap}.readout small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.plot-wrap{height:188px;position:relative;padding:0 4px 3px}.plot-foot{display:flex;justify-content:space-between;align-items:center;padding:0 14px 10px;color:var(--muted);font:9px ui-monospace,SFMono-Regular,Consolas,monospace}.science{margin-top:14px;border:1px solid var(--line);border-radius:10px;background:rgba(255,253,247,.55)}.science summary{padding:12px 14px;cursor:pointer;font-size:11px;font-weight:700;letter-spacing:.04em}.science-body{padding:0 14px 14px;color:var(--muted);font-size:11px;line-height:1.6}.equation{font:12px Georgia,"Times New Roman",serif;color:var(--ink);background:#f2ecdf;border-radius:6px;padding:8px 10px;margin:6px 0}.science-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.footnote{font-size:9px;color:var(--muted);margin-top:12px;line-height:1.45}.status-line{display:flex;gap:8px;align-items:center;color:var(--muted);font:9px ui-monospace,SFMono-Regular,Consolas,monospace}.status-dot{width:6px;height:6px;background:var(--blue-2);border-radius:50%;display:inline-block}.embed-mode{height:100vh;height:100dvh;overflow:hidden}.embed-mode .masthead,.embed-mode .intro{display:none}.embed-mode main{height:100%;padding:10px;max-width:none;display:flex;flex-direction:column}.embed-mode .science{display:none}.embed-mode .workspace{height:100%;flex:1;min-height:0}.embed-mode .visual-column{min-height:0;grid-template-rows:minmax(220px,1fr) auto auto}.embed-mode .visual-card:first-child{min-height:0;display:flex;flex-direction:column}.embed-mode .schematic-wrap{flex:1;min-height:180px}.embed-mode .controls{overflow:auto;max-height:100%}.embed-mode .plot-wrap{height:150px}@media(max-width:900px){main{padding:18px}.workspace{grid-template-columns:250px minmax(0,1fr);gap:12px}.readouts{grid-template-columns:repeat(3,1fr)}.readout:nth-child(3){border-right:0}.readout:nth-child(n+4){border-top:1px solid var(--line)}}@media(max-width:680px){.masthead{height:52px;padding:0 16px}.mast-meta{display:none}main{padding:16px 12px 22px}.intro{display:block;margin-bottom:14px}.intro p{margin-top:8px}.workspace{grid-template-columns:1fr}.controls{order:0}.visual-column{order:1}.schematic-wrap{height:245px}.readouts{grid-template-columns:repeat(2,1fr)}.readout:nth-child(2n){border-right:0}.readout:nth-child(n+3){border-top:1px solid var(--line)}.plot-wrap{height:170px}.science-grid{grid-template-columns:1fr}.embed-mode main{padding:6px}.embed-mode .workspace{display:flex;flex-direction:column;overflow:auto}.embed-mode .controls{max-height:none;width:100%}.embed-mode .visual-column{width:100%;grid-template-rows:auto auto auto}.embed-mode .schematic-wrap{height:250px;min-height:250px}.embed-mode .plot-wrap{height:150px}}

@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

body.embed-mode{height:100vh;height:100dvh;overflow:hidden}
