:root{--color-text:#1a1a1a;--color-text-secondary:#525252;--color-text-tertiary:#737373;--color-text-muted:#8a8a8a;--color-primary:#e05a00;--color-primary-hover:#c44e00;--color-primary-light:#f0b68a;--color-success:#e05a00;--color-success-hover:#c44e00;--color-error:#dc2626;--color-error-dark:#b91c1c;--color-bg:#f5f1ed;--color-bg-card:#faf9f7;--color-bg-hover:#f5f4f2;--color-border:#e5e4e1;--color-border-input:#d4d3d0;--color-tooltip-bg:#292524;--color-badge:#eeeded;--color-stage-fill:#e05a00;--color-stage-empty:#ece8e3;--color-stage-text:#7a4a20;--color-stage-text-high:#fff;--color-status-not-yet-bg:#f5f0eb;--color-status-not-yet-text:#8a7560;--color-status-recruiting-bg:#fce8d5;--color-status-recruiting-text:#9a4a00;--color-status-active-bg:#e05a00;--color-status-active-text:#fff;--color-status-completed-bg:#292524;--color-status-completed-text:#fff;--color-chart-grid:#e5e4e1;--color-shadow:rgba(0,0,0,.1);--color-shadow-focus:rgba(224,90,0,.12);--color-shadow-hover:rgba(26,26,26,.08)}[data-theme=dark]{--color-text:#e5e4e1;--color-text-secondary:#a8a8a4;--color-text-tertiary:#8a8a86;--color-text-muted:#7a7a76;--color-primary:#f0762a;--color-primary-hover:#e05a00;--color-primary-light:#5c3a1a;--color-success:#f0762a;--color-success-hover:#e05a00;--color-error:#ef4444;--color-error-dark:#dc2626;--color-bg:#1a1918;--color-bg-card:#242320;--color-bg-hover:#2e2d2a;--color-border:#3a3936;--color-border-input:#4a4944;--color-tooltip-bg:#e5e4e1;--color-badge:#33322f;--color-stage-fill:#f0762a;--color-stage-empty:#2e2a24;--color-stage-text:#d4a870;--color-stage-text-high:#fff;--color-status-not-yet-bg:#302a22;--color-status-not-yet-text:#c4a880;--color-status-recruiting-bg:#3d2a10;--color-status-recruiting-text:#f0a050;--color-status-active-bg:#f0762a;--color-status-active-text:#fff;--color-status-completed-bg:#d4d3d0;--color-status-completed-text:#1a1a1a;--color-chart-grid:#3a3936;--color-shadow:rgba(0,0,0,.3);--color-shadow-focus:rgba(240,118,42,.2);--color-shadow-hover:rgba(0,0,0,.2);color-scheme:dark}*{box-sizing:border-box}.skip-to-content{position:absolute;left:-9999px;top:0;z-index:1000;padding:8px 16px;background:var(--color-bg-card);color:var(--color-primary);font-size:14px;text-decoration:none}.skip-to-content:focus{left:8px;top:8px}body{margin:0;font-family:Inter,system-ui,sans-serif;font-weight:400;background:var(--color-bg);color:var(--color-text)}a{color:inherit;text-decoration:none}.page{max-width:1200px;margin:0 auto;padding:48px 24px;min-height:calc(100vh - 64px - 73px)}.global-header{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid var(--color-border);background:var(--color-bg-card);position:-webkit-sticky;position:sticky;top:0;z-index:20}.header-left,.header-right{min-width:140px;flex-shrink:0}.header-right{display:flex;justify-content:flex-end}.header-brand{font-size:20px;font-weight:700;display:flex;align-items:center;color:var(--color-primary)}.header-brand-icon{display:none}.header-brand-icon svg{display:block}.auth-loading,.header-right .btn{display:inline-block;border-radius:4px;padding:8px 16px;background:var(--color-border);font-size:14px;min-width:108px;text-align:center;box-sizing:border-box}.account-menu{position:relative}.account-menu-trigger{border-radius:4px;padding:8px 16px;background:var(--color-border);font-size:14px;border:none;cursor:pointer;color:var(--color-text)}.account-menu-dropdown{position:absolute;right:0;top:calc(100% + 4px);background:var(--color-bg);border:1px solid var(--color-border);border-radius:4px;min-width:180px;z-index:100;box-shadow:0 2px 8px var(--color-shadow)}.account-menu-item{display:flex;align-items:center;gap:8px;width:100%;padding:10px 14px;border:none;background:transparent;font-size:14px;color:var(--color-text);cursor:pointer;text-decoration:none;text-align:left}.account-menu-item:hover{background:var(--color-border)}.auth-loading{color:var(--color-text-muted)}.account-page{max-width:600px;margin:0 auto;padding:32px 16px}.account-page h1{font-size:24px;margin-bottom:32px;color:var(--color-primary)}.account-section{margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid var(--color-border)}.account-section:last-child{border-bottom:none}.account-section h2{font-size:16px;font-weight:600;margin-bottom:12px;color:var(--color-text-secondary)}.account-field label{font-size:12px;color:var(--color-text-tertiary);text-transform:uppercase;letter-spacing:.05em}.account-field p{margin-top:4px;color:var(--color-text)}.placeholder-text{color:var(--color-text-muted);font-size:14px}.watches-subtitle{color:var(--color-text-tertiary);margin-bottom:24px}.watches-list{display:flex;flex-direction:column;gap:12px}.watch-card{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px;background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:8px}.watch-card-content{flex:1 1;min-width:0}.watch-card-title{display:block;font-weight:500;margin-bottom:8px;color:var(--color-text)}.watch-card-title:hover{color:var(--color-primary)}.watch-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.watch-card-id{font-size:12px;color:var(--color-text-tertiary)}.unwatch-btn{flex-shrink:0}.watches-footer{margin-top:32px;padding-top:16px;border-top:1px solid var(--color-border)}.back-link{color:var(--color-text-tertiary);font-size:14px;cursor:pointer;background:none;border:none;padding:0;font-family:inherit}.back-link:hover{color:var(--color-text)}.error-text{color:var(--color-error)}.hero{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}.app-title{font-size:56px;margin:0;letter-spacing:-.02em;color:var(--color-primary)}.subtitle{margin:0;color:var(--color-text-secondary);font-size:18px}.searchbox{position:relative;width:min(720px,100%)}.searchbox-input{width:100%;padding:16px 50px 16px 18px;border-radius:4px;border:1px solid var(--color-border-input);font-size:18px;outline:2px solid transparent;background:var(--color-bg-card)}.searchbox-placeholder{position:absolute;left:18px;top:50%;transform:translateY(-50%);font-size:18px;color:var(--color-text-muted);pointer-events:none}.searchbox-placeholder-long{display:none}@media (min-width:640px){.searchbox-placeholder-short{display:none}.searchbox-placeholder-long{display:inline}}.searchbox-input:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-shadow-focus)}.searchbox-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:none;padding:8px;cursor:pointer;color:var(--color-text-tertiary);display:flex;align-items:center;justify-content:center;border-radius:4px}.searchbox-btn:hover{color:var(--color-primary);background:var(--color-bg-hover)}.searchbox-dropdown{position:absolute;top:calc(100% + 8px);left:0;right:0;background:var(--color-bg);border:1px solid var(--color-border);border-radius:4px;overflow:hidden;z-index:10}.searchbox-row{width:100%;padding:12px 16px;border:none;background:transparent;cursor:pointer;text-align:left;display:flex;flex-direction:column;gap:4px}.searchbox-row.active,.searchbox-row:hover{background:var(--color-border)}.searchbox-row.view-all{border-top:1px solid var(--color-border);font-weight:600}.searchbox-row.error{color:var(--color-error-dark)}.searchbox-title{font-size:14px;font-weight:600;color:var(--color-text)}.searchbox-badges{display:flex;flex-wrap:wrap;gap:6px}.searchbox-meta{font-size:12px;color:var(--color-text-tertiary)}.filters-compact{width:min(900px,100%);display:flex;flex-direction:column;gap:12px;align-items:center}.filters-group{width:100%}.filters-label{font-size:12px;color:var(--color-text-tertiary);text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px}.filters-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.chip{border:1px solid var(--color-border-input);border-radius:4px;padding:6px 12px;background:var(--color-bg-card);font-size:12px;cursor:pointer}.chip.active{background:var(--color-primary);color:var(--color-bg-card);border-color:var(--color-primary)}.filters-actions{display:flex;justify-content:center}.link{background:none;border:none;color:var(--color-primary);cursor:pointer;font-size:14px;padding:0}.search-header{display:flex;flex-direction:column;gap:16px;margin-bottom:24px}.search-brand{font-size:24px;font-weight:700;color:var(--color-primary)}.search-layout{display:grid;grid-template-columns:280px 1fr;grid-gap:24px;gap:24px;align-items:start}.sidebar{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:4px;padding:16px;position:-webkit-sticky;position:sticky;top:80px;max-height:calc(100vh - 96px);overflow-y:auto}.filters-full{display:flex;flex-direction:column;gap:16px}.filters-header{display:flex;justify-content:space-between;align-items:center}.filters-title{font-weight:600}.filters-section{gap:8px}.filters-options,.filters-section{display:flex;flex-direction:column}.filters-options{gap:6px}.checkbox{display:flex;align-items:center;gap:8px;font-size:14px}.filters-select{padding:8px 12px;border:1px solid var(--color-border-input);border-radius:4px;font-size:14px;background:var(--color-bg-card)}.filters-sort-row{display:flex;gap:4px}.filters-select-sort{flex:1 1;min-width:0}.filters-sort-dir{padding:8px 10px;border:1px solid var(--color-border-input);border-radius:4px;font-size:14px;background:var(--color-bg-card);cursor:pointer;line-height:1}.filters-sort-dir:hover:not(:disabled){background:var(--color-bg-hover)}.filters-sort-dir:disabled{opacity:.4;cursor:not-allowed}.filters-input{padding:8px 12px;border:1px solid var(--color-border-input);border-radius:4px;font-size:14px;width:100%}.filters-range{display:flex;align-items:center;gap:8px}.filters-range span{color:var(--color-text-tertiary);font-size:14px}.filters-range .filters-input{flex:1 1;min-width:0}.active-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.filter-tag{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;background:var(--color-border);border:none;border-radius:4px;font-size:13px;font-family:inherit;color:var(--color-text-secondary);cursor:pointer}.filter-tag:hover{background:var(--color-border-input);color:var(--color-text)}.filter-tag-remove{font-size:16px;color:transparent;line-height:1}.filter-tag:hover .filter-tag-remove{color:var(--color-text-tertiary)}.results-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;color:var(--color-text-secondary)}.results-list{display:flex;flex-direction:column;gap:12px}.result-card{padding:16px;border-radius:4px;border:1px solid var(--color-border);background:var(--color-bg-card);transition:border-color .15s ease,box-shadow .15s ease}.result-card:hover{border-color:var(--color-primary-light);box-shadow:0 12px 24px var(--color-shadow-hover)}.result-title{font-weight:600;font-size:16px;margin-bottom:8px}.result-badges{gap:6px}.result-badges,.result-meta{display:flex;flex-wrap:wrap;margin-bottom:8px}.result-meta{gap:8px;color:var(--color-text-tertiary);font-size:12px}.results-empty,.results-error{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:4px;padding:16px;color:var(--color-error-dark)}.pagination{display:flex;gap:8px;margin-top:16px}.btn{border-radius:4px;padding:8px 16px;border:none;cursor:pointer}.btn.secondary{background:var(--color-border);color:var(--color-text)}.btn.secondary:disabled{opacity:.5;cursor:not-allowed}.status-badge{padding:4px 10px;border-radius:4px;font-size:12px;font-weight:400;background:var(--color-border);color:var(--color-text);white-space:nowrap;position:relative;overflow:hidden;border:1px solid var(--color-stage-fill)}.status-badge:before{content:attr(data-label);position:absolute;inset:0;padding:inherit;color:var(--color-stage-text-high);-webkit-clip-path:inset(0 var(--status-clip-right,100%) 0 0);clip-path:inset(0 var(--status-clip-right,100%) 0 0)}.status-not-yet{--status-clip-right:75%;background:linear-gradient(to right,var(--color-stage-fill) 25%,var(--color-stage-empty) 25%);color:var(--color-stage-text)}.status-enrolling,.status-recruiting{--status-clip-right:50%;background:linear-gradient(to right,var(--color-stage-fill) 50%,var(--color-stage-empty) 50%);color:var(--color-stage-text)}.status-active{--status-clip-right:25%;background:linear-gradient(to right,var(--color-stage-fill) 75%,var(--color-stage-empty) 75%);color:var(--color-stage-text)}.status-completed{--status-clip-right:0%;background:var(--color-stage-fill);color:var(--color-stage-text-high)}.status-suspended,.status-terminated,.status-withdrawn{background:var(--color-bg-card);color:var(--color-error);border:1px solid var(--color-error)}.status-unknown{background:var(--color-border);color:var(--color-text-secondary)}.registry-badge,.study-type-badge{padding:4px 10px;border-radius:4px;font-size:12px;background:var(--color-badge);color:var(--color-text-secondary);white-space:nowrap}.agency-badge,.gender-badge{padding:4px 10px;border-radius:4px;font-size:12px;background:var(--color-border);color:var(--color-text);white-space:nowrap}.agency-fed,.agency-gov,.agency-indiv,.agency-industry,.agency-network,.agency-nih,.agency-other{background:var(--color-badge);color:var(--color-text-secondary)}.phase-badge{padding:4px 10px;border-radius:4px;font-size:12px;font-weight:400;background:var(--color-border);color:var(--color-text);white-space:nowrap;position:relative;overflow:hidden;border:1px solid var(--color-stage-fill)}.phase-badge:before{content:attr(data-label);position:absolute;inset:0;padding:inherit;color:var(--color-stage-text-high);-webkit-clip-path:inset(0 var(--phase-clip-right,100%) 0 0);clip-path:inset(0 var(--phase-clip-right,100%) 0 0)}.phase-early_phase1{--phase-clip-right:90%;background:linear-gradient(to right,var(--color-stage-fill) 10%,var(--color-stage-empty) 10%);color:var(--color-stage-text)}.phase-phase1{--phase-clip-right:67%;background:linear-gradient(to right,var(--color-stage-fill) 33%,var(--color-stage-empty) 33%)}.phase-phase1,.phase-phase2{color:var(--color-stage-text)}.phase-phase2{--phase-clip-right:34%;background:linear-gradient(to right,var(--color-stage-fill) 66%,var(--color-stage-empty) 66%)}.phase-phase3,.phase-phase4{--phase-clip-right:0%;background:var(--color-stage-fill);color:var(--color-stage-text-high)}.phase-list{display:flex;flex-wrap:wrap;gap:8px}.trial-header{margin-bottom:24px}.trial-title{margin:0 0 8px;font-size:28px}.trial-subtitle{margin:0;color:var(--color-text-secondary)}.header-search-wrapper{flex:1 1;max-width:500px;margin:0 24px}.header-search-wrapper .searchbox{width:100%}.header-search-wrapper .searchbox-input{padding:10px 14px;font-size:14px}.header-search-wrapper .searchbox-placeholder{left:14px;font-size:14px}.trial-subtitle-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.trial-subtitle-row .trial-subtitle{flex:1 1}.trial-subtitle-row .watch-container{flex-shrink:0}@media (max-width:640px){.header-brand-text{display:none}.header-brand-icon{display:flex}.trial-subtitle-row{flex-direction:column;gap:12px}.trial-subtitle-row .watch-container{align-self:flex-end}.header-search-wrapper{margin:0 8px}.header-left{min-width:0}.header-right{min-width:100px}}.watch-container{display:flex;flex-direction:row;align-items:center;gap:6px}.watch-btn{white-space:nowrap;padding:6px 12px;font-size:13px;gap:4px;transition:all .2s ease}.watch-btn,.watch-btn .watch-icon{display:inline-flex;align-items:center;justify-content:center}.watch-btn .watch-icon{width:14px;height:14px;flex-shrink:0}.watch-btn .watch-icon:empty{display:none}.watch-btn.watched{background:var(--color-success);border-color:var(--color-success);color:var(--color-bg-card)}.watch-btn.watched:hover:not(:disabled){background:var(--color-success-hover);border-color:var(--color-success-hover)}.watch-spinner{width:14px;height:14px;animation:spin .8s linear infinite}.watch-check{width:14px;height:14px;animation:pop .3s ease}@keyframes spin{to{transform:rotate(1turn)}}@keyframes pop{0%{transform:scale(0);opacity:0}50%{transform:scale(1.2)}to{transform:scale(1);opacity:1}}.watch-help{position:relative;display:inline-flex;align-items:center}.watch-info-icon{color:var(--color-text-muted);cursor:help}.watch-help:hover .watch-info-icon{color:var(--color-text-tertiary)}.watch-help-tooltip{display:none;position:absolute;right:0;top:100%;margin-top:6px;padding:6px 10px;background:var(--color-tooltip-bg);color:var(--color-bg-card);font-size:11px;line-height:1.4;border-radius:4px;width:200px;z-index:10}.watch-help:hover .watch-help-tooltip{display:block}.watch-error{font-size:12px;color:var(--color-error)}.trial-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));grid-gap:16px;gap:16px;padding:16px;border-radius:4px;background:var(--color-bg-card);border:1px solid var(--color-border);margin-bottom:24px}.label{font-size:12px;color:var(--color-text-tertiary);text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}.trial-content-wrapper{display:grid;grid-template-columns:200px 1fr;grid-gap:32px;gap:32px;align-items:start}.trial-main-content{min-width:0}.trial-nav-sidebar{position:-webkit-sticky;position:sticky;top:80px;max-height:calc(100vh - 96px);overflow-y:auto;display:flex;flex-direction:column;gap:2px}.trial-nav-link{display:block;padding:6px 12px;font-size:13px;color:var(--color-text-tertiary);text-decoration:none;border-radius:4px;border-left:2px solid transparent}.trial-nav-link:hover{color:var(--color-text);background:var(--color-bg-hover)}.trial-nav-link.active{color:var(--color-primary);border-left-color:var(--color-primary);font-weight:500}.trial-section{margin-bottom:24px;scroll-margin-top:80px}.trial-section p{white-space:pre-wrap}@media (min-width:901px){details.trial-section>summary{list-style:none;cursor:default;pointer-events:none}details.trial-section>summary::-webkit-details-marker{display:none}details.trial-section>summary::marker{display:none;content:""}details.trial-section:not([open]){display:none}}@media (max-width:900px){.trial-content-wrapper{grid-template-columns:1fr}.trial-nav-sidebar{display:none}details.trial-section{border:1px solid var(--color-border);border-radius:4px;background:var(--color-bg-card);margin-bottom:12px}details.trial-section>summary{padding:14px 16px;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between}details.trial-section>summary::-webkit-details-marker{display:none}details.trial-section>summary::marker{display:none;content:""}details.trial-section>summary:after{content:"+";font-size:18px;font-weight:300;color:var(--color-text-tertiary);flex-shrink:0;margin-left:12px}details.trial-section[open]>summary:after{content:"\2212"}details.trial-section>summary h2{margin:0;font-size:15px}.trial-section-content{padding:0 16px 16px}}.tag-list{display:flex;flex-wrap:wrap;gap:8px}.tag{background:var(--color-border);border-radius:4px;padding:6px 12px;font-size:12px}.table-scroll{overflow-x:auto}.table-scroll .participant-table{max-width:none}.participant-table{width:100%;max-width:400px;border-collapse:collapse;font-size:14px}.participant-table td,.participant-table th{padding:10px 12px;text-align:left;border-bottom:1px solid var(--color-border)}.participant-table th{font-size:12px;color:var(--color-text-tertiary);text-transform:uppercase;letter-spacing:.08em;font-weight:500}.participant-table td.count{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.participant-table tfoot td{font-weight:600;border-bottom:none;border-top:2px solid var(--color-border-input)}.masking-who{color:var(--color-text-secondary)}.outcomes-list{display:flex;flex-direction:column;gap:20px}.outcome-group{margin-bottom:20px}.outcome-group:last-child{margin-bottom:0}.outcome-group-heading{margin:0 0 8px}.outcome-card{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:4px;padding:16px}.outcome-header{margin-bottom:12px}.outcome-type{display:inline-block;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;padding:3px 8px;border-radius:4px;background:var(--color-border);color:var(--color-text-secondary);margin-bottom:6px}.outcome-type-primary{background:var(--color-primary);color:var(--color-stage-text-high)}.outcome-type-secondary{background:transparent;color:var(--color-primary);outline:1px solid var(--color-primary)}.outcome-type-other-pre-specified,.outcome-type-post-hoc,.outcome-type-unknown{background:var(--color-badge);color:var(--color-text-secondary)}.outcome-title{margin:0;font-size:16px;font-weight:600}.outcome-description{margin:0 0 12px;color:var(--color-text-secondary);font-size:14px;white-space:pre-wrap}.outcome-timeframe{margin:0 0 12px;font-size:13px;color:var(--color-text-tertiary)}.outcome-timeframe .label{display:inline;margin-bottom:0}.outcome-table{width:100%;border-collapse:collapse;font-size:14px;margin-bottom:12px}.outcome-table td,.outcome-table th{padding:8px 12px;text-align:left;border-bottom:1px solid var(--color-border)}.outcome-table th{font-size:12px;color:var(--color-text-tertiary);text-transform:uppercase;letter-spacing:.08em;font-weight:500}.outcome-table td.value{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.outcome-analyses{background:var(--color-bg);border-radius:4px;padding:10px 12px;font-size:13px}.analysis-row{display:flex;flex-wrap:wrap;gap:16px}.analysis-item{color:var(--color-text-secondary)}.analysis-label{font-weight:500;color:var(--color-text-tertiary)}.analysis-method{font-style:italic;color:var(--color-text-tertiary)}.papers-list{display:flex;flex-direction:column;gap:16px}.paper-card{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:4px;padding:16px}.paper-title{font-size:15px;font-weight:600;margin-bottom:6px;line-height:1.4}.paper-title a{color:var(--color-primary);text-decoration:none}.paper-title a:hover{text-decoration:underline}.paper-authors{font-size:13px;color:var(--color-text-secondary);margin-bottom:8px;line-height:1.4}.paper-meta{display:flex;flex-wrap:wrap;gap:12px;font-size:13px;color:var(--color-text-tertiary)}.paper-journal{font-style:italic}.paper-citations{color:var(--color-success);font-weight:500}.paper-doi{font-size:12px;margin-top:8px}.paper-doi a{color:var(--color-text-tertiary);text-decoration:none}.paper-doi a:hover{text-decoration:underline}.no-papers{color:var(--color-text-tertiary);font-style:italic}.papers-coverage-notice{margin-top:16px;padding:12px;background:var(--color-status-recruiting-bg);border:1px solid var(--color-primary-light);border-radius:4px;font-size:13px;color:var(--color-status-recruiting-text)}.trial-acronym{font-size:14px;font-weight:600;color:var(--color-text-tertiary);margin-top:-4px;margin-bottom:4px}.detail-card-list{display:flex;flex-direction:column;gap:8px}.detail-card{padding:10px 14px;border:1px solid var(--color-border);border-radius:4px}.detail-card-header{display:flex;align-items:baseline;gap:8px}.detail-card-type{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;padding:2px 6px;border-radius:3px;background:var(--color-badge);color:var(--color-text-secondary);white-space:nowrap}.detail-card-name{font-size:14px;font-weight:400}.detail-card-description{margin:6px 0 0;font-size:14px;color:var(--color-text-secondary);white-space:pre-wrap}.detail-card-meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px;font-size:13px;color:var(--color-text-tertiary)}.eligibility-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));grid-gap:16px;gap:16px;padding:16px;border-radius:4px;background:var(--color-bg-card);border:1px solid var(--color-border);margin-bottom:16px}.criteria-block{margin-top:16px}.criteria-block h3{font-size:14px;font-weight:600;margin:0 0 8px}.criteria-block p{font-size:14px;color:var(--color-text-secondary);white-space:pre-wrap;margin:0}.arm-description{font-size:12px;color:var(--color-text-tertiary);margin-top:2px}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.skeleton{background:linear-gradient(90deg,var(--color-border) 25%,var(--color-bg-hover) 50%,var(--color-border) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:4px}.skeleton-card{pointer-events:none}.skeleton-title{height:20px;width:70%;margin-bottom:8px}.skeleton-badge{height:24px;width:80px}.skeleton-meta{height:14px;width:40%}@media (max-width:900px){.search-layout{grid-template-columns:1fr}}@media (max-width:640px){.trial-title{font-size:20px}.sidebar{display:none;position:static;max-height:none;overflow-y:visible}.sidebar.open{display:block}.filters-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 16px;background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;margin-bottom:16px}.filters-toggle-icon{transition:transform .2s ease}.filters-toggle-icon.open{transform:rotate(180deg)}}@media (min-width:641px){.filters-toggle{display:none}}.error-page{display:flex;align-items:center;justify-content:center;min-height:calc(100vh - 64px);padding:24px;text-align:center}.error-content{max-width:400px}.error-code{font-size:72px;font-weight:700;margin:0 0 8px;color:var(--color-error)}.error-title{font-size:24px;margin:0 0 16px;color:var(--color-primary)}.error-message{color:var(--color-text-tertiary);margin-bottom:24px}.error-actions{display:flex;gap:12px;justify-content:center}.stats-page{max-width:1200px}.stats-heading{font-size:28px;margin:0 0 24px;color:var(--color-text)}.subtle-link{color:inherit;text-decoration:none;border-bottom:1px dashed var(--color-text-muted)}.subtle-link:hover{border-bottom-color:var(--color-text)}.global-footer{border-top:1px solid var(--color-border);padding:24px;text-align:center;font-size:13px}.global-footer,.global-footer a{color:var(--color-text-tertiary)}.global-footer a{text-decoration:none}.global-footer a:hover{color:var(--color-text)}.footer-sep{margin:0 8px;color:var(--color-border-input)}.legal-page{max-width:720px}.legal-page h1{font-size:24px;margin:0 0 32px}.legal-page h2{font-size:17px;margin:32px 0 8px}.legal-page p,.legal-page ul{color:var(--color-text-secondary);font-size:15px;line-height:1.6;margin:0 0 12px}.legal-page ul{padding-left:24px}.legal-page li{margin-bottom:4px}.disclaimer{font-size:12px;margin:0 0 16px}.disclaimer,.disclaimer a{color:var(--color-text-muted)}.disclaimer a{text-decoration:underline}.trial-attribution{font-size:12px;color:var(--color-text-muted);margin:0 0 16px}.unsub-page{max-width:600px;margin:0 auto;padding:60px 20px;text-align:center}.unsub-page h1{margin-bottom:16px;color:var(--color-primary)}.unsub-page p{color:var(--color-text-tertiary);margin-bottom:24px}.unsub-page a{color:var(--color-primary)}.report-page{max-width:560px}.report-page h1{font-size:24px;margin:0 0 24px;color:var(--color-primary)}.report-field{margin-bottom:20px}.report-field label .required{color:var(--color-error)}.report-field label{display:block;font-size:13px;font-weight:500;color:var(--color-text-tertiary);margin-bottom:6px}.report-field input,.report-field textarea{width:100%;padding:10px 12px;border:1px solid var(--color-border);border-radius:4px;font-size:14px;font-family:inherit;color:var(--color-text);background:var(--color-bg-card);box-sizing:border-box}.report-field input:focus,.report-field textarea:focus{outline:2px solid transparent;border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-shadow-focus)}.report-field textarea{min-height:120px;resize:vertical}.report-char-count{margin-top:4px;font-size:12px;color:var(--color-primary);text-align:right}.report-submit{padding:10px 24px;background:var(--color-primary);color:var(--color-bg-card);border:none;border-radius:4px;font-size:14px;cursor:pointer}.report-submit:hover{background:var(--color-primary-hover)}.report-submit:disabled{opacity:.5;cursor:not-allowed}.report-success{color:var(--color-status-recruiting-text);background:var(--color-status-recruiting-bg)}.report-error,.report-success{padding:12px 16px;border-radius:4px;font-size:14px}.report-error{color:var(--color-error);background:var(--color-bg-card)}.stats-cards{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:16px;gap:16px;margin-bottom:32px}.stats-card{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:4px;padding:20px}.stats-card-value{font-size:28px;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--color-text);margin-bottom:4px}.stats-card-label{font-size:13px;color:var(--color-text-secondary);text-transform:uppercase;letter-spacing:.06em}.stats-section{margin-bottom:32px}.stats-section h2{font-size:18px;font-weight:600;margin:0 0 16px;color:var(--color-text)}.stats-chart-container{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:4px;padding:16px}.stats-charts-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:24px;gap:24px}.stats-table-wrap{overflow-x:auto}.stats-table{width:100%;border-collapse:collapse;font-size:14px;background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:4px}.stats-table td,.stats-table th{padding:10px 14px;text-align:left;border-bottom:1px solid var(--color-border)}.stats-table th{font-size:12px;color:var(--color-text-secondary);text-transform:uppercase;letter-spacing:.06em;font-weight:500;background:var(--color-bg)}.stats-table .right{text-align:right}.stats-table .tabular{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.stats-table .muted{color:var(--color-text-secondary);font-size:13px}@media (max-width:900px){.stats-charts-row{grid-template-columns:1fr}}@media (max-width:640px){.stats-cards{grid-template-columns:repeat(2,1fr)}}.btn.primary{background:var(--color-primary);color:var(--color-bg-card)}.btn.primary:hover{background:var(--color-primary-hover)}.theme-toggle{background:none;border:none;padding:4px;cursor:pointer;color:var(--color-text-tertiary);display:inline-flex;align-items:center;justify-content:center;border-radius:4px;vertical-align:middle}.theme-toggle:hover{color:var(--color-text)}.theme-toggle svg{display:block}.drug-page{max-width:900px}.drug-header{margin-bottom:8px}.drug-header h1{font-size:28px;font-weight:700;margin:0 0 8px}.drug-header-meta{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--color-text-secondary)}.drug-type-badge{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;padding:2px 8px;border-radius:3px;background:var(--color-badge);color:var(--color-text-secondary)}.drug-trial-count{font-weight:600}.drug-summary-section{margin-bottom:12px}.drug-summary-heading{font-size:13px;font-weight:600;color:var(--color-text-tertiary);text-transform:uppercase;letter-spacing:.05em;margin:0 0 4px}.drug-sponsors{font-size:14px;color:var(--color-text-secondary)}.drug-conditions-summary{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:24px}.expandable-more{font-size:13px;color:var(--color-primary);background:none;border:none;cursor:pointer;padding:3px 8px;font-weight:600}.expandable-more:hover{text-decoration:underline}.drug-pipeline{display:flex;flex-direction:column;gap:28px;margin-bottom:40px}.drug-phase-group{border-left:3px solid var(--color-border);padding-left:20px}.drug-phase-header{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:600;margin:0 0 12px}.drug-trial-list{display:flex;flex-direction:column;gap:8px}.drug-trial-card{display:block;padding:12px 14px;border:1px solid var(--color-border);border-radius:4px;background:var(--color-bg-card);transition:border-color .15s ease}.drug-trial-card:hover{border-color:var(--color-primary-light)}.drug-trial-title{font-size:14px;font-weight:600;margin-bottom:6px}.drug-trial-badges{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:4px}.drug-trial-id{font-size:12px;color:var(--color-text-tertiary);font-family:monospace}.drug-trial-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--color-text-secondary)}.drug-trial-meta span:before{content:"·";margin-right:8px;color:var(--color-text-tertiary)}.drug-trial-meta span:first-child:before{display:none}.drug-trial-dates{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--color-text-tertiary);margin-top:4px}.drug-section{margin-bottom:32px}.drug-section h2{font-size:18px;font-weight:600;margin:0 0 12px}.drug-conditions{display:flex;flex-wrap:wrap;gap:6px}.drug-condition-tag{font-size:13px;padding:3px 10px;border-radius:12px;background:var(--color-badge);color:var(--color-text-secondary)}.drug-papers{display:flex;flex-direction:column;gap:12px}.drug-paper{padding:10px 14px;border:1px solid var(--color-border);border-radius:4px}.drug-paper-title{font-size:14px;font-weight:500;margin-bottom:4px}.drug-paper-title a{color:var(--color-primary)}.drug-paper-title a:hover{text-decoration:underline}.drug-paper-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--color-text-tertiary)}.drug-paper-meta span:before{content:"·";margin-right:8px}.drug-paper-meta span:first-child:before{display:none}.drug-papers-more{font-size:13px;color:var(--color-text-tertiary)}.drug-card{display:block;padding:14px 16px;border:2px solid var(--color-primary-light);border-radius:6px;background:var(--color-bg-card);margin-bottom:16px;transition:border-color .15s ease}.drug-card:hover{border-color:var(--color-primary)}.drug-card-header{display:flex;align-items:center;gap:8px;margin-bottom:4px}.drug-card-name{font-size:16px;font-weight:700}.drug-card-type{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;padding:2px 6px;border-radius:3px;background:var(--color-badge)}.drug-card-meta,.drug-card-type{color:var(--color-text-secondary)}.drug-card-meta{font-size:14px;margin-bottom:2px}.drug-card-action{font-size:13px;color:var(--color-primary);font-weight:600}.searchbox-drug{border-bottom:1px solid var(--color-border)}.searchbox-drug-header{display:flex;align-items:center;gap:8px}.searchbox-drug-name{font-weight:700;font-size:14px}.searchbox-drug-type{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;padding:1px 5px;border-radius:3px;background:var(--color-badge);color:var(--color-text-secondary)}.detail-card-name a{color:var(--color-primary);text-decoration:none}.detail-card-name a:hover{text-decoration:underline}.filters-input-full{width:100%}@media (prefers-reduced-motion:reduce){.skeleton,.watch-check,.watch-spinner{animation:none}}