@import"https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Prata&display=swap";:root{font-family:Manrope,system-ui,sans-serif;color:#172927;background:#f4f7f5;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #172927;--muted: #687975;--green-950: #0d302f;--green-900: #123b3a;--green-700: #286b64;--green-100: #dcece7;--cream: #f7f2e8;--amber: #d89645;--line: #dde6e2;--surface: #ffffff;--shadow: 0 16px 45px rgba(24, 60, 56, .08)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button,.button,.status-pill{overflow-wrap:normal;word-break:normal}:focus-visible{outline:3px solid rgba(216,150,69,.55);outline-offset:2px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-family:Prata,Georgia,serif;font-size:clamp(2rem,3vw,3.25rem);line-height:1.08;letter-spacing:-.035em;margin-bottom:.65rem;font-weight:400}h2{font-size:1.15rem;line-height:1.35}p{color:var(--muted);line-height:1.65}.app-loading{min-height:100vh;display:grid;place-items:center;color:var(--muted)}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:264px;padding:22px 16px;background:var(--green-950);color:#fff;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:12px;padding:0 8px 25px}.brand__mark{width:42px;height:42px;border-radius:13px;background:#d7a85f;display:grid;place-items:center;color:var(--green-950)}.brand b{display:block;font-size:1.08rem;letter-spacing:.01em}.brand small{color:#96b7b1;font-size:.7rem;letter-spacing:.09em;text-transform:uppercase}.sidebar .sidebar__close{display:none;margin-left:auto}.nav-list{min-height:0;margin:0 -5px;padding:0 5px 10px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.18) transparent}.nav-section{display:grid;gap:4px}.nav-section+.nav-section{margin-top:14px}.nav-section__label{padding:0 14px 4px;color:#6f9993;font-size:.58rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.nav-item{color:#aac3bf;display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:12px;font-size:.91rem;font-weight:600;transition:.16s ease}.nav-item:hover{color:#fff;background:#ffffff0f}.nav-item--active{color:#fff;background:#ffffff1c;box-shadow:inset 3px 0 #d7a85f}.sidebar__profile{flex:0 0 auto;margin-top:8px;border-top:1px solid rgba(255,255,255,.12);padding:18px 5px 0;display:flex;align-items:center;gap:10px}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#d6a45c;color:#173b38;font-weight:800}.profile-copy{min-width:0;flex:1}.profile-copy b,.profile-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-copy b{font-size:.8rem}.profile-copy small{color:#8faeaa;font-size:.67rem;margin-top:3px}.icon-button{border:0;background:transparent;width:38px;height:38px;border-radius:10px;display:inline-grid;place-items:center;color:inherit;transition:.15s ease}.icon-button:hover{background:#234a4514}.icon-button:disabled{opacity:.35;cursor:not-allowed}.icon-button--danger{color:#a84545}.app-main{width:calc(100% - 264px);margin-left:264px;min-height:100vh}.app-main>main{max-width:1460px;margin:0 auto;padding:44px clamp(25px,4vw,64px) 70px}.mobile-header{display:none}.page-stack{display:grid;gap:28px}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:25px}.page-header p{margin-bottom:0}.page-header__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px}.eyebrow{color:var(--green-700);font-size:.69rem;font-weight:800;text-transform:uppercase;letter-spacing:.15em;display:inline-block;margin-bottom:9px}.eyebrow--light{color:#bdd6d1}.muted{color:var(--muted)}.button{border:1px solid transparent;min-height:42px;padding:0 17px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:.84rem;font-weight:700;line-height:1.2;white-space:nowrap;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}.button:hover{transform:translateY(-1px)}.button:disabled{opacity:.55;cursor:wait;transform:none}.button--primary{background:var(--green-900);color:#fff;box-shadow:0 8px 22px #123b3a2e}.button--primary:hover{background:#194c49}.button--secondary{background:var(--surface);color:var(--green-900);border-color:var(--line)}.button--ghost{background:transparent;color:var(--green-900);border-color:var(--line);box-shadow:none}.button--danger{border-color:#e4c4c0;background:#fff7f5;color:#9d3f35;box-shadow:none}.button--small{min-height:34px;padding:0 12px;font-size:.76rem}.button--wide{width:100%}.panel{background:var(--surface);border:1px solid rgba(209,222,217,.8);border-radius:20px;padding:24px;box-shadow:var(--shadow)}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media(max-height:780px)and (min-width:801px){.sidebar{padding-block:14px}.brand{padding-bottom:14px}.nav-section+.nav-section{margin-top:6px}.nav-section__label{display:none}.nav-item{padding-block:9px}.sidebar__profile{padding-top:11px}}.panel__heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.panel__heading h2{margin-bottom:0;font-size:1.3rem}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.metric-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;min-height:118px;padding:21px;display:flex;gap:16px;align-items:center;box-shadow:0 8px 30px #1c3d390d}.metric-card b{display:block;font-family:Prata,serif;font-size:2rem;font-weight:400}.metric-card small{display:block;margin-top:4px;color:var(--muted);font-size:.77rem}.metric-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;flex:0 0 auto}.metric-icon--green{background:#dfeee9;color:#35746d}.metric-icon--amber{background:#f8ead7;color:#b4762e}.metric-icon--blue{background:#e1eaf0;color:#426b83}.metric-icon--red{background:#f7e4e1;color:#a4483c}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr);gap:18px}.panel--feature{min-height:285px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative;background:var(--green-900);color:#fff;border:0}.panel--feature:after{content:"";width:260px;height:260px;border-radius:50%;position:absolute;right:-70px;top:-100px;border:50px solid rgba(211,164,94,.18)}.panel--feature>*{position:relative;z-index:1;max-width:75%}.panel--feature h2{font-family:Prata,serif;font-size:1.8rem;font-weight:400;margin-bottom:12px}.panel--feature p{color:#c1d4d0}.text-link{display:inline-flex;gap:6px;align-items:center;font-size:.82rem;font-weight:700}.text-link--light{color:#f2d29f}.quick-list{display:grid}.quick-list a{padding:14px 0;display:flex;align-items:center;gap:13px;border-top:1px solid var(--line)}.quick-list a>svg{margin-left:auto;color:#9aaba7;width:18px}.quick-list b,.quick-list small{display:block}.quick-list b{font-size:.85rem}.quick-list small{font-size:.72rem;color:var(--muted);margin-top:4px}.quick-icon{width:40px;height:40px;border-radius:12px;background:var(--green-100);color:var(--green-700);display:grid;place-items:center}.quick-icon svg{width:19px}.quick-icon--amber{color:#ad722d;background:#f6e8d4}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--line)}.search-box{min-width:min(420px,100%);height:42px;padding:0 13px;background:#f4f7f5;border:1px solid transparent;border-radius:11px;display:flex;align-items:center;gap:9px;color:#7d8f8b}.search-box:focus-within{border-color:#8db5ad;background:#fff}.search-box input{border:0;outline:0;background:transparent;width:100%;color:var(--ink)}.record-count{font-size:.75rem;color:var(--muted)}.select-visible{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:.72rem;font-weight:700;white-space:nowrap}.select-visible input,.patient-select{accent-color:var(--green-700)}.filter-banner{padding:12px 14px;border:1px solid #cfe0da;border-radius:12px;background:#eaf3ef;display:flex;align-items:center;justify-content:space-between;gap:14px;color:#32685e;font-size:.78rem}.patient-list{display:grid}.patient-name .patient-data-warning,.patient-data-warning{color:#9b6527}.patient-name .patient-data-warning{display:flex;align-items:center;gap:5px}.patient-data-notice{display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px;padding:18px;background:#fff7e9;color:#80591f;border:1px solid #ecd6b3;border-radius:14px;font-size:.82rem;line-height:1.5}.patient-data-notice>div{flex:1;min-width:min(240px,100%)}.patient-data-notice p{margin:5px 0}.patient-data-notice ul{margin:5px 0 0;padding-left:18px}@media(max-width:800px){.import-issue-row .import-correct-link{grid-column:2;justify-self:start}}.patient-bulk-bar{position:sticky;top:12px;z-index:12;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border:1px solid #bcd4cb;border-radius:16px;background:#edf6f2;box-shadow:0 8px 24px #183c3817;font-size:.8rem}.patient-bulk-bar__actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.patient-bulk-bar select{min-height:34px;max-width:100%;padding:6px 10px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font:inherit;font-size:.74rem}dialog.patient-bulk-dialog{margin:auto;padding:24px;width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 40px);border:1px solid var(--line);color:var(--ink)}dialog.patient-bulk-dialog::backdrop{background:#0e27237a;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.patient-bulk-dialog__body{display:grid;gap:16px;padding:18px 0;font-size:.86rem;line-height:1.6}.patient-bulk-dialog__body p{margin:0}.patient-bulk-confirm{display:flex;gap:10px;align-items:flex-start}.patient-bulk-confirm input{margin-top:6px;accent-color:#9b4b45}@media(max-width:800px){.patient-bulk-bar{top:70px}}.registry-tabs{width:fit-content;max-width:100%}.registry-tabs button>span{min-width:22px;padding:3px 7px;border-radius:999px;background:#295b5217;color:inherit;font-size:.64rem;text-align:center}.import-issue-list{display:grid}.import-issue-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:14px;padding:17px 10px;border-bottom:1px solid var(--line)}.import-issue-row:last-child{border-bottom:0}.import-issue-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#f8e9e6;color:#a14f47}.import-issue-icon svg{width:19px}.import-issue-content{min-width:0;display:grid;gap:10px}.import-issue-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.import-issue-heading b,.import-issue-heading small{display:block}.import-issue-heading b{font-size:.87rem}.import-issue-heading small{margin-top:4px;color:var(--muted);font-size:.72rem}.import-issue-messages{margin:0;padding-left:18px;color:#87453f;font-size:.74rem;line-height:1.5}.empty-state--success{color:#34715c}.patient-row{display:grid;grid-template-columns:auto minmax(180px,1.3fr) minmax(110px,.7fr) minmax(150px,1fr) auto;gap:16px;align-items:center;padding:16px 4px;border-bottom:1px solid var(--line)}.patient-row--selectable{grid-template-columns:auto auto minmax(180px,1.3fr) minmax(110px,.7fr) minmax(150px,1fr) auto;padding-left:10px;padding-right:10px;border-radius:12px;transition:background .15s ease}.patient-row--selectable.is-selected{background:#edf6f2}.patient-select{width:16px;height:16px}.patient-row:last-child{border-bottom:0}.patient-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#e4efeb;color:#497d76}.patient-avatar svg{width:19px}.patient-name b,.patient-name small{display:block}.patient-name b{font-size:.87rem}.patient-name small,.patient-phone{color:var(--muted);font-size:.74rem;margin-top:4px}.status-pill{width:fit-content;white-space:nowrap;padding:5px 9px;border-radius:999px;font-size:.66rem;font-weight:800;background:#eef1ef;color:#71807d}.status-pill--active,.status-pill--published,.status-pill--completed{background:#e1f0e9;color:#34715c}.status-pill--draft,.status-pill--pending{background:#f8ebd8;color:#9b6527}.status-pill--archived{background:#ecefed;color:#687975}.status-pill--in_progress{background:#e3edf4;color:#46708a}.status-pill--overdue,.status-pill--cancelled{background:#f5e1df;color:#9b4b45}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.template-card{min-width:0;background:#fff;min-height:300px;padding:22px;border:1px solid var(--line);border-radius:19px;display:flex;flex-direction:column;box-shadow:0 9px 32px #193e3a0d}.template-card__top{display:flex;justify-content:space-between;align-items:center;color:#80908d;font-size:.72rem;margin-bottom:28px}.template-card h2{font-size:1.08rem;margin:6px 0 8px}.template-card p{font-size:.76rem;line-height:1.55}.template-kind{color:var(--green-700);font-size:.66rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em}.template-meta{display:flex;gap:26px;padding:17px 0;margin-top:auto;border-top:1px solid var(--line);color:var(--muted);font-size:.7rem}.template-meta b{color:var(--ink);font-size:.95rem;margin-right:3px}.card-actions{display:flex;gap:8px}.template-card .card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.template-card .card-actions .button{min-width:0;padding-inline:7px;font-size:clamp(.58rem,.72vw,.7rem)}.access-note{display:flex;gap:10px;align-items:baseline;color:var(--muted);font-size:.76rem}.access-note b{color:var(--ink)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;padding:28px;background:#08201ea8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:grid;place-items:center;z-index:100;overflow-y:auto}.modal{width:min(620px,100%);max-height:calc(100vh - 56px);overflow-y:auto;background:#fff;border-radius:22px;box-shadow:0 30px 90px #0000003d}.modal--wide{width:min(980px,100%)}.modal--editor{width:min(1180px,100%)}.modal__header{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:flex-start;padding:24px 26px 18px;background:#fff;border-bottom:1px solid var(--line)}.modal__header h2{font-size:1.35rem;margin:0}.modal__footer{display:flex;justify-content:flex-end;gap:10px;padding-top:20px;border-top:1px solid var(--line)}.builder-form,.survey-form{padding:22px 26px 26px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field-label{display:grid;gap:7px;color:#38514e;font-size:.73rem;font-weight:700}.field-label--wide{grid-column:1 / -1}.field-label input,.field-label select,.field-label textarea,.builder-row input,.builder-row select{width:100%;min-height:42px;border:1px solid #cedbd7;border-radius:10px;background:#fff;padding:9px 11px;color:var(--ink);outline:0;font-weight:500}.field-label textarea{resize:vertical}.field-label input:focus,.field-label select:focus,.field-label textarea:focus,.builder-row input:focus,.builder-row select:focus{border-color:#5b958c;box-shadow:0 0 0 3px #4682791c}.builder-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:24px 0 12px}.builder-heading h3{margin:0 0 4px}.builder-heading p{margin:0;font-size:.72rem}.builder-fields{display:grid;gap:9px}.builder-row{display:grid;grid-template-columns:1fr 2fr 130px auto auto;gap:8px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:12px;background:#f8faf9}.checkbox{font-size:.7rem;display:flex;gap:5px;align-items:center}.checkbox input{accent-color:var(--green-700)}.form-error{color:#8a3934;background:#f9e9e7;border:1px solid #edcbc7;border-radius:9px;padding:10px 12px;font-size:.75rem;margin-top:13px}.form-success{margin-top:13px;padding:10px 12px;border:1px solid #b9ddd2;border-radius:9px;background:#edf8f4;color:var(--green-700);font-size:.75rem}.template-editor{padding:22px 26px 26px;display:grid;gap:18px}.editor-section{padding:20px;border:1px solid var(--line);border-radius:16px;background:#fbfcfb}.editor-section--accent{border-color:#bddbd5;background:#f0f8f5}.editor-section__heading{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:16px}.editor-section__heading h3{margin:0 0 4px;font-size:1rem}.editor-section__heading p{margin:0;font-size:.72rem}.role-picker{min-width:0;margin:0;padding:8px 11px 10px;border:1px solid #cedbd7;border-radius:10px;display:flex;flex-wrap:wrap;gap:8px 16px}.role-picker legend{padding:0 4px;color:#38514e;font-size:.67rem;font-weight:700}.role-picker label{font-size:.72rem;display:flex;gap:5px;align-items:center}.role-picker input{accent-color:var(--green-700)}.editor-note{margin-bottom:12px;padding:10px 12px;border-radius:10px;color:#38655e;background:#e8f4f1;font-size:.72rem;line-height:1.45}.field-editor-list{display:grid;gap:12px}.field-editor-card{overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#fff}.field-editor-card__toolbar{min-height:38px;padding:5px 8px 5px 13px;border-bottom:1px solid var(--line);background:#f4f7f6;display:flex;justify-content:space-between;align-items:flex-start;color:var(--muted);font-size:.66rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.field-editor-card__toolbar>div{display:flex;gap:2px;flex-shrink:0;margin-top:5px}.field-editor-card__toolbar .icon-button{width:30px;height:30px}.field-editor-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:14px;align-items:end}.field-editor-grid .field-label{min-width:0}.field-editor-grid input,.field-editor-grid select{font-family:inherit;font-size:.78rem}.field-editor-grid__title{grid-column:span 2}.field-editor-required{min-height:42px}.test-custom-instructions{padding:11px 13px;border-left:3px solid #4d8d83;border-radius:0 8px 8px 0;background:#f0f7f5;color:#31514c}.inline-form{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));align-items:end;gap:12px}.inline-form>.button{justify-self:end}.inline-form__error{grid-column:1 / -1}.schedule-list{display:grid}.schedule-row{display:grid;grid-template-columns:auto minmax(180px,1.4fr) 1fr 1fr auto;gap:16px;align-items:center;padding:16px 2px;border-top:1px solid var(--line)}.schedule-row b,.schedule-row small{display:block}.schedule-row b{font-size:.8rem}.schedule-row small{font-size:.68rem;color:var(--muted);margin-top:4px}.schedule-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;color:var(--green-700);background:var(--green-100)}.schedule-icon svg{width:18px}.empty-state{min-height:180px;display:flex;flex-direction:column;gap:8px;justify-content:center;align-items:center;text-align:center;color:var(--muted)}.empty-state svg{color:#7aa39c}.assignment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.assignment-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:19px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;box-shadow:0 8px 30px #193d390d}.assignment-card h2{margin:8px 0 6px}.assignment-card p{margin:0;font-size:.72rem;display:flex;gap:6px;align-items:center}.assignment-card__icon{width:45px;height:45px;border-radius:14px;background:#e2efeb;color:var(--green-700);display:grid;place-items:center}.survey-form{display:grid;gap:18px}.modal--survey{width:min(1080px,100%)}.survey-section{border:0;padding:0;margin:0}.survey-section>legend{width:100%;padding:0 0 10px;margin-bottom:15px;border-bottom:1px solid var(--line);color:var(--green-900);font-family:Prata,serif;font-size:1.05rem}.survey-section__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.boolean-field{border:0;padding:0;margin:0;display:flex;gap:18px}.boolean-field legend{float:left;width:100%;margin-bottom:9px;color:#38514e;font-size:.73rem;font-weight:700}.boolean-field label{display:flex;align-items:center;gap:6px;font-size:.8rem}.boolean-field input{accent-color:var(--green-700)}.boolean-field--stacked{display:grid}.back-link{display:flex;align-items:center;gap:6px;width:fit-content;margin-bottom:20px;color:var(--green-700);font-size:.75rem;font-weight:800}.patient-record-header{padding:5px 2px 0;display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.patient-summary{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.patient-summary>span:not(.status-pill){padding-right:11px;border-right:1px solid var(--line);color:var(--muted);font-size:.75rem}.record-tabs{display:flex;gap:6px;padding:6px;overflow-x:auto;background:#e9efec;border-radius:14px;scrollbar-width:thin}.record-tabs button{flex:0 0 auto;min-height:39px;padding:0 13px;border:0;border-radius:10px;display:flex;align-items:center;gap:7px;background:transparent;color:#62736f;font-size:.72rem;font-weight:700}.record-tabs button.is-active{background:#fff;color:var(--green-900);box-shadow:0 5px 15px #183c381a}.record-section{display:grid;gap:18px}.record-section__heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.record-section__heading h2{font-family:Prata,serif;font-size:1.75rem;font-weight:400;margin:0 0 4px}.record-section__heading p{margin:0;font-size:.75rem}.record-actions{max-width:65%;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.record-actions .button{min-height:38px}.inline-notice{padding:12px 14px;border:1px solid #cfe0da;border-radius:11px;background:#eaf3ef;color:#32685e;font-size:.78rem}.patient-edit-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.patient-edit-form input:disabled,.patient-edit-form select:disabled{background:#f3f6f4;color:#62736f}.patient-derived{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px;border-radius:12px;background:#f5f8f6}.patient-derived span{min-width:0}.patient-derived small,.patient-derived b{display:block}.patient-derived small{margin-bottom:5px;color:var(--muted);font-size:.64rem}.patient-derived b{overflow:hidden;text-overflow:ellipsis;font-size:.76rem}.patient-edit-form__message,.patient-edit-form__actions{grid-column:1 / -1}.patient-edit-form__actions{display:flex;justify-content:flex-end;gap:10px}.password-reset-row{grid-column:1 / -1;padding:15px;border:1px solid var(--line);border-radius:13px;display:flex;align-items:end;gap:12px;background:#f8fbfa}.password-reset-row .field-label{flex:1}.password-reset-row p{flex:1;margin:0;color:var(--muted);font-size:.75rem;line-height:1.5}.record-history{display:grid;gap:11px}.patient-test-history{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:16px;align-items:start}[data-test-color]{--test-accent: #5d6d76;--test-tint: #eef2f4;--test-border: #d5dee2}[data-test-color=lilac]{--test-accent: #7953a1;--test-tint: #f3edf9;--test-border: #daceeb}[data-test-color=blue]{--test-accent: #386ca1;--test-tint: #edf4fc;--test-border: #cbdff2}[data-test-color=teal]{--test-accent: #30796e;--test-tint: #eaf5f0;--test-border: #c8e3d9}[data-test-color=amber]{--test-accent: #96671e;--test-tint: #fcf4e6;--test-border: #efdfbb}.test-history-filters{display:flex;flex-wrap:wrap;gap:8px}.test-history-filters button{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font:inherit;font-size:.74rem;cursor:pointer}.test-history-filters button:hover{background:#f5f8f6}.test-history-filters button[aria-pressed=true]{background:var(--test-tint, #eaf3ef);border-color:var(--test-accent, #43756c);color:var(--test-accent, #32685e)}.test-history-filters button span{font-size:.67rem;opacity:.8;font-variant-numeric:tabular-nums}.test-history-filters__dot{width:7px;height:7px;flex-shrink:0;border-radius:50%;background:var(--test-accent)}.test-history-count{margin-top:-6px;color:var(--muted);font-size:.7rem}.test-result{min-width:0;padding:20px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(var(--test-tint),white 100px);border-top:3px solid var(--test-border);box-shadow:0 4px 20px #193d3906}.test-result.is-voided{background:#f8f8f6}.test-result__header{display:flex;align-items:center;gap:12px}.test-result__icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:12px;background:var(--test-tint);color:var(--test-accent)}.test-result h3{margin:0 0 5px;font-size:.85rem;line-height:1.4}.test-result time{color:var(--muted);font-size:.69rem}.test-result__metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 12px;margin:22px 0 20px}.test-result__metrics>div{min-width:0;border-left:1px solid var(--line);padding-left:12px}.test-result__metrics>div:nth-child(3n+1){border-left:0;padding-left:0}.test-result__metrics dt{color:var(--muted);font-size:.65rem;line-height:1.4;min-height:2.8em}.test-result__metrics dd{margin:5px 0 0;font-size:1.25rem;font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.test-result__footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #edf1ef;padding-top:12px}.test-result__reason{font-size:.75rem;line-height:1.5}.record-dropdown{position:relative}.record-dropdown__trigger{display:flex;align-items:center;gap:6px;padding:8px 0 8px 8px;border:0;background:transparent;color:var(--muted);font-size:.72rem;cursor:pointer}.record-dropdown__trigger:hover,.record-dropdown__trigger[aria-expanded=true]{color:var(--green-900)}.record-dropdown__panel{position:absolute;z-index:15;right:0;top:calc(100% + 6px);width:285px;max-width:calc(100vw - 64px);padding:6px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 12px 40px #193d3924}.record-dropdown__panel button{display:flex;align-items:center;gap:10px;width:100%;padding:12px 10px;text-align:left;border:0;border-radius:8px;background:transparent;color:var(--ink);font:inherit;font-size:.78rem;cursor:pointer}.record-dropdown__panel button svg{flex-shrink:0}.record-dropdown__panel button:hover,.record-dropdown__panel button:focus-visible{background:#f0f6f3}.record-dropdown__panel .record-dropdown__danger{color:#ad4545}@media(max-width:900px){.record-dropdown--primary .record-dropdown__panel{right:auto;left:0}}.record-entry{overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 7px 28px #193d390a}.record-entry.is-voided{opacity:.72;background:#f7f7f5}.record-entry__actions{padding:0 18px 16px;display:flex;justify-content:flex-end;gap:8px}.record-entry summary{padding:16px 18px;display:flex;justify-content:space-between;align-items:center;gap:15px;cursor:pointer;list-style:none}.record-entry summary::-webkit-details-marker{display:none}.record-entry summary b,.record-entry summary small{display:block}.record-entry summary b{font-size:.84rem}.record-entry summary small{margin-top:4px;color:var(--muted);font-size:.67rem}.record-values{padding:4px 18px 18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border-top:1px solid var(--line)}.record-values>div{padding:13px 14px;background:#fff}.record-values small,.record-values b{display:block}.record-values small{margin-bottom:5px;color:var(--muted);font-size:.66rem;line-height:1.35}.record-values b{font-size:.76rem;line-height:1.45}.assignment-history-row{grid-template-columns:auto minmax(180px,1.4fr) 1fr auto auto}.digital-test{padding:24px 26px 28px}.digital-test>p{font-size:.78rem}.test-rules{padding:12px 14px;border-radius:11px;background:var(--green-100);color:#3d6b65}.test-rules p{margin:0;font-weight:800}.test-rules ol{margin:8px 0 0;padding-left:19px;display:grid;gap:4px;font-size:.72rem;line-height:1.45}.test-custom-instructions{padding:11px 13px;border-left:3px solid var(--green-700);background:#f6f9f7;white-space:pre-line}.test-timer{margin:22px 0;padding:10px 13px;display:flex;justify-content:flex-start;border-radius:10px;background:#f2f5f3;color:var(--muted);font-size:.75rem}.test-timer b{color:var(--green-900);font-size:1rem}.stroop-word,.symbol-prompt{min-height:120px;display:grid;place-items:center;font-size:clamp(2rem,6vw,4.4rem);font-weight:800}.test-answer-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.test-answer-grid button{min-height:46px;border:2px solid;border-radius:10px;background:#fff;font-size:.75rem;font-weight:800}.test-answer-grid button.is-correct{background:#ddf5e7;box-shadow:0 0 0 2px #58a878 inset}.test-answer-grid button.is-wrong{background:#ffe5e2;box-shadow:0 0 0 2px #d65c52 inset}.symbol-prompt img{width:82px;height:82px;padding:13px;border:2px solid var(--green-900);border-radius:13px;background:#000;image-rendering:auto}.symbol-key{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}.symbol-key__item{min-width:0;display:grid;gap:8px}.symbol-key__image{width:48px;height:48px;margin:0 auto;border-radius:7px;display:grid;place-items:center;background:#000}.symbol-key button{min-height:44px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--green-900)}.symbol-key button:hover{border-color:var(--green-700);background:#f1f7f4}.symbol-key button.is-correct{border-color:#3d936a;background:#ddf5e7}.symbol-key button.is-wrong{border-color:#ca5048;background:#ffe5e2}.symbol-key img{width:40px;height:40px}.connect-board{width:100%;max-height:590px;min-height:360px;border:1px solid var(--line);border-radius:14px;background:#fbfcfb;touch-action:manipulation}.connect-board line{stroke:#5b958c;stroke-width:.45}.connect-board g{cursor:pointer}.connect-board g[aria-disabled=true]{cursor:default;pointer-events:none}.connect-board circle{fill:#fff;stroke:#7ca49d;stroke-width:.55}.connect-board text{fill:var(--green-900);font-size:3.1px;font-weight:800;pointer-events:none}.connect-board g.is-active circle{fill:#4f8d83;stroke:#4f8d83}.connect-board g.is-active text{fill:#fff}.connect-board g.is-wrong circle{fill:#d94b43;stroke:#b93832}.connect-board g.is-wrong text{fill:#fff}.line-tracing-status{margin:20px 0 10px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.line-tracing-status span{min-width:0;padding:10px 11px;border-radius:10px;background:#f2f5f3;color:var(--muted);font-size:.67rem;white-space:nowrap}.line-tracing-status b{color:var(--green-900);font-size:.82rem}.line-tracing-hint{min-height:24px;margin:8px 0;color:var(--green-700);font-weight:800}.line-tracing-hint.is-border{color:#9b671c}.line-tracing-hint.is-outside{color:#b4433d}.line-tracing-board{width:100%;min-height:380px;max-height:620px;aspect-ratio:5 / 4;border:1px solid var(--line);border-radius:14px;background:#f7f9f8;box-shadow:0 10px 34px #1a3d3912 inset;cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none}.line-tracing-board.is-border{border-color:#d0a24e}.line-tracing-board.is-outside{border-color:#cf5a52}.line-corridor__border,.line-corridor__space,.line-trace{fill:none;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.line-corridor__border{stroke:#315f59}.line-corridor__space{stroke:#fff}.line-trace{stroke:#168c7d;stroke-width:.85}.line-trace__outside{fill:#d74c45;pointer-events:none}.line-marker{stroke:#fff;stroke-width:.6;pointer-events:none}.line-marker--start{fill:#278d70}.line-marker--finish{fill:#d6a04d}.line-label{fill:var(--green-900);font-size:2.2px;font-weight:900;letter-spacing:.08em;pointer-events:none}.line-tracing-progress{height:5px;margin-top:9px;overflow:hidden;border-radius:99px;background:#e5ece9}.line-tracing-progress i{display:block;height:100%;border-radius:inherit;background:#4f9388;transition:width 80ms linear}.test-finish{padding:20px;border-radius:15px;background:#f5f8f6}.test-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.test-result-grid span{padding:14px;border-radius:10px;background:#fff;color:var(--muted);font-size:.68rem}.test-result-grid b{display:block;margin-bottom:4px;color:var(--green-900);font-family:Prata,serif;font-size:1.5rem;font-weight:400}.test-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:17px}.public-test-page{min-height:100vh;padding:25px;background:var(--green-950)}.public-test-brand{max-width:940px;margin:0 auto 22px;display:flex;align-items:center;gap:10px;color:#fff}.public-test-brand svg{color:#e0ad65}.public-test-brand b,.public-test-brand small{display:block}.public-test-brand small{margin-top:2px;color:#9bb8b3;font-size:.64rem}.public-test-card{max-width:940px;margin:0 auto;padding:clamp(24px,5vw,55px);border-radius:24px;background:#fff}.public-test-success{padding:28px;border-radius:15px;background:var(--green-100);text-align:center}.public-test-success p{margin:8px 0 0}.public-test-success .button{margin-top:20px}.public-test-choice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:28px}.public-test-choice a{min-height:150px;padding:20px;border:1px solid var(--line);border-radius:16px;display:flex;align-items:flex-start;gap:13px;background:#fbfcfb;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}.public-test-choice a:hover{transform:translateY(-2px);border-color:#8db5ad;box-shadow:0 10px 28px #1c3d3914}.public-test-choice svg{flex:0 0 auto;padding:9px;width:42px;height:42px;border-radius:12px;background:var(--green-100);color:var(--green-700)}.public-test-choice b,.public-test-choice small{display:block}.public-test-choice small{margin-top:8px;color:var(--muted);font-size:.72rem;line-height:1.5}.public-session-controls{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);gap:18px;align-items:end}.public-session-create{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end}.public-session-controls>.form-error{grid-column:1 / -1;margin:0}.public-presentation-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:18px}.qr-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-content:start}.qr-panel h2{font-family:Prata,serif;overflow-wrap:anywhere;font-size:clamp(1.35rem,2.1vw,1.8rem);font-weight:400}.qr-panel .field-label{margin:20px 0 14px}.qr-frame{width:min(100%,320px);max-width:300px;padding:12px;border:1px solid var(--line);border-radius:17px;display:grid;justify-items:center;gap:8px;background:#fff;justify-self:center}.qr-panel .card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.qr-panel .card-actions .button{min-width:0;padding-inline:10px;font-size:clamp(.65rem,1vw,.8rem)}.qr-frame svg{max-width:100%;height:auto}.qr-frame small{max-width:260px;overflow-wrap:anywhere;color:var(--muted);font-size:.58rem;line-height:1.35;text-align:center}.public-infographic{min-width:0}.live-indicator{display:inline-flex;align-items:center;gap:7px;color:#34715c;font-size:.67rem;font-weight:800}.live-indicator:before{content:"";width:8px;height:8px;border-radius:50%;background:#4a9a77;box-shadow:0 0 0 5px #4a9a771f}.public-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.public-kpis>span{min-width:0;padding:13px;border-radius:12px;background:#f3f7f5}.public-kpis b,.public-kpis small{display:block}.public-kpis b{overflow:hidden;text-overflow:ellipsis;color:var(--green-900);font-family:Prata,serif;font-size:1.35rem;font-weight:400;white-space:nowrap}.public-kpis small{margin-top:5px;color:var(--muted);font-size:.62rem}.test-distribution{display:grid;gap:14px;margin-top:24px}.test-distribution>div>span{display:flex;justify-content:space-between;gap:10px;margin-bottom:6px;font-size:.69rem}.test-distribution small{color:var(--muted)}.test-distribution>div>div{height:9px;overflow:hidden;border-radius:99px;background:#edf1ef}.test-distribution i{display:block;min-width:3px;height:100%;border-radius:inherit;background:linear-gradient(90deg,#3d7f76,#d4a15a);transition:width .3s ease}.public-test-comparison{margin-top:22px;border-top:1px solid var(--line)}.public-test-comparison>div{padding:11px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:minmax(130px,1fr) auto auto;align-items:center;gap:16px;font-size:.72rem}.public-test-comparison span,.public-test-comparison small{display:block}.public-test-comparison span{text-align:right;font-weight:800}.public-test-comparison small{margin-top:2px;color:var(--muted);font-size:.58rem;font-weight:500}.public-results-table{overflow-x:auto}.public-results-table table{width:100%;border-collapse:collapse}.public-results-table th,.public-results-table td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;font-size:.75rem}.public-results-table th{color:var(--muted);font-size:.65rem;text-transform:uppercase;letter-spacing:.08em}.presentation-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;padding:36px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--green-950);color:#fff;text-align:center}.presentation-overlay>.icon-button{position:absolute;top:24px;right:24px;color:#fff;background:#ffffff14}.presentation-overlay h1{max-width:900px;margin:10px 0 25px;font-size:clamp(2rem,4vw,4rem)}.presentation-overlay>svg{width:min(460px,70vmin);height:min(460px,70vmin);padding:15px;border-radius:18px;background:#fff}.presentation-overlay p{margin:18px 0 0;color:#c4d8d4;font-size:1rem}.iin-preview{padding:13px 14px;border:1px solid var(--line);border-radius:11px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:#f5f8f6}.iin-preview span{min-width:0}.iin-preview small,.iin-preview b{display:block}.iin-preview small{margin-bottom:4px;color:var(--muted);font-size:.64rem}.iin-preview b{font-size:.78rem}.iin-preview.is-valid{border-color:#bddbd5;background:#edf7f3}.iin-preview.is-invalid{grid-template-columns:1fr;border-color:#edcbc7;background:#f9e9e7;color:#8a3934;font-size:.75rem}.doctor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding-top:18px}.staff-panel{padding:0;overflow:hidden}.staff-toolbar{padding:22px 24px 16px;display:grid;gap:18px}.staff-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.staff-tabs button span{font-size:.65rem;opacity:.7}.staff-filters{display:flex;align-items:end;gap:12px}.staff-filters .search-box{width:auto;max-width:none;flex:1;margin:0;min-width:0;min-height:42px}.staff-filters .search-box input{min-width:0;width:100%}.staff-status-filter{width:180px;flex-shrink:0}.staff-status-filter select{font-family:inherit;font-size:.76rem}.staff-list-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:.71rem}.staff-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:12px 16px;padding:22px 24px 14px;border-top:1px solid var(--line);align-items:center}.staff-row.is-inactive{background:#fafbf9}.staff-avatar{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#eaf3ef;color:#36776a;align-self:start}.staff-avatar--admin{background:#f2edf8;color:#7a5d98}.staff-identity{min-width:0}.staff-identity h2{font-size:.93rem;line-height:1.4;overflow-wrap:anywhere}.staff-identity p{margin:5px 0 0;font-size:.77rem;color:var(--muted)}.staff-self{font-size:.66rem;color:var(--muted)}.staff-contacts{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:10px;font-size:.69rem;color:var(--muted);overflow-wrap:anywhere}.staff-contacts b{font-weight:500;color:#516c62}.staff-patients{display:flex;align-items:center;gap:12px;min-width:175px;padding:12px 14px;border:1px solid #dbe8e2;border-radius:12px;background:#f3f8f5;color:#326b5d;text-decoration:none}.staff-patients:hover{background:#e8f2ec}.staff-patients>span{flex:1}.staff-patients b{display:block;font-size:.8rem;font-weight:600}.staff-patients small{display:block;margin-top:4px;font-size:.64rem;color:#688879}.staff-row__actions{grid-column:2 / -1;display:flex;align-items:center;flex-wrap:wrap;gap:4px 18px;padding-top:10px;border-top:1px solid #edf2ef}.staff-action{display:inline-flex;align-items:center;gap:7px;padding:8px 0;background:transparent;border:0;color:#4f6d63;font:inherit;font-size:.73rem;cursor:pointer}.staff-action:hover{color:#1f594a;text-decoration:underline;text-underline-offset:3px}.staff-action--danger{color:#9a6964;margin-left:auto}.staff-action--danger:hover{color:#a64138}.staff-action:disabled{opacity:.45;cursor:not-allowed;text-decoration:none}.staff-access-modal .builder-form>p{margin:0 0 14px;line-height:1.6;font-size:.84rem}@media(max-width:640px){.staff-toolbar{padding:16px;gap:14px}.staff-tabs{width:100%}.staff-tabs button{flex:1;padding-inline:8px;gap:6px}.staff-filters{flex-wrap:wrap}.staff-filters .search-box{flex-basis:100%}.staff-status-filter{width:auto;flex:1}.staff-list-caption{flex-wrap:wrap}.staff-row{padding:18px 16px 12px;grid-template-columns:38px minmax(0,1fr);gap:12px}.staff-avatar{width:38px;height:38px;border-radius:12px}.staff-patients{grid-column:1 / -1}.staff-row__actions{grid-column:1 / -1;gap:4px 16px}.staff-action--danger{margin-left:0}}.doctor-card{min-width:0;padding:18px;border:1px solid var(--line);border-radius:16px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;background:#fbfcfb}.doctor-card__icon{width:45px;height:45px;border-radius:14px;display:grid;place-items:center;background:var(--green-100);color:var(--green-700)}.doctor-card h2{margin:0 0 4px;font-size:.9rem}.doctor-card p{margin:0;font-size:.72rem;line-height:1.4}.doctor-card small{display:block;margin-top:6px;overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-size:.65rem}.doctor-card__patients{text-align:center}.doctor-card__patients b,.doctor-card__patients span{display:block}.doctor-card__patients b{color:var(--green-900);font-family:Prata,serif;font-size:1.55rem;font-weight:400}.doctor-card__patients span{color:var(--muted);font-size:.62rem}.doctor-card .button{grid-column:2 / -1;width:fit-content}.doctor-card.is-inactive{opacity:.68;background:#f4f4f1}.employee-name-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.employee-name-row h2{margin:0}.employee-card__actions{grid-column:2 / -1;display:flex;align-items:center;flex-wrap:wrap;gap:7px}.segmented-control{width:fit-content;padding:4px;border-radius:11px;display:flex;gap:3px;background:#e9efec}.segmented-control button{border:0;padding:8px 15px;border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-size:.74rem;font-weight:800;cursor:pointer}.segmented-control button.is-active{background:#fff;color:var(--green-900);box-shadow:0 3px 10px #193d3914}.modal--compact{width:min(560px,100%)}.self-test-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.self-test-card{padding:22px;border:1px solid var(--line);border-radius:18px;display:grid;gap:13px;background:#fff;box-shadow:0 8px 30px #193d390d}.self-test-card h2,.self-test-card p{margin:0}.self-test-card p{min-height:42px;color:var(--muted);font-size:.76rem;line-height:1.55}.self-test-card__icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:var(--green-100);color:var(--green-700)}.pagination{padding-top:18px;display:flex;align-items:center;justify-content:center;gap:14px;color:var(--muted);font-size:.72rem;font-weight:700}.profile-card{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:18px}.profile-card__avatar{width:62px;height:62px;border-radius:19px;display:grid;place-items:center;background:var(--green-100);color:var(--green-700)}.profile-card h2,.profile-card p{margin:4px 0 0}.profile-card p{color:var(--muted);font-size:.78rem}.profile-card__facts{grid-column:1 / -1;padding-top:18px;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-card__facts>span{padding:13px;border-radius:12px;display:flex;align-items:center;gap:10px;background:#f5f8f7}.profile-card__facts small,.profile-card__facts b{display:block}.profile-password{display:grid;gap:16px}.first-password-notice{display:flex;align-items:center;gap:12px;padding:16px 18px;border:1px solid #e8d1a7;border-radius:14px;background:#fff8e9;color:#77531e}.first-password-notice>svg{flex:0 0 auto}.first-password-notice b,.first-password-notice small{display:block}.first-password-notice small{margin-top:3px;line-height:1.45}.profile-password>div{display:flex;align-items:center;gap:10px;color:var(--green-700)}.profile-password h2{margin:2px 0 0;color:var(--ink)}.profile-password form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:12px}.profile-password form .form-error,.profile-password form .form-success,.profile-password form .button{grid-column:1 / -1;width:fit-content}.profile-card__facts small{color:var(--muted);font-size:.62rem}.profile-card__facts b{margin-top:3px;font-size:.78rem}.mobile-header__spacer{width:40px}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(430px,.9fr);background:#fff}.login-story{position:relative;overflow:hidden;padding:42px clamp(38px,6vw,85px);display:flex;flex-direction:column;color:#fff;background:var(--green-950)}.login-brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.02em}.login-brand svg{color:#e0ad65}.login-story__content{position:relative;z-index:2;max-width:690px;margin:auto 0}.login-story h1{font-size:clamp(2.7rem,5vw,5rem)}.login-story p{color:#b7d0cb;max-width:610px;font-size:1rem}.login-benefits{display:flex;flex-wrap:wrap;gap:18px;margin-top:35px}.login-benefits span{display:flex;align-items:center;gap:7px;color:#d5e2df;font-size:.76rem}.login-benefits svg{width:17px;color:#e3b66f}.story-orb{position:absolute;border-radius:50%;pointer-events:none}.story-orb--one{width:430px;height:430px;right:-150px;top:-120px;border:85px solid rgba(210,166,99,.15)}.story-orb--two{width:270px;height:270px;left:-120px;bottom:-90px;background:#3a766d30}.login-form-panel{display:grid;place-items:center;padding:40px;background:#fafbf9}.login-form{width:min(410px,100%)}.login-form h2{font-family:Prata,serif;font-size:2rem;font-weight:400;margin:3px 0 8px}.login-form .field-label{margin-top:17px}.login-form .button{margin-top:22px}@media(max-width:1050px){.self-test-grid{grid-template-columns:1fr}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inline-form{grid-template-columns:1fr 1fr}.inline-form .button{min-height:42px}.schedule-row{grid-template-columns:auto 1.5fr 1fr auto}.schedule-row>span:nth-child(4){display:none}.assignment-grid,.doctor-grid,.public-presentation-grid{grid-template-columns:1fr}}@media(max-width:800px){.sidebar{transform:translate(-105%);transition:transform .22s ease;box-shadow:30px 0 80px #04181647}.sidebar--open{transform:translate(0)}.sidebar .sidebar__close{display:inline-grid}.sidebar-scrim{position:fixed;top:0;right:0;bottom:0;left:0;border:0;background:#05191773;z-index:20}.app-main{width:100%;margin-left:0}.app-main>main{padding:28px 18px 60px}.mobile-header{height:62px;padding:0 15px;position:sticky;top:0;z-index:15;display:flex;align-items:center;justify-content:space-between;background:#ffffffed;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}.mobile-brand{display:flex;align-items:center;gap:7px;font-weight:800;color:var(--green-900)}.page-header{align-items:flex-start;flex-direction:column}.page-header__actions{justify-content:flex-start}.metric-grid{grid-template-columns:1fr}.metric-card{min-height:95px}.dashboard-grid{grid-template-columns:1fr}.panel--feature>*{max-width:92%}.patient-row{grid-template-columns:auto 1fr auto}.patient-row--selectable{grid-template-columns:auto auto 1fr auto}.patient-row .status-pill{grid-column:2}.patient-row--selectable .status-pill{grid-column:3}.patient-phone{display:none}.import-issue-heading{align-items:flex-start;flex-direction:column;gap:7px}.builder-row{grid-template-columns:1fr 1.5fr auto}.builder-row select{grid-column:1}.builder-row .checkbox{grid-column:2}.login-page{grid-template-columns:1fr}.login-story{display:none}.login-form-panel{min-height:100vh;padding:clamp(72px,14vh,150px) 26px 40px;place-items:start center}.record-section__heading{align-items:stretch;flex-direction:column}.record-actions{max-width:none;justify-content:flex-start}.patient-edit-form{grid-template-columns:1fr 1fr}.test-answer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.symbol-key{grid-template-columns:repeat(4,minmax(0,1fr))}.assignment-history-row{grid-template-columns:auto 1fr auto}.assignment-history-row>span:nth-child(3){display:none}.field-editor-grid{grid-template-columns:1fr 1fr}.field-editor-grid__title{grid-column:auto}.patient-record-header{align-items:flex-start;flex-direction:column}.public-session-controls,.public-test-choice{grid-template-columns:1fr}}@media(max-width:570px){h1{font-size:2.05rem}.button{width:auto;min-height:38px;padding-inline:12px;font-size:clamp(.68rem,3vw,.8rem)}.password-reset-row,.record-entry__actions,.pagination{align-items:stretch;flex-direction:column}.employee-card__actions .icon-button{width:40px}.page-header__actions{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;padding-bottom:3px;overflow-x:auto;scrollbar-width:none}.page-header__actions .button{flex:0 0 auto}.panel{padding:18px;border-radius:16px}.toolbar,.filter-banner{align-items:stretch;flex-direction:column}.search-box{min-width:0}.record-count{display:none}.template-grid,.form-grid,.inline-form{grid-template-columns:1fr}.field-label--wide{grid-column:auto}.schedule-row{grid-template-columns:auto 1fr auto}.schedule-row>span:nth-child(3){display:none}.assignment-card{grid-template-columns:auto 1fr}.assignment-card .button{grid-column:1 / -1;justify-self:start}.modal-backdrop{padding:0;align-items:end}.modal,.modal--wide,.modal--editor{max-height:94vh;border-radius:22px 22px 0 0}.modal__header{padding:20px}.builder-form,.survey-form{padding:18px 20px 22px}.builder-row{grid-template-columns:1fr auto}.builder-row input:nth-child(2),.builder-row select,.builder-row .checkbox{grid-column:1}.builder-row .icon-button{grid-row:1;grid-column:2}.modal__footer{flex-wrap:wrap}.modal__footer .button{flex:1 1 130px}.survey-section__grid,.patient-edit-form,.record-values,.patient-derived{grid-template-columns:1fr}.record-actions{max-width:100%;flex-wrap:nowrap;justify-content:flex-start;padding-bottom:3px;overflow-x:auto;scrollbar-width:none}.record-actions .button{flex:0 0 auto}.test-answer-grid{grid-template-columns:1fr 1fr}.symbol-key{grid-template-columns:repeat(4,minmax(0,1fr))}.test-result-grid{grid-template-columns:1fr}.test-actions{flex-direction:column-reverse}.connect-board{min-height:300px}.line-tracing-status{grid-template-columns:repeat(2,minmax(0,1fr))}.line-tracing-board{min-height:290px}.public-test-page{padding:14px}.public-test-card{padding:23px 18px;border-radius:18px}.template-editor{padding:16px}.editor-section{padding:15px}.editor-section__heading{align-items:stretch;flex-direction:column}.field-editor-grid{grid-template-columns:1fr}.field-editor-grid__title,.field-label--wide,.role-picker{grid-column:1}.card-actions{flex-wrap:wrap}.patient-record-header>.button{width:auto}.public-session-create,.qr-panel{grid-template-columns:1fr}.qr-frame{max-width:none}.public-kpis,.iin-preview{grid-template-columns:1fr}.doctor-card{grid-template-columns:auto minmax(0,1fr)}.doctor-card__patients{grid-column:1}.doctor-card .button{grid-column:2;width:auto}.presentation-overlay{padding:24px 16px}}.status-pill--waiting_patient{background:#f8ebd8;color:#9b6527}.status-pill--review{background:#e3edf4;color:#46708a}.template-family-card{min-height:280px}.template-history{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.template-history summary{width:fit-content;display:flex;align-items:center;gap:7px;color:var(--green-700);cursor:pointer;font-size:.7rem;font-weight:800}.template-history ul{list-style:none;margin:10px 0 0;padding:0}.template-history li{display:flex;justify-content:space-between;gap:12px;padding:7px 0;color:var(--muted);font-size:.68rem}.field-editor-card__summary{min-width:0;flex:1;padding:7px 8px 7px 0;border:0;display:grid;grid-template-columns:65px minmax(0,1fr);align-items:center;gap:5px 12px;cursor:pointer;background:transparent;color:inherit;text-align:left}.field-editor-card__summary b{grid-column:2;overflow-wrap:anywhere;color:var(--ink);font-size:.74rem;text-transform:none;letter-spacing:0;line-height:1.5;white-space:normal}.field-editor-card__summary small{grid-column:2;overflow-wrap:anywhere;font-size:.6rem;font-weight:600;text-transform:none;letter-spacing:0}.field-editor-card__summary>span{font-size:.62rem;line-height:1.5;letter-spacing:0;text-transform:none}.field-unit-badge{display:inline-block;max-width:100%;padding:3px 7px;border-radius:6px;color:#477267;background:#eaf2ee;font-size:.68rem;font-weight:500;font-style:normal;line-height:1.4;overflow-wrap:anywhere}.field-editor-card__summary .field-unit-badge{margin-left:8px;vertical-align:middle}.measurement-input{display:flex;align-items:center;min-width:0;border:1px solid #cedbd7;border-radius:10px;background:#fff}.measurement-input:focus-within{border-color:#5b958c;box-shadow:0 0 0 3px #4682791c}.field-label .measurement-input input{min-width:0;flex:1;border:0;box-shadow:none;background:transparent}.measurement-input__unit{padding:0 12px;max-width:40%;font-size:.73rem;font-weight:500;color:var(--muted);overflow-wrap:anywhere}.result-unit{display:inline-block;margin-left:5px;font-size:.7rem;font-weight:500;color:var(--muted)}.field-editor-card.is-expanded .field-editor-card__toolbar{border-bottom-color:var(--line)}.survey-stepper{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:4px 12px;padding:12px 14px;border-radius:12px;background:#f0f7f5}.survey-stepper span{color:var(--muted);font-size:.65rem}.survey-stepper b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem}.survey-stepper progress{grid-column:1 / -1;width:100%;height:5px;accent-color:var(--green-700)}.draft-state{margin-right:auto;align-self:center;color:var(--muted);font-size:.66rem}.draft-state--error{color:#9b4b45}.visit-flow{display:grid;gap:17px;box-shadow:0 16px 45px #183c381a}.visit-flow--empty{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.visit-flow--empty h2,.visit-flow__header h2{margin-bottom:4px}.visit-flow--empty p,.visit-flow__header p{margin:0;font-size:.74rem}.visit-flow__icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--green-100);color:var(--green-700)}.visit-flow__header{display:flex;justify-content:space-between;gap:18px}.visit-progress{height:6px;overflow:hidden;border-radius:99px;background:#e8eeeb}.visit-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--green-700),#74aa8d)}.visit-steps{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}.visit-steps li{min-width:0;display:grid;grid-template-columns:28px 28px minmax(150px,1fr) auto;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.visit-steps li>span:nth-child(3){min-width:0}.visit-steps b,.visit-steps small{display:block}.visit-steps b{overflow:hidden;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.visit-steps small{margin-top:3px;color:var(--muted);font-size:.62rem}.visit-step__number,.visit-step__role{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#edf2f0;color:var(--muted);font-size:.68rem;font-weight:800}.visit-step__role{border-radius:9px;background:#edf6f3;color:var(--green-700)}.visit-steps li.is-complete .visit-step__number{background:var(--green-700);color:#fff}.visit-step__done{display:flex;align-items:center;gap:6px;color:#34715c;font-size:.7rem;font-weight:800}.visit-flow__actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}.visit-flow__actions small{color:var(--muted)}.follow-up-plan{width:100%;padding:16px;border:1px solid #bddbd5;border-radius:14px;display:grid;grid-template-columns:minmax(190px,1fr) minmax(170px,.5fr) auto;align-items:end;gap:14px;background:#f0f8f5}.follow-up-plan>div:first-child{align-self:center;display:flex;align-items:center;gap:9px;color:var(--green-700)}.follow-up-plan>div:first-child span,.follow-up-plan>div:first-child b,.follow-up-plan>div:first-child small{display:block}.follow-up-plan>div:first-child b{color:var(--ink);font-size:.78rem}.follow-up-plan>div:first-child small{margin-top:3px;font-size:.61rem}.follow-up-options{grid-column:1 / -1;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:10px}.follow-up-option{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px;border:1px solid #d6e6e2;border-radius:12px;background:#fff}.follow-up-options label{display:flex;align-items:center;gap:6px;color:#38514e;font-size:.68rem;font-weight:700}.follow-up-options label span,.follow-up-options label b,.follow-up-options label small{display:block;min-width:0}.follow-up-options label b{color:var(--ink);overflow-wrap:normal;word-break:normal}.follow-up-options label small{margin-top:2px;color:var(--muted);font-weight:500}.follow-up-option>input[type=date]{width:142px;padding:7px;border:1px solid var(--line);border-radius:9px;font:inherit;font-size:.62rem}.follow-up-options input{accent-color:var(--green-700)}.modal--handoff{width:min(760px,100%)}.handoff-content{padding:24px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:25px}.handoff-content p{font-size:.8rem}.handoff-content small,.handoff-content .button{display:flex;margin-top:14px}.supervised-page{min-height:100vh;padding:25px;background:var(--green-950)}.supervised-card{max-width:940px;margin:0 auto}.supervised-progress{display:flex;justify-content:space-between;gap:12px;color:var(--green-700);font-size:.68rem;font-weight:800}.supervised-progress span{display:flex;align-items:center;gap:5px}.supervised-complete{max-width:600px;margin:12vh auto 0;text-align:center}.supervised-complete>svg{width:54px;height:54px;color:#4a9a77}.public-kpis--simple{grid-template-columns:repeat(2,minmax(0,1fr))}.public-test-metrics{display:grid;gap:10px;margin-top:16px}.public-test-metrics article{padding:12px;border:1px solid var(--line);border-radius:12px}.public-test-metrics header{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px;font-size:.72rem}.public-test-metrics header span{color:var(--muted);font-size:.62rem}.public-test-metrics article>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.public-test-metrics article>div span{min-width:0}.public-test-metrics b,.public-test-metrics small{display:block}.public-test-metrics article>div b{overflow:hidden;color:var(--green-900);font-size:clamp(.7rem,1.2vw,.9rem);text-overflow:ellipsis;white-space:nowrap}.public-test-metrics small{margin-top:3px;color:var(--muted);font-size:clamp(.5rem,.8vw,.6rem);line-height:1.25}.analytics-disclaimer{margin:14px 0 0;font-size:.62rem}@media(max-width:700px){.visit-flow--empty{grid-template-columns:auto minmax(0,1fr)}.visit-flow--empty>.button{grid-column:1 / -1}.follow-up-plan{grid-template-columns:minmax(0,1fr) minmax(125px,.65fr);gap:10px}.follow-up-plan>.button{grid-column:1 / -1}.follow-up-options{grid-template-columns:1fr}.visit-steps li{grid-template-columns:24px 24px minmax(100px,1fr) auto;gap:7px}.visit-step__number,.visit-step__role{width:24px;height:24px}.visit-steps .button,.visit-steps .status-pill,.visit-step__done{width:auto;min-height:32px;padding-inline:8px;font-size:clamp(.54rem,2.3vw,.67rem)}.handoff-content{grid-template-columns:1fr}.handoff-content .qr-frame{justify-self:center}.field-editor-card__summary{grid-template-columns:1fr;gap:2px}.field-editor-card__summary>span{display:block}.field-editor-card__summary b,.field-editor-card__summary small{grid-column:1}.survey-stepper{grid-template-columns:auto minmax(0,1fr)}.modal__footer .draft-state{width:100%;text-align:center}.public-kpis,.public-kpis--simple{grid-template-columns:repeat(2,minmax(0,1fr))}.public-test-metrics article>div{grid-template-columns:repeat(3,minmax(0,1fr))}.supervised-page{padding:14px}}.nav-badge{min-width:20px;height:20px;margin-left:auto;padding:0 6px;border-radius:99px;display:grid;place-items:center;background:#d85e52;color:#fff;font-size:.58rem;font-weight:800}.protocol-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:16px}.protocol-card{display:grid;gap:18px}.protocol-card>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start}.protocol-card h2,.protocol-card p{margin:4px 0 0}.protocol-card p{color:var(--muted);font-size:.72rem}.protocol-card__icon,.audit-icon,.notification-row__icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--green-100);color:var(--green-700)}.protocol-badges{display:flex;flex-wrap:wrap;gap:6px}.protocol-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.protocol-columns>div{padding:13px;border-radius:12px;background:#f4f8f7}.protocol-columns ol,.protocol-columns ul{margin:9px 0 0;padding-left:20px;color:#38514e;font-size:clamp(.62rem,1.1vw,.72rem)}.protocol-columns li+li{margin-top:7px}.protocol-columns small{display:block;margin-top:2px;color:var(--muted)}.protocol-editor{--protocol-padding: 26px;width:min(980px,100%)}.protocol-editor__intro{margin:7px 0 0;color:var(--muted);font-size:.76rem}.protocol-editor .builder-form{display:grid;gap:20px;padding:22px var(--protocol-padding) 0}.protocol-editor .modal__footer{position:sticky;bottom:0;z-index:2;background:#fff;margin:0 calc(-1 * var(--protocol-padding));padding:16px var(--protocol-padding)}.protocol-editor .field-label{min-width:0;font-size:.7rem}.protocol-editor .field-label select,.protocol-editor .field-label input,.protocol-editor .field-label textarea{font-family:inherit;font-size:.8rem}.protocol-editor .field-label select{padding-right:28px;text-overflow:ellipsis}.protocol-editor__section-heading{flex:1}.protocol-editor__section-heading h3{display:flex;align-items:center;gap:8px;margin:0;font-size:.9rem}.protocol-editor__section-heading h3 span{color:var(--muted);font-size:.67rem;font-weight:500}.protocol-editor__section-heading p{margin:5px 0 0;color:var(--muted);font-size:.71rem;line-height:1.5}.protocol-editor__section-icon{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:11px;color:#43756c;background:#e7f0ec}.protocol-editor__section{padding:18px;border:1px solid var(--line);border-radius:16px;background:#f8faf9}.protocol-editor__section>header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}.protocol-editor__items{display:grid;gap:10px}.protocol-editor__empty{margin:0;padding:14px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:.76rem}.protocol-item{display:grid;grid-template-columns:28px minmax(0,1fr) auto 32px;align-items:center;gap:12px;padding:12px;border:1px solid #e3eae7;border-radius:12px;background:#fff}.protocol-item__number{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#edf3f0;color:#43756c;font-size:.75rem;font-weight:700}.protocol-item>.check-label,.protocol-item>.icon-button,.protocol-item__number{margin-top:20px}.protocol-item>.icon-button{width:32px;height:36px;color:#81918b}.protocol-item>.icon-button:hover{color:#ad4545;background:#fff0ef}.protocol-item--follow{grid-template-columns:minmax(0,1.7fr) minmax(130px,.9fr) 155px 32px}.protocol-delay-input{display:flex;align-items:center;border:1px solid #cedbd7;border-radius:10px;padding:0 10px;gap:4px;color:var(--muted);font-size:.74rem;font-weight:400}.protocol-delay-input:focus-within{border-color:#5b958c;box-shadow:0 0 0 3px #4682791c}.protocol-editor .protocol-delay-input input{min-width:0;flex:1;width:50px;border:0;padding:8px 2px;text-align:center;box-shadow:none;background:transparent}.protocol-editor__settings{display:grid;grid-template-columns:1.2fr 1fr;gap:12px}.protocol-editor__settings .check-label{align-items:flex-start;padding:14px;border:1px solid var(--line);border-radius:12px;cursor:pointer}.protocol-editor__settings b{display:block;font-size:.76rem}.protocol-editor__settings small{display:block;margin-top:5px;color:var(--muted);font-size:.68rem;font-weight:400;line-height:1.5}@media(max-width:760px){.protocol-editor{--protocol-padding: 20px}.protocol-editor__settings{grid-template-columns:1fr}.protocol-editor__section{padding:12px}.protocol-editor__section>header{flex-wrap:wrap}.protocol-editor__section-icon{display:none}.protocol-editor__section-heading{flex-basis:65%}.protocol-editor .protocol-item{grid-template-columns:28px minmax(0,1fr) 32px;gap:10px}.protocol-editor .protocol-item>.check-label{grid-column:2;margin-top:0}.protocol-editor .protocol-item>.icon-button{grid-column:3;grid-row:1}.protocol-editor .protocol-item--follow{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 32px}.protocol-editor .protocol-item--follow .protocol-item__template{grid-column:1 / 3}.protocol-editor .protocol-item--follow .protocol-item__cadence{grid-column:1}.protocol-editor .protocol-item--follow .protocol-item__delay{grid-column:2 / 4}}.form-checks{display:flex;flex-wrap:wrap;gap:12px 24px}.check-label{display:flex;align-items:center;gap:7px;color:#38514e;font-size:.68rem;font-weight:700}.check-label input{width:17px;height:17px;accent-color:var(--green-700)}.schedule-row__actions{display:flex;gap:4px}.schedule-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,260px);gap:16px;margin-bottom:16px}.guide-page h2{margin:8px 0 16px}.guide-page p,.guide-page li,.guide-page dd{line-height:1.75}.guide-page li+li{margin-top:10px}.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.guide-terms{margin:0}.guide-terms>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}.guide-terms dt{font-weight:700}.guide-terms dd{margin:0;color:var(--muted)}@media(max-width:760px){.guide-grid,.guide-terms>div{grid-template-columns:1fr}}.schedule-help{color:var(--muted);font-size:.82rem;line-height:1.6;margin:0 0 16px}.schedule-editor .builder-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.modal.schedule-editor{width:min(720px,100%)}.schedule-editor .builder-form>p,.schedule-editor .builder-form>footer,.schedule-editor .builder-form>.form-error,.schedule-editor .builder-form>.check-label,.schedule-editor .field-label:has(input[type=search]){grid-column:1 / -1}.schedule-editor .builder-form>p{margin:0}.protocol-follow-details{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;gap:16px;padding-top:12px;border-top:1px solid var(--line)}.protocol-follow-details small{color:var(--muted);font-weight:400;line-height:1.5}@media(max-width:640px){.schedule-toolbar,.protocol-follow-details,.schedule-editor .builder-form{grid-template-columns:1fr}}.danger-zone{margin-top:6px;padding:13px;border:1px solid #ecd0cd;border-radius:12px;background:#fff8f7}.notification-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,.7fr);gap:16px;align-items:start}.notification-list{padding:0;overflow:hidden}.notification-row{width:100%;padding:15px 18px;border:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start;background:#fff;color:inherit;text-align:left;cursor:pointer}.notification-row.is-unread{background:#f1f8f6}.notification-row>span:nth-child(2),.notification-row b,.notification-row small{display:block}.notification-row>span:nth-child(2)>span{display:block;margin:4px 0;color:#38514e;font-size:.7rem}.notification-row small{color:var(--muted);font-size:.6rem}.notification-row>i{width:8px;height:8px;margin-top:7px;border-radius:50%;background:var(--green-700)}.notification-settings{display:grid;gap:12px}.notification-center{gap:20px}.notification-feedback:empty{display:none}.notification-feedback{color:var(--green-700);font-size:.82rem}.notification-inbox{padding:0;overflow:hidden;min-width:0}.notification-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:20px;border-bottom:1px solid var(--line)}.notification-toolbar>.icon-button{justify-self:end}.notification-tabs{display:flex;flex-wrap:wrap;gap:4px}.notification-tabs button{border:0;border-radius:10px;background:transparent;color:var(--muted);padding:9px 12px;font-size:.78rem;font-weight:600;cursor:pointer}.notification-tabs button[aria-pressed=true]{background:#e7f1ee;color:var(--green-900)}.notification-tabs button span{margin-left:7px;border-radius:20px;padding:2px 6px;background:#fff;font-size:.7rem}.notification-search{display:flex;align-items:center;gap:9px;padding:0 12px;background:#f4f7f6;border:1px solid var(--line);border-radius:11px;color:var(--muted);min-width:0}.notification-search input{width:100%;min-width:0;padding:11px 0;border:0;outline:0;background:transparent;font:inherit;font-size:.78rem}.notification-search:focus-within{outline:2px solid #3b887d;outline-offset:2px}.notification-kind{max-width:220px;min-width:0;border:1px solid var(--line);border-radius:11px;padding:9px 12px;background:#fff;color:inherit;font:inherit;font-size:.76rem}.notification-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;padding:22px;border-bottom:1px solid var(--line);border-left:3px solid transparent}.notification-card.is-unread{border-left-color:#357d70;background:#f7fbf9}.notification-event-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;flex-shrink:0}.notification-event-icon.is-assignment{background:#f2ecfb;color:#80649d}.notification-event-icon.is-result{background:#deeee7;color:#317564}.notification-event-icon.is-message{background:#e7f0f7;color:#4c7594}.notification-card__meta{display:flex;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;font-size:.68rem;color:var(--muted)}.notification-card__meta>span{font-weight:600}.notification-card h2{font-size:.95rem;line-height:1.5;margin:6px 0;overflow-wrap:anywhere}.notification-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#357d70;margin-left:9px;vertical-align:middle}.notification-card p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#526562;font-size:.82rem;line-height:1.6}.notification-card__actions{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;margin-top:14px}.notification-read-action{display:inline-flex;align-items:center;gap:6px;width:fit-content;background:none;border:0;color:var(--green-700);cursor:pointer;padding:7px 0;font:inherit;font-size:.74rem}.notification-read-action:hover{text-decoration:underline}.notification-center button:disabled{opacity:.5;cursor:default}.notification-empty{min-height:290px;padding:35px 24px;text-align:center}.notification-empty>span:last-child{max-width:430px;line-height:1.65}.notification-empty__icon{display:grid;place-items:center;width:64px;height:64px;border-radius:22px;background:#edf4f1;color:#689287;margin-bottom:4px}.notification-pagination{padding:12px 20px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:.75rem}.notification-pagination>div{display:flex;gap:6px}.notification-aside{display:grid;gap:16px;min-width:0}.notification-aside .panel{padding:22px}.notification-aside h2{font-size:1rem;margin:5px 0 10px}.notification-toggle{display:flex;gap:18px;align-items:start;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line);cursor:pointer}.notification-toggle b{font-size:.83rem}.notification-toggle small{display:block;font-size:.72rem;line-height:1.6;color:var(--muted);margin-top:5px}.notification-toggle input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:38px;height:22px;border-radius:20px;flex:0 0 38px;margin:2px 0;background:#c6d2cf;border:2px solid #c6d2cf;cursor:pointer;transition:background .15s}.notification-toggle input:before{content:"";display:block;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #173f3426;transition:transform .15s}.notification-toggle input:checked{background:#2b796b;border-color:#2b796b}.notification-toggle input:checked:before{transform:translate(16px)}.notification-toggle input:disabled{opacity:.55;cursor:wait}.notification-save-hint{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:.66rem;line-height:1.5}.notification-telegram{display:grid;gap:10px}.notification-telegram h2,.notification-telegram p{margin:0}.notification-telegram p,.notification-telegram>small{font-size:.76rem;line-height:1.65;color:var(--muted)}.notification-quiet h2{display:flex;align-items:center;gap:8px}.notification-quiet>small{display:block;color:var(--muted);font-size:.68rem;margin:10px 0}.notification-quiet>button{margin-top:12px}.notification-time-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.notification-time-fields label{display:grid;gap:6px;font-size:.74rem}.notification-time-fields input{min-width:0;width:100%;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff;color:inherit;font:inherit}.notification-help{display:flex;align-items:start;gap:12px;padding:12px 10px;color:var(--muted)}.notification-help>svg{flex-shrink:0;margin-top:2px}.notification-help b{font-size:.8rem;color:#47635c}.notification-help p{font-size:.75rem;line-height:1.65;margin:7px 0 0}@media(max-width:1150px){.notification-center .notification-layout{grid-template-columns:minmax(0,1fr) 290px}.notification-kind{grid-column:1 / -1;max-width:none}.notification-search{grid-column:1 / -1}}@media(max-width:850px){.notification-center .notification-layout{grid-template-columns:minmax(0,1fr)}}@media(max-width:520px){.notification-toolbar{padding:12px;gap:10px}.notification-tabs button{padding:8px;font-size:.7rem}.notification-card{padding:16px 12px;gap:10px}.notification-event-icon{width:34px;height:34px;border-radius:10px}.notification-card__meta{font-size:.66rem}}.preference-toggle{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:.72rem;font-weight:700}.preference-toggle input{width:18px;height:18px;accent-color:var(--green-700)}.preference-toggle.is-disabled{color:var(--muted);cursor:not-allowed}.template-preview{width:min(760px,calc(100vw - 28px));max-height:min(820px,calc(100vh - 28px));overflow:auto;scrollbar-gutter:stable}.template-preview__body{padding:20px 26px 26px}.template-preview__description{margin:0 0 14px;font-size:.82rem;line-height:1.6;color:var(--muted)}.template-preview__legend{display:flex;flex-wrap:wrap;gap:5px 12px;margin:0;color:var(--muted);font-size:.7rem;line-height:1.5}.template-preview__sections{display:grid;gap:12px;margin-top:16px}.template-preview__sections article{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}.template-preview__sections h3{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:15px 16px;background:#f3f7f5;font-size:.84rem}.template-preview__sections h3 span{color:var(--muted);font-size:.7rem;font-weight:500}.template-preview__fields{width:100%;table-layout:fixed;border-collapse:collapse}.template-preview__fields th{color:var(--muted);font-size:.64rem;font-weight:500;text-align:left}.template-preview__fields th,.template-preview__fields td{padding:10px 16px;border-top:1px solid #edf1ef;overflow-wrap:anywhere}.template-preview__fields td{font-size:.76rem;line-height:1.5}.template-preview__fields th:last-child{width:26%}.template-preview__required{margin-left:5px;color:#3d8072}.template-preview__no-unit{color:#9aaba4}@media(max-width:640px){.template-preview__body{padding:16px}.template-preview__fields th,.template-preview__fields td{padding:10px}.template-preview__fields th:last-child{width:30%}.field-editor-card__toolbar{flex-wrap:wrap}.field-editor-card__summary{flex-basis:100%}.field-editor-card__toolbar>div{margin:0 0 4px auto}}.telegram-card{padding:13px;border-radius:13px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 10px;background:#edf6f3;color:var(--green-700)}.telegram-card p{margin:3px 0 0;color:#38514e;font-size:.64rem}.telegram-card .button,.telegram-card>small{grid-column:2;width:fit-content}.audit-panel{padding:0;overflow:hidden}.audit-toolbar{padding:22px 24px 16px;display:grid;gap:18px}.audit-search{display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:#f7faf8;color:var(--muted)}.audit-search:focus-within{border-color:#5b958c;box-shadow:0 0 0 3px #4682791c}.audit-search input{width:100%;min-width:0;min-height:46px;border:0;outline:0;background:transparent;font:inherit;font-size:.82rem;color:var(--ink)}.audit-search button{display:grid;place-items:center;border:0;padding:6px;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer}.audit-filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(140px,.55fr) minmax(140px,.55fr) auto;gap:12px;align-items:end}.audit-filters .field-label{min-width:0}.audit-filters select,.audit-filters input{min-width:0;font-family:inherit;font-size:.77rem}.audit-results-caption{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:.71rem}.audit-day{margin:0;padding:11px 24px;border-block:1px solid #e7eeeb;background:#f7faf8;font-size:.73rem;font-weight:600;color:#61756e}.audit-event{border-bottom:1px solid #edf2ef}.audit-event>summary{display:grid;grid-template-columns:38px minmax(0,1fr) 160px 75px 16px;align-items:center;gap:14px;padding:16px 24px;list-style:none;cursor:pointer}.audit-event>summary::-webkit-details-marker{display:none}.audit-event>summary:hover,.audit-event[open]>summary{background:#fbfcfb}.audit-event__icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#eaf3ef;color:#39776a}.audit-event__icon--access{background:#edf2f8;color:#567797}.audit-event__icon--settings{background:#f2edf8;color:#80639f}.audit-event__icon--patient{background:#f9f1e4;color:#96752f}.audit-event__main{min-width:0}.audit-event__main b{display:block;font-size:.84rem;line-height:1.4;font-weight:600}.audit-event__main small{display:block;margin-top:5px;color:var(--muted);font-size:.71rem}.audit-event__resource{justify-self:start;padding:5px 8px;border-radius:7px;background:#f2f5f3;color:#61756e;font-size:.66rem}.audit-event time{color:var(--muted);font-size:.71rem;font-variant-numeric:tabular-nums}.audit-event__chevron{color:#8c9c95;transition:transform .15s}.audit-event[open]>summary .audit-event__chevron{transform:rotate(180deg)}.audit-event__details{padding:0 24px 20px 76px;background:#fbfcfb}.audit-event__details dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;margin:0 0 14px}.audit-event__details dt{color:var(--muted);font-size:.67rem;margin-bottom:5px}.audit-event__details dd{margin:0;font-size:.76rem;overflow-wrap:anywhere;line-height:1.5}.audit-event__details p{font-size:.73rem;color:var(--muted)}.audit-technical>summary{padding:10px 0;cursor:pointer;font-size:.7rem;color:#667d73}.audit-technical pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.7rem;background:#f0f4f2;padding:12px;border-radius:8px}@media(max-width:760px){.audit-toolbar{padding:16px}.audit-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-action-filter{grid-column:1 / -1}.audit-filters>button{justify-self:start}.audit-results-caption{flex-wrap:wrap}.audit-day{padding:11px 16px}.audit-event>summary{padding:14px 16px;grid-template-columns:34px minmax(0,1fr) 16px;gap:10px}.audit-event__icon{width:34px;height:34px;grid-row:1 / 3;align-self:start}.audit-event__main{grid-column:2}.audit-event__chevron{grid-column:3;grid-row:1}.audit-event__resource{grid-column:2;grid-row:2;margin-right:78px}.audit-event time{grid-column:2;grid-row:2;justify-self:end}.audit-event__details{padding:0 16px 16px}.audit-event__details dl{grid-template-columns:1fr}}.pagination{padding:13px 18px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;align-items:center;gap:12px;color:var(--muted);font-size:.64rem}.histogram{margin-top:10px}.histogram svg{width:100%;height:70px;display:block}.histogram rect{fill:#73a994}.histogram line{stroke:#c8d8d3;stroke-width:1}.histogram>span{display:flex;justify-content:space-between;gap:8px;color:var(--muted)}.histogram-empty{margin-top:10px;padding:10px;border-radius:9px;background:#f5f7f6;color:var(--muted);font-size:.6rem;text-align:center}.visit-protocol-select{max-width:440px;margin-top:12px}.patient-trends,.cohort-panel{display:grid;gap:14px}.cohort-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cohort-bars{padding:13px;border-radius:13px;background:#f4f8f7}.cohort-bars>b{display:block;margin-bottom:10px}.cohort-bars>span{display:grid;grid-template-columns:minmax(70px,.8fr) minmax(50px,1fr) auto;gap:7px;align-items:center;margin-top:7px}.cohort-bars small,.cohort-bars strong{font-size:.78rem}.cohort-insights>header{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:18px}.cohort-insights>header h2{margin:8px 0 0;font-size:1.35rem}.cohort-insights>header p{margin:0;max-width:480px;color:var(--muted);line-height:1.6;font-size:.8rem}.cohort-insight-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.cohort-insight-tabs button{display:flex;align-items:center;gap:8px;padding:12px 16px;border:1px solid #d9e5df;border-radius:12px;background:#fff;color:#526d65;font:inherit;font-size:.8rem;cursor:pointer}.cohort-insight-tabs button[aria-pressed=true]{background:#163e37;color:#fff;border-color:#163e37}.cohort-insight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.cohort-insight{--chart-color: #719f8d;--chart-soft: #edf5f0;padding:22px;min-width:0}.cohort-insight--life{--chart-color: #7b97b3;--chart-soft: #eff4fa}.cohort-insight--body{--chart-color: #9a87b3;--chart-soft: #f4f0f8}.cohort-insight--tests{--chart-color: #b99260;--chart-soft: #faf4eb}.cohort-insight>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.cohort-insight h3{font-size:1rem;line-height:1.45;margin:0}.cohort-unit{font-size:.72rem;padding:5px 9px;border-radius:8px;background:var(--chart-soft);white-space:nowrap}.cohort-leading{display:flex;align-items:center;gap:16px;margin:18px 0;padding:16px;border-radius:14px;background:var(--chart-soft)}.cohort-leading>b{font-size:2rem;font-weight:600;white-space:nowrap}.cohort-leading>b small{font-size:1rem}.cohort-leading>span{font-size:.85rem;font-weight:600;line-height:1.4}.cohort-leading>span small{display:block;color:var(--muted);font-size:.7rem;font-weight:400;margin-bottom:4px}.cohort-category-bars{display:grid;gap:13px}.cohort-category-row>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;font-size:.8rem;line-height:1.5;margin-bottom:6px}.cohort-category-row b{display:flex;gap:10px;flex-shrink:0}.cohort-category-row b small{color:var(--muted);font-weight:400;min-width:35px;text-align:right}.cohort-category-track{display:block;height:8px;border-radius:8px;overflow:hidden;background:var(--chart-soft)}.cohort-category-track i{display:block;height:100%;border-radius:inherit;background:var(--chart-color)}.cohort-expand{border:0;background:transparent;color:var(--green-700);padding:6px 0;text-align:left;font:inherit;font-size:.78rem;cursor:pointer}.cohort-numeric-summary{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0 8px;padding:16px;border-radius:14px;background:var(--chart-soft)}.cohort-numeric-summary small{display:block;color:var(--muted);font-size:.72rem;margin-bottom:8px}.cohort-numeric-summary b{font-size:1.7rem;font-weight:600}.cohort-numeric-summary em{font-style:normal;font-size:.8rem;font-weight:400}.cohort-numeric-summary strong{display:block;font-size:1.15rem;line-height:1.8;font-weight:500}.cohort-histogram svg{display:block;width:100%;margin:12px 0 5px}.cohort-histogram rect{fill:var(--chart-color)}.cohort-histogram text{fill:#526961;font-size:12px;font-family:inherit}.cohort-histogram>small{color:var(--muted);font-size:.7rem}.cohort-insight>footer{display:grid;gap:7px;margin-top:20px;padding-top:14px;border-top:1px solid var(--line);font-size:.75rem;color:var(--muted);line-height:1.5}.cohort-insight>footer small{font-size:.7rem}.cohort-insight-empty{min-height:130px;display:grid;align-content:center;color:var(--muted);font-size:.83rem;line-height:1.6}.cohort-methodology{color:var(--muted);font-size:.75rem;line-height:1.6;margin:16px 0 0}@media(max-width:800px){.cohort-insights>header{display:grid;gap:12px}.cohort-insight-grid{grid-template-columns:minmax(0,1fr)}}.cohort-bars i{height:6px;overflow:hidden;border-radius:99px;background:#dfe9e6}.cohort-bars em{height:100%;display:block;border-radius:inherit;background:var(--green-700)}.cohort-gender{display:flex;align-items:center;gap:24px;padding:8px 4px;flex-wrap:wrap}.cohort-gender-ring{width:126px;height:126px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.cohort-gender-ring>span{display:grid;place-content:center;text-align:center;width:98px;height:98px;background:#f4f8f7;border-radius:50%}.cohort-gender-ring b{font-size:1.4rem}.cohort-gender-ring small{color:var(--muted);font-size:.65rem}.cohort-gender-legend{flex:1;display:grid;gap:12px;min-width:170px;font-size:.8rem}.cohort-gender-legend>div{display:grid;grid-template-columns:8px 1fr auto 34px;align-items:center;gap:8px}.cohort-gender-legend i{width:8px;height:8px;border-radius:50%}.cohort-gender-legend small{text-align:right;color:var(--muted)}.patient-trends>.field-label{max-width:520px}.trend-chart{padding:12px;border-radius:14px;background:#f4f8f7}.trend-chart svg{width:100%;height:min(220px,28vw);min-height:130px;display:block}.trend-chart line{stroke:#cad9d5}.trend-chart polyline{fill:none;stroke:var(--green-700);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.trend-chart circle{fill:#fff;stroke:var(--green-700);stroke-width:3}.trend-chart>div{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:.6rem}.export-request-status{display:flex;align-items:center;gap:11px;padding:13px 15px;border:1px solid #cfe0da;border-radius:13px;background:#f3f8f6;color:var(--green-700)}.lecture-sessions{padding:24px}.lecture-sessions__toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:20px}.lecture-sessions__toolbar .search-box{flex:1;max-width:520px}.lecture-sessions__toolbar select{min-height:42px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font:inherit}.lecture-sessions__toolbar .record-count{margin-left:auto}.lecture-session-list{display:grid;gap:10px}.lecture-session-row{display:flex;align-items:center;gap:18px;padding:20px;border:1px solid var(--line);border-radius:16px;color:var(--ink);text-decoration:none;transition:background .15s}.lecture-session-row:hover{background:#f5f9f7}.lecture-session-icon{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;background:#e7f1ed;color:#32796c;border-radius:14px}.lecture-session-title{flex:1;min-width:0}.lecture-session-title h2{margin:0 0 5px;font-size:1rem;overflow-wrap:anywhere}.lecture-session-title p{margin:0 0 8px;color:var(--muted);font-size:.8rem}.lecture-session-title small{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:.7rem}.lecture-session-count{display:flex;align-items:center;gap:6px;min-width:110px;font-size:.8rem}.lecture-session-count small{color:var(--muted)}.lecture-create{width:min(560px,calc(100% - 32px));max-width:560px;max-height:calc(100dvh - 32px);padding:0;border:0;margin:auto;color:var(--ink)}.lecture-create::backdrop{background:#08201e99;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.lecture-create .modal__header{padding:24px 28px 20px;align-items:center}.lecture-create .modal__header p{margin:6px 0 0;font-size:.84rem;color:var(--muted)}.lecture-create__body{padding:24px 28px;display:grid;gap:24px}.lecture-create .field-label{font-size:.82rem;gap:10px}.lecture-create .field-label input{min-height:46px;font:inherit;font-weight:400;padding:12px 14px}.lecture-create .modal__footer{padding:18px 28px;background:#f8faf9;position:sticky;bottom:0;z-index:1}.lecture-create .modal__footer .button--primary{min-width:156px}.lecture-test-choices{display:grid;gap:10px;border:0;padding:0;margin:0}.lecture-test-choices legend{font-weight:600;font-size:.82rem;padding:0 0 12px}.lecture-test-choices label{display:flex;align-items:center;gap:13px;padding:14px;border:1px solid #dce5e1;border-radius:14px;cursor:pointer;transition:background .15s,border-color .15s}.lecture-test-choices label:hover{background:#f7f9f8}.lecture-test-choices label:focus-within{outline:2px solid #32796c;outline-offset:3px}.lecture-test-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:12px;background:#e6f1ec;color:#397969}[data-test-color=lilac] .lecture-test-icon{background:#ebe4f5;color:#81669f}[data-test-color=blue] .lecture-test-icon{background:#e5eef8;color:#587f9f}.lecture-test-copy{flex:1;min-width:0;font-size:.92rem}.lecture-test-choices label.is-selected{border-color:#719d90;background:#f0f7f4;box-shadow:0 0 0 1px #719d90}.lecture-test-choices label[data-test-color=lilac].is-selected{background:#f4f0fa;border-color:#a596bb;box-shadow:0 0 0 1px #a596bb}.lecture-test-choices label[data-test-color=blue].is-selected{background:#eff5fb;border-color:#93abc1;box-shadow:0 0 0 1px #93abc1}.lecture-test-choices input{width:18px;height:18px;flex-shrink:0;accent-color:#337d6e;margin:0 2px 0 0}.lecture-test-choices b,.lecture-test-choices small{display:block}.lecture-test-choices small{margin-top:5px;color:var(--muted);line-height:1.5}.lecture-create__hint{display:flex;align-items:flex-start;gap:10px;margin:0;font-size:.75rem;line-height:1.6;color:var(--muted)}.lecture-create__hint svg{flex-shrink:0;margin-top:2px}.lecture-workspace{min-height:100dvh;padding:18px 24px 28px}.lecture-page{display:grid;gap:18px}.lecture-topbar{display:flex;align-items:center;gap:16px;padding:0 0 16px;border-bottom:1px solid var(--line)}.lecture-back{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink)}.lecture-back:hover{background:#e9f2ee}.lecture-topbar__title{flex:1;min-width:0}.lecture-topbar__title h1{margin:0;font-family:inherit;font-size:clamp(1.2rem,1.6vw,1.6rem);font-weight:650;line-height:1.3;overflow-wrap:anywhere}.lecture-topbar__meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:5px;font-size:.74rem;color:var(--muted)}.lecture-state{display:inline-flex;align-items:center;gap:5px}.lecture-state:before{content:"";width:6px;height:6px;border-radius:50%;background:#97a5a0}.lecture-state--active:before{background:#54a07e}.lecture-header-actions{display:flex;flex-wrap:wrap;gap:8px}.lecture-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}.lecture-layout--results{grid-template-columns:minmax(0,1fr)}.lecture-join{padding:22px}.lecture-join h2{font-size:clamp(1.15rem,1.4vw,1.65rem);margin:0}.lecture-join__header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:8px}.lecture-copy{flex-shrink:0;width:36px;height:36px;border-radius:10px;color:#4c7269}.lecture-copy:hover{background:#edf5f1}.lecture-copy-status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.lecture-copy-fallback{margin-top:12px}.lecture-qr{display:flex;justify-content:center;padding:0;background:#fff}.lecture-qr svg{display:block;width:min(100%,760px);height:auto}.lecture-rules{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.lecture-rules h3{font-size:clamp(1.2rem,1.4vw,1.65rem);margin:0 0 15px}.lecture-rules ol{padding-left:1.5em;margin:0;display:grid;gap:12px;color:#263f3a;font-size:clamp(1.125rem,1.25vw,1.625rem);font-weight:500;line-height:1.5}.lecture-rules li::marker{color:#377d6f;font-weight:700}.lecture-custom-rules{white-space:pre-wrap;font-size:clamp(1.125rem,1.25vw,1.625rem);line-height:1.5;color:#263f3a}.lecture-audience{display:grid;gap:24px;min-width:0}.lecture-roster{padding:22px;min-width:0}.lecture-roster>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.lecture-roster h2,.lecture-analysis h2{font-size:1.2rem;margin:8px 0}.lecture-update{color:var(--muted);font-size:.7rem}.lecture-counters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:20px 0}.lecture-counters>span{display:grid;gap:5px;padding:14px;background:#f2f7f5;border-radius:12px}.lecture-counters b{font-size:1.5rem;font-weight:600}.lecture-counters small{color:var(--muted);font-size:.7rem}.lecture-roster-scroll{max-height:400px;overflow:auto}.lecture-roster table{width:100%;border-collapse:collapse;font-size:.76rem;white-space:nowrap}.lecture-roster td,.lecture-roster th{text-align:left;padding:12px 9px;border-bottom:1px solid #e4ece8}.lecture-roster thead th{font-weight:500;color:var(--muted);font-size:.68rem;background:#fff;position:sticky;top:0}.lecture-roster tbody th{font-weight:600}.lecture-roster tbody th small{display:block;color:var(--muted);font-weight:400;margin-top:4px}.lecture-roster-note{font-size:.68rem;line-height:1.6;margin:14px 0 0;color:var(--muted)}.lecture-analysis>header p{color:var(--muted);font-size:.75rem;line-height:1.5;margin:0 0 16px}.lecture-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.lecture-chart{margin:0;padding:18px;border:1px solid #dce7e1;border-radius:18px;background:#fff;min-width:0}.lecture-chart--wide{grid-column:1/-1}.lecture-chart figcaption{display:grid;gap:5px;min-height:45px;font-size:.85rem}.lecture-chart figcaption small{font-size:.69rem;color:var(--muted)}.lecture-chart svg{display:block;width:100%;max-height:230px;margin-top:14px}.lecture-chart svg text{fill:#648077;font-size:11px;font-family:inherit}.chart-axis-note{font-size:.65rem;line-height:1.5;color:var(--muted);margin:8px 0 0}.lecture-donut{width:120px;height:120px;margin:20px auto;border-radius:50%;display:grid;place-items:center}.lecture-donut>span{display:grid;place-content:center;text-align:center;width:90px;height:90px;background:#fff;border-radius:50%}.lecture-donut b{font-size:1.3rem}.lecture-donut small{font-size:.7rem;color:var(--muted)}.lecture-chart-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;font-size:.7rem}.lecture-chart-legend span{display:flex;align-items:center;gap:5px}.lecture-chart-legend i{width:8px;height:8px;border-radius:50%;background:#69a492}.lecture-chart-legend span+span i{background:#deb482}.lecture-chart-empty{display:grid;place-content:center;min-height:165px;text-align:center;color:var(--muted);font-size:.76rem;line-height:1.6}.lecture-layout--results .lecture-charts{grid-template-columns:repeat(3,minmax(0,1fr))}.lecture-layout--results .lecture-chart--wide{grid-column:auto}.lecture-closed{padding:30px;text-align:center;color:var(--muted);line-height:1.6}.lecture-legacy-tests{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.8rem}.public-participant-label{display:inline-flex;padding:8px 14px;background:#e8f3ee;border-radius:20px;color:#327769;font-size:.8rem}@media(max-width:1000px){.lecture-topbar{flex-wrap:wrap;gap:12px}.lecture-header-actions{flex-basis:100%}.lecture-layout{grid-template-columns:minmax(0,1fr)}.lecture-join{max-width:none}}@media(max-width:600px){.lecture-workspace{padding:12px}.lecture-create .modal__header{padding:20px}.lecture-create__body{padding:20px;gap:22px}.lecture-create .modal__footer{padding:16px 20px}.lecture-create .modal__footer .button{flex:initial}.lecture-test-copy{font-size:.85rem}.lecture-test-choices small{font-size:.74rem}.lecture-sessions,.lecture-join,.lecture-roster{padding:16px}.lecture-session-row{flex-wrap:wrap;gap:12px;padding:14px}.lecture-session-title{flex-basis:calc(100% - 64px)}.lecture-session-row>svg{margin-left:auto}.lecture-header-actions .button{font-size:.72rem}.lecture-charts,.lecture-layout--results .lecture-charts{grid-template-columns:minmax(0,1fr)}.lecture-chart--wide{grid-column:auto}.lecture-counters>span{padding:10px}}.export-request-status>svg{flex:0 0 auto;animation:export-spin 1.2s linear infinite}.export-request-status b,.export-request-status small{display:block}.export-request-status small{margin-top:2px;color:var(--muted)}.patient-access-note{display:grid;gap:4px;padding:13px 15px;border:1px solid #d9e5e1;border-radius:12px;background:#f5f8f7;color:#49615d;font-size:.73rem}.patient-access-note b{color:var(--ink)}.inline-action{padding:0;border:0;color:var(--green-700);background:transparent;font:inherit;text-decoration:underline;cursor:pointer}@keyframes export-spin{to{transform:rotate(360deg)}}@media(max-width:760px){.profile-password form,.notification-layout{grid-template-columns:1fr}.cohort-groups{grid-template-columns:minmax(0,1fr)}}
