:root{font-family:Inter,Arial,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#202124;background:#f4f1f7}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{border:0;cursor:pointer;max-width:100%;line-height:1.2;text-align:center;overflow-wrap:anywhere;white-space:normal}a{color:#356b5d;text-decoration:none}.aitabib-shell,.medrag-shell{height:100vh;display:grid;grid-template-rows:58px minmax(0,1fr);min-width:0}.topbar{display:grid;grid-template-columns:270px 1fr auto;align-items:center;gap:16px;padding:0 18px;background:#fff;border-bottom:1px solid #ded7e6}.topnav{min-width:0;overflow-x:auto;scrollbar-width:thin}.topnav button,.header-button{flex-shrink:0}.brand{display:flex;align-items:center;gap:10px;color:#20463e;background:transparent;text-align:left;padding:0}.brand span{display:grid;gap:1px}.brand strong{font-size:19px;line-height:1}.brand small{color:#6a6f77;font-size:12px}.topnav,.account-box,.header-actions,.chat-statusbar{display:flex;align-items:center;gap:8px}.nav-btn,.topnav button,.account-box button,.header-button,.sidebar-tabs button,.wide,.fallback-box button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:36px;border-radius:6px;padding:8px 12px;background:#eee8f3;color:#3d3745;font-weight:650}.nav-btn.active,.topnav button.active,.account-box button,.header-button.primary,.wide.primary{background:#356b5d;color:#fff}.balance-button{min-height:36px;border-radius:6px;padding:8px 12px;background:#e7f1ee;color:#20463e;font-weight:800;white-space:nowrap}.header-actions{justify-content:flex-end}.language-switch{display:inline-flex;gap:4px;padding:3px;border-radius:7px;background:#eee8f3}.language-switch button{min-width:36px;min-height:30px;border-radius:5px;background:transparent;color:#4b4653;font-weight:760}.language-switch button.active{background:#fff;color:#20463e}.chat-workspace{min-height:0;display:grid;grid-template-columns:460px minmax(0,1fr) 280px;gap:8px;padding:8px;background:#f4f1f7}.source-group{display:grid;gap:8px;margin-bottom:12px}.source-group h4{margin:4px 0 2px;font-size:13px;color:#356b5d}.source-info{display:grid;gap:3px}.source-info strong{font-size:13px;color:#1a3c34;word-break:break-word}.pmid-badge{display:inline-flex;font-size:11px;color:#356b5d;background:#e7f1ee;padding:2px 6px;border-radius:4px;width:fit-content;font-weight:600}.snippet{margin:0;font-size:11px;color:#59616b;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.table-responsive{width:100%;overflow-x:auto;margin:10px 0}.med-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.45;background:#fff;border:1px solid #ded7e6;border-radius:6px;overflow:hidden}.med-table th{background:#e0eee9;color:#1a3c34;font-weight:700;padding:8px 12px;text-align:left;border:1px solid #c6ddd5}.med-table td{padding:8px 12px;border:1px solid #e6e1eb;color:#2c3135}.med-table tr:nth-child(2n){background:#faf9fc}.msg-h3{margin:14px 0 6px;font-size:16px;color:#102820}.msg-h4{margin:10px 0 4px;font-size:14px;color:#356b5d}.msg-paragraph{margin:4px 0 8px;line-height:1.55}.msg-strong-block{display:block;margin:6px 0}.home-page,.page,.auth-page{min-height:0;overflow:auto;background:#f4f1f7}.home-page{padding:28px}.hero{min-height:390px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);align-items:center;gap:28px;max-width:1180px;margin:0 auto 24px}.eyebrow{display:inline-flex;margin-bottom:10px;color:#356b5d;font-weight:800;text-transform:uppercase;font-size:12px;letter-spacing:.04em}.hero h1{margin:0 0 12px;font-size:58px;line-height:1;color:#102820}.hero p{max-width:720px;margin:0;font-size:19px;line-height:1.55;color:#4f5660}.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:7px;padding:10px 16px;font-weight:760}.primary-button{background:#356b5d;color:#fff}.secondary-button{background:#eee8f3;color:#3d3745}.hero-panel{display:grid;gap:10px;align-content:center;min-height:260px;border-radius:8px;padding:24px;background:#fff;border:1px solid #ded7e6;color:#20463e}.hero-panel strong{font-size:24px}.hero-panel span{color:#626975}.feature-grid,.card-grid{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.pricing-section{max-width:1180px;margin:18px auto 0;padding:18px;border-radius:8px;border:1px solid #ded7e6;background:#fff}.pricing-section h2{margin:0 0 8px;color:#102820}.pricing-section p{margin:0 0 10px;color:#4f5660;line-height:1.55}.pricing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.pricing-grid article{display:grid;gap:4px;padding:14px;border-radius:7px;background:#e7f1ee;color:#20463e}.pricing-grid strong{font-size:22px}.legal-footer{max-width:1180px;margin:24px auto 0;padding:18px;display:grid;gap:12px;border:1px solid #ded7e6;border-radius:8px;background:#fff;color:#4f5660}.legal-footer nav{display:flex;flex-wrap:wrap;gap:8px}.legal-footer button,.legal-consent button{background:transparent;color:#356b5d;padding:0;text-decoration:underline;font-weight:700}.legal-page{padding:28px}.legal-page h1{margin:0 0 12px;color:#102820}.legal-lead{max-width:860px;color:#4f5660;line-height:1.55}.legal-layout{max-width:1180px;margin:20px auto 0;display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px}.legal-nav,.legal-content,.legal-section{min-width:0}.legal-nav{display:grid;align-content:start;gap:8px}.legal-nav button{min-height:38px;border-radius:6px;padding:8px 10px;text-align:left;background:#eee8f3;color:#3d3745;font-weight:700}.legal-nav button.active{background:#356b5d;color:#fff}.legal-content{display:grid;gap:14px}.legal-section{padding:18px;border:1px solid #ded7e6;border-radius:8px;background:#fff}.legal-section h2{margin:0 0 10px;font-size:20px;color:#102820}.legal-section p{margin:0 0 10px;line-height:1.6;color:#3e454d}.legal-section dl{display:grid;gap:8px;margin:0}.legal-section dl div{display:grid;grid-template-columns:180px minmax(0,1fr);gap:12px;padding:8px 0;border-bottom:1px solid #eee8f3}.legal-section dt{font-weight:760;color:#102820}.legal-section dd{margin:0;color:#4f5660;overflow-wrap:anywhere}.contacts-page{padding:28px}.contacts-inner{max-width:1180px;margin:0 auto;display:grid;gap:14px}.contacts-page h1{margin:0;color:#102820}.contacts-page .legal-lead{margin:0}.public-contact-content{max-width:1180px;margin:0}.guide-page{padding:28px}.guide-hero{max-width:1180px;margin:0 auto 18px;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:stretch}.guide-hero h1{margin:0 0 12px;color:#102820;font-size:clamp(34px,5vw,56px);line-height:1.04}.guide-hero p{max-width:860px;margin:0;color:#4f5660;font-size:18px;line-height:1.6}.guide-summary{display:grid;align-content:center;gap:10px;min-height:220px;padding:22px;border:1px solid #ded7e6;border-radius:8px;background:#fff;color:#20463e}.guide-summary strong{font-size:24px}.guide-summary span{color:#59616b;line-height:1.5}.guide-link-list{display:flex;flex-wrap:wrap;gap:8px}.guide-link-list button{min-height:32px;border-radius:6px;padding:7px 10px;background:#eee8f3;color:#20463e;font-weight:750;text-align:left}.guide-link-list button:hover,.guide-link-list button:focus-visible{background:#356b5d;color:#fff}.guide-chapter{max-width:1180px;margin:18px auto 0}.guide-chapter-head{display:flex;align-items:center;gap:10px;margin-bottom:12px;color:#20463e}.guide-chapter-head h2{margin:0;color:#102820;font-size:28px}.guide-section-grid{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1fr;gap:12px}.guide-section-card{min-width:0;padding:18px 20px;border:1px solid #ded7e6;border-radius:8px;background:#fff}.guide-section-card:last-child{grid-column:auto}.guide-section-card header{display:flex;align-items:center;gap:10px;color:#20463e}.guide-section-card h2{margin:0;color:#102820;font-size:22px}.guide-section-card h3{margin:0;color:#102820;font-size:20px}.guide-section-card ol{margin:14px 0 0;padding-left:22px;display:grid;gap:8px}.guide-section-card li{color:#3e454d;line-height:1.58}.guide-screenshots{max-width:1180px;margin:18px auto 0;padding:18px;border:1px solid #ded7e6;border-radius:8px;background:#fff}.guide-shot-grid{display:grid;grid-template-columns:1fr;gap:18px}.guide-shot{margin:0;min-width:0;overflow:hidden;border:1px solid #ded7e6;border-radius:8px;background:#fff}.guide-shot img{display:block;width:100%;height:auto;object-fit:contain;background:#f4f1f7;border-bottom:1px solid #ded7e6}.guide-shot figcaption{padding:10px 12px;color:#20463e;font-weight:760}.profile-page{padding:28px}.billing-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;max-width:1180px;margin:0 auto 16px}.billing-summary article{min-width:0;display:grid;gap:6px;padding:16px;border:1px solid #ded7e6;border-radius:8px;background:#fff}.billing-summary strong{min-width:0;color:#102820;font-size:20px;overflow-wrap:anywhere}.billing-summary span{min-width:0;color:#6f7680;font-size:13px;overflow-wrap:anywhere}.billing-grid{display:grid;grid-template-columns:390px minmax(0,1fr);gap:16px;max-width:1180px;margin:0 auto}.package-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.package-grid button{display:grid;place-items:center;gap:4px;min-height:72px;padding:12px;border-radius:7px;background:#e7f1ee;color:#20463e;text-align:center}.package-grid span{color:#356b5d;font-weight:800}.transaction-list{display:grid;gap:8px}.transaction-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(78px,auto) minmax(130px,auto);align-items:center;gap:10px;padding:10px;border-radius:7px;background:#faf9fc}.transaction-row div{min-width:0;display:grid;gap:3px}.transaction-row small{min-width:0;color:#6f7680;overflow-wrap:anywhere}.transaction-row .credit{color:#20463e;font-weight:800}.transaction-row .debit{color:#9f2f12;font-weight:800}.feature-grid article,.doctor-card,.form-card,.search-card,.list-card,.feed-composer,.feed-post,.empty-state{border:1px solid #ded7e6;border-radius:8px;background:#fff;padding:18px}.feature-grid h2,.doctor-card h2,.form-card h2{margin:10px 0 8px;font-size:20px}.feature-grid p,.doctor-card p{color:#59616b;line-height:1.5}.doctor-console{max-width:1180px;margin:18px auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.doctors-page,.doctor-profile-page{padding:28px 16px}.doctor-market-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px;max-width:none;margin:0 0 18px}.specialty-panel,.doctor-list-panel{display:grid;align-content:start;gap:10px}.specialty-panel{padding:14px;border-radius:8px;border:1px solid #ded7e6;background:#fff}.specialty-panel h2{margin:0;font-size:18px}.specialty-panel button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;min-height:42px;border-radius:6px;padding:8px 10px;text-align:left;background:#eee8f3;color:#3d3745}.specialty-panel button.active{background:#356b5d;color:#fff}.specialty-panel small{white-space:nowrap}.doctor-card.rich{display:grid;grid-template-columns:86px minmax(0,1fr) auto;align-items:center;gap:14px}.doctor-photo{width:76px;height:76px;border-radius:8px;display:grid;place-items:center;overflow:hidden;background:#e7f1ee;color:#356b5d}.doctor-photo.large{width:150px;height:150px}.doctor-photo img{width:100%;height:100%;object-fit:cover}.doctor-registration-fields{display:grid;gap:12px}.doctor-registration-fields h2{margin:6px 0 0;font-size:20px}.doctor-registration-fields fieldset,.doctor-console fieldset{display:grid;gap:8px;border:1px solid #ded7e6;border-radius:8px;padding:12px}.specialty-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.selected-specialties{display:flex;flex-wrap:wrap;gap:8px;min-height:34px}.selected-specialties button{width:auto;padding:7px 10px;border-color:#b7d2ca;background:#e7f1ee;color:#173e36}.doctor-price-grid{display:grid;gap:10px}.doctor-price-grid label{display:grid;gap:5px}.price-note{margin:4px 0 0;color:#356b5d;font-size:13px}.doctor-offer-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:10px;align-items:center;margin:8px 12px;padding:10px;border:1px solid #b7d2ca;border-radius:8px;background:#e7f1ee;color:#173e36}.doctor-offer-card div{display:grid;gap:3px}.doctor-offer-card button{white-space:nowrap}.doctor-profile-hero,.doctor-profile-grid{max-width:1180px;margin:0 auto 16px}.doctor-profile-hero{display:grid;grid-template-columns:auto minmax(0,1fr) 260px;gap:18px;align-items:center;padding:18px;border:1px solid #ded7e6;border-radius:8px;background:#fff}.doctor-profile-hero h1{margin:0 0 8px}.doctor-booking-box{display:grid;gap:8px;padding:14px;border-radius:8px;background:#e7f1ee;color:#20463e}.doctor-booking-box strong{font-size:26px}.doctor-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px}.review-row{display:grid;gap:5px;padding:10px;border-radius:7px;background:#faf9fc}.check-row{display:flex;align-items:center;gap:8px}.check-row input{width:auto}fieldset{display:grid;gap:8px;border:1px solid #d7dde2;border-radius:8px;padding:10px 12px}legend{padding:0 5px;color:#4f5660;font-size:13px;font-weight:700}.auth-page{display:grid;place-items:center;padding:24px}.auth-card{width:min(430px,100%);display:grid;gap:14px;border:1px solid #ded7e6;border-radius:8px;background:#fff;padding:24px}.auth-card.doctor-registration-card{width:min(760px,100%)}.auth-card h1{margin:0}.link-button{background:transparent;color:#356b5d;padding:0;justify-self:start}.error-text{color:#96310e;background:#ffe5db;border-radius:7px;padding:10px}.success-text{color:#20463e;background:#e7f1ee;border-radius:7px;padding:10px}.page{padding:28px}.page.narrow{display:grid;align-content:center;justify-items:start;max-width:720px;margin:0 auto}.page h1{margin:0 0 10px;font-size:38px;color:#102820}.page>p{color:#59616b;max-width:760px;line-height:1.55}.tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.tabs button{min-height:36px;border-radius:6px;padding:8px 12px;background:#eee8f3;color:#3d3745;font-weight:700}.tabs button.active{background:#625b71;color:#fff}.search-card,.list-card,.feed-composer,.feed-list{max-width:960px;display:grid;gap:10px;margin-top:14px}.list-row,.contact-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:11px;border:1px solid #e6e1eb;border-radius:7px;background:#faf9fc}.list-row button,.contact-row button,.feed-post button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border-radius:6px;padding:7px 10px;background:#356b5d;color:#fff}.feed-composer textarea{min-width:0;min-height:120px}.feed-composer button{justify-self:end;align-self:end;min-width:136px}.feed-composer{grid-template-columns:minmax(0,1fr) minmax(136px,auto);align-items:end}.feed-list{max-width:820px}.feed-post{display:grid;gap:10px}.feed-post p{min-width:0;margin:0;line-height:1.55;overflow-wrap:anywhere}.feed-post-actions{display:flex;flex-wrap:wrap;gap:8px}.feed-post-actions button{min-width:92px}.admin-page{max-width:1280px}.admin-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:18px 0}.admin-stats article,.admin-section{border:1px solid #ded7e6;border-radius:8px;background:#fff}.admin-stats article{display:grid;gap:4px;padding:14px}.admin-stats strong{font-size:24px;color:#102820}.admin-stats span{color:#59616b;font-size:13px}.admin-section{display:grid;gap:12px;padding:16px;margin-top:16px}.section-head,.admin-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.section-head h2{margin:0}.section-head button,.section-head select,.admin-filters button{justify-self:end}.section-head button,.row-actions button{display:inline-flex;align-items:center;gap:6px;min-height:34px;border-radius:6px;background:#356b5d;color:#fff}.admin-filters{grid-template-columns:minmax(220px,1fr) minmax(150px,180px) minmax(150px,200px) auto}.admin-table{display:grid;gap:8px}.admin-row{display:grid;grid-template-columns:minmax(220px,1fr) auto auto minmax(260px,auto);align-items:center;gap:10px;padding:11px;border:1px solid #e6e1eb;border-radius:7px;background:#faf9fc}.admin-row>div:first-child{display:grid;gap:3px;min-width:0}.admin-row span,.admin-row small{color:#59616b}.row-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px}.doctor-review-row{grid-template-columns:minmax(260px,1fr) auto minmax(220px,auto)}.form-card{max-width:720px;display:grid;gap:12px;margin-top:18px}.empty-state{max-width:720px;display:flex;align-items:center;gap:12px;color:#59616b}.pill{display:inline-flex;width:fit-content;border-radius:999px;background:#e7f1ee;color:#20463e;padding:5px 9px;margin:0}.sidebar,.right-panel,.chat-area{min-height:0;border:1px solid #ded7e6;border-radius:8px;background:#fff}.sidebar{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.sidebar-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:8px;padding:10px;border-bottom:1px solid #e6e1eb}.sidebar-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 12px;font-size:13px;border-radius:6px;background:#eee8f3;color:#3d3745;font-weight:720;white-space:nowrap}.sidebar-tabs button svg{flex-shrink:0}.sidebar-tabs button.active{background:#625b71;color:#fff}.sidebar-body{min-height:0;overflow-y:auto;padding:14px}.tab-panel{display:grid;gap:14px}label{display:grid;gap:6px;font-size:13px;color:#4f5660}input,select,textarea{width:100%;border:1px solid #c9d0d5;border-radius:6px;background:#fff;color:#202124;padding:10px 11px}.safety-note{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;border-radius:8px;background:#edf6f2;color:#214f44;font-size:12px;word-break:break-word;overflow-wrap:break-word}.safety-note p{margin:0;line-height:1.45;word-break:break-word}.wide{width:100%}.wide.secondary{background:#eee8f3;color:#3d3745}.chat-list,.sources-list{display:grid;gap:8px}.chat-item,.source-item{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;min-height:44px;padding:9px;border-radius:7px;background:#f7f5fa;color:#2c3135;text-align:left}.chat-item.active{background:#e0eee9;color:#20463e}.source-item{grid-template-columns:auto 1fr;line-height:1.35}.muted{color:#6f7680}.chat-area{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;overflow:hidden}.chat-statusbar{min-height:42px;padding:0 14px;border-bottom:1px solid #e6e1eb;color:#5e6670;font-size:13px}.chat-statusbar span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.messages-block{min-height:0;overflow-y:auto;padding:18px;background:#faf9fc}.message-row{display:grid;grid-template-columns:38px minmax(0,760px);gap:10px;margin-bottom:14px;align-items:start}.message-row.user{grid-template-columns:minmax(0,760px) 38px;justify-content:end}.message-row.user .avatar{grid-column:2}.message-row.user .bubble{grid-column:1;grid-row:1;background:#e7f1ee;border-color:#c6ddd5}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#625b71;color:#fff;font-size:13px;font-weight:800}.message-row.user .avatar{background:#356b5d}.bubble{border:1px solid #ded7e6;border-radius:8px;background:#fff;padding:12px 14px;box-shadow:0 1px 2px #221e260a}.bubble.loading{display:inline-flex;align-items:center;gap:8px;color:#5d6470}.bubble-head{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:#2e3338}.bubble p{margin:0;line-height:1.58;white-space:pre-wrap}.safety-badge{display:inline-flex;align-items:center;min-height:22px;border-radius:999px;padding:2px 8px;background:#e8f2ee;color:#285a50;font-size:12px;font-weight:760}.safety-badge.urgent{background:#ffe5db;color:#96310e}.fallback-box{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px;padding:10px;border-radius:8px;background:#fff8e5;color:#6d5412;font-size:13px}.fallback-box button{min-height:32px;background:#625b71;color:#fff;font-size:12px}.intake-question{display:grid;gap:12px}.intake-question>strong{color:#102820;line-height:1.45}.intake-slider{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center;gap:12px}.intake-slider span{display:grid;place-items:center;min-height:36px;border-radius:7px;background:#e7f1ee;color:#20463e;font-weight:800}.intake-options{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px}.choice-row{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:118px;max-width:100%;min-height:38px;padding:8px 10px;border:1px solid #d7dde2;border-radius:7px;background:#faf9fc;color:#2c3135;text-align:center;overflow-wrap:anywhere}.choice-row input{flex:0 0 auto;width:auto}.intake-question .primary-button{justify-self:start}.doctor-call-box,.doctor-call-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:10px 12px;border-radius:8px;border:1px solid #b9d7cc;background:#eef8f4;color:#20463e}.doctor-call-box p{margin:4px 0 0;font-size:12px;line-height:1.4}.doctor-call-box button{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;background:#356b5d;color:#fff}.doctor-call-status{justify-content:flex-start;margin:0 14px 12px;font-size:13px}.inline-link{color:#1b604e;font-weight:600;text-decoration:underline;word-break:break-all}.inline-link:hover{color:#0b3d30}.citations-inline{margin-top:14px;padding:10px 12px;border-radius:8px;background:#f7fbf9;border:1px solid #d3e7df;color:#20463e}.citations-inline summary{cursor:pointer;font-weight:720;font-size:13px;color:#20463e}.citations-categorized{display:grid;gap:12px;margin-top:10px}.cit-subgroup{display:grid;gap:6px}.cit-subgroup h5{margin:0 0 2px;font-size:12px;color:#356b5d;font-weight:750}.citation-link{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:12px;line-height:1.4;color:#1a3c34;text-decoration:none;padding:4px 6px;border-radius:5px;background:#fff;border:1px solid #e1efe9}.citation-link:hover{background:#eef7f3;color:#0b3d30}.pmid-tag{font-size:10px;font-weight:700;color:#356b5d;background:#e2f2eb;padding:1px 5px;border-radius:3px}.error-line{display:flex;align-items:center;gap:8px;margin:0 14px 10px;padding:10px;border-radius:7px;background:#ffe5db;color:#96310e}.error-line button{margin-left:auto;min-height:30px;border-radius:6px;padding:5px 9px;background:#356b5d;color:#fff;font-weight:700}.chat-composer{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:10px;padding:12px;border-top:1px solid #e6e1eb;background:#fff}.selected-documents{grid-column:1 / -1;display:inline-flex;align-items:center;gap:6px;width:fit-content;border-radius:999px;background:#e7f1ee;color:#20463e;padding:5px 10px;font-size:12px;font-weight:700}.file-upload-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:38px;border-radius:7px;background:#356b5d;color:#fff;font-weight:750;cursor:pointer}.file-upload-button input{display:none}.document-row{display:grid;gap:7px;border:1px solid #dbe4e1;border-radius:8px;background:#fff;padding:10px}.document-row.active{border-color:#7bb3a4;background:#eef8f4}.document-row p{margin:0;color:#59616b;font-size:12px;line-height:1.4}.document-row small{color:#6f7680}.attached-documents{display:grid;gap:7px;margin-top:12px;padding:10px;border-radius:8px;background:#f7fbf9;border:1px solid #d3e7df}.attached-documents strong,.attached-documents button{display:flex;align-items:center;gap:7px}.attached-documents button{width:100%;min-height:36px;justify-content:flex-start;text-align:left;background:#fff;color:#20463e;border:1px solid #e1efe9}.attached-documents button small{min-width:0;color:#59616b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-composer textarea{min-height:58px;max-height:180px;resize:vertical}.chat-composer button{width:48px;height:48px;align-self:end;border-radius:8px;display:grid;place-items:center;background:#356b5d;color:#fff}.chat-composer button:disabled{background:#a4adb2;cursor:not-allowed}.right-panel{overflow:auto;padding:16px}.right-panel h3{margin:0 0 10px;font-size:15px}.signal-list{display:grid;gap:8px;margin-bottom:18px}.signal-list div{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:8px;padding:9px 10px;border-radius:7px;background:#f7f5fa;font-size:13px}.signal-list div span{min-width:0;overflow-wrap:anywhere}.signal-list div span:last-child{justify-self:start;color:#20463e;font-weight:700}.compact-list{margin:0 0 18px;padding-left:18px;color:#4c535b;line-height:1.55}.checks-list{margin-bottom:10px}.compact-empty{margin:0 0 18px;font-size:13px;line-height:1.45}.lab-order-card{display:grid;gap:8px;margin:0 0 18px;padding:10px;border-radius:7px;background:#eaf5f1;border:1px solid #c7e1d8}.lab-order-card strong{color:#123c33;font-size:14px}.lab-order-card small,.lab-order-card p{margin:0;color:#4c535b;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.lab-order-card button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;border-radius:6px;padding:7px 9px;background:#356b5d;color:#fff;font-weight:700}.lab-order-card button:disabled{cursor:not-allowed;background:#cbd4d1;color:#59616b}.legal-consent{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 18px;color:#6f7680;font-size:11px;line-height:1.45}.specialist-call-list{display:grid;gap:8px;padding-left:0;list-style:none}.specialist-call-row{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:8px;padding:8px;border-radius:7px;background:#f7f5fa}.specialist-call-row span{min-width:0;font-size:13px}.specialist-call-row button{display:inline-flex;align-items:center;justify-content:center;gap:5px;justify-self:stretch;min-height:32px;border-radius:6px;padding:6px 9px;background:#356b5d;color:#fff;font-size:12px;font-weight:750}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1100px){.chat-workspace{grid-template-columns:380px minmax(0,1fr)}.right-panel{display:none}}@media(max-width:1180px){.aitabib-shell,.medrag-shell{grid-template-rows:auto minmax(0,1fr)}.topbar{grid-template-columns:minmax(220px,1fr) auto;min-height:58px;padding:10px 12px}.topnav{grid-column:1 / -1;order:3;padding-bottom:2px}}@media(max-width:760px){.aitabib-shell,.medrag-shell{height:auto;min-height:100vh}.topbar{grid-template-columns:1fr;min-height:auto;padding:12px}.header-actions{justify-content:flex-start;flex-wrap:wrap}.hero,.feature-grid,.card-grid,.guide-hero,.guide-section-grid,.guide-shot-grid{grid-template-columns:1fr}.hero h1{font-size:42px}.topnav{overflow-x:auto}.chat-workspace{grid-template-columns:1fr;height:auto}.sidebar{min-height:0}.sidebar-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-area{min-height:70vh}.legal-layout{grid-template-columns:1fr}.legal-section dl div{grid-template-columns:1fr;gap:4px}.pricing-grid,.billing-summary,.billing-grid,.doctor-market-layout,.doctor-profile-hero,.doctor-profile-grid{grid-template-columns:1fr}.guide-section-card:last-child{grid-column:auto}.feed-composer,.transaction-row{grid-template-columns:1fr}.feed-composer button,.transaction-row>span,.transaction-row>small{justify-self:stretch}.doctor-card.rich{grid-template-columns:64px minmax(0,1fr)}.doctor-card.rich .primary-button{grid-column:1 / -1}.doctor-offer-card{grid-template-columns:1fr}.message-row,.message-row.user{grid-template-columns:32px minmax(0,1fr);justify-content:stretch}.message-row.user .avatar{grid-column:1}.message-row.user .bubble{grid-column:2}}@media(max-width:460px){.sidebar-tabs{grid-template-columns:1fr}.chat-composer{grid-template-columns:minmax(0,1fr) 44px;padding:10px}.chat-composer button{width:44px;height:44px}.messages-block{padding:12px}}
