:root{--accent:#f3f2f6;--app-shell:#32404a;--panel-bg:#efedf2;--teal:#7dbabb;--lake:#3c6879;--background:#fff;--foreground:#18132b;--card-foreground:#040917;--muted:#736f85;--input:#edecf3;--border:#edecf3;--radius-md:8px;--radius-lg:16px;--radius-xl:32px;color:var(--foreground);background:var(--accent);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,textarea{font:inherit}button{border:0;transition:transform .14s,background-color .14s,border-color .14s,box-shadow .14s,color .14s,opacity .14s}button:not(:disabled):hover{transform:translateY(-1px)}button:not(:disabled):active{transform:translateY(0)}button:disabled{cursor:not-allowed}@media (prefers-reduced-motion:reduce){button{transition:none}button:not(:disabled):hover,button:not(:disabled):active{transform:none}}.screen{background:var(--accent);justify-content:center;align-items:center;min-height:100vh;padding-bottom:44px;display:flex;position:relative}.signup-shell{background:var(--accent);border:0;align-items:center;gap:32px;width:min(100vw,1120px);min-height:auto;margin:0 auto;padding:24px;display:flex}.form-pane{flex:0 0 500px;justify-content:flex-end;min-width:0;padding-block:0;display:flex}.form-stack{flex-direction:column;align-items:center;gap:36px;width:400px;display:flex}.logo{width:400px;height:142px;position:relative;overflow:hidden}.form-stack>.logo{align-self:center}.logo-large{width:170px;height:56px}.logo-mark{object-fit:contain;object-position:left center;width:100%;height:100%;display:block;transform:translate(-15px)}.account-form{flex-direction:column;align-items:center;gap:24px;width:100%;display:flex}.intro{text-align:center;flex-direction:column;gap:12px;width:100%;display:flex}.intro h1{color:var(--card-foreground);letter-spacing:0;margin:0;font-size:30px;font-weight:800;line-height:36px}.intro p,.hint,.mode-row,.status{color:var(--muted);letter-spacing:0;margin:0;font-size:14px;font-weight:500;line-height:20px}.fields{flex-direction:column;gap:14px;width:360px;display:flex}.field{display:block}.field input{border:1px solid var(--input);border-radius:var(--radius-md);background:var(--background);width:100%;height:40px;color:var(--foreground);outline:none;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:border-color .15s,box-shadow .15s}.field input::placeholder{color:var(--muted);opacity:1}.field input:focus{border-color:#18132b;box-shadow:0 0 0 3px #18132b14}.hint{margin-top:-6px}.separator{justify-content:center;align-items:center;width:360px;height:10px;display:flex;position:relative}.separator:before{content:"";background:var(--input);height:1px;position:absolute;top:50%;left:0;right:0}.separator span{z-index:1;background:var(--accent);color:var(--muted);padding-inline:8px;font-size:12px;font-weight:500;line-height:1;position:relative}.social-buttons{flex-direction:column;gap:8px;width:360px;display:flex}.terms-row,.account-form>.primary-button,.mode-row,.account-form>.status{width:360px}.outline-button,.primary-button{border-radius:var(--radius-md);cursor:pointer;justify-content:center;align-items:center;gap:8px;width:100%;height:40px;font-size:14px;font-weight:700;line-height:20px;transition:transform .12s,border-color .12s,background-color .12s;display:inline-flex}.outline-button{border:1px solid var(--input);color:var(--foreground);background:#fff3}.outline-button:hover{background:#ffffff73;border-color:#d9d7e4}.outline-button:active,.primary-button:active{transform:translateY(1px)}.google-icon,.apple-icon{flex:0 0 16px;width:16px;height:16px}.google-icon{display:inline-block;position:relative}.google-icon img{width:100%;height:100%;position:absolute;inset:0}.apple-icon{display:block}.terms-row{cursor:pointer;min-height:16px;color:var(--foreground);align-items:flex-start;gap:8px;font-size:14px;font-weight:400;line-height:16px;display:flex;position:relative}.terms-row input{opacity:0;pointer-events:none;position:absolute}.checkbox-box{border:1px solid var(--foreground);background:0 0;border-radius:2px;flex:0 0 16px;place-items:center;width:16px;height:16px;display:grid}.checkbox-box img{opacity:0;width:12px;height:9px}.terms-row input:checked+.checkbox-box{background:var(--foreground)}.terms-row input:checked+.checkbox-box img{opacity:1}.terms-row a,.mode-row button{color:var(--foreground);text-underline-offset:2px;text-decoration:underline}.primary-button{background:var(--foreground);color:#fdfcff}.primary-button:hover{background:#241d3f}.mode-row{white-space:nowrap;justify-content:center;gap:4px;display:flex}.mode-row button{cursor:pointer;background:0 0;padding:0}.field-with-recovery{flex-direction:column;gap:6px;display:flex}.account-recovery-link{color:var(--muted);cursor:pointer;background:0 0;align-self:flex-end;padding:0;font-size:12px;font-weight:600;line-height:16px;text-decoration:none}.account-recovery-link:hover{color:var(--foreground)}.account-recovery-dialog{width:min(100%,420px)}.account-recovery-status{color:var(--lake);margin:0;font-size:13px;font-weight:700;line-height:18px}.status{text-align:center;opacity:0;min-height:20px}.status.is-visible{opacity:1}.image-pane{border-radius:var(--radius-xl);flex:0 0 400px;min-width:0;height:560px;margin-block:0;overflow:hidden}.account-copyright{color:var(--muted);text-align:center;margin:0;font-size:12px;font-weight:600;line-height:16px;position:absolute;bottom:16px;left:24px;right:24px}.image-pane img{object-fit:cover;object-position:52% 50%;width:100%;height:100%;display:block}.app-screen{color:#fff;background:0 0;width:100%;height:100vh;min-height:720px;margin:0;position:relative;overflow:hidden}.app-topbar{background:var(--app-shell);align-items:center;gap:24px;height:104px;padding:0 24px 14px;display:flex}.top-history-actions{justify-content:flex-start;align-items:center;gap:16px;width:100%;margin:0;display:flex}.brand-block{flex-direction:column;flex:0 0 230px;justify-content:center;align-items:flex-start;min-width:230px;display:flex}.brand-logo-button{cursor:pointer;background:0 0;border:0;justify-content:flex-start;align-items:center;width:100%;height:56px;padding:0;display:flex}.brand-logo-button:hover{opacity:.88}.brand-subtitle{color:#fff;letter-spacing:2.8px;text-align:left;text-transform:uppercase;white-space:nowrap;width:100%;margin-top:0;font-size:14px;font-weight:800;line-height:16px}.global-nav{align-items:center;gap:4px;margin-left:auto;padding-top:0;display:flex}.global-nav-group{position:relative}.global-nav button,.section-tabs button,.mode-row button{background:0 0;border:0}.global-nav button{border-radius:var(--radius-md);color:#ffffffc7;cursor:pointer;height:38px;padding:8px 12px 12px;font-size:14px;font-weight:600;line-height:20px}.global-nav button.active,.global-nav-group.active>button{border-bottom:2px solid var(--teal);color:#fff;background:#7dbabb2e;box-shadow:0 6px 14px #3c68791f}.global-nav button:hover{color:#fff;background:#7dbabb42;box-shadow:0 6px 14px #3c68792e}.section-tabs button:hover,.icon-button:hover,.profile-pill:hover,.row-more:hover,.document-actions button:hover,.sheet-icon-button:hover,.sheet-outline-button:hover,.version-button:hover{color:#fff;background:#ffffff1f;box-shadow:0 6px 14px #0000001a}.table-link:hover{color:var(--lake)}.top-studies-menu{z-index:10;border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;width:196px;padding:4px;position:absolute;top:44px;left:0;box-shadow:0 4px 3px #0000001a,0 2px 2px #0000000f}.top-studies-menu button{color:#040917;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;width:100%;height:36px;padding:6px 8px;font-size:14px;font-weight:600;line-height:20px;display:block}.top-studies-menu button:hover{color:var(--lake);box-shadow:none;background:#e9f5f5}.ui-icon{width:16px;height:16px;display:block}.icon-button{border-radius:var(--radius-md);cursor:pointer;background:0 0;place-items:center;width:40px;height:40px;display:grid;position:relative}.notification-wrap{position:relative}.notification-dot{border:1px solid var(--app-shell);background:var(--teal);border-radius:50%;width:8px;height:8px;position:absolute;top:8px;right:8px}.notification-popover{z-index:30;border:1px solid var(--border);border-radius:var(--radius-lg);width:360px;max-height:min(520px,100vh - 128px);color:var(--foreground);background:#fff;flex-direction:column;padding:14px;display:flex;position:absolute;top:48px;right:0;box-shadow:0 18px 40px #0f172a2e,0 2px 6px #0f172a14}.notification-popover header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:2px 2px 12px;display:flex}.notification-popover h2{color:var(--foreground);margin:0;font-size:18px;font-weight:800;line-height:24px}.notification-popover header span{background:var(--accent);height:24px;color:var(--lake);border-radius:9999px;align-items:center;padding:2px 10px;font-size:12px;font-weight:800;line-height:16px;display:inline-flex}.notification-list{min-height:0;padding:10px 2px 0;overflow-y:auto}.notification-item{border:1px solid var(--border);border-radius:var(--radius-md);cursor:pointer;text-align:left;background:#fff;width:100%;padding:12px}.notification-item:hover{background:var(--accent);box-shadow:0 8px 18px #0f172a1a}.notification-item+.notification-item{margin-top:8px}.notification-type{background:linear-gradient(#ffffffb8, #ffffffb8), var(--teal);color:#274754;border-radius:9999px;align-items:center;height:22px;margin-bottom:8px;padding:2px 8px;font-size:12px;font-weight:800;line-height:16px;display:inline-flex}.notification-item h3{color:var(--foreground);margin:0;font-size:14px;font-weight:800;line-height:20px}.notification-item p{color:var(--muted);margin:4px 0 8px;font-size:13px;font-weight:500;line-height:18px}.notification-item time{color:var(--muted);font-size:12px;font-weight:700;line-height:16px}.notification-empty{color:var(--muted);text-align:center;margin:0;padding:18px 12px 8px;font-size:14px;font-weight:500;line-height:20px}.profile-menu-wrap{position:relative}.profile-pill{color:#fff;cursor:pointer;background:#ffffff1c;border:1px solid #ffffff1f;border-radius:9999px;align-items:center;gap:8px;width:172px;height:42px;padding:6px 9px 6px 6px;display:flex;box-shadow:inset 0 0 0 1px #7dbabb14}.profile-pill .avatar{background:var(--teal);color:#fff;border-radius:16px;flex:0 0 30px;place-items:center;width:30px;height:30px;font-size:16px;font-weight:700;line-height:24px;display:grid}.profile-pill span:nth-child(2){text-align:left;flex-direction:column;flex:auto;justify-content:center;gap:2px;min-width:0;height:100%;display:flex}.profile-pill>.ui-icon{opacity:.72;filter:brightness(0)invert();flex:0 0 16px;width:16px;height:10px}.profile-account-menu{z-index:12;border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;width:196px;padding:4px;position:absolute;top:50px;right:0;box-shadow:0 4px 3px #0000001a,0 2px 2px #0000000f}.profile-account-menu button{color:#040917;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;width:100%;height:36px;padding:6px 8px;font-size:14px;font-weight:600;line-height:20px;display:block}.profile-account-menu button:hover{color:var(--lake);box-shadow:none;background:#e9f5f5}.profile-pill strong,.profile-pill small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.profile-pill strong{font-size:13px;line-height:15px}.profile-pill small{opacity:.72;font-size:10px;line-height:12px}.studies-hero{background:var(--app-shell);flex-direction:column;justify-content:space-between;height:90px;padding:6px 24px 0;display:flex}.hero-title-row{justify-content:space-between;align-items:center;display:flex}.add-edit-menu-wrap{position:relative}.add-edit-menu{z-index:8;border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;width:190px;padding:4px;position:absolute;top:48px;right:0;box-shadow:0 4px 3px #0000001a,0 2px 2px #0000000f}.add-edit-menu button{color:#040917;text-align:left;cursor:pointer;background:0 0;border-radius:6px;width:100%;height:36px;padding:6px 8px;font-size:14px;font-weight:600;line-height:20px}.add-edit-menu button:hover{background:var(--accent)}.hero-title-row h1,.detail-title h1{color:#fff;margin:0;font-size:30px;font-weight:800;line-height:36px}.detail-title h1{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;max-width:100%;display:-webkit-box;overflow:hidden}.teal-button{border-radius:var(--radius-md);background:var(--teal);color:#fff;cursor:pointer;height:40px;padding:8px 16px;font-size:14px;font-weight:700;line-height:20px}.teal-button:hover{background:#6baeb0;box-shadow:0 8px 18px #3c687933}.section-tabs{border-bottom:1px solid #040917;align-items:flex-end;display:flex}.section-tabs button{color:#fff9;cursor:pointer;height:40px;padding:8px 12px 12px;font-size:14px;line-height:20px}.section-tabs button:first-child{padding-left:0}.section-tabs button.selected{border-bottom:2px solid var(--teal);color:#fff}.studies-content,.detail-content{min-height:0;color:var(--foreground);background:linear-gradient(#fff9,#fff9),#d9d7e2;padding:24px}.studies-content{flex-direction:column;height:calc(100vh - 194px);display:flex}.content-header{justify-content:space-between;align-items:center;gap:16px;width:100%;height:52px;margin:0 0 12px;display:flex;overflow:hidden}.content-header h2{white-space:nowrap;text-overflow:ellipsis;min-width:0;margin:0;font-size:20px;font-weight:800;line-height:28px;overflow:hidden}.search-box{border:1px solid var(--input);border-radius:var(--radius-md);background:#fff;flex:0 0 320px;align-items:center;gap:4px;width:320px;height:40px;padding:8px 12px;display:flex}.search-box input{min-width:0;color:var(--foreground);border:0;outline:0;flex:auto;font-size:14px;line-height:20px}.search-box input::placeholder{color:var(--muted);opacity:1}.table-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;flex-direction:column;flex:auto;width:100%;max-width:none;min-height:0;margin:0 auto;padding:24px;display:flex;position:relative;box-shadow:0 1px 2px #0000000d}.study-table,.patient-table,.enrolled-table{border-collapse:collapse;table-layout:fixed;width:100%}.study-table{height:auto}.study-table-scroll{scrollbar-gutter:stable;flex:auto;min-height:0;padding-right:22px;overflow-y:scroll}.study-table-scroll thead th{z-index:1;background:#fff;position:sticky;top:0}.study-table th,.study-table td,.patient-table th,.patient-table td,.enrolled-table th,.enrolled-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;height:52px;color:var(--foreground);white-space:nowrap;text-overflow:ellipsis;padding:16px;font-size:14px;line-height:20px;overflow:hidden}.study-table th,.patient-table th,.enrolled-table th{height:48px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-weight:800;line-height:20px;overflow:hidden}.study-table tbody td{height:40px;padding-top:10px;padding-bottom:10px}.study-table tr:last-child td,.patient-table tr:last-child td,.enrolled-table tr:last-child td{border-bottom:0}.study-table tbody tr,.patient-table tbody tr,.enrolled-table tbody tr,.clinic-patient-table tbody tr{transition:background-color .12s}.study-table tbody tr:hover,.patient-table tbody tr:hover,.enrolled-table tbody tr:hover,.clinic-patient-table tbody tr:hover,.study-table tbody tr:hover td,.patient-table tbody tr:hover td,.enrolled-table tbody tr:hover td,.clinic-patient-table tbody tr:hover td{background:var(--accent)}.study-table th:first-child,.study-table td:first-child{width:28%}.study-table th:nth-child(2),.study-table td:nth-child(2){width:15%}.study-table th:nth-child(3),.study-table td:nth-child(3){width:20%}.study-table th:nth-child(4),.study-table td:nth-child(4){width:15%}.study-table th:nth-child(5),.study-table td:nth-child(5){width:9%}.study-table th:nth-child(6),.study-table td:nth-child(6){width:8%}.study-table th:nth-child(7),.study-table td:nth-child(7){width:64px}.table-link{max-width:100%;color:var(--foreground);cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;padding:0;font-weight:800;overflow:hidden}.incomplete-note{background:linear-gradient(#ffffffb8, #ffffffb8), var(--teal);color:var(--lake);vertical-align:middle;border-radius:9999px;align-items:center;margin-left:8px;padding:2px 8px;font-size:12px;font-weight:800;line-height:16px;display:inline-flex}.action-cell{position:relative;text-align:right!important;overflow:visible!important}.row-more{width:36px;height:36px;color:var(--lake);cursor:pointer;background:0 0;border:0;place-items:center;display:inline-grid}.row-more:hover{color:var(--teal);background:0 0}.row-more.active{color:var(--teal);box-shadow:none;background:0 0}.row-more-dots{flex-direction:column;align-items:center;gap:3px;display:inline-flex}.row-more-dots span{background:currentColor;border-radius:50%;width:4px;height:4px}.study-menu{z-index:12;border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;flex-direction:column;width:248px;padding:6px;display:flex;position:absolute;top:44px;right:16px;box-shadow:0 18px 40px #0f172a24,0 2px 6px #0f172a14}.study-menu button{border-radius:var(--radius-md);color:#040917;text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:pointer;background:0 0;width:100%;height:auto;min-height:36px;padding:6px 10px;font-size:14px;font-weight:700;line-height:20px;display:block}.study-menu button:hover{color:var(--lake);background:#7dbabb24}.study-menu .study-menu-danger{color:var(--lake)}.study-menu .study-menu-danger:hover{color:var(--lake);background:#7dbabb2e}.study-delete-confirm{flex:none;margin-bottom:12px}.feedback-button{z-index:30;background:var(--teal);color:#fff;cursor:pointer;border-radius:9999px;width:84px;height:36px;font-size:14px;font-weight:700;line-height:20px;position:fixed;bottom:32px;right:40px;box-shadow:0 20px 13px #0000001a,0 10px 5px #0000000a}.feedback-button:hover{background:#6baeb0;box-shadow:0 22px 18px #00000029,0 12px 8px #0000000f}.feedback-modal-overlay{z-index:50;background:#000000c7;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.feedback-modal{border:1px solid var(--border);border-radius:var(--radius-lg);width:min(100%,425px);max-height:calc(100vh - 48px);color:var(--foreground);background:#fff;flex-direction:column;gap:24px;padding:24px;display:flex;position:relative;overflow-y:auto;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.feedback-close{cursor:pointer;opacity:.7;background:0 0;border-radius:4px;place-items:center;width:20px;height:20px;display:grid;position:absolute;top:15px;right:15px}.feedback-close:hover{background:var(--accent);opacity:1}.feedback-modal-header{flex-direction:column;gap:6px;padding-right:28px;display:flex}.feedback-modal-header h2{color:var(--foreground);margin:0;font-size:18px;font-weight:800;line-height:18px}.feedback-modal-header p{color:var(--muted);margin:0;font-size:14px;line-height:20px}.feedback-field-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.feedback-field{flex-direction:column;gap:8px;display:flex}.feedback-field span:first-child{color:var(--foreground);font-size:14px;font-weight:800;line-height:14px}.feedback-field input,.feedback-field textarea,.feedback-file-input{border:1px solid var(--input);border-radius:var(--radius-md);width:100%;color:var(--foreground);background:#fff;font-size:14px;line-height:20px}.feedback-field input{height:40px;padding:8px 12px}.feedback-field textarea{resize:vertical;min-height:106px;padding:8px 12px}.feedback-file-input{cursor:pointer;align-items:center;gap:8px;height:40px;padding:8px 12px;display:flex;position:relative;overflow:hidden}.feedback-file-button{flex:none;font-weight:800}.feedback-file-name{min-width:0;color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;flex:auto;overflow:hidden}.feedback-file-input input{opacity:0;cursor:pointer;position:absolute;inset:0}.feedback-preview{border:1px solid var(--border);border-radius:var(--radius-md);background:#f8f7fb;max-height:160px;position:relative;overflow:hidden}.feedback-remove-file{z-index:1;border:1px solid var(--input);min-height:28px;color:var(--foreground);cursor:pointer;background:#fff;border-radius:6px;padding:4px 8px;font-size:12px;font-weight:800;line-height:16px;position:absolute;top:8px;right:8px;box-shadow:0 4px 8px #0f172a1f}.feedback-remove-file:hover{background:var(--accent)}.feedback-preview img{object-fit:contain;width:100%;max-height:160px;display:block}.feedback-send-button{border-radius:var(--radius-md);background:var(--teal);color:#fff;cursor:pointer;width:100%;height:40px;font-size:14px;font-weight:700;line-height:20px}.feedback-send-button:hover{background:#6baeb0;box-shadow:0 8px 18px #3c687933}.feedback-send-button:disabled{box-shadow:none;opacity:.72;background:#b9d6d7}.feedback-status{margin-top:-16px}.home-hero{background:var(--app-shell);justify-content:space-between;align-items:flex-end;height:91px;padding:4px 24px 25px;display:flex}.home-hero .add-edit-menu-wrap{align-self:flex-end;margin-bottom:0}.clinic-date-heading{align-items:center;gap:8px;display:flex}.home-hero h1{color:#fff;margin:0;font-size:30px;font-weight:800;line-height:36px}.clinic-date-arrow{background:var(--teal);color:#fff;cursor:pointer;border-radius:9999px;justify-content:center;align-items:center;width:24px;height:24px;padding:0 0 1px;font-size:18px;font-weight:800;line-height:24px;display:inline-flex}.clinic-date-arrow:hover{background:#6baeb0;box-shadow:0 6px 14px #3c68792e}.home-content{height:calc(100vh - 195px);min-height:0;color:var(--foreground);grid-template-columns:minmax(0,1fr) 340px;align-items:stretch;gap:40px;padding:24px;display:grid}.clinic-panel{border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;flex-direction:column;min-width:0;min-height:0;padding:16px 24px 24px;display:flex;box-shadow:0 1px 2px #0000000d}.clinic-panel-header{justify-content:space-between;align-items:center;gap:20px;min-height:40px;margin-bottom:12px;display:flex}.clinic-count{align-items:center;gap:8px;min-width:0;display:flex}.clinic-icon{border:2px solid var(--foreground);border-radius:50%;flex:none;width:20px;height:20px;position:relative}.clinic-icon:before,.clinic-icon:after{content:"";background:var(--foreground);position:absolute}.clinic-icon:before{width:8px;height:2px;top:7px;left:4px}.clinic-icon:after{width:2px;height:8px;top:4px;left:7px}.clinic-count h2,.clinic-sidebar h2{color:var(--foreground);margin:0;font-size:20px;font-weight:800;line-height:28px}.clinic-add-patient{background:var(--teal);color:#fff;cursor:pointer;border:1px solid #0000;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;padding:0 0 2px;font-size:18px;font-weight:800;line-height:24px;display:inline-flex;box-shadow:0 4px 10px #3c687929}.clinic-add-patient:hover{color:#fff;background:#6baeb0;box-shadow:0 8px 18px #3c687938}.clinic-search{flex:0 0 320px;width:320px}.clinic-header-tools{grid-template-columns:auto 320px;align-items:center;gap:8px;min-width:0;margin-top:12px;display:grid}.clinic-refresh-button{white-space:nowrap}.clinic-refresh-status{min-height:16px;color:var(--muted);text-align:right;grid-column:1/-1;margin:0;font-size:12px;line-height:16px}.clinic-refresh-status.mobile{display:none}.clinic-search-wrap{flex:0 0 320px;width:320px;position:relative}.clinic-search-wrap .clinic-search{flex-basis:auto;width:100%}.clinic-search-suggestions{z-index:20;border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;max-height:276px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 16px 32px #0f172a24}.clinic-search-suggestions button{width:100%;min-height:36px;color:var(--foreground);cursor:pointer;text-align:left;background:0 0;border-radius:6px;align-items:center;padding:8px 10px;font-size:14px;line-height:20px;display:flex}.clinic-search-suggestions button:hover{background:var(--accent)}.clinic-patient-table{border-collapse:collapse;table-layout:fixed;width:100%}.clinic-table-scroll{scrollbar-gutter:stable;flex:auto;min-height:0;padding-right:22px;overflow-y:scroll}.clinic-table-scroll thead th{z-index:1;background:#fff;position:sticky;top:0}.clinic-patient-table th,.clinic-patient-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;height:52px;color:var(--foreground);padding:16px;font-size:14px;line-height:20px}.clinic-patient-table th{color:var(--muted);font-weight:800}.clinic-sort-header{width:100%;color:var(--muted);cursor:pointer;text-align:left;font:inherit;background:0 0;align-items:center;gap:6px;padding:0;font-weight:800;display:inline-flex}.clinic-sort-header.active{color:var(--foreground)}.clinic-sort-header:hover{color:var(--lake)}.clinic-patient-table tr:last-child td{border-bottom:0}.clinic-patient-table th:first-child,.clinic-patient-table td:first-child,.clinic-patient-table th:nth-child(2),.clinic-patient-table td:nth-child(2){width:18%}.clinic-patient-table th:nth-child(3),.clinic-patient-table td:nth-child(3){width:31%}.clinic-patient-table th:nth-child(4),.clinic-patient-table td:nth-child(4){width:15%}.clinic-patient-table th:nth-child(5),.clinic-patient-table td:nth-child(5){text-align:right;width:18%}.clinic-patient-table th:nth-child(5) .clinic-sort-header{justify-content:flex-end}.clinic-patient-name{align-items:center;gap:8px;max-width:100%;display:inline-flex}.clinic-study-cell{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.new-patient-tag{background:linear-gradient(#ffffffc7, #ffffffc7), var(--teal);color:var(--lake);border-radius:9999px;flex:none;padding:2px 8px;font-size:12px;font-weight:800;line-height:16px}.previously-failed-tag{border:1px solid var(--teal);width:22px;height:22px;color:var(--lake);background:#eef8f8;border-radius:9999px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.previously-failed-tag .ui-icon{width:13px;height:13px}.patient-table tbody tr.previously-failed-row,.patient-table tbody tr.previously-failed-row td{background:#f4fbfb}.patient-table tbody tr.previously-failed-row:hover,.patient-table tbody tr.previously-failed-row:hover td{background:#eaf6f6}.clinic-action-button{border:1px solid var(--input);border-radius:var(--radius-md);min-width:112px;height:36px;color:var(--foreground);cursor:pointer;background:#fff;padding:8px 12px;font-size:14px;font-weight:700;line-height:20px}.clinic-action-button:hover,.clinic-study-main:hover{border-color:var(--teal);background:var(--accent)}.clinic-sidebar{border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;flex-direction:column;min-width:0;min-height:0;padding:16px 24px 24px;display:flex;box-shadow:0 1px 2px #0000000d}.clinic-sidebar-heading{flex:none;align-items:center;height:40px;margin:0 0 12px;display:flex}.clinic-study-list{scrollbar-gutter:stable;flex-direction:column;flex:auto;gap:8px;min-height:0;padding-right:22px;display:flex;overflow-y:scroll}.clinic-study-card{cursor:grab;flex:none;width:100%;min-height:128px;display:flex;position:relative}.clinic-study-card.dragging{opacity:.55;cursor:grabbing}.clinic-study-main{border:1px solid var(--border);border-radius:var(--radius-lg);width:100%;height:auto;min-height:128px;color:var(--foreground);cursor:grab;text-align:left;background:#fff;flex-direction:column;flex:auto;justify-content:flex-start;align-items:stretch;gap:8px;padding:16px;display:flex;box-shadow:0 1px 2px #0000000d}.clinic-study-main>span:first-child{white-space:normal;overflow-wrap:anywhere;font-size:16px;font-weight:800;line-height:20px;display:block}.clinic-study-main>strong{color:var(--teal);white-space:normal;overflow-wrap:anywhere;font-size:18px;font-weight:500;line-height:24px}.clinic-study-metrics{color:var(--muted);grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;margin-top:auto;display:grid;position:relative}.clinic-study-metrics:before{content:"";background:var(--border);width:1px;position:absolute;top:2px;bottom:2px;left:50%;transform:translate(-50%)}.clinic-study-metrics span{grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:4px;min-width:0;display:grid}.clinic-study-metrics em{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;text-transform:uppercase;font-size:10px;font-style:normal;font-weight:800;line-height:14px;overflow:hidden}.clinic-study-metrics b{color:var(--foreground);white-space:nowrap;font-size:13px;font-weight:800;line-height:16px}.eyebrow{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px;font-size:12px;font-weight:800;line-height:16px;display:block}.admin-profile-hero{background:var(--app-shell);align-items:flex-start;height:56px;padding:8px 24px 0;display:flex}.admin-profile-hero h1{color:#fff;margin:0;font-size:30px;font-weight:800;line-height:36px}.admin-profile-content{min-height:888px;color:var(--foreground);background:linear-gradient(#fff9,#fff9),#d9d7e2;justify-content:center;align-items:flex-start;padding:40px 80px;display:flex}.admin-profile-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;width:600px;min-height:574px;padding:48px;box-shadow:0 1px 2px #0000000d}.admin-profile-card h2{margin:0;font-size:18px;font-weight:500;line-height:28px}.profile-separator{background:var(--border);height:1px;margin:24px 0}.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px;display:grid}.profile-field{flex-direction:column;grid-column:1/-1;gap:8px;display:flex}.profile-field.half{grid-column:auto}.profile-field span,.profile-password span{color:var(--foreground);font-size:14px;font-weight:800;line-height:1}.profile-field input{border:1px solid var(--input);border-radius:var(--radius-md);width:100%;height:40px;color:var(--foreground);background:#fff;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px}.profile-password{flex-direction:column;grid-column:1/-1;align-items:flex-start;gap:8px;display:flex}.profile-actions{align-items:center;gap:24px;margin-top:34px;padding-top:24px;display:flex}.profile-actions .teal-button{width:64px}.profile-cancel{width:auto;min-width:76px;color:var(--foreground);background:#fff3}.profile-status{text-align:left;margin-top:16px}.study-form-screen{width:min(100vw,1440px);min-height:981px;color:var(--foreground);background:#fff;margin:0 auto}.study-form-screen form{min-height:inherit}.study-form-header{border-bottom:1px solid var(--border);background:#fff;grid-template-columns:40px 1fr auto;align-items:center;gap:16px;height:88px;padding:24px;display:grid}.study-form-header h1{color:#040917;margin:0;font-size:30px;font-weight:800;line-height:36px}.study-form-screen-edit .study-form-header h1{color:#1d1b3a;font-size:42px;font-weight:800;line-height:52px}.study-form-back{border-radius:var(--radius-md);cursor:pointer;background:0 0;place-items:center;width:40px;height:40px;display:grid}.study-form-screen-edit .study-form-back{background:#fff;border:1px solid #ece8f2;border-radius:12px}.study-form-back .ui-icon{width:18px;height:18px}.study-form-actions{align-items:center;gap:16px;display:flex}.study-form-actions .small-outline,.study-form-actions .teal-button{min-width:72px}.study-form-screen-edit .study-form-actions{gap:14px}.study-form-screen-edit .study-form-actions .small-outline,.study-form-screen-edit .study-form-actions .teal-button{border-radius:14px;min-width:104px;height:54px;font-size:16px}.disabled-save{opacity:.5}.study-form-body{background:var(--accent);justify-content:center;min-height:893px;padding:40px 24px 72px;display:flex}.study-form-panel{flex-direction:column;gap:24px;width:min(100%,672px);display:flex}.study-form-screen-edit,.study-form-screen-add{background:#f4f3fa;width:100%;min-height:100vh}.study-form-header-edit,.study-form-header-add{border-bottom:1px solid #ebe8f3;height:auto;padding:32px}.study-form-body-edit,.study-form-body-add{background:#f4f3fa;align-items:flex-start;min-height:calc(100vh - 105px);padding:56px 24px 96px}.study-form-panel-edit,.study-form-panel-add{gap:36px;width:min(100%,896px)}.study-form-section{flex-direction:column;gap:24px;display:flex}.study-search-section{flex-direction:column;gap:8px;display:flex;position:relative}.study-form-section h2{color:#040917;margin:0;font-size:18px;font-weight:500;line-height:28px}.study-form-screen-edit .study-form-section,.study-form-screen-add .study-form-section{gap:28px}.study-form-screen-edit .study-form-section h2,.study-form-screen-add .study-form-section h2{color:#2a2941;font-size:24px;font-weight:500;line-height:34px}.study-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.study-form-grid-compact{gap:12px}.screening-requirements-card{border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;flex-direction:column;gap:14px;padding:16px;display:flex}.screening-source-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.screening-source-options button{border:1px solid var(--input);border-radius:var(--radius-md);background:var(--accent);height:40px;color:var(--muted);cursor:pointer;font-size:14px;font-weight:800;line-height:20px}.screening-source-options button.selected{border-color:var(--teal);background:var(--teal);color:#fff}.screening-requirements-field textarea{resize:vertical;border:1px solid var(--input);border-radius:var(--radius-md);width:100%;min-height:148px;color:var(--foreground);background:#fff;outline:0;padding:10px 12px;font-size:14px;line-height:20px}.screening-requirements-field textarea:focus{border-color:var(--lake);box-shadow:0 0 0 3px #3c68791f}.screening-requirements-field small,.screening-emr-placeholder p{color:var(--muted);margin:0;font-size:13px;font-weight:500;line-height:18px}.screening-requirements-field .small-outline{align-self:flex-start}.screening-emr-placeholder{border:1px dashed var(--input);border-radius:var(--radius-md);background:var(--accent);padding:14px}.screening-emr-placeholder strong{color:var(--foreground);margin-bottom:4px;font-size:14px;font-weight:900;line-height:20px;display:block}.study-form-field{flex-direction:column;gap:8px;display:flex}.study-form-field-full{grid-column:1/-1}.study-form-field span,.study-search-field span,.contact-methods>span,.irb-copy span{color:var(--foreground);font-size:14px;font-weight:800;line-height:1}.study-search-field{flex-direction:column;gap:8px;display:flex}.study-search-input{border:1px solid var(--input);border-radius:var(--radius-md);background:#fff;align-items:center;gap:8px;width:100%;height:40px;padding:8px 12px;display:flex}.study-search-input input{min-width:0;color:var(--foreground);background:0 0;border:0;outline:0;flex:auto;font-size:14px;font-weight:500;line-height:20px}.study-search-input input::placeholder{color:var(--muted);opacity:1}.study-search-input:focus-within{border-color:var(--lake);box-shadow:0 0 0 3px #3c68791f}.study-search-suggestions{z-index:6;border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;padding:4px;position:absolute;top:70px;left:0;right:0;box-shadow:0 8px 18px #18132b1f}.study-search-suggestions button{width:100%;min-height:52px;color:var(--foreground);cursor:pointer;text-align:left;background:0 0;border-radius:6px;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;padding:8px 12px;display:flex}.study-search-suggestions button:hover{background:var(--accent)}.study-search-suggestions strong{font-size:14px;font-weight:800;line-height:20px}.study-search-suggestions span{color:var(--muted);font-size:12px;font-weight:500;line-height:16px}.editing-study-summary{border-radius:var(--radius-md);width:100%;color:var(--foreground);text-align:left;cursor:pointer;background:#e9f5f5;border:1px solid #7dbabb6b;flex-direction:column;gap:8px;padding:14px 16px;transition:transform .16s,border-color .16s,background .16s;display:flex}.editing-study-summary:hover,.editing-study-summary:focus-visible{background:#ddf0f1;border-color:#35a6abad;transform:translateY(-1px)}.editing-study-summary:focus-visible{outline-offset:2px;outline:3px solid #30abb13d}.editing-study-topline{justify-content:space-between;align-items:center;gap:12px;display:flex}.editing-study-label{color:var(--lake);letter-spacing:.04em;text-transform:uppercase;font-size:12px;font-weight:900;line-height:16px}.editing-study-summary strong{color:var(--foreground);font-size:16px;font-weight:900;line-height:22px}.editing-study-meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.editing-study-summary small,.editing-study-summary em{color:var(--muted);font-size:13px;font-weight:700;line-height:18px}.editing-study-summary em{color:var(--lake);white-space:nowrap;font-style:normal}.study-status-pill{border-radius:999px;align-items:center;min-height:24px;padding:3px 10px;font-size:12px;font-weight:900;line-height:16px;display:inline-flex}.study-status-pill.active{color:#15756f;background:#d9f0eb}.study-status-pill.closed{color:#9a3f3f;background:#f4e8e8}.editing-study-options{border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;gap:8px;padding:8px;display:grid;box-shadow:0 12px 28px #18132b21}.editing-study-options-search{border:1px solid var(--input);background:#f8f7fb;border-radius:8px;align-items:center;gap:8px;height:40px;padding:0 12px;display:flex}.editing-study-options-search svg{width:16px;height:16px;color:var(--muted)}.editing-study-options-search input{width:100%;min-width:0;color:var(--foreground);background:0 0;border:0;outline:0;font-size:14px;font-weight:700;line-height:20px}.editing-study-options-list{scrollbar-gutter:stable;gap:8px;max-height:260px;padding-right:8px;display:grid;overflow-y:auto}.editing-study-options-list button{width:100%;min-height:58px;color:var(--foreground);text-align:left;cursor:pointer;background:0 0;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:10px 12px;transition:background .16s,transform .16s;display:flex}.editing-study-options-list button:hover,.editing-study-options-list button[aria-selected=true]{background:#edf7f7}.editing-study-options-list button:hover{transform:translateY(-1px)}.editing-study-options-list button>span:first-child{flex-direction:column;gap:2px;min-width:0;display:flex}.editing-study-options strong{color:var(--foreground);font-size:14px;font-weight:900;line-height:20px}.editing-study-options small{color:var(--muted);font-size:12px;font-weight:700;line-height:16px}.study-form-field input{border:1px solid var(--input);border-radius:var(--radius-md);width:100%;height:40px;color:var(--foreground);background:#fff;outline:0;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px}.study-form-screen-edit .study-form-field,.study-form-screen-add .study-form-field{gap:10px}.study-form-screen-edit .study-form-field span,.study-form-screen-add .study-form-field span{color:#2a2941;font-size:15px;font-weight:700;line-height:22px}.study-form-screen-edit .study-form-field input,.study-form-screen-add .study-form-field input{color:#2a2941;border-color:#ece8f2;border-radius:12px;height:50px;padding-inline:16px;font-size:16px;line-height:24px}.study-form-screen-edit .study-form-field input::placeholder,.study-form-screen-add .study-form-field input::placeholder{color:#aaa6b5}.study-form-textarea{resize:vertical;border:1px solid var(--input);border-radius:var(--radius-md);width:100%;min-height:120px;color:var(--foreground);background:#fff;outline:0;padding:10px 12px;font-size:14px;font-weight:500;line-height:20px}.enrollment-status-options{border:1px solid var(--input);border-radius:var(--radius-md);background:#fff;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:4px;display:grid}.enrollment-status-options button{min-height:32px;color:var(--muted);cursor:pointer;background:0 0;border-radius:6px;padding:6px 10px;font-size:13px;font-weight:800;line-height:18px;transition:background .16s,color .16s,transform .16s}.enrollment-status-options button:hover{color:var(--lake);background:#edf7f7;transform:translateY(-1px)}.enrollment-status-options button.selected{background:var(--teal);color:#fff}.additional-sites-field{grid-column:1/-1}.additional-sites-control{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.additional-sites-control select{border:1px solid var(--input);border-radius:var(--radius-md);width:100%;height:40px;color:var(--foreground);background:#fff;outline:0;padding:8px 12px;font-size:14px;font-weight:600;line-height:20px}.additional-sites-control .small-outline{white-space:nowrap;height:40px}.linked-sites-list{flex-wrap:wrap;gap:8px;min-height:30px;display:flex}.linked-sites-list small{color:#aaa6b5;font-size:13px;font-weight:600;line-height:18px}.linked-sites-list>span{min-height:30px;color:var(--lake);background:#edf7f7;border-radius:999px;align-items:center;gap:8px;padding:4px 8px 4px 12px;font-size:13px;font-weight:800;line-height:18px;display:inline-flex}.linked-sites-list button{width:20px;height:20px;color:var(--lake);cursor:pointer;background:#30abb129;border-radius:50%;justify-content:center;align-items:center;font-size:13px;font-weight:900;line-height:1;display:inline-flex}.enrollment-fields-row{grid-column:1/-1;align-items:center;gap:16px;display:flex}.enrollment-number-field{width:156px;max-width:100%}.enrollment-number-field input{border-color:var(--input);text-align:center;background:#fff;height:40px;padding-inline:12px;font-weight:500}.study-form-field select{border:1px solid var(--input);border-radius:var(--radius-md);width:100%;height:40px;color:var(--foreground);appearance:none;background-color:#fff;background-image:url(/assets/icon-chevron-down.svg);background-position:right 12px center;background-repeat:no-repeat;background-size:16px 10px;outline:0;padding:8px 40px 8px 12px;font-size:14px;font-weight:500;line-height:20px}.study-form-field select::-ms-expand{display:none}.study-form-field select:disabled{color:var(--muted);cursor:not-allowed;background:#f8f7fb}.study-form-field select.placeholder-select{color:#aaa6b5}.dates-active-inputs{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.dates-active-inputs label{flex-direction:column;gap:8px;min-width:0;display:flex}.dates-active-inputs small{color:var(--muted);font-size:14px;font-weight:500;line-height:1}.dates-active-inputs input[type=date]{color:var(--foreground)}.dates-active-field{grid-column:1/-1}.dates-active-field>span{margin-bottom:0}.study-form-field input::placeholder{color:#aaa6b5;opacity:1}.field-error{color:#dc2626;font-size:12px;font-weight:700;line-height:16px}.study-form-field input:focus,.study-form-field select:focus,.study-form-textarea:focus,.irb-copy textarea:focus{border-color:var(--lake);box-shadow:0 0 0 3px #3c68791f}.study-form-divider{background:var(--border);height:1px}.study-form-screen-edit .study-form-divider,.study-form-screen-add .study-form-divider{background:#ece8f2}.study-doc-list{flex-direction:column;gap:16px;display:flex}.study-doc-row,.contact-patients-card{border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:74px;padding:16px;display:flex}.study-doc-row.complete{background:linear-gradient(#ffffff80, #ffffff80), var(--teal)}.study-doc-main{align-items:center;gap:12px;min-width:0;display:flex}.study-doc-icon{border-radius:var(--radius-md);background:#7dbabb1f;flex:0 0 40px;place-items:center;width:40px;height:40px;display:grid}.study-doc-icon.complete{background:var(--lake)}.study-doc-icon .ui-icon{width:20px;height:20px}.study-doc-main h3,.contact-card-heading h3{color:#32404a;margin:0;font-size:14px;font-weight:800;line-height:20px}.study-doc-main p{color:var(--muted);align-items:center;gap:4px;margin:2px 0 0;font-size:12px;font-weight:500;line-height:16px;display:flex}.study-doc-main p .ui-icon{width:12px;height:12px}.study-doc-actions{flex:none;align-items:center;gap:8px;display:flex}.study-doc-row-edit{border-color:#ece8f2;border-radius:16px;min-height:98px;padding:22px 20px}.study-doc-row-edit.complete{background:#fff}.study-doc-row-edit .study-doc-main{gap:20px}.study-doc-row-edit .study-doc-icon{background:#3f7282;border-radius:12px;flex-basis:54px;width:54px;height:54px}.study-doc-row-edit .study-doc-icon.complete{background:#3f7282}.study-doc-row-edit .study-doc-icon .ui-icon{width:24px;height:24px}.study-doc-row-edit .study-doc-main h3{color:#2a2941;font-size:18px;font-weight:700;line-height:28px}.study-doc-row-edit .study-doc-main p{color:#8a88a1;margin-top:4px;font-size:13px;line-height:20px}.study-doc-row-edit .study-doc-main p .ui-icon{width:16px;height:16px}.study-doc-row-edit .study-doc-actions{gap:22px}.study-doc-row-edit .small-outline{color:#2a2941;border-color:#e7e4ef;border-radius:12px;min-width:96px;height:46px;padding-inline:16px;font-size:15px}.study-doc-row-add{background:#fff;border-color:#ece8f2;border-radius:16px;min-height:98px;padding:22px 20px}.study-doc-row-add .study-doc-main{gap:20px}.study-doc-icon-add{background:#fff;border:2px solid #6c9ab1;border-radius:14px;flex-basis:54px;width:54px;height:54px}.study-doc-icon-add .ui-icon{width:24px;height:24px}.study-doc-row-add .study-doc-main h3{color:#2a2941;font-size:18px;font-weight:700;line-height:28px}.study-doc-row-add .study-doc-actions{gap:20px}.study-doc-row-add .teal-button{border-radius:14px;min-width:140px;height:54px;font-size:16px}.study-doc-row-add .small-outline{color:#2a2941;border-color:#e7e4ef;border-radius:14px;min-width:164px;height:54px;font-size:16px}.study-form-screen-add .study-form-header h1{color:#1d1b3a;font-size:42px;font-weight:800;line-height:52px}.study-form-screen-add .study-form-back{background:#fff;border:1px solid #ece8f2;border-radius:12px}.study-form-screen-add .study-form-actions{gap:14px}.study-form-screen-add .study-form-actions .small-outline,.study-form-screen-add .study-form-actions .teal-button{border-radius:14px;min-width:104px;height:54px;font-size:16px}.contact-patients-card-add{background:#fff;border-color:#ece8f2;border-radius:16px;gap:28px;padding:22px 20px 28px}.contact-patients-card-add .contact-card-heading{gap:20px}.contact-patients-card-add .contact-card-heading h3{color:#2a2941;font-size:18px;font-weight:700;line-height:28px}.contact-methods-add{grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:24px;display:grid}.contact-methods-copy{flex-direction:column;gap:8px;display:flex}.contact-methods-copy strong{color:#2a2941;font-size:16px;font-weight:800;line-height:24px}.contact-methods-copy p{color:#8a88a1;margin:0;font-size:14px;line-height:22px}.contact-switches-add{gap:16px;display:grid}.contact-switch-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;display:grid}.contact-switch-row>span{color:#2a2941;font-size:16px;font-weight:500;line-height:24px}.contact-patients-card-add .contact-switch.on .switch-track{background:#83c5c9}.contact-irb-grid{grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:24px;display:grid}.contact-irb-copy span{color:#2a2941;font-size:15px;font-weight:700;line-height:22px}.contact-irb-copy textarea{color:#2a2941;border-color:#ece8f2;border-radius:12px;min-height:108px;padding:14px 16px;font-size:16px;line-height:24px}.contact-irb-copy textarea::placeholder{color:#8a88a1}.upload-file-button{cursor:pointer;justify-content:center;align-items:center;width:auto;display:inline-flex}.upload-file-button input{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.study-version-sheet .document-sheet-body{flex-direction:column;gap:16px;display:flex;overflow:hidden}.study-version-selector{grid-template-columns:minmax(0,1fr) minmax(220px,300px);align-items:end;gap:12px;padding:4px 0 12px;display:grid}.latest-version-card{border-radius:var(--radius-md);min-width:0;min-height:58px;color:var(--foreground);cursor:pointer;text-align:left;background:#fff;border:1px solid #d9d7e4;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 12px;padding:10px 12px;transition:transform .12s,border-color .12s,background-color .12s,box-shadow .12s;display:grid}.latest-version-card.selected{border-color:var(--teal);background:#f3f8f8;box-shadow:0 0 0 2px #7dbabb2e}.latest-version-card:hover{border-color:var(--teal);background:var(--accent);transform:translateY(-1px)}.latest-version-card span,.previous-version-select span{color:var(--muted);font-size:12px;font-weight:700;line-height:16px}.latest-version-card strong{min-width:0;color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:800;line-height:18px;overflow:hidden}.latest-version-card small{color:var(--muted);white-space:nowrap;grid-area:1/2/span 2;font-size:12px;line-height:16px}.previous-version-select{gap:6px;min-width:0;display:grid}.previous-version-select select{border:1px solid var(--input);border-radius:var(--radius-md);width:100%;height:38px;color:var(--foreground);background:#fff;padding:8px 34px 8px 10px;font-size:13px;line-height:18px}.pdf-selector-heading{flex-direction:column;gap:4px;display:flex}.pdf-selector-heading h3,.pdf-selector-heading p{margin:0}.pdf-selector-heading h3{color:var(--foreground);font-size:14px;font-weight:800;line-height:20px}.pdf-selector-heading p{color:var(--muted);font-size:12px;font-weight:500;line-height:16px}.study-version-card{flex:auto;grid-template-rows:auto minmax(0,1fr) auto;gap:16px;min-height:0;display:grid}.study-version-meta{border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;flex-direction:column;gap:6px;padding:16px;display:flex}.study-version-meta p,.study-version-meta span{color:var(--foreground);margin:0;font-size:14px;font-weight:800;line-height:20px}.study-version-meta span{color:var(--muted);font-size:12px;font-weight:500;line-height:16px}.study-version-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px;display:flex}.danger-outline{color:#dc2626;border-color:#dc26263d}.danger-outline:hover{background:#dc26260f}.document-delete-confirm{border-radius:var(--radius-md);background:#fff7f7;border:1px solid #dc26263d;justify-content:space-between;align-items:center;gap:16px;padding:12px;display:flex}.document-delete-confirm strong{color:var(--foreground);font-size:14px;font-weight:900;line-height:20px;display:block}.document-delete-confirm p{color:var(--muted);margin:2px 0 0;font-size:13px;font-weight:500;line-height:18px}.document-delete-actions{flex:none;align-items:center;gap:8px;display:flex}.study-version-edit{border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;flex-direction:column;gap:16px;min-height:0;padding:16px;display:flex;overflow-y:auto}.document-text-edit{flex-direction:column;gap:8px;display:flex}.document-text-edit span{color:var(--foreground);font-size:14px;font-weight:900;line-height:20px}.document-text-edit textarea{resize:vertical;border:1px solid var(--input);border-radius:var(--radius-md);width:100%;min-height:420px;color:var(--foreground);background:#fff;outline:0;padding:12px;font-size:14px;line-height:21px}.document-text-edit textarea:focus{border-color:var(--lake);box-shadow:0 0 0 3px #3c68791f}.manual-criteria-field.compact{height:auto}.manual-criteria-field.compact .manual-criteria-editor{height:220px;min-height:180px;max-height:30vh}.criteria-editor-stack{grid-template-columns:1fr;gap:18px;display:grid}.study-version-save,.study-version-edit-actions{align-self:flex-end}.study-version-edit-actions{z-index:2;background:#fff;justify-content:flex-end;align-items:center;gap:8px;padding:12px 0 0;display:flex;position:sticky;bottom:0}.version-edit-message{color:var(--muted);margin:0;font-size:13px;font-weight:700;line-height:18px}.study-version-copy{border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;min-height:260px;padding:16px;overflow-y:auto}.study-version-copy>p{color:var(--foreground);margin:0;font-size:14px;line-height:20px}.text-document-copy p,.manual-criteria-preview p,.criteria-rich-preview{white-space:pre-wrap}.pdf-preview{flex-direction:column;gap:12px;display:flex}.pdf-preview iframe{border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;width:100%;height:520px}.pdf-preview a{color:var(--lake);align-self:flex-start;font-size:14px;font-weight:800;line-height:20px;text-decoration:none}.pdf-preview a:hover{text-underline-offset:2px;text-decoration:underline}.contact-requirements-view{flex-direction:column;gap:18px;display:flex}.contact-requirements-methods{flex-direction:column;gap:10px;display:flex}.contact-requirements-methods h3{color:var(--foreground);margin:0;font-size:15px;font-weight:900;line-height:22px}.contact-method-checkboxes{flex-wrap:wrap;gap:8px;display:flex}.contact-method-checkbox{border:1px solid var(--input);min-height:34px;color:var(--foreground);cursor:pointer;background:#fff;border-radius:999px;align-items:center;gap:8px;padding:6px 10px;font-size:13px;font-weight:800;line-height:18px;display:inline-flex}.contact-method-checkbox.selected{color:var(--lake);background:#edf7f7;border-color:#30abb173}.contact-method-checkbox input{width:14px;height:14px;accent-color:var(--teal)}.contact-script-list{flex-direction:column;gap:14px;display:flex}.contact-script-field{flex-direction:column;gap:8px;display:flex}.contact-script-field span{color:var(--foreground);font-size:14px;font-weight:900;line-height:20px}.contact-script-field textarea{resize:vertical;border:1px solid var(--input);border-radius:var(--radius-md);width:100%;min-height:108px;color:var(--foreground);background:#fff;outline:0;padding:10px 12px;font-size:14px;line-height:20px}.contact-script-field textarea:focus{border-color:var(--lake);box-shadow:0 0 0 3px #3c68791f}.contact-requirements-save{align-self:flex-end}.manual-criteria-preview{grid-template-columns:1fr;gap:14px;display:grid}.manual-criteria-preview h3{color:var(--foreground);margin:0 0 8px;font-size:14px;font-weight:800;line-height:20px}.manual-criteria-preview h3,.manual-criteria-preview p,.manual-criteria-preview .criteria-rich-preview{padding-inline:0}.manual-criteria-preview>h3:first-of-type,.manual-criteria-preview>h3:nth-of-type(2){border:1px solid var(--border);border-radius:var(--radius-md) var(--radius-md) 0 0;background:#fbfbfd;border-bottom:0;padding:14px 14px 0}.manual-criteria-preview>h3:first-of-type+:where(p,.criteria-rich-preview),.manual-criteria-preview>h3:nth-of-type(2)+:where(p,.criteria-rich-preview){border:1px solid var(--border);border-radius:0 0 var(--radius-md) var(--radius-md);background:#fbfbfd;border-top:0;min-height:112px;margin-top:-14px;padding:0 14px 14px}.manual-criteria-preview p{color:var(--foreground);white-space:pre-wrap;margin:0 0 12px;font-size:14px;line-height:20px}.criteria-rich-preview{color:var(--foreground);margin:0 0 12px;font-size:14px;font-style:normal;line-height:20px}.criteria-rich-preview :where(p,ul,ol){margin:0 0 8px}.criteria-rich-preview :where(ul,ol){padding-left:22px}.manual-dialog-overlay{z-index:40;background:#000000b8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.manual-dialog{border:1px solid var(--border);border-radius:var(--radius-lg);width:min(100%,600px);min-height:420px;color:var(--foreground);background:#fff;flex-direction:column;align-items:flex-end;gap:16px;padding:24px;display:flex;position:relative;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.manual-dialog-header{justify-content:space-between;align-items:flex-start;gap:16px;width:100%;display:flex}.manual-dialog-header h2{color:var(--foreground);margin:0;font-size:18px;font-weight:800;line-height:1}.manual-dialog-header p{color:var(--muted);margin:6px 0 0;font-size:14px;line-height:20px}.manual-dialog-close{cursor:pointer;opacity:.7;background:0 0;flex:0 0 16px;place-items:center;width:16px;height:16px;padding:0;display:grid}.manual-dialog-close .ui-icon{width:16px;height:16px}.manual-criteria-field{border:1px solid var(--border);border-radius:var(--radius-md);background:#fbfbfd;flex-direction:column;gap:6px;width:100%;min-height:172px;padding:12px;display:flex}.manual-criteria-field span{color:var(--foreground);font-size:14px;font-weight:800;line-height:1}.manual-criteria-field textarea,.manual-criteria-editor{resize:vertical;border:1px solid var(--input);border-radius:var(--radius-md);width:100%;height:180px;min-height:132px;max-height:34vh;color:var(--foreground);background:#fff;outline:0;flex:auto;padding:8px 12px;font-size:14px;font-style:normal;font-weight:500;line-height:20px;overflow-y:auto}.manual-criteria-field textarea::placeholder{color:var(--muted);opacity:1}.manual-criteria-editor:empty:before{content:attr(data-placeholder);color:var(--muted)}.manual-criteria-editor :where(p,ul,ol){margin:0 0 8px;font-style:normal}.manual-criteria-editor :where(ul,ol){padding-left:22px}.manual-criteria-field textarea:focus,.manual-criteria-editor:focus{border-color:var(--lake);box-shadow:0 0 0 3px #3c68791f}.add-patient-dialog{align-items:stretch;gap:24px;width:min(100%,449px);min-height:0;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.add-patient-dialog .study-form-field{gap:8px;width:100%}.add-patient-name-row{width:100%}.add-patient-dialog .study-form-field span{line-height:1}.manual-dialog-save{width:64px;margin-top:1px}.manual-dialog-actions{align-self:flex-end;align-items:center;gap:8px;display:flex}.add-patient-dialog .manual-dialog-save{background:var(--foreground);align-self:stretch;width:100%;height:40px;margin-top:8px}.contact-dialog{border:1px solid var(--border);border-radius:var(--radius-lg);width:min(100%,480px);max-height:min(760px,100vh - 48px);color:var(--foreground);background:#fff;flex-direction:column;gap:16px;padding:24px;display:flex;position:relative;overflow-y:auto;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.enrolled-dialog,.add-study-patient-dialog,.screening-dialog{border:1px solid var(--border);border-radius:var(--radius-lg);width:min(100%,520px);color:var(--foreground);background:#fff;flex-direction:column;gap:16px;padding:24px;display:flex;position:relative;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.screening-checklist{flex-direction:column;gap:10px;display:flex}.screening-check{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--accent);cursor:pointer;align-items:center;gap:12px;min-height:48px;padding:12px;display:flex}.screening-check:hover{border-color:var(--teal)}.screening-check input{opacity:0;pointer-events:none;position:absolute}.screening-check-box{border:1px solid var(--input);background:#fff;border-radius:6px;flex:0 0 22px;place-items:center;width:22px;height:22px;display:grid}.screening-check input:checked+.screening-check-box{border-color:var(--teal);background:var(--teal)}.screening-check-box .ui-icon{width:14px;height:14px}.screening-check>span:last-child{color:var(--foreground);font-size:14px;font-weight:700;line-height:20px}.patient-finder-results{border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;max-height:188px;padding:6px;overflow-y:auto}.patient-finder-results button{width:100%;min-height:48px;color:var(--foreground);cursor:pointer;text-align:left;background:0 0;border-radius:6px;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;padding:8px 10px;display:flex}.patient-finder-results button:hover,.patient-finder-results button.selected{background:var(--accent)}.patient-finder-results span{color:var(--muted);font-size:12px;line-height:16px}.patient-finder-card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--accent);padding:16px}.patient-finder-card h3{margin:0 0 12px;font-size:16px;font-weight:800;line-height:20px}.patient-finder-card dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;display:grid}.patient-finder-card dt{color:var(--muted);font-size:12px;line-height:16px}.patient-finder-card dd{color:var(--foreground);overflow-wrap:anywhere;margin:2px 0 0;font-size:14px;font-weight:700;line-height:20px}.enrolled-popup-table{border-collapse:collapse;table-layout:fixed;width:100%}.enrolled-popup-table th,.enrolled-popup-table td{border-bottom:1px solid var(--border);height:52px;color:var(--foreground);text-align:left;padding:14px 16px;font-size:14px;line-height:20px}.enrolled-popup-table th:last-child,.enrolled-popup-table td:last-child{text-align:right;width:96px}.enrolled-edit-button{height:32px}.enrolled-popup-table th{color:var(--muted);font-weight:800}.enrolled-popup-table tr:last-child td{border-bottom:0}.enrolled-popup-table tbody tr:hover,.enrolled-popup-table tbody tr:hover td{background:var(--accent)}.enrolled-patient-link{max-width:100%;color:var(--foreground);cursor:pointer;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;padding:0;font-size:14px;font-weight:700;line-height:20px;overflow:hidden}.enrolled-patient-link:hover{color:var(--lake);text-decoration:underline}.unenroll-panel{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--accent);margin-top:16px;padding:16px}.unenroll-panel h3{color:var(--foreground);margin:0;font-size:16px;font-weight:800;line-height:22px}.unenroll-panel p{color:var(--muted);margin:4px 0 14px;font-size:13px;font-weight:500;line-height:18px}.unenroll-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.reversible-actions{justify-content:flex-end;gap:8px;display:flex}.contact-dialog-close{position:absolute;top:15px;right:15px}.contact-dialog-header{flex-direction:column;gap:6px;padding-right:28px;display:flex}.contact-dialog-header h2{color:var(--foreground);margin:0;font-size:18px;font-weight:800;line-height:18px}.contact-dialog-header p{color:var(--muted);margin:0;font-size:14px;line-height:20px}.contact-options{flex-direction:column;gap:12px;display:flex}.patient-dialog-section{flex-direction:column;gap:10px;display:flex}.patient-dialog-section h3{color:var(--foreground);margin:0;font-size:14px;font-weight:900;line-height:20px}.patient-history-list,.form-history-panel{flex-direction:column;gap:10px;display:flex}.patient-history-row{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--accent);grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:2px 10px;padding:10px 12px;display:grid}.patient-history-row.preferred{border-color:var(--teal);box-shadow:inset 3px 0 0 var(--teal)}.patient-history-row span{color:var(--muted);font-size:12px;font-weight:800;line-height:18px}.patient-history-row strong{min-width:0;color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800;line-height:18px;overflow:hidden}.patient-history-row small{background:var(--teal);color:#fff;border-radius:9999px;padding:2px 8px;font-size:11px;font-weight:800;line-height:16px}.screening-history-card{border:1px solid var(--teal);border-radius:var(--radius-md);box-shadow:inset 3px 0 0 var(--teal);background:#f4fbfb;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;display:grid}.screening-history-card div{min-width:0}.screening-history-card span{color:var(--muted);font-size:12px;font-weight:800;line-height:16px;display:block}.screening-history-card strong{color:var(--foreground);margin-top:2px;font-size:14px;font-weight:800;line-height:20px;display:block}.screening-history-card p{color:var(--lake);grid-column:1/-1;margin:0;font-size:12px;font-weight:700;line-height:16px}.contact-option{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--accent);min-height:76px;color:var(--foreground);cursor:pointer;text-align:left;align-items:center;gap:16px;padding:16px;display:flex}.contact-option:hover{border-color:var(--teal)}.contact-option.preferred{border-color:var(--teal);background:linear-gradient(#ffffffb8, #ffffffb8), var(--teal);box-shadow:inset 4px 0 0 var(--teal)}.contact-option.expanded{align-items:flex-start;min-height:104px}.contact-option-icon{border:1px solid var(--input);border-radius:var(--radius-md);width:40px;height:40px;color:var(--foreground);background:#fff;flex:0 0 40px;place-items:center;font-size:12px;font-weight:800;line-height:14px;display:grid}.contact-option-copy{min-width:0;color:var(--foreground);flex:auto;align-items:baseline;gap:4px;font-size:16px;line-height:24px;display:flex}.contact-option.expanded .contact-option-copy{flex-direction:column;align-items:flex-start;gap:2px}.contact-option-copy strong{font-weight:800}.contact-option-copy span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.contact-option.expanded .contact-option-copy span{text-overflow:clip;white-space:normal;overflow-wrap:anywhere;overflow:visible}.preferred-tag{background:var(--teal);color:#fff;border-radius:9999px;flex:none;padding:2px 8px;font-size:12px;font-weight:800;line-height:16px}.consent-history-panel{flex-direction:column;gap:12px;display:flex}.current-consent-row,.empty-consent-history{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--accent);padding:14px}.current-consent-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.current-consent-row div{flex-direction:column;gap:2px;min-width:0;display:flex}.current-consent-row strong{color:var(--foreground);margin:0;font-size:14px;font-weight:900;line-height:20px}.current-consent-row span,.previous-consent-select span{color:var(--muted);font-size:12px;font-weight:700;line-height:16px}.previous-consent-select{gap:6px;display:grid}.previous-consent-select select{border:1px solid var(--input);border-radius:var(--radius-md);width:100%;height:38px;color:var(--foreground);background:#fff;padding:8px 10px;font-size:13px;line-height:18px}.inline-form-preview{border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;flex-direction:column;gap:8px;padding:10px;display:flex}.inline-form-preview-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.inline-form-preview-header strong{min-width:0;color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:900;line-height:18px;overflow:hidden}.inline-form-preview-header span{color:var(--muted);white-space:nowrap;font-size:12px;font-weight:700;line-height:16px}.empty-consent-history{color:var(--foreground);margin:0;font-size:14px;line-height:20px}.consent-selected-open{align-self:flex-start}.consent-pdf-panel{border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;flex-direction:column;gap:10px;padding:12px;display:flex}.consent-pdf-panel-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.consent-pdf-panel-header div{flex-direction:column;gap:2px;min-width:0;display:flex}.consent-pdf-panel-header strong{color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:900;line-height:20px;overflow:hidden}.consent-pdf-panel-header span{color:var(--muted);font-size:12px;font-weight:700;line-height:16px}.consent-pdf-frame{border:1px solid var(--border);border-radius:var(--radius-md);background:#f8f8fb;width:100%;height:320px}.consent-pdf-frame.compact{height:220px}.contact-patients-card{flex-direction:column;align-items:stretch;min-height:292px}.contact-card-heading{align-items:center;gap:12px;display:flex}.contact-methods{border-bottom:1px solid var(--border);flex-direction:column;gap:16px;padding:8px 0 24px;display:flex}.contact-switches{flex-wrap:wrap;align-items:center;gap:28px;display:flex}.contact-switch{height:32px;color:var(--foreground);cursor:pointer;background:0 0;justify-content:flex-start;align-items:center;gap:8px;padding:0;font-size:14px;font-weight:500;line-height:20px;display:inline-flex}.switch-track{background:#d9d7e4;border-radius:9999px;flex:0 0 36px;align-items:center;width:36px;height:20px;padding:2px;transition:background-color .12s;display:flex}.contact-switch.on .switch-track{background:var(--teal);justify-content:flex-end}.switch-thumb{background:#fff;border-radius:9999px;width:16px;height:16px;box-shadow:0 1px 2px #00000029}.irb-copy{flex-direction:column;gap:8px;display:flex}.irb-copy textarea{resize:vertical;border:1px solid var(--input);border-radius:var(--radius-md);width:100%;min-height:80px;color:var(--foreground);background:#fff;outline:0;padding:10px 12px;font-size:14px;line-height:20px}.study-form-status{min-height:20px;color:var(--muted);text-align:left;margin:-8px 0 0}.detail-hero{background:var(--app-shell);min-height:62px;padding:2px 24px 12px;display:flex}.history-button{color:#ffffffd1;cursor:pointer;letter-spacing:0;background:0 0;border:0;align-items:center;gap:4px;min-height:24px;padding:0;font-size:12px;font-weight:800;line-height:16px;display:inline-flex}.history-button span:not(.history-arrow){align-items:center;height:16px;display:inline-flex;transform:translateY(2px)}.history-arrow{color:var(--teal);font-size:16px;font-weight:800;line-height:1;display:block}.history-button:hover,.history-button:hover .history-arrow{color:#fff}.detail-hero-main{align-items:flex-start;gap:12px;width:100%;display:flex}.detail-title{flex:auto;min-width:0;padding-right:12px}.detail-title p{color:#fff9;margin:0;font-size:14px;line-height:20px}.document-actions{flex:none;align-items:center;gap:12px;display:flex}.document-actions button{border-radius:var(--radius-md);background:var(--teal);color:#fff;cursor:pointer;border:1px solid #0000;height:40px;padding:8px 16px;font-size:14px;font-weight:800;line-height:20px}.document-actions button:hover{background:#6baeb0;box-shadow:0 8px 18px #3c687938}.document-actions .icon-only{border-color:#0000;place-items:center;width:40px;padding:0;display:grid}.detail-content{flex-direction:column;height:calc(100vh - 166px);min-height:0;padding:24px;display:flex}.detail-content-header{align-items:flex-start;max-width:none;height:auto;min-height:52px;margin-bottom:12px;overflow:visible}.patient-grid{flex:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;min-height:0;display:grid}.patient-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;flex-direction:column;min-height:0;padding:24px;display:flex;box-shadow:0 1px 2px #0000000d}.patient-card-header{justify-content:space-between;align-items:center;height:36px;display:flex}.patient-card h3{align-items:baseline;gap:6px;margin:0;font-size:16px;font-weight:800;line-height:16px;display:inline-flex}.patient-card-count{color:var(--teal);font-size:22px;font-weight:800;line-height:24px}.patient-column-search{flex:none;width:100%;height:36px;margin:0 0 10px;padding:6px 10px}.patient-column-search input{font-size:13px;line-height:18px}.patient-list-scroll{scrollbar-gutter:stable;flex:auto;min-height:0;padding-right:22px;overflow-y:scroll}.patient-list-scroll thead th{z-index:1;background:#fff;position:sticky;top:0}.study-table-scroll,.clinic-table-scroll,.clinic-study-list,.patient-list-scroll{scrollbar-width:thin;scrollbar-color:#b9b5c8 #f3f2f6;box-shadow:inset -14px 0 #f3f2f6}.study-table-scroll::-webkit-scrollbar{width:14px;height:14px}.clinic-table-scroll::-webkit-scrollbar{width:14px;height:14px}.clinic-study-list::-webkit-scrollbar{width:14px;height:14px}.patient-list-scroll::-webkit-scrollbar{width:14px;height:14px}.study-table-scroll::-webkit-scrollbar-track{background:#f3f2f6;border-radius:9999px}.clinic-table-scroll::-webkit-scrollbar-track{background:#f3f2f6;border-radius:9999px}.clinic-study-list::-webkit-scrollbar-track{background:#f3f2f6;border-radius:9999px}.patient-list-scroll::-webkit-scrollbar-track{background:#f3f2f6;border-radius:9999px}.study-table-scroll::-webkit-scrollbar-thumb{background:#b9b5c8;border:2px solid #f3f2f6;border-radius:9999px}.clinic-table-scroll::-webkit-scrollbar-thumb{background:#b9b5c8;border:2px solid #f3f2f6;border-radius:9999px}.clinic-study-list::-webkit-scrollbar-thumb{background:#b9b5c8;border:2px solid #f3f2f6;border-radius:9999px}.patient-list-scroll::-webkit-scrollbar-thumb{background:#b9b5c8;border:2px solid #f3f2f6;border-radius:9999px}.small-outline{border:1px solid var(--input);border-radius:var(--radius-md);height:36px;color:var(--foreground);cursor:pointer;background:#fff;padding:8px 12px;font-size:14px;font-weight:700}.small-outline:hover{border-color:var(--teal);background:var(--accent);box-shadow:0 6px 14px #18132b14}.metrics{grid-template-columns:repeat(auto-fit,minmax(62px,1fr));align-items:start;gap:8px;min-height:54px;margin:12px 0 10px;display:grid}.metric{text-align:left;grid-template-rows:28px 24px;align-items:start;min-width:0;padding:0 10px 0 0;display:grid}.metric:first-child{padding-left:0}.metric:last-child{padding-right:0}.metric span,.metric strong{display:block}.metric span{color:var(--muted);white-space:normal;font-size:12px;line-height:14px}.metric strong{color:var(--teal);font-size:20px;font-weight:500;line-height:24px}.danger-text,.metric .danger-text{color:#6f6378}.patient-table th:first-child,.patient-table td:first-child{width:58%}.patient-table th:last-child,.patient-table td:last-child{text-align:right;width:42%;padding-right:8px}.patient-table th:last-child .clinic-sort-header{justify-content:flex-end}.study-table .empty-table-cell,.patient-table .empty-table-cell,.enrolled-table .empty-table-cell{color:var(--muted);text-align:left;font-style:italic}.poor-candidate-row td,.poor-candidate-row .patient-name{color:#a4a0b4}.patient-table tbody tr.recontact-ready-row,.patient-table tbody tr.recontact-ready-row td{background:#eef8f8}.patient-table tbody tr.recontact-ready-row:hover,.patient-table tbody tr.recontact-ready-row:hover td{background:#e3f3f3}.recontact-ready-row .patient-name-button{color:var(--lake);font-weight:500}.patient-status-select{max-width:100%;height:24px;color:var(--lake);cursor:pointer;text-align:center;text-align-last:center;appearance:none;background-color:#d8eef0;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%233C6879' d='M0 1.4 8 10 16 1.4 13.8 0 8 6.2 2.2 0z'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;background-size:16px 10px;border:0;border-radius:9999px;padding:2px 34px 2px 10px;font-size:12px;font-weight:800;line-height:16px}.patient-status-select::-ms-expand{display:none}.patient-status-select:hover{transform:translateY(-1px);box-shadow:0 6px 14px #18132b1a}.patient-status-select:focus{outline:0;box-shadow:0 0 0 3px #3c68791f}.patient-status-select.contact,.patient-status-select.in-screening,.patient-status-select.reversible{background-color:var(--teal);color:#fff;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23FFFFFF' d='M0 1.4 8 10 16 1.4 13.8 0 8 6.2 2.2 0z'/%3E%3C/svg%3E")}.patient-status-select.opted-out,.patient-status-select.poor-candidate,.patient-status-select.failed{color:#6f6378;background-color:#e8e3ea;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%236F6378' d='M0 1.4 8 10 16 1.4 13.8 0 8 6.2 2.2 0z'/%3E%3C/svg%3E")}.patient-status-select.waiting-on-response{color:var(--muted);background-color:#f3f2f6;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23736F85' d='M0 1.4 8 10 16 1.4 13.8 0 8 6.2 2.2 0z'/%3E%3C/svg%3E")}.screening-progress-button{border-radius:var(--radius-md);width:min(100%,132px);color:var(--lake);cursor:pointer;text-align:left;background:#f3f8f8;flex-direction:column;align-items:stretch;gap:5px;padding:6px 8px;display:inline-flex}.screening-progress-button:hover{background:#e9f5f5;box-shadow:0 6px 14px #18132b1a}.screening-progress-copy{color:var(--lake);justify-content:space-between;align-items:baseline;gap:8px;font-size:11px;font-weight:700;line-height:14px;display:flex}.screening-progress-copy strong{color:var(--teal);font-size:13px;font-weight:900;line-height:16px}.screening-progress-track{background:#d8eef0;border-radius:9999px;height:6px;overflow:hidden}.screening-progress-fill{border-radius:inherit;background:var(--teal);height:100%;display:block}.screening-status-select{border:1px solid var(--input);border-radius:var(--radius-md);width:min(100%,132px);height:32px;color:var(--lake);appearance:none;background-color:#f3f8f8;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%233C6879' d='M0 1.4 8 10 16 1.4 13.8 0 8 6.2 2.2 0z'/%3E%3C/svg%3E");background-position:right 9px center;background-repeat:no-repeat;background-size:12px 8px;padding:5px 26px 5px 10px;font-size:12px;font-weight:800;line-height:16px}.screening-status-select:hover{border-color:var(--teal);box-shadow:0 6px 14px #18132b14}.eligible-status-control{justify-content:flex-end;display:flex}.failed-recontact-control{justify-content:flex-end;align-items:flex-end;display:flex}.recontact-ready-button{cursor:pointer;text-align:right;border:1px solid var(--teal);background:var(--teal);color:#fff;border-radius:9999px;max-width:100%;padding:5px 10px;font-size:12px;font-weight:800;line-height:16px;box-shadow:0 4px 10px #3c68791f}.recontact-ready-button:hover{background:#6eabac;transform:translateY(-1px);box-shadow:0 6px 14px #7dbabb38}.status-pill-button{cursor:pointer;background:0 0;border-radius:9999px;justify-content:center;max-width:100%;padding:0;display:inline-flex}.status-pill-button:not(.static):hover{box-shadow:0 6px 14px #18132b1a}.status-pill-button.static{cursor:default}.patient-header-tools{grid-template-columns:auto auto auto 320px;align-items:center;gap:8px;display:grid}.patient-header-tools .search-box,.patient-search-wrap{width:320px}.patient-search-wrap{position:relative}.patient-search-suggestions{z-index:20;border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;max-height:276px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 16px 32px #0f172a24}.patient-search-suggestions button{width:100%;min-height:36px;color:var(--foreground);cursor:pointer;text-align:left;background:0 0;border-radius:6px;align-items:center;padding:8px 10px;font-size:14px;line-height:20px;display:flex}.patient-search-suggestions button:hover{background:var(--accent)}.patient-refresh-status{color:var(--muted);text-align:right;grid-column:1/-1;margin:0;font-size:12px;line-height:16px;display:none}.patient-refresh-status.is-visible{display:block}.enrolled-summary-button{white-space:nowrap}.patient-name{align-items:center;gap:8px;max-width:100%;display:inline-flex}.patient-name-button{color:inherit;cursor:pointer;text-align:left;background:0 0;padding:0;font-weight:500}.patient-name-button:hover{color:var(--lake);text-decoration:underline}.badge{background:linear-gradient(#fffc, #fffc), var(--teal);min-width:0;max-width:100%;height:24px;color:var(--lake);text-align:center;white-space:nowrap;border-radius:9999px;justify-content:center;align-items:center;gap:8px;padding:2px 10px;font-size:12px;font-weight:800;line-height:16px;display:inline-flex}.badge.danger{color:#6f6378;background:#e8e3ea}.badge.solid{background:var(--teal);color:#fff}.status-pill-button .badge{padding:2px 34px 2px 10px;position:relative}.status-caret{clip-path:polygon(0 14%,50% 100%,100% 14%,86% 0,50% 62%,14% 0);opacity:.72;background:currentColor;flex:0 0 16px;width:16px;height:10px}.status-pill-button .status-caret{position:absolute;top:50%;right:10px;transform:translateY(-50%)}.failed-panel{border-radius:var(--radius-md);background:linear-gradient(#fff6, #fff6), var(--accent);margin-top:16px;padding-inline:12px}.failed-header{border-bottom:1px solid var(--border);height:48px;color:var(--muted);justify-content:space-between;align-items:center;font-size:14px;display:flex}.failed-header button{cursor:pointer;color:var(--foreground);background:0 0;align-items:center;gap:8px;font-weight:800;display:inline-flex}.muted-table td:first-child{color:#a4a0b4}.enrolled-table th,.enrolled-table td{padding-left:16px}.document-sheet-overlay{z-index:200;background:#0409179e;justify-content:flex-end;display:flex;position:fixed;inset:0}.document-sheet{border-left:1px solid var(--border);width:min(100%,680px);height:100vh;color:var(--foreground);background:#fff;flex-direction:column;gap:16px;padding:24px;display:flex;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.document-sheet .ui-icon{filter:brightness(0)}.document-sheet-header{align-items:center;gap:8px;height:56px;padding-block:8px;display:flex}.document-sheet-header h2{min-width:0;color:var(--foreground);white-space:nowrap;text-overflow:ellipsis;flex:auto;margin:0;font-size:18px;font-weight:800;line-height:28px;overflow:hidden}.sheet-back,.sheet-icon-button,.sheet-outline-button,.version-button{border:1px solid var(--input);border-radius:var(--radius-md);color:var(--foreground);cursor:pointer;background:#fff;font-size:14px;font-weight:800;line-height:20px}.sheet-back{width:auto;min-width:32px;height:32px;color:var(--teal);background:0 0;border-color:#0000;justify-content:center;align-items:center;padding:0 6px;display:inline-flex}.sheet-back-arrow{font-size:24px;font-weight:800;line-height:1;display:block}.sheet-back:hover{color:var(--lake);background:var(--accent)}.sheet-outline-button{background:#fff3;height:40px;padding:8px 16px}.sheet-icon-button{place-items:center;width:40px;height:40px;display:grid}.document-sheet-body{flex:auto;min-height:0;padding:0 16px 24px;overflow-y:auto}.version-button{background:0 0;border-color:#0000;align-items:center;gap:8px;height:36px;margin-bottom:16px;padding:0;display:inline-flex}.version-button .ui-icon{opacity:.72;width:16px;height:10px}.document-copy{color:var(--foreground);white-space:normal;font-size:14px;font-weight:500;line-height:20px}.document-copy p{margin:0 0 16px}.document-copy h3{margin:0;font-size:14px;font-weight:800;line-height:20px}.document-copy ul{margin:0 0 16px;padding-left:18px}.document-copy li{margin:0}.document-copy.compact{min-height:250px}.signature-stack{flex-direction:column;gap:12px;margin-bottom:16px;display:flex}.signature-row{border:1px solid var(--border);border-radius:var(--radius-md);background:#ffffffe6;align-items:center;gap:16px;min-height:74px;padding:16px;display:flex}.signature-row.signed{background:linear-gradient(#ffffffe6, #ffffffe6), var(--teal)}.signature-label{min-width:0;color:var(--app-shell);flex:auto;align-items:center;gap:6px;font-size:14px;font-weight:800;line-height:20px;display:flex}.signed-badge{background:linear-gradient(#ffffffb3, #ffffffb3), var(--teal);color:#274754;border-radius:9999px;align-items:center;padding:2px 10px;font-size:12px;font-weight:800;line-height:16px;display:inline-flex}.signature-script{color:var(--foreground);text-align:right;flex:none;font-family:Brush Script MT,Snell Roundhand,cursive;font-size:34px;line-height:36px}@media (width<=1100px){.app-screen{min-height:100vh;overflow:auto}.app-topbar{flex-wrap:wrap;align-items:center;height:auto;padding:20px 24px}.brand-block{flex:0 0 180px;min-width:180px}.logo-large{width:124px;height:46px}.brand-subtitle{letter-spacing:2px;font-size:12px;line-height:16px}.global-nav{order:3;width:100%;margin-left:0;padding-bottom:2px;overflow-x:auto}.icon-button{margin-left:auto}.studies-content{padding:24px;overflow-x:auto}.table-card{min-width:980px}.detail-content{padding:24px}.detail-hero{flex-wrap:wrap;height:auto}.document-actions{justify-content:flex-start;width:100%;overflow-x:auto}.patient-grid{grid-template-columns:1fr}.document-sheet{width:min(100%,680px);height:100vh}.home-content{grid-template-columns:1fr;height:auto;min-height:calc(100vh - 174px);padding:32px 24px}.clinic-panel,.clinic-sidebar{max-height:none}.clinic-panel-header{flex-direction:column;align-items:stretch}.clinic-search{flex-basis:auto;width:100%}.clinic-header-tools,.patient-header-tools{grid-template-columns:1fr;width:100%}.clinic-refresh-status:not(.mobile){display:none}.clinic-refresh-status.mobile{text-align:left;display:block}.patient-header-tools .search-box,.patient-search-wrap{width:100%}.patient-refresh-status{text-align:left}.clinic-search-wrap{flex-basis:auto;width:100%}.clinic-patient-table{table-layout:fixed;min-width:780px}.clinic-table-scroll{max-height:min(62vh,620px);overflow:auto}.clinic-patient-table th,.clinic-patient-table td{white-space:normal;padding:14px 10px}.clinic-patient-table th:nth-child(n),.clinic-patient-table td:nth-child(n){width:auto}.clinic-sidebar{min-height:360px;max-height:520px}.admin-profile-content{padding:32px 24px}.admin-profile-card{width:min(100%,600px)}.study-form-screen{width:100%;min-height:100vh}.study-form-header{grid-template-columns:40px 1fr;align-items:start;height:auto}.study-form-actions{grid-column:2;justify-content:flex-start}.study-form-body{min-height:calc(100vh - 124px)}}@media (width<=560px){.feedback-field-row,.profile-grid{grid-template-columns:1fr}.profile-field.half{grid-column:1/-1}.study-form-grid,.contact-switches{grid-template-columns:1fr}.study-form-field,.additional-sites-field,.dates-active-field,.enrollment-fields-row{grid-column:1/-1}.additional-sites-control,.dates-active-inputs{grid-template-columns:1fr}.enrollment-fields-row{flex-direction:column;align-items:stretch}.enrollment-number-field{width:100%}.study-doc-row{flex-direction:column;align-items:flex-start}.study-doc-actions{flex-wrap:wrap;width:100%}}@media (width<=1100px){.detail-screen{width:1180px;min-width:1180px;max-width:none;margin:0;overflow:auto}.detail-screen .app-topbar{flex-wrap:nowrap;height:104px;padding:16px 24px 14px}.detail-screen .brand-block{flex:0 0 230px;min-width:230px}.detail-screen .logo-large{width:170px;height:56px}.detail-screen .brand-subtitle{letter-spacing:2.8px;font-size:14px;line-height:20px}.detail-screen .global-nav{order:0;width:auto;margin-left:auto;padding-bottom:0;overflow:visible}.detail-screen .detail-hero{flex-wrap:nowrap;height:auto;min-height:62px}.detail-screen .detail-content{height:calc(100vh - 166px);min-height:0;padding:24px}.detail-screen .document-actions{justify-content:flex-end;width:auto;overflow:visible}.detail-screen .patient-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.recruitment-home{width:1180px;min-width:1180px;max-width:none;margin:0;overflow:auto}.recruitment-home .app-topbar{flex-wrap:nowrap;height:104px;padding:16px 24px 14px}.recruitment-home .brand-block{flex:0 0 230px;min-width:230px}.recruitment-home .logo-large{width:170px;height:56px}.recruitment-home .brand-subtitle{letter-spacing:2.8px;font-size:14px;line-height:20px}.recruitment-home .global-nav{order:0;width:auto;margin-left:auto;padding-bottom:0;overflow:visible}.recruitment-home .home-content{grid-template-columns:minmax(0,1fr) 340px;gap:40px;height:calc(100vh - 195px);min-height:0;padding:24px}.recruitment-home .clinic-panel,.recruitment-home .clinic-sidebar{max-height:none}.recruitment-home .clinic-panel-header{flex-direction:row;align-items:center}.recruitment-home .clinic-header-tools{grid-template-columns:auto 320px;width:auto}.recruitment-home .clinic-search,.recruitment-home .clinic-search-wrap{flex-basis:320px;width:320px}.recruitment-home .clinic-refresh-status:not(.mobile){display:block}.recruitment-home .clinic-refresh-status.mobile{display:none}.recruitment-home .clinic-patient-table{table-layout:fixed;min-width:0}.recruitment-home .clinic-table-scroll{max-height:none;overflow:hidden scroll}.recruitment-home .clinic-patient-table th,.recruitment-home .clinic-patient-table td{white-space:normal;overflow-wrap:anywhere;padding:16px}.recruitment-home .clinic-sort-header,.recruitment-home .clinic-patient-name{white-space:normal;overflow-wrap:anywhere}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=900px){.signup-shell{border:0;flex-direction:column;width:100%;min-height:100vh;padding:24px}.form-pane{padding-block:32px}.form-stack{gap:56px;width:min(100%,360px)}.image-pane{height:auto;min-height:360px;margin-top:0}}@media (width<=480px){.signup-shell{padding:18px}.form-pane{padding-block:24px}.intro h1{font-size:28px;line-height:34px}}
