:root{--bg:#f7f8fa;--surface:#fff;--surface-2:#f1f3f6;--border:#e4e7eb;--border-strong:#cbd2d9;--text:#1a202c;--text-muted:#5a6675;--text-faint:#8b95a3;--primary:#0a66c2;--primary-hover:#084a8e;--accent:#7c3aed;--success:#10a37f;--warning:#d97706;--danger:#dc2626;--radius:8px;--radius-sm:4px;--shadow-sm:0 1px 2px rgba(15,23,42,.04);--shadow:0 2px 6px rgba(15,23,42,.06);--shadow-lg:0 8px 24px rgba(15,23,42,.08);--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;--font-mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace}*{box-sizing:border-box}body,html{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:var(--font-sans);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,h4{margin:0 0 .5rem;line-height:1.25;color:var(--text)}h1{font-size:1.75rem;font-weight:700}h2{font-size:1.25rem}h2,h3{font-weight:600}h3{font-size:1.05rem}h4{font-size:.9rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}p{margin:0 0 .75rem;color:var(--text)}.site-header{background:var(--surface);border-bottom:1px solid var(--border);padding:.75rem 1.5rem;position:-webkit-sticky;position:sticky;top:0;z-index:10}.site-header-inner{max-width:1280px;margin:0 auto;gap:1.5rem}.logo,.site-header-inner{display:flex;align-items:center}.logo{gap:.5rem;font-weight:700;font-size:1.1rem;color:var(--text);text-decoration:none}.logo-mark{width:28px;height:28px;border-radius:6px;background:linear-gradient(135deg,var(--primary) 0,var(--accent) 100%);display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:.7rem;letter-spacing:.02em}.logo:hover{text-decoration:none}.nav{display:flex;gap:1.25rem;flex:1 1}.nav a{color:var(--text-muted);font-weight:500;font-size:.9rem}.nav a:hover{text-decoration:none}.nav a.active,.nav a:hover{color:var(--text)}.header-actions{display:flex;gap:.5rem;align-items:center}.btn{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem .9rem;border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);color:var(--text);font-family:inherit;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.btn,.btn:hover{text-decoration:none}.btn:hover{background:var(--surface-2)}.btn-primary{background:var(--primary);color:#fff;border-color:var(--primary)}.btn-primary:hover{background:var(--primary-hover);border-color:var(--primary-hover);color:#fff}.btn-ghost{border-color:transparent;background:transparent}.btn-ghost:hover{background:var(--surface-2)}.btn-sm{padding:.35rem .7rem;font-size:.8rem}.container{max-width:1280px;margin:0 auto;padding:1.5rem}.layout-with-sidebar{display:grid;grid-template-columns:240px 1fr;grid-gap:2rem;gap:2rem;align-items:start}@media (max-width:800px){.layout-with-sidebar{grid-template-columns:1fr}}.sidebar{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem;position:-webkit-sticky;position:sticky;top:80px}.filter-group{margin-bottom:1.25rem}.filter-group:last-child{margin-bottom:0}.filter-group h4{margin:0 0 .5rem}.filter-options{display:flex;flex-direction:column;gap:.3rem}.filter-option{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:var(--text);cursor:pointer;padding:.2rem 0}.filter-option input{margin:0;cursor:pointer}.filter-option .count{color:var(--text-faint);font-size:.75rem;margin-left:auto}.filter-clear{font-size:.75rem;color:var(--text-muted);cursor:pointer;background:none;border:none;padding:0;margin-top:.25rem}.filter-clear:hover{color:var(--primary);text-decoration:underline}.toolbar{display:flex;gap:.75rem;margin-bottom:1rem;align-items:center}.search-input{flex:1 1;padding:.55rem .8rem;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);font-family:inherit;font-size:.875rem;color:var(--text)}.search-input:focus{outline:2px solid var(--primary);outline-offset:-1px;border-color:var(--primary)}.sort-select{padding:.55rem .7rem;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);font-family:inherit;font-size:.875rem;color:var(--text);cursor:pointer}.results-count{color:var(--text-muted);font-size:.85rem;margin-bottom:1rem}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));grid-gap:1rem;gap:1rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:border-color .15s,box-shadow .15s,transform .15s;color:var(--text)}.card,.card:hover{text-decoration:none}.card:hover{border-color:var(--border-strong);box-shadow:var(--shadow);transform:translateY(-1px)}.card-thumb{height:140px;background:var(--surface-2);position:relative;overflow:hidden}.card-thumb svg{display:block;width:100%;height:100%}.card-body{padding:.85rem 1rem;flex:1 1;display:flex;flex-direction:column}.card-title{font-size:.95rem;font-weight:600;color:var(--text);margin:0 0 .3rem}.card-author{margin-bottom:.5rem}.card-author,.card-meta{font-size:.78rem;color:var(--text-muted)}.card-meta{display:flex;gap:.6rem;margin-top:auto;padding-top:.6rem;border-top:1px solid var(--border);align-items:center}.card-meta .stat{display:inline-flex;align-items:center;gap:.2rem}.card-tags{display:flex;flex-wrap:wrap;gap:.3rem;margin-bottom:.5rem}.tag{display:inline-block;padding:.15rem .5rem;background:var(--surface-2);color:var(--text-muted);font-size:.72rem;border-radius:999px;font-weight:500;border:1px solid var(--border)}.tag-platform{background:rgba(10,102,194,.08);color:var(--primary);border-color:rgba(10,102,194,.2)}.tag-band{background:rgba(124,58,237,.08);color:var(--accent);border-color:rgba(124,58,237,.2)}.detail-header{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;margin-bottom:1.5rem}.detail-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.75rem;flex-wrap:wrap}.detail-stats{display:flex;gap:1.5rem;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border);font-size:.85rem;color:var(--text-muted);flex-wrap:wrap}.detail-stats strong{color:var(--text);font-size:1rem;display:block}.detail-grid{display:grid;grid-template-columns:1fr 320px;grid-gap:1.5rem;gap:1.5rem;align-items:start}@media (max-width:900px){.detail-grid{grid-template-columns:1fr}}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;margin-bottom:1rem}.spec-table{width:100%;font-size:.875rem}.spec-table tr{border-bottom:1px solid var(--border)}.spec-table tr:last-child{border-bottom:none}.spec-table td{padding:.55rem 0}.spec-table td:first-child{color:var(--text-muted);width:45%}.spec-table td:last-child{text-align:right;font-family:var(--font-mono);font-size:.82rem}.file-list{list-style:none;padding:0;margin:0}.file-item{display:flex;align-items:center;gap:.75rem;padding:.6rem 0;border-bottom:1px solid var(--border)}.file-item:last-child{border-bottom:none}.file-icon{width:36px;height:36px;border-radius:var(--radius-sm);background:var(--surface-2);display:inline-flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:700;color:var(--text-muted);font-family:var(--font-mono);flex-shrink:0}.file-info{flex:1 1;min-width:0}.file-name{font-size:.875rem;font-weight:500;color:var(--text)}.file-meta{font-size:.75rem;color:var(--text-faint)}.spectrum-plot{width:100%;height:220px;background:linear-gradient(180deg,#fbfcfd,#f1f4f8);border-radius:var(--radius-sm);border:1px solid var(--border);position:relative;overflow:hidden}.spectrum-plot svg{display:block;width:100%;height:100%}.cite-box{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:.75rem;font-family:var(--font-mono);font-size:.78rem;color:var(--text);white-space:pre-wrap;word-break:break-word}.upload-container{max-width:720px;margin:0 auto}.form-group{margin-bottom:1.25rem}.form-group label{display:block;font-size:.85rem;font-weight:600;color:var(--text);margin-bottom:.4rem}.form-group .hint{font-size:.75rem;color:var(--text-faint);margin-top:.3rem}.form-group .required{color:var(--danger);margin-left:.15rem}.form-group .optional{color:var(--text-faint);font-weight:400;margin-left:.4rem;font-size:.75rem}.form-group input[type=number],.form-group input[type=text],.form-group input[type=url],.form-group select,.form-group textarea{width:100%;padding:.55rem .7rem;border:1px solid var(--border-strong);border-radius:var(--radius-sm);font-family:inherit;font-size:.875rem;color:var(--text);background:var(--surface)}.form-group textarea{min-height:80px;resize:vertical}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:2px solid var(--primary);outline-offset:-1px;border-color:var(--primary)}.dropzone{border:2px dashed var(--border-strong);border-radius:var(--radius);padding:2rem 1rem;text-align:center;background:var(--surface-2);cursor:pointer;transition:border-color .15s,background .15s}.dropzone:hover{border-color:var(--primary);background:rgba(10,102,194,.04)}.dropzone .big{font-size:1rem;font-weight:500;color:var(--text);margin-bottom:.3rem}.dropzone .small{font-size:.8rem;color:var(--text-muted)}.collapsible{border:1px solid var(--border);border-radius:var(--radius);margin-bottom:1rem;overflow:hidden;background:var(--surface)}.collapsible summary{padding:.85rem 1rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.4rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.collapsible summary:hover{background:var(--surface-2)}.collapsible[open] summary{border-bottom:1px solid var(--border)}.collapsible .body{padding:1rem}.form-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:1rem;gap:1rem}@media (max-width:600px){.form-row{grid-template-columns:1fr}}.form-actions{display:flex;gap:.5rem;justify-content:flex-end;padding-top:1rem;border-top:1px solid var(--border);margin-top:1rem}.verified-badge{display:inline-flex;align-items:center;gap:.2rem;font-size:.7rem;font-weight:600;color:var(--success);background:rgba(16,163,127,.1);border:1px solid rgba(16,163,127,.25);padding:.1rem .45rem;border-radius:999px}.verified-badge.lg{font-size:.78rem;padding:.2rem .6rem}.verified-badge:before{content:"✓";font-weight:700}.verification-group{margin-bottom:1rem}.verification-group:last-child{margin-bottom:0}.verification-group-title{display:flex;align-items:center;gap:.5rem;font-size:.85rem;font-weight:600;color:var(--text);margin-bottom:.5rem}.verification-group-title .count{background:var(--surface-2);color:var(--text-muted);font-size:.7rem;padding:.1rem .45rem;border-radius:999px}.verification-item{display:flex;gap:.6rem;padding:.6rem .75rem;background:var(--surface-2);border-radius:var(--radius-sm);margin-bottom:.4rem;align-items:flex-start}.verification-item:last-child{margin-bottom:0}.verification-item .body{flex:1 1;min-width:0}.verification-item .who{font-size:.82rem;font-weight:600}.verification-item .when{font-size:.72rem;color:var(--text-muted)}.verification-item .note{font-size:.82rem;color:var(--text);margin-top:.2rem}.attest-row{display:flex;gap:.5rem;flex-wrap:wrap;padding-top:.75rem;margin-top:.5rem;border-top:1px dashed var(--border)}.attest-row .hint{width:100%;font-size:.72rem;color:var(--text-faint);margin-bottom:.4rem}.simlink{display:flex;gap:.85rem;align-items:stretch;padding:.75rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);margin-bottom:.6rem}.simlink:last-child{margin-bottom:0}.simlink-badge{width:70px;flex-shrink:0;border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.78rem;color:#fff;text-align:center;line-height:1.1;padding:.5rem}.simlink-badge.tidy3d{background:linear-gradient(135deg,#06b6d4,#0891b2)}.simlink-badge.photonforge{background:linear-gradient(135deg,#7c3aed,#5b21b6)}.simlink-badge.colab{background:linear-gradient(135deg,#f9ab00,#e08c00);color:#2a2a2a}.simlink-badge.verge{background:linear-gradient(135deg,#dc2626,#991b1b)}.simlink-badge.generic{background:linear-gradient(135deg,#5a6675,#3a4452)}.simlink-body{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:.15rem}.simlink-title{font-weight:600;font-size:.9rem;color:var(--text)}.simlink-desc{font-size:.8rem;color:var(--text-muted)}.simlink-url{font-size:.72rem;color:var(--text-faint);font-family:var(--font-mono);margin-top:.2rem;word-break:break-all}.simlink-actions{display:flex;flex-direction:column;gap:.35rem;justify-content:center;flex-shrink:0}.simlink-embed{margin-top:.5rem;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;background:var(--surface-2)}.simlink-embed iframe{width:100%;height:360px;border:0;display:block;background:#fff}.simlink-embed-note{background:rgba(217,119,6,.08);border-top:1px solid rgba(217,119,6,.25);color:var(--warning);font-size:.75rem;padding:.4rem .6rem}.comment-thread{display:flex;flex-direction:column;gap:.85rem}.comment{display:flex;gap:.7rem}.comment-body{flex:1 1;background:var(--surface-2);border-radius:var(--radius-sm);padding:.55rem .8rem;min-width:0}.comment-meta{font-size:.78rem;color:var(--text-muted);margin-bottom:.2rem}.comment-meta .name{color:var(--text);font-weight:600}.comment-meta .name a,.comment-text{color:var(--text)}.comment-text{font-size:.88rem;white-space:pre-wrap;word-break:break-word;line-height:1.5}.comment-actions{margin-top:.35rem;display:flex;gap:.75rem}.comment-actions button{font-size:.74rem;color:var(--text-muted);background:none;border:none;padding:0;cursor:pointer;font-family:inherit}.comment-actions button:hover{color:var(--primary);text-decoration:underline}.comment-replies{margin-top:.6rem;margin-left:1.5rem;padding-left:.85rem;border-left:2px solid var(--border);display:flex;flex-direction:column;gap:.6rem}.comment-compose,.reply-compose{display:flex;gap:.6rem;align-items:flex-start}.comment-compose{margin-top:1rem;padding-top:.85rem;border-top:1px dashed var(--border)}.reply-compose{margin-top:.5rem}.comment-compose textarea,.reply-compose textarea{flex:1 1;padding:.55rem .7rem;border:1px solid var(--border-strong);border-radius:var(--radius-sm);font-family:inherit;font-size:.875rem;color:var(--text);background:var(--surface);min-height:56px;resize:vertical}.reply-compose textarea{min-height:44px;font-size:.82rem}.comment-compose textarea:focus,.reply-compose textarea:focus{outline:2px solid var(--primary);outline-offset:-1px;border-color:var(--primary)}.comment-compose-actions,.reply-compose-actions{display:flex;flex-direction:column;gap:.4rem}.comment-count-badge{display:inline-flex;align-items:center;gap:.25rem;font-size:.78rem;color:var(--text-muted);background:var(--surface-2);padding:.15rem .55rem;border-radius:999px;border:1px solid var(--border)}.comment-count-badge:before{content:"💬";font-size:.85rem}.foundry-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:.25rem 1rem;gap:.25rem 1rem;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:.6rem .8rem}@media (max-width:600px){.foundry-grid{grid-template-columns:1fr}}.callout{background:rgba(10,102,194,.06);border-left:3px solid var(--primary);padding:.75rem 1rem;border-radius:var(--radius-sm);font-size:.85rem;color:var(--text);margin-bottom:1.25rem}.profile-header{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.75rem;display:flex;gap:1.5rem;align-items:center;margin-bottom:1.5rem}.avatar-lg{width:80px;height:80px;font-weight:700;font-size:1.8rem;flex-shrink:0}.avatar-lg,.avatar-sm{border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;display:inline-flex;align-items:center;justify-content:center}.avatar-sm{width:22px;height:22px;font-weight:600;font-size:.7rem}.profile-name{font-size:1.4rem;font-weight:700;margin:0 0 .15rem}.profile-handle{color:var(--text-muted);font-size:.9rem;margin-bottom:.5rem}.profile-bio{color:var(--text);font-size:.9rem;max-width:540px}.profile-orcid{font-size:.75rem;color:var(--text-muted);margin-top:.4rem;font-family:var(--font-mono)}.stat-row{display:flex;gap:2rem;margin-top:1rem}.stat{color:var(--text-muted);font-size:.8rem}.stat .value{color:var(--text);font-size:1.4rem;font-weight:700;display:block}.empty-state{text-align:center;padding:3rem 1rem}.empty-state,.muted{color:var(--text-muted)}.mono{font-family:var(--font-mono);font-size:.85em}.divider{height:1px;background:var(--border);margin:1rem 0;border:none}.icon-dl:before{content:"↓";font-weight:700}