/* The data library mirrors the approved amber / blue concept. All artwork is
   vector-based and follows the selected theme without raster recoloring. */
body[data-section=data]{--accent:#21adff;--light:#8edcff;--data-edge:color-mix(in srgb,var(--accent) 40%,transparent);--data-glow:color-mix(in srgb,var(--accent) 7%,transparent);--data-ink:#b7c4d5;background:radial-gradient(ellipse at 50% 18%,var(--data-glow),transparent 65%),#02070d}
html[data-theme=human] body[data-section=data]{--accent:#ffc13a;--light:#ffe099;--data-ink:#c6c2b8;background:radial-gradient(ellipse at 50% 18%,var(--data-glow),transparent 65%),#060604}
body[data-section=data] .tablet{max-width:1440px;margin:28px auto;border-width:8px;border-radius:24px;outline-color:var(--data-edge);background:#020a13;box-shadow:0 24px 70px #0009,0 0 50px var(--halo)}
html[data-theme=human] body[data-section=data] .tablet{background:#080805}
body[data-section=data] .tablet:before{background:radial-gradient(ellipse at 90% 18%,var(--data-glow),transparent 35%)}
body[data-section=data] .tablet:after{display:none}
body[data-section=data] .header{padding:22px clamp(22px,3vw,42px);min-height:96px;background:transparent;gap:24px}
body[data-section=data] .header nav{gap:clamp(14px,1.6vw,24px)}
body[data-section=data] .header nav a{font-size:12px;letter-spacing:0}
body[data-section=data] .page-content{padding:30px clamp(22px,3vw,42px) 28px}
.data-intro{position:relative;max-width:none;min-height:208px;display:flex;align-items:center;margin:0}
.data-intro .intro-copy{position:relative;z-index:1;max-width:60%}
.data-intro .eyebrow{font-size:11px;letter-spacing:.13em;margin-bottom:12px}
.data-intro h1{font-size:clamp(38px,4.5vw,64px);font-weight:800;line-height:1.2;letter-spacing:-.055em}
.data-intro .intro-description{font-size:16px;color:var(--data-ink);line-height:1.7;margin-top:14px}
.data-constellation{position:absolute;right:-20px;top:-22px;height:250px;width:85%;color:var(--accent);pointer-events:none;z-index:0;mix-blend-mode:screen}
.data-constellation svg{width:100%;height:100%}
.generated-data-art{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:screen}
html[data-theme=ai] .generated-data-art{filter:hue-rotate(165deg) saturate(1.25)}
.data-constellation .generated-data-art{object-position:right center}
body[data-section=data] .data-art .generated-data-art{object-position:center;max-width:100%}
.control-art .generated-data-art{object-position:right center}
@media(max-width:700px){.data-constellation{height:185px;top:0}}
@media(max-width:650px){.data-constellation{height:150px}}
body[data-section=data] .section-heading{margin:14px 0 12px}
body[data-section=data] .section-heading h2{font-size:23px;font-weight:700;letter-spacing:-.035em}
body[data-section=data] .dataset-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
body[data-section=data] .dataset-block{padding:24px;gap:18px;display:flex;border-radius:12px;border-color:var(--data-edge);background:linear-gradient(145deg,var(--data-glow),transparent 70%),#030b15}
html[data-theme=human] body[data-section=data] .dataset-block{background:linear-gradient(145deg,var(--data-glow),transparent 70%),#0a0905}
body[data-section=data] .dataset-top{min-height:30px}
body[data-section=data] .language-badge{color:var(--light);border-color:color-mix(in srgb,var(--accent) 55%,transparent);font-size:11px;padding:4px 9px;box-shadow:0 0 12px var(--data-glow)}
body[data-section=data] .corpus-kind{font-size:10px;letter-spacing:0;color:var(--data-ink);text-align:right;line-height:1.5}
body[data-section=data] .dataset-main{display:flex;flex:1;flex-direction:column}
body[data-section=data] .dataset-main h2{font-size:clamp(19px,1.8vw,25px);line-height:1.35;min-height:34px;font-weight:700;letter-spacing:-.045em;overflow-wrap:anywhere}
body[data-section=data] .dataset-main>p{font-size:13px;line-height:1.75;color:var(--data-ink);min-height:80px;margin-top:10px}
body[data-section=data] .data-art{height:145px;margin:0 -24px;color:var(--accent);background:radial-gradient(ellipse at 50% 65%,var(--data-glow),transparent 65%);overflow:hidden}
body[data-section=data] .data-art:before{display:none}
body[data-section=data] .data-art svg{width:100%;height:100%}
body[data-section=data] .dataset-stats{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;padding-top:16px;margin:0 0 16px;gap:16px;border-color:var(--data-edge)}
body[data-section=data] .dataset-stats>div+div{border-left:1px solid var(--data-edge);padding-left:20px}
body[data-section=data] .dataset-stats strong{font-size:clamp(26px,2.3vw,33px);line-height:1.25;font-weight:700;letter-spacing:-.06em;color:var(--text)}
body[data-section=data] .dataset-stats span{font-size:11px;line-height:1.5;color:var(--data-ink)}
body[data-section=data] .dataset-block details{margin:0 0 16px;font-size:12px}
body[data-section=data] .dataset-block details summary{min-height:30px;color:var(--accent);font-size:12px}
body[data-section=data] .dataset-block details[open]{margin-bottom:22px}
body[data-section=data] .dataset-block details[open] .dataset-stats{margin-top:12px}
body[data-section=data] .outline-button{margin-top:auto;min-height:46px;padding:10px 16px;border-color:color-mix(in srgb,var(--accent) 75%,transparent);color:var(--light);background:linear-gradient(180deg,var(--data-glow),transparent);box-shadow:inset 0 1px 0 #ffffff06,0 0 12px var(--halo)}
body[data-section=data] .outline-button>span{font-size:19px;color:var(--accent)}
body[data-section=data] .preview-panel,body[data-section=data] .data-controls{border-color:var(--data-edge);background:linear-gradient(145deg,var(--halo),transparent 60%),#030a12;border-radius:12px;padding:24px;margin-top:24px}
html[data-theme=human] body[data-section=data] .preview-panel,html[data-theme=human] body[data-section=data] .data-controls{background:linear-gradient(145deg,var(--halo),transparent 60%),#090805}
body[data-section=data] .preview-panel h2,body[data-section=data] .data-controls h2{font-size:22px;font-weight:700;letter-spacing:-.035em;margin-bottom:16px;line-height:1.4}
body[data-section=data] .table-scroll{max-height:none;overflow:auto;border:1px solid #ffffff0c;border-radius:10px;scrollbar-width:thin;scrollbar-color:var(--data-edge) transparent}
body[data-section=data] table{width:100%;table-layout:fixed;font-size:12px}
body[data-section=data] th,body[data-section=data] td{padding:13px 18px;font-weight:400;line-height:1.65;border-bottom:1px solid #ffffff07}
body[data-section=data] th{background:#ffffff03;color:var(--text);font-size:12px}
body[data-section=data] th:first-child{width:57%}
body[data-section=data] th:nth-child(2){width:14%}
body[data-section=data] td:first-child{overflow-wrap:anywhere}
body[data-section=data] td:last-child{overflow-wrap:anywhere;font-size:11px}
body[data-section=data] tr:last-child td{border-bottom:0}
body[data-section=data] tbody tr:hover{background:var(--halo)}
.data-controls .eyebrow{font-size:10px;letter-spacing:.16em;color:var(--accent);font-weight:600;margin:0 0 5px}
body[data-section=data] .data-controls h2{margin-bottom:8px}
.data-controls .control-description{font-size:13px;color:var(--data-ink)}
.data-controls .enrichment-grid{gap:20px;margin:18px 0 14px}
.data-controls .control-card{position:relative;isolation:isolate;overflow:hidden;padding:20px 22px;border:1px solid var(--data-edge);border-radius:10px;background:linear-gradient(125deg,var(--halo),transparent 70%),#030a12}
html[data-theme=human] .data-controls .control-card{background:linear-gradient(125deg,var(--halo),transparent 70%),#090805}
.control-heading{display:flex;gap:16px;align-items:center;position:relative;z-index:1}
.data-controls .control-heading h3{font-size:17px;margin:0;line-height:1.5;letter-spacing:-.03em;font-weight:700}
.control-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--data-edge);background:var(--halo);border-radius:50%;color:var(--accent);flex-shrink:0}
.control-icon svg{width:25px;height:25px}
.control-count{display:flex;align-items:baseline;gap:14px;margin:14px 0 10px;position:relative;z-index:1}
.data-controls .control-count strong{font-size:40px;line-height:1.2;margin:0;font-weight:700;color:var(--accent)}
.control-count>span{font-size:11px;color:var(--data-ink)}
.data-controls .control-card>p{font-size:12px;position:relative;line-height:1.75;color:var(--data-ink)}
.control-art{position:absolute;right:18px;top:35px;width:56%;height:120px;color:var(--accent);opacity:.65;z-index:0;pointer-events:none;mix-blend-mode:screen;mask-image:linear-gradient(90deg,transparent,#000 20%)}
.control-art svg{height:100%;width:100%}
.control-card:last-child .control-art{width:56%;right:18px;top:35px;height:120px;opacity:.65}
.control-art .generated-data-art{mix-blend-mode:normal;object-position:center}
.data-controls .control-card>p{z-index:1}
.control-footnote{display:flex;align-items:start;gap:12px;margin-top:16px}
.note-icon{width:22px;height:22px;border:1px solid var(--data-edge);border-radius:50%;color:var(--accent);text-align:center;font-size:12px;flex-shrink:0}
.control-footnote .fine-print{font-size:10px;max-width:700px;color:var(--data-ink)}
.control-download{font-size:11px;color:var(--light);margin-left:auto;flex-shrink:0;text-decoration:underline;text-underline-offset:4px}
body[data-section=data] footer{padding:20px clamp(22px,3vw,42px);font-size:10px}
@media(min-width:1100px) and (max-width:1350px){body[data-section=data] .header .mobile-menu{display:none}body[data-section=data] .header #navigation{display:flex;position:static;transform:none;width:auto;max-width:none;border:0;background:transparent;box-shadow:none;padding:0;gap:14px}body[data-section=data] .header #navigation a{font-size:11px;padding:0;min-height:0;white-space:nowrap}body[data-section=data] .header #navigation a[aria-current]{background:transparent}body[data-section=data] .header #navigation a[aria-current]:after{display:block}body[data-section=data] .header{gap:18px}body[data-section=data] .header-controls{gap:10px}body[data-section=data] .theme-toggle{width:144px}}
@media(max-width:1099px){body[data-section=data] .dataset-list{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-section=data] .dataset-block:last-child{grid-column:1/-1}body[data-section=data] .dataset-block:last-child .data-art{height:125px}body[data-section=data] .dataset-main>p{min-height:70px}body[data-section=data] .dataset-block:last-child .dataset-main>p{min-height:0}.data-intro{min-height:185px}.data-intro h1{font-size:48px}.data-intro .intro-description{font-size:14px}}
@media(max-width:700px){body[data-section=data] .tablet{width:calc(100% - 24px);margin:16px auto;border-width:6px;border-radius:20px}body[data-section=data] .dataset-list{grid-template-columns:1fr;gap:18px}body[data-section=data] .dataset-block:last-child{grid-column:auto}body[data-section=data] .dataset-main>p{min-height:0}body[data-section=data] .data-art,body[data-section=data] .dataset-block:last-child .data-art{height:135px}body[data-section=data] .data-controls .enrichment-grid{grid-template-columns:1fr}.control-footnote{flex-wrap:wrap}.control-footnote .fine-print{flex:1}.control-download{margin:0 0 0 34px;width:calc(100% - 34px)}.data-intro .intro-copy{max-width:80%}.data-constellation{width:90%;right:-65px;opacity:.5}body[data-section=data] .section-heading h2{font-size:21px}}
@media(max-width:650px){body[data-section=data] .header{min-height:118px;padding:16px 16px 60px;gap:10px}body[data-section=data] .header-controls{gap:4px}body[data-section=data] .page-content{padding:20px 16px 24px}.data-intro{min-height:155px;align-items:center}.data-intro .intro-copy{max-width:100%}.data-intro h1{font-size:38px}.data-intro .intro-description{font-size:13px;max-width:260px}.data-constellation{opacity:.22;width:110%;right:-125px}body[data-section=data] .section-heading{margin:14px 0}body[data-section=data] .dataset-block{padding:20px;gap:16px}body[data-section=data] .data-art{margin-left:-20px;margin-right:-20px}body[data-section=data] .dataset-main h2{font-size:23px;min-height:0}body[data-section=data] .dataset-main>p{font-size:13px}body[data-section=data] .dataset-stats strong{font-size:29px}body[data-section=data] .dataset-stats>div+div{padding-left:14px}body[data-section=data] .preview-panel,body[data-section=data] .data-controls{padding:18px;margin-top:20px}body[data-section=data] .preview-panel h2,body[data-section=data] .data-controls h2{font-size:20px}body[data-section=data] .preview-panel table{min-width:0}body[data-section=data] .preview-panel thead{display:none}body[data-section=data] .preview-panel tbody,body[data-section=data] .preview-panel tr{display:block}body[data-section=data] .preview-panel tr{padding:14px;border-bottom:1px solid #ffffff0a}body[data-section=data] .preview-panel td{padding:0;border:0;font-size:12px}body[data-section=data] .preview-panel td:first-child{display:block;margin-bottom:10px}body[data-section=data] .preview-panel td:nth-child(2){display:inline-block;margin-right:12px}body[data-section=data] .preview-panel td:last-child{font-size:10px;display:inline;overflow-wrap:anywhere}body[data-section=data] .preview-panel tr:last-child{border:0}.data-controls .control-card{padding:18px}.data-controls .control-heading h3{font-size:16px}.data-controls .control-card>p{font-size:11px}.control-art{opacity:.35}body[data-section=data] footer{padding:18px 16px;font-size:9px}}
