:root{color-scheme:light;--paper:#f6f6ec;--ink:#102f32;--muted:#4d6462;--line:#cbd5ca;--ocean:#0b363c;--serif:Georgia,"Times New Roman",serif;--mono:ui-monospace,Consolas,monospace}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.5 "Source Sans 3",system-ui,sans-serif}a{color:#195c5b;text-underline-offset:.22em}a:hover{text-decoration-thickness:2px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:500;line-height:1.1}h1{font-size:clamp(3rem,7vw,6rem);letter-spacing:-.07em}h2{font-size:clamp(1.7rem,3vw,2.45rem);letter-spacing:-.045em}h3{font-size:1.65rem}.head,main,footer{width:min(1180px,calc(100% - 64px));margin:auto}.head,footer,.section-head,.records-head,.pager,.detail-top,.chart-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}.head{padding:15px 0;border-bottom:1px solid var(--line);font-size:.9rem}.head>a,footer>a:first-child{font-weight:750;font-size:1rem;text-decoration:none;color:var(--ink)}.head nav{display:flex;gap:1.3rem}.intro{display:flex;justify-content:space-between;align-items:center;gap:2rem;margin:30px 0 21px}.intro>div:first-child>p:first-of-type{margin-top:8px;max-width:60ch;color:var(--muted)}[data-coolcode-commitments]{margin-top:4px;font-size:.83rem;color:var(--muted)}.stat{padding-left:20px;border-left:1px solid var(--line);text-align:right;flex-shrink:0}.stat strong{display:block;font:2.3rem/1.1 var(--serif)}.stat span,.detail-top{font-family:var(--mono);font-size:.72rem}.controls{display:grid;grid-template-columns:1fr 1.35fr .8fr auto;align-items:end;gap:14px;margin:0 0 16px}label{display:flex;flex-direction:column;gap:4px;font-size:.79rem;font-weight:650}select,input,button{min-width:0;padding:9px 11px;border:1px solid #9fae9f;border-radius:5px;font:inherit;color:var(--ink);background:#fffff7;font-size:.94rem;min-height:42px;max-width:100%}button{cursor:pointer}button:hover:not([disabled]){background:#e4ede1}button:disabled{opacity:.5;cursor:default}:focus-visible{outline:3px solid #00877f;outline-offset:3px}.chart{background:linear-gradient(155deg,#113f44,#092d33 74%);color:#f3f8e9;padding:20px 24px 14px;border-radius:9px}.chart h2{color:#f5f5db}.chart-head{align-items:flex-start}.chart-head p{font-size:.9rem;color:#c0d6cf;margin-top:4px}.legend{display:flex;flex-wrap:wrap;gap:6px 13px;list-style:none;margin:5px 0 0;padding:0;font: .75rem/1.5 var(--mono);color:#dce6dc}.legend li:before{content:"";display:inline-block;margin-right:5px;vertical-align:middle}.surface:before{background:#9de8d1;width:11px;height:3px;border-radius:3px}.dive:before{background:#ffc46d;width:6px;height:6px;border-radius:50%}.incomplete:before{background:#efa4c7;width:6px;height:6px;transform:rotate(45deg)}.unknown:before{border:1px solid #bcbfce;width:6px;height:6px}#plot{display:block;width:100%;height:clamp(215px,23vw,290px);touch-action:pan-y;margin:8px 0}#chart-note{font-size:.78rem;color:#c2d6cd;max-width:100ch}#feedback{margin:9px 0 25px;font-size:.85rem;color:var(--muted);min-height:1.3em}.records-head{margin-bottom:12px}.records-head label{flex-direction:row;align-items:center;gap:8px}.records-head select{min-height:37px;padding:6px 9px}.record-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:20px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:.9rem}th,td{text-align:left;border-bottom:1px solid var(--line);padding:7px 8px}th{font-size:.72rem;color:var(--muted);font-weight:650}td:first-child{white-space:nowrap}tbody button{min-height:30px;border:0;background:none;padding:0;text-decoration:underline;text-underline-offset:3px;font-size:inherit;color:#195c5b}tbody tr.selected{background:#e4ecdf}.pager{margin-top:8px;font-size:.8rem;justify-content:flex-start}.pager button{font-size:.8rem;min-height:32px;padding:4px 9px}.detail{background:#e5ece0;padding:20px;border-radius:6px;align-self:start}.detail-top{color:var(--muted);margin-bottom:10px}.detail p{font-size:.84rem;color:var(--muted);margin-top:8px}.detail dl{margin:14px 0}.detail dl div{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:6px 0;border-bottom:1px solid #c1cdbf}.detail dt{font-size:.8rem}.detail dd{font-family:var(--mono);font-size:.85rem;margin:0;text-align:right}.histories,.source{border-top:1px solid var(--line);margin-top:34px;padding-top:22px}.place-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(185px,100%),1fr));gap:12px;margin-top:14px}.place-cards>a{display:flex;flex-direction:column;border:1px solid var(--line);padding:13px 15px;border-radius:5px;text-decoration:none;font-family:var(--serif);font-size:1.25rem}.place-cards span{font:.8rem/1.6 system-ui;color:var(--muted)}.place-cards a:hover{background:#e6ede2}.section-head>a{font-size:.85rem}.source{display:grid;grid-template-columns:1fr 2fr;gap:20px;margin-bottom:32px}.source p,.prose p{margin:0 0 12px}.source{font-size:.9rem}.skip,.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{position:fixed;top:10px;left:10px;z-index:5;width:auto;height:auto;clip-path:none;background:white;padding:10px}footer{justify-content:flex-start;flex-wrap:wrap;border-top:1px solid var(--line);padding:16px 0;font-size:.84rem}.prose{max-width:900px;margin:35px auto}.prose h1{font-size:clamp(2.6rem,6vw,4rem);margin-bottom:16px}.prose h2{margin:28px 0 10px}.prose table{margin-top:12px}.cta{display:inline-block;padding:9px 14px;background:#0e4a4c;color:#f5f6e9;border-radius:4px}.month-bars{display:flex;align-items:end;gap:4px;height:100px;margin:1rem 0 1.5rem}.month-bars div{flex:1;display:flex;align-items:center;flex-direction:column;justify-content:end;height:100%;font:11px var(--mono)}.month-bars i{display:block;width:80%;background:#4d8b7c;margin-bottom:6px;border-radius:2px 2px 0 0}
@media(max-width:700px){.head,main,footer{width:calc(100% - 28px)}.intro{margin:20px 0 15px}.stat{display:none}.chart{padding:14px 12px 12px}.chart-head{display:block}.legend{margin-top:8px}.controls{grid-template-columns:1fr 1fr;gap:8px}.controls button{justify-self:start}.record-grid,.source{grid-template-columns:1fr}.record-grid{gap:12px}.head nav{gap:.8rem}.intro>div:first-child>p:first-of-type{font-size:.94rem}.place-cards{grid-template-columns:repeat(2,1fr)}.records-head{flex-wrap:wrap}}
@media(max-width:400px){.controls input,.controls select{font-size:.84rem;padding:7px}.head{font-size:.8rem}td,th{padding:6px 4px}.place-cards{grid-template-columns:1fr}.legend{gap:3px 9px}}
.controls label,.record-grid>div{min-width:0}
@media(max-width:700px){.controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
.compare-call{margin:-12px 0 24px;font-size:.87rem}.compare-controls{display:grid;grid-template-columns:1fr 1fr .85fr;gap:12px;align-items:end;margin:16px 0 12px}.compare-controls label,.comparison-record{min-width:0}.compare-controls select,.comparison-record select{width:100%}.compare-chart{margin:14px 0}.compare-chart section+section{border-top:1px solid #437071;margin-top:12px;padding-top:10px}.compare-chart h2{color:#f7f5e6;margin:12px 0 2px}.compare-chart section>p{font-size:.8rem;color:#c2d6cd;margin:0 0 3px}.compare-chart canvas{width:100%;display:block;height:150px;touch-action:pan-y}.comparison-record{max-width:650px;margin:12px 0 8px}.reading,#comparison-status{font-size:.87rem}.compare-chart .legend{margin-top:0}.compare-chart .legend li{color:#ebf0e9}
@media(max-width:700px){.compare-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.compare-controls label:last-child{grid-column:span 2}.compare-controls select{font-size:.84rem}}
