.history-lab-page{max-width:1500px;color:var(--theme-ink,#28443a);margin:auto;padding:30px clamp(16px,3.3vw,50px) 54px}.history-lab-embedded{border:1px solid var(--theme-line,#ccd9cf);background:var(--theme-surface,#fbfcf8);border-radius:22px;min-width:0;margin:28px 0;padding:22px}.history-lab-heading{max-width:980px;margin:18px 0 24px}.history-lab-heading .eyebrow{color:var(--theme-muted,#46674e);flex-wrap:wrap;align-items:center;gap:9px;display:flex}.history-lab-heading h1,.history-lab-heading h2{letter-spacing:-1px;margin:15px 0;font-size:clamp(28px,3.4vw,44px);line-height:1.17}.history-lab-heading p{color:var(--theme-body,#466052);max-width:940px;font-size:18px;line-height:1.7}.history-lab-back{color:var(--theme-text-green,#315f4a);align-items:center;gap:8px;font-size:15px;text-decoration:none;display:inline-flex}.history-lab-steps{flex-wrap:wrap;gap:12px;margin:0 0 25px;padding:0;list-style:none;display:flex}.history-lab-steps li{background:var(--theme-surface-green,#edf3e7);border-radius:30px;align-items:center;gap:9px;padding:10px 16px;font-weight:650;display:flex}.history-lab-steps b{background:var(--theme-action-bg,#2e654c);color:#fff;text-align:center;border-radius:50%;width:25px;height:25px;line-height:25px}.history-lab-workbench{grid-template-columns:minmax(220px,290px) minmax(0,1fr);align-items:start;gap:20px;display:grid}.history-lab-controls{background:var(--theme-surface,white);border:1px solid var(--theme-line,#cbdacf);border-radius:20px;min-width:0;padding:20px}.history-lab-controls-title{justify-content:space-between;align-items:start;gap:9px;display:flex}.history-lab h3{margin:0 0 15px;font-size:20px;line-height:1.4}.history-lab-controls-title button,.history-lab-sequence button{border:1px solid var(--theme-line,#c3d3c8);background:var(--theme-surface,white);min-width:40px;min-height:40px;color:var(--theme-text-green,#315a44);border-radius:11px;flex:none;justify-content:center;align-items:center;display:inline-flex}.history-lab label{font-weight:650;line-height:1.5}.history-lab select,.history-lab-catalog-intro select{border:1px solid var(--theme-control-border,#afc7b6);background:var(--theme-surface,#fff);width:100%;min-height:46px;color:var(--theme-ink,#28443a);font:inherit;border-radius:11px;max-width:100%;margin-top:7px;padding:10px 30px 10px 11px;display:block}.history-lab-scale{border:0;border-top:1px solid var(--theme-line,#d9e3d8);margin:20px 0;padding:16px 0 0}.history-lab-scale legend{padding-top:16px;font-weight:700}.history-lab-scale label{align-items:center;gap:8px;margin:10px 0;font-size:14px;display:flex}.history-lab input{accent-color:var(--theme-accent,#2e684e)}.history-lab-mission{background:var(--theme-surface-amber,#f4f0df);border:1px solid var(--theme-line,#e1d9bd);border-radius:13px;margin-top:22px;padding:15px}.history-lab-mission strong{color:var(--theme-text-amber,#674e25)}.history-lab-mission p{margin:7px 0 0;font-size:15px;line-height:1.65}.history-lab-skill{color:var(--theme-text-green,#3e6650);align-items:start;gap:8px;margin:18px 0 0;font-size:14px;line-height:1.6;display:flex}.history-lab-skill svg{flex:none;margin-top:3px}.history-lab-screen{min-width:0}.history-lab-figure{border:1px solid var(--theme-line,#ccd9cc);background:var(--theme-surface,#fff);border-radius:20px;margin:0;overflow:hidden}.history-lab-figure-toolbar{border-bottom:1px solid var(--theme-line,#e0e7dd);color:var(--theme-muted,#52685a);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:13px 16px;font-size:12px;display:flex}.history-lab-expand{border:1px solid var(--theme-line,#abc3b1);color:var(--theme-text-green,#2b563e);background:var(--theme-surface,white);min-height:38px;font:inherit;border-radius:10px;align-items:center;gap:7px;padding:7px 10px;font-size:13px;font-weight:700;display:inline-flex}.history-lab-svg{aspect-ratio:720/420;background:linear-gradient(155deg,#fff,#f7faf2);width:100%;height:auto;font-family:inherit;display:block}.history-lab-figure figcaption{border-top:1px solid var(--theme-line,#e1e7dd);color:var(--theme-body,#50634e);background:var(--theme-surface-green,#f6f8f0);padding:14px 18px;font-size:13px;line-height:1.65}.history-lab-observation{background:var(--theme-surface,white);border:1px solid var(--theme-line,#cbdacf);border-radius:20px;margin-top:18px;padding:23px}.history-lab-date{color:var(--theme-text-amber,#79602d);margin-bottom:9px;font-size:13px;font-weight:750;display:block}.history-lab-observation h3{font-size:24px}.history-lab-observation dl{margin:0}.history-lab-observation dl>div{padding:10px 0}.history-lab-observation dt{text-transform:uppercase;letter-spacing:.03em;color:var(--theme-text-green,#3c6249);margin-bottom:5px;font-size:13px;font-weight:750}.history-lab-observation dd{color:var(--theme-ink,#304d3f);margin:0;font-size:16px;line-height:1.75}.history-lab-observation .history-lab-boundary{background:var(--theme-surface-amber,#f7f0df);border-radius:12px;margin-top:9px;padding:14px}.history-lab-boundary dt{color:var(--theme-text-amber,#785721)}.history-lab-calendar-result{border-top:1px solid var(--theme-line,#dae3d7);padding-top:16px;font-size:16px;line-height:1.7}.history-lab-data,.history-lab-sources{background:var(--theme-surface,#fff);border:1px solid var(--theme-line,#ccd9cf);border-radius:17px;margin:22px 0;padding:17px 20px}.history-lab summary{cursor:pointer;color:var(--theme-text-green,#2d5c43);font-weight:700;line-height:1.6}.history-lab-table-wrap{margin-top:13px;overflow:auto}.history-lab table{border-collapse:collapse;width:100%;min-width:560px;font-size:14px}.history-lab caption{text-align:left;color:var(--theme-body,#426148);padding:10px 0;font-weight:650}.history-lab th,.history-lab td{vertical-align:top;text-align:left;border:1px solid var(--theme-line,#d7e2d8);padding:13px;line-height:1.7}.history-lab thead th{background:var(--theme-surface-green,#edf3e8)}.history-lab tbody th{width:24%;font-weight:650}.history-lab th small{color:var(--theme-text-amber,#6d5a31);margin-top:7px;font-weight:500;display:block}.history-lab-task{background:var(--theme-surface-green,#eff5e9);border:1px solid var(--theme-line,#c8d9bd);border-radius:20px;margin:26px 0;padding:26px}.history-lab-task>.eyebrow{letter-spacing:.08em;color:var(--theme-muted,#426848);font-size:12px}.history-lab-task h3{margin:11px 0 17px;font-size:23px}.history-lab-hint{color:var(--theme-muted,#4d6652);font-size:14px;line-height:1.6}.history-lab-sequence{gap:9px;margin:18px 0;padding:0;list-style:none;display:grid}.history-lab-sequence li{background:var(--theme-surface,white);border:1px solid var(--theme-line,#ccdacf);border-radius:13px;align-items:center;gap:12px;padding:12px;line-height:1.6;display:flex}.history-lab-sequence li>span:nth-child(2){flex:1}.history-lab-order{background:var(--theme-surface-green,#e5efdb);border-radius:50%;flex:none;place-items:center;width:26px;height:26px;font-weight:750;display:grid}.history-lab-sequence li>div{gap:7px;display:flex}.history-lab button:disabled{opacity:.48;cursor:default}.history-lab-feedback{background:var(--theme-surface-amber,#fff9e9);border:1px solid var(--theme-line,#decf9e);border-radius:13px;margin-top:18px;padding:17px;line-height:1.75}.history-lab-feedback.is-success{background:var(--theme-surface-green,#e1efdb);border-color:var(--theme-line,#91b88c)}.history-lab-feedback p{margin:9px 0 0}.history-lab-connections{gap:15px;margin:18px 0;display:grid}.history-lab-connections>div{grid-template-columns:minmax(180px,1fr) minmax(200px,1fr);align-items:center;gap:16px;display:grid}.history-lab-evidence{border:0;gap:10px;margin:15px 0 20px;padding:0;display:grid}.history-lab-evidence legend{margin-bottom:12px;font-size:14px;font-weight:650}.history-lab-evidence label{background:var(--theme-surface,white);border:1px solid var(--theme-line,#c9d9c7);border-radius:12px;align-items:start;gap:12px;padding:14px;font-weight:500;line-height:1.7;display:flex}.history-lab-evidence input{flex:none;width:18px;height:18px;margin-top:6px}.history-lab-notes{border:1px solid var(--theme-line,#cbdacc);background:var(--theme-surface,white);border-radius:19px;margin:27px 0;padding:23px}.history-lab-notes>label{font-size:22px}.history-lab-notes p{color:var(--theme-muted,#4f6656);margin:10px 0;line-height:1.7}.history-lab-notes textarea{resize:vertical;border:1px solid var(--theme-control-border,#b4ccb7);width:100%;min-height:130px;font:inherit;background:var(--theme-surface,#fcfdf9);color:var(--theme-ink,#28443a);border-radius:12px;padding:13px;font-size:16px;line-height:1.6}.history-lab-notes>div{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;margin-top:14px;display:flex}.history-lab-notes>div>span{color:var(--theme-muted,#536954);max-width:450px;font-size:13px;line-height:1.6}.history-lab-sources p{font-size:15px;line-height:1.75}.history-lab-sources ul{padding-left:20px}.history-lab-sources li{margin:14px 0;line-height:1.6}.history-lab-sources a{color:var(--theme-text-green,#286147);text-underline-offset:3px;text-decoration:underline}.history-lab-sources small{color:var(--theme-muted,#64745f);display:block}.history-lab-footnote{color:var(--theme-muted,#526752);max-width:1000px;margin:23px 0;font-size:13px;line-height:1.8}.history-lab-catalog-intro{background:var(--theme-surface-amber,#f4f0e2);border:1px solid var(--theme-line,#ded8bd);border-radius:18px;grid-template-columns:1fr 225px;align-items:center;gap:28px;margin:20px 0 27px;padding:23px;display:grid}.history-lab-catalog-intro p{margin:0;font-size:16px;line-height:1.75}.history-lab-catalog-intro label{font-size:14px;font-weight:650}.history-lab-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;display:grid}.history-lab-card{border:1px solid var(--theme-line,#cbd8cc);background:var(--theme-surface,#fff);color:var(--theme-ink,#28443a);border-radius:21px;flex-direction:column;padding:24px;text-decoration:none;transition:transform .15s,border-color .15s;display:flex}.history-lab-card:hover{border-color:var(--theme-line,#6f9c7b);transform:translateY(-3px)}.history-lab-card>div{justify-content:space-between;align-items:center;gap:12px;margin-bottom:23px;font-size:12px;display:flex}.history-lab-card>div b{background:var(--theme-surface-amber,#eceddc);width:40px;height:40px;color:var(--theme-text-amber,#726032);border-radius:12px;place-items:center;font-size:16px;display:grid}.history-lab-card h2{letter-spacing:-.4px;margin:0 0 13px;font-size:22px;line-height:1.3}.history-lab-card p{color:var(--theme-muted,#4e6555);margin:0 0 14px;font-size:15px;line-height:1.8}.history-lab-card small{color:var(--theme-text-amber,#75622c);margin:auto 0 18px;font-weight:650;line-height:1.6}.history-lab-card-action{color:var(--theme-text-green,#286246);align-items:center;gap:8px;font-size:14px;font-weight:700;display:flex}.history-lab :focus-visible,.history-lab-page :focus-visible{outline:3px solid var(--theme-focus,#b87925);outline-offset:4px}.history-lab-viewer{border:1px solid var(--theme-line,#afc5b0);width:min(1200px,100vw - 26px);max-height:calc(100dvh - 26px);color:var(--theme-ink,#28443a);background:var(--theme-surface,#fff);border-radius:22px;padding:22px;overflow:auto}.history-lab-viewer::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#193328b8}.history-lab-viewer>header{justify-content:space-between;align-items:start;gap:18px;display:flex}.history-lab-viewer h2{margin:0;font-size:24px;line-height:1.3}.history-lab-viewer header button{border:1px solid var(--theme-line,#b9cdbb);background:var(--theme-surface,white);color:var(--theme-text-green,#2d533d);border-radius:12px;flex:none;place-items:center;min-width:44px;min-height:44px;display:grid}.history-lab-viewer>p{margin:15px 0;font-size:14px;line-height:1.7}.history-lab-viewer-pan{overscroll-behavior:contain;border:1px solid var(--theme-line,#d7e2d5);border-radius:12px;overflow:auto}.history-lab-viewer .history-lab-svg{width:100%;min-width:860px}.history-lab-figure-placeholder{aspect-ratio:720/420;background:var(--theme-surface-green,#eef3e8)}.history-lab-embedded .history-lab-workbench{grid-template-columns:240px minmax(0,1fr)}@media (max-width:1100px){.history-lab-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.history-lab-workbench,.history-lab-embedded .history-lab-workbench{grid-template-columns:1fr}.history-lab-controls{grid-template-columns:1fr 1fr;gap:13px 22px;display:grid}.history-lab-controls-title{grid-column:1/-1}.history-lab-controls>label,.history-lab-controls>select{grid-column:1}.history-lab-mission{grid-area:2/2/6;margin:0}.history-lab-scale,.history-lab-skill{margin:5px 0}.history-lab-svg{max-height:none}}@media (max-width:620px){.history-lab-page{padding:22px 14px 40px}.history-lab-embedded{padding:15px}.history-lab-heading h1,.history-lab-heading h2{font-size:29px}.history-lab-heading p{font-size:16px}.history-lab-steps{gap:7px}.history-lab-steps li{gap:6px;padding:8px 10px;font-size:13px}.history-lab-steps b{width:22px;height:22px;line-height:22px}.history-lab-controls{padding:17px;display:block}.history-lab-controls-title{margin-bottom:12px}.history-lab-mission{margin-top:18px}.history-lab-skill{margin-top:16px}.history-lab-observation,.history-lab-task,.history-lab-notes{padding:18px}.history-lab-observation h3{font-size:22px}.history-lab-observation dd{font-size:15px}.history-lab-task h3{font-size:20px}.history-lab-connections>div{display:block}.history-lab-sequence li{flex-wrap:wrap;gap:9px;font-size:14px}.history-lab-sequence li>span:nth-child(2){flex-basis:calc(100% - 42px)}.history-lab-sequence li>div{margin-left:auto}.history-lab-grid{grid-template-columns:1fr}.history-lab-catalog-intro{grid-template-columns:1fr;gap:17px;padding:18px}.history-lab-card{padding:22px}.history-lab-viewer{border-radius:16px;padding:14px}.history-lab-viewer h2{font-size:20px}.history-lab-notes>div{display:block}.history-lab-notes button{margin-top:13px}.history-lab-figure-toolbar{gap:7px;padding:10px}.history-lab-figure figcaption{padding:12px;font-size:12px}}@media (prefers-reduced-motion:reduce){.history-lab-card{transition:none}.history-lab-card:hover{transform:none}}
