*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;min-height:100%;min-height:-webkit-fill-available}:root{--header-height:78px;--header-height-tablet:64px;--header-height-mobile:72px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px);--viewport-height:100vh;--app-bg:#eef2ff;--surface:#fffffff0;--surface-strong:#fff;--surface-soft:#f6f8ff;--line:#d7def5;--line-strong:#c0caee;--text:#182957;--text-soft:#576a9f;--text-muted:#7b8cb6;--accent:#2850d8;--accent-strong:#1d3fb8;--accent-soft:#e5ebff;--accent-soft-2:#ced8ff;--accent-rgb:40, 80, 216;--brand-deep:#162b8a;--brand-deeper:#11216c;--brand-darkest:#0d1952;--brand-gradient:linear-gradient(135deg, var(--brand-deep) 0%, var(--accent) 100%);--brand-gradient-hover:linear-gradient(135deg, var(--brand-deeper) 0%, var(--accent-strong) 100%);--brand-surface-gradient:linear-gradient(135deg, #fffffff7 0%, #f4f7fffc 100%);--brand-soft-gradient:linear-gradient(135deg, #dce5ff 0%, #eef2ff 100%);--brand-soft-gradient-strong:linear-gradient(135deg, #ccd8ff 0%, #e5ebff 100%);--brand-focus-ring:rgba(var(--accent-rgb), .14);--shadow-lg:0 24px 60px #1430471f;--shadow-md:0 16px 36px #14304714;--shadow-sm:0 8px 18px #1430470f;--font-sans:"Noto Sans Math", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;--page-padding-x:clamp(12px, 2vw, 24px);--page-padding-y:clamp(16px, 2.4vw, 28px)}@supports (height:100dvh){:root{--viewport-height:100dvh}}html,body,button,input,select,textarea{font-family:var(--font-sans)}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:radial-gradient(circle at top left, rgba(var(--accent-rgb), .16), transparent 26%), radial-gradient(circle at bottom right, #162b8a1a, transparent 28%), var(--app-bg);color:var(--text)}.app{min-height:var(--viewport-height);display:flex;overflow:hidden}.header{min-height:var(--header-height);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:1000;background:#ffffffdb;border-bottom:1px solid #d7def5e6;justify-content:space-between;align-items:center;padding:12px 28px;display:flex;position:fixed;top:0;left:0;right:0;box-shadow:0 10px 28px #11216c0f}.header-shell,.header-left{align-items:center;gap:18px;display:flex}.layout-shell{width:100%;min-height:var(--viewport-height);--sidebar-offset:270px}.header-shell{min-width:0}.header-brand-lockup{border-right:1px solid #d7def5e6;align-items:center;gap:12px;min-width:0;padding-right:18px;display:flex}.header-brand-mark{background:linear-gradient(135deg,#e5ebfff2,#fffffff5);border:1px solid #cbd6ffe6;border-radius:16px;flex-shrink:0;justify-content:center;align-items:center;width:46px;height:46px;display:inline-flex;box-shadow:0 12px 24px #11216c14}.header-brand-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.header-brand-title{color:var(--brand-deep);letter-spacing:-.01em;font-size:14px;font-weight:800}.header-brand-subtitle{color:var(--text-soft);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:600}.sidebar-toggle{width:40px;height:40px;color:var(--text-soft);cursor:pointer;box-shadow:var(--shadow-sm);background:#f8fafff5;border:1px solid #d7def5e6;border-radius:12px;justify-content:center;align-items:center;transition:background .2s,color .2s,transform .2s;display:inline-flex}.sidebar-toggle:hover{color:var(--text);background:#fff;transform:translateY(-1px)}.sidebar-toggle svg{width:18px;height:18px}.header-copy{flex-direction:column;gap:6px;min-width:0;display:flex}.header-kicker{color:var(--accent);letter-spacing:.14em;text-transform:uppercase;font-size:11px;font-weight:800}.header-title-block{flex-direction:column;gap:2px;display:flex}.logo{color:#fff;background:#2196f3;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;font-size:16px;font-weight:700;display:flex}.header-logo-img{object-fit:contain;width:24px;height:24px;display:block}.header-title{color:var(--text);letter-spacing:-.02em;font-size:24px;font-weight:700}.header-subtitle{color:var(--text-soft);max-width:720px;font-size:13px;line-height:1.45}.header-right{align-items:center;gap:14px;padding-left:12px;display:flex}.header-status-pill{color:var(--brand-deep);letter-spacing:.04em;text-transform:uppercase;background:#f5f8fffa;border:1px solid #cfd8fff2;border-radius:999px;align-items:center;gap:8px;padding:9px 14px;font-size:12px;font-weight:700;display:inline-flex}.header-status-dot{background:#22c55e;border-radius:999px;width:8px;height:8px;box-shadow:0 0 0 4px #22c55e29}.notification-bell{cursor:pointer;width:38px;height:38px;color:var(--text-soft);box-shadow:var(--shadow-sm);background:#f8fafff5;border:1px solid #d7def5e6;border-radius:12px;justify-content:center;align-items:center;display:inline-flex}.user-info{box-shadow:var(--shadow-sm);background:#f8fafffa;border:1px solid #d7def5e6;border-radius:16px;align-items:center;gap:10px;padding:7px 12px 7px 7px;display:flex}.user-avatar{background:var(--brand-gradient);color:#fff;width:38px;height:38px;box-shadow:0 10px 20px rgba(var(--accent-rgb), .22);border-radius:12px;justify-content:center;align-items:center;font-size:14px;font-weight:700;display:flex}.user-copy{flex-direction:column;gap:2px;display:flex}.user-name{color:var(--text);font-size:14px;font-weight:700}.user-role{color:var(--text-soft);font-size:12px;font-weight:600}.sidebar{left:0;top:var(--header-height);background:linear-gradient(180deg, var(--brand-deeper) 0%, var(--brand-deep) 55%, var(--brand-darkest) 100%);z-index:999;border-right:1px solid #ffffff14;flex-direction:column;width:270px;padding:18px 16px 24px;transition:transform .24s,opacity .24s;display:flex;position:fixed;bottom:0;overflow-y:auto;box-shadow:14px 0 40px #0818242e}.sidebar-brand-card{background:linear-gradient(#ffffff1f,#ffffff0f);border:1px solid #cbd6ff2e;border-radius:22px;align-items:flex-start;gap:14px;margin:2px 4px 18px;padding:16px;display:flex;box-shadow:inset 0 1px #ffffff14}.sidebar-brand-logo-wrap{background:#fffffff5;border:1px solid #d9e3ffcc;border-radius:16px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:inline-flex}.sidebar-brand-logo{object-fit:contain;width:26px;height:26px}.sidebar-brand-copy{flex-direction:column;gap:4px;display:flex}.sidebar-brand-copy strong{color:#f8fbff;font-size:16px;font-weight:800}.sidebar-brand-copy span:last-child{color:#e1ecf4bd;font-size:12px;line-height:1.45}.sidebar-user-copy strong{color:#f5fbff;font-size:15px;display:block}.sidebar-section-label{color:#c9d8ffe6;letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:700;display:block}.sidebar-brand-eyebrow{color:#c9d8ffeb;letter-spacing:.14em;text-transform:uppercase;margin-bottom:2px;font-size:11px;font-weight:700}.sidebar-section-label{margin-bottom:10px;padding:0 14px}.sidebar-menu{margin:0;padding:0;list-style:none}.sidebar-item{margin-bottom:0}.sidebar-link{color:#e1ecf4d1;background:0 0;border:1px solid #0000;border-radius:14px;align-items:center;gap:12px;margin:0 4px 6px;padding:14px 16px;font-size:15px;font-weight:600;text-decoration:none;transition:all .2s;display:flex}.sidebar-link:hover{color:#fff;background:#ffffff14;border-color:#ffffff14;transform:translate(2px)}.sidebar-link.active{color:var(--accent-strong);background:linear-gradient(135deg,#e5ebfff2,#ffffffeb);border:1px solid #ffffff75;box-shadow:0 12px 30px #04141e2e}.sidebar-icon{width:18px;height:18px;color:inherit;flex-shrink:0;justify-content:center;align-items:center;display:flex}.sidebar-signout{margin-top:auto;padding:18px 10px 0}.sidebar-signout .sidebar-link{margin:0}.sidebar-user-card{background:linear-gradient(#ffffff21,#ffffff12);border:1px solid #ffffff1f;border-radius:18px;align-items:center;gap:12px;margin-bottom:10px;padding:14px 16px;display:flex}.sidebar-user-avatar{background:var(--brand-soft-gradient-strong);width:38px;height:38px;color:var(--brand-deeper);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;font-weight:700;display:flex}.sidebar-user-copy span{color:#e1ecf4b8;margin-top:3px;font-size:12px;display:block}.main-content{width:calc(100% - var(--sidebar-offset));height:calc(var(--viewport-height) - var(--header-height));margin-left:var(--sidebar-offset);margin-top:var(--header-height);background:radial-gradient(circle at top right, rgba(var(--accent-rgb), .1), transparent 18%), linear-gradient(180deg, #f8faff 0%, var(--app-bg) 100%);flex:none;min-width:0;padding:0;transition:margin-left .24s;overflow:auto}.sidebar-backdrop{inset:var(--header-height) 0 0 0;z-index:998;background:#08182457;border:none;position:fixed}.layout-desktop.sidebar-hidden .sidebar{opacity:0;pointer-events:none;transform:translate(-100%)}.layout-desktop.sidebar-hidden{--sidebar-offset:0px}.layout-desktop.sidebar-hidden .main-content{margin-left:0}.layout-mobile{--sidebar-offset:0px}.layout-mobile .sidebar{opacity:0;pointer-events:none;transform:translate(-100%)}.layout-mobile.sidebar-visible .sidebar{opacity:1;pointer-events:auto;transform:translate(0)}.layout-mobile .main-content{width:100%;margin-left:0}.page-container{background:var(--surface);border:1px solid var(--line);max-width:800px;box-shadow:var(--shadow-md);border-radius:24px;margin:0 auto;padding:30px}.page-header{border-bottom:1px solid #e0e0e0;justify-content:space-between;align-items:center;margin-bottom:30px;padding-bottom:20px;display:flex}.page-title-container{align-items:center;gap:15px;display:flex}.page-back{cursor:pointer;color:#666;width:24px;height:24px}.page-title{color:#333;font-size:24px;font-weight:600}.page-share{cursor:pointer;color:#666;width:24px;height:24px}.profile-section{text-align:center;margin-bottom:30px}.profile-icon{color:#666;background:#e0e0e0;border-radius:50%;justify-content:center;align-items:center;width:120px;height:120px;margin:0 auto 20px;font-size:32px;display:flex}.form-group{margin-bottom:20px}.form-label{color:#333;margin-bottom:8px;font-size:14px;font-weight:500;display:block}.form-input{border:1px solid var(--line);width:100%;color:var(--text);background:#fbfcff;border-radius:14px;padding:12px 16px;font-size:14px;transition:border-color .2s,box-shadow .2s}.form-input:focus{border-color:rgba(var(--accent-rgb), .45);box-shadow:0 0 0 4px rgba(var(--accent-rgb), .12);outline:none}.radio-group{gap:10px;display:flex}.radio-pill{border:1px solid var(--line);background:var(--surface-strong);cursor:pointer;border-radius:999px;padding:8px 16px;font-size:14px;transition:all .2s}.radio-pill:hover{border-color:rgba(var(--accent-rgb), .35)}.radio-pill.active{background:var(--brand-gradient);color:#fff;border-color:#0000}.radio-input{display:none}.form-actions{justify-content:flex-end;gap:10px;margin-top:30px;display:flex}.btn{cursor:pointer;border:none;border-radius:12px;padding:10px 20px;font-size:14px;font-weight:500;transition:all .2s}.btn-outline{background:var(--surface-strong);color:var(--text-soft);border:1px solid var(--line)}.btn-outline:hover{background:var(--surface-soft)}.btn-primary{background:var(--brand-gradient);color:#fff}.btn-primary:hover{background:var(--brand-gradient-hover)}.toast{color:#fff;z-index:2000;border-radius:6px;padding:12px 20px;font-size:14px;animation:.3s slideIn;position:fixed;bottom:20px;right:20px}.toast.success{background:#4caf50}.toast.error{background:#f44336}@keyframes slideIn{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}.patients-list{gap:15px;display:grid}.patient-card{border:1px solid #e0e0e0;border-radius:8px;justify-content:space-between;align-items:center;padding:20px;display:flex}.patient-info h3{color:#333;margin-bottom:5px;font-size:16px}.patient-info p{color:#666;margin:2px 0;font-size:14px}.patient-actions{gap:10px;display:flex}.btn-small{padding:6px 12px;font-size:12px}.patients-page{background:radial-gradient(circle at top right, rgba(var(--accent-rgb), .12), transparent 24%), radial-gradient(circle at bottom left, #1d3fb814, transparent 20%), linear-gradient(180deg, #f8faff 0%, var(--app-bg) 100%);width:min(100%,1480px);min-height:calc(100vh - 78px);margin:0 auto;padding:28px 24px 32px}.patients-hero-card{background:radial-gradient(circle at top right, rgba(var(--accent-rgb), .08), transparent 22%), linear-gradient(135deg, #fffffff2 0%, #f7f9fffa 100%);border:1px solid var(--line);border-radius:28px;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:20px;margin-bottom:20px;padding:30px 32px;display:flex;box-shadow:0 20px 45px #11216c14}.dashboard-summary-card{background:radial-gradient(circle at top right, rgba(var(--accent-rgb), .08), transparent 22%), linear-gradient(135deg, #fffffff2 0%, #f7f9fffa 100%);border:1px solid var(--line);border-radius:28px;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:20px;margin:0 0 20px;padding:30px 32px;display:flex;box-shadow:0 20px 45px #11216c14}.patients-workspace-card{background:var(--surface);border:1px solid var(--line);border-radius:28px;overflow:auto hidden;box-shadow:0 20px 45px #11216c14}.patients-hero-title{color:var(--brand-deep);font-size:36px;line-height:1.15;font-family:var(--font-sans);align-self:flex-start;margin:0}.dashboard-summary-title{color:var(--brand-deep);font-size:36px;line-height:1.15;font-family:var(--font-sans);margin:0}.patients-hero-description{max-width:760px;color:var(--text-soft);margin:-6px 0 0;font-size:15px;line-height:1.7}.patients-hero-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:100%;min-width:0;display:grid}.patients-stat-card{background:#ffffffe6;border:1px solid #d7def5e6;border-radius:18px;align-items:center;gap:12px;width:100%;padding:16px 18px;display:flex;box-shadow:inset 0 1px #ffffffe6}.patients-stat-icon{background:var(--brand-soft-gradient);width:42px;height:42px;color:var(--accent-strong);border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.patients-stat-card span{color:var(--text-soft);margin-bottom:4px;font-size:12px;font-weight:600;display:block}.patients-stat-card strong{color:var(--brand-deep);font-size:22px;display:block}.patients-action-bar{box-shadow:none;background:#f8faffc7;border:none;border-bottom:1px solid #d7def5e6;border-radius:0;justify-content:space-between;align-items:center;gap:20px;margin-bottom:0;padding:20px 24px;display:flex}.filter-tabs{border:1px solid var(--line);background:#eef2ff;border-radius:999px;gap:0;padding:6px;display:flex;box-shadow:inset 0 1px #ffffffe6}.filter-tab{color:#5d7487;cursor:pointer;background:0 0;border:none;border-radius:999px;padding:11px 22px;font-size:14px;font-weight:600;transition:all .2s}.filter-tab:hover{color:var(--accent);background:rgba(var(--accent-rgb), .12)}.filter-tab.active{background:var(--brand-gradient);color:#fff;box-shadow:0 12px 24px #14304738}.search-container{flex:1;max-width:460px;position:relative}.search-input{border:1px solid var(--line);width:100%;color:var(--text);background:#fbfcff;border-radius:14px;outline:none;padding:14px 16px 14px 46px;font-size:14px;transition:border-color .2s,box-shadow .2s}.search-input:focus{border-color:rgba(var(--accent-rgb), .45);box-shadow:0 0 0 4px rgba(var(--accent-rgb), .12)}.search-icon{color:#7d98ab;pointer-events:none;width:20px;height:20px;position:absolute;top:50%;left:16px;transform:translateY(-50%)}.add-patient-btn{background:var(--brand-gradient);color:#fff;cursor:pointer;white-space:nowrap;border:none;border-radius:14px;align-items:center;gap:10px;padding:13px 18px;font-size:14px;font-weight:600;transition:transform .2s,box-shadow .2s;display:inline-flex}.add-patient-btn:hover{transform:translateY(-2px);box-shadow:0 16px 28px #14304738}.empty-state{text-align:center;background:linear-gradient(#fff 0%,#f7f9ff 100%);border:1px solid #d7def5e6;border-radius:28px;flex-direction:column;justify-content:center;align-items:center;min-height:340px;padding:64px 24px;display:flex;box-shadow:0 18px 36px #11216c0f}.patients-workspace-card .empty-state{box-shadow:none;background:0 0;border:none;border-radius:0}.empty-state-icon{background:var(--brand-soft-gradient);width:74px;height:74px;color:var(--accent-strong);border-radius:24px;justify-content:center;align-items:center;margin:0 auto 20px;display:flex;box-shadow:inset 0 1px #ffffffe6}.empty-state-title{color:#27455c;font-size:28px;font-family:var(--font-sans);margin:0}.empty-state-description{color:#688295;max-width:560px;margin:12px 0 24px;font-size:15px;line-height:1.7}.empty-state-btn{background:var(--brand-gradient);color:#fff;cursor:pointer;border:none;border-radius:14px;justify-content:center;align-items:center;padding:14px 24px;font-size:16px;font-weight:700;transition:transform .2s,box-shadow .2s;display:inline-flex;box-shadow:0 14px 28px #14304733}.empty-state-btn:hover{transform:translateY(-1px);box-shadow:0 18px 32px #1430473d}.patients-table{box-shadow:none;-webkit-overflow-scrolling:touch;background:0 0;border:none;border-radius:0;width:100%;min-width:780px;overflow-x:auto}.patients-table .table-header{color:var(--brand-deep);box-sizing:border-box;background:linear-gradient(90deg,#f4f7ff,#fbfcff);grid-template-columns:minmax(160px,1.3fr) minmax(90px,.7fr) minmax(120px,.9fr) minmax(265px,1.8fr);align-items:center;padding:14px 18px;font-weight:600;display:grid}.header-cell{font-size:15px;font-family:var(--font-sans);padding:8px;font-weight:600}.patients-table .table-header .header-cell:last-child{text-align:right;padding-right:12px}.patients-table .table-row{box-sizing:border-box;border-bottom:1px solid #e1e7f8f2;grid-template-columns:minmax(160px,1.3fr) minmax(90px,.7fr) minmax(120px,.9fr) minmax(265px,1.8fr);align-items:center;padding:14px 18px;transition:background-color .2s,transform .2s;display:grid}.patients-table .table-row:hover{background:#f7f9ff}.patients-table .table-row:last-child{border-bottom:none}.table-cell{align-items:center;padding:6px 8px;display:flex}.patients-table .table-row .table-cell:last-child{justify-content:flex-end}.patient-identity{align-items:center;gap:12px;display:flex}.patient-avatar-badge{background:var(--brand-soft-gradient);width:42px;height:42px;color:var(--accent-strong);border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;font-size:15px;font-weight:700;display:flex}.patient-name{color:var(--text);font-size:15px;font-weight:700}.patient-meta-text{color:#7d97a8;margin-top:4px;font-size:12px}.patient-age-sex{color:var(--text-soft);font-size:14px;font-weight:500}.patient-mobile{color:var(--text-soft);font-size:14px}.patient-actions{box-sizing:border-box;flex-wrap:nowrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:6px;width:100%;min-width:max-content;display:flex}.action-link{border:1px solid var(--line);white-space:nowrap;color:var(--accent-strong);cursor:pointer;white-space:nowrap;background:#f5f7ff;border-radius:999px;flex:0 auto;justify-content:center;align-items:center;gap:4px;padding:6px 10px;font-size:12px;font-weight:600;text-decoration:none;transition:all .2s;display:inline-flex}.action-link:hover{color:var(--accent-strong);border-color:var(--line-strong);background:#e9eeff}.action-link svg{flex-shrink:0;width:13px;height:13px}.edit-icon-btn{color:#475569;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;transition:all .2s;display:inline-flex}.edit-icon-btn:hover{color:#0f172a;background:#e2e8f0;border-color:#94a3b8}.edit-icon-btn svg{flex-shrink:0;width:13px;height:13px}.delete-icon{color:#d75062;cursor:pointer;background:#fff3f4;border:1px solid #f2cbd1;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;transition:all .2s;display:inline-flex}.delete-icon:hover{color:#fff;background:#d75062;border-color:#d75062}.delete-icon svg{flex-shrink:0;width:13px;height:13px}@media (width<=1400px){.patients-table .table-header,.patients-table .table-row{grid-template-columns:minmax(150px,1.3fr) minmax(80px,.65fr) minmax(105px,.8fr) minmax(255px,1.8fr);padding:12px 16px}.tests-row{grid-template-columns:minmax(96px,.8fr) minmax(84px,.7fr) minmax(110px,1.1fr) minmax(170px,1.4fr) minmax(150px,1.2fr) minmax(248px,1.4fr);gap:6px;padding:14px 16px}.patient-actions,.tests-actions{flex-shrink:0;gap:4px;min-width:max-content}.action-link,.tests-action-button{white-space:nowrap;flex-shrink:0;gap:3px;padding:5px 8px;font-size:11.5px}.action-link svg,.tests-action-button svg{width:12px;height:12px}.edit-icon-btn,.delete-icon{flex-shrink:0;width:26px;min-width:26px;height:26px;min-height:26px}.edit-icon-btn svg,.delete-icon svg{width:12px;height:12px}}@media (width<=1180px){.patients-table .table-header,.patients-table .table-row{grid-template-columns:minmax(140px,1.2fr) minmax(75px,.6fr) minmax(95px,.75fr) minmax(240px,1.8fr);padding:10px 12px}.tests-row{grid-template-columns:minmax(90px,.8fr) minmax(80px,.7fr) minmax(105px,1.1fr) minmax(160px,1.4fr) minmax(140px,1.2fr) minmax(236px,1.4fr);gap:5px;padding:12px 14px}.patient-actions,.tests-actions{flex-shrink:0;gap:3px;min-width:max-content}.action-link,.tests-action-button{white-space:nowrap;flex-shrink:0;gap:2px;padding:4px 6px;font-size:11px}.action-link svg,.tests-action-button svg{width:11px;height:11px}.edit-icon-btn,.delete-icon{border-radius:6px;flex-shrink:0;width:24px;min-width:24px;height:24px;min-height:24px}.edit-icon-btn svg,.delete-icon svg{width:11px;height:11px}}.patients-workspace-card .pagination{padding:0 24px 22px}.patient-details-page{background:0 0;min-height:calc(100vh - 60px);padding:24px 0 32px}.patient-details-topbar{align-items:center;padding:0 24px 18px;display:flex}.details-back-button{color:#2f6c95;cursor:pointer;background:#fff;border:1px solid #d7e8f3;border-radius:999px;padding:12px 18px;font-size:14px;font-weight:600;transition:all .2s}.details-back-button:hover{color:#234e70;background:#f5fbff;border-color:#bed9ea}.patient-details-card{background:#fff;border:1px solid #dce8f2;border-radius:24px;margin:0 24px;padding:0;overflow:hidden;box-shadow:0 14px 34px #49749914}.patient-details-header{background:var(--brand-surface-gradient);color:var(--text);border-bottom:1px solid #e6eef5;justify-content:space-between;align-items:center;padding:28px 30px;display:flex}.patient-header-content{align-items:center;gap:20px;display:flex}.patient-avatar{background:var(--brand-soft-gradient);border-radius:24px;justify-content:center;align-items:center;width:80px;height:80px;display:flex}.patient-avatar svg{width:40px;height:40px;stroke:var(--accent-strong)}.patient-header-info{flex:1}.patient-details-name{color:#1d3a50;font-size:28px;font-weight:700;font-family:var(--font-sans);margin:0 0 12px}.patient-details-meta{flex-wrap:wrap;align-items:center;gap:20px;display:flex}.patient-details-id{background:var(--accent-soft);color:var(--accent-strong);border-radius:20px;padding:6px 12px;font-size:12px;font-weight:600}.patient-details-date{color:#688295;align-items:center;font-size:14px;display:flex}.patient-status{text-transform:uppercase;letter-spacing:.5px;border-radius:20px;padding:6px 12px;font-size:12px;font-weight:600}.patient-status.active{color:#2f8c67;background:#e9f6ef;border:1px solid #cfe8da}.patient-header-actions{gap:12px;display:flex}.edit-btn{background:var(--brand-gradient);color:#fff;border:none;transition:all .3s}.edit-btn:hover{background:var(--brand-gradient-hover);transform:translateY(-2px);box-shadow:0 12px 24px #14304738}.edit-actions{gap:12px;display:flex}.patient-details-content{flex-direction:column;gap:30px;padding:30px;display:flex}.patient-details-section{background:linear-gradient(#fff 0%,#f8fcff 100%);border:1px solid #dce8f2;border-radius:20px;padding:25px;transition:all .3s}.patient-details-section:hover{transform:translateY(-2px);box-shadow:0 8px 24px #49749914}.section-title{color:#1f4057;font-size:20px;font-weight:700;font-family:var(--font-sans);align-items:center;margin:0 0 25px;display:flex}.info-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:25px;display:grid}.info-item{background:#fff;border:1px solid #dce8f2;border-radius:16px;flex-direction:column;gap:8px;padding:20px;transition:all .3s;display:flex}.info-item:hover{box-shadow:0 8px 20px #49749914}.info-item label{color:#5b7487;text-transform:uppercase;letter-spacing:.5px;align-items:center;font-size:14px;font-weight:600;display:flex}.info-item span{color:#203b4f;font-size:16px;font-weight:500}.edit-input{background:#fbfdff;border:1px solid #d8e6f0;border-radius:14px;padding:12px 16px;font-size:16px;transition:all .3s}.edit-input:focus{border-color:#6eb4e3;outline:none;box-shadow:0 0 0 4px #6eb4e326}.action-buttons{flex-wrap:wrap;gap:15px;display:flex}.merged-action-buttons{border:1px solid #e2e8f0;border-radius:12px;gap:0;max-width:100%;display:flex;overflow:hidden;box-shadow:0 2px 10px #0000001a}.merged-action-btn{cursor:pointer;text-transform:uppercase;letter-spacing:.5px;background:#fff;border:none;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:8px;min-width:120px;padding:16px 20px;font-size:14px;font-weight:600;transition:all .3s;display:flex}.merged-action-btn.primary{background:var(--brand-gradient);color:#fff}.merged-action-btn.primary:hover{background:var(--brand-gradient-hover);transform:translateY(-2px)}.merged-action-btn.secondary{background:var(--brand-gradient);color:#fff}.merged-action-btn.secondary:hover{background:var(--brand-gradient-hover);transform:translateY(-2px)}.merged-action-btn.tertiary{background:var(--brand-gradient);color:#fff}.merged-action-btn.tertiary:hover{background:var(--brand-gradient-hover);transform:translateY(-2px)}.merged-action-btn svg{width:18px;height:18px}.combined-action-container{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-top:10px;display:grid}.combined-action-btn{background:var(--surface-strong);border:1px solid var(--line);cursor:pointer;border-radius:20px;align-items:center;gap:16px;padding:20px;transition:all .3s;display:flex;position:relative;overflow:hidden}.combined-action-btn:before{content:"";background:linear-gradient(90deg, var(--brand-deep), var(--accent));height:4px;transition:all .3s;position:absolute;top:0;left:0;right:0;transform:scaleX(0)}.combined-action-btn:hover:before{transform:scaleX(1)}.combined-action-btn:hover{border-color:rgba(var(--accent-rgb), .28);transform:translateY(-4px);box-shadow:0 14px 28px #4974991f}.action-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.action-icon.primary{background:var(--brand-gradient);color:#fff}.action-icon.secondary{background:var(--brand-soft-gradient-strong);color:var(--accent-strong)}.action-icon.tertiary{background:var(--accent-soft);color:var(--accent-strong)}.action-icon svg{width:24px;height:24px}.action-content{flex-direction:column;flex:1;gap:4px;display:flex}.action-title{color:#1f4057;font-size:16px;font-weight:600;font-family:var(--font-sans)}.action-desc{color:#6f889b;font-size:13px;line-height:1.4}@media (width<=768px){.patient-details-topbar{padding:0 16px 18px}.patient-details-card{margin:0 16px}.patient-details-header{flex-direction:column;align-items:flex-start;gap:18px}.patient-header-content{align-items:flex-start;width:100%}.patient-header-actions,.edit-actions{flex-wrap:wrap;width:100%}.patient-details-content{padding:22px 20px}.info-grid{grid-template-columns:1fr;gap:16px}.combined-action-container{grid-template-columns:1fr;gap:15px}.combined-action-btn{gap:12px;padding:16px}.action-icon{width:40px;height:40px}.action-icon svg{width:20px;height:20px}.action-title{font-size:15px}.action-desc{font-size:12px}.merged-action-buttons{flex-direction:column;gap:10px}.merged-action-btn{flex-direction:row;justify-content:flex-start;min-width:auto;padding:12px 16px}}.action-btn{cursor:pointer;text-transform:uppercase;letter-spacing:.5px;border:none;border-radius:8px;align-items:center;padding:12px 24px;font-size:14px;font-weight:600;transition:all .3s;display:flex}.action-btn:hover{transform:translateY(-2px);box-shadow:0 8px 25px #00000026}.login-page{background:radial-gradient(circle at top left, rgba(var(--accent-rgb), .16), transparent 24%), radial-gradient(circle at bottom right, #162b8a24, transparent 24%), linear-gradient(145deg, #f5f7ff 0%, #e8edff 48%, #f8faff 100%);place-items:center;width:100%;min-height:100vh;padding:24px;display:grid}.login-card{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff0;border:1px solid #d7def5f2;border-radius:30px;width:100%;max-width:520px;padding:38px;box-shadow:0 28px 60px #11216c1f}.login-kicker{background:var(--accent-soft);color:var(--accent-strong);letter-spacing:.12em;text-transform:uppercase;border-radius:999px;margin-bottom:14px;padding:7px 12px;font-size:12px;font-weight:800;display:inline-flex}.login-brand-logo{object-fit:contain;width:84px;height:48px;margin-bottom:14px;display:block}.login-title{color:var(--text);letter-spacing:-.02em;margin:0;font-size:32px;font-weight:700}.login-subtitle{color:var(--text-soft);margin:10px 0 22px;font-size:15px;line-height:1.6}.login-note{color:var(--text-soft);margin:-8px 0 22px;font-size:13px;line-height:1.5}.login-form{flex-direction:column;gap:10px;display:flex}.login-label{color:var(--text);font-size:13px;font-weight:600}.login-input{border:1px solid var(--line);min-height:48px;color:var(--text);background:#fbfcff;border-radius:14px;padding:0 14px;font-size:14px}.login-input:focus{border-color:rgba(var(--accent-rgb), .45);box-shadow:0 0 0 4px rgba(var(--accent-rgb), .12);outline:none}.login-error{color:#b91c1c;margin-top:2px;font-size:13px;font-weight:600}.login-submit-btn{background:var(--brand-gradient);color:#fff;cursor:pointer;border:none;border-radius:14px;min-height:48px;margin-top:10px;font-size:15px;font-weight:700;transition:transform .2s,box-shadow .2s}.login-submit-btn:hover{transform:translateY(-1px);box-shadow:0 14px 28px #14304738}.login-submit-btn:disabled{cursor:not-allowed;opacity:.72;box-shadow:none;transform:none}.login-secondary-btn{border:1px solid rgba(var(--accent-rgb), .22);min-height:48px;color:var(--accent-strong);cursor:pointer;background:#fffffff2;border-radius:14px;margin-top:10px;font-size:15px;font-weight:700;transition:transform .2s,box-shadow .2s,border-color .2s}.login-secondary-btn:hover{border-color:rgba(var(--accent-rgb), .38);transform:translateY(-1px);box-shadow:0 14px 28px #1430471f}.login-secondary-btn:disabled{cursor:not-allowed;opacity:.72;box-shadow:none;transform:none}.login-signup-copy{color:var(--text-soft);border-top:1px solid #d7def5e6;margin-top:16px;padding-top:16px;font-size:13px;line-height:1.6}.login-success{color:#15803d;margin-top:2px;font-size:13px;font-weight:600}.login-modal-backdrop{z-index:1200;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0c17348a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.login-modal{background:#fffffffa;border:1px solid #d7def5f2;border-radius:28px;width:100%;max-width:520px;padding:28px;box-shadow:0 28px 60px #11216c33}.login-modal-header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.login-modal-title{color:var(--text);margin:0;font-size:24px}.login-modal-subtitle{color:var(--text-soft);margin:8px 0 0;font-size:14px;line-height:1.6}.login-modal-close{border:1px solid var(--line);width:40px;height:40px;color:var(--text-soft);cursor:pointer;background:#f8fafff5;border-radius:12px;font-size:18px}.login-modal-form{flex-direction:column;gap:10px;display:flex}.login-modal-actions{justify-content:flex-end;gap:12px;margin-top:8px;display:flex}.login-modal-actions .login-submit-btn,.login-modal-actions .login-secondary-btn{min-width:150px;margin-top:0}.admin-dashboard-page{width:100%;max-width:none;min-height:100%;box-shadow:none;background:0 0;border:none;border-radius:0;flex-direction:column;gap:24px;margin:0;padding:32px;display:flex}.admin-dashboard-panel{background:#fffffff5;border:1px solid #d8e1ecf2;border-radius:28px;padding:28px;box-shadow:0 24px 48px #11216c14}.admin-dashboard-heading{margin-bottom:20px}.admin-doctor-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;display:grid}.admin-doctor-card{background:radial-gradient(circle at top right, rgba(var(--accent-rgb), .12), transparent 30%), linear-gradient(180deg, #fffffffa, #f5f8fffa);border:1px solid #d5deedf2;border-radius:22px;flex-direction:column;gap:18px;padding:22px;display:flex}.admin-doctor-header{align-items:center;gap:14px;display:flex}.admin-doctor-avatar{width:52px;height:52px;color:var(--accent-strong);background:rgba(var(--accent-rgb), .14);border-radius:16px;place-items:center;font-size:18px;font-weight:700;display:grid}.admin-doctor-name{color:var(--text);margin:0;font-size:18px}.admin-doctor-username{color:var(--text-soft);margin:4px 0 0;font-size:13px}.admin-doctor-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.admin-metric-pill{background:#f4f7fdf2;border:1px solid #dce3f1f2;border-radius:18px;padding:14px}.admin-metric-pill span,.admin-doctor-footer span{color:var(--text-soft);text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:600;display:block}.admin-metric-pill strong,.admin-doctor-footer strong{color:var(--text);margin-top:6px;font-size:20px;display:block}.admin-doctor-footer{border-top:1px solid #dce3f1e6;padding-top:16px}.admin-dashboard-empty{text-align:center;color:var(--text-soft);background:#f6f8fdf2;border-radius:18px;padding:30px 18px;font-weight:600}@media (width<=768px){.admin-dashboard-page{padding:18px}.login-modal{padding:22px}.login-modal-actions{flex-direction:column}.login-modal-actions .login-submit-btn,.login-modal-actions .login-secondary-btn{width:100%}}.admin-dashboard-error{color:#b91c1c}.admin-management-grid{gap:24px;display:grid}.admin-section-card{overflow:hidden}.admin-dashboard-banner{border-radius:18px;padding:14px 18px;font-weight:600}.admin-dashboard-banner-success{color:#166534;background:#f0fdf4f2;border:1px solid #16a34a2e}.admin-dashboard-banner-error{color:#b91c1c;background:#fef2f2fa;border:1px solid #dc262629}.admin-credential-preview{border:1px solid rgba(var(--accent-rgb), .18);background:linear-gradient(135deg, rgba(var(--accent-rgb), .08), #fffffff5);border-radius:18px;margin-bottom:20px;padding:18px 20px;box-shadow:0 16px 30px #1f405714}.admin-credential-preview-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.admin-credential-preview-header strong{color:#1f4057;font-size:16px;display:block}.admin-credential-preview-header p{color:#627792;margin:6px 0 0;font-size:14px}.admin-credential-preview-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:16px;display:grid}.admin-credential-label{color:#5f748a;text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px;font-size:12px;font-weight:700;display:block}.admin-credential-value{border:1px solid rgba(var(--accent-rgb), .18);color:#15364b;word-break:break-all;background:#ffffffd1;border-radius:14px;padding:12px 14px;font-size:14px;display:block}.admin-credential-note{color:#5f748a;margin:14px 0 0;font-size:13px}.admin-table-shell{border:1px solid #d8e1ecf2;border-radius:22px;overflow-x:auto}.admin-table{border-collapse:collapse;background:#fffffffa;width:100%;min-width:920px}.admin-table th,.admin-table td{text-align:left;vertical-align:top;border-bottom:1px solid #e4eaf5eb;padding:18px 16px}.admin-table th{color:var(--text-soft);text-transform:uppercase;letter-spacing:.08em;background:#f6f8fdfa;font-size:12px;font-weight:800}.admin-table tr:last-child td{border-bottom:none}.admin-primary-cell{color:var(--text);font-size:15px;font-weight:700}.admin-secondary-cell{color:var(--text-soft);margin-top:6px;font-size:13px;line-height:1.5}.admin-status-pill{letter-spacing:.08em;text-transform:uppercase;border-radius:999px;justify-content:center;align-items:center;padding:8px 12px;font-size:12px;font-weight:800;display:inline-flex}.admin-status-pending{color:#92400e;background:#fbbf2429}.admin-status-approved{color:#166534;background:#22c55e29}.admin-status-rejected{color:#991b1b;background:#ef444424}.admin-inline-form{flex-direction:column;gap:10px;display:flex}.admin-password-input-row{align-items:stretch;gap:10px;display:flex}.admin-inline-input{border:1px solid var(--line);width:100%;min-height:44px;color:var(--text);background:#fbfcff;border-radius:14px;padding:0 14px;font-size:14px}.admin-inline-input:focus{border-color:rgba(var(--accent-rgb), .45);box-shadow:0 0 0 4px rgba(var(--accent-rgb), .12);outline:none}.admin-password-toggle{border:1px solid rgba(var(--accent-rgb), .18);min-width:92px;color:var(--accent-strong);cursor:pointer;background:#f4f8ff;border-radius:14px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:13px;font-weight:700;transition:transform .2s,box-shadow .2s,border-color .2s;display:inline-flex}.admin-password-toggle:hover{border-color:rgba(var(--accent-rgb), .32);transform:translateY(-1px);box-shadow:0 10px 20px #1f405714}.admin-dashboard-helper{color:#64748b;margin:8px 0 0;font-size:13px}.admin-row-actions{flex-wrap:wrap;gap:10px;display:flex}.admin-action-btn{cursor:pointer;border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 14px;font-size:13px;font-weight:700;transition:transform .2s,box-shadow .2s;display:inline-flex}.admin-action-btn:hover{transform:translateY(-1px);box-shadow:0 12px 24px #14304724}.admin-action-btn:disabled{cursor:not-allowed;opacity:.72;box-shadow:none;transform:none}.admin-action-btn-primary{background:var(--brand-gradient);color:#fff}.admin-action-btn-secondary{background:rgba(var(--accent-rgb), .1);color:var(--accent-strong)}.admin-action-btn-danger{color:#b91c1c;background:#ef44441f}.admin-approved-copy{color:#166534;align-items:center;gap:8px;font-size:14px;font-weight:700;display:inline-flex}.sidebar-signout-btn{text-align:left;color:#ffd6dc;background:0 0;border:none;width:100%}.sidebar-signout-btn:hover{color:#fff;background:#ff546e24;border-color:#ffd6dc29}.btn-success{background:var(--brand-gradient);color:#fff}.btn-success:hover{background:var(--brand-gradient-hover)}.btn-info{background:var(--brand-gradient);color:#fff}.btn-info:hover{background:var(--brand-gradient-hover)}.btn-warning{background:var(--brand-gradient);color:#fff}.btn-warning:hover{background:var(--brand-gradient-hover)}.loading-spinner{border:4px solid #e5e7eb;border-top:4px solid var(--accent);border-radius:50%;width:40px;height:40px;margin:0 auto;animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.pagination{text-align:center;color:var(--text-soft);background:0 0;margin-top:14px;padding:16px 0 0;font-size:14px;font-weight:500}@media (width<=768px){.patients-page{padding:0}.patients-hero-card,.patients-action-bar{flex-direction:column;align-items:stretch;gap:15px}.patients-hero-stats{grid-template-columns:1fr;min-width:0}.filter-tabs{flex-wrap:wrap;justify-content:center}.search-container{max-width:100%}.add-patient-btn{width:100%}.patients-table .table-header,.patients-table .table-row{grid-template-columns:1fr;gap:8px}.header-cell:not(:first-child),.table-cell:not(:first-child){padding-left:20px}.patient-actions{flex-flow:row;align-items:center;gap:8px}.action-link{flex:1 1 0;justify-content:center;min-width:0;padding:10px 12px}.delete-icon{flex:none}}.meibography-sidebar{background:linear-gradient(#f7fbfd 0%,#eef5f8 58%,#e8f0f4 100%);border-right:1px solid #c4d3deb8;flex-direction:column;width:280px;min-width:280px;height:100%;display:flex;overflow-y:auto;box-shadow:12px 0 30px #14304714}.meibography-header{border-bottom:1px solid #c4d3deb8;padding:14px 16px}.meibography-header-title{align-items:flex-start;gap:10px;margin-bottom:10px;display:flex}.meibography-back-button{cursor:pointer;background:#fffffff0;border:1px solid #c4d3dee6;border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;transition:all .2s;display:inline-flex}.meibography-back-button:hover{background:#fff;border-color:#9ab5c5e6}.meibography-back-btn{cursor:pointer;color:#4d6a7f;width:20px;height:20px;margin-right:0;transition:color .2s}.meibography-back-btn:hover{color:#224a67}.meibography-header-copy{flex-direction:column;gap:6px;display:flex}.meibography-title{color:var(--brand-deep);letter-spacing:-.02em;font-size:24px;font-weight:700}.meibography-title-caption{color:#6f889b;margin:0;font-size:14px;line-height:1.6}.meibography-patient-section{margin-bottom:10px}.meibography-patient-label{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.meibography-patient-label-text{color:#35556c;font-size:14px;font-weight:600}.meibography-add-patient-link{color:#3d84b8;font-size:14px;font-weight:600;text-decoration:none;transition:color .2s}.meibography-add-patient-link:hover{color:#2f6c95}.meibography-patient-select{color:#264156;background:#fff;border:1px solid #d8e6f0;border-radius:16px;width:100%;padding:10px 12px;font-size:14px;transition:border-color .2s,box-shadow .2s}.meibography-patient-select:focus{border-color:#6eb4e3;outline:none;box-shadow:0 0 0 4px #6eb4e326}.meibography-patient-card{background:linear-gradient(#fff 0%,#f4f9fc 100%);border:1px solid #d7e4ee;border-radius:18px;align-items:center;margin-top:12px;padding:14px;display:flex;box-shadow:0 10px 22px #527b9814}.meibography-patient-avatar{color:#fff;background:linear-gradient(135deg,#dce5ff,#9fb4ff);border-radius:16px;justify-content:center;align-items:center;width:42px;height:42px;font-size:16px;font-weight:600;display:flex}.meibography-patient-info{margin-left:12px}.meibography-patient-name{color:var(--brand-deep);font-size:15px;font-weight:700}.meibography-patient-details{color:#6f889b;margin-top:2px;font-size:13px}.meibography-nav{flex:1;padding:8px 10px}.meibography-nav-list{margin:0;padding:0;list-style:none}.meibography-nav-item{margin-bottom:2px}.meibography-nav-link{color:var(--text-soft);border:1px solid #0000;border-radius:12px;padding:9px 12px;font-size:13px;font-weight:600;line-height:1.4;text-decoration:none;transition:all .2s;display:block}.meibography-nav-button{text-align:left;cursor:pointer;width:100%;font:inherit;background:0 0}.meibography-nav-link:hover,.meibography-nav-link:focus-visible,.meibography-nav-link:active{color:var(--accent-strong);border-color:var(--line);background:#f5f7ff}.meibography-nav-link.active{background:var(--accent);color:#fff;border-color:var(--accent);box-shadow:0 10px 20px rgba(var(--accent-rgb), .2);font-weight:600}.meibography-nav-link.active:hover,.meibography-nav-link.active:focus-visible,.meibography-nav-link.active:active{background:var(--accent);color:#fff;border-color:var(--accent)}.meibography-main{flex-direction:column;flex:1;min-width:0;display:flex;overflow:hidden}.meibography-top-header{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f7fafcdb;border-bottom:1px solid #c4d3deb8;justify-content:space-between;align-items:center;padding:18px 28px;display:flex;box-shadow:0 10px 24px #1430470d}.meibography-action-toolbar{background:#fff9;border-bottom:1px solid #c4d3de80;flex-wrap:nowrap;justify-content:center;align-items:center;gap:10px;padding:14px 24px 16px;display:flex;overflow-x:auto;box-shadow:inset 0 1px #ffffffe6}.meibography-review-toolbar{flex-wrap:nowrap;justify-content:center;overflow-x:auto}.meibography-capture-segmented-control{flex:0 720px;min-width:560px}#capture-action-controls,#review-action-controls{flex-direction:column!important;justify-content:flex-start!important;align-items:center!important;gap:5px!important;width:100%!important;display:flex!important;overflow:visible!important}.meibography-toolbar-top-row{flex-wrap:wrap;order:1;justify-content:center;align-items:center;gap:5px;width:100%;display:flex}.meibography-toolbar-top-row .meibography-settings-container{order:3!important}.meibography-toolbar-top-row .meibography-active-target-pill{order:2!important}.meibography-toolbar-top-row .esp32-trigger-btn{order:1!important}#capture-action-controls .meibography-active-target-pill{color:#425466;text-align:center;white-space:nowrap;background:linear-gradient(#f9fbfffa 0%,#ebf1f8fa 100%);border:1px solid #c2cddceb;border-radius:9999px;flex:2;order:2;justify-content:center;align-items:center;max-width:620px;min-height:44px;padding:50px 250px;font-size:13px;font-weight:700;display:flex;box-shadow:0 4px 10px #1a304d14,inset 0 1px #fffffffa;width:auto!important}#capture-action-controls .meibography-settings-container,#review-action-controls .meibography-settings-container{flex-shrink:0;order:1;justify-content:center;align-items:center;display:flex;position:relative;background:linear-gradient(#f9fbfffa 0%,#ebf1f8fa 100%)!important;border:1px solid #c2cddceb!important;border-radius:50%!important;width:24px!important;height:24px!important;min-height:24px!important;padding:4px!important;box-shadow:0 4px 10px #1a304d14,inset 0 1px #fffffffa!important}#review-action-controls .meibography-settings-container{width:36px!important;height:36px!important;min-height:36px!important;padding:2px!important}#capture-action-controls .meibography-settings-trigger,#review-action-controls .meibography-settings-trigger{cursor:pointer;padding:0;transition:transform .2s;width:36px!important;height:36px!important;box-shadow:none!important;background:0 0!important;border:none!important;justify-content:center!important;align-items:center!important;display:inline-flex!important}#review-action-controls .meibography-settings-trigger{width:30px!important;height:30px!important}#capture-action-controls .meibography-settings-trigger:hover,#review-action-controls .meibography-settings-trigger:hover{transform:translateY(-1px)}#capture-action-controls .meibography-settings-trigger:focus-visible,#review-action-controls .meibography-settings-trigger:focus-visible{outline:none}#capture-action-controls .meibography-settings-trigger svg,#review-action-controls .meibography-settings-trigger svg{color:#24465f;width:18px;height:18px}#review-action-controls .meibography-settings-trigger svg{width:16px!important;height:16px!important}#capture-action-controls .meibography-settings-container .meibography-settings-dropdown,#review-action-controls .meibography-settings-container .meibography-settings-dropdown{width:max(280px,min(360px,100vw - 32px))}#capture-action-controls .meibography-camera-device-panel{grid-area:1/3}#capture-action-controls .meibography-capture-segmented-control,#review-action-controls .meibography-review-segmented-control{order:3;width:100%;min-width:0;margin:0 auto;flex:0 auto!important;max-width:680px!important;height:auto!important}#capture-action-controls .meibography-capture-segmented-control .track{grid-template-columns:minmax(140px,1fr) minmax(170px,1.2fr) minmax(140px,1fr);gap:0;overflow:hidden}#capture-action-controls .meibography-capture-segmented-control button,#review-action-controls .meibography-review-segmented-control button{border-radius:9999px;min-height:clamp(38px,5.5vh,56px)!important;box-shadow:none!important;background:0 0!important;border:none!important;padding-inline:clamp(8px,1.6vw,22px)!important}#capture-action-controls .meibography-capture-segmented-control button[aria-checked=true],#review-action-controls .meibography-review-segmented-control button[aria-checked=true]{background:0 0}#capture-action-controls .meibography-capture-camera-trigger{min-height:clamp(38px,5.5vh,56px)!important;box-shadow:none!important;color:#425466!important;letter-spacing:-.01em!important;background:0 0!important;border:none!important;border-radius:9999px!important;padding-inline:clamp(8px,1.6vw,22px)!important;font-size:clamp(10px,1.1vw,14px)!important;font-weight:700!important;transition:color .22s,transform .2s,background-color .22s,opacity .22s!important}#capture-action-controls .meibography-capture-camera-trigger:hover{color:#233447!important;background:#ffffff8c!important;transform:none!important}#capture-action-controls .meibography-capture-camera-trigger:active{transform:scale(.985)!important}#capture-action-controls .meibography-capture-camera-trigger:after{border-color:#425466!important}#capture-action-controls .meibography-capture-camera-panel.is-open .meibography-capture-camera-trigger:after{border-color:#2252e3!important}.meibography-camera-device-panel{align-self:center;width:100%;min-width:0;position:relative}.meibography-camera-device-trigger{color:#24465f;letter-spacing:-.01em;cursor:pointer;background:linear-gradient(#fff 0%,#f4f9fe 100%);border:1px solid #cfdeea;border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;max-width:100%;min-height:46px;padding:0 12px 0 10px;font-size:13px;font-weight:700;transition:border-color .2s,background .2s,box-shadow .2s,transform .2s;display:grid;position:relative;box-shadow:0 12px 24px #426c8d24,inset 0 1px #ffffffe6}.meibography-camera-device-trigger:hover{background:linear-gradient(#fff 0%,#edf6ff 100%);border-color:#b7cee2;transform:translateY(-1px)}.meibography-camera-device-trigger svg{box-sizing:content-box;color:#315d7a;background:linear-gradient(#f7fbff 0%,#e9f2fb 100%);border:1px solid #c8daea;border-radius:8px;flex:0 0 13px;width:13px;height:13px;padding:5px;box-shadow:inset 0 1px #ffffffd9}.meibography-camera-device-trigger span{text-overflow:ellipsis;white-space:nowrap;width:100%;min-width:0;padding-right:0;line-height:1.2;overflow:hidden}.meibography-camera-device-trigger:after{content:"";border-bottom:2px solid #62819a;border-right:2px solid #62819a;width:7px;height:7px;transition:transform .2s,border-color .2s;transform:rotate(45deg)}.meibography-camera-device-trigger:focus-visible{border-color:#7fa4df;outline:none;box-shadow:0 0 0 4px #507cd629,0 12px 24px #426c8d24,inset 0 1px #ffffffe6}.meibography-camera-device-panel.is-open .meibography-camera-device-trigger{background:linear-gradient(#fff 0%,#edf4ff 100%);border-color:#8eaee2;box-shadow:0 0 0 4px #507cd624,0 16px 30px #30527c33}.meibography-camera-device-panel.is-open .meibography-camera-device-trigger:after{border-color:#2d56c9;transform:rotate(-135deg)translateY(-1px)}.meibography-camera-device-popover{z-index:999;overscroll-behavior:contain;background:linear-gradient(#fff 0%,#f6faff 100%);border:1px solid #d1e2ee;border-radius:18px;gap:12px;width:max(100%,min(420px,100vw - 40px));max-height:min(340px,100vh - 120px);padding:14px;display:grid;position:absolute;top:calc(100% + 10px);left:auto;overflow-y:auto;box-shadow:0 20px 36px #1e39592e}.meibography-capture-camera-cell{min-width:0;position:relative;overflow:visible}.meibography-capture-camera-panel{z-index:9;position:relative}.meibography-capture-camera-trigger{color:#24465f;width:100%;min-height:46px;font:inherit;letter-spacing:-.01em;cursor:pointer;background:linear-gradient(#fff 0%,#f4f9fe 100%);border:0;border-radius:14px;justify-content:center;align-items:center;gap:10px;padding:0 18px;font-size:14px;font-weight:700;transition:border-color .2s,background .2s,box-shadow .2s,transform .2s;display:inline-flex;box-shadow:0 12px 24px #426c8d24,inset 0 1px #ffffffe6}.meibography-capture-camera-trigger:hover{background:linear-gradient(#fff 0%,#edf6ff 100%);transform:translateY(-1px)}.meibography-capture-camera-trigger:focus-visible{outline:none;box-shadow:0 0 0 4px #507cd629,0 12px 24px #426c8d24,inset 0 1px #ffffffe6}.meibography-capture-camera-trigger svg{width:16px;height:16px;box-shadow:none;color:#24465f;background:0 0;border:0;border-radius:0;flex:0 0 16px;padding:0}.meibography-capture-camera-trigger span{white-space:nowrap}.meibography-capture-camera-trigger:after{content:"";border-bottom:2px solid #62819a;border-right:2px solid #62819a;width:7px;height:7px;margin-left:2px;transition:transform .2s,border-color .2s;transform:rotate(45deg)}.meibography-capture-camera-panel.is-open .meibography-capture-camera-trigger:after{border-color:#2d56c9;transform:rotate(-135deg)translateY(-1px)}.meibography-camera-device-heading{z-index:1;color:#2f516a;letter-spacing:.01em;background:linear-gradient(#fff 0%,#f6faff 100%);margin:-2px 0 0;padding:2px 2px 0;font-size:14px;font-weight:700;position:sticky;top:0}.meibography-camera-device-options{gap:10px;max-height:none;padding-right:4px;display:grid;overflow:visible}.meibography-camera-device-btn{color:#2d4f66;text-align:left;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;background:linear-gradient(#fff 0%,#f8fbff 100%);border:1px solid #d4e3ee;border-radius:14px;align-items:center;width:100%;min-height:50px;padding:0 14px;font-size:14px;font-weight:700;transition:border-color .2s,background .2s,box-shadow .2s,transform .2s,color .2s;display:flex;overflow:hidden;box-shadow:inset 0 1px #fffc}.meibography-camera-device-btn:hover:not(:disabled):not(.active){background:#f2f8ff;border-color:#bdd3e5;transform:translateY(-1px)}.meibography-camera-device-btn:focus-visible{border-color:#6f99dd;outline:none;box-shadow:0 0 0 3px #5482dc2e}.meibography-camera-device-btn.active{color:#fff;background:linear-gradient(135deg,#2945b9 0%,#4d7bf5 100%);border-color:#2d56d3;box-shadow:0 12px 24px #2563eb3d,inset 0 1px #ffffff38}.meibography-camera-device-btn:disabled{opacity:.6;cursor:not-allowed}.meibography-camera-device-empty{color:#5e7a90;background:#f8fbff;border:1px dashed #c9dceb;border-radius:12px;padding:10px 12px;font-size:13px;line-height:1.45}.meibography-review-segmented-control{flex:720px;min-width:0;max-width:780px}.meibography-tear-segmented-control{flex:520px;max-width:560px}.meibography-blink-segmented-control{flex:860px;max-width:920px}.meibography-review-toolbar:has(.meibography-blink-segmented-control){flex-shrink:0}.meibography-review-toolbar{z-index:6;position:relative;overflow-x:auto}.bulbar-redness-camera-segmented-control .track{overflow:visible}.meibography-blink-camera-cell{z-index:8;width:100%;min-width:0;position:relative;overflow:visible}.meibography-blink-camera-popover{z-index:999;width:min(100%,460px);margin-top:10px}.meibography-blink-segmented-control .track{overflow:visible}.meibography-blink-camera-panel{z-index:9;position:relative}.meibography-blink-camera-trigger{color:#425466;width:100%;min-height:60px;font:inherit;letter-spacing:-.01em;cursor:pointer;background:0 0;border:0;border-radius:9999px;justify-content:center;align-items:center;gap:10px;padding:0 24px;font-size:15px;font-weight:700;transition:color .22s,transform .2s,background-color .22s,opacity .22s;display:inline-flex}.meibography-blink-camera-trigger:hover{color:#233447;background:#ffffff8c}.meibography-blink-camera-trigger:active{transform:scale(.985)}.meibography-blink-camera-trigger:focus-visible{outline:none;box-shadow:0 0 0 4px #4072ff2e}.meibography-blink-camera-trigger svg{width:19px;height:19px;box-shadow:none;color:currentColor;background:0 0;border:0;border-radius:0;flex:0 0 19px;padding:0}.meibography-blink-camera-trigger span{white-space:nowrap}.meibography-blink-camera-trigger:after{content:"";border-bottom:2px solid;border-right:2px solid;width:7px;height:7px;transition:transform .2s,border-color .2s;transform:rotate(45deg)}.meibography-blink-camera-panel.is-open .meibography-blink-camera-trigger:after{transform:rotate(-135deg)translateY(-1px)}.meibography-camera-selector-cell{z-index:2;min-width:0;position:relative;overflow:visible}.bulbar-redness-camera-trigger{color:#425466;width:100%;min-height:60px;font:inherit;letter-spacing:-.01em;cursor:pointer;background:0 0;border:0;border-radius:9999px;justify-content:center;align-items:center;gap:10px;padding:0 24px;font-size:15px;font-weight:700;transition:color .22s,transform .2s,background-color .22s,opacity .22s;display:inline-flex}.bulbar-redness-camera-trigger:hover{color:#233447;background:#ffffff8c}.bulbar-redness-camera-trigger:active{transform:scale(.985)}.bulbar-redness-camera-trigger:focus-visible{outline:none;box-shadow:0 0 0 4px #4072ff2e}.bulbar-redness-camera-trigger svg{width:19px;height:19px;box-shadow:none;color:currentColor;background:0 0;border:0;border-radius:0;flex:0 0 19px;padding:0}.bulbar-redness-camera-trigger span{white-space:nowrap}.bulbar-redness-camera-trigger:after{content:"";border-bottom:2px solid;border-right:2px solid;width:7px;height:7px;transition:transform .2s,border-color .2s;transform:rotate(45deg)}.bulbar-redness-camera-panel.is-open .bulbar-redness-camera-trigger:after{transform:rotate(-135deg)translateY(-1px)}.bulbar-redness-camera-selector-row{justify-content:center;width:100%;display:flex}.bulbar-redness-camera-panel{width:min(100%,520px)}.meibography-review-button-group{background:var(--brand-gradient);border:1px solid #7cbae375;border-radius:0;flex-wrap:nowrap;justify-content:center;align-items:stretch;display:inline-flex;overflow:hidden;box-shadow:0 10px 24px #4974992e}.meibography-review-button-divider{background:#fffffff2;flex:0 0 2px;align-self:stretch;width:2px}.meibography-review-button-group>.meibography-review-btn,.meibography-review-button-group>.meibography-capture-btn-overlay,.meibography-review-button-group>.meibography-manual-btn-overlay{color:#fff;min-width:190px;min-height:52px;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0 28px;position:relative}.meibography-review-button-group>.meibography-review-btn:hover,.meibography-review-button-group>.meibography-capture-btn-overlay:hover,.meibography-review-button-group>.meibography-manual-btn-overlay:hover,.meibography-review-button-group>.meibography-manual-btn-overlay.active{color:#2048b8;box-shadow:none;background:#fff;transform:none}.meibography-review-button-group>.meibography-review-btn:disabled,.meibography-review-button-group>.meibography-capture-btn-overlay:disabled,.meibography-review-button-group>.meibography-manual-btn-overlay:disabled{opacity:.72;cursor:not-allowed}.meibography-bottom-toolbar{z-index:140;scrollbar-width:none;background:#ffffffeb;border:1px solid #c4d3ded9;border-radius:0 0 20px 20px;flex-wrap:nowrap;justify-content:center;align-self:center;width:min(100%,1100px);margin-top:-1px;padding:14px 18px 18px;position:sticky;bottom:0;overflow-x:auto;box-shadow:0 20px 36px #1430471f}.meibography-bottom-toolbar.menu-open,.meibography-action-toolbar.menu-open,.meibography-review-toolbar.menu-open{overflow:visible!important}.meibography-bottom-toolbar::-webkit-scrollbar{display:none}.meibography-analysis-preview-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:min(100%,760px);margin-top:12px;display:grid}.tear-meniscus-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,380px);margin-left:auto;margin-right:auto}.meibography-process-log-panel{background:#f7fbff;border:1px solid #d7e5ef;border-radius:14px;width:min(100%,760px);margin-top:10px;box-shadow:0 8px 20px #14304714}.meibography-process-log-header{border-bottom:1px solid #dce8f2;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.meibography-process-log-title{color:#2a4f69;font-size:12px;font-weight:700}.meibography-process-log-retry-btn{color:#1f5b83;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #b7cfe0;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:700;transition:all .18s}.meibography-process-log-retry-btn:hover:not(:disabled){background:#eff7ff;border-color:#91bad5}.meibography-process-log-retry-btn:disabled{opacity:.64;cursor:not-allowed}.meibography-process-log-list{max-height:160px;padding:8px 10px;overflow-y:auto}.meibography-process-log-item{align-items:flex-start;gap:8px;padding:4px 0;font-size:12px;line-height:1.4;display:flex}.meibography-process-log-item.is-info{color:#35566f}.meibography-process-log-item.is-error{color:#9e2a2b}.meibography-process-log-time{color:#5d7487;min-width:72px;font-weight:600}.meibography-process-log-message{flex:1}.meibography-workflow-status{background:linear-gradient(#fff 0%,#f5fbff 100%);border:1px solid #d7e5ef;border-radius:16px;width:min(100%,560px);margin-top:12px;padding:14px 16px;box-shadow:0 10px 22px #14304714}.meibography-workflow-status.detecting-eyelid,.meibography-workflow-status.detecting-glands,.meibography-workflow-status.analyzing-results,.meibography-workflow-status.auto-enhancing{background:linear-gradient(#fafdff 0%,#edf7ff 100%);border-color:#b9d9ef}.meibography-workflow-status.complete,.meibography-workflow-status.ready{background:linear-gradient(#fbfffd 0%,#eefbf4 100%);border-color:#cfe4d6}.meibography-workflow-status-label{color:#234e70;font-size:13px;font-weight:800}.meibography-workflow-status-detail{color:#5d7487;margin-top:4px;font-size:12px;line-height:1.5}.meibography-analysis-preview-card{appearance:none;text-align:left;cursor:zoom-in;background:linear-gradient(#fafdff 0%,#edf6fd 100%);border:1px solid #d7e5f0;border-radius:18px;padding:0;transition:transform .18s,box-shadow .18s,border-color .18s;overflow:hidden;box-shadow:0 12px 26px #14304714}.meibography-analysis-preview-card:hover{transform:translateY(-1px);box-shadow:0 14px 28px #1430471a}.meibography-analysis-preview-card.is-active{border-color:#5fa8dd;box-shadow:0 0 0 2px #5fa8dd2e,0 18px 32px #36648b29}.meibography-analysis-preview-card.is-complete{border-color:#9ac7a3}.meibography-analysis-preview-card.is-pending{opacity:.92}.meibography-analysis-preview-title{color:#35566f;border-bottom:1px solid #dce8f2;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:11px;font-weight:700;display:flex}.meibography-analysis-preview-badge{letter-spacing:.04em;text-transform:uppercase;color:#5d7487;background:#e2ebf2;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800}.meibography-analysis-preview-badge.is-active{color:#1d5f8f;background:#dff0ff}.meibography-analysis-preview-badge.is-complete{color:#2d6d39;background:#e3f4e5}.meibography-analysis-preview-badge.is-pending{color:#70879a;background:#eef3f7}.meibography-analysis-preview-image{object-fit:contain;background:radial-gradient(circle at top,#eef7ff 0%,#d9e7f2 100%);width:100%;height:132px;padding:8px;display:block}.meibography-analysis-modal{z-index:2000;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#08141fc7;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.meibography-analysis-modal-dialog{background:#f8fcff;border-radius:24px;flex-direction:column;gap:12px;width:min(100%,980px);max-height:calc(100vh - 48px);padding:18px;display:flex;box-shadow:0 28px 56px #06172352}.meibography-analysis-modal-close{color:#234e70;cursor:pointer;background:#fff;border:1px solid #c8d8e4;border-radius:999px;align-self:flex-end;padding:8px 14px;font-size:12px;font-weight:700}.meibography-analysis-modal-title{color:#234e70;font-size:14px;font-weight:800}.meibography-analysis-modal-image{object-fit:contain;background:#dbe8f2;border-radius:18px;width:100%;max-height:calc(100vh - 180px)}.meibography-brand{align-items:center;gap:12px;display:flex}.meibography-logo{object-fit:contain;width:46px;height:32px;margin-right:12px;display:block}.meibography-brand-name{color:var(--text);letter-spacing:.06em;font-size:18px;font-weight:700}.meibography-brand-copy{align-items:center;gap:12px;display:flex}.meibography-brand-chip{background:rgba(var(--accent-rgb), .08);color:var(--accent-strong);letter-spacing:.05em;text-transform:uppercase;border-radius:999px;align-items:center;padding:7px 12px;font-size:12px;font-weight:700;display:inline-flex}.meibography-user-section{align-items:center;gap:16px;display:flex}.meibography-bell-icon{width:24px;height:24px;color:var(--text-soft);cursor:pointer;transition:color .2s}.meibography-bell-icon:hover{color:var(--accent-strong)}.meibography-user-avatar{background:var(--brand-gradient);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:13px;font-weight:700;display:inline-flex}.meibography-greeting{color:var(--text-soft);font-size:14px;font-weight:600}.meibography-settings-container{align-items:center;display:flex;position:relative}.meibography-settings-icon{color:#6b7280;cursor:pointer;width:24px;height:24px;transition:color .2s}.meibography-settings-icon:hover{color:#374151}.meibography-settings-dropdown{z-index:1000;background:#fff;border:1px solid #e5e7eb;border-radius:8px;min-width:280px;animation:.3s ease-out slideInUp;position:absolute;top:100%;right:0;box-shadow:0 10px 25px #00000026}.meibography-settings-header{background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:16px 20px 12px}.meibography-image-adjustment-actions{justify-content:flex-end;margin-top:16px;display:flex}.meibography-image-adjustment-reset{color:#2f516a;cursor:pointer;background:linear-gradient(#fff 0%,#eef5fb 100%);border:1px solid #c7d8ea;border-radius:999px;align-items:center;gap:8px;min-height:36px;padding:0 12px;font-size:12px;font-weight:700;display:inline-flex}.meibography-image-adjustment-reset svg{width:14px;height:14px}.meibography-image-adjustment-reset:hover{filter:brightness(.98)}.meibography-image-adjustment-reset:focus-visible{outline:none;box-shadow:0 0 0 4px #507cd629}.meibography-setting-value{color:#6b7280;text-align:center;min-width:30px;font-size:13px}.meibography-setting-slider{appearance:none;cursor:pointer;background:#e5e7eb;border-radius:3px;outline:none;width:120px;height:6px}.meibography-setting-slider::-webkit-slider-thumb{appearance:none;cursor:pointer;background:#3b82f6;border:2px solid #fff;border-radius:50%;width:16px;height:16px;transition:transform .1s,background-color .1s;box-shadow:0 1px 3px #0000004d}.meibography-setting-slider::-webkit-slider-thumb:hover{background:#1d4ed8;transform:scale(1.15)}.meibography-setting-slider::-moz-range-thumb{cursor:pointer;background:#3b82f6;border:2px solid #fff;border-radius:50%;width:14px;height:14px;transition:transform .1s,background-color .1s;box-shadow:0 1px 3px #0000004d}.meibography-setting-slider::-moz-range-thumb:hover{background:#1d4ed8;transform:scale(1.15)}.meibography-content{flex:1;width:100%;max-width:100%;height:100%;padding:0;position:relative;overflow:hidden}.meibography-live-workspace{flex-direction:column;justify-content:flex-start;align-items:center;gap:0;display:flex;overflow:visible}.meibography-camera-eye-selector{z-index:130;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0a182461;border:1px solid #a8c3d847;border-radius:22px;width:min(100% - 120px,420px);padding:10px;position:absolute;top:18px;left:50%;transform:translate(-50%);box-shadow:0 18px 30px #030c1347}.meibography-camera-container-full{background:linear-gradient(#122231 0%,#08141f 100%);border-radius:28px;width:min(100%,1100px);height:clamp(360px,62vh,680px);min-height:0;position:relative;overflow:hidden;box-shadow:0 24px 48px #0617233d}.meibography-camera-preview-full{border-radius:28px;flex-direction:column;width:100%;height:100%;display:flex;position:relative;overflow:hidden}.meibography-review-stage,.tear-meniscus-review-stage{transform-origin:50%;border-radius:inherit;flex:1;width:100%;min-height:0;position:relative;overflow:hidden}.meibography-camera-img-full{object-fit:cover;border-radius:inherit;width:100%;height:100%}.meibography-review-image{object-fit:contain;background:#08141f}.meibography-tear-zoom-controls{z-index:120;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0b1a26c7;border:1px solid #94a3b847;border-radius:16px;align-items:center;gap:10px;padding:10px 12px;display:inline-flex;position:absolute;top:18px;right:18px;box-shadow:0 14px 28px #030c1342}.meibography-tear-zoom-btn{color:#eff6fb;cursor:pointer;background:#ffffff14;border:1px solid #97cdee3d;border-radius:12px;justify-content:center;align-items:center;width:38px;height:38px;transition:background .2s,border-color .2s,transform .2s,opacity .2s;display:inline-flex}.meibography-tear-zoom-btn:hover{background:#5fa5d72e;border-color:#97cdee66;transform:translateY(-1px)}.meibography-tear-zoom-btn:disabled{opacity:.45;cursor:not-allowed;transform:none}.meibography-tear-zoom-btn svg{width:17px;height:17px}.meibography-tear-zoom-value{text-align:center;color:#f8fbfd;letter-spacing:.04em;min-width:56px;font-size:13px;font-weight:700}.meibography-overlay-controls{z-index:100;align-items:center;gap:16px;display:flex;position:absolute;bottom:80px;left:50%;transform:translate(-50%)}.meibography-camera-btn-overlay{color:var(--brand-deeper);cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#cdd8fff0;border:1px solid #adbeff8c;border-radius:8px;align-items:center;gap:8px;padding:12px 20px;font-size:14px;font-weight:500;transition:all .2s;display:flex;box-shadow:0 4px 12px #0003}.meibography-camera-btn-overlay:hover{background:#4286b6f5;border-color:#97cdee8c;transform:translateY(-2px);box-shadow:0 6px 16px #0000004d}.meibography-camera-btn-overlay:disabled{opacity:.65;cursor:not-allowed;box-shadow:none;transform:none}.meibography-capture-btn-overlay{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border:1px solid #ffffff4d;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:12px 20px;font-size:14px;font-weight:500;transition:all .2s;display:flex;box-shadow:0 4px 12px #0003}.meibography-capture-btn-overlay svg{flex:none;position:static;top:auto;left:auto;transform:none}.meibography-capture-btn-overlay span{text-align:left;flex:0 auto;width:auto;display:inline-block}.meibography-capture-btn-overlay:hover{background:#fff3;border-color:#ffffff80;transform:translateY(-2px);box-shadow:0 6px 16px #0000004d}.meibography-manual-btn-overlay{background:var(--brand-gradient);color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid #7cbae375;border-radius:8px;align-items:center;gap:8px;padding:12px 16px;font-size:14px;font-weight:500;transition:all .2s;display:flex;box-shadow:0 4px 12px #0003}.meibography-manual-btn-overlay:hover{background:var(--brand-gradient-hover);border-color:#7cbae3ad;transform:translateY(-2px);box-shadow:0 6px 16px #0000004d}.manual-toggle-icon{width:32px;height:16px;position:relative}.toggle-switch{background:#ffffff4d;border-radius:7px;width:28px;height:14px;transition:all .3s;position:relative}.toggle-switch:after{content:"";background:#fff;border-radius:50%;width:10px;height:10px;transition:all .3s;position:absolute;top:2px;left:2px}.toggle-switch.active{background:#2563eb99}.toggle-switch.active:after{left:16px}.meibography-settings-dropdown-inline{z-index:1000;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:1px solid #ffffff4d;border-radius:8px;min-width:280px;animation:.3s ease-out slideInUp;position:absolute;top:60px;right:0;box-shadow:0 10px 25px #0000004d}.meibography-settings-header{border-bottom:1px solid #0000001a;padding:16px 16px 8px}.meibography-settings-header h4{color:#1f2937;margin:0;font-size:16px;font-weight:600}.meibography-settings-content{padding:16px}.meibography-setting-item{margin-bottom:20px}.meibography-setting-item:last-child{margin-bottom:0}.meibography-setting-label{color:#374151;align-items:center;gap:8px;margin-bottom:8px;font-size:14px;font-weight:500;display:flex}.meibography-setting-control{align-items:center;gap:12px;display:flex}.meibography-setting-value{color:#6b7280;text-align:right;min-width:40px;font-size:14px;font-weight:500}.meibography-setting-slider{-webkit-appearance:none;cursor:pointer;background:#e5e7eb;border-radius:3px;outline:none;flex:1;height:6px}.meibography-setting-slider::-webkit-slider-thumb{-webkit-appearance:none;cursor:pointer;background:#3b82f6;border-radius:50%;width:16px;height:16px;box-shadow:0 2px 4px #0003}.meibography-setting-slider::-moz-range-thumb{cursor:pointer;background:#3b82f6;border:none;border-radius:50%;width:16px;height:16px;box-shadow:0 2px 4px #0003}.meibography-eye-tabs{justify-content:center;margin-bottom:24px;display:flex}.meibography-eye-tabs-container{background:#f3f4f6;border-radius:12px;padding:4px;display:inline-flex}.meibography-eye-tab{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:8px 24px;font-size:14px;font-weight:500;transition:all .2s}.meibography-eye-tab:hover{color:#374151}.meibography-eye-tab.active{color:#2563eb;background:#fff;box-shadow:0 1px 3px #0000001a}.meibography-eye-status{font-weight:400}.meibography-status-pending{color:#f59e0b}.meibography-status-completed{color:#10b981}.meibography-camera-controls{justify-content:center;align-items:center;gap:32px;margin-bottom:24px;display:flex}.meibography-control-group{align-items:center;gap:12px;display:flex}.meibography-control-label{color:#374151;align-items:center;gap:8px;font-size:14px;display:flex}.meibography-slider{appearance:none;cursor:pointer;background:#e5e7eb;border-radius:3px;outline:none;width:96px;height:6px}.meibography-slider::-webkit-slider-thumb{-webkit-appearance:none;cursor:pointer;background:#ef4444;border:2px solid #fff;border-radius:50%;width:16px;height:16px;box-shadow:0 2px 4px #0003}.meibography-slider::-moz-range-thumb{cursor:pointer;background:#ef4444;border:2px solid #fff;border-radius:50%;width:16px;height:16px;box-shadow:0 2px 4px #0003}.meibography-lid-toggle{background:#f3f4f6;border-radius:20px;padding:2px;display:flex}.meibography-lid-btn{cursor:pointer;border:none;border-radius:16px;padding:6px 16px;font-size:13px;font-weight:500;transition:all .2s}.meibography-lid-btn:not(.active){color:#6b7280;background:0 0}.meibography-lid-btn.active{color:#fff;background:#2563eb}.meibography-action-buttons{gap:12px;display:flex}.meibography-capture-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;align-items:center;gap:8px;padding:10px 20px;font-size:14px;font-weight:500;transition:background-color .2s;display:flex}.meibography-capture-btn:hover{background:#1d4ed8}.meibography-manual-btn{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;align-items:center;gap:8px;padding:10px 16px;font-size:14px;font-weight:500;transition:all .2s;display:flex}.meibography-manual-btn:hover{background:#f9fafb;border-color:#9ca3af}.meibography-camera-container{justify-content:center;width:100%;display:flex}.meibography-camera-preview{background:#000;border-radius:12px;width:640px;height:480px;position:relative;overflow:hidden;box-shadow:0 10px 25px #00000026}.meibography-camera-img{object-fit:cover;width:100%;height:100%}.meibography-camera-brackets{border:2px solid #fff;width:24px;height:24px;position:absolute}.meibography-bracket-tl{border-bottom:none;border-right:none;top:16px;left:16px}.meibography-bracket-tr{border-bottom:none;border-left:none;top:16px;right:16px}.meibography-bracket-bl{border-top:none;border-right:none;bottom:16px;left:16px}.meibography-bracket-br{border-top:none;border-left:none;bottom:16px;right:16px}.meibography-toast{text-align:center;pointer-events:none;color:#fff;z-index:10000;background:#111827;border-radius:8px;max-width:min(90vw,480px);padding:12px 20px;font-size:14px;font-weight:500;animation:.3s ease-out slideInUp;position:fixed;bottom:24px;left:50%;right:auto;transform:translate(-50%);box-shadow:0 10px 25px #0003}@keyframes slideInUp{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}.wrong-lid-warning-popup{z-index:10100;pointer-events:auto;background:linear-gradient(135deg,#fff7ed 0%,#fff3e0 100%);border:1.5px solid #f59e0b;border-radius:14px;align-items:flex-start;gap:10px;max-width:min(90vw,380px);padding:14px 16px;animation:.35s cubic-bezier(.22,1,.36,1) wrongLidSlideIn;display:flex;position:fixed;top:20px;right:20px;box-shadow:0 8px 28px #f59e0b38,0 2px 8px #00000014}@keyframes wrongLidSlideIn{0%{opacity:0;transform:translate(60px)scale(.95)}to{opacity:1;transform:translate(0)scale(1)}}.wrong-lid-warning-icon{color:#d97706;flex-shrink:0;margin-top:1px;font-size:20px;line-height:1}.wrong-lid-warning-body{flex:1;min-width:0}.wrong-lid-warning-title{color:#92400e;letter-spacing:.01em;margin-bottom:3px;font-size:13px;font-weight:800}.wrong-lid-warning-message{color:#78350f;font-size:12.5px;font-weight:500;line-height:1.5}.wrong-lid-warning-close{cursor:pointer;color:#b45309;background:0 0;border:none;border-radius:6px;flex-shrink:0;padding:2px 4px;font-size:13px;line-height:1;transition:background .15s,color .15s}.wrong-lid-warning-close:hover{color:#92400e;background:#f59e0b2e}.meibography-additional-controls{gap:24px;width:100%;margin-top:24px;display:flex}.meibography-section-title{color:#111827;margin:0 0 16px;font-size:16px;font-weight:600}.meibography-capture-history{background:#fff;border-radius:12px;flex:1;width:100%;padding:20px;box-shadow:0 4px 12px #0000000d}.meibography-capture-item{background:#fff;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:8px;padding:12px;transition:all .2s}.meibography-capture-item:hover{transform:translateY(-2px);box-shadow:0 2px 8px #0000001a}.meibography-capture-info{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.meibography-capture-meta{gap:8px;font-size:12px;display:flex}.meibography-capture-eye{color:#fff;background:#2563eb;border-radius:4px;padding:2px 6px;font-weight:500}.meibography-capture-lid{color:#fff;background:#6b7280;border-radius:4px;padding:2px 6px;font-weight:500}.meibography-capture-time,.meibography-capture-settings{color:#6b7280;font-size:11px}.meibography-capture-settings span{margin-right:12px}.ocular-analysis-panel{-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#94a3b866 transparent;background:#f7f8fb;border-left:1px solid #e5e7eb;flex-direction:column;width:340px;height:100%;max-height:100%;padding:12px;display:flex;overflow:hidden auto}.ocular-analysis-panel::-webkit-scrollbar{width:5px;display:block}.ocular-analysis-panel::-webkit-scrollbar-track{background:0 0}.ocular-analysis-panel::-webkit-scrollbar-thumb{background:#94a3b866;border-radius:4px}.ocular-header{text-align:center;margin-bottom:16px}.ocular-title{color:#111827;margin:0 0 4px;font-size:18px;font-weight:700}.ocular-subtitle{color:#6b7280;margin:0;font-size:12px}.ocular-content{flex-direction:column;flex:1;gap:16px;display:flex}.ocular-eye-section{background:#fff;border-radius:12px;padding:12px;box-shadow:0 2px 8px #0000000d}.ocular-eye-header{border-bottom:1px solid #f3f4f6;align-items:center;gap:8px;margin-bottom:12px;padding-bottom:8px;display:flex}.ocular-eye-toggle{cursor:pointer;text-align:left;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:8px;width:100%;margin-bottom:12px;padding:10px 12px;transition:all .2s;display:flex}.ocular-eye-toggle:hover{background:#f1f5f9;border-color:#cbd5e1;transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.ocular-eye-toggle.ocular-eye-selected{background:#eff6ff;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.ocular-eye-icon{color:#6b7280;flex-shrink:0;width:18px;height:18px}.ocular-eye-title{color:#111827;font-size:14px;font-weight:600}.ocular-status-tiles{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px;display:grid}.ocular-status-tile{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:8px}.ocular-status-button{cursor:pointer;text-align:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;justify-content:center;align-items:center;width:100%;min-height:44px;padding:10px 8px;transition:all .2s;display:flex}.ocular-status-button:hover{background:#f1f5f9;border-color:#cbd5e1;transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.ocular-status-button.ocular-status-selected{background:#eff6ff;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.ocular-status-title{color:#374151;text-align:center;font-size:14px;font-weight:600}.ocular-status-label{color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px;font-size:11px;font-weight:500}.ocular-status-content{justify-content:space-between;align-items:center;display:flex}.ocular-status-value{color:#111827;font-size:14px;font-weight:600}.ocular-status-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.ocular-status-blue{background:#2563eb}.ocular-status-green{background:#10b981}.ocular-images-section{margin-top:16px}.ocular-images-label{color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin-bottom:12px;font-size:11px;font-weight:500}.ocular-images-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.ocular-image-item{flex-direction:column;align-items:center;gap:6px;display:flex}.ocular-image-thumbnail{background:#f9fafb;border:2px dashed #d1d5db;border-radius:8px;justify-content:center;align-items:center;width:120px;height:120px;display:flex;overflow:hidden}.ocular-image-img{object-fit:cover;width:100%;height:100%}.ocular-image-caption{color:#6b7280;text-align:center;font-size:12px}.ocular-footer{border-top:1px solid #e5e7eb;justify-content:space-between;align-items:center;margin-top:auto;padding:16px 0;display:flex}.ocular-status-left{align-items:center;display:flex}.ocular-status-right{align-items:center;gap:6px;display:flex}.ocular-status-text{color:#6b7280;text-transform:uppercase;letter-spacing:.5px;font-size:12px;font-weight:500}.ocular-status-online{color:#10b981}.meibography-layout-wrapper{flex-direction:column;width:100%;height:100dvh;min-height:100dvh;display:flex;overflow:hidden}.meibography-container{height:calc(100vh - var(--header-height));height:calc(100dvh - var(--header-height));margin-top:var(--header-height);background:linear-gradient(#f8fcff 0%,#eef6fb 100%);flex-direction:row;width:100%;display:flex;overflow:hidden}.meibography-container.meibography-container-no-side-panel{flex-direction:row;display:flex}.meibography-workspace-scrollable{flex-direction:row;flex:1;align-items:stretch;min-width:0;height:100%;display:flex;overflow:hidden}.ocular-panel-wrapper{flex-direction:row;align-items:stretch;height:100%;max-height:100%;transition:width .3s;display:flex;position:relative;overflow:hidden}.ocular-panel-wrapper--open{width:340px;min-width:340px}.ocular-panel-wrapper--closed{width:36px;min-width:36px}.ocular-panel-toggle-btn{z-index:10;color:#fff;cursor:pointer;background:linear-gradient(135deg,#3b82f6 0%,#6366f1 100%);border:none;border-radius:0 10px 10px 0;justify-content:center;align-items:center;width:28px;height:52px;padding:0;transition:background .2s,box-shadow .2s,transform .15s;display:flex;position:absolute;top:50%;left:0;transform:translateY(-50%);box-shadow:2px 2px 8px #6366f166}.ocular-panel-toggle-btn:hover{background:linear-gradient(135deg,#2563eb 0%,#4f46e5 100%);transform:translateY(-50%)scale(1.07);box-shadow:2px 4px 14px #6366f18c}.ocular-panel-toggle-btn:active{transform:translateY(-50%)scale(.96)}.ocular-panel-toggle-icon{transition:transform .3s;transform:rotate(180deg)}.ocular-panel-toggle-icon--open{transform:rotate(0)}.meibography-main{-webkit-overflow-scrolling:touch;flex-direction:column;flex:1;min-width:0;height:100%;max-height:100%;padding:16px;display:flex;overflow:hidden auto}.meibography-main:has(.blink-rate-test-shell){padding:0;overflow:hidden}@media (width<=1024px){.meibography-container{grid-template-rows:auto 1fr auto;grid-template-columns:1fr}.meibography-sidebar{border-bottom:1px solid #e5e7eb;border-right:none;width:100%;height:auto}.ocular-analysis-panel{border-top:1px solid #e5e7eb;border-left:none;width:100%;height:auto}.meibography-camera-controls{flex-wrap:wrap;gap:16px}.meibography-camera-preview{width:100%;max-width:480px;height:360px}.meibography-additional-controls{flex-direction:column;gap:16px}.meibography-top-header{flex-wrap:wrap;gap:14px}.meibography-live-workspace{padding:12px 0}.meibography-camera-container-full{height:clamp(320px,54vh,520px)}.meibography-analysis-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.meibography-header-title{align-items:flex-start}.meibography-title{font-size:24px}.meibography-brand-copy{flex-direction:column;align-items:flex-start;gap:8px}.meibography-user-section{justify-content:flex-start;width:100%}.meibography-camera-controls{flex-direction:column;align-items:stretch}.meibography-control-group{justify-content:space-between}.meibography-action-buttons{justify-content:center}.meibography-additional-controls{margin-top:16px}}.meibography-camera-error{z-index:120;color:#fff;text-align:center;white-space:nowrap;pointer-events:none;background:#b91c1cf2;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:600;position:absolute;top:16px;left:50%;transform:translate(-50%);box-shadow:0 4px 12px #00000040}.meibography-overlay-controls{flex-wrap:wrap;justify-content:center;width:min(1100px,100% - 32px)}.meibography-selection-controls{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#00000073;border:1px solid #ffffff40;border-radius:10px;align-items:center;gap:8px;padding:8px 10px;display:flex}.meibography-selection-label{color:#fff;text-transform:uppercase;letter-spacing:.4px;font-size:12px;font-weight:700}.meibography-selection-buttons{gap:6px;display:flex}.meibography-selection-btn{color:#fff;cursor:pointer;background:#ffffff1f;border:1px solid #ffffff59;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:600;transition:background-color .2s,border-color .2s}.meibography-selection-btn:hover{background:#fff3}.meibography-selection-btn.active{background:#2563ebcc;border-color:#93c5fde6}.meibography-review-controls{z-index:120;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0d1e2ea3;border:1px solid #9ac6e23d;border-radius:14px;gap:12px;padding:12px;display:flex;position:absolute;bottom:40px;left:50%;transform:translate(-50%)}.meibography-auto-enhance-toggle{color:#e2e8f0;background:#0f172abf;border:1px solid #94a3b873;border-radius:8px;align-items:center;gap:8px;padding:10px 12px;font-size:12px;font-weight:600;display:inline-flex}.meibography-auto-enhance-toggle input{accent-color:#38bdf8}.meibography-review-btn{color:#fff;cursor:pointer;border:none;border-radius:8px;padding:10px 18px;font-size:14px;font-weight:600}.meibography-review-btn.delete,.meibography-review-btn.analyze,.meibography-review-btn.save{background:var(--brand-gradient)}@media (width<=1100px){.meibography-selection-controls{justify-content:space-between;width:100%}.meibography-selection-buttons{flex-wrap:wrap;justify-content:flex-end}}.meibography-active-target-pill{color:#234e70;letter-spacing:.2px;background:linear-gradient(#fff 0%,#f7fbfe 100%);border:1px solid #d9e7f1;border-radius:18px;align-items:center;min-height:54px;padding:14px 18px;font-size:13px;font-weight:700;display:flex;box-shadow:0 10px 22px #6299c21f}.meibography-preview-overlay{position:absolute;inset:0}.meibography-annotation-layer{z-index:90;cursor:crosshair;position:absolute;inset:0}.meibography-annotation-svg{width:100%;height:100%;display:block}.meibography-annotation-hint{color:#e2e8f0;pointer-events:none;white-space:nowrap;background:#0f172ab8;border:1px solid #94a3b873;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:600;position:absolute;top:14px;left:50%;transform:translate(-50%)}.ocular-content{gap:14px}.ocular-eye-selector{grid-template-columns:1fr 1fr;gap:12px;display:grid}.ocular-eye-selector-btn{color:#1e40af;cursor:pointer;background:#fff;border:1.5px solid #2563eb;border-radius:16px;justify-content:center;align-items:center;gap:10px;width:100%;padding:14px;font-size:15px;font-weight:700;transition:all .2s;display:flex;box-shadow:0 4px 12px #2563eb14}.ocular-eye-selector-btn:hover{color:#1d4ed8;background:#f0f6ff;border-color:#1d4ed8}.ocular-eye-selector-btn.active{color:#fff;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);border-color:#1d4ed8;box-shadow:0 6px 16px #2563eb40}.ocular-active-eye-card{background:linear-gradient(#fff 0%,#f8fcff 100%);border:1px solid #dce8f2;border-radius:22px;padding:18px;box-shadow:0 14px 30px #4974991a}.ocular-active-eye-header{align-items:center;gap:10px;margin-bottom:16px;display:flex}.ocular-lid-controls{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px;display:grid}.ocular-lid-btn{color:#2f4b61;letter-spacing:.08em;cursor:pointer;background:#fff;border:1px solid #dce8f2;border-radius:18px;width:100%;min-height:70px;font-size:14px;font-weight:700;transition:all .2s;box-shadow:inset 0 1px #ffffffe6}.ocular-lid-btn:hover{background:#f6fbfe;border-color:#c8deed}.ocular-lid-btn.active{color:#225f88;background:linear-gradient(135deg,#edf7ff,#f8fcff);border-color:#5fa5d7;box-shadow:0 10px 20px #6299c229}.ocular-images-grid{grid-template-columns:1fr 1fr}.ocular-image-thumbnail{aspect-ratio:1;border-radius:10px;width:100%;height:auto}.ocular-image-caption{color:#527089;font-size:14px;font-weight:500}@media (width<=1024px){.meibography-active-target-pill{justify-content:center;width:100%}}.meibography-overlay-controls{bottom:max(30px, calc(env(safe-area-inset-bottom) + 6px));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0d1e2e9e;border:1px solid #9ac6e23d;border-radius:14px;gap:10px;padding:12px;box-shadow:0 10px 24px #02061759}.meibography-active-target-pill{color:#234e70;white-space:nowrap;background:#fff;border-color:#d7e8f3;border-radius:14px;flex:none;min-width:auto;min-height:40px;padding:8px 14px;font-size:11px;box-shadow:0 8px 18px #6299c21a}.meibography-camera-btn-overlay,.meibography-capture-btn-overlay,.meibography-manual-btn-overlay{letter-spacing:0;white-space:nowrap;border-radius:14px;flex:none;min-height:46px;padding:0 18px;font-weight:700;box-shadow:0 8px 18px #49749924}.meibography-camera-btn-overlay{background:var(--brand-soft-gradient-strong);border-color:#85bfe6a3}.meibography-camera-btn-overlay:hover{background:var(--brand-soft-gradient);color:var(--accent-strong);border-color:#85bfe6cc}.meibography-capture-btn-overlay{background:var(--brand-gradient);border-color:#7cbae3a3}.meibography-capture-btn-overlay:hover{background:var(--brand-gradient-hover);color:#fff;border-color:#7cbae3d1}.meibography-manual-btn-overlay{background:var(--brand-gradient);border-color:#6d96b561}.meibography-manual-btn-overlay:hover{background:var(--brand-gradient-hover);color:#fff;border-color:#6d96b58f}.meibography-manual-btn-overlay.active{background:var(--brand-gradient);border-color:#97cdeeb8}.meibography-review-controls{bottom:max(30px, calc(env(safe-area-inset-bottom) + 6px));background:#0d1e2e9e;border:1px solid #9ac6e23d;border-radius:14px;gap:10px;padding:12px}.meibography-auto-enhance-toggle{min-height:42px}.meibography-review-btn{letter-spacing:.2px;border-radius:10px;min-width:120px;min-height:42px;font-weight:700;transition:transform .2s,box-shadow .2s}.meibography-review-btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px #0206174d}.ocular-analysis-panel{background:linear-gradient(#f8fcff 0%,#eef6fb 100%);padding:20px 18px}.ocular-active-eye-card{border-color:#dce8f2;box-shadow:0 16px 34px #4974991a}.ocular-eye-selector-btn{min-height:54px}.ocular-images-label,.ocular-analysis-label{color:#6d879a;letter-spacing:.8px;text-transform:uppercase;font-size:12px;font-weight:700}.ocular-image-thumbnail{background:linear-gradient(#fafdff 0%,#f1f8fc 100%);border-width:1.5px;border-color:#d2e1ec;box-shadow:inset 0 1px #ffffffeb}.ocular-image-thumbnail.is-empty{border-style:dashed}.ocular-empty-placeholder{color:#91a6b6;font-size:14px;font-weight:600}.ocular-analysis-section{background:linear-gradient(#fff 0%,#f7fbff 100%);border:1px solid #d7e5ef;border-radius:18px;margin-top:14px;padding:16px;box-shadow:inset 0 1px #ffffffeb}.ocular-analysis-header-row{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.ocular-analysis-subtitle{color:#6f879a;margin-top:6px;font-size:12px;line-height:1.5}.ocular-analyze-btn{background:var(--brand-gradient);color:#fff;letter-spacing:.2px;cursor:pointer;border:none;border-radius:14px;min-width:104px;min-height:42px;padding:0 16px;font-size:13px;font-weight:700;transition:transform .2s,box-shadow .2s,opacity .2s}.ocular-analyze-btn:hover{transform:translateY(-1px);box-shadow:0 14px 24px #14304733}.ocular-analyze-btn:disabled{opacity:.6;cursor:not-allowed;box-shadow:none;transform:none}.ocular-analysis-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.ocular-analysis-metric-card{background:#fff;border:1px solid #d9e7f1;border-radius:14px;padding:12px 14px}.ocular-analysis-metric-label{color:#7890a2;letter-spacing:.3px;font-size:12px;font-weight:700;display:block}.ocular-analysis-metric-value{color:#1f3e5a;margin-top:6px;font-size:20px;font-weight:800;display:block}.ocular-analysis-score-editor{background:linear-gradient(#fff 0%,#f7fbff 100%);border:1px solid #d9e7f1;border-radius:14px;margin-top:14px;padding:14px}.tear-score-editor-shell{min-height:78px}.tear-score-editor-content{margin-top:12px}.ocular-analysis-score-editor-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.ocular-analysis-score-editor-title{color:#274a69;font-size:13px;font-weight:800}.ocular-analysis-score-editor-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.ocular-analysis-score-field{color:#4a6378;gap:6px;font-size:12px;font-weight:700;display:grid}.ocular-analysis-score-field input{color:#17384f;background:#fff;border:1px solid #cfe0ea;border-radius:10px;outline:none;width:100%;min-height:40px;padding:0 12px;font-size:14px;font-weight:700}.ocular-analysis-score-field input:focus{border-color:#7fa4df;box-shadow:0 0 0 3px #507cd624}.ocular-analysis-score-editor-actions{grid-column:1/-1;justify-content:flex-end;margin-top:2px;display:flex}.ocular-analysis-result{justify-content:space-between;align-items:center;gap:12px;margin-top:14px;display:flex}.ocular-analysis-result-label{color:#5d7487;font-size:13px;font-weight:700}.ocular-analysis-result-badge{letter-spacing:.2px;border-radius:999px;justify-content:center;align-items:center;min-height:34px;padding:0 12px;font-size:12px;font-weight:800;display:inline-flex}.ocular-analysis-result-badge.has-result{color:#2b6a98;background:#e9f4ff}.ocular-analysis-result-badge.is-idle{color:#70879a;background:#f2f6fa}.ocular-analysis-summary{color:#60788b;white-space:pre-line;background:#fbfdff;border:1px solid #e1ebf3;border-radius:14px;margin-top:12px;padding:12px 14px;font-size:12px;line-height:1.6}.ocular-tear-preview{background:#f5fbff;border:1px solid #dce8f2;border-radius:16px;margin-top:14px;overflow:hidden}.ocular-tear-preview-image{width:100%;height:auto;display:block}.ocular-analysis-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.ocular-analysis-preview-card{background:#f5fbff;border:1px solid #dce8f2;border-radius:14px;overflow:hidden}.ocular-analysis-preview-title{color:#5d7487;border-bottom:1px solid #dce8f2;padding:10px 12px;font-size:12px;font-weight:700}.ocular-analysis-preview-image{aspect-ratio:1;object-fit:cover;background:#dbe8f2;width:100%;display:block}.ocular-tear-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.blink-rate-test-shell{flex-direction:column;flex:1 1 0;height:100%;min-height:0;display:flex;overflow:hidden}.blink-rate-content-area{flex-direction:column;flex:1 1 0;align-items:center;min-height:0;padding:12px 16px 16px;display:flex;overflow-y:auto;justify-content:flex-start!important}.blink-rate-bottom-toolbar{border-top:1px solid #c4d3de80;flex-shrink:0!important}.blink-counter-workspace{flex-direction:column;flex:1 1 0;align-items:center;width:100%;min-height:0;display:flex;overflow:visible}.blink-counter-card{background:linear-gradient(#fff 0%,#f7fbff 100%);border:1px solid #d8e6f0;border-radius:20px;flex-direction:column;width:min(100%,920px);padding:16px;display:flex;position:relative;overflow:visible;box-shadow:0 20px 46px #3e759a1f}.blink-counter-card-toolbar{flex-shrink:0;justify-content:center;width:100%;margin-top:14px;display:flex}.blink-counter-header{flex-shrink:0;gap:2px;margin-bottom:8px}.blink-counter-title{color:#18384d;margin:0;font-size:22px;font-weight:800}.blink-counter-subtitle{color:#5c788d;margin:0;font-size:14px;line-height:1.6}.blink-counter-preview-shell{background:#0a1824;border:none;border-radius:20px;flex:1 1 0;justify-content:center;align-items:center;min-height:280px;max-height:480px;display:flex;position:relative;overflow:hidden}.blink-counter-preview-video{object-fit:contain;background:#000;width:100%;height:100%;max-height:560px;display:block;-webkit-filter:none!important;opacity:1!important;mix-blend-mode:normal!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.blink-counter-placeholder{text-align:center;color:#567388;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:10;background:#fffffff5;border:1px solid #cfe1ede6;border-radius:18px;max-width:340px;margin:0;padding:18px 24px;font-size:14px;line-height:1.6;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.blink-counter-recording-badge{color:#fff;letter-spacing:.03em;box-shadow:none;text-shadow:0 2px 8px #000000d9;background:0 0;border-radius:0;align-items:center;padding:0;font-size:12px;font-weight:800;display:inline-flex;position:absolute;top:16px;left:16px}.blink-recording-dot{background-color:#ef4444;border-radius:50%;width:8px;height:8px;animation:1.5s infinite blink-pulse-anim;display:inline-block}@keyframes blink-pulse-anim{0%{opacity:1;transform:scale(1)}50%{opacity:.3;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.blink-counter-hud{pointer-events:none;background:0 0;flex-direction:column;justify-content:space-between;padding:20px 24px 28px;display:flex;position:absolute;inset:0}.blink-counter-hud-top{color:#ffffffeb;grid-template-columns:1fr auto 1fr;align-items:start;gap:10px;display:grid}.blink-counter-hud-label,.blink-counter-hud-mode{letter-spacing:.12em;font-size:13px;font-weight:700}.blink-counter-hud-mode{justify-self:end}.blink-counter-hud-timer{letter-spacing:.02em;justify-self:center;font-size:38px;font-weight:500;line-height:1}.blink-counter-hud-main{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.blink-counter-hud-count{color:#ff6420;letter-spacing:-.08em;text-shadow:0 14px 28px #0000003d;font-size:clamp(86px,14vw,132px);font-weight:500;line-height:.88}.blink-counter-hud-bpm{color:#fffffff5;letter-spacing:.03em;text-shadow:0 10px 22px #0003;font-size:24px;font-weight:500}.blink-counter-file-meta{color:#617e92;margin-top:8px;font-size:12px;font-weight:600}.blink-counter-inline-summary{flex-shrink:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px;display:grid}.blink-counter-inline-metric{background:#f5faff;border:1px solid #d9e8f3;border-radius:12px;flex-direction:column;gap:4px;padding:10px 12px;display:flex}.blink-counter-inline-metric span{color:#68849a;text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:700}.blink-counter-inline-metric strong{color:#1d425d;font-size:18px;line-height:1.3}.blink-counter-panel .ocular-analysis-summary{min-height:116px}.meibo-analysis-overlay,.meibo-upload-enhance-overlay{z-index:30;border-radius:inherit;justify-content:center;align-items:center;animation:.28s forwards meiboOverlayFadeIn;display:flex;position:absolute;inset:0}.meibo-analysis-overlay-backdrop{-webkit-backdrop-filter:blur(8px);border-radius:inherit;background:#06162699;position:absolute;inset:0}.meibo-analysis-overlay-panel{z-index:1;background:#ffffff12;border:1px solid #ffffff24;border-radius:28px;flex-direction:column;align-items:center;gap:30px;padding:40px 56px;display:flex;position:relative;box-shadow:0 10px 40px #0000006b,inset 0 1px #ffffff1a}.meibo-analysis-steps{align-items:center;gap:0;display:flex}.meibo-analysis-step{flex-direction:column;align-items:center;gap:10px;display:flex}.meibo-analysis-step-node{border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;transition:background .35s,border-color .35s,box-shadow .35s;display:flex}.meibo-step-waiting .meibo-analysis-step-node{background:#ffffff0f;border:2px solid #ffffff2e}.meibo-step-active .meibo-analysis-step-node{background:linear-gradient(135deg,#1d4ed8 0%,#3b82f6 100%);border:2px solid #93c5fd8c;animation:1.4s ease-in-out infinite meiboStepPulse}.meibo-step-done .meibo-analysis-step-node{background:linear-gradient(135deg,#047857 0%,#10b981 100%);border:2px solid #6ee7b78c}.meibo-step-done .meibo-analysis-step-node:after{content:"";border-bottom:2.5px solid #fff;border-left:2.5px solid #fff;width:11px;height:7px;transform:rotate(-45deg)translateY(-2px)}.meibo-step-active .meibo-analysis-step-node:before{content:"";border:2px solid #0000;border-top-color:#93c5fd99;border-radius:50%;width:54px;height:54px;animation:.9s linear infinite meiboSpinnerRing;position:absolute}.meibo-analysis-step-label{letter-spacing:.03em;white-space:nowrap;font-size:12px;font-weight:700;transition:color .35s}.meibo-step-waiting .meibo-analysis-step-label{color:#ffffff4d}.meibo-step-active .meibo-analysis-step-label{color:#93c5fd}.meibo-step-done .meibo-analysis-step-label{color:#6ee7b7}.meibo-analysis-step-connector{background:#ffffff24;border-radius:1px;width:52px;height:2px;margin-bottom:22px}.meibo-analysis-stage-label{color:#ffffffd1;letter-spacing:-.01em;text-align:center;margin:0;font-size:15px;font-weight:700}@keyframes meiboOverlayFadeIn{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@keyframes meiboStepPulse{0%,to{box-shadow:0 0 #3b82f68c}50%{box-shadow:0 0 0 12px #3b82f600}}@keyframes meiboSpinnerRing{to{transform:rotate(360deg)}}.clinical-module-stage{background:radial-gradient(circle at top right, rgba(var(--accent-rgb), .12), transparent 24%), linear-gradient(180deg, #f8faff 0%, var(--app-bg) 100%);justify-content:center;align-items:center;height:100%;padding:32px;display:flex}.clinical-module-stage-card{width:min(720px,100%);box-shadow:var(--shadow-lg);background:#ffffffeb;border:1px solid #c4d3debd;border-radius:28px;padding:32px}.clinical-module-stage-label{background:rgba(var(--accent-rgb), .08);color:var(--accent-strong);letter-spacing:.08em;text-transform:uppercase;border-radius:999px;margin-bottom:12px;padding:8px 12px;font-size:12px;font-weight:800;display:inline-flex}.clinical-module-stage-title{color:var(--text);letter-spacing:-.03em;font-size:30px}.clinical-module-stage-subtitle{color:var(--text-soft);margin-top:12px;font-size:15px;line-height:1.7}.clinical-test-panel{background:linear-gradient(180deg, #f8faff 0%, var(--app-bg) 100%);justify-content:center;align-items:flex-start;width:100%;height:100%;padding:22px;display:flex;overflow:auto}.clinical-test-panel-centered{align-items:flex-start}.clinical-test-card{width:min(980px,100%);box-shadow:var(--shadow-lg);background:#fffffff0;border:1px solid #c4d3dec7;border-radius:28px;padding:24px}.clinical-test-card-centered{width:min(980px,100%);max-width:100%}.clinical-test-card-bulbar{background:linear-gradient(#fffffffa 0%,#fff 100%);border:1px solid #c9d4ecf5;border-radius:30px;width:min(1280px,100%);padding:22px 28px 28px;box-shadow:0 28px 60px #4c669c2e,inset 0 1px #fffffff5}.clinical-test-card.clinical-test-card-deq{width:min(1280px,100%)}.clinical-test-card.clinical-test-card-osdi{width:min(1460px,100%)}.clinical-test-header{margin-bottom:18px}.clinical-test-label{color:var(--accent);letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:800}.clinical-test-title{color:var(--text);letter-spacing:-.02em;margin-top:8px;font-size:24px}.clinical-test-subtitle{color:var(--text-soft);margin-top:8px;font-size:14px;line-height:1.6}.clinical-test-summary-grid,.clinical-test-fields-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.clinical-test-fields-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.clinical-test-summary-card,.clinical-test-field{border:1px solid var(--line);background:#f7fafc;border-radius:18px;flex-direction:column;gap:8px;padding:16px;display:flex}.clinical-test-summary-card span,.clinical-test-field label,.clinical-test-question-label{color:var(--text-soft);font-size:12px;font-weight:700}.clinical-test-summary-card strong{color:var(--text);font-size:20px}.clinical-test-summary-grid-wide{grid-template-columns:repeat(3,minmax(0,1fr))}.clinical-test-eye-toggle{border:1px solid var(--line);background:#eef4f7;border-radius:999px;gap:8px;margin-bottom:18px;padding:6px;display:inline-flex}.clinical-test-eye-btn{color:var(--text-soft);cursor:pointer;box-shadow:none;background:0 0;border:none;border-radius:999px;padding:10px 16px;font-size:13px;font-weight:700;transition:none}.clinical-test-eye-btn.active{background:var(--brand-gradient);color:#fff}.clinical-test-question-list{gap:12px;display:grid}.clinical-test-question{border:1px solid var(--line);background:#f7fafc;border-radius:18px;gap:8px;padding:14px 16px;display:grid}.clinical-test-input,.clinical-test-select,.clinical-test-textarea{border:1px solid var(--line);width:100%;min-height:46px;color:var(--text);background:#fff;border-radius:14px;outline:none;padding:0 14px;font-size:14px}.clinical-test-textarea{resize:vertical;min-height:120px;padding:14px}.clinical-test-textarea.small{min-height:92px}.clinical-test-input:focus,.clinical-test-select:focus,.clinical-test-textarea:focus{border-color:rgba(var(--accent-rgb), .45);box-shadow:0 0 0 4px rgba(var(--accent-rgb), .12)}.clinical-test-note{background:rgba(var(--accent-rgb), .08);color:var(--accent-strong);border-radius:16px;margin-bottom:18px;padding:14px 16px;font-size:14px;font-weight:600}.clinical-test-table{gap:10px;margin-bottom:18px;display:grid}.clinical-test-table-header,.clinical-test-table-row{grid-template-columns:1.2fr repeat(4,minmax(0,.72fr)) .9fr;align-items:center;gap:10px;display:grid}.clinical-test-table-header{color:var(--text-soft);text-transform:uppercase;letter-spacing:.06em;padding:0 6px;font-size:12px;font-weight:800}.clinical-test-table-row{border:1px solid var(--line);background:#f7fafc;border-radius:18px;padding:12px 14px}.clinical-test-table-label,.clinical-test-table-metric{color:var(--text);font-size:13px;font-weight:700}.clinical-test-table-input{min-height:42px;padding:0 10px}.clinical-test-summary-block{margin-bottom:18px}.clinical-test-actions{justify-content:center;align-items:center;width:100%;margin-top:20px;display:flex}.posterior-frontend-layout{gap:22px;display:grid}.posterior-frontend-card{background:#fff;border:1px solid #d1dcf1eb;border-radius:24px;padding:24px;box-shadow:0 16px 30px #425a8b14}.posterior-frontend-form-card{gap:18px;display:grid}.posterior-frontend-letterhead{align-items:flex-start;gap:18px;display:flex}.posterior-frontend-logo{object-fit:contain;flex-shrink:0;width:72px;height:72px}.posterior-frontend-letterhead-copy{color:#2b456b;gap:4px;font-size:17px;line-height:1.45;display:grid}.posterior-frontend-letterhead-copy p,.posterior-frontend-footer p{margin:0}.posterior-frontend-title{color:#111827;margin:0 0 4px;font-size:30px;font-weight:800}.posterior-frontend-link{color:#2d63ff;cursor:pointer;background:0 0;border:none;margin-top:18px;padding:0;font-size:15px;font-weight:600}.posterior-frontend-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.posterior-frontend-field{gap:10px;display:grid}.posterior-frontend-field label{color:#8b97a7;font-size:14px;font-weight:600}.posterior-frontend-field-wide{grid-column:1/-1}.posterior-frontend-input{border-color:#bfd0ff;min-height:50px}.posterior-frontend-textarea{border-color:#bfd0ff;min-height:150px}.posterior-frontend-textarea-short{min-height:110px}.posterior-frontend-upload-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.posterior-frontend-upload-slot{cursor:pointer;background:#fff;border:1px dashed #d4dce8;border-radius:18px;min-height:260px;padding:0;transition:border-color .2s,box-shadow .2s;position:relative;overflow:hidden}.posterior-frontend-upload-slot:hover{border-color:#9dbdf4;box-shadow:0 12px 22px #425a8b14}.posterior-frontend-upload-slot.has-image{border-style:solid}.posterior-frontend-upload-input{display:none}.posterior-frontend-upload-preview{object-fit:cover;width:100%;height:100%;display:block}.posterior-frontend-upload-placeholder{color:#97a4b4;align-content:center;justify-items:center;gap:10px;height:100%;font-size:17px;font-weight:500;display:grid}.posterior-frontend-upload-art,.posterior-frontend-upload-icon{color:#a8b1c2}.posterior-frontend-upload-art{width:58px;height:58px}.posterior-frontend-upload-icon{width:32px;height:32px}.posterior-frontend-add-btn{color:#324d71;cursor:pointer;background:#fff;border:1px solid #d6e1ef;border-radius:16px;width:100%;min-height:58px;margin-top:18px;font-size:16px;font-weight:600}.posterior-frontend-add-btn:disabled{opacity:.55;cursor:not-allowed}.posterior-frontend-note{color:#6b7f96;background:#f3f5f9;border-radius:12px;margin-top:18px;padding:12px 14px;font-size:14px}.posterior-frontend-footer{text-align:center;color:#2b456b;border-top:1px solid #e2e8f0;gap:4px;margin-top:18px;padding-top:16px;display:grid}@media (width<=900px){.posterior-frontend-grid,.posterior-frontend-upload-grid{grid-template-columns:1fr}.posterior-frontend-letterhead{flex-direction:column}}.contrast-setup{justify-items:center;gap:20px;width:min(980px,100%);min-height:420px;margin:0 auto;padding:44px 20px 32px;display:grid}.contrast-setup-copy{max-width:820px;color:var(--text);text-align:center;margin:0;font-size:clamp(18px,1.45vw,26px);font-weight:500;line-height:1.5}.contrast-setup-options{flex-wrap:wrap;justify-content:center;gap:14px 24px;display:flex}.contrast-setup-option{color:var(--text);cursor:pointer;align-items:center;gap:8px;font-size:clamp(15px,1.05vw,18px);font-weight:500;display:inline-flex}.contrast-setup-option input{width:18px;height:18px;accent-color:var(--accent)}.contrast-setup-actions{justify-items:center;gap:18px;display:grid}.contrast-setup-proceed{background:var(--brand-gradient);color:#fff;cursor:pointer;border:none;border-radius:12px;min-width:140px;min-height:52px;padding:0 22px;font-size:16px;font-weight:600;box-shadow:0 14px 28px #11216c29}.contrast-setup-skip{color:var(--accent-strong);cursor:pointer;background:0 0;border:none;font-size:15px;font-weight:500}.contrast-setup-proceed:hover,.contrast-setup-skip:hover{filter:brightness(.96)}.bulbar-redness-reference{justify-content:center;width:100%;display:flex}.bulbar-redness-reference-shell{justify-items:center;gap:16px;width:min(1180px,100%);max-width:100%;margin:0 auto;display:grid}.bulbar-redness-control-row{z-index:6;flex-wrap:wrap;justify-content:center;gap:12px;width:100%;display:flex;position:relative}.bulbar-redness-camera-segmented-control{width:min(100%,520px)}.bulbar-redness-camera-segmented-control .customCell{overflow:visible}.bulbar-redness-camera-btn{letter-spacing:-.01em;cursor:pointer;border:1px solid #cad5eef5;border-radius:999px;justify-content:center;align-items:center;gap:10px;min-height:40px;padding:0 16px;font-size:13px;font-weight:700;transition:transform .18s,box-shadow .18s,filter .18s,opacity .18s;display:inline-flex}.bulbar-redness-camera-btn svg{flex-shrink:0;width:15px;height:15px}.bulbar-redness-camera-enable-btn{background:var(--brand-gradient);color:#fff;box-shadow:0 14px 26px rgba(var(--accent-rgb), .26)}.bulbar-redness-camera-enable-btn:hover:not(:disabled){filter:brightness(1.01);transform:translateY(-1px)}.bulbar-redness-camera-enable-btn:disabled{opacity:.78;cursor:wait;transform:none}.bulbar-redness-camera-stop-btn{color:#5f729d;background:linear-gradient(#eef3ff 0%,#e6edff 100%);box-shadow:inset 0 1px #ffffffeb}.bulbar-redness-camera-stop-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 12px 24px #687eaa2e}.bulbar-redness-camera-stop-btn:disabled{color:#9ba9c7;cursor:not-allowed;opacity:1;box-shadow:inset 0 1px #ffffffeb}.bulbar-redness-camera-shell{background:linear-gradient(#fff 0%,#f8fbff 100%);border:1px solid #d0dbf1fa;border-radius:22px;width:min(640px,100%);padding:18px;box-shadow:inset 0 1px #fffffff5,0 16px 30px #6e84b014}.bulbar-redness-camera-panel{z-index:7;position:relative}.bulbar-redness-camera-stage{background:linear-gradient(#fff 0%,#f9fbff 100%);border:2px solid #d2daebf0;border-radius:20px;width:100%;height:clamp(180px,24vh,220px);min-height:0;position:relative;overflow:hidden}.bulbar-redness-camera-feed{object-fit:contain;background:#fff;width:100%;height:100%;display:block}.bulbar-redness-camera-overlay{text-align:center;color:#21335e;background:linear-gradient(#ffffffeb 0%,#f9fbfff5 100%);justify-content:center;align-items:center;padding:20px;display:flex;position:absolute;inset:0}.bulbar-redness-camera-target{aspect-ratio:1;border:2px dashed #c5cee0eb;border-radius:999px;width:min(28%,190px);position:absolute}.bulbar-redness-camera-overlay-copy{z-index:1;color:#22355d;max-width:380px;font-size:15px;font-weight:500;line-height:1.55;position:relative}.bulbar-redness-gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;width:100%;max-width:1120px;margin:0 auto;display:grid}.bulbar-redness-card{aspect-ratio:3/2;cursor:pointer;appearance:none;height:auto;min-height:0;box-shadow:none;background:0 0;border:2px solid #0000;border-radius:10px;padding:0;transition:transform .18s,box-shadow .18s,border-color .18s;position:relative;overflow:hidden}.bulbar-redness-card:hover{transform:translateY(-2px);box-shadow:0 14px 24px #586d9a24}.bulbar-redness-card.selected{box-shadow:0 0 0 4px rgba(var(--accent-rgb), .18), 0 20px 36px #586d9a38;border-color:#7a96ff}.bulbar-redness-card-image{object-fit:contain;object-position:center;background:0 0;width:100%;height:100%;padding:0;display:block}.bulbar-redness-save-btn{background:var(--brand-gradient);min-width:220px;min-height:56px;box-shadow:0 20px 36px rgba(var(--accent-rgb), .26);color:#fff;letter-spacing:-.02em;cursor:pointer;border:none;border-radius:18px;padding:0 28px;font-size:20px;font-weight:800;transition:transform .18s,box-shadow .18s,opacity .18s}.bulbar-redness-save-btn:disabled{opacity:.58;cursor:not-allowed;box-shadow:none}.bulbar-redness-save-btn:hover:not(:disabled){box-shadow:0 24px 40px rgba(var(--accent-rgb), .3);transform:translateY(-1px)}@media (width<=1180px){.clinical-test-card-bulbar{width:min(1120px,100%);padding:20px 22px 24px}.bulbar-redness-gallery{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px}.bulbar-redness-card{height:auto}}.osdi-questionnaire{gap:16px;width:min(1080px,100%);margin:0 auto;display:grid}.osdi-questionnaire-header{gap:8px;display:grid}.osdi-questionnaire-title{color:var(--brand-deep);letter-spacing:-.03em;margin:0;font-size:clamp(22px,2vw,32px);font-weight:700}.osdi-questionnaire-copy,.osdi-evaluation-copy{color:var(--text);margin:0;font-size:clamp(14px,.98vw,16px);line-height:1.5}.osdi-section-list{gap:16px;display:grid}.osdi-section{gap:10px;display:grid}.osdi-section-title,.osdi-evaluation-title{color:var(--brand-deep);letter-spacing:-.02em;margin:0;font-size:clamp(17px,1.08vw,21px);font-weight:500}.osdi-grid-header,.osdi-row{grid-template-columns:minmax(220px,1.25fr) repeat(5,minmax(84px,1fr));align-items:center;display:grid}.osdi-grid-header.has-na,.osdi-row.has-na{grid-template-columns:minmax(220px,1.25fr) repeat(6,minmax(84px,1fr))}.osdi-grid-header{background:#f2f4f7;padding:14px 10px}.osdi-grid-header-spacer{min-height:1px}.osdi-grid-column-title{text-align:center;color:var(--text);padding:0 8px;font-size:clamp(12px,.88vw,14px);font-weight:500;line-height:1.3}.osdi-row-list{display:grid}.osdi-row{border-bottom:1px solid #d8dee7;padding:12px 10px}.osdi-row-question{color:var(--text);padding:0 12px 0 6px;font-size:clamp(13px,.9vw,15px);line-height:1.4}.osdi-choice-pill{min-width:56px;min-height:38px;color:var(--text);cursor:pointer;background:#fff;border:1px solid #b8c8ff;border-radius:999px;justify-content:center;justify-self:center;align-items:center;gap:6px;padding:0 10px;transition:background .2s,border-color .2s,color .2s;display:inline-flex}.osdi-choice-pill.active{color:#2445eb;background:#eef2ff;border-color:#4a67f5}.osdi-choice-value{font-size:clamp(13px,.88vw,15px);font-weight:500}.osdi-choice-circle{background:#fff;border:1px solid #b8c8ff;border-radius:999px;width:16px;height:16px}.osdi-choice-circle.active{background:#4a67f5;border-color:#4a67f5}.osdi-subtotal-row,.osdi-formula-line{color:var(--text);text-align:right;justify-content:flex-end;align-items:center;gap:12px;font-size:clamp(14px,.95vw,16px);font-weight:500;display:flex}.osdi-subtotal-label{line-height:1.35}.osdi-score-box{min-width:52px;min-height:38px;color:var(--accent);background:#fff;border:1px solid #d8dee7;justify-content:center;align-items:center;padding:4px 10px;font-size:clamp(15px,.98vw,18px);font-weight:600;display:inline-flex}.osdi-formula-panel{justify-items:center;gap:8px;display:grid}.osdi-formula-caption{color:var(--text-soft);text-align:center;font-size:clamp(12px,.82vw,14px);font-weight:500}.osdi-evaluation{gap:10px;display:grid}.osdi-score-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.osdi-score-summary-card,.osdi-footer-field{gap:10px;display:grid}.osdi-score-summary-card{border:1px solid var(--line);background:#f7fafc;border-radius:16px;padding:16px 18px}.osdi-score-summary-card span,.osdi-footer-field label{color:var(--text-soft);font-size:clamp(13px,.88vw,15px);font-weight:500}.osdi-score-summary-card strong{color:var(--text);font-size:clamp(17px,1.08vw,20px);font-weight:600}.osdi-footer-fields{gap:12px;display:grid}.osdi-footer-input{border-color:#b8c8ff;border-radius:14px;min-height:44px}.deq-questionnaire{gap:16px;width:min(1080px,100%);margin:0 auto;display:grid}.deq-questionnaire-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.deq-questionnaire-title{color:var(--brand-deep);letter-spacing:-.03em;margin:0;font-size:clamp(22px,2vw,32px);font-weight:700}.deq-summary-grid{margin-bottom:0}.deq-summary-grid .clinical-test-summary-card{border-radius:16px;padding:14px}.deq-summary-grid .clinical-test-summary-card span{font-size:11px}.deq-summary-grid .clinical-test-summary-card strong{font-size:18px}.deq-questionnaire-sections,.deq-question-list{gap:16px;display:grid}.deq-section{gap:12px;display:grid}.deq-section-title{color:var(--brand-deep);letter-spacing:-.02em;margin:0;font-size:clamp(18px,1.28vw,24px);font-weight:500}.deq-question-block{gap:8px;display:grid}.deq-question-prompt{color:var(--text);margin:0;font-size:clamp(14px,.98vw,16px);font-weight:600;line-height:1.45}.deq-response-grid{background:#fff;border:1px solid #1f2937;grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.deq-response-option{color:#101828;cursor:pointer;background:#fff;border:none;border-right:1px solid #1f2937;grid-template-rows:minmax(50px,auto) minmax(42px,auto);padding:0;transition:background .2s,color .2s;display:grid}.deq-response-option:last-child{border-right:none}.deq-response-option.active{background:#eef2ff}.deq-response-label{text-align:center;border-bottom:1px solid #1f2937;justify-content:center;align-items:center;padding:12px 10px;font-size:clamp(12px,.88vw,14px);font-weight:500;line-height:1.35;display:flex}.deq-response-score-row{justify-content:center;align-items:center;gap:8px;padding:8px 10px;font-size:clamp(14px,.95vw,16px);display:inline-flex}.deq-response-score{font-weight:500}.deq-response-checkbox{color:#0000;border:1px solid #94a3b8;justify-content:center;align-items:center;width:16px;height:16px;font-size:11px;line-height:1;display:inline-flex}.deq-response-checkbox.active{color:#fff;background:#4a67f5;border-color:#4a67f5}.ocular-image-tools{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px;display:grid}.ocular-tool-btn{color:#5b6f80;cursor:pointer;background:#fff;border:1px solid #d7e5ef;border-radius:14px;min-height:44px;font-size:13px;font-weight:700;transition:all .2s}.ocular-tool-btn:hover{color:#245d84;background:#f4fbff;border-color:#5fa5d7}.ocular-tool-btn.danger:hover{color:#c24557;background:#fff5f6;border-color:#efb8c0}.ocular-tool-btn:disabled{opacity:.55;cursor:not-allowed}.ocular-analysis-input{resize:vertical;color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;min-height:96px;margin-top:8px;padding:10px 12px;font-size:13px;transition:border-color .2s,box-shadow .2s}.ocular-analysis-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--brand-focus-ring)}.ocular-download-btn{color:#fff;letter-spacing:.2px;text-align:center;cursor:pointer;width:auto;min-width:0;min-height:52px;box-shadow:none;background:0 0;border:0;border-radius:0;flex:1 1 0;margin-top:0;padding:0 18px;font-size:13px;font-weight:700;line-height:1.2;transition:background .2s,color .2s,opacity .2s}.ocular-download-btn:hover{color:#2048b8;background:#fff}.ocular-download-btn:active{opacity:.95}.ocular-report-actions{width:100%;padding-bottom:max(16px, env(safe-area-inset-bottom));flex-shrink:0;justify-content:center;align-items:center;margin:18px auto 0;display:flex}.report-segmented-control{width:min(100%,540px)}.ocular-report-divider{pointer-events:none;background:#fffffffa;flex:0 0 2px;align-self:stretch;width:2px}.ocular-save-btn{color:#fff;letter-spacing:.2px;text-align:center;cursor:pointer;width:auto;min-width:0;min-height:52px;box-shadow:none;background:0 0;border:0;border-radius:0;flex:1 1 0;padding:0 18px;font-size:13px;font-weight:700;line-height:1.2;transition:background .2s,color .2s,opacity .2s}.ocular-save-btn:hover{color:#2048b8;background:#fff}.ocular-save-btn:disabled{opacity:.65;cursor:not-allowed;box-shadow:none;transform:none}.reports-dashboard{width:100%;max-width:none;min-height:calc(100vh - 78px);box-shadow:none;background:0 0;border-radius:0;margin:0 auto;padding:28px 24px 32px}.reports-empty-state{color:#688295;text-align:center;background:linear-gradient(#fff 0%,#f7f9ff 100%);border:1px solid #d7def5e6;border-radius:20px;padding:32px;font-weight:600}.reports-table{background:#fff;border:1px solid #d7def5e6;border-radius:24px;overflow:auto hidden;box-shadow:0 18px 40px #11216c14}.reports-row{border-bottom:1px solid #e1e7f8f2;grid-template-columns:1.1fr 1.2fr 1fr .8fr;align-items:center;gap:14px;padding:14px 16px;display:grid}.reports-row:last-child{border-bottom:none}.reports-row.reports-header{color:var(--brand-deep);text-transform:uppercase;letter-spacing:.3px;background:linear-gradient(90deg,#f4f7ff,#fbfcff);font-size:13px;font-weight:700}.reports-patient-name{color:var(--text);font-weight:700}.reports-patient-meta{color:#7d97a8;font-size:13px}.reports-actions{gap:12px;display:flex}.dashboard-hero{background:var(--brand-surface-gradient);border:1px solid var(--line);border-radius:24px;justify-content:space-between;align-items:flex-start;gap:24px;margin:0 0 20px;padding:28px 30px;display:flex;box-shadow:0 20px 45px #11216c14}.dashboard-hero-copy{max-width:560px}.dashboard-hero-kicker{background:var(--accent-soft);color:var(--accent-strong);letter-spacing:.08em;text-transform:uppercase;border-radius:999px;margin-bottom:10px;padding:6px 12px;font-size:12px;font-weight:700;display:inline-block}.dashboard-hero-title{color:var(--brand-deep);font-size:36px;line-height:1.15;font-family:var(--font-sans);margin:0}.dashboard-hero-description{max-width:760px;color:var(--text-soft);margin:-6px 0 0;font-size:15px;line-height:1.7}.dashboard-hero-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-width:440px;display:grid}.dashboard-summary-card .dashboard-hero-stats{width:100%;min-width:0}.dashboard-stat-card{background:#ffffffeb;border:1px solid #d7def5e6;border-radius:18px;padding:16px 18px;box-shadow:inset 0 1px #ffffffe6}.dashboard-stat-card span{color:#7892a5;margin-bottom:6px;font-size:12px;font-weight:600;display:block}.dashboard-stat-card strong{color:var(--brand-deep);word-break:break-word;font-size:20px;line-height:1.3;display:block}.tests-workspace-card{background:#fff;border:1px solid #d7def5e6;border-radius:28px;margin:0;overflow:auto hidden;box-shadow:0 20px 45px #11216c14}.tests-toolbar{border-bottom:1px solid #e1e7f8f2;justify-content:space-between;align-items:center;gap:20px;padding:18px 24px 20px;display:flex}.tests-search{flex:1;max-width:830px;position:relative}.tests-search-icon{color:var(--accent);pointer-events:none;position:absolute;top:50%;right:18px;transform:translateY(-50%)}.tests-search-input{border:1px solid var(--line);width:100%;height:56px;color:var(--text);background:#fbfcff;border-radius:14px;padding:0 54px 0 18px;font-size:16px}.tests-search-input::placeholder{color:#6b7280}.tests-search-input:focus,.tests-filter:focus{border-color:rgba(var(--accent-rgb), .45);box-shadow:0 0 0 4px rgba(var(--accent-rgb), .12);outline:none}.tests-toolbar-actions{align-items:center;gap:12px;display:flex}.tests-filter{border:1px solid var(--line);min-width:250px;height:56px;color:var(--text-soft);cursor:pointer;background:#fbfcff;border-radius:14px;padding:0 16px;font-size:16px}.meibography-review-toolbar .meibography-manual-btn-overlay,.meibography-review-toolbar .meibography-review-btn,.meibography-review-toolbar>.meibography-capture-btn-overlay{letter-spacing:0;-webkit-backdrop-filter:none;backdrop-filter:none;white-space:nowrap;border-radius:14px;min-width:0;min-height:46px;padding:0 18px;font-size:14px;font-weight:700;box-shadow:0 8px 18px #49749924}.meibography-review-toolbar>.meibography-capture-btn-overlay{justify-content:center;align-items:center;gap:8px;display:inline-flex}.meibography-review-toolbar>.meibography-capture-btn-overlay svg{position:static;top:auto;left:auto;transform:none}.meibography-review-toolbar>.meibography-capture-btn-overlay span{text-align:left;width:auto}.meibography-review-toolbar>.blink-start-btn{justify-content:center;gap:10px;min-width:220px;min-height:44px;padding:0 18px}.meibography-review-toolbar>.blink-start-btn .blink-start-btn-icon{flex:0 0 16px;width:16px;height:16px;position:static!important;top:auto!important;left:auto!important;transform:none!important}.meibography-review-toolbar>.blink-start-btn span{letter-spacing:.01em;text-align:center;line-height:1}.meibography-review-toolbar .meibography-manual-btn-overlay{background:var(--brand-gradient);border:1px solid #7cbae375}.meibography-review-toolbar .meibography-manual-btn-overlay:hover{background:var(--brand-gradient-hover);border-color:#7cbae3ad}.meibography-review-toolbar .meibography-manual-btn-overlay.active{background:var(--brand-gradient);border-color:#97cdeeb8}.meibography-review-toolbar .meibography-review-button-group .meibography-review-btn,.meibography-review-toolbar .meibography-review-button-group .meibography-manual-btn-overlay{min-height:52px;box-shadow:none;border-radius:0}.meibography-review-toolbar .meibography-review-button-group .meibography-manual-btn-overlay{border:0}.meibography-review-toolbar .meibography-review-button-group .meibography-manual-btn-overlay:hover,.meibography-review-toolbar .meibography-review-button-group .meibography-manual-btn-overlay.active{color:#2048b8;background:#fff;border-color:#0000}@media (width<=900px){#capture-action-controls{grid-template-columns:minmax(0,1fr);gap:10px}#capture-action-controls .meibography-active-target-pill,#capture-action-controls .meibography-camera-device-panel,#capture-action-controls .meibography-capture-segmented-control{grid-area:auto/1/auto/-1}#capture-action-controls .meibography-active-target-pill{justify-content:center;min-height:44px}.meibography-camera-device-panel{width:100%}.meibography-camera-device-trigger{justify-content:flex-start;width:100%;min-height:46px}.meibography-camera-device-popover{width:100%;max-width:none}.meibography-capture-segmented-control{flex:100%;min-width:min(560px,100%)}#capture-action-controls .meibography-capture-segmented-control .track{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}#capture-action-controls .meibography-capture-segmented-control button,#capture-action-controls .meibography-capture-camera-trigger{padding-inline:18px}.meibography-review-segmented-control{flex:100%;min-width:320px;max-width:none}.meibography-tear-segmented-control{flex:100%;min-width:280px;max-width:none}.meibography-blink-segmented-control{flex:100%;min-width:320px;max-width:none}.meibography-review-toolbar{flex-wrap:wrap;overflow-x:visible}.meibography-review-toolbar>.meibography-capture-btn-overlay,.meibography-review-toolbar>.meibography-review-btn{flex:220px;min-width:200px}.meibography-review-toolbar>.blink-start-btn{flex:none;min-width:220px}}@media (width<=640px){.meibography-camera-device-popover{border-radius:16px;width:100%;left:0}.meibography-review-toolbar>.meibography-capture-btn-overlay,.meibography-review-toolbar>.meibography-review-btn{justify-content:center;width:100%;min-width:0}.meibography-review-toolbar>.blink-start-btn{justify-content:center;width:auto;min-width:220px;max-width:100%}}.tests-add-button{background:var(--brand-gradient);color:#fff;cursor:pointer;border:none;border-radius:16px;align-items:center;gap:10px;height:54px;padding:0 18px;font-size:16px;font-weight:600;display:inline-flex}.tests-add-button:hover{box-shadow:0 14px 28px #11216c29}.tests-table{box-shadow:none;border:none;border-radius:0;width:100%;min-width:920px;margin:0}.tests-row{box-sizing:border-box;grid-template-columns:minmax(96px,.8fr) minmax(84px,.7fr) minmax(110px,1.1fr) minmax(180px,1.5fr) minmax(150px,1.2fr) minmax(248px,1.4fr);align-items:center;gap:8px;min-height:76px;padding:16px 18px;display:grid}.tests-row-header{color:#2a475d;min-height:56px;font-size:15px;font-family:var(--font-sans);text-transform:none;letter-spacing:0;font-weight:600}.tests-row-header>div{text-transform:none;letter-spacing:0;align-items:center;width:100%;padding:8px 4px;display:flex}.tests-cell-date,.tests-cell-time,.tests-cell-patient,.tests-cell-type,.tests-cell-doctor{color:#203b4f;justify-content:flex-start;align-items:center;padding:8px 4px;font-size:14px;display:flex}.tests-header-date,.tests-cell-date,.tests-header-time,.tests-cell-time{text-align:left;justify-content:flex-start}.tests-header-type,.tests-cell-type{text-align:left;justify-content:flex-start;line-height:1.45}.tests-actions{box-sizing:border-box;flex-flow:row;flex-shrink:0;justify-content:flex-end;align-items:center;gap:6px;width:100%;min-width:max-content;display:flex}.tests-header-patient,.tests-cell-patient{text-align:left;justify-content:flex-start}.tests-header-doctor,.tests-cell-doctor{text-align:left;word-break:break-word;justify-content:flex-start;min-width:0;line-height:1.35}.tests-header-action{text-align:right;justify-content:flex-end;align-items:center;padding-right:8px;font-weight:600;display:flex}.tests-action-button{border:1px solid var(--line);color:var(--accent-strong);cursor:pointer;white-space:nowrap;background:#f5f7ff;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;gap:4px;padding:6px 10px;font-size:12px;font-weight:600;text-decoration:none;transition:all .2s;display:inline-flex}.tests-action-button svg{flex-shrink:0;width:13px;height:13px}.tests-action-button:hover{color:var(--accent-strong);border-color:var(--line-strong);background:#e9eeff}.tests-action-link{justify-content:center}.tests-empty-state{border-radius:18px;margin:24px}.tests-pagination{color:var(--text-soft);justify-content:center;align-items:center;gap:10px;padding:20px 16px 0;display:flex}.tests-page-label{font-size:18px;font-weight:500}.tests-page-arrow{border:1px solid var(--line);width:42px;height:42px;color:var(--accent-strong);cursor:pointer;background:#fff;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.tests-page-arrow:disabled{color:#b8cfe0;cursor:not-allowed;border-color:#e4eef5}.clinics-dashboard{width:100%;max-width:none;min-height:calc(100vh - 78px);box-shadow:none;background:0 0;border-radius:0;margin:0 auto;padding:28px 24px 32px}.clinics-workspace-card{background:#fff;border:1px solid #d7def5e6;border-radius:28px;margin:0;overflow:auto hidden;box-shadow:0 20px 45px #11216c14}.clinics-toolbar{border-bottom:1px solid #e1e7f8f2;justify-content:space-between;align-items:center;gap:20px;padding:18px 24px 20px;display:flex}.clinics-search{flex:1;max-width:830px;position:relative}.clinics-search-icon{color:var(--accent);pointer-events:none;position:absolute;top:50%;right:18px;transform:translateY(-50%)}.clinics-search-input{border:1px solid var(--line);width:100%;height:56px;color:var(--text);background:#fbfcff;border-radius:14px;padding:0 54px 0 18px;font-size:16px}.clinics-search-input::placeholder{color:#6b7280}.clinics-search-input:focus{border-color:rgba(var(--accent-rgb), .45);box-shadow:0 0 0 4px rgba(var(--accent-rgb), .12);outline:none}.clinics-add-button{background:var(--brand-gradient);color:#fff;cursor:pointer;border:none;border-radius:16px;align-items:center;gap:10px;height:54px;padding:0 20px;font-size:16px;font-weight:600;display:inline-flex}.clinics-add-button:hover{box-shadow:0 14px 28px #11216c29}.clinics-table{box-shadow:none;border:none;border-radius:0;width:100%;min-width:680px;margin:0}.clinics-row{box-sizing:border-box;grid-template-columns:minmax(160px,1.2fr) minmax(200px,1.3fr) minmax(240px,1.5fr);align-items:center;gap:8px;min-height:76px;padding:16px 18px;display:grid}.clinics-row-header{color:#2a475d;min-height:56px;font-size:15px;font-family:var(--font-sans);text-transform:none;letter-spacing:0;font-weight:600}.clinics-row-header>div{text-transform:none;letter-spacing:0;align-items:center;width:100%;padding:8px 4px;display:flex}.clinics-header-name,.clinics-header-address,.clinics-cell-name,.clinics-cell-address{text-align:left;color:#203b4f;justify-content:flex-start;padding:8px 4px;font-size:14px}.clinics-cell-name{font-size:15px;font-weight:700}.clinics-cell-address{color:#4d687c}.clinics-header-actions,.clinics-actions{box-sizing:border-box;flex-shrink:0;justify-content:flex-end;align-items:center;gap:8px;min-width:max-content;display:flex}.clinics-icon-button{color:#2f6c95;cursor:pointer;background:#f5fbff;border:1px solid #d7e8f3;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:30px;min-width:30px;height:30px;min-height:30px;padding:0;transition:all .2s;display:inline-flex}.clinics-icon-button svg{flex-shrink:0;width:13px;height:13px}.clinics-icon-button:hover{color:#234e70;background:#eaf5fc;border-color:#bed9ea}.clinics-empty-state{border-radius:18px;margin:24px}.clinics-pagination{color:#4f85ad;justify-content:center;align-items:center;gap:10px;padding:20px 16px 0;display:flex}.clinics-modal-backdrop{z-index:2000;background:#0f172a61;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.clinics-modal{background:#fff;border:1px solid #d7def5e6;border-radius:22px;width:min(560px,100%);padding:24px;box-shadow:0 24px 60px #11216c2e}.clinics-modal-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.clinics-modal-title{color:#1f4057;font-size:24px;font-weight:700}.clinics-modal-close{color:#6d879a;cursor:pointer;background:#f8fbfd;border:none;border-radius:999px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.clinics-modal-close:hover{color:#234e70;background:#eef7fc}.clinics-form-textarea{resize:vertical;min-height:110px;font-family:inherit}.clinics-form-error{color:#d75062;margin-top:-4px;font-size:14px;font-weight:500}.clinics-modal-actions{justify-content:flex-end;gap:12px;margin-top:24px;display:flex}.clinics-view-card{background:linear-gradient(#fff 0%,#f7f9ff 100%);border:1px solid #d7def5e6;border-radius:18px;padding:18px 16px 2px}.clinics-view-row{align-items:baseline;gap:6px;margin-bottom:16px;font-size:17px;display:flex}.clinics-view-label{color:#1f4057;font-weight:700}.clinics-view-value{color:#35556c}.settings-dashboard{width:100%;max-width:none;min-height:calc(100vh - 78px);box-shadow:none;background:0 0;border-radius:0;margin:0 auto;padding:28px 24px 32px}.settings-content{width:100%;margin:0}.settings-heading-block{margin-bottom:24px;padding:0 6px}.settings-title{color:#1f4057;margin-bottom:6px;font-size:30px;font-weight:700}.settings-subtitle{color:#688295;font-size:16px}.settings-profile-card{background:linear-gradient(#fff 0%,#f8faff 100%);border:1px solid #d7def5e6;border-radius:24px;padding:24px;box-shadow:0 20px 45px #11216c14}.settings-profile-row{border-bottom:1px solid #e7eff5;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:18px;padding-bottom:16px;font-size:18px;display:flex}.settings-profile-row:last-child{border-bottom:none;padding-bottom:0}.settings-profile-label{color:#35546b;font-weight:700}.settings-profile-value{color:#203b4f;text-align:right;font-weight:400}.settings-password-row{justify-content:flex-end;padding-top:20px;display:flex}.settings-security-note{width:100%;color:var(--text-soft);background:#f5f8ffe0;border:1px solid #8c9cc93d;border-radius:18px;padding:18px 20px;line-height:1.6}.settings-password-button{background:var(--brand-gradient);color:#fff;cursor:pointer;border:none;border-radius:16px;min-width:224px;height:60px;font-size:18px;font-weight:500;box-shadow:0 12px 24px #14304733}.settings-password-button:hover{box-shadow:0 14px 28px #11216c29}.settings-modal-backdrop{z-index:2000;background:#0f172a6b;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.settings-modal{background:#fff;border:1px solid #d7def5e6;border-radius:24px;width:min(560px,100%);padding:24px;box-shadow:0 28px 64px #11216c2e}.settings-modal-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.settings-modal-title{color:var(--brand-deep);font-size:24px;font-weight:700}.settings-modal-close{color:var(--text-soft);cursor:pointer;background:#f7f9ff;border:none;border-radius:999px;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.settings-modal-close:hover{color:var(--accent-strong);background:#e9eeff}.settings-form-error,.settings-form-success{margin-top:4px;font-size:14px;font-weight:600}.settings-form-error{color:#d75062}.settings-form-success{color:#15803d}.settings-modal-actions{justify-content:flex-end;gap:12px;margin-top:24px;display:flex}.sidebar,.main-content,.meibography-live-workspace,.clinical-test-panel{scrollbar-width:none;-ms-overflow-style:none}.sidebar::-webkit-scrollbar{width:0;height:0;display:none}.main-content::-webkit-scrollbar{width:0;height:0;display:none}.meibography-live-workspace::-webkit-scrollbar{width:0;height:0;display:none}.clinical-test-panel::-webkit-scrollbar{width:0;height:0;display:none}@media (width<=1440px){:root,.layout-shell{--sidebar-offset:235px}.sidebar{width:235px;padding:16px 12px 20px}.sidebar-brand-card{gap:10px;margin:2px 2px 14px;padding:12px 10px}.sidebar-brand-logo-wrap{border-radius:12px;width:40px;height:40px}.sidebar-brand-copy strong{font-size:14px}.sidebar-brand-copy span:last-child{font-size:11px;line-height:1.35}.patients-page,.reports-dashboard,.clinics-dashboard,.settings-dashboard{padding:18px 20px 32px}.dashboard-hero{gap:16px;margin:0 0 16px;padding:20px 22px}.patients-hero-card{margin:0 0 16px;padding:20px 22px}.user-copy{max-width:200px}.user-name,.user-role{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tests-filter{min-width:170px;max-width:220px}}@media (width<=1280px){:root,.layout-shell{--sidebar-offset:215px}.sidebar{width:215px;padding:14px 10px 18px}.sidebar-brand-copy span:last-child{display:none}.sidebar-item .sidebar-link{padding:9px 10px;font-size:13px}.patients-page,.reports-dashboard,.clinics-dashboard,.settings-dashboard{padding:14px 16px 28px}.meibography-overlay-controls{width:min(960px,100% - 24px)}.ocular-analysis-panel{width:320px}.ocular-analysis-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=1024px){.layout-shell{--header-height:var(--header-height-mobile)}.header{padding:12px 18px}.header-brand-copy,.header-status-pill{display:none}.header-brand-lockup{padding-right:12px}.sidebar{width:min(308px,100vw - 28px)}.patients-page,.reports-dashboard,.clinics-dashboard,.settings-dashboard{padding:22px 18px max(28px, calc(env(safe-area-inset-bottom) + 20px))}.meibography-overlay-controls,.meibography-review-controls{bottom:max(24px, calc(env(safe-area-inset-bottom) + 6px));padding:10px}}@media (width<=640px){.layout-shell{--header-height:var(--header-height-mobile)}.header{min-height:var(--header-height-mobile);padding:10px 14px}.layout-shell{--sidebar-offset:0px}.header-title{font-size:20px}.header-subtitle{font-size:12px}.notification-bell{display:none}.user-info{padding-right:10px}.user-role{display:none}.patients-page,.reports-dashboard,.clinics-dashboard,.settings-dashboard{padding:16px 12px 24px}.patients-workspace-card,.tests-workspace-card,.clinics-workspace-card,.patients-hero-card,.dashboard-summary-card,.dashboard-hero,.settings-profile-card{border-radius:22px}.ocular-analysis-preview-grid,.meibography-analysis-preview-grid{grid-template-columns:1fr}.meibography-overlay-controls,.meibography-review-controls{width:calc(100% - 16px);left:50%;bottom:max(18px, calc(env(safe-area-inset-bottom) + 4px));transform:translate(-50%)}.meibography-active-target-pill{text-align:center;justify-content:center;width:100%}.reports-row{grid-template-columns:1fr;gap:6px}.dashboard-hero,.dashboard-summary-card{flex-direction:column;align-items:stretch;margin:0 0 18px;padding:22px 20px}.dashboard-hero-stats{grid-template-columns:1fr;min-width:0}.tests-toolbar,.clinics-toolbar{flex-direction:column;align-items:stretch;padding:12px 16px 18px}.settings-content{width:calc(100% - 32px)}.tests-toolbar-actions{flex-direction:column;align-items:stretch}.tests-filter,.tests-add-button,.clinics-add-button{width:100%}.tests-row,.clinics-row{padding:16px}.tests-workspace-card,.clinics-workspace-card,.clinics-table{margin:0}.settings-password-row{justify-content:stretch}.settings-password-button{width:100%}.clinics-modal{padding:20px}.clinics-modal-actions{flex-direction:column}.reports-actions{gap:16px}.ocular-report-actions{flex-direction:column;width:100%;display:flex}.ocular-image-tools{grid-template-columns:1fr}}@media (width<=900px){.clinical-test-summary-grid,.clinical-test-fields-grid,.clinical-test-summary-grid-wide,.clinical-test-table-header,.clinical-test-table-row{grid-template-columns:1fr}.clinical-test-actions{flex-direction:column}.blink-counter-inline-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.blink-counter-hud{padding:16px 18px 22px}.blink-counter-hud-label,.blink-counter-hud-mode{font-size:11px}.blink-counter-hud-timer{font-size:28px}.blink-counter-hud-bpm{font-size:18px}}@media (width<=720px){.clinical-module-stage,.clinical-test-panel{padding:16px}.clinical-module-stage-card,.clinical-test-card{border-radius:22px;padding:18px}.deq-questionnaire{gap:18px}.contrast-setup{gap:20px;min-height:auto;padding:28px 12px 20px}.contrast-setup-copy{font-size:18px}.contrast-setup-options{flex-direction:column;align-items:flex-start;gap:14px}.contrast-setup-option{font-size:18px}.contrast-setup-proceed{min-width:140px;min-height:52px;font-size:20px}.contrast-setup-skip{font-size:18px}.bulbar-redness-reference-shell{gap:16px;width:100%}.clinical-test-card-bulbar{border-radius:24px;padding:18px 16px 22px}.bulbar-redness-control-row{grid-template-columns:1fr;gap:10px;width:100%;display:grid}.bulbar-redness-camera-segmented-control{width:100%}.bulbar-redness-camera-btn{width:100%;min-height:44px;font-size:14px}.bulbar-redness-camera-shell{border-radius:20px;padding:14px}.bulbar-redness-camera-stage{border-radius:18px;height:190px;min-height:0}.bulbar-redness-camera-overlay{padding:20px}.bulbar-redness-camera-target{width:min(58%,210px)}.bulbar-redness-camera-overlay-copy{max-width:260px;font-size:15px}.bulbar-redness-gallery{grid-template-columns:minmax(0,1fr);gap:12px}.bulbar-redness-card{height:auto}.bulbar-redness-save-btn{width:100%;min-width:0;min-height:54px;font-size:18px}.osdi-grid-header,.osdi-row,.osdi-grid-header.has-na,.osdi-row.has-na{grid-template-columns:1fr;gap:12px}.osdi-grid-header{padding:12px}.osdi-grid-header-spacer{display:none}.osdi-grid-column-title{text-align:left;padding:0}.osdi-row{padding:12px 0}.osdi-row-question{padding:0}.osdi-choice-pill{justify-self:stretch;width:100%;min-height:36px}.osdi-subtotal-row,.osdi-formula-line{justify-content:space-between;align-items:flex-start;font-size:15px}.osdi-formula-caption{font-size:14px}.osdi-score-summary{grid-template-columns:1fr}.deq-questionnaire-title{font-size:26px}.deq-section-title{font-size:20px}.deq-question-prompt{font-size:15px}.deq-response-grid{grid-template-columns:1fr}.deq-response-option{border-bottom:1px solid #1f2937;border-right:none;grid-template-rows:auto auto}.deq-response-option:last-child{border-bottom:none}.blink-counter-card{border-radius:20px;padding:18px}.blink-counter-preview-shell{min-height:240px}.blink-counter-inline-summary{grid-template-columns:1fr}.blink-counter-hud{padding:14px 14px 18px}.blink-counter-hud-top{grid-template-columns:1fr auto}.blink-counter-hud-mode{display:none}.blink-counter-hud-timer{font-size:24px}.blink-counter-hud-bpm{font-size:16px}}html,body,#root{min-width:0;min-height:100%}img,video,canvas,svg{max-width:100%}.header,.header-shell,.header-right,.user-info,.sidebar,.main-content,.page-container,.patients-page,.reports-dashboard,.clinics-dashboard,.settings-dashboard,.admin-dashboard-page,.meibography-container,.meibography-main,.meibography-content,.meibography-live-workspace{min-width:0}.patients-page,.reports-dashboard,.clinics-dashboard,.settings-dashboard,.admin-dashboard-page{padding-left:var(--page-padding-x);padding-right:var(--page-padding-x);padding-top:var(--page-padding-y);padding-bottom:max(32px, calc(env(safe-area-inset-bottom) + 24px))}.patients-hero-title,.dashboard-summary-title,.dashboard-hero-title,.settings-title,.clinics-modal-title,.settings-modal-title{overflow-wrap:anywhere}.patients-action-bar,.tests-toolbar,.clinics-toolbar,.tests-toolbar-actions,.patients-hero-stats,.dashboard-hero-stats,.admin-management-grid{min-width:0}.patients-action-bar,.tests-toolbar,.clinics-toolbar{flex-wrap:wrap}.search-container,.tests-search,.clinics-search{min-width:min(100%,260px)}.filter-tabs{scrollbar-width:none;max-width:100%;overflow-x:auto}.filter-tabs::-webkit-scrollbar{display:none}.filter-tab,.add-patient-btn,.tests-add-button,.clinics-add-button,.tests-filter,.settings-password-button{max-width:100%}.patients-table,.tests-table,.clinics-table,.reports-table{width:100%}.table-cell,.tests-cell-date,.tests-cell-patient,.tests-cell-type,.tests-cell-doctor,.clinics-cell-name,.clinics-cell-address,.reports-row>*{overflow-wrap:anywhere;min-width:0}.tests-actions,.patient-actions,.clinics-actions{flex-shrink:0;min-width:max-content}.meibography-container{width:100%;min-height:calc(100vh - var(--header-height));height:calc(100vh - var(--header-height))}.meibography-live-workspace{min-height:0;padding-bottom:max(24px, calc(env(safe-area-inset-bottom) + 18px))}.meibography-camera-container-full{width:min(100%,880px);height:clamp(300px,52dvh,580px)}.meibography-action-toolbar{min-width:0;max-width:100%}#capture-action-controls{width:min(100%,1100px);margin:0 auto}#capture-action-controls .meibography-capture-segmented-control{min-width:0}.meibography-capture-segmented-control{min-width:min(560px,100%)}.meibography-review-segmented-control,.meibography-tear-segmented-control,.meibography-blink-segmented-control{min-width:0;max-width:100%}@media (width<=900px){.patients-hero-title,.dashboard-summary-title,.dashboard-hero-title{font-size:clamp(26px,6vw,34px)}.patients-hero-card,.dashboard-summary-card,.dashboard-hero{padding:clamp(18px,4vw,28px)}.patients-hero-stats,.dashboard-hero-stats{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}.patients-workspace-card,.tests-workspace-card,.clinics-workspace-card,.reports-table,.admin-table-shell{overflow-x:visible}.patients-table .table-header,.tests-row-header,.clinics-row-header,.reports-row.reports-header{display:none}.patients-table,.tests-table,.clinics-table,.reports-table{box-shadow:none;background:0 0;gap:12px;padding:12px;display:grid}.patients-table .table-row,.tests-row,.clinics-row,.reports-row{background:#fff;border:1px solid #d7def5e6;border-radius:18px;grid-template-columns:1fr;gap:10px;padding:16px;display:grid;box-shadow:0 10px 24px #11216c0f}.patients-table .table-row .table-cell,.table-cell,.tests-cell-date,.tests-cell-time,.tests-cell-patient,.tests-cell-type,.tests-cell-doctor,.clinics-cell-name,.clinics-cell-address,.clinics-actions,.reports-row>*{text-align:left;grid-template-columns:minmax(96px,.35fr) minmax(0,1fr);justify-content:stretch;align-items:center;gap:12px;width:100%;padding:0;display:grid}.patients-table .table-row .table-cell:before,.tests-cell-date:before,.tests-cell-time:before,.tests-cell-patient:before,.tests-cell-type:before,.tests-cell-doctor:before,.tests-actions:before,.clinics-cell-name:before,.clinics-cell-address:before,.clinics-actions:before,.reports-row>:before{color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase;font-size:12px;font-weight:800}.patients-table .table-row .table-cell:first-child:before{content:"Patient"}.patients-table .table-row .table-cell:nth-child(2):before{content:"Age / Sex"}.patients-table .table-row .table-cell:nth-child(3):before{content:"Mobile"}.patients-table .table-row .table-cell:nth-child(4):before{content:"Action"}.tests-cell-date:before{content:"Date"}.tests-cell-time:before{content:"Time"}.tests-cell-patient:before{content:"Patient"}.tests-cell-type:before{content:"Test"}.tests-cell-doctor:before{content:"Doctor"}.tests-actions:before{content:"Action"}.clinics-cell-name:before{content:"Clinic"}.clinics-cell-address:before{content:"Address"}.clinics-actions:before{content:"Action"}.reports-row>:first-child:before{content:"Patient"}.reports-row>:nth-child(2):before{content:"Date"}.reports-row>:nth-child(3):before{content:"Status"}.reports-row>:nth-child(4):before{content:"Action"}.patient-actions,.tests-actions,.clinics-actions,.reports-actions{flex-wrap:wrap;justify-content:stretch}.action-link,.tests-action-button{min-width:min(100%,140px)}.settings-profile-row,.clinics-view-row{flex-direction:column;align-items:flex-start;gap:6px}.settings-profile-value{text-align:left}}@media (width<=760px){.header{gap:10px}.header-brand-lockup{border-right:none;padding-right:0}.header-brand-mark,.user-avatar{border-radius:12px;width:36px;height:36px}.header-logo-img{width:20px;height:20px}.header-right{gap:8px;padding-left:0}.user-info{gap:8px;padding:6px}.user-copy{max-width:34vw}.user-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.page-container{border-radius:20px;width:100%;padding:20px}.patients-action-bar,.tests-toolbar,.clinics-toolbar{gap:12px}.search-container,.tests-search,.clinics-search,.tests-toolbar-actions{width:100%;max-width:none}.filter-tabs{justify-content:flex-start}.filter-tab{flex:1 0 auto;padding-inline:16px}.patients-table .table-row .table-cell,.table-cell,.tests-cell-date,.tests-cell-patient,.tests-cell-type,.tests-cell-doctor,.clinics-cell-name,.clinics-cell-address,.clinics-actions,.reports-row>*{grid-template-columns:1fr;gap:4px}.patient-actions,.tests-actions,.reports-actions{grid-template-columns:1fr;gap:8px;display:grid}.delete-icon,.clinics-icon-button{width:100%;min-height:42px}}@media (width<=1024px){select,input,textarea,.meibography-patient-select{font-size:16px!important}.header{min-height:var(--header-height-tablet);height:var(--header-height-tablet);padding:max(8px, env(safe-area-inset-top,0px)) max(16px, env(safe-area-inset-right,0px)) 8px max(16px, env(safe-area-inset-left,0px))}.header-brand-lockup{gap:10px;padding-right:12px}.header-brand-title{font-size:14px}.header-status-pill{display:none!important}.user-role{white-space:nowrap;text-overflow:ellipsis;max-width:140px;font-size:11px;overflow:hidden}.meibography-container,.meibography-container.meibography-container-no-side-panel{-webkit-overflow-scrolling:touch;background:#f8fafc;width:100%!important;max-width:100vw!important;height:auto!important;min-height:calc(100dvh - var(--header-height-tablet))!important;margin-top:var(--header-height-tablet)!important;flex-direction:column!important;display:flex!important;overflow:hidden auto!important}.meibography-sidebar{background:#fff!important;border-bottom:1px solid #dce8f2!important;border-right:none!important;flex-shrink:0!important;width:100%!important;min-width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;padding:0!important;overflow:visible!important;box-shadow:0 2px 10px #11216c0d!important}.meibography-header{border-bottom:1px solid #f1f5f9!important;flex-flow:wrap!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;padding:10px 18px 8px!important;display:flex!important}.meibography-header-title{align-items:center!important;gap:10px!important;margin-bottom:0!important;display:flex!important}.meibography-back-button{border-radius:12px!important;width:36px!important;height:36px!important}.meibography-title{font-size:18px!important;font-weight:700!important}.meibography-patient-section{flex:auto!important;align-items:center!important;gap:10px!important;min-width:240px!important;max-width:420px!important;margin:0!important;display:flex!important}.meibography-patient-label{display:none!important}.meibography-patient-select{border-radius:12px!important;width:100%!important;padding:8px 14px!important;font-size:15px!important}.meibography-patient-card{border-radius:12px!important;gap:8px!important;margin-top:0!important;padding:6px 12px!important}.meibography-patient-avatar{width:30px!important;height:30px!important;margin-right:0!important;font-size:13px!important}.meibography-patient-name{font-size:13px!important}.meibography-patient-details{font-size:11px!important}.meibography-nav{-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;padding:8px 16px 10px!important;overflow-x:auto!important}.meibography-nav::-webkit-scrollbar{display:none!important}.meibography-nav-list{white-space:nowrap!important;scrollbar-width:none!important;flex-direction:row!important;gap:8px!important;margin:0!important;padding:2px 0 4px!important;list-style:none!important;display:flex!important;overflow-x:auto!important}.meibography-nav-item{flex-shrink:0!important;margin:0!important}.meibography-nav-link{color:#475569!important;background:#f1f5f9!important;border:1px solid #e2e8f0!important;border-radius:9999px!important;justify-content:center!important;align-items:center!important;padding:7px 16px!important;font-size:13px!important;font-weight:600!important;text-decoration:none!important;transition:all .18s!important;display:inline-flex!important}.meibography-nav-link.active{background:var(--brand-gradient)!important;color:#fff!important;border-color:#0000!important;box-shadow:0 3px 12px #2850d84d!important}.meibography-workspace-scrollable{width:100%!important;padding:14px 16px max(24px, env(safe-area-inset-bottom,0px))!important;flex-direction:row!important;align-items:flex-start!important;gap:16px!important;height:auto!important;min-height:0!important;display:flex!important;overflow:visible!important}.meibography-main{flex:58%!important;min-width:0!important;padding:0!important;overflow:visible!important}.meibography-content,.meibography-live-workspace{width:100%!important;height:auto!important;min-height:0!important;padding:0!important;overflow:visible!important}.meibography-camera-container-full{border-radius:18px!important;width:100%!important;max-width:100%!important;height:clamp(300px,46vh,500px)!important}.meibography-camera-eye-selector{border-radius:14px!important;width:calc(100% - 16px)!important;padding:6px 8px!important;top:8px!important}#capture-action-controls{flex-direction:column!important;gap:8px!important;width:100%!important;max-width:100%!important;margin:8px auto 0!important;padding:8px 0!important;display:flex!important}#capture-action-controls .meibography-active-target-pill{border-radius:9999px!important;justify-content:center!important;align-items:center!important;width:100%!important;height:auto!important;min-height:38px!important;margin:0!important;padding:8px 20px!important;font-size:13px!important;font-weight:600!important;display:flex!important;box-shadow:0 2px 8px #11216c0f!important}#capture-action-controls .meibography-capture-segmented-control{width:100%!important;min-width:0!important}#capture-action-controls .meibography-capture-segmented-control .track{--segmented-padding:4px;border-radius:16px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;height:auto!important;min-height:48px!important;display:grid!important}#capture-action-controls .meibography-capture-segmented-control button,#capture-action-controls .meibography-capture-camera-trigger{border-radius:12px!important;gap:6px!important;height:auto!important;min-height:40px!important;padding:8px 10px!important;font-size:12.5px!important;font-weight:600!important}.ocular-panel-wrapper{flex:0 0 320px!important;width:320px!important;min-width:320px!important;height:auto!important;position:relative!important}.ocular-panel-wrapper--open{width:320px!important;min-width:320px!important}.ocular-panel-wrapper--closed{width:36px!important;min-width:36px!important}.ocular-analysis-panel{background:#fff!important;border:1px solid #dce8f2!important;border-radius:18px!important;width:320px!important;min-width:320px!important;padding:16px 14px!important;box-shadow:0 4px 18px #11216c0f!important}.ocular-preview-grid,.ocular-analysis-preview-grid,.ocular-analysis-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;display:grid!important}.ocular-save-report-btn,.ocular-download-btn{border-radius:12px!important;min-height:46px!important}.meibography-review-toolbar{grid-template-columns:1fr;display:grid}.meibography-review-toolbar>*,.meibography-review-segmented-control,.meibography-tear-segmented-control,.meibography-blink-segmented-control{width:100%}}@media (width>=1025px) and (height<=850px){.header{height:64px;min-height:64px;padding:8px 20px}.meibography-container{height:calc(100vh - 64px);margin-top:64px}.meibography-sidebar{width:230px;min-width:230px}.meibography-camera-container-full{height:clamp(280px,100vh - 220px,480px)}.ocular-panel-wrapper--open{width:300px;min-width:300px}.ocular-analysis-panel{padding:14px}}@media (width<=767px){.meibography-workspace-scrollable{flex-direction:column!important;padding:10px 12px 28px!important}.meibography-main{flex:100%!important;width:100%!important}.ocular-panel-wrapper{flex:100%!important;width:100%!important;min-width:100%!important;margin-top:12px!important}.ocular-panel-wrapper--open,.ocular-panel-wrapper--closed{width:100%!important;min-width:100%!important}.ocular-panel-toggle-btn{display:none!important}.ocular-analysis-panel{width:100%!important;min-width:100%!important}}.mobile-nav-bar{background-color:var(--surface-strong);border-top:1px solid var(--line);z-index:1000;height:64px;padding-bottom:env(safe-area-inset-bottom);white-space:nowrap;-webkit-overflow-scrolling:touch;justify-content:space-around;align-items:center;display:flex;position:fixed;bottom:0;left:0;right:0;overflow-x:auto;box-shadow:0 -4px 16px #11216c14}.mobile-nav-link{min-width:70px;height:100%;color:var(--text-soft);cursor:pointer;background:0 0;border:none;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;font-family:inherit;text-decoration:none;transition:color .15s;display:inline-flex}.mobile-nav-link:hover,.mobile-nav-link.active{color:var(--accent)}.mobile-nav-icon{width:20px;height:20px;color:inherit}.mobile-nav-icon svg{width:100%;height:100%}.mobile-nav-label{letter-spacing:-.01em;text-transform:uppercase;font-size:10px;font-weight:700}.mobile-signout-btn-nav{color:#ef4444!important}.mobile-signout-btn-nav:hover{background:#ef44440d;color:#dc2626!important}.layout-mobile .main-content{padding-bottom:80px!important}.segmented-control{justify-content:center;width:100%;min-width:0;margin-inline:auto;display:flex}.segmented-control .track{--segmented-padding:6px;grid-template-columns:repeat(var(--segmented-count), minmax(0, 1fr));width:100%;min-width:0;padding:var(--segmented-padding);isolation:isolate;background:linear-gradient(#f9fbfffa 0%,#ebf1f8fa 100%);border:1px solid #c2cddceb;border-radius:9999px;align-items:stretch;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 38px #1a304d24,inset 0 1px #fffffffa,inset 0 -1px #c3d0e0b3}.segmented-control .compact{--segmented-padding:4px}.segmented-control .track:before{content:"";pointer-events:none;background:radial-gradient(circle at 0 0,#4f83ff24,#0000 40%),linear-gradient(135deg,#ffffff6b,#0000 58%);position:absolute;inset:0}.segmented-control .indicator{top:var(--segmented-padding);bottom:var(--segmented-padding);left:var(--segmented-padding);width:calc((100% - (var(--segmented-padding) * 2)) / var(--segmented-count));background:linear-gradient(135deg, var(--segmented-indicator-start) 0%, var(--segmented-indicator-middle) 52%, var(--segmented-indicator-end) 100%);box-shadow:inset 0 1px 0 #ffffff40, inset 0 -8px 18px #ffffff0f, 0 14px 28px var(--segmented-indicator-shadow);transform:translateX(calc(var(--segmented-index) * 100%));pointer-events:none;border-radius:9999px;transition:transform .36s cubic-bezier(.22,1,.36,1),box-shadow .26s,background .28s;position:absolute}.segmented-control .button{appearance:none;z-index:1;color:#425466;width:100%;min-width:0;height:auto;min-height:clamp(38px,5.5vh,50px);font:inherit;letter-spacing:-.01em;cursor:pointer;background:0 0;border:0;border-radius:9999px;justify-content:center;align-items:center;gap:clamp(4px,1vw,8px);padding:clamp(6px,1vh,10px) clamp(8px,1.6vw,16px);font-size:clamp(10px,1.1vw,14px);font-weight:700;transition:color .22s,transform .2s,background-color .22s,opacity .22s;display:inline-flex;position:relative}.segmented-control .shrink{min-width:0;overflow:hidden}.segmented-control .button:hover{color:#233447;background:#ffffff8c}.segmented-control .button:active{transform:scale(.985)}.segmented-control .button:focus-visible{box-shadow:0 0 0 4px var(--segmented-focus-ring);outline:none}.segmented-control .active{color:#fff;text-shadow:0 1px 2px #0f172a2e}.segmented-control .active:hover{color:#fff;background:0 0}.segmented-control .labelWrappedButton{align-items:center}.segmented-control .disabled{cursor:wait;opacity:.72}.segmented-control .icon{flex:0 0 clamp(13px,1.5vw,17px);width:clamp(13px,1.5vw,17px);height:clamp(13px,1.5vw,17px)}.segmented-control .label{white-space:nowrap;text-overflow:ellipsis;text-align:center;min-width:0;line-height:1.2;overflow:hidden}.segmented-control .labelWrap{white-space:nowrap;text-overflow:ellipsis;line-height:1.15;overflow:hidden}.segmented-control .customCell{z-index:1;justify-content:stretch;align-items:stretch;min-width:0;display:flex;position:relative}@media (width<=768px){.segmented-control .track{--segmented-padding:5px;border-radius:20px}.segmented-control .button{border-radius:16px}}@media (width<=640px){.segmented-control .track{--segmented-padding:4px;border-radius:16px}.segmented-control .button{border-radius:13px;gap:6px;min-height:48px;padding:0 12px;font-size:13px}}@media (width<=420px){.segmented-control .track{--segmented-padding:3px;border-radius:14px}.segmented-control .button{border-radius:11px;gap:4px;min-height:42px;padding:0 8px;font-size:12px}.segmented-control .icon{flex-basis:15px;width:15px;height:15px}}@media (height<=500px){.segmented-control .button{min-height:36px}.segmented-control .track{--segmented-padding:3px}}.segmented-control.compact .button,.segmented-control .compact .button{gap:5px;min-height:38px;padding:0 10px;font-size:13px}.segmented-control.compact .icon,.segmented-control .compact .icon{flex-basis:15px;width:15px;height:15px}.meibo-toolbar-row-1{grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;width:100%;display:grid}@media (width<=680px){.meibo-toolbar-row-1{flex-wrap:wrap!important;justify-content:center!important;gap:8px!important;display:flex!important}}.esp32-trigger-btn{color:#425466;letter-spacing:.01em;cursor:pointer;white-space:nowrap;z-index:5;background:linear-gradient(#f9fbfffa 0%,#ebf1f8f5 100%);border:1.5px solid #c2cddcd9;border-radius:9999px;flex-shrink:0;justify-content:center;align-self:center;align-items:center;gap:7px;min-height:44px;padding:8px 16px;font-size:13px;font-weight:600;transition:background .18s,border-color .18s,box-shadow .18s,color .18s,transform .12s;display:inline-flex;box-shadow:0 2px 8px #1a304d14,inset 0 1px #ffffffe6}.esp32-trigger-btn:hover{background:linear-gradient(#f5f8ff 0%,#e4edfa 100%);border-color:#648cc8b3;transform:translateY(-1px);box-shadow:0 4px 14px #1a304d21,inset 0 1px #fffffff2}.esp32-trigger-btn:active{transform:translateY(0);box-shadow:0 1px 4px #1a304d1a,inset 0 1px #ffffffd9}.esp32-trigger-btn:focus-visible{outline-offset:2px;outline:2px solid #3b82f699}.esp32-trigger-btn.esp32-trigger-btn--connected{color:#166534;background:linear-gradient(#f0fdf4fa 0%,#dcfce7f5 100%);border-color:#22c55e8c;box-shadow:0 2px 10px #22c55e24,inset 0 1px #ffffffe6}.esp32-trigger-btn.esp32-trigger-btn--connected:hover{background:linear-gradient(#ecfdf0 0%,#d2fae0 100%);border-color:#22c55ebf;box-shadow:0 4px 16px #22c55e2e,inset 0 1px #fffffff2}.esp32-trigger-indicator{background:#22c55e;border-radius:50%;flex-shrink:0;width:9px;height:9px;animation:1.8s ease-in-out infinite esp32-pulse;display:inline-block;box-shadow:0 0 #22c55e8c}@keyframes esp32-pulse{0%{transform:scale(1);box-shadow:0 0 #22c55e8c}50%{transform:scale(1.1);box-shadow:0 0 0 6px #22c55e00}to{transform:scale(1);box-shadow:0 0 #22c55e00}}.ocular-tear-summary-container{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-sizing:border-box;background:#0f172aa6;border:1px solid #38bdf833;border-radius:12px;width:100%;margin-bottom:16px;padding:10px;overflow:hidden}.ocular-tear-summary-header{border-bottom:1px solid #94a3b826;justify-content:space-between;align-items:center;min-width:0;margin-bottom:8px;padding-bottom:6px;display:flex}.ocular-tear-summary-title{letter-spacing:.06em;color:#38bdf8;text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis;font-size:10.5px;font-weight:800;overflow:hidden}.ocular-tear-summary-grid{box-sizing:border-box;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;display:grid}@media (width<=480px){.ocular-tear-summary-grid{grid-template-columns:1fr}}.ocular-tear-summary-card{cursor:pointer;box-sizing:border-box;background:#1e293bb3;border:1px solid #94a3b833;border-radius:8px;flex-direction:column;gap:5px;min-width:0;padding:6px;transition:all .2s;display:flex;overflow:hidden}.ocular-tear-summary-card:hover{background:#1e293be6;border-color:#38bdf880}.ocular-tear-summary-card.is-active{background:#0ea5e91f;border-color:#38bdf8;box-shadow:0 0 8px #38bdf840}.ocular-tear-summary-card-top{justify-content:space-between;align-items:center;gap:4px;min-width:0;display:flex}.ocular-tear-summary-eye-name{color:#f8fafc;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:10px;font-weight:700;overflow:hidden}.ocular-tear-summary-pill{letter-spacing:.02em;border-radius:4px;flex-shrink:0;padding:2px 4px;font-size:8.5px;font-weight:800}.ocular-tear-summary-pill.pill-active{color:#0f172a;background:#38bdf8}.ocular-tear-summary-pill.pill-inactive{color:#94a3b8;background:#94a3b833}.ocular-tear-summary-thumb-box{cursor:zoom-in;background:#020617;border:1px solid #94a3b833;border-radius:6px;width:100%;height:52px;overflow:hidden}.ocular-tear-summary-thumb-img{object-fit:cover;width:100%;height:100%}.ocular-tear-summary-thumb-placeholder{color:#64748b;background:#0f172a66;border:1px dashed #94a3b840;border-radius:6px;justify-content:center;align-items:center;width:100%;height:48px;font-size:10px;display:flex}.ocular-tear-summary-metrics-row{flex-direction:column;gap:2px;display:flex}.ocular-tear-metric-item{justify-content:space-between;font-size:10px;display:flex}.ocular-tear-metric-lbl{color:#94a3b8}.ocular-tear-metric-val{color:#f1f5f9;font-weight:700}.ocular-tear-summary-badge{text-align:center;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;border-radius:4px;width:100%;padding:3px 4px;font-size:8.5px;font-weight:700;overflow:hidden}.ocular-tear-summary-badge.badge-normal{color:#4ade80;background:#22c55e2e;border:1px solid #22c55e4d}.ocular-tear-summary-badge.badge-abnormal{color:#fb923c;background:#f973162e;border:1px solid #f973164d}.ocular-tear-summary-badge.badge-severe{color:#f87171;background:#ef44442e;border:1px solid #ef44444d}.ocular-tear-summary-badge.badge-idle{color:#94a3b8;background:#94a3b81f;border:1px dashed #94a3b840}.bulbar-redness-layout button{transition:all .2s cubic-bezier(.4,0,.2,1)}.bulbar-redness-layout button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #0000000f}.deq-card-option,.osdi-card-option{transition:all .15s}.deq-card-option:hover,.osdi-card-option:hover{transform:translateY(-1px);box-shadow:0 4px 8px #0000000a}.patients-modal-backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:2000;background:#0f172a99;justify-content:center;align-items:center;animation:.25s ease-out modalFadeIn;display:flex;position:fixed;inset:0}.patients-modal{background:#fff;border:1px solid #d7def5cc;border-radius:24px;width:min(90%,540px);padding:32px;animation:.3s cubic-bezier(.34,1.56,.64,1) modalSlideUp;position:relative;box-shadow:0 25px 50px -12px #0f172a40}.patients-modal-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.patients-modal-title{color:#0f2776;letter-spacing:-.02em;margin:0;font-size:20px;font-weight:800}.patients-modal-close{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:6px;transition:all .2s;display:flex}.patients-modal-close:hover{color:#0f172a;background:#f1f5f9}.patients-modal-form .form-group{margin-bottom:20px}.patients-modal-form .form-label{color:#334155;text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px;font-size:13px;font-weight:700;display:block}.patients-modal-form .form-input{color:#0f172a;box-sizing:border-box;background:#f8fafc;border:1.5px solid #cbd5e1;border-radius:12px;width:100%;padding:12px 16px;font-size:14.5px;transition:all .2s}.patients-modal-form .form-input:focus{background:#fff;border-color:#0f2776;outline:none;box-shadow:0 0 0 4px #0f27761a}.tear-meniscus-instruction-banner{z-index:100;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;pointer-events:none;white-space:nowrap;background:#0f2776d9;border:1px solid #fff3;border-radius:30px;align-items:center;gap:10px;padding:10px 20px;font-size:13px;font-weight:600;animation:.4s ease-out bannerSlideDown;display:flex;position:absolute;top:76px;left:50%;transform:translate(-50%);box-shadow:0 8px 32px #0000004d}.tear-meniscus-instruction-icon{font-size:15px}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalSlideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes bannerSlideDown{0%{opacity:0;transform:translate(-50%,-20px)}to{opacity:1;transform:translate(-50%)}}
