:root{--dark: #050F42;--offwhite: #F0ECE3;--blue: #0A3CA0}*{box-sizing:border-box}html,body{height:100%;margin:0;background:#fff;font-family:Tahoma,Arial,sans-serif;color:var(--dark)}.appShell{display:flex;min-height:100vh;background:#fff}.backdrop{position:fixed;inset:0;background:#050f421f;opacity:0;pointer-events:none;transition:opacity .24s ease;z-index:40}.backdrop.open{opacity:1;pointer-events:auto}.drawer{position:fixed;top:0;left:0;width:28rem;max-width:82vw;height:100vh;background:var(--offwhite);box-shadow:0 14px 48px #050f4238;transform:translate3d(calc(-28rem - 16px),0,0);opacity:0;pointer-events:none;transition:transform .78s cubic-bezier(.16,1,.3,1),opacity .26s ease;z-index:50}.drawer.open{transform:translateZ(0);opacity:1;pointer-events:auto}.drawerHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 14px 10px;border-bottom:1px solid rgba(5,15,66,.12)}.drawerTitle{font-weight:700;font-size:13.5pt}.drawerBtns{display:flex;gap:10px;align-items:center}.drawerBody{padding:12px 14px 24px;overflow-y:auto;height:calc(100vh - 56px)}.drawerCaption{padding:10px;background:#ffffff8c;border:1px solid rgba(5,15,66,.1);border-radius:12px;margin-bottom:12px}.captionSmall{font-size:10.5pt;opacity:.8}.captionKey{margin-top:6px;font-size:11.2pt;word-break:break-word}.main{flex:1;padding:14px 16px}.titleBlock{margin-top:4px}.title{font-size:19pt;font-weight:700;line-height:1.18}.subtitle{margin-top:10px;margin-bottom:14px;font-size:12.2pt;line-height:1.35}.row2,.row3{display:grid;gap:10px 14px;margin-bottom:10px;align-items:stretch}.row2{grid-template-columns:1fr 1fr}.row3{grid-template-columns:1fr 1fr 1fr}@media(max-width:1100px){.row2,.row3{grid-template-columns:1fr}}.ctl{display:flex;flex-direction:column;gap:6px;min-height:126px}.ctlLabel{font-size:11.2pt;font-weight:700}.select,.multi{border:1px solid rgba(5,15,66,.22);border-radius:12px;padding:10px 12px;font-size:11.4pt;outline:none;background:#fff;min-height:44px}.multi{min-height:88px}.multiShort{min-height:44px!important;height:44px!important}.multiTall{min-height:140px!important}.select:focus,.multi:focus{border-color:#0a3ca08c;box-shadow:0 0 0 4px #0a3ca01f}.chips{display:flex;flex-wrap:wrap;gap:8px;min-height:28px}.chip{border-radius:999px;padding:6px 10px;border:1px solid rgba(5,15,66,.2);font-size:10.8pt;background:#fff9}.btnPrimary{border:0;border-radius:12px;padding:10px 14px;background:var(--blue);color:#fff;font-weight:700;font-size:11.3pt;cursor:pointer;transition:transform .12s ease,filter .12s ease;white-space:nowrap}.btnPrimary:disabled{opacity:.6;cursor:default}.btnPrimary:hover{filter:brightness(1.03)}.btnPrimary:active{transform:translateY(1px)}.btnGhost{border:1px solid rgba(5,15,66,.2);border-radius:12px;padding:9px 12px;background:transparent;color:var(--dark);font-weight:700;font-size:11.2pt;cursor:pointer;transition:background .12s ease,transform .12s ease}.btnGhost:hover{background:#0a3ca00f}.btnGhost:active{transform:translateY(1px)}.plotWrap{width:100%;border-radius:16px;overflow:hidden}.infoBox{padding:10px 12px;border-radius:12px;border:1px solid rgba(5,15,66,.14);background:#aac6e924;margin:8px 0}.errBox{padding:10px 12px;border-radius:12px;border:1px solid rgba(194,62,0,.3);background:#c23e0014;margin:8px 0}.studyCard{background:#ffffffa6;border:1px solid rgba(5,15,66,.12);border-radius:14px;padding:12px;margin:10px 0}.studyTop{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start;margin-bottom:10px}.studyNum{width:28px;height:28px;border-radius:999px;background:#0a3ca01f;border:1px solid rgba(10,60,160,.25);display:grid;place-items:center;font-weight:700}.studyTitleText{font-weight:700;font-size:12pt;line-height:1.25}.studyAuthors{margin-top:4px;font-size:10.9pt;opacity:.85;line-height:1.25}.studyAbstract{font-size:11.2pt;line-height:1.35;white-space:pre-wrap}.studyApa{margin-top:10px;font-size:11pt;line-height:1.35;opacity:.95;background:#f0ece3b3;border:1px solid rgba(5,15,66,.1);border-radius:12px;padding:10px}.metaLine{margin:6px 0 12px;padding:10px 12px;border-radius:12px;border:1px solid rgba(5,15,66,.12);background:#f0ece3a6;font-size:11.4pt}
