:root{font-family:Arial,Helvetica,sans-serif;color:#000;--navy:#082d3b;--teal:#006e69;--muted:#315563;--border:#7eaeb2;--focus:#984600;color-scheme:light;font-size:16px}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 8% 4%,#a9f8e7 0,transparent 48%),radial-gradient(ellipse at 95% 75%,#81d4e5 0,transparent 55%),linear-gradient(130deg,#b9eae6,#dff4f3 58%,#b7e1e7);min-height:100vh;line-height:1.55}button,input,select{font:inherit}button,a,summary{touch-action:manipulation}button,a,input,select,summary:focus-visible{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--focus)}a{color:var(--teal);text-underline-offset:3px}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button,input,select{min-height:46px;border:1px solid var(--border);border-radius:9px}button{padding:9px 15px;background:#f6ffff;color:var(--navy)}button:hover{background:#d9f6ef}.skip{position:absolute;top:-80px;left:20px;background:#fff;padding:12px;z-index:20}.skip:focus{top:10px}[hidden]{display:none!important}.shell{max-width:1440px;margin:auto;padding:0 32px}.topbar{padding:22px 0 18px;border-bottom:1px solid #7daeb7;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-size:15px;font-weight:700;letter-spacing:.06em;color:var(--navy)}.brand span{font-size:25px;margin-right:9px}.top-meta{font-size:14px;color:var(--muted)}.motto{margin:26px 0 8px;text-align:center;font-size:clamp(1.3rem,3vw,2rem);line-height:1.25;font-weight:700;color:var(--navy)}.search-surface{max-width:1040px;margin:0 auto 26px;text-align:center}.search-surface h1{font-size:1.15rem;margin:9px 0 18px;font-weight:400;color:var(--muted)}.search-label{display:block;text-align:left;font-weight:700;font-size:15px;margin-bottom:6px}.searchbar{display:flex;gap:10px;padding:10px;background:radial-gradient(ellipse at 95% 80%,#6cd6d166,transparent 56%),linear-gradient(140deg,#fffdf1f2,#ffffffad);border:1px solid #fff;border-bottom:2px solid #6ba4a9;box-shadow:0 12px 32px #193f5020,inset 0 1px #ffffff;border-radius:15px;backdrop-filter:blur(16px) saturate(125%)}.searchbar input{min-width:0;flex:1;background:#ffffffb8;color:#000;padding:13px 16px;font-size:1.05rem;border-color:transparent}.searchbar button.primary{background:var(--navy);color:#fff;min-width:92px;border-color:var(--navy)}.search-help{font-size:14px;color:var(--muted);text-align:left;margin:8px 0}.examples{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.examples button{font-size:14px;padding:4px 11px;min-height:36px;background:#ffffff87}.boundary{padding:14px 18px;background:#ffffff9e;border:1px solid #fff;border-bottom:2px solid #90b5bb;border-radius:11px;font-size:14px;color:#193f4d;margin:0 0 22px}.workbench{display:grid;grid-template-columns:254px minmax(0,1fr);gap:25px;align-items:start}.filters{position:sticky;top:18px;display:flex;flex-direction:column;gap:16px}.eyebrow{color:var(--teal);font-weight:700;font-size:12px;letter-spacing:.1em;text-transform:uppercase}.filters h2{font-size:1.1rem;margin:0 0 9px}.filters label{font-size:14px;font-weight:700;display:block;margin:0 0 7px}.filters select{width:100%;padding:8px;background:#f3ffff;color:#000}.topic-list{display:flex;flex-direction:column;gap:6px}.topic-list button{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;border:1px solid transparent;border-bottom:2px solid #8cb8bd;padding:9px 11px;background:linear-gradient(120deg,#ffffffbb,#dbeaedbb);font-size:14px;line-height:1.35;min-height:43px}.topic-list button[aria-pressed=true]{color:#fff;background:var(--navy);border-color:var(--navy)}.topic-list .count{font-size:12px;opacity:.8}.filter-note{font-size:13px;color:var(--muted);line-height:1.5;margin:0}.results-top{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px}.results-top h2{font-size:1.5rem;margin:0 0 3px;color:var(--navy)}.results-top p{font-size:14px;color:var(--muted);margin:0}.small-link{font-size:14px;background:transparent;border:0;padding:4px;min-height:36px;text-decoration:underline}.result{padding:20px;margin:0 0 20px;border:1px solid #ffffff;border-bottom:2px solid #75a9ae;border-radius:13px;background:radial-gradient(ellipse at 100% 0,#a0dee544,transparent 62%),radial-gradient(ellipse at 0 100%,#d6c9aa40,transparent 54%),linear-gradient(130deg,#ffffffdc,#f5fbf3a6);box-shadow:0 5px 18px #14394712,inset 0 1px #ffffff;backdrop-filter:blur(14px) saturate(125%)}.result h3{margin:6px 0 9px;font-size:1.1rem;line-height:1.4}.result h3 button{color:var(--navy);font-size:inherit;font-weight:700;text-align:left;background:none;border:0;padding:0;min-height:0;text-decoration:underline;text-decoration-color:#93b7ba;text-underline-offset:4px}.record-meta{font-size:13px;display:flex;flex-wrap:wrap;gap:7px 13px;color:#31515d}.badge{display:inline-block;border:1px solid #7ba4a8;border-radius:5px;padding:1px 7px;font-size:12px;background:#edfafa;color:#0e5054}.excerpt{margin:0 0 12px;font-size:16px;line-height:1.65}.result-footer{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:14px;color:var(--muted)}mark{background:#ffd478;color:#000;padding:0 1px;border-radius:2px}.empty{padding:32px;border:1px solid #83adb7;border-radius:13px;background:#f7ffffbf}.empty h3{font-size:1.4rem;margin:0 0 9px}.empty p{max-width:650px}.empty-links{display:flex;gap:15px;flex-wrap:wrap}.pagination{display:flex;justify-content:center;gap:9px;margin:22px 0}.source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.source-card{border-bottom:2px solid #80a6af;background:#ffffffaf;border-radius:10px;padding:17px}.source-card h3{font-size:1rem;margin:0 0 8px}.source-card p{font-size:14px;color:var(--muted);margin:7px 0}.source-card a{display:inline-block;font-size:14px;margin-right:12px}.footer{margin:36px 0 0;padding:22px 0;border-top:1px solid #73a6ad;font-size:13px;color:var(--muted);display:flex;justify-content:space-between;gap:20px}dialog{width:min(920px,calc(100vw - 28px));max-height:90vh;border:1px solid #78a6af;border-radius:15px;padding:0;background:#f2fbfa;color:#000;box-shadow:0 20px 80px #092a5070}dialog::backdrop{background:#082737a8;backdrop-filter:blur(3px)}.reader-head{padding:20px 24px;background:#e4f6f2;border-bottom:2px solid #91bac1;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;position:sticky;top:0;z-index:2}.reader-head h2{font-size:1.25rem;margin:5px 0 0}.close{min-width:44px;background:#fff}.reader-body{padding:22px 25px}.reader-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:17px;margin:16px 0}.reader-source{font-size:14px;color:var(--muted);padding:12px;background:#fff;border-radius:8px}.reader-nav{display:flex;gap:10px;justify-content:space-between;margin-top:22px}.reader-note{font-size:14px;padding:12px 14px;border-left:3px solid #ac6b24;background:#fff4d9}.mobile-topics{display:none}.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}@media(max-width:1000px){.shell{padding:0 22px}.workbench{grid-template-columns:218px minmax(0,1fr);gap:20px}.topic-list button{font-size:13px}.source-list{grid-template-columns:1fr}}@media(max-width:700px){.shell{padding:0 15px}.topbar{padding:16px 0}.top-meta{font-size:12px;max-width:130px;text-align:right}.brand{font-size:12px}.brand span{font-size:21px}.motto{margin-top:22px}.search-surface h1{font-size:1rem}.searchbar{gap:5px;padding:6px}.searchbar input{font-size:16px;padding:12px 8px}.searchbar button.primary{min-width:62px;padding:8px 10px}.searchbar .clear{padding:8px;font-size:14px}.workbench{display:block}.filters{position:static;margin-bottom:22px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.topic-list,.desktop-topic-heading{display:none}.mobile-topics{display:block}.filter-note{grid-column:1/-1}.result{padding:16px;margin-bottom:20px}.result h3{font-size:1.06rem}.results-top h2{font-size:1.2rem}.results-top{gap:8px}.boundary{font-size:13px}.footer{flex-direction:column;gap:7px}.reader-head{padding:15px}.reader-body{padding:18px}.reader-text{font-size:16px}.source-list{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{body{background:#fff}.search-surface,.filters,.results-top,.pagination,.topbar,dialog::backdrop,.close,.reader-nav{display:none}.workbench{display:block}.result{box-shadow:none;break-inside:avoid}dialog[open]{position:static;width:100%;max-height:none;box-shadow:none;border:0}.reader-head{position:static}.reader-body{padding:0}.footer{font-size:12px}}
/* Compact Omniplex banner and saved light/dark appearance. Existing mint/teal palette retained. */
.topbar{display:grid;grid-template-columns:minmax(160px,1fr) minmax(280px,2fr) minmax(180px,1fr);gap:18px;align-items:center;margin-bottom:24px}.brand{display:flex;align-items:center;font-size:18px;letter-spacing:.035em}.brand span{font-size:30px}.brand small{display:block;font-size:10px;letter-spacing:.08em;margin-top:2px}.header-center{text-align:center}.header-center .motto{font-size:17px;line-height:1.35;margin:0;font-weight:700}.header-center h1{font-size:13px;font-weight:600;line-height:1.5;margin:5px 0 0;color:var(--muted)}.header-tools{justify-self:end;text-align:right}.theme-control{display:flex;justify-content:flex-end;gap:5px}.theme-control button{font-size:12px;min-height:44px;padding:6px 10px;white-space:nowrap}.theme-control button[aria-pressed=true]{background:#082d3b;color:#fff;border-color:#082d3b}.top-meta{font-size:11px;margin-top:5px}.search-surface{padding-top:3px}
:root[data-theme=dark]{color:#e8f5f4;--navy:#ddf5f1;--teal:#80e2d2;--muted:#b1cdcf;--border:#547f87;--focus:#ffd478;color-scheme:dark}
[data-theme=dark] body{background:radial-gradient(ellipse at 8% 4%,#164c4a 0,transparent 48%),linear-gradient(130deg,#092730,#102f39 58%,#143b45)}
[data-theme=dark] button,[data-theme=dark] input,[data-theme=dark] select{background:#173e48;color:#e8f5f4;border-color:#547f87}[data-theme=dark] button:hover{background:#24555e}
[data-theme=dark] .searchbar,[data-theme=dark] .boundary,[data-theme=dark] .result,[data-theme=dark] .source-card,[data-theme=dark] .empty{background:#143640;color:#e8f5f4;border-color:#547f87;box-shadow:none}
[data-theme=dark] .topic-list button{background:#193f49;color:#e8f5f4;border-color:#547f87}
[data-theme=dark] .topic-list button[aria-pressed=true],[data-theme=dark] .searchbar button.primary,[data-theme=dark] .theme-control button[aria-pressed=true]{background:#80e2d2;color:#082d3b;border-color:#80e2d2}
[data-theme=dark] .record-meta{color:#b1cdcf}[data-theme=dark] .badge{background:#214f57;color:#d9fffa;border-color:#547f87}
[data-theme=dark] dialog,[data-theme=dark] .reader-source{background:#143640;color:#e8f5f4}[data-theme=dark] .reader-head{background:#193f49}[data-theme=dark] .reader-note{background:#493b25;color:#fff0cf}[data-theme=dark] .skip{background:#143640}
@media(max-width:900px){.topbar{grid-template-columns:1fr auto}.header-center{grid-column:1/-1;grid-row:2}.header-tools{grid-column:2;grid-row:1}.brand{font-size:18px}.header-center .motto{font-size:16px}.top-meta{max-width:none}.header-center h1{font-size:12px}}
@media(max-width:400px){.shell{padding:0 12px}.topbar{gap:10px}.brand{font-size:16px}.brand span{font-size:26px;margin-right:5px}.brand small{font-size:9px}.theme-control button{padding:6px 8px}.header-center .motto{font-size:15px}.top-meta{font-size:10px}}
@media print{[data-theme=dark] body,[data-theme=dark] dialog,[data-theme=dark] .reader-head,[data-theme=dark] .reader-source,[data-theme=dark] .reader-note,[data-theme=dark] .result{background:white;color:black}a{color:black}}
