:root{
  --ink:#17141b;--muted:#6e6972;--paper:#fff;--fog:#f6f4f7;--line:#e4e0e6;
  --purple:#5c2d91;--purple-dark:#26143e;--lavender:#eee7f6;--mint:#54d3b1;
  --serif:"Songti SC","Noto Serif SC",STSong,Georgia,serif;--sans:Inter,"PingFang SC","Microsoft YaHei",Arial,sans-serif;
  --shadow:0 24px 60px rgba(35,20,55,.12)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{color:inherit}img{display:block;max-width:100%}
.site-header{position:sticky;top:0;z-index:50;display:grid;grid-template-columns:270px 1fr auto;align-items:center;min-height:76px;padding:0 clamp(22px,5vw,76px);border-bottom:1px solid rgba(255,255,255,.12);background:rgba(36,20,62,.97);color:#fff;backdrop-filter:blur(12px)}
.brand{display:flex;align-items:center;gap:12px}.brand svg{width:39px;fill:none;stroke:var(--mint);stroke-width:1.8}.brand span,.brand strong,.brand small{display:block}.brand strong{font:600 20px/1.1 var(--serif);letter-spacing:.08em}.brand small{margin-top:5px;color:#bfb3cb;font-size:8px;letter-spacing:.17em}
#main-nav{display:flex;justify-content:center;align-self:stretch}#main-nav a{position:relative;display:flex;align-items:center;padding:0 18px;color:#ded5e7;font-size:13px}#main-nav a:hover,#main-nav a.is-active{color:#fff}#main-nav a.is-active:after{position:absolute;right:18px;bottom:0;left:18px;height:3px;background:var(--mint);content:""}
.header-actions{display:flex;align-items:center;gap:18px}.header-actions>a{padding:11px 15px;border:1px solid #7c6794;color:#fff;font-size:11px}.icon-button,.menu-button{border:0;background:transparent;color:#fff;cursor:pointer}.icon-button svg{width:21px;fill:none;stroke:currentColor;stroke-width:1.7}.menu-button{display:none;font-size:10px;letter-spacing:.15em}
.page{display:none;min-height:70vh}.page.is-active{display:block}.kicker{margin:0 0 14px;color:var(--purple);font-size:10px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.home-hero{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(390px,.78fr);min-height:690px;background:linear-gradient(110deg,#f8f5fa 0,#fff 55%,#f3edf7 100%)}
.hero-main{display:flex;justify-content:center;flex-direction:column;padding:80px clamp(28px,7vw,108px)}.hero-main h1{max-width:820px;margin:0 0 30px;font:500 clamp(50px,5.3vw,82px)/1.08 var(--serif);letter-spacing:-.045em}.hero-main h1 em{color:var(--purple);font-style:normal}.hero-main>p:not(.kicker){max-width:720px;margin:0 0 34px;color:#5d5761;font-size:15px;line-height:1.95}
.hero-search{display:grid;grid-template-columns:1fr auto;max-width:710px;border:1px solid #c9bdcf;background:#fff;box-shadow:0 10px 30px rgba(37,19,54,.07)}.hero-search input{height:58px;border:0;padding:0 20px;outline:0}.hero-search button,.search-dialog form button{border:0;padding:0 24px;background:var(--purple);color:#fff;cursor:pointer;font-weight:700}.hero-links{display:flex;gap:24px;margin-top:25px;color:var(--purple);font-size:11px;font-weight:700}
.hero-molecule{position:relative;display:flex;justify-content:flex-end;flex-direction:column;min-height:690px;overflow:hidden;padding:44px;background:var(--purple-dark);color:#fff}.hero-molecule:before{position:absolute;inset:0;background:radial-gradient(circle at 40% 30%,rgba(116,78,154,.65),transparent 40%),linear-gradient(160deg,transparent 42%,rgba(0,0,0,.35));content:""}.hero-molecule img{position:absolute;top:30px;right:3%;left:3%;width:94%;height:400px;object-fit:contain;filter:drop-shadow(0 20px 35px rgba(0,0,0,.16))}.hero-molecule>div{position:relative;z-index:1}.hero-molecule .source-pill{display:inline-block;margin-bottom:12px;padding:5px 8px;background:var(--mint);color:#18241f;font-size:8px;font-weight:900;letter-spacing:.08em}.hero-molecule h2{margin:0 0 12px;font:500 38px/1.1 var(--serif)}.hero-molecule p{max-width:470px;margin:0;color:#d7cde2;font-size:12px;line-height:1.7}.hero-molecule dl{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:22px 0 0}.hero-molecule dt{color:#a997b9;font-size:8px;text-transform:uppercase}.hero-molecule dd{margin:4px 0 0;font-size:11px}
.stat-band{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:0 clamp(24px,7vw,105px)}.stat-band>div{padding:24px 30px;border-right:1px solid var(--line)}.stat-band>div:last-child{border-right:0}.stat-band strong,.stat-band span{display:block}.stat-band strong{color:var(--purple);font:500 30px var(--serif)}.stat-band span{margin-top:5px;color:var(--muted);font-size:9px;letter-spacing:.06em}
.section-block{padding:84px clamp(24px,7vw,105px)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}.section-head h2{margin:0;font:500 clamp(31px,4vw,48px)/1.1 var(--serif)}.section-head>a{padding-bottom:6px;border-bottom:1px solid var(--purple);color:var(--purple);font-size:11px;font-weight:700}.section-head.compact h2{font-size:31px}
.molecule-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.molecule-card{display:flex;min-width:0;flex-direction:column;border:1px solid var(--line);background:#fff;transition:.2s}.molecule-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.molecule-image{position:relative;display:block;height:270px;border:0;border-bottom:1px solid var(--line);padding:20px;background:#faf9fb;cursor:pointer}.molecule-image img{width:100%;height:100%;object-fit:contain}.molecule-source{position:absolute;top:12px;left:12px;padding:5px 8px;background:var(--purple-dark);color:#fff;font-size:7px;font-weight:800;letter-spacing:.08em}.molecule-card-body{display:flex;flex:1;flex-direction:column;padding:19px}.molecule-card h3{margin:0 0 8px;font:600 23px/1.15 var(--serif);overflow-wrap:anywhere}.molecule-sub{margin:0 0 15px;color:var(--purple);font-size:10px;font-weight:700;line-height:1.45}.molecule-card dl{display:grid;gap:7px;margin:0 0 16px}.molecule-card dl div{display:grid;grid-template-columns:58px 1fr;gap:7px}.molecule-card dt{color:#8a838e;font-size:8px}.molecule-card dd{margin:0;font-size:8px;line-height:1.45}.molecule-card .summary{display:-webkit-box;overflow:hidden;margin:auto 0 16px;color:var(--muted);font-size:9px;line-height:1.7;-webkit-box-orient:vertical;-webkit-line-clamp:4}.card-actions{display:flex;justify-content:space-between;padding-top:13px;border-top:1px solid var(--line)}.card-actions button,.card-actions a{border:0;padding:0;background:transparent;color:var(--purple);cursor:pointer;font-size:9px;font-weight:800}
.split-section{display:grid;grid-template-columns:1fr 1fr;gap:70px;background:var(--fog)}.patent-stack,.article-stack{border-top:1px solid #d8d2dc}.patent-row,.article-row{display:grid;grid-template-columns:95px 1fr auto;gap:16px;align-items:center;min-height:130px;border-bottom:1px solid #d8d2dc;padding:14px 0}.patent-row img,.article-row img{width:95px;height:95px;object-fit:contain;background:#fff}.article-row img{object-fit:cover}.patent-row h3,.article-row h3{margin:0 0 7px;font:600 15px/1.4 var(--serif)}.patent-row p,.article-row p{margin:0;color:var(--muted);font-size:9px;line-height:1.55}.row-arrow{color:var(--purple);font-size:17px}.editorial-note{display:grid;grid-template-columns:180px 1fr;gap:38px;padding:42px clamp(24px,7vw,105px);background:var(--purple-dark);color:#fff}.editorial-note span{color:var(--mint);font-size:9px;font-weight:800;letter-spacing:.16em}.editorial-note p{max-width:980px;margin:0;color:#d4c9df;font:500 20px/1.65 var(--serif)}
.page-masthead{padding:90px clamp(24px,7vw,105px);background:linear-gradient(120deg,#f4eef8,#fff)}.page-masthead h1{max-width:980px;margin:0 0 22px;font:500 clamp(52px,7vw,92px)/1 var(--serif);letter-spacing:-.04em}.page-masthead>p:last-child{max-width:800px;margin:0;color:#5e5862;font-size:14px;line-height:1.9}.page-masthead.purple{background:linear-gradient(120deg,#281441,#673897);color:#fff}.page-masthead.purple .kicker,.page-masthead.dark .kicker{color:var(--mint)}.page-masthead.purple>p:last-child,.page-masthead.dark>p:last-child{color:#d8cde2}.page-masthead.paper{background:#f3efe8}.page-masthead.dark{background:#17131b;color:#fff}.page-masthead.soft{background:#e9f7f2}.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px clamp(24px,7vw,105px);border-bottom:1px solid var(--line)}.catalog-toolbar input{width:min(380px,45vw);height:42px;border:1px solid #cec8d1;padding:0 13px;outline:0}.catalog-toolbar small{display:block;margin-top:5px;color:var(--muted);font-size:8px}.filter-tabs{display:flex;gap:7px}.filter-tabs button{border:1px solid var(--line);padding:10px 15px;background:#fff;cursor:pointer;font-size:10px}.filter-tabs button.is-active{border-color:var(--purple);background:var(--purple);color:#fff}.catalog-grid,.patent-grid,.article-grid{padding:45px clamp(24px,7vw,105px) 90px}.catalog-grid{grid-template-columns:repeat(3,1fr)}
.patent-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.patent-card{display:grid;grid-template-rows:250px 1fr;border:1px solid var(--line);background:#fff}.patent-card figure{position:relative;display:grid;place-items:center;margin:0;padding:17px;border-bottom:1px solid var(--line);background:#faf9fb}.patent-card figure img{width:100%;height:100%;object-fit:contain}.patent-rank{position:absolute;top:12px;left:12px;padding:5px 7px;background:var(--purple);color:#fff;font-size:8px}.patent-card-body{display:flex;flex-direction:column;padding:19px}.patent-card h2{margin:0 0 6px;font:600 20px var(--serif)}.patent-card h3{margin:0 0 14px;color:var(--purple);font-size:11px}.activity-box{margin-bottom:14px;padding:11px;background:var(--lavender);font-size:9px;font-weight:700;line-height:1.55}.patent-card p{display:-webkit-box;overflow:hidden;margin:0 0 18px;color:var(--muted);font-size:9px;line-height:1.7;-webkit-box-orient:vertical;-webkit-line-clamp:5}.patent-card .card-actions{margin-top:auto}
.article-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}.article-card{display:grid;grid-template-columns:44% 1fr;min-height:300px;border:1px solid var(--line);background:#fff;transition:.2s}.article-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.article-card img{width:100%;height:100%;object-fit:cover}.article-card>div{display:flex;flex-direction:column;padding:25px}.article-card .meta{color:var(--purple);font-size:9px;font-weight:800;letter-spacing:.08em}.article-card h2{margin:13px 0;font:600 25px/1.35 var(--serif)}.article-card p{margin:0 0 20px;color:var(--muted);font-size:10px;line-height:1.75}.article-card a{margin-top:auto;color:var(--purple);font-size:10px;font-weight:800}
.article-reader{padding-bottom:90px}.reader-hero{display:grid;grid-template-columns:1fr minmax(380px,.65fr);background:#f5f1f6}.reader-hero>div{padding:75px clamp(24px,7vw,105px)}.reader-hero img{width:100%;height:100%;min-height:430px;object-fit:cover}.reader-hero h1{margin:15px 0 22px;font:500 clamp(40px,5vw,68px)/1.15 var(--serif)}.reader-hero p{max-width:730px;color:var(--muted);line-height:1.8}.reader-meta{color:var(--purple);font-size:10px;font-weight:800}.reader-back{display:inline-block;margin-top:24px;color:var(--purple);font-size:10px;font-weight:800}.reader-body{max-width:880px;margin:0 auto;padding:68px 28px;font:400 16px/1.95 var(--serif)}.reader-body h2{margin:56px 0 20px;font-size:30px;line-height:1.4}.reader-body h3{margin:42px 0 17px;font-size:23px}.reader-body p{margin:0 0 22px}.reader-body ul,.reader-body ol{margin:0 0 24px;padding-left:24px}.reader-body figure{margin:42px -70px 12px}.reader-body figure img{width:100%;max-height:680px;object-fit:contain;background:#faf9fb}.reader-body .caption{margin:0 -30px 34px;color:var(--muted);font:12px/1.7 var(--sans);text-align:center}.reader-body a{color:var(--purple);border-bottom:1px solid #bba7ce}.reader-body hr{margin:45px 0;border:0;border-top:1px solid var(--line)}.reader-body blockquote{margin:28px 0;padding:18px 25px;border-left:3px solid var(--purple);background:var(--fog)}
.structure-layout{display:grid;grid-template-columns:380px 1fr;gap:28px;padding:45px clamp(24px,7vw,105px) 90px}.structure-form{display:grid;gap:18px;padding:25px;border:1px solid var(--line)}.structure-form label{display:grid;gap:8px;color:var(--muted);font-size:10px;font-weight:700}.structure-form select,.structure-form textarea{width:100%;border:1px solid #ccc5cf;padding:11px;background:#fff;outline:0}.structure-form button{min-height:47px;border:0;background:var(--purple);color:#fff;cursor:pointer;font-weight:700}.structure-form p{margin:0;color:var(--muted);font-size:9px;line-height:1.6}.structure-form input[type=range]{accent-color:var(--purple)}.empty-state{display:grid;min-height:430px;place-items:center;align-content:center;border:1px dashed #cfc9d2;color:var(--muted);text-align:center}.empty-state strong{color:var(--ink)}.empty-state p{font-size:10px}.suggestion-card{margin-bottom:14px;padding:23px;border:1px solid var(--line)}.suggestion-card h3{margin:9px 0;font:600 20px var(--serif)}.suggestion-card p,.suggestion-card li{color:var(--muted);font-size:10px;line-height:1.7}.suggestion-card .score{color:var(--purple);font-weight:800}
.library-masthead{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:70px;align-items:end;padding:68px clamp(24px,7vw,105px) 55px;background:linear-gradient(115deg,#e7f7f1 0,#f7fbf9 58%,#eee7f6 100%)}.library-masthead h1{margin:0 0 18px;font:500 clamp(48px,6vw,78px)/1 var(--serif);letter-spacing:-.04em}.library-masthead>div>p:last-child{max-width:830px;margin:0;color:#565d59;font-size:14px;line-height:1.9}.library-masthead>a{display:flex;align-items:center;justify-content:space-between;gap:35px;min-width:210px;border-bottom:1px solid var(--purple);padding:13px 0;color:var(--purple);font-size:11px;font-weight:800}.library-masthead>a span{font-size:18px}.library-stats{display:grid;grid-template-columns:repeat(4,1fr);padding:0 clamp(24px,7vw,105px);border-bottom:1px solid var(--line);background:#fff}.library-stats>div{padding:22px 28px;border-right:1px solid var(--line)}.library-stats>div:last-child{border-right:0}.library-stats strong,.library-stats span{display:block}.library-stats strong{color:var(--purple);font:500 28px var(--serif)}.library-stats span{margin-top:5px;color:var(--muted);font-size:9px;letter-spacing:.05em}.library-workspace{padding:38px clamp(24px,7vw,105px) 90px;background:#fbfafc}.library-filters{display:grid;grid-template-columns:minmax(280px,2fr) minmax(150px,1fr) minmax(210px,1.2fr) auto;gap:12px;align-items:end;padding:20px;border:1px solid var(--line);background:#fff}.library-filters label{display:grid;gap:8px}.library-filters label>span{color:#766f79;font-size:8px;font-weight:800;letter-spacing:.08em}.library-filters input,.library-filters select{width:100%;height:44px;border:1px solid #cec8d1;padding:0 12px;background:#fff;outline:0}.library-filters input:focus,.library-filters select:focus{border-color:var(--purple);box-shadow:0 0 0 2px rgba(92,45,145,.08)}.library-filters button{height:44px;border:1px solid var(--purple);padding:0 18px;background:#fff;color:var(--purple);cursor:pointer;font-size:10px;font-weight:800}.library-results-head{display:flex;align-items:end;justify-content:space-between;gap:30px;padding:42px 0 22px}.library-results-head span,.analysis-kicker{color:var(--purple);font-size:8px;font-weight:900;letter-spacing:.14em}.library-results-head h2{margin:7px 0 0;font:500 33px var(--serif)}.library-results-head p{margin:0;color:var(--muted);font-size:10px}.precedent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.precedent-card{display:flex;min-width:0;flex-direction:column;border:1px solid var(--line);background:#fff;transition:.2s}.precedent-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.precedent-visual{display:grid;height:285px;place-items:center;border:0;border-bottom:1px solid var(--line);padding:18px;background:#faf9fb;cursor:pointer}.precedent-visual img{width:100%;height:100%;object-fit:contain}.precedent-body{display:flex;flex:1;flex-direction:column;padding:20px}.precedent-meta{display:flex;align-items:center;justify-content:space-between;gap:15px}.precedent-meta span{padding:5px 8px;background:var(--purple-dark);color:#fff;font-size:8px;font-weight:800}.precedent-meta small{overflow:hidden;color:var(--purple);font-size:8px;font-weight:800;text-align:right;text-overflow:ellipsis;white-space:nowrap}.precedent-card h3{margin:15px 0 8px;font:600 19px/1.35 var(--serif);overflow-wrap:anywhere}.precedent-card h3 i,.detail-copy h2 i{color:var(--mint);font-style:normal}.precedent-region{margin:0 0 13px;color:var(--muted);font-size:9px;line-height:1.6}.precedent-objectives{display:flex;flex-wrap:wrap;gap:6px}.precedent-objectives span{padding:6px 8px;background:#edf7f3;color:#345f54;font-size:8px;line-height:1.3}.precedent-source{display:-webkit-box;overflow:hidden;margin:auto 0 16px;padding-top:17px;color:var(--muted);font-size:8px;line-height:1.65;-webkit-box-orient:vertical;-webkit-line-clamp:2}.library-more{display:flex;justify-content:center;padding:32px 0}.library-more button{min-width:180px;height:45px;border:1px solid var(--purple);background:var(--purple);color:#fff;cursor:pointer;font-size:10px;font-weight:800}.library-more button[hidden]{display:none}.library-boundary{display:grid;grid-template-columns:130px 1fr;gap:24px;margin-top:10px;padding:24px 28px;border-top:1px solid #8d70aa;background:var(--purple-dark);color:#fff}.library-boundary strong{color:var(--mint);font-size:10px}.library-boundary p{max-width:900px;margin:0;color:#d8cde2;font-size:10px;line-height:1.8}.precedent-detail-lead{grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr)}.precedent-detail-lead figure{min-height:520px}.precedent-detail-tag{display:inline-block;padding:6px 9px;background:var(--purple-dark);color:#fff;font-size:8px;font-weight:800}.precedent-detail-lead .detail-copy h2{font-size:31px;line-height:1.3;overflow-wrap:anywhere}.detail-objectives{margin-top:22px}.precedent-analysis{display:grid;grid-template-columns:1fr 1fr;gap:50px;padding:44px;border-top:1px solid var(--line);background:#fff}.precedent-analysis>div>h2,.source-evidence h2{margin:8px 0 16px;font:500 29px var(--serif)}.precedent-analysis p,.precedent-analysis li,.source-evidence p{color:var(--muted);font-size:10px;line-height:1.8}.precedent-analysis section{margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.precedent-analysis section h3{margin:0 0 11px;font-size:11px}.precedent-analysis ul{margin:0;padding-left:18px}.precedent-use-boundary{padding:20px!important;border:0!important;background:#edf7f3}.precedent-use-boundary p{margin:0;color:#345f54}.source-evidence{display:grid;grid-template-columns:280px 1fr;gap:35px;align-items:center;padding:38px 44px;border-top:1px solid var(--line);background:#f7f5f8}.source-evidence>div>a{display:inline-block;margin-top:8px;color:var(--purple);font-size:10px;font-weight:800}.source-evidence figure{margin:0;padding:12px;border:1px solid var(--line);background:#fff}.source-evidence figure img{width:100%;max-height:520px;object-fit:contain}
.site-footer{display:grid;grid-template-columns:1.4fr .6fr .6fr;gap:70px;padding:60px clamp(24px,7vw,105px) 28px;background:#17131b;color:#aaa3ad}.site-footer strong,.footer-brand{display:block;margin-bottom:13px;color:#fff;font:600 18px var(--serif)}.site-footer p,.site-footer a{display:block;margin:0 0 8px;font-size:10px;line-height:1.7}.site-footer small{grid-column:1/-1;padding-top:23px;border-top:1px solid #37313a;font-size:8px}
dialog{width:min(1000px,calc(100vw - 30px));max-width:none;max-height:calc(100vh - 30px);overflow:auto;border:0;padding:0;background:#fff;box-shadow:var(--shadow)}dialog::backdrop{background:rgba(22,12,33,.74);backdrop-filter:blur(3px)}.dialog-close{position:sticky;top:14px;float:right;z-index:5;width:38px;height:38px;margin:14px;border:1px solid var(--line);background:#fff;cursor:pointer;font-size:24px}.detail-lead{display:grid;grid-template-columns:1fr 1fr;clear:both}.detail-lead figure{display:grid;min-height:450px;place-items:center;margin:0;padding:25px;background:#faf9fb}.detail-lead figure img{width:100%;height:100%;max-height:430px;object-fit:contain}.detail-copy{padding:42px}.detail-copy h2{margin:8px 0 13px;font:500 43px var(--serif)}.detail-copy h3{margin:0 0 25px;color:var(--purple);font-size:13px}.detail-copy dl{display:grid;gap:12px}.detail-copy dl div{padding-bottom:11px;border-bottom:1px solid var(--line)}.detail-copy dt{color:var(--muted);font-size:8px}.detail-copy dd{margin:5px 0 0;font-size:11px;line-height:1.55}.detail-notes{clear:both;padding:28px 42px 42px;border-top:1px solid var(--line)}.detail-notes p{color:var(--muted);font-size:11px;line-height:1.8}.detail-notes a{color:var(--purple);font-size:10px;font-weight:800}.search-dialog{width:min(850px,calc(100vw - 30px))}.search-dialog form{display:grid;grid-template-columns:1fr auto;clear:both;padding:0 26px 22px}.search-dialog input{height:50px;border:1px solid var(--line);padding:0 15px;outline:0}.search-dialog form button{padding:0 22px}#search-results{padding:0 26px 30px}.search-hit{display:grid;grid-template-columns:90px 1fr auto;gap:14px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.search-hit span{color:var(--purple);font-size:8px;font-weight:800}.search-hit strong{font-size:11px}.search-hit a,.search-hit button{border:0;background:transparent;color:var(--purple);cursor:pointer;font-size:9px}.no-results{padding:35px;color:var(--muted);text-align:center}.loading{min-height:200px;background:linear-gradient(100deg,#eeeaf0 25%,#f8f6f9 40%,#eeeaf0 60%);background-size:200% 100%;animation:shimmer 1.2s infinite}@keyframes shimmer{to{background-position-x:-200%}}
@media(max-width:1180px){.site-header{grid-template-columns:230px 1fr auto;padding:0 22px}#main-nav a{padding:0 10px}.header-actions>a{display:none}.molecule-grid{grid-template-columns:repeat(2,1fr)}.catalog-grid,.patent-grid{grid-template-columns:repeat(2,1fr)}.home-hero{grid-template-columns:1fr 390px}.article-card{grid-template-columns:40% 1fr}.article-card h2{font-size:21px}}
@media(max-width:860px){.site-header{grid-template-columns:1fr auto;min-height:66px}.brand svg{width:33px}#main-nav{position:absolute;top:66px;right:0;left:0;display:none;height:auto;flex-direction:column;padding:10px 18px 18px;background:var(--purple-dark)}#main-nav.is-open{display:flex}#main-nav a{min-height:42px}#main-nav a.is-active:after{right:auto;left:0;width:3px;height:100%}.menu-button{display:block}.home-hero{grid-template-columns:1fr}.hero-main{padding:70px 26px}.hero-molecule{min-height:590px}.stat-band{grid-template-columns:repeat(2,1fr);padding:0}.stat-band>div:nth-child(2){border-right:0}.stat-band>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.split-section{grid-template-columns:1fr}.article-grid{grid-template-columns:1fr}.reader-hero{grid-template-columns:1fr}.reader-hero img{max-height:430px}.structure-layout{grid-template-columns:1fr}.site-footer{grid-template-columns:1fr 1fr}.site-footer>div:first-child{grid-column:1/-1}.detail-lead{grid-template-columns:1fr}.reader-body figure{margin-right:0;margin-left:0}}
@media(max-width:600px){.site-header{padding:0 14px}.brand strong{font-size:17px}.home-hero{min-height:0}.hero-main{padding:55px 18px}.hero-main h1{font-size:42px}.hero-main>p:not(.kicker){font-size:13px}.hero-search{grid-template-columns:1fr}.hero-search button{height:44px}.hero-molecule{min-height:520px;padding:25px}.hero-molecule img{height:320px}.hero-molecule h2{font-size:31px}.hero-links{flex-direction:column;gap:10px}.stat-band{grid-template-columns:1fr}.stat-band>div{border-right:0;border-bottom:1px solid var(--line)!important}.section-block{padding:58px 18px}.section-head{align-items:flex-start;flex-direction:column}.molecule-grid,.catalog-grid,.patent-grid{grid-template-columns:1fr}.molecule-image{height:300px}.split-section{gap:55px}.editorial-note{grid-template-columns:1fr;padding:34px 18px}.page-masthead{padding:62px 18px}.page-masthead h1{font-size:54px}.catalog-toolbar{align-items:stretch;flex-direction:column;padding:20px 18px}.catalog-toolbar input{width:100%}.filter-tabs{overflow:auto}.catalog-grid,.patent-grid,.article-grid{padding:30px 14px 65px}.article-card{grid-template-columns:1fr}.article-card img{height:230px}.reader-hero>div{padding:55px 18px}.reader-hero h1{font-size:40px}.reader-body{padding:45px 18px;font-size:15px}.reader-body figure,.reader-body .caption{margin-right:0;margin-left:0}.structure-layout{padding:30px 14px 65px}.library-callout{align-items:flex-start;flex-direction:column;margin:35px 14px 65px;padding:28px 22px}.site-footer{grid-template-columns:1fr;gap:30px;padding:45px 18px 25px}.site-footer>div:first-child,.site-footer small{grid-column:auto}.detail-copy,.detail-notes{padding:28px 20px}.detail-lead figure{min-height:300px}.search-hit{grid-template-columns:65px 1fr}.search-hit>*:last-child{grid-column:2}}
@media(max-width:1180px){.precedent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-filters{grid-template-columns:minmax(280px,2fr) 1fr 1.2fr}.library-filters button{grid-column:3}}
@media(max-width:860px){.library-masthead{grid-template-columns:1fr;gap:28px;padding:55px 26px 42px}.library-masthead>a{width:230px}.library-stats{grid-template-columns:repeat(2,1fr);padding:0}.library-stats>div:nth-child(2){border-right:0}.library-stats>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.library-workspace{padding:28px 22px 65px}.library-filters{grid-template-columns:1fr 1fr}.library-search{grid-column:1/-1}.library-filters button{grid-column:auto}.precedent-detail-lead{grid-template-columns:1fr}.precedent-analysis{grid-template-columns:1fr;gap:25px}.source-evidence{grid-template-columns:1fr}.source-evidence>div{max-width:600px}}
@media(max-width:600px){.library-masthead{padding:48px 18px 38px}.library-masthead h1{font-size:45px}.library-masthead>div>p:last-child{font-size:12px}.library-stats>div{padding:19px 18px}.library-workspace{padding:22px 14px 60px}.library-filters{grid-template-columns:1fr;padding:15px}.library-search{grid-column:auto}.library-results-head{align-items:flex-start;flex-direction:column;padding:34px 0 18px}.precedent-grid{grid-template-columns:1fr}.precedent-visual{height:290px}.library-boundary{grid-template-columns:1fr;gap:9px;padding:22px}.precedent-analysis,.source-evidence{padding:30px 20px}.precedent-detail-lead .detail-copy h2{font-size:27px}.precedent-detail-lead figure{min-height:340px}}

/* Medicinal chemistry archive: restrained print-journal styling inspired by 1990s scientific publishing. */
[data-page="/library"]{background:#f1ede3;color:#211f1b}.library-masthead{position:relative;grid-template-columns:minmax(0,1fr) 220px;gap:60px;align-items:end;padding:56px clamp(24px,7vw,105px) 48px;border-top:7px solid #8f3524;border-bottom:1px solid #27231e;background:#eee7d8}.library-masthead:after{position:absolute;right:clamp(24px,7vw,105px);bottom:0;width:220px;height:5px;background:#c88b35;content:""}.archive-folio{display:flex;align-items:center;gap:15px;margin-bottom:22px;padding-bottom:10px;border-bottom:1px solid #27231e;color:#29251f;font:700 9px/1.2 Georgia,"Times New Roman",serif;letter-spacing:.13em}.archive-folio strong{margin-left:auto;color:#8f3524;font-size:9px}.library-masthead h1{margin-bottom:15px;color:#171512;font-family:"Songti SC",STSong,Georgia,"Times New Roman",serif;font-size:clamp(52px,6vw,80px);font-weight:600;letter-spacing:-.045em}.library-masthead>div>p:last-child{max-width:880px;color:#4e4941;font-family:"Songti SC",STSong,Georgia,serif;font-size:15px;line-height:1.85}.library-masthead>a{min-width:0;border-color:#27231e;color:#27231e;font-family:Georgia,"Times New Roman",serif;letter-spacing:.04em}.library-masthead>a span{color:#8f3524}.library-stats{padding:0 clamp(24px,7vw,105px);border-bottom-color:#27231e;background:#faf7ef}.library-stats>div{border-right-color:#b9b0a2}.library-stats strong{color:#8f3524;font-family:Georgia,"Times New Roman",serif;font-weight:600}.library-stats span{color:#514b43;font-family:"Songti SC",STSong,serif}.library-workspace{padding-top:34px;background:#f1ede3}.library-filters{border-color:#2f2b25;background:#faf7ef;box-shadow:5px 5px 0 #d6cbb9}.library-filters label>span{color:#342f29;font-family:Georgia,"Times New Roman",serif;letter-spacing:.1em}.library-filters input,.library-filters select{border-color:#80786d;background:#fffdf8}.library-filters input:focus,.library-filters select:focus{border-color:#8f3524;box-shadow:0 0 0 1px #8f3524}.library-filters button{border-color:#8f3524;background:#8f3524;color:#fffdf8}.library-results-head{border-bottom:2px solid #27231e}.library-results-head span,.analysis-kicker{color:#8f3524;font-family:Georgia,"Times New Roman",serif}.library-results-head h2{color:#171512;font-family:"Songti SC",STSong,Georgia,serif;font-weight:600}.library-results-head p{color:#514b43}.precedent-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding-top:24px}.precedent-card{--card-accent:#3f3a33;--card-wash:#f6f1e7;position:relative;border:1px solid #3f3a33;border-top:8px solid var(--card-accent);background:var(--card-wash);box-shadow:4px 4px 0 rgba(49,43,35,.12);transition:border-color .18s,box-shadow .18s}.precedent-card:hover{transform:none;border-color:var(--card-accent);box-shadow:6px 6px 0 color-mix(in srgb,var(--card-accent) 18%,transparent)}.tone-brick{--card-accent:#963c2c;--card-wash:#f3e5df}.tone-ochre{--card-accent:#9c681d;--card-wash:#f2ead4}.tone-moss{--card-accent:#586d3b;--card-wash:#e7edde}.tone-indigo{--card-accent:#4f4d78;--card-wash:#e9e7f0}.tone-slate{--card-accent:#496671;--card-wash:#e3ebed}.tone-teal{--card-accent:#337064;--card-wash:#e1ece8}.tone-umber{--card-accent:#75513a;--card-wash:#ede3da}.precedent-folio{display:flex;align-items:center;justify-content:space-between;padding:9px 14px;border-bottom:1px solid color-mix(in srgb,var(--card-accent) 58%,#fff);color:var(--card-accent);font:700 8px/1.2 Georgia,"Times New Roman",serif;letter-spacing:.12em}.precedent-folio strong{font-size:9px}.precedent-visual{height:390px;margin:0;border-bottom:1px solid #6c655b;padding:18px;background:#fffdf8}.precedent-visual img{transform:scale(1.08);transform-origin:center;width:100%;height:100%;filter:contrast(1.06)}.precedent-body{padding:21px 22px 22px}.precedent-meta{align-items:flex-start}.precedent-meta span{padding:0;border-bottom:2px solid var(--card-accent);background:transparent;color:var(--card-accent);font:700 10px/1.5 "Songti SC",STSong,serif}.precedent-meta small{max-width:46%;color:#514b43;font-family:Georgia,"Times New Roman",serif;white-space:normal}.precedent-card h3{margin:16px 0 14px;color:#171512;font-family:"Songti SC",STSong,Georgia,serif;font-size:21px;font-weight:600}.precedent-card h3 i,.detail-copy h2 i{color:var(--card-accent,#8f3524)}.precedent-objectives span{border:1px solid color-mix(in srgb,var(--card-accent) 55%,#fff);background:rgba(255,255,255,.38);color:#38332d}.precedent-source{color:#585148;font-family:"Songti SC",STSong,serif;font-size:9px}.precedent-card .card-actions{border-top-color:color-mix(in srgb,var(--card-accent) 38%,#fff)}.precedent-card .card-actions button,.precedent-card .card-actions a{color:var(--card-accent)}.library-more button{border-color:#27231e;background:#27231e;color:#faf7ef}.library-boundary{border-top:6px solid #8f3524;background:#29251f}.library-boundary strong{color:#e3b75e;font-family:Georgia,"Times New Roman",serif}.library-boundary p{color:#e6dfd2;font-family:"Songti SC",STSong,serif}#detail-dialog{width:min(1180px,calc(100vw - 30px))}.precedent-detail-lead{grid-template-columns:minmax(0,1.35fr) minmax(350px,.65fr);background:#f4efe4}.precedent-detail-lead figure{min-height:650px;padding:34px;background:#fffdf8}.precedent-detail-lead figure img{max-height:610px;transform:scale(1.06);filter:contrast(1.06)}.precedent-detail-tag{background:#8f3524}.precedent-detail-lead .detail-copy{border-left:1px solid #5c554b}.precedent-detail-lead .detail-copy h2,.precedent-analysis h2,.source-evidence h2{font-family:"Songti SC",STSong,Georgia,serif}.precedent-detail-lead .detail-copy h3{color:#8f3524}.precedent-analysis{border-top-color:#403a32;background:#faf7ef}.precedent-analysis section{border-top-color:#b9b0a2}.precedent-use-boundary{background:#eee4cf}.precedent-use-boundary p{color:#4a4033}.source-evidence{border-top-color:#403a32;background:#e7e0d3}.source-evidence figure{border-color:#80786d;background:#fffdf8}
@media(max-width:900px){.library-masthead{grid-template-columns:1fr;gap:24px}.library-masthead:after{right:26px;width:180px}.precedent-grid{grid-template-columns:1fr}.precedent-visual{height:420px}.precedent-detail-lead{grid-template-columns:1fr}.precedent-detail-lead .detail-copy{border-top:1px solid #5c554b;border-left:0}}
@media(max-width:600px){.library-masthead{padding:42px 18px 34px}.library-masthead:after{right:18px;width:120px}.archive-folio{align-items:flex-start;flex-direction:column;gap:6px}.archive-folio strong{margin-left:0}.library-masthead h1{font-size:48px}.precedent-grid{gap:18px}.precedent-visual{height:315px;padding:10px}.precedent-visual img{transform:scale(1.03)}.precedent-body{padding:18px}.precedent-detail-lead figure{min-height:410px;padding:18px}.precedent-detail-lead figure img{transform:scale(1.02)}}
