:root{color-scheme:dark;--ink:#091f30;--panel:#102b40;--line:#344f63;--muted:#b3c7d6;--gold:#d7af70;--paper:#d7e1e7;--px:5px;font-family:Georgia,'Times New Roman',serif;color:#f7f2e9;background:var(--ink)}*{box-sizing:border-box}body{margin:0;height:100dvh;min-height:570px;display:flex;flex-direction:column}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);background:#132f44;color:inherit;border-radius:8px;min-height:44px;padding:8px 13px}button:hover{background:#254960}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #f4d198;outline-offset:3px}a{color:#c5deee}button:disabled{opacity:.5;cursor:default}button[hidden],[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;top:-80px;z-index:50;padding:16px;background:var(--ink)}.skip:focus{top:4px}.masthead{display:flex;align-items:center;gap:14px;padding:12px 20px;border-bottom:1px solid var(--line);min-height:86px}.brand{width:48px;flex:none}.brand svg{width:48px;fill:#d7a353;stroke:#96692b;stroke-width:1.4}.heading{flex:1;min-width:210px}.heading h1{font-size:clamp(17px,1.55vw,26px);font-weight:600;margin:0 0 6px;letter-spacing:.015em}.heading p{margin:0;font-size:15px;color:#d3dce1}.masthead nav{display:flex;gap:8px}.masthead nav button{display:flex;align-items:center;flex-direction:column;font-size:12px;border:0;background:none;padding:3px 7px;white-space:nowrap}.masthead nav button span{font-size:25px;color:#adbfce;line-height:28px}.masthead nav .nav-active{border-radius:0;border-bottom:1px solid var(--gold)}.search-wrap{position:relative;display:flex;align-items:center;border:1px solid #496076;border-radius:12px;background:#102b3e;min-width:210px;width:clamp(210px,23vw,350px);padding-left:12px}.search-wrap>span{font-size:28px;color:#adc3d2}#search{width:100%;border:0;background:none;min-height:44px;padding:9px;color:white;font-size:14px}#search::placeholder{color:#bdd0df}.results{position:absolute;right:0;top:52px;z-index:30;width:min(460px,90vw);max-height:60vh;overflow:auto;border:1px solid #638197;border-radius:12px;background:#0b2234;box-shadow:0 16px 50px #0008;padding:8px}.results button{display:block;text-align:left;width:100%;border:0;border-bottom:1px solid #314c61;border-radius:4px;background:none;padding:12px}.results small{display:block;color:var(--muted);margin-top:4px}.results p{padding:10px}.workspace{flex:1;min-height:0;display:flex;gap:10px;padding:0 10px 0 0;overflow:hidden}.atlas{min-width:0;flex:1;display:flex;flex-direction:column;border:1px solid var(--line);border-top:0;border-radius:0 0 12px 0;overflow:hidden}.hero{height:clamp(136px,17.5vh,205px);flex:none;position:relative;background:#183348 url('assets/hero.webp') center 48%/cover no-repeat;border-bottom:1px solid #cbb18d66}.hero-caption{position:absolute;right:0;top:0;bottom:0;display:flex;flex-direction:column;justify-content:center;text-align:right;padding:24px 30px 20px 90px;background:linear-gradient(90deg,transparent,#071a2ce6);text-shadow:0 2px 4px #000}.hero-caption span{font:10px system-ui,sans-serif;letter-spacing:.23em;color:#e5c895}.hero-caption p{font-style:italic;line-height:1.4;font-size:clamp(17px,1.6vw,24px);margin:12px 0 0}.toolbar{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:3px 16px;background:#0f2a3d}.filters{display:flex;gap:18px;flex-wrap:wrap}.filters label{display:flex;gap:7px;align-items:center;min-height:44px;font-size:14px;cursor:pointer}.filters input{accent-color:#9d7bd4;width:17px;height:17px}.subtle{border:0;background:none;font-size:13px;color:#c8dae7;padding:4px 8px}.subtle span{display:inline-block;padding:2px 5px;border:1px solid #708196;border-radius:5px;font:11px system-ui}.timeline{flex:1;min-height:180px;overflow:auto;overscroll-behavior:contain;background:linear-gradient(180deg,#e0e5e5,#c7d7e2 75%,#a9c3d4);color:#122d40;scrollbar-color:#738fa3 #cdd9df;cursor:grab;touch-action:pan-x pan-y}.timeline.dragging{cursor:grabbing;user-select:none}.timeline-content{position:relative;min-height:100%;padding-bottom:24px;background-image:linear-gradient(90deg,#5a80982b 1px,transparent 1px);background-size:calc(var(--px)*10) 100%}.ruler{height:38px;position:sticky;top:0;z-index:7;background:#e7e9e7f5;border-bottom:1px solid #708a9d}.tick{position:absolute;bottom:0;height:12px;border-left:1px solid #748c9c;font-size:12px}.tick.major{height:19px}.tick span{position:absolute;bottom:18px;left:5px;color:#172c40;font-family:system-ui,sans-serif;font-size:12px}.section-label{height:29px;position:relative;padding:6px 12px;font-weight:bold;font-size:12px;letter-spacing:.06em;white-space:nowrap;background:#eff2f354;width:max-content;min-width:100%}.section-label small{font-weight:normal;letter-spacing:0;margin-left:14px;color:#39566b;font-size:11px}.movements,.authors{position:relative}.movement{position:absolute;height:44px;border:1px solid #ffffff55;border-radius:3px;background:linear-gradient(90deg,var(--color),color-mix(in srgb,var(--color) 70%,transparent));box-shadow:8px 0 18px color-mix(in srgb,var(--color) 23%,transparent);text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;padding:6px 9px;min-height:44px;color:white;text-shadow:0 1px 2px #0008}.movement:hover{background:var(--color);filter:brightness(1.15)}.author{position:absolute;height:49px;min-height:49px;padding:0 9px 0 0;border:1px solid #ffffff80;border-left:2px solid #ffffffa0;border-radius:5px;background:linear-gradient(95deg,var(--color),color-mix(in srgb,var(--color) 87%,#132d41));display:flex;align-items:center;gap:9px;box-shadow:0 2px 8px #27435324;overflow:hidden;text-align:left;color:#fff}.author.main{border-color:#fff9;box-shadow:0 2px 9px #13273c40}.author:hover{background:var(--color);filter:brightness(1.15)}.author .portrait{width:38px;height:100%;object-fit:cover;object-position:50% 22%;flex:none;background:#152b3a}.monogram{display:flex;align-items:center;justify-content:center;font-size:13px;color:#ffe4b3;background:linear-gradient(135deg,#1b3243,#435b66)!important}.author .name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.author .name small{display:block;font:10px system-ui;color:#e4edf4;margin-top:3px}.author.selected,.movement.selected{border:2px solid white;outline:2px solid #a97dfa;outline-offset:1px;box-shadow:0 0 20px #8b48e8;z-index:4}.author.selected{background:linear-gradient(100deg,#443073,#172f79)}.author.activity{border-style:dashed}.work-label{position:absolute;border:0;border-left:3px solid var(--color);border-radius:3px;background:#f4f0e7;color:#1a354b;font-size:11px;min-height:28px;height:28px;padding:4px 8px;white-space:nowrap;max-width:260px;overflow:hidden;text-overflow:ellipsis;box-shadow:0 2px 5px #0002}.time-controls{display:flex;align-items:center;justify-content:center;gap:10px;min-height:70px;padding:8px 12px;background:linear-gradient(#122d42,#091f30);box-shadow:0 -10px 20px #23394b30}.time-controls>button{white-space:nowrap;background:none;border:0;font-size:13px;color:#d3e2ec;padding:6px}.time-controls .jump{border:1px solid #577087;padding:7px 12px}.zoom{position:relative;display:flex;gap:8px;align-items:center;padding-bottom:15px}.zoom button{border-radius:50%;width:36px;padding:0;min-height:36px;font-size:22px}.zoom input{width:clamp(70px,12vw,170px);accent-color:#93b4cd}.zoom output{position:absolute;bottom:-1px;left:0;width:100%;text-align:center;font:10px system-ui;color:#b6ccd9}.panel{width:350px;flex:none;margin-top:8px;margin-bottom:6px;border:1px solid var(--line);background:linear-gradient(125deg,#102c41,#0c2335);border-radius:12px;display:flex;flex-direction:column;overflow:hidden}.panel-head{display:flex;justify-content:space-between;gap:12px;padding:20px 19px 13px;background:#091d2c}.panel-head h2{font-size:26px;line-height:1.12;margin:3px 0 9px;font-weight:600}.panel-head p{margin:0;color:#d6e2e9;font-size:17px}.panel-head .eyebrow{font:10px system-ui;letter-spacing:.16em;color:#cba976;margin-bottom:9px}.panel-head button{align-self:flex-start;border:0;background:none;padding:0;min-width:34px;font-size:28px;margin-top:-8px}.panel-body{overflow:auto;min-height:0;padding-bottom:18px;scrollbar-color:#53748b transparent}.panel-image{display:block;width:100%;height:205px;object-fit:cover;object-position:50% 23%;background:#102738}.panel-portrait-empty{height:100px;background:linear-gradient(110deg,#1b334b,#344e63);display:flex;align-items:center;justify-content:center;font-size:48px;color:var(--gold)}.panel-section{padding:0 21px;margin:20px 0}.panel-section h3{font-size:17px;margin:0 0 8px}.panel-section p,.panel-section li{line-height:1.55;font-size:14px;margin:0}.panel-section ul{margin:0;padding-left:19px}.panel-section .note{font-size:12px;color:#bed0df;margin-top:9px}.panel-section .chips{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.chips button{font:11px system-ui;min-height:32px;padding:5px 8px;border-radius:5px;border-color:#60768a;background:#243e51}.pwa-link{margin:10px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-decoration:none;background:#2a6092;border:1px solid #5085b3;border-radius:9px;padding:15px;min-height:55px;font-size:16px;line-height:1.3}.pwa-link small{display:block;margin-top:5px;font:11px system-ui;color:#d0e3f2}.pwa-link:hover{background:#3575ae}.secondary-link{font-size:13px;background:#1b3c55;border-color:#385d77}.credits-small{font-size:10px;line-height:1.4;color:#acc2d0;padding:6px 21px;display:block}.related-list{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.related-list button{font-size:13px}footer{display:flex;align-items:center;gap:18px;min-height:57px;padding:8px 23px;color:#adc3d2;font-size:12px}.signature{text-decoration:none;font-size:26px;color:#fff}.signature span{font-weight:normal;font-size:21px}.footer-note{flex:1;font-style:italic}footer button{font-size:12px;border:0;background:none;padding:4px 8px}#connection{font:10px system-ui;color:#a4bfca}dialog{width:min(820px,92vw);max-height:86dvh;background:#0f2a40;color:#eef1f2;border:1px solid #6b8497;border-radius:15px;padding:30px;box-shadow:0 20px 70px #0008}dialog::backdrop{background:#020f1ec4}.dialog-close{float:right;font-size:24px;position:sticky;top:0}dialog h2{font-size:28px;margin:0 50px 18px 0}dialog p,dialog li{line-height:1.65;color:#d0dde5}dialog h3{margin-top:24px}.catalogue-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.catalogue-grid button{text-align:left;font-size:14px;line-height:1.4}.catalogue-grid small{display:block;color:#aac0d1}.catalogue-tabs{display:flex;gap:8px;margin-bottom:18px}#toast{position:fixed;bottom:80px;left:50%;transform:translateX(-50%);z-index:80;background:#163851;border:1px solid #adbed0;border-radius:10px;padding:15px 22px;max-width:90vw;box-shadow:0 8px 30px #0008;font-size:14px}.no-elements{padding:25px;max-width:500px}
@media(min-width:1600px){.panel{width:390px}.panel-image{height:230px}.panel-section p,.panel-section li{font-size:16px}.masthead{padding:14px 24px}}
@media(max-width:1150px){.masthead{padding:10px 12px;gap:10px}.heading h1{font-size:19px}.heading p{font-size:13px}.masthead nav button{font-size:11px}.masthead nav button:nth-child(3){display:none}.panel{width:310px}.panel-head h2{font-size:24px}.panel-image{height:160px}.hero-caption{padding-right:20px}.time-controls{gap:5px}.time-controls>button span{display:none}.filters{gap:10px}.filters label{font-size:12px}.toolbar{padding:3px 8px}.subtle{font-size:12px}.panel-section{margin:17px 0}}
@media(max-width:900px){.masthead{flex-wrap:wrap;min-height:100px;gap:5px 10px}.heading{flex:1}.heading h1{font-size:19px}.brand{width:37px}.brand svg{width:37px}.masthead nav{margin-left:auto}.search-wrap{width:100%;min-height:38px}.search-wrap input{min-height:38px!important}.workspace{padding:0;position:relative}.hero{height:150px}.panel{position:absolute;right:10px;bottom:7px;top:auto;width:min(430px,calc(100% - 20px));max-height:64%;z-index:15;box-shadow:-10px -10px 40px #0006;border-color:#728da2}.panel-head{padding:15px 18px 10px}.panel-head h2{font-size:23px;margin-bottom:4px}.panel-head .eyebrow{font-size:9px;margin-bottom:6px}.panel-head p{font-size:14px}.panel-image{height:145px;object-position:50% 25%}footer{padding:5px 14px;gap:10px;min-height:50px}.footer-note{font-size:10px}.time-controls{min-height:65px}.filters label{font-size:13px}.subtle{font-size:13px}}
@media(max-width:550px){body{min-height:560px}.masthead nav button{font-size:10px}.masthead nav button span{font-size:21px}.masthead nav button:first-child{display:none}.heading h1{font-size:15px}.heading p{font-size:11px}.hero{height:112px;background-position:36% 50%}.hero-caption{padding:10px 14px 10px 60px}.hero-caption span{font-size:8px;letter-spacing:.12em}.hero-caption p{font-size:15px;margin-top:7px}.toolbar{gap:3px;align-items:flex-start;flex-wrap:wrap;padding:3px 10px}.filters{gap:12px}.filters label{font-size:12px;min-height:36px}.subtle{min-height:29px;padding:1px 3px;font-size:11px}.time-controls{gap:3px;padding:7px 5px;min-height:65px}.time-controls>button{padding:4px;min-width:30px}.time-controls .jump{padding:4px 7px;font-size:12px}.zoom{gap:2px}.zoom input{width:76px}.zoom button{width:30px;min-height:34px}.panel{max-height:58%;right:6px;width:calc(100% - 12px)}.panel-image{height:120px}.panel-head h2{font-size:21px}.panel-section{padding:0 17px}.footer-note{display:none}footer .signature{font-size:22px;flex:1}footer button{font-size:11px}#connection{font-size:9px}.catalogue-grid{grid-template-columns:1fr}.section-label small{font-size:10px}dialog{padding:22px}.search-wrap{width:100%}.results{width:100%}}
#period-block{position:sticky;top:38px;z-index:6;background:#dce4e7eF;box-shadow:0 4px 8px #274a6517}#period-block.expanded{position:relative;top:auto}#panel-action{flex:none;background:#0b2234;border-top:1px solid #344f63}#panel-action:empty{display:none}#panel-action .pwa-link{margin:10px 14px;font-size:15px;padding:11px 13px}.panel-body{flex:1}.movement{box-shadow:none}
@media(max-width:900px){.panel{max-height:50%}.hero{height:125px}}
@media(max-width:550px){.panel{max-height:48%}.hero{height:105px}.panel-head{padding:11px 15px 8px}.panel-head .eyebrow{display:none}.panel-head h2{font-size:20px}#panel-action .pwa-link{min-height:45px;margin:6px 10px;padding:8px 10px;font-size:13px}#panel-action .pwa-link small{font-size:9px}.section-label small{display:none}}
.section-label{display:flex}.section-label>span{position:sticky;left:12px;max-width:95vw}.movement{background:var(--color)}.author .portrait{position:sticky;left:3px;z-index:1}.author .name{position:sticky;left:46px}.movement>span{position:sticky;left:10px}
@media(max-width:900px){.panel{bottom:78px;max-height:44%}}
@media(max-width:550px){.panel{bottom:74px;max-height:41%}.zoom button{min-height:44px}.filters label{min-height:44px}}
.movement>span{position:relative;left:auto;display:inline-block;pointer-events:none}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
