/* Full-screen collection, with a floating museum interface. */
html,body{width:100%;height:100%;overflow:hidden}body{background:#fff}
:root{--glass:rgba(166,169,173,.48);--glass-line:rgba(255,255,255,.45);--footer-height:48px;--submenu-font-size:11px}
.masthead{position:fixed;inset:0 0 auto;height:106px;padding:14px 20px;gap:22px;z-index:16;border:0;background:transparent;pointer-events:none;align-items:center;justify-content:flex-start}
.masthead>*{pointer-events:auto}.masthead .wordmark{display:block;flex:none;width:76px;height:75px;font-size:0;letter-spacing:0}.wordmark img{display:block;width:100%;height:100%;object-fit:contain}.museum-name{padding-left:20px;font-size:11px;line-height:1.6;border-left:1px solid #e8e8e8}
.app{display:block;position:fixed;inset:0 0 var(--footer-height);min-height:0;height:calc(100dvh - var(--footer-height))}.explorer{position:absolute;inset:0;display:block;padding:0;background:transparent}
#space-viewport,#viewport{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;border:0;border-radius:0;background:#fff}
/* The icon circle and text capsule share one smooth, masked glass surface. */
.liquid-control{--control-height:52px;--join:calc(var(--control-height)*1.384615);--body-height:calc(var(--control-height)*.84615);position:relative;isolation:isolate;height:var(--control-height);border:0;background:none;color:#383a3d;padding:0;display:flex;align-items:center}
.liquid-surface{position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--glass);backdrop-filter:blur(18px) saturate(.65);-webkit-backdrop-filter:blur(18px) saturate(.65);mask-image:url("assets/ui/liquid-pill-join.svg"),linear-gradient(#000 0 0),radial-gradient(circle closest-side,#000 99%,transparent 100%);mask-size:var(--join) 100%,calc(100% - var(--join) - var(--body-height)/2 + 2px) var(--body-height),var(--body-height) var(--body-height);mask-position:left center,calc(var(--join) - 1px) center,right center;mask-repeat:no-repeat}
.liquid-icon{position:relative;display:grid;place-items:center;flex:none;width:var(--control-height);height:var(--control-height);border:0;padding:0;background:none;color:inherit;z-index:1}.liquid-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round}.liquid-label{display:flex;align-items:center;justify-content:center;gap:9px;flex:1;padding-right:10px;font-size:11px;white-space:nowrap}
#filter-toggle{position:fixed;top:108px;left:20px;width:132px;--control-height:38px;display:flex;border:0;padding:0;background:none;color:#393a3e;border-radius:0}#filter-toggle:hover,#filter-toggle[aria-expanded=true]{background:none;color:#111;--glass:rgba(139,143,150,.56)}#filter-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4}.explore-arrow{transition:transform .2s}#filter-toggle[aria-expanded=true] .explore-arrow{transform:rotate(90deg)}
.glass,.view-switch,.space-layout-switch,.zoom-controls,.space-actions>button,.space-company-context button,.space-lineage-nav,.exhibition-context{background:var(--glass);backdrop-filter:blur(18px) saturate(.65);-webkit-backdrop-filter:blur(18px) saturate(.65);border:1px solid var(--glass-line);box-shadow:inset 0 1px 0 #ffffff42,0 3px 15px #00000003;color:#44464a}
.view-toolbar{position:absolute;inset:0 0 auto;height:0;z-index:18;margin:0;padding:0;pointer-events:none;display:block}.view-toolbar>*{pointer-events:auto}.view-switch{position:absolute;top:32px;left:50%;transform:translateX(-50%);display:flex;gap:1px;padding:3px;border-radius:30px;white-space:nowrap}.view-switch button{color:#4d5055;font-size:11px;padding:7px 15px;border-radius:24px;min-height:28px}.view-switch button.active{background:#ffffff66;color:#242528;box-shadow:0 1px 4px #00000004}.view-switch button:hover{color:#111;background:#ffffff3d}
.result-summary{display:none}.app[data-view=gallery] .result-summary,.app[data-view=timeline] .result-summary{display:block;position:absolute;right:22px;top:114px;font-size:9px;color:#929292;background:none;padding:0;white-space:nowrap}.result-summary b:last-child{display:inline}
.space-overview-controls{top:78px;left:20px;right:20px;gap:12px;pointer-events:none;z-index:8}.space-control-row{display:block}.space-mode-label{display:none}.space-actions{display:flex;justify-content:flex-end;gap:7px;width:auto;pointer-events:none}.space-actions>*{pointer-events:auto}.space-actions>button{font-size:9px;padding:7px 11px;border-radius:22px;min-height:30px}.space-actions>button:hover{background:#a9acb366;color:#111;border-color:#fff8}.space-layout-switch{position:absolute;left:50%;top:0;transform:translateX(-50%);display:flex;gap:2px;border-radius:24px;padding:2px}.space-layout-switch button{font-size:10px;padding:6px 17px;border:0;background:none;border-radius:22px;color:#57595e}.space-layout-switch button[aria-pressed=true]{background:#ffffff66;color:#222;box-shadow:none}.space-layout-switch button:hover{color:#111}
#space-viewport[data-focused=true]>.space-overview-controls{display:flex}#space-viewport[data-focused=true] .space-actions>button{display:none}.space-group-controls{background:transparent;justify-content:flex-end;gap:20px;margin-top:4px;font-size:9px;pointer-events:none}.space-group-controls>span,.space-spacing{background:#ffffffc0;backdrop-filter:blur(10px);padding:6px 9px;border-radius:16px;pointer-events:auto}.space-spacing input[type=range]{width:74px}
.space-selection{top:163px;left:22px;right:22px;gap:17px;background:transparent;padding-bottom:12px}.space-selection-title strong{font-size:23px}.space-company-context button{border-radius:22px}.space-company-context button:hover{background:#aaaeb777;border-color:#fff8}.space-company-action{color:#73757a;border-left-color:#8b8e9340}.space-company-label{display:none}
.space-bottom,.canvas-bottom{bottom:23px;left:20px;right:20px}.space-instructions p{font-size:9px}.space-instructions [data-space-scene-count]{font-size:7px}.zoom-controls{border-radius:24px}.zoom-controls button{background:transparent}.zoom-controls output{color:#5e6065}.space-camera{gap:10px}
.floating-search{position:absolute;z-index:9;left:50%;bottom:112px;transform:translateX(-50%);width:min(552px,calc(100% - 48px));--control-height:56px;gap:8px;padding-right:18px}.floating-search .liquid-icon:before{content:'';position:absolute;inset:8px;background:#91949a30;border-radius:50%;z-index:-1}.floating-search input{width:100%;min-width:0;height:100%;padding:0 8px;border:0;border-radius:0;outline:none;background:transparent;color:#303236;font:inherit;font-size:14px;box-shadow:none}.floating-search input::placeholder{color:#55585e;opacity:1}.floating-search input::-webkit-search-cancel-button{display:none}.floating-search kbd{font:11px Arial;color:#73767a;border:1px solid #888a903d;border-radius:4px;padding:2px 4px}.floating-search:has(input:not(:placeholder-shown)) kbd{display:none}.floating-search:focus-within{--glass:rgba(158,162,170,.54)}.floating-search button:focus-visible{outline:2px solid #676d78;outline-offset:-7px;border-radius:50%}#clear-search{font-size:23px;flex:none;width:24px;padding:0;color:#666}
.app:has(#space-viewport[data-focused=true]:not([hidden])) .floating-search{display:none}.app:has(.filters:not([hidden])) .floating-search{visibility:hidden}.app[data-view=timeline] .floating-search{bottom:88px}.app[data-view=gallery] .floating-search{bottom:26px}
.canvas-topline{top:80px;left:22px;right:22px;justify-content:flex-end}.canvas-topline>span{display:none}.canvas-topline button{font-size:9px}.canvas-hint{background:transparent}#year-axis{bottom:157px;background:#ffffffcc;backdrop-filter:blur(8px)}#year-guides{top:115px;height:calc(100% - 292px)}
#gallery{position:absolute;inset:0;overflow:auto;overscroll-behavior:contain;min-height:0;padding:158px 26px 130px;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));align-content:start}
#filter-backdrop{position:fixed;inset:0 0 var(--footer-height);z-index:12;cursor:default;background:#00000008;backdrop-filter:blur(3px)}.app .filters,.app.filters-open .filters{display:flex;position:fixed;left:20px;top:158px;bottom:58px;width:304px;max-width:calc(100vw - 40px);padding:23px 20px;gap:19px;z-index:17;overflow:auto;overscroll-behavior:contain;border:1px solid #ffffffc0;border-radius:20px;background:#f5f5f4eb;backdrop-filter:blur(24px);box-shadow:0 12px 50px #00000012}.filter-heading{gap:10px;align-items:center}.filter-heading>span{font-size:9px;letter-spacing:1px}.filter-heading-actions{display:flex;align-items:center;gap:13px}#filter-close{font-size:23px;width:26px;height:30px;line-height:1;color:#777}.filters .sidebar-footer{margin-top:auto}.filters .search-box{border-radius:22px;background:#dddddf8c;border:0;padding:9px 12px}.filters .search-box input{font-size:11px}.filters .search-box kbd{display:none}
#detail{z-index:25;bottom:var(--footer-height)}.site-footer{position:fixed;inset:auto 0 0;height:var(--footer-height);box-sizing:border-box;background:#000;color:#f6f6f6;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 20px;z-index:30;font-family:Manrope,Arial,sans-serif;font-size:var(--submenu-font-size);line-height:1.4}.site-footer>span{letter-spacing:.4px}.footer-caption{color:#aaa;letter-spacing:0}.site-footer nav{display:flex;align-items:center;gap:28px}.site-footer a{display:inline-flex;align-items:center;gap:4px;min-height:44px;color:#f6f6f6;white-space:nowrap}.site-footer svg,.explore-arrow{display:inline-block;flex-shrink:0;width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.site-footer a:hover{color:#c5c5c5}#toast{bottom:calc(var(--footer-height) + 18px)}
.exhibition-filter{display:grid;gap:10px;padding-bottom:16px;border-bottom:1px solid #ddd}.exhibition-filter label{font-size:9px;letter-spacing:1px;color:#757575}.exhibition-filter select{width:100%;padding:10px;background:#fff;border:1px solid #ddd;border-radius:3px;font:inherit;font-size:11px}.exhibition-filter a{font-size:10px;color:#777;text-decoration:underline;text-underline-offset:3px}
.exhibition-context{position:absolute;right:20px;top:117px;display:flex;align-items:center;gap:12px;border-radius:30px;padding:8px 12px 8px 16px;font-size:10px;max-width:calc(100vw - 200px);min-width:0}.exhibition-context a{display:flex;align-items:center;gap:12px;min-width:0}.exhibition-context strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.exhibition-context small{font-size:9px;color:#666;white-space:nowrap}.exhibition-context button{font-size:18px;line-height:1;flex:none}.gallery-card.exhibition-muted{opacity:.28;filter:grayscale(1)}.gallery-card.exhibition-muted:hover,.gallery-card.exhibition-muted:focus-visible{opacity:1;filter:none}.exhibition-tag{position:absolute;bottom:12px;left:12px;right:12px;text-align:left;font-size:9px;color:#9b6345}.exhibition-member .node-name:before,.space-node.exhibition-member .space-node-caption strong:before{content:'• ';color:#b45e3a}.exhibition-membership{margin:22px 0;padding:16px;border:1px solid #e8dfd6;border-radius:6px;background:#fffcf8;font-size:11px;line-height:1.6}.exhibition-membership .section-label{margin:0 0 12px;color:#9b6345}.exhibition-membership>a{font-size:16px}.exhibition-membership>p{color:#777;margin:8px 0}.exhibition-membership details{margin-top:12px}.exhibition-membership details a{display:inline-block;margin-top:6px}
@media(max-width:800px){.masthead{height:86px;padding:12px 16px;gap:12px}.masthead .wordmark{width:59px;height:58px}.museum-name{font-size:9px;padding-left:12px}.view-switch{left:auto;right:16px;transform:none;top:26px}.view-switch button{padding:7px 12px;font-size:10px}.space-layout-switch{left:auto;right:46px;transform:none}.space-overview-controls{top:72px;left:16px;right:16px}.space-actions{padding-top:44px}.space-actions>button{font-size:8px;padding:6px 8px}.space-group-controls{margin-top:0;gap:8px}.space-group-controls>span{display:none}#filter-toggle{left:16px;top:100px;--control-height:36px;width:124px}.floating-search{bottom:98px}.space-selection{top:157px;left:16px;right:16px}.space-selection-title strong{font-size:20px}.space-selection-title>span{font-size:9px}.space-selection-header{gap:8px}.canvas-topline{top:116px;left:16px;right:16px}.app .filters,.app.filters-open .filters{top:148px;left:16px;bottom:55px}.exhibition-context{top:155px;left:16px;right:auto;max-width:calc(100vw - 32px)}.has-exhibition .space-selection{top:200px}.has-exhibition #gallery{padding-top:205px}.exhibition-context small{display:none}.app[data-view=gallery] .result-summary,.app[data-view=timeline] .result-summary{top:145px;right:16px}.has-exhibition .result-summary{display:none!important}}
@media(max-width:500px){.masthead{height:76px;padding:12px 14px;gap:11px}.masthead .wordmark{width:50px;height:49px}.museum-name{font-size:8px;padding-left:10px;line-height:1.5}.view-switch{right:12px;top:24px;padding:2px}.view-switch button{font-size:9px;padding:6px 9px;min-height:25px}.space-layout-switch{right:18px;top:0}.space-layout-switch button{font-size:9px;padding:5px 17px}.space-overview-controls{top:67px;left:14px;right:14px}.space-actions{padding-top:39px}#filter-toggle{top:86px;left:14px;width:117px;--control-height:34px}.liquid-label{font-size:10px}.space-spacing{font-size:8px}.space-selection{top:150px;left:14px;right:14px;gap:12px}.space-selection-title{flex-wrap:wrap;gap:8px}.space-selection-title strong{font-size:20px}.space-bottom,.canvas-bottom{left:14px;right:14px;bottom:20px}.space-instructions p{max-width:165px;font-size:7px}.space-instructions [data-space-scene-count]{font-size:6px}.space-compass{display:none}.zoom-controls button{width:29px;height:29px}.zoom-controls output{width:31px;font-size:8px}.floating-search{width:calc(100% - 28px);bottom:91px;--control-height:50px;gap:2px;padding-right:14px}.floating-search input{font-size:12px;padding-left:3px}.floating-search kbd{display:none}.site-footer{padding:0 14px}.site-footer nav{gap:17px}.footer-caption{display:none}.canvas-topline{top:120px;left:14px;right:14px}.canvas-hint{max-width:148px;font-size:7px}.app[data-view=timeline] .floating-search{bottom:82px}#year-axis{bottom:145px}#gallery{padding:158px 16px 108px;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 14px}.gallery-photo{height:175px;padding:17px}.app .filters,.app.filters-open .filters{top:134px;left:14px;width:304px;max-width:calc(100vw - 28px)}.app[data-view=gallery] .result-summary,.app[data-view=timeline] .result-summary{top:133px;font-size:8px}.exhibition-context{top:140px;left:14px}.has-exhibition .space-selection{top:185px}.has-exhibition #gallery{padding-top:194px}.space-lineage-nav{bottom:76px}.space-company-context{font-size:9px}.space-company-action{font-size:8px}}
@media(prefers-reduced-motion:reduce){.explore-arrow{transition:none}}
/* Keep all spatial controls in the same translucent material. */
.space-actions>button[aria-pressed=true],.space-actions>button[aria-pressed=true]:hover{background:#ffffff80;color:#35373c;border-color:#fff8}
.space-camera .zoom-controls{background:var(--glass)}
#space-viewport[data-focused=true]>.space-controls.space-overview-controls:not(.space-selection){display:flex}
.timeline-layout .node-image{transform:scale(1.45)}
.timeline-layout .object-node:not(:hover):not(:focus-visible):not(.selected):not(.connected) .node-name,.timeline-layout .object-node:not(:hover):not(:focus-visible):not(.selected):not(.connected) .node-year{opacity:0}
/* One submenu spans the spatial scene and the original category-cloud map. */
#graph-modes{top:78px}
.app[data-view=clouds] .edge.shared_organization:not(.active){display:none}
.app[data-view=clouds] .canvas-topline{top:117px}
.app[data-view=clouds] .cluster-label{font-size:calc(var(--label-size)*1.25);letter-spacing:1.2px;background:#ffffffb0;border-radius:20px}
.app[data-view=clouds] .cluster-label span{font-size:inherit}
.app[data-view=clouds] .object-node:not(:hover):not(:focus-visible):not(.selected):not(.connected) .node-name,.app[data-view=clouds] .object-node:not(:hover):not(:focus-visible):not(.selected):not(.connected) .node-year{opacity:0}
@media(max-width:800px){#graph-modes{top:72px;right:62px}.app[data-view=clouds] .canvas-topline{top:145px}}
@media(max-width:500px){#graph-modes{top:67px;right:30px}#graph-modes button{padding-inline:12px}.app[data-view=clouds] .canvas-topline{top:128px}}

/* Focus connections and manufacturer groups share a clear visual treatment. */
.edge.active{stroke:#8a8d8a;stroke-dasharray:none;opacity:1}
.space-company-context button:before,.space-node.company-peer .space-node-caption strong:before{background:#9cb48e}
.space-company-context button[aria-pressed=true]{border-color:#cbd9c1}
.space-company-context button:focus-visible{outline-color:#9cb48e}
