:root{--bg: #f5f8ff;--bg-2: #eef5ff;--card: #ffffff;--primary: #1677ff;--primary-strong: #0759d8;--primary-soft: #eaf3ff;--teal: #08b9aa;--text: #17233d;--muted: #7a869a;--border: #e5edf8;--shadow: 0 12px 34px rgba(29, 86, 165, .11);--app-bg-image: radial-gradient(circle at 18% 8%, rgba(104, 174, 255, .22), transparent 30%), linear-gradient(180deg, #f7fbff 0%, #eef5ff 44%, #f8fbff 100%);color:var(--text);background:var(--bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html{min-height:100%;background:var(--app-bg-image)}body{margin:0;min-width:320px;min-height:100vh;min-height:100dvh;overflow-x:hidden;background:var(--app-bg-image)}#root{min-height:100vh;min-height:100dvh;background:var(--app-bg-image)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh;min-height:100dvh;padding-bottom:calc(92px + env(safe-area-inset-bottom));background:var(--app-bg-image)}.page-frame{width:min(430px,100%);min-height:100vh;margin:0 auto;padding:24px 18px}.page-frame-detail{padding-top:36px}.page-frame-new-entry{padding-top:50px}.page-frame-tab-lower{padding-top:42px}.page-stack{display:grid;gap:16px}.app-card,.panel,.empty-state,.case-item,.sample-item{border:1px solid rgba(226,236,250,.95);border-radius:18px;background:#fffffff5;box-shadow:var(--shadow)}.panel,.app-card{padding:16px}.mobile-page-title{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;min-height:44px;text-align:center}.mobile-page-title h1,.app-hero h1,.page-top-title{margin:0;color:#11264b;font-size:23px;line-height:1.2;letter-spacing:0}.page-top-title{min-height:44px;display:grid;place-items:center;text-align:center;padding:0 56px}.result-page-title{margin-top:16px}.case-detail-page-title,.continue-page-title{margin-top:14px}.app-back-button,.icon-link{display:inline-grid;place-items:center;width:38px;height:38px;border:1px solid var(--border);border-radius:13px;background:var(--card);color:var(--primary);box-shadow:0 8px 18px #1677ff14}.case-create-page .mobile-page-title .app-back-button{position:fixed;top:calc(42px + env(safe-area-inset-top));left:max(24px,calc((100vw - 430px)/2 + 18px));z-index:20}.floating-page-back{position:fixed;z-index:20;border:1px solid var(--border)}.draggable-floating-back{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}.draggable-floating-back:active{cursor:grabbing}.case-create-page .mobile-page-title{grid-template-columns:1fr;padding:0 56px}.case-create-page .mobile-page-title h1{writing-mode:horizontal-tb;white-space:nowrap;text-align:center}.new-case-page{gap:10px;width:100%;max-width:100%;min-height:calc(100vh - 70px);margin:-50px 0 0;padding:96px 14px 34px;overflow-x:hidden;background:#f3faff}.new-case-page .mobile-page-title{position:fixed;top:0;left:50%;z-index:30;display:grid;grid-template-columns:36px auto minmax(0,1fr);column-gap:10px;align-items:center;width:min(430px,100%);min-height:80px;padding:42px 14px 0;transform:translate(-50%);background:#f3faffeb;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);text-align:left}.new-case-page .mobile-page-title h1{justify-self:start;color:#006eb8;font-size:22px;font-weight:900}.new-case-page .app-back-button{position:static!important;inset:auto!important;justify-self:start;width:34px;height:34px;border:0;border-radius:999px;background:#e9f5ff;color:#006eb8;box-shadow:none}.new-case-page .new-result-link{min-height:46px;border:0;border-radius:999px;background:#eaf4ff;color:#006eb8;font-size:15px;font-weight:800;box-shadow:none}.new-case-page:has(.new-result-link){padding-bottom:78px}.new-case-page form.form-grid{gap:8px}.new-case-page .app-card,.new-case-page .panel{border:0;border-radius:24px;background:#fffffff0;box-shadow:0 16px 36px #1d66a212}.new-case-page .form-card{padding:9px 12px}.new-case-page .field-head-row{margin-bottom:5px;padding:0 6px}.new-case-page .field-head-row>span,.new-case-page .field>span{color:#172033;font-size:15px;font-weight:900}.new-case-page .danger-compact-action{min-height:auto;border:0;background:transparent;color:#c81414;font-size:15px;font-weight:500}.new-case-page textarea,.new-case-page input,.new-case-page select{border:0;border-radius:10px;background:#eef2f6;font-size:16px;line-height:1.28;box-shadow:none}.new-case-page textarea{padding:5px 14px 6px;overflow-y:auto}.new-case-page textarea:focus,.new-case-page input:focus,.new-case-page select:focus{border-color:transparent;box-shadow:0 0 0 3px #006eb814}.new-case-page .admission-textarea{min-height:44px;height:44px}.new-case-page .exam-textarea,.new-case-page .requirement-textarea{min-height:28px;height:28px}.new-case-page .case-hint-card{padding:5px 10px;border-radius:18px}.new-case-page .case-hint-card .field{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px}.new-case-page .case-hint-card input{min-height:28px;border-radius:10px;font-size:16px}.new-case-page .recognition-card{display:grid;gap:4px;padding:0;border-radius:20px;background:#ffffffe0}.new-case-page .recognition-card>.secondary-action{min-height:36px;border:0;border-radius:20px;background:#fffffff0;color:#006eb8;box-shadow:0 12px 28px #1d66a20f}.new-case-page .recognition-expanded{display:grid;gap:5px;padding:7px 8px 8px;border-radius:20px;background:#fffffff5}.new-case-page .recognition-inline-grid{gap:6px}.new-case-page .recognition-inline-grid .field{gap:4px}.new-case-page .recognition-inline-grid .field>span{padding-left:4px;color:#64748b;font-size:11px;font-weight:800}.new-case-page .recognition-inline-grid select{min-height:28px;border-radius:8px;font-size:13px}.new-case-page .sample-match-list{gap:4px;margin-top:0}.new-case-page .match-title{margin:0;padding-left:4px;color:#172033;font-size:13px;font-weight:900}.new-case-page .sample-check{align-items:center;min-height:24px;padding:3px 8px;border:0;border-radius:999px;background:#fff;box-shadow:0 5px 14px #1d66a20d}.new-case-page .sample-check input{width:14px;min-height:14px;margin:0;accent-color:#0798f7}.new-case-page .sample-check span{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%}.new-case-page .sample-check strong{overflow:hidden;color:#334155;font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.new-case-page .sample-check small{display:inline;overflow:hidden;max-width:50px;color:#94a3b8;font-size:9px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.new-case-page .fold-row{min-height:24px;border:0;border-radius:14px;background:#fff;color:#334155;font-size:11px;box-shadow:0 5px 14px #1d66a20d}.new-case-page .prompt-strip{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.new-case-page .prompt-fold-row{min-height:27px;padding:0 8px}.new-case-page .plain-fold-action{color:#172033;font-size:15px;font-weight:900}.new-case-page .prompt-inline-actions button{color:#006eb8;font-size:14px;font-weight:700}.new-case-page .generate-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.new-case-page .generate-actions .inline-action{min-height:38px;border:0;border-radius:999px;background:#d5e8ff;color:#006eb8;font-size:14px;font-weight:800;box-shadow:none}.new-case-page .generate-actions .inline-action:first-child{background:#cfe3ff;color:#006eb8;box-shadow:none}.new-case-page .generate-actions .inline-action:nth-child(2){background:#e5e9ee;color:#006eb8}.new-sample-page{gap:10px;min-height:calc(100vh - 70px);padding-bottom:calc(72px + env(safe-area-inset-bottom))}.new-sample-page form.form-grid{gap:12px}.new-sample-page .new-sample-form-card{display:grid;gap:15px;padding:18px 16px;border-radius:26px}.new-sample-page .field{gap:6px}.new-sample-page .field>span{padding-left:2px;color:#243653;font-size:18px;font-weight:900}.new-sample-page .new-sample-title-row{margin-bottom:0;padding:0 2px}.new-sample-page .new-sample-title-row>span{color:#243653;font-size:18px;font-weight:900}.new-sample-page .danger-compact-action{min-height:auto;border:0;background:transparent;color:#c81414;font-size:14px;font-weight:700;box-shadow:none}.new-sample-page input,.new-sample-page select,.new-sample-page textarea{min-height:42px;height:42px;border-radius:14px;background:#f3f6f9;color:#172033;font-size:16px}.new-sample-page .new-sample-two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.new-sample-page .large-textarea{min-height:218px;height:218px;border-radius:16px;background:#f3f6f9;font-size:16px}.new-sample-page .sample-save-action{min-height:44px;height:44px;padding:0 16px;border:0;border-radius:999px;background:#dff1ff;color:#0798f7;font-size:16px;font-weight:900;box-shadow:0 8px 16px #0798f71a}.edit-sample-page{padding-bottom:calc(112px + env(safe-area-inset-bottom))}.edit-sample-page form.form-grid{gap:10px}.edit-sample-page .sample-inline-card{padding:10px 12px;border-radius:22px}.edit-sample-page .sample-inline-card .field{grid-template-columns:88px minmax(0,1fr)}.edit-sample-page .sample-inline-card .field>span{color:#243653;font-size:15px;font-weight:900}.edit-sample-page input,.edit-sample-page select{min-height:38px;border:0;border-radius:12px;background:#eef2f6;font-size:16px;box-shadow:none}.edit-sample-page .sample-record-picker-panel{padding:12px;border:0;border-radius:24px;background:#fff;box-shadow:0 16px 36px #1d66a212}.edit-sample-page .primary-action.full-width{min-height:44px;border-radius:999px;background:#dff1ff;color:#0798f7;font-size:16px;box-shadow:0 8px 16px #0798f71a}.app-hero{position:relative;display:flex;justify-content:space-between;align-items:center;min-height:178px;padding:28px 4px 18px}.dashboard-page{margin-top:10px}.dashboard-page .app-hero{min-height:166px;padding-top:18px}.ios-dashboard-page{position:relative;display:block;width:100%;max-width:100%;min-height:calc(100vh - 70px);margin:-24px 0 0;padding:64px 20px 150px;overflow-x:hidden;background:#f3faff}.ios-home-title{display:flex;align-items:center;justify-content:space-between;min-height:auto;border:0;background:transparent}.ios-home-title h1{margin:0;color:#0798f7;font-size:28px;font-weight:900;line-height:1.2;letter-spacing:0}.ios-home-title p{margin:8px 0 0;color:#475569;font-size:14px;font-weight:700}.ios-notice-button{display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:999px;background:#ffffffeb;color:#0798f7;box-shadow:0 10px 24px #2572ab14}.ios-home-search{grid-template-columns:auto minmax(0,1fr);min-height:48px;width:100%;margin:28px 0 24px;padding:0 16px;border:0;border-radius:999px;background:#edf5fb;box-shadow:none;color:#9ca3af}.ios-home-search input{width:100%;min-height:48px;text-align:left;color:#1f2937;font-size:16px}.ios-home-search input::placeholder{color:#1f2937;opacity:1}.ios-menu-list,.ios-card-list{display:grid;background:transparent}.ios-menu-list{grid-template-columns:1fr 1fr;gap:16px;margin-top:0;border:0}.ios-menu-row{display:grid;grid-template-columns:1fr;align-content:end;gap:20px;min-height:152px;padding:20px;border-radius:28px;color:#151923;background:#fffffff0;box-shadow:0 18px 34px #1d66a214}.ios-menu-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:999px}.ios-menu-icon-green{background:#ecf9ff;color:#0798f7}.ios-menu-icon-teal{background:#e9fbf8;color:#21c8b5}.ios-menu-icon-gray{background:#f2f6fa;color:#8a97a8}.ios-action-card strong{display:block;color:#151923;font-size:18px;font-weight:900;line-height:1.25}.ios-action-card small{display:block;margin-top:4px;color:#9aa4b2;font-size:13px;line-height:1.2}.ios-list-section{display:grid;gap:0;margin-top:28px}.ios-section-title{display:flex;align-items:center;justify-content:space-between;min-height:34px;padding:0 4px 10px;border:0;background:transparent}.ios-section-title h2{margin:0;color:#151923;font-size:17px;font-weight:900}.ios-section-title .small-link{display:inline-flex;align-items:center;gap:2px;color:#0798f7;font-size:14px;font-weight:800}.ios-card-list{overflow:hidden;border-radius:28px;background:#fffffff2;box-shadow:0 18px 36px #1d66a214}.ios-case-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:78px;padding:12px 20px;border-bottom:1px solid #eef3f7;background:transparent}.ios-case-row:last-child{border-bottom:0}.ios-work-row{grid-template-columns:minmax(0,1fr) auto;min-height:64px}.ios-recent-work-card{border-radius:22px}.ios-case-main{display:grid;gap:5px;min-width:0}.ios-case-main strong{display:flex;align-items:baseline;gap:7px;overflow:hidden;color:#151923;font-size:16px;font-weight:900;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.ios-case-demographics{color:#9aa4b2;font-size:12px;font-weight:700}.ios-case-main small{overflow:hidden;color:#64748b;font-size:14px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.ios-case-meta{display:grid;justify-items:end;gap:8px;min-width:68px}.ios-case-meta time{color:#a4afbd;font-size:12px;line-height:1}.ios-dashboard-page .status-pill{min-height:22px;padding:0 8px;border-radius:999px;font-size:12px;font-weight:800}.ios-dashboard-page .status-pill.active{background:#effafe;color:#0798f7}.ios-dashboard-page .status-pill.done{background:#f2f6fa;color:#8a97a8}.ios-empty-row{display:flex;align-items:center;gap:8px;min-height:64px;padding:0 16px;border-bottom:1px solid #e8e8e8;background:#fff;color:#8a8a8a;font-size:14px}.ios-floating-create{position:fixed;right:max(24px,calc((100vw - 390px)/2 + 24px));bottom:calc(88px + env(safe-area-inset-bottom));z-index:19;display:grid;place-items:center;width:58px;height:58px;border-radius:999px;background:#0798f7;color:#fff;box-shadow:0 14px 28px #0798f747}.app-hero-copy{display:grid;gap:10px}.hello-line{margin:10px 0 0;color:#243653;font-size:17px;font-weight:700}.app-hero-copy .muted-copy{white-space:nowrap}.doctor-badge{display:grid;place-items:center;width:108px;height:108px;border-radius:38px;background:linear-gradient(145deg,#ffffffe0,#dbedffc7),radial-gradient(circle at 30% 30%,#ffffff 0 18%,transparent 19%);color:var(--primary);box-shadow:0 20px 40px #4288e633}.app-search,.search-box{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:54px;padding:0 14px;border:1px solid #e2eaf6;border-radius:17px;background:#fffffff5;color:#8a97aa;box-shadow:0 10px 22px #3668b114}.search-box{grid-template-columns:auto minmax(0,1fr);min-height:48px;border-radius:15px;box-shadow:none}.app-search input,.search-box input{min-height:46px;padding:0;border:0;background:transparent;box-shadow:none}.app-search input:focus,.search-box input:focus{border-color:transparent;box-shadow:none}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick-card{display:grid;align-content:end;gap:8px;min-height:138px;padding:18px;border-radius:18px;color:#fff;box-shadow:0 18px 30px #1677ff3d}.primary-quick-card{background:linear-gradient(145deg,#fff3f8,#ffe7f0);color:#9b2f5d;box-shadow:0 18px 30px #e75b921f}.teal-quick-card{background:linear-gradient(145deg,#effcf6,#ddf8eb);color:#15734b;box-shadow:0 18px 30px #18a6661c}.quick-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#fff3}.primary-quick-card .quick-icon,.teal-quick-card .quick-icon{background:#ffffffb8}.primary-quick-card .quick-icon{color:#d94f8a}.teal-quick-card .quick-icon{color:#19a464}.quick-card strong{font-size:19px;line-height:1.2}.quick-card small{color:#ffffffe0;font-size:13px;line-height:1.35}.primary-quick-card small{color:#9b2f5db8}.teal-quick-card small{color:#15734bb8}.section-title,.page-heading,.page-actions,.sample-head,.sample-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-title h2{margin:0;color:#14294b;font-size:18px;line-height:1.25}.section-title span,.small-link{color:var(--muted);font-size:13px}.recent-section{display:grid;gap:10px}.recent-section .section-title{padding:0 4px}.recent-case-list{display:grid;gap:10px}.recent-case-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:82px;padding:14px 16px}.recent-case-row:last-child{border-bottom:0}.recent-case-row strong{display:flex;gap:8px;align-items:baseline;color:#17233d;font-size:15px;line-height:1.25}.recent-case-row strong span{color:#66758c;font-size:12px;font-weight:600}.recent-case-row small{display:block;margin-top:5px;overflow:hidden;color:#66758c;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.recent-case-meta{display:grid;justify-items:end;gap:7px}.recent-case-meta time{color:#8b96a8;font-size:12px}.status-pill{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;font-size:12px;font-weight:800}.status-pill.active,.record-status.generated{background:#eef6ff;color:#5d96e8}.status-pill.done{background:#edf3fb;color:#60718a}.empty-mini{display:flex;align-items:center;gap:8px;min-height:62px;color:var(--muted);font-size:14px}.form-grid{display:grid;gap:14px}.form-card{padding:16px}.field{display:grid;gap:10px}.field>span{color:#17233d;font-size:15px;font-weight:800}.sample-inline-card{padding:12px 16px}.sample-inline-card .field{grid-template-columns:82px minmax(0,1fr);align-items:center;gap:10px}.sample-inline-card .field>span{white-space:nowrap}.sample-inline-card input,.sample-inline-card select{min-height:42px}.sample-inline-card .priority-input{min-height:36px}input,select,textarea{width:100%;border:1px solid #dfe8f5;border-radius:14px;background:#fbfdff;color:var(--text);font-size:16px;outline:none}input,select{min-height:48px;padding:0 13px}.priority-input{min-height:38px;padding:0 11px}textarea{min-height:128px;resize:vertical;padding:13px;line-height:1.58}.admission-textarea{min-height:120px}.exam-textarea{min-height:92px}.requirement-textarea{min-height:78px}.field-head-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.field-head-row>span{color:#17233d;font-size:15px;font-weight:800}.case-hint-card .field{grid-template-columns:92px minmax(0,1fr);align-items:center}.recognition-inline-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.recognition-inline-grid .field{gap:6px}.recognition-inline-grid select{min-height:42px;padding:0 10px;font-size:14px}.time-rule-card{padding:10px 14px}.time-rule-card .fold-row{min-height:38px;border-radius:13px;font-size:14px}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 4px #1677ff1f}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sub-panel{display:grid;gap:10px;padding:12px;border:1px solid #e4edf8;border-radius:16px;background:#f8fbff}.primary-action,.secondary-action,.danger-action,.back-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;border-radius:15px;padding:0 16px;font-weight:800}.primary-action{width:100%;border:0;background:linear-gradient(135deg,#2587ff,#0f6dff);color:#fff;box-shadow:0 14px 24px #1677ff40}.soft-primary-action{border:1px solid rgba(120,174,255,.45);background:linear-gradient(135deg,#dff0ff,#c8e4ff);color:#1677ff;box-shadow:0 10px 18px #1677ff1f}.secondary-action{flex:1 1 100%;border:1px solid #cfe0f7;background:#fff;color:var(--primary)}.inline-action{width:auto;flex:1 1 160px}.full-width{width:100%;flex-basis:100%}.compact-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;border:1px solid #d7e4f5;border-radius:12px;padding:0 11px;background:#fff;color:var(--primary);font-size:13px;font-weight:800;white-space:nowrap}.danger-action,.danger-compact-action{border-color:#ffd6d9;background:#fff7f8;color:#d6424d}.action-row{display:flex;flex-wrap:wrap;gap:10px}.result-save-actions{position:sticky;bottom:calc(78px + env(safe-area-inset-bottom));z-index:8;padding:10px 0 0;background:linear-gradient(180deg,#f5f8ff00,#f5f8fff5 30%)}.generate-actions .inline-action{min-height:44px;flex:1 1 0;width:auto;border:1px solid rgba(120,174,255,.45);background:linear-gradient(135deg,#dff0ff,#c8e4ff);color:#1677ff;font-size:15px;box-shadow:0 10px 18px #1677ff1f}.fold-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;border:1px solid #dfe8f5;border-radius:14px;background:#fff;color:#1f3355;padding:0 12px;text-align:left}.fold-row span{display:inline-flex;align-items:center;gap:6px;font-weight:800;line-height:1.35}.fold-row small{color:var(--primary);white-space:nowrap}.rule-preview{margin:10px 0 0;padding:12px;border-radius:14px;background:#f3f7fd;color:#30415f;font:inherit;font-size:13px;line-height:1.58;white-space:pre-wrap}.sample-match-list{display:grid;gap:9px;margin-top:10px}.match-title{margin:2px 0;color:#17233d;font-size:14px;font-weight:800}.sample-check{display:flex;align-items:flex-start;gap:9px;padding:12px;border:1px solid #e4edf8;border-radius:14px;background:#fbfdff}.sample-check input{width:auto;min-height:auto;margin-top:3px}.sample-check span{display:grid;gap:4px;min-width:0}.sample-check strong{color:#17233d;font-size:14px;line-height:1.35}.sample-check small,.muted-copy,.save-hint,.error-hint{margin:0;color:var(--muted);line-height:1.6}.save-hint{color:#0d9360}.error-hint{color:#cf3f4b}.prompt-strip{padding:0}.prompt-fold-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:46px;padding:0 12px}.plain-fold-action,.plain-fold-toggle,.prompt-inline-actions button{border:0;background:transparent;color:var(--primary);padding:0;font-weight:800}.plain-fold-action{color:#17233d;text-align:left}.prompt-inline-actions{display:inline-flex;gap:12px}.prompt-preview-textarea,.large-textarea{min-height:300px;white-space:pre-wrap}.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:12px}.stats-grid span{min-height:36px;padding:8px 10px;border-radius:12px;background:#f4f8fe;color:#53637c;font-size:13px}.compact-stats-grid{grid-template-columns:1fr;margin:-4px 0 0}.continue-prompt-stats{margin:0;padding:0 12px 12px}.record-draft-list{display:grid;gap:12px}.record-draft-card{display:grid;gap:10px;padding:14px;border:1px solid #e4edf8;border-radius:16px;background:#fbfdff}.record-draft-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.record-draft-head h3{display:grid;gap:2px;margin:0;color:#17233d;font-size:16px;line-height:1.45}.record-draft-head h3 span{display:block}.record-title-line{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.record-title-line>span{overflow:hidden;min-width:0;text-overflow:ellipsis;white-space:nowrap}.record-title-line small{color:var(--muted);font-size:12px;font-weight:700;white-space:nowrap}.record-draft-actions{display:flex;flex-wrap:wrap;gap:8px}.record-draft-textarea{min-height:240px}.bottom-nav{position:fixed;right:0;bottom:0;left:0;z-index:20;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;width:min(430px,100%);min-height:calc(62px + env(safe-area-inset-bottom));margin:0 auto;padding:6px 22px calc(5px + env(safe-area-inset-bottom));border:0;border-top:1px solid #eef3f7;border-radius:0;background:#fff;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.bottom-nav a{display:grid;place-items:center;gap:3px;min-height:50px;border-radius:0;color:#8a97a8;font-size:11px;font-weight:700}.bottom-nav a.active{color:#0798f7;font-weight:800}.app-shell:has(.ios-dashboard-page){padding-bottom:calc(58px + env(safe-area-inset-bottom));overflow-x:hidden;background:#f3faff}.app-shell:has(.ios-dashboard-page) .page-frame{width:min(390px,100%);max-width:100vw;padding:24px 0 0;overflow-x:hidden}.app-shell:has(.ios-dashboard-page) .bottom-nav{width:min(430px,100%)}.app-shell:has(.new-case-page){padding-bottom:0;overflow-x:hidden;background:#f3faff}.app-shell:has(.new-case-page) .page-frame{padding-bottom:0;overflow-x:hidden}.app-shell:has(.new-case-result-page){padding-bottom:0;overflow-x:hidden;background:#f3faff}.app-shell:has(.new-case-result-page) .page-frame{padding-bottom:0;overflow-x:hidden}.app-shell:has(.case-list-page){overflow-x:hidden;background:#f4f9ff}.app-shell:has(.case-list-page) .page-frame{overflow-x:hidden}.new-case-result-page{gap:12px;min-height:calc(100vh - 70px);margin:-36px -18px 0;padding:82px 14px 68px;overflow-x:hidden;background:#f3faff}.new-case-result-page .result-top-bar{position:fixed;top:0;left:50%;z-index:30;display:grid;grid-template-columns:36px auto minmax(0,1fr);column-gap:10px;align-items:center;width:min(430px,100%);min-height:80px;padding:42px 14px 0;transform:translate(-50%);background:#f3faffeb;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);text-align:left}.new-case-result-page .result-top-bar h1{justify-self:start;margin:0;color:#006eb8;font-size:22px;font-weight:900;text-align:left}.new-case-result-page .app-back-button{width:34px;height:34px;border:0;border-radius:999px;background:#e9f5ff;color:#006eb8;box-shadow:none}.new-case-result-page .patient-summary{min-height:0;margin-top:0;padding:8px 14px 9px;border:0;border-radius:18px;background:#fffffff5;box-shadow:0 10px 28px #1d66a214}.new-case-result-page .patient-summary h2{margin-bottom:2px;color:#0f172a;font-size:18px;font-weight:900}.new-case-result-page .patient-summary .eyebrow{color:#64748b;font-size:12px;font-weight:500;line-height:1.25}.new-case-result-page .patient-summary .eyebrow{display:flex;align-items:center;gap:4px;min-width:0}.new-case-result-page .patient-summary .eyebrow span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.new-case-result-page .patient-summary>span{align-self:start;margin-top:3px;padding:3px 10px;border:1px solid #b9f1d6;border-radius:999px;background:#ecfff6;color:#0aa66c;font-size:11px;font-weight:900}.new-case-result-page>.panel{gap:14px;padding:14px 14px 12px;border:0;border-radius:24px;background:#fffffff5;box-shadow:0 10px 28px #1d66a214}.new-case-result-page .result-list-title h2{color:#0f172a;font-size:15px;font-weight:900}.new-case-result-page .result-list-title .compact-action{min-height:30px;border:1px solid #0b88ff;border-radius:999px;padding:0 10px;background:#eef7ff;color:#0798f7;font-size:10px;font-weight:900}.new-case-result-page .record-tabs{gap:0}.new-case-result-page .record-tab-card{min-height:54px;padding:8px 4px 8px 0;border:0;border-bottom:1px solid #eef2f7;border-radius:0;background:transparent;box-shadow:none}.new-case-result-page .record-tab-card:last-child{border-bottom:0}.new-case-result-page .record-tabs span{color:#0f172a;font-size:12px;font-weight:900}.new-case-result-page .record-tabs small{color:#0f172a;font-size:10px;font-weight:800}.new-case-result-page .record-copy-button{min-height:26px;border:0;border-radius:999px;padding:0 9px;background:#eef2f6;color:#334155;font-size:11px}.new-case-result-page .soft-primary-action{min-height:38px;border:0;border-radius:999px;background:#dff1ff;color:#0798f7;font-size:13px;font-weight:900;box-shadow:none}.empty-state{padding:28px 18px;text-align:center}.empty-state h2{margin:0 0 8px;font-size:18px}.list-stack,.sample-category-entry-list{display:grid;gap:12px}.sample-category-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;width:100%;min-height:78px;padding:14px;border:1px solid #e3ecf8;border-radius:17px;background:#fff;color:#17233d;text-align:left;box-shadow:0 10px 22px #2d5c9b14}.sample-category-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:linear-gradient(145deg,#55a2ff,#1f78f2);color:#fff}.sample-category-main{display:grid;gap:5px;min-width:0}.sample-category-main strong{overflow:hidden;color:#17233d;font-size:16px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.sample-category-main small{color:var(--muted);font-size:13px;line-height:1.3}.sample-category-detail-head{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px}.sample-category-detail-head h3{margin:0;color:#17233d;font-size:18px}.sample-category-detail-head span{color:var(--muted);font-size:13px}.sample-item,.case-item{padding:14px}.sample-head{align-items:flex-start}.sample-head .icon-cluster{display:flex;flex:0 0 86px;flex-wrap:nowrap;justify-content:flex-end;gap:8px}.plain-head{display:block;min-width:0;overflow:hidden;border:0;background:transparent;color:inherit;padding:0;text-align:left}.sample-item h3,.case-item h3{margin:0 0 3px;color:#17233d;font-size:16px}.sample-item p,.case-item p{margin:0 0 3px;color:#5f6f86;font-size:13px;line-height:1.35}.sample-category-tag{display:inline-flex;width:fit-content;margin:0 0 6px;padding:3px 8px;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:12px;font-weight:800}.sample-foot{margin-top:10px;color:var(--muted);font-size:12px}.sample-item pre{max-height:240px;overflow:auto;margin:10px 0;padding:12px;border-radius:14px;background:#f5f8fe;color:#30415f;font:inherit;line-height:1.6;white-space:pre-wrap}.sample-library-page{gap:14px;align-content:start;grid-auto-rows:max-content;width:100%;max-width:100%;min-height:calc(100vh - 70px);margin:-42px 0 0;padding:34px 14px 112px;overflow-x:hidden;background:#f4f9ff}.app-shell:has(.sample-library-page){overflow-x:hidden;background:#f4f9ff}.app-shell:has(.sample-library-page) .page-frame{overflow-x:hidden}.sample-library-topbar{grid-template-columns:32px minmax(0,1fr) 32px;min-height:58px;color:#0f609b}.sample-library-topbar h1{margin:0;color:#172033;font-size:18px;font-weight:900;letter-spacing:0;text-align:center}.sample-library-panel{gap:14px;padding:0;border:0;background:transparent;box-shadow:none}.sample-library-count-row{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center;gap:12px}.sample-library-count-row div{display:grid;gap:4px}.sample-library-count-row span{color:#334155;font-size:13px}.sample-library-count-row strong{color:#0f609b;font-size:15px;font-weight:900}.sample-library-filter-button{display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:999px;background:#d8eafd;color:#172033}.sample-library-page .search-box{min-height:46px;border:0;border-radius:999px;background:#eef3f9;box-shadow:none;color:#6b7280}.sample-library-page .search-box input{min-height:46px;color:#1f2937;font-size:16px}.sample-library-page .search-box input::placeholder{color:#1f2937;opacity:.6}.sample-library-page .sample-category-entry-list,.sample-library-page .list-stack{gap:14px}.sample-library-page .sample-category-card{min-height:66px;padding:12px 14px;border:0;border-radius:26px;background:#fff;box-shadow:0 14px 30px #1d66a212}.sample-library-page .sample-category-icon{width:40px;height:40px;border-radius:14px;background:#e9f5ff;color:#0f609b}.sample-library-page .sample-category-main strong{color:#172033;font-size:15px;font-weight:900}.sample-library-page .sample-category-main small{color:#172033;font-size:11px;font-weight:800}.sample-library-page .sample-category-card>svg{color:#a5b4c4}.sample-library-page .sample-category-detail-head{min-height:46px}.sample-library-page .sample-category-detail-head .compact-action{min-height:34px;border:0;border-radius:999px;background:#e9f5ff;color:#0f609b;box-shadow:none}.sample-library-page .sample-category-detail-head h3{color:#172033;font-size:18px;font-weight:900}.sample-library-page .sample-category-detail-head span{color:#64748b;font-size:12px;font-weight:800}.sample-library-page .sample-item{padding:12px 14px;border:0;border-radius:22px;background:#fff;box-shadow:0 14px 30px #1d66a212}.sample-library-page .sample-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px}.sample-library-page .sample-item h3{color:#000;font-size:17px;font-weight:900}.sample-library-page .sample-item p{color:#2a6f9d;font-size:12px;font-weight:700}.sample-library-page .sample-category-tag{margin:3px 0 5px;background:#eaf5ff;color:#2a6f9d}.sample-library-page .sample-head .icon-cluster{flex:0 0 auto}.sample-library-page .icon-link{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:999px;background:#eef3f9;color:#0f609b;box-shadow:none}.sample-library-page .sample-foot{display:flex;gap:10px;margin-top:8px;padding-top:8px;border-top:1px solid #edf1f5;color:#64748b;font-size:11px}.sample-library-page .sample-item pre{max-height:240px;border-radius:18px;background:#f3f6f9}.case-toolbar{display:grid;gap:12px}.case-search-row{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:10px}.case-toolbar-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.case-filter-tabs{display:flex;gap:8px;overflow-x:auto;padding:1px 0 2px;scrollbar-width:none}.case-filter-tabs::-webkit-scrollbar{display:none}.case-filter-tabs button{flex:0 0 auto;min-height:34px;padding:0 16px;border:1px solid rgba(226,236,250,.95);border-radius:999px;background:#ffffffb8;color:#5f6f86;font-size:14px;font-weight:800;box-shadow:0 8px 16px #3a6fb814}.case-filter-tabs button.active{border-color:#1677ff4d;background:linear-gradient(135deg,#68a6ff,#2f7eff);color:#fff;box-shadow:0 10px 18px #2f7eff33}.case-selectable-item{position:relative;display:block;overflow:hidden;padding:0}.case-select-check{grid-area:check;align-self:center}.case-select-check input{width:18px;min-height:18px}.case-item-main{position:relative;display:block;min-width:0;min-height:88px;padding-right:66px;padding-bottom:18px}.case-swipe-content{position:relative;z-index:2;padding:12px 14px;border-radius:inherit;background:#fff;transition:transform .22s ease}.case-selectable-item.actions-open .case-swipe-content{transform:translate(-238px)}.case-swipe-actions{position:absolute;top:14px;right:14px;bottom:14px;z-index:1;display:grid;grid-template-columns:62px 86px 62px;align-items:center;gap:8px;opacity:0;pointer-events:none;transition:opacity .18s ease}.case-selectable-item.actions-open .case-swipe-actions{opacity:1;pointer-events:auto}.case-swipe-select,.case-swipe-action{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:42px;padding:0 8px;border:1px solid #dbe8fb;border-radius:14px;background:#fff;color:var(--primary);font-size:13px;font-weight:800;white-space:nowrap}.case-swipe-select input{width:16px;min-height:16px}.case-swipe-action.danger{border-color:#f6d5d8;background:#fff6f6;color:#d9434f}.case-list-summary{display:grid;gap:2px;min-width:0}.case-list-summary small{position:absolute;left:0;bottom:0}.case-reference-summary{color:#17233d;font-size:14px;line-height:1.35;overflow-wrap:anywhere}.case-list-side{position:absolute;top:0;right:0;bottom:0;display:grid;align-content:space-between;justify-items:end;width:58px;color:var(--muted);font-size:12px;line-height:1.2;white-space:nowrap}.case-list-side .status-pill{min-height:22px}.case-save-sample-action{grid-area:sample}.case-delete-action{grid-area:delete}.case-save-sample-form{display:grid;gap:8px;margin:0 14px 14px;padding-top:10px;border-top:1px solid #edf3fb;font-size:16px}.case-save-sample-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.case-list-page{gap:14px;align-content:start;grid-auto-rows:max-content;width:100%;max-width:100%;min-height:calc(100vh - 70px);margin:-42px 0 0;padding:34px 14px 112px;overflow-x:hidden;background:#f4f9ff}.case-list-topbar{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;min-height:58px;color:#0f609b}.case-list-topbar h1{margin:0;color:#0f609b;font-size:25px;font-weight:900;letter-spacing:0}.case-list-page .case-toolbar{gap:12px;padding:0;border:0;background:transparent;box-shadow:none}.case-list-page .case-search-row{grid-template-columns:minmax(0,1fr) 56px;gap:12px;align-items:center}.case-list-page .search-box{min-height:46px;border:0;border-radius:999px;background:#eef3f9;box-shadow:none;color:#6b7280}.case-list-page .search-box input{min-height:46px;font-size:16px}.case-list-page .search-box input::placeholder{color:#1f2937;opacity:.75}.case-list-page .icon-link{width:56px;height:56px;border:0;border-radius:999px;background:#3c9df5;color:#0f243d;box-shadow:0 14px 26px #3c9df538}.case-list-page .icon-link svg{width:27px;height:27px;stroke-width:2.4}.case-list-page .case-toolbar-actions{grid-template-columns:minmax(0,1fr) auto;align-items:center}.case-list-page .case-toolbar-actions .compact-action{justify-content:flex-start;min-height:34px;border:0;background:transparent;color:#172033;padding:0;font-size:14px;box-shadow:none}.case-list-page .case-toolbar-actions .danger-compact-action{justify-content:flex-end;color:#b4232a}.case-list-page .case-filter-tabs{gap:7px;margin:0 -14px;padding:0 14px 2px}.case-list-page .case-filter-tabs button{min-height:30px;padding:0 14px;border:0;border-radius:999px;background:#e1e5ea;color:#172033;font-size:13px;box-shadow:none}.case-list-page .case-filter-tabs button.active{background:#3c9df5;color:#172033;box-shadow:0 10px 20px #3c9df52e}.case-list-page .case-toolbar>.muted-copy{display:none}.case-list-page .list-stack{gap:10px}.case-list-page .case-item{overflow:hidden;padding:0;border:0;border-radius:22px;background:transparent;box-shadow:none}.case-list-page .case-swipe-content{padding:0;border-radius:22px;background:#fff;box-shadow:0 16px 34px #1d66a214}.case-list-page .case-item-main{min-height:96px;padding:12px 14px 34px}.case-list-page .case-list-summary{gap:4px;padding-right:72px}.case-list-page .case-list-summary h3{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;margin:0;color:#000;font-size:18px;font-weight:900;white-space:nowrap}.case-list-page .case-primary-diagnosis{overflow:hidden;min-width:0;color:#6f8195;font-size:12px;font-weight:800;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.case-list-page .case-list-summary p{margin:0;color:#1f2937;font-size:12px}.case-list-page .case-reference-summary{color:#2a6f9d;font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.case-list-page .case-list-summary small{position:absolute;right:14px;bottom:8px;left:14px;display:flex;align-items:center;gap:8px;padding-top:7px;border-top:1px solid #edf1f5;color:#6b7280;font-size:11px}.case-list-page .case-list-side{top:12px;right:14px;bottom:8px;align-content:space-between;width:auto}.case-list-page .case-list-side>span{display:inline-flex;align-items:center;gap:7px;color:#0f609b;font-size:12px}.case-list-page .status-pill{min-height:20px;padding:0 8px;border-radius:999px;font-size:11px;font-weight:800}.case-list-page .status-pill.done{background:#e8fbf4;color:#4f8d77}.case-list-page .status-pill.active{background:#eaf5ff;color:#2a6f9d}.case-list-page .case-selectable-item.actions-open .case-swipe-content{transform:translate(-204px)}.case-list-page .case-swipe-actions{top:0;right:0;bottom:0;grid-template-columns:68px 88px 68px;gap:0}.case-list-page .case-swipe-select,.case-list-page .case-swipe-action{flex-direction:column;width:100%;height:100%;min-height:96px;border:0;border-radius:0;background:#dfe3e9;color:#6b7280;font-size:13px}.case-list-page .case-swipe-action{background:#2d6fab;color:#fff}.case-list-page .case-swipe-action.danger{border-radius:0 22px 22px 0;background:#c72727;color:#fff}.case-list-page .case-save-sample-form{gap:8px;margin:8px 0 0;padding:12px;border:0;border-radius:20px;background:#fffffff5;box-shadow:0 12px 26px #1d66a212}.case-list-page .case-save-sample-form input,.case-list-page .case-save-sample-form select{min-height:38px;border:0;border-radius:18px;background:#eef3f9;font-size:16px;box-shadow:none}.case-list-page .case-save-sample-form .priority-input{min-height:34px}.case-list-page .case-save-sample-buttons{gap:8px}.case-list-page .case-save-sample-buttons .compact-action{min-height:38px;border:0;border-radius:999px;background:#eaf4ff;color:#0f609b;font-size:16px;box-shadow:none}.patient-summary{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:9px;padding:12px 14px;border:1px solid #e3ecf8;border-radius:20px;background:#fff;box-shadow:var(--shadow)}.new-case-result-summary{padding-top:10px;padding-bottom:10px}.case-detail-summary{margin-top:30px}.patient-summary h2{margin:0 0 3px;color:#17233d;font-size:21px}.patient-summary p{margin:0;color:#5e6f86;line-height:1.38}.patient-summary>span{padding:5px 10px;border-radius:999px;background:#e9fbf3;color:#0a9b62;font-size:12px;font-weight:800}.new-case-result-page .patient-summary.case-detail-summary.new-case-result-summary{height:58px!important;min-height:58px!important;max-height:58px!important;margin-top:4px!important;margin-bottom:0!important;padding:8px 12px!important;align-items:start;overflow:hidden}.new-case-result-page .patient-summary.case-detail-summary.new-case-result-summary h2{margin:0 0 3px;font-size:12px;line-height:1.05}.new-case-result-page .patient-summary.case-detail-summary.new-case-result-summary .eyebrow{color:#0f172a;font-size:9px;line-height:1.15}.new-case-result-page .patient-summary.case-detail-summary.new-case-result-summary>span{margin-top:2px;padding:3px 9px;font-size:10px}.case-detail-status-stack{display:grid;justify-items:end;gap:8px}.case-detail-status-stack>span:last-child{color:var(--muted);font-size:12px;font-weight:700}.eyebrow{margin:0;color:var(--primary);font-size:13px;font-weight:800}.record-picker-panel{position:relative;padding:0 0 0 18px;border:0;background:transparent;box-shadow:none}.record-picker-panel:before{content:"";position:absolute;top:48px;bottom:8px;left:25px;width:2px;background:#dbe5f2}.record-picker-panel .section-title{margin-bottom:12px}.record-tabs{display:grid;gap:12px}.generated-record-tabs .record-tab-card{margin-left:0}.generated-record-tabs .record-tab-card:before{display:none}.record-tab-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:74px;margin-left:18px;padding:10px 12px 10px 16px;border:1px solid #e3ecf8;border-radius:16px;background:#fff;color:#17233d;box-shadow:0 10px 24px #2d5c9b17}.record-tab-card:before{content:"";position:absolute;left:-29px;top:22px;width:10px;height:10px;border:3px solid #fff;border-radius:999px;background:var(--primary);box-shadow:0 0 0 2px var(--primary)}.record-tab-card.selected{border-color:#bdd8ff;background:#f9fcff}.record-tab-card>button:first-child{display:grid;gap:7px;min-width:0;border:0;background:transparent;color:inherit;padding:0;text-align:left}.record-copy-button{min-height:34px;padding:0 10px}.record-tabs span{overflow:hidden;font-size:15px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.record-tabs small{color:var(--muted);font-size:12px}.record-editor-panel{display:grid;gap:12px}.record-textarea{min-height:320px}.case-detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0;border-radius:18px;background:transparent;box-shadow:none}.app-shell:has(.case-detail-page){padding-bottom:0;overflow-x:hidden;background:#eef3f7}.app-shell:has(.case-detail-page) .page-frame{padding:0;overflow-x:hidden}.case-detail-page{gap:12px;width:min(430px,100%);min-height:100vh;margin:0 auto;padding:106px 14px calc(136px + env(safe-area-inset-bottom));background:#eef3f7}.case-detail-page .case-detail-fixed-title{position:fixed;top:0;left:50%;z-index:30;display:grid;grid-template-columns:40px auto minmax(0,1fr);column-gap:10px;align-items:center;width:min(430px,100%);min-height:88px;padding:48px 14px 0;transform:translate(-50%);border-bottom:1px solid rgba(211,221,233,.7);background:#eef3f7f5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.case-detail-page .case-detail-fixed-title h1{justify-self:start;margin:0;color:#006eb8;font-size:22px;font-weight:900;text-align:left}.case-detail-page .case-detail-fixed-title .app-back-button{position:static!important;width:36px;height:36px;border:0;border-radius:999px;background:#e9f5ff;color:#006eb8;box-shadow:none}.case-detail-page .patient-summary.case-detail-summary{min-height:74px;margin:0;padding:12px 16px;border:0;border-radius:24px;background:#fff;box-shadow:0 10px 24px #2d5c9b0f}.case-detail-page .patient-summary h2{margin:0 0 5px;color:#0f172a;font-size:19px;line-height:1.1;font-weight:900}.case-detail-page .patient-summary p{color:#172033;font-size:13px;line-height:1.45;font-weight:600}.case-detail-page .patient-summary .eyebrow{color:#0f609b;font-size:13px;font-weight:700}.case-detail-page .case-detail-status-stack{gap:8px;align-self:start}.case-detail-page .status-pill{min-height:24px;padding:0 10px;border-radius:999px;font-size:12px}.case-detail-page .case-detail-status-stack>span:last-child{color:#334155;font-size:13px;font-weight:800}.case-detail-page .record-picker-panel{position:relative;margin:0;padding:0 0 0 30px;border:0;background:transparent;box-shadow:none}.case-detail-page .record-picker-panel:before{top:46px;bottom:28px;left:15px;width:2px;background:#d7e1ec}.case-detail-page .record-picker-panel .section-title{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:34px;margin:0 0 10px -30px}.case-detail-page .record-picker-panel .section-title h2{margin:0;color:#0f172a;font-size:16px;font-weight:900}.case-detail-page .record-picker-panel .section-title h2:before{content:"▦";margin-right:6px;color:#0f609b}.case-detail-page .record-picker-panel .section-title .compact-action{min-height:30px;border:0;border-radius:999px;background:#e8f2ff;color:#0f609b;font-size:12px;box-shadow:none}.case-detail-page .record-tabs{gap:18px}.case-detail-page .record-tab-card{min-height:64px;margin-left:0;padding:12px 12px 12px 18px;border:0;border-radius:22px;background:#fff;box-shadow:0 8px 18px #2d5c9b0f}.case-detail-page .record-tab-card:before{left:-28px;top:50%;width:12px;height:12px;border:3px solid #d7e1ec;background:#0f83c9;box-shadow:none;transform:translateY(-50%)}.case-detail-page .record-tab-card>button:first-child{gap:7px}.case-detail-page .record-tabs span{color:#0f172a;font-size:15px;font-weight:900}.case-detail-page .record-tabs small{color:#64748b;font-size:12px;font-weight:700}.case-detail-page .record-copy-button{min-height:30px;border:0;border-radius:999px;background:#eef2f6;color:#0f609b;font-size:12px;box-shadow:none}.case-detail-page>.panel.form-grid{display:grid;gap:10px;padding:0;border:0;background:transparent;box-shadow:none}.case-detail-page>.panel.form-grid .secondary-action.full-width,.case-detail-page>.danger-action{min-height:44px;border:0;border-radius:999px;background:#eaf4ff;color:#0f609b;font-size:14px;font-weight:900;box-shadow:none}.case-detail-page>.danger-action{width:100%;background:#eef3f9}.record-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;align-items:end;padding:18px 18px calc(96px + env(safe-area-inset-bottom));background:#0d1e3847}.record-modal{width:min(430px,100%);max-height:calc(100vh - 128px);margin:0 auto;overflow:auto;display:grid;gap:14px;padding:16px;border:1px solid #e3ecf8;border-radius:22px;background:#fffffffa;box-shadow:0 22px 46px #19488438}.record-modal-title-input{min-width:0;width:100%;border:0;padding:0;background:transparent;color:#0f172a;font-size:18px;font-weight:900;line-height:1.25;outline:none;box-shadow:none}.record-modal-title-input:focus{outline:none;box-shadow:none}.result-title-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.ai-revision-modal{gap:12px}.revision-textarea{box-sizing:border-box;width:100%;min-height:132px;resize:vertical;border:0;border-radius:20px;padding:12px;background:#fff;color:#172033;font-size:16px;line-height:1.55;outline:none;box-shadow:0 10px 24px #1d66a214}.revision-textarea:focus{box-shadow:0 0 0 2px #006eb826,0 10px 24px #1d66a214}.new-case-result-page .record-modal-backdrop{align-items:center;padding:18px;background:#0d1e3838}.new-case-result-page .record-modal{width:min(394px,100%);max-height:calc(100vh - 54px);gap:12px;padding:16px;border:0;border-radius:28px;background:#f3faff;box-shadow:0 20px 48px #19488438}.new-case-result-page .record-modal .section-title h2{color:#0f172a;font-size:18px;font-weight:900}.new-case-result-page .record-modal .compact-action{min-height:34px;border:0;border-radius:999px;background:#e9f5ff;color:#006eb8}.new-case-result-page .record-modal .record-editor-panel{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.new-case-result-page .record-modal .record-textarea{min-height:min(46vh,360px);border:0;border-radius:22px;background:#fff;box-shadow:0 10px 24px #1d66a214}.new-case-result-page .record-modal .case-detail-actions{grid-template-columns:1fr 1fr;gap:8px}.new-case-result-page .record-modal .secondary-action{min-height:44px;border:0;border-radius:999px;background:#eaf4ff;color:#006eb8;box-shadow:none}.case-detail-page .record-modal-backdrop{align-items:center;padding:18px;background:#0d1e3838}.case-detail-page .record-modal{width:min(394px,100%);max-height:calc(100vh - 54px);gap:12px;padding:16px;border:0;border-radius:28px;background:#f3faff;box-shadow:0 20px 48px #19488438}.case-detail-page .record-modal .section-title h2{color:#0f172a;font-size:18px;font-weight:900}.case-detail-page .record-modal .compact-action{min-height:34px;border:0;border-radius:999px;background:#e9f5ff;color:#006eb8}.case-detail-page .record-modal .record-editor-panel{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.case-detail-page .record-modal .record-textarea{min-height:min(56vh,430px);border:0;border-radius:22px;background:#fff;box-shadow:0 10px 24px #1d66a214}.case-detail-page .record-modal .case-detail-actions{grid-template-columns:1fr 1fr;gap:10px}.case-detail-page .record-modal .secondary-action{min-height:44px;border:0;border-radius:999px;background:#eaf4ff;color:#006eb8;box-shadow:none}.case-detail-page .record-modal .danger-compact-action{background:#fff0f2;color:#c81414}.app-shell:has(.case-continue-page){padding-bottom:0;overflow-x:hidden;background:#eef3f7}.app-shell:has(.case-continue-page) .page-frame{padding:0;overflow-x:hidden}.case-continue-page{gap:18px;align-content:start;grid-auto-rows:max-content;width:min(430px,100%);min-height:100vh;margin:0 auto;padding:106px 14px 86px;overflow-x:hidden;background:#eef3f7}.case-continue-page .case-detail-fixed-title{position:fixed;top:0;left:50%;z-index:30;display:grid;grid-template-columns:40px auto minmax(0,1fr);column-gap:10px;align-items:center;width:min(430px,100%);min-height:88px;padding:48px 14px 0;transform:translate(-50%);border-bottom:1px solid rgba(211,221,233,.7);background:#eef3f7f5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.case-continue-page .case-detail-fixed-title h1{justify-self:start;margin:0;color:#006eb8;font-size:22px;font-weight:900;text-align:left}.case-continue-page .case-detail-fixed-title .app-back-button{position:static!important;width:36px;height:36px;border:0;border-radius:999px;background:#e9f5ff;color:#006eb8;box-shadow:none}.case-continue-page .patient-summary.case-detail-summary{min-height:74px;margin:0;padding:12px 16px;border:0;border-radius:24px;background:#fff;box-shadow:0 10px 24px #2d5c9b0f}.case-continue-page .patient-summary h2{margin:0 0 5px;color:#0f172a;font-size:19px;line-height:1.1;font-weight:900}.case-continue-page .patient-summary p{color:#172033;font-size:13px;line-height:1.45;font-weight:600}.case-continue-page .patient-summary .eyebrow{color:#0f609b;font-size:13px;font-weight:700}.case-continue-page .case-detail-status-stack{gap:8px;align-self:start}.case-continue-page .status-pill{min-height:24px;padding:0 10px;border-radius:999px;font-size:12px}.case-continue-page .case-detail-status-stack>span:last-child{color:#334155;font-size:13px;font-weight:800}.case-continue-page .continue-form-panel,.case-continue-page .continue-result-panel{display:grid;gap:8px;margin:0;padding:9px 12px 12px;border:0;border-radius:24px;background:#fffffff5;box-shadow:0 16px 36px #1d66a212}.case-continue-page .continue-form-panel .field{gap:4px}.case-continue-page .field-head-row{margin-bottom:4px;padding:0 6px}.case-continue-page .field-head-row>span,.case-continue-page .field>span{color:#172033;font-size:15px;font-weight:900}.case-continue-page .danger-compact-action{min-height:auto;border:0;background:transparent;color:#c81414;font-size:14px;font-weight:700}.case-continue-page textarea,.case-continue-page input,.case-continue-page select{border:0;border-radius:12px;background:#f3f6f9;font-size:16px;line-height:1.28;box-shadow:inset 0 0 0 1px #e1e8f0}.case-continue-page textarea{padding:8px 12px;overflow-y:auto}.case-continue-page textarea:focus,.case-continue-page input:focus,.case-continue-page select:focus{border-color:transparent;box-shadow:inset 0 0 0 1px #d5e5f5,0 0 0 3px #006eb814}.case-continue-page .exam-textarea,.case-continue-page .requirement-textarea{min-height:28px;height:28px;padding:5px 14px 6px;border-radius:10px;background:#eef2f6}.case-continue-page .large-textarea{min-height:150px;height:150px}.case-continue-page .prompt-strip{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.case-continue-page .prompt-fold-row{min-height:28px;padding:0 8px}.case-continue-page .plain-fold-action{color:#172033;font-size:15px;font-weight:900}.case-continue-page .prompt-inline-actions button{color:#006eb8;font-size:14px;font-weight:800}.case-continue-page .continue-prompt-stats{margin:2px 8px 0;padding:6px 10px;border-radius:12px;background:#f3f6f9;color:#64748b;font-size:12px}.case-continue-page .generate-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:0}.case-continue-page .generate-actions .inline-action{width:auto;min-height:38px;height:38px;padding:0 10px;border:0;border-radius:999px;background:#d5e8ff;color:#006eb8;font-size:14px;font-weight:800;box-shadow:none}.case-continue-page .generate-actions .inline-action:first-child{background:#cfe3ff}.case-continue-page .generate-actions .inline-action:nth-child(2){background:#e5e9ee}.case-continue-page .continue-result-panel{padding:12px}.case-continue-page .result-list-title{align-items:center;margin:0}.case-continue-page .result-list-title h2{margin:0;color:#0f172a;font-size:17px;font-weight:900}.case-continue-page .result-list-title .muted-copy{display:none}.case-continue-page .result-list-title .compact-action{min-height:30px;border:0;border-radius:999px;background:#e9f5ff;color:#006eb8;font-size:12px;box-shadow:none}.case-continue-page .record-tabs{gap:8px}.case-continue-page .record-tab-card{min-height:54px;padding:9px 10px 9px 12px;border:0;border-radius:18px;background:#fff;box-shadow:0 8px 18px #1d66a20f}.case-continue-page .record-tab-card:before{display:none}.case-continue-page .record-tabs span{color:#0f172a;font-size:15px;font-weight:900}.case-continue-page .record-tabs small{color:#64748b;font-size:12px;font-weight:700}.case-continue-page .record-copy-button{min-height:30px;border:0;border-radius:999px;background:#eef2f6;color:#0f609b;font-size:12px;box-shadow:none}.case-continue-page .soft-primary-action{min-height:42px;border:0;border-radius:999px;background:#eaf4ff;color:#006eb8;font-size:14px;font-weight:900;box-shadow:none}.case-continue-page .record-modal-backdrop{align-items:center;padding:18px;background:#0d1e3838}.case-continue-page .record-modal{width:min(394px,100%);max-height:calc(100vh - 54px);gap:12px;padding:16px;border:0;border-radius:28px;background:#f3faff;box-shadow:0 20px 48px #19488438}.case-continue-page .record-modal .section-title h2{color:#0f172a;font-size:18px;font-weight:900}.case-continue-page .record-modal .compact-action{min-height:34px;border:0;border-radius:999px;background:#e9f5ff;color:#006eb8}.case-continue-page .record-modal .record-editor-panel{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.case-continue-page .record-modal .record-textarea{min-height:min(46vh,360px);border:0;border-radius:22px;background:#fff;box-shadow:0 10px 24px #1d66a214}.case-continue-page .record-modal .case-detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.case-continue-page .record-modal .secondary-action{min-height:44px;border:0;border-radius:999px;background:#eaf4ff;color:#006eb8;box-shadow:none}.case-detail-page .patient-summary.case-detail-summary,.case-continue-page .patient-summary.case-detail-summary{height:82px;min-height:82px;max-height:82px;padding:12px 16px;overflow:hidden}.case-detail-page .patient-summary.case-detail-summary p,.case-continue-page .patient-summary.case-detail-summary p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.new-case-result-page{gap:12px!important;margin:-24px -18px 0!important;padding:58px 12px 68px!important;background:#f3faff!important}.new-case-result-page .result-top-bar{min-height:40px!important;padding:10px 14px 0!important;grid-template-columns:24px minmax(0,1fr) 24px!important;column-gap:6px!important;background:#f3fafff5!important;border-bottom:1px solid rgba(222,231,244,.55)}.new-case-result-page .result-top-bar h1{justify-self:start!important;font-size:15px!important;line-height:1.1!important;font-weight:900!important;color:#006eb8!important}.new-case-result-page .result-top-bar .app-back-button{width:22px!important;height:22px!important;background:transparent!important}.new-case-result-page .result-top-bar>svg{justify-self:end;color:#006eb8}.new-case-result-page .patient-summary.case-detail-summary.new-case-result-summary{height:56px!important;min-height:56px!important;max-height:56px!important;margin:0!important;padding:10px 12px!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 20px #1d66a20f!important}.new-case-result-page .patient-summary.case-detail-summary.new-case-result-summary h2{margin:0 0 5px!important;color:#0f172a!important;font-size:13px!important;line-height:1!important;font-weight:900!important}.new-case-result-page .patient-summary.case-detail-summary.new-case-result-summary>span{margin-top:0!important;padding:3px 8px!important;border-color:#b9f1d6!important;background:#ecfff6!important;color:#0aa66c!important;font-size:10px!important}.new-case-result-page>.panel{gap:18px!important;margin-top:0!important;padding:16px 12px 12px!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 20px #1d66a20f!important}.new-case-result-page .result-list-title{min-height:28px}.new-case-result-page .result-list-title h2{font-size:14px!important;line-height:1!important;font-weight:900!important;color:#0f172a!important}.new-case-result-page .result-list-title .compact-action{min-height:22px!important;padding:0 9px!important;border:1px solid #0b88ff!important;border-radius:999px!important;background:#fff!important;color:#0076d6!important;font-size:9px!important;font-weight:900!important}.new-case-result-page .record-tabs{gap:0!important}.new-case-result-page .record-tab-card{grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto!important;align-items:center!important;min-height:54px!important;padding:8px 0!important;border:0!important;border-bottom:1px solid #eef2f7!important;border-radius:0!important;background:transparent!important}.new-case-result-page .record-tab-card>button:first-child{grid-column:1!important;grid-row:1!important;align-self:center!important;gap:5px!important}.new-case-result-page .record-tabs span{font-size:12px!important;line-height:1.1!important;font-weight:900!important;color:#0f172a!important}.new-case-result-page .record-tabs small{font-size:10px!important;line-height:1!important;font-weight:800!important;color:#0f172a!important}.new-case-result-page .record-copy-button{min-height:22px!important;padding:0 8px!important;border:0!important;border-radius:999px!important;background:#eef2f6!important;color:#334155!important;font-size:9px!important;font-weight:900!important}.new-case-result-page .record-copy-button svg{width:11px;height:11px}.new-case-result-page .soft-primary-action{min-height:40px!important;border:0!important;border-radius:999px!important;background:#dff1ff!important;color:#0798f7!important;font-size:13px!important;font-weight:900!important}.new-case-result-page{gap:0!important;margin:-36px -18px 0!important;padding:96px 14px 76px!important;background:#f3faff!important}.new-case-result-page .result-top-bar{min-height:80px!important;padding:42px 14px 0!important;grid-template-columns:34px minmax(0,1fr) 34px!important;column-gap:8px!important;border-bottom:0!important;background:#f3faffeb!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.new-case-result-page .result-top-bar h1{justify-self:start!important;color:#006eb8!important;font-size:22px!important;line-height:1.1!important;font-weight:900!important}.new-case-result-page .result-top-bar .app-back-button{width:34px!important;height:34px!important;border-radius:999px!important;background:#e9f5ff!important}.new-case-result-page .result-top-bar>svg{align-self:center;justify-self:end;width:18px;height:18px;color:#006eb8}.new-case-result-page .patient-summary.case-detail-summary.new-case-result-summary{height:58px!important;min-height:58px!important;max-height:58px!important;margin:0 0 14px!important;padding:9px 12px!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 20px #1d66a20f!important}.new-case-result-page .patient-summary.case-detail-summary.new-case-result-summary h2{margin:0 0 4px!important;color:#0f172a!important;font-size:13px!important;line-height:1!important;font-weight:900!important}.new-case-result-page .patient-summary.case-detail-summary.new-case-result-summary .eyebrow{display:flex!important;align-items:center!important;gap:3px!important;color:#0f172a!important;font-size:9px!important;line-height:1!important;font-weight:600!important}.new-case-result-page .patient-summary.case-detail-summary.new-case-result-summary .eyebrow svg{width:10px;height:10px}.new-case-result-page .patient-summary.case-detail-summary.new-case-result-summary>span{margin-top:0!important;padding:3px 8px!important;font-size:10px!important}.new-case-result-page>.panel{gap:18px!important;padding:20px 16px 16px!important;border-radius:24px!important;background:#fff!important;box-shadow:0 8px 20px #1d66a20f!important}.new-case-result-page .result-list-title h2{font-size:19px!important;line-height:1!important;font-weight:900!important;color:#0f172a!important}.new-case-result-page .result-list-title .compact-action{min-height:30px!important;padding:0 10px!important;border:1px solid #0b88ff!important;border-radius:999px!important;background:#fff!important;color:#0076d6!important;font-size:11px!important;font-weight:900!important}.new-case-result-page .record-tab-card{min-height:66px!important;padding:11px 0!important;border:0!important;border-bottom:1px solid #eef2f7!important;border-radius:0!important;background:transparent!important}.new-case-result-page .record-tab-card>button:first-child{gap:6px!important}.new-case-result-page .record-tabs span{font-size:15px!important;line-height:1.1!important;font-weight:900!important;color:#0f172a!important}.new-case-result-page .record-tabs small{font-size:13px!important;line-height:1!important;font-weight:800!important;color:#0f172a!important}.new-case-result-page .record-copy-button{min-height:26px!important;padding:0 9px!important;border:0!important;border-radius:999px!important;background:#eef2f6!important;color:#334155!important;font-size:12px!important;font-weight:900!important}.new-case-result-page .soft-primary-action{min-height:70px!important;border-radius:999px!important;background:#dff1ff!important;color:#0798f7!important;font-size:17px!important;font-weight:900!important}.new-case-result-page .patient-summary.case-detail-summary.new-case-result-summary{grid-template-columns:minmax(0,1fr) auto!important;column-gap:10px!important;height:74px!important;min-height:74px!important;max-height:74px!important;margin-top:10px!important;margin-bottom:14px!important;padding:14px 18px!important;border-radius:28px!important;align-items:center!important}.new-case-result-page .patient-avatar{display:inline-grid;place-items:center;width:20px;height:20px;margin-right:6px;border-radius:0;background:transparent;color:#0b8cff;box-shadow:none;vertical-align:-2px}.new-case-result-page .patient-summary.case-detail-summary.new-case-result-summary>div:not(.patient-avatar){min-width:0;padding-left:4px}.new-case-result-page .patient-summary.case-detail-summary.new-case-result-summary h2{display:flex;align-items:center;margin:0 0 9px!important;font-size:22px!important;line-height:1!important;font-weight:900!important}.new-case-result-page .patient-summary.case-detail-summary.new-case-result-summary .eyebrow{font-size:14px!important;line-height:1!important;font-weight:700!important}.new-case-result-page .result-list-title h2{font-size:20px!important;flex:0 0 auto!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important}.new-case-result-page .result-list-title .compact-action{font-size:12px!important}.new-case-result-page .result-list-title .result-title-actions{flex:1 1 auto!important;min-width:0!important}.new-case-result-page .record-tabs span{font-size:16px!important}.new-case-result-page .record-tabs small{font-size:14px!important}.new-case-result-page .record-copy-button{font-size:13px!important}.new-case-result-page .soft-primary-action{min-height:56px!important;font-size:18px!important}.new-case-result-page .patient-summary.case-detail-summary.new-case-result-summary{margin-bottom:14px!important}.new-case-result-page>.panel{margin-top:0!important;transform:none!important}.new-case-result-page .soft-primary-action{min-height:48px!important;height:48px!important;padding:0 18px!important;font-size:18px!important}.new-case-result-page{padding-bottom:calc(136px + env(safe-area-inset-bottom))!important}.settings-form,.input-with-button{display:grid;gap:12px}.input-with-button{grid-template-columns:minmax(0,1fr) 82px}.security-hint{margin:0;padding:12px;border:1px solid #ffe3b8;border-radius:14px;background:#fff8ea;color:#8a5a13;font-size:13px;line-height:1.5}.sample-library-page.sample-library-detail-mode{padding-top:106px}.sample-library-page .sample-library-fixed-title{position:fixed;top:0;left:50%;z-index:30;display:grid;grid-template-columns:36px minmax(0,1fr) auto;column-gap:10px;align-items:center;width:min(430px,100%);min-height:88px;padding:48px 14px 0;transform:translate(-50%);border-bottom:1px solid rgba(211,221,233,.7);background:#f4f9fff5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);text-align:left}.sample-library-page .sample-library-fixed-title h1{justify-self:start;overflow:hidden;margin:0;color:#006eb8;font-size:22px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.sample-library-page .sample-library-fixed-title .app-back-button{position:static;width:34px;height:34px;border:0;border-radius:999px;background:#e9f5ff;color:#006eb8;box-shadow:none}.sample-library-page .sample-library-fixed-title>span{color:#64748b;font-size:13px;font-weight:800}.sample-library-detail-mode .sample-category-detail-head{display:none}.edit-sample-page form.form-grid{gap:12px}.edit-sample-page .sample-inline-card{display:grid;gap:12px;padding:14px;border-radius:26px}.edit-sample-page .new-sample-two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.edit-sample-page .sample-inline-card .field{gap:6px;grid-template-columns:1fr}.edit-sample-page .sample-inline-card .field>span{color:#243653;font-size:18px;font-weight:900}.edit-sample-page input,.edit-sample-page select{min-height:42px;border:0;border-radius:14px;background:#f3f6f9;font-size:16px;box-shadow:none}.edit-sample-page .sample-record-picker-panel{position:relative;margin:0;padding:0 0 0 30px;border:0;border-radius:0;background:transparent;box-shadow:none}.edit-sample-page .sample-record-picker-panel:before{content:"";position:absolute;top:46px;bottom:28px;left:15px;width:2px;border-radius:999px;background:#d7e1ec}.edit-sample-page .sample-record-picker-panel .section-title{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:34px;margin:0 0 10px -30px}.edit-sample-page .sample-record-picker-panel .section-title h2{color:#172033;font-size:16px;font-weight:900}.edit-sample-page .sample-record-picker-panel .section-title h2:before{content:"▪";margin-right:6px;color:#0f609b}.edit-sample-page .sample-record-picker-panel .section-title .compact-action{min-height:30px;border:0;border-radius:999px;background:#e8f2ff;color:#0f609b;font-size:12px;box-shadow:none}.edit-sample-page .record-tabs{gap:18px}.edit-sample-page .record-tab-card{min-height:64px;padding:12px 12px 12px 18px;border:0;border-radius:22px;background:#fff;box-shadow:0 8px 18px #2d5c9b0f}.edit-sample-page .record-tab-card:before{left:-28px;top:50%;width:12px;height:12px;border:3px solid #d7e1ec;background:#0f83c9;box-shadow:none;transform:translateY(-50%)}.edit-sample-page .record-tabs span{color:#0f172a;font-size:15px;font-weight:900}.edit-sample-page .record-tabs small{color:#64748b;font-size:12px;font-weight:700}.edit-sample-page .record-modal-backdrop{align-items:center;padding:18px;background:#0d1e3838}.edit-sample-page .record-modal{width:min(394px,100%);max-height:calc(100vh - 54px);gap:12px;padding:16px;border:0;border-radius:28px;background:#f3faff;box-shadow:0 20px 48px #19488438}.edit-sample-page .record-modal .section-title h2{color:#0f172a;font-size:18px;font-weight:900}.edit-sample-page .record-modal .compact-action{min-height:34px;border:0;border-radius:999px;background:#e9f5ff;color:#006eb8}.edit-sample-page .record-modal .record-editor-panel{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.edit-sample-page .record-modal .record-textarea{min-height:min(56vh,430px);border:0;border-radius:22px;background:#fff;box-shadow:0 10px 24px #1d66a214}.settings-page{gap:14px;align-content:start;grid-auto-rows:max-content;width:100%;max-width:100%;min-height:calc(100vh - 70px);margin:-42px 0 0;padding:34px 14px 112px;overflow-x:hidden;background:#f4f9ff}.settings-topbar{grid-template-columns:32px minmax(0,1fr) 32px;min-height:58px}.settings-page .settings-form{gap:12px;padding:0;border:0;background:transparent;box-shadow:none}.settings-page .sub-panel{padding:14px;border:0;border-radius:24px;background:#fff;box-shadow:0 14px 30px #1d66a212}.settings-page .sub-panel .section-title h2{color:#172033;font-size:18px;font-weight:900}.settings-page .field>span{color:#243653;font-size:15px;font-weight:900}.settings-page input,.settings-page select{min-height:42px;border:0;border-radius:14px;background:#f3f6f9;font-size:16px;box-shadow:none}.settings-page .secondary-action,.settings-page .primary-action{min-height:42px;border:0;border-radius:999px;background:#dff1ff;color:#0798f7;box-shadow:none}.ios-dashboard-page{padding-top:0}.dashboard-fixed-head{position:fixed;top:0;left:50%;z-index:25;display:grid;gap:12px;width:min(390px,100%);padding:64px 20px 16px;transform:translate(-50%);background:#f3fafff5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.dashboard-fixed-head .ios-home-title,.dashboard-fixed-head .ios-home-search,.dashboard-fixed-head .ios-menu-list{margin:0}.dashboard-scroll-body{display:grid;gap:18px;padding-top:356px}.case-list-page{padding-top:0}.case-list-fixed-head{position:fixed;top:0;left:50%;z-index:25;display:grid;gap:12px;width:min(430px,100%);padding:34px 14px 16px;transform:translate(-50%);background:#f4f9fff5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.case-list-fixed-head .case-list-topbar,.case-list-fixed-head .case-toolbar{margin:0}.case-list-scroll-body{display:grid;gap:12px;padding-top:286px}.case-list-scroll-body>.muted-copy{margin:0}.sample-library-page{padding-top:0}.sample-library-fixed-head{position:fixed;top:0;left:50%;z-index:25;display:grid;gap:12px;width:min(430px,100%);padding:28px 14px 8px;transform:translate(-50%);background:#f4f9fff5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.sample-library-page .sample-library-fixed-head .sample-library-fixed-title{position:static;width:100%;min-height:48px;padding:0;transform:none;border-bottom:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.sample-library-detail-mode .sample-library-fixed-head{padding-top:42px}.sample-library-control-panel{margin:0}.sample-library-scroll-body{padding-top:236px}.sample-library-detail-mode .sample-library-scroll-body{padding-top:112px;padding-bottom:calc(112px + env(safe-area-inset-bottom))}.sample-library-page.sample-library-detail-mode{padding-top:0}.sample-library-detail-mode .sample-library-fixed-title{grid-template-columns:36px minmax(0,1fr) max-content}.sample-library-detail-mode .sample-library-fixed-title h1{overflow:visible;font-size:20px;line-height:1.2;text-overflow:clip;white-space:normal}.sample-library-detail-mode .sample-item pre{box-sizing:border-box;width:100%;max-width:100%;max-height:240px;overflow:auto;overflow-wrap:anywhere;word-break:break-word;white-space:pre-wrap}.settings-page{padding-top:0}.settings-form{display:block}.settings-fixed-head{position:fixed;top:0;left:50%;z-index:25;display:grid;gap:12px;width:min(430px,100%);padding:34px 14px 16px;transform:translate(-50%);background:#f4f9fff5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.settings-fixed-head .settings-topbar,.settings-fixed-head .security-hint{margin:0}.settings-scroll-body{display:grid;gap:12px;padding-top:208px}@media(max-width:390px){.page-frame{padding-inline:14px}.quick-card{min-height:126px;padding:15px}.two-col{grid-template-columns:1fr}}.ios-menu-icon-blue{background:#eaf3ff;color:#1677ff}.memory-learn-page .memory-full-textarea{min-height:320px;height:320px}.memory-result-panel,.memory-subsection,.memory-package-block,.memory-package-detail{display:grid;gap:12px}.memory-result-panel .section-title,.memory-package-block .section-title{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.memory-stat-grid,.memory-detail-grid{display:grid;gap:8px;color:#475569;font-size:13px}.memory-subsection h3{margin:0;color:#172033;font-size:15px}.memory-subsection p,.memory-package-detail p,.memory-candidate-card p{margin:0;color:#475569;font-size:13px;line-height:1.55;white-space:pre-wrap}.memory-candidate-card{display:grid;gap:6px;padding:10px 12px;border-radius:12px;background:#f8fbff}.memory-candidate-card strong,.memory-package-detail .record-tab-card strong{color:#172033;font-size:14px}.memory-candidate-card small,.memory-package-detail .record-tab-card small{color:#64748b;font-size:12px}.memory-package-block{padding-bottom:4px}.memory-package-item .plain-head{text-align:left}.memory-package-detail{margin-top:10px}.memory-package-detail pre{max-height:220px;overflow:auto;margin:8px 0 0;padding:10px;border-radius:12px;background:#f8fbff;color:#172033;font-size:12px;white-space:pre-wrap}.memory-package-list{display:grid;gap:12px;width:100%}.memory-package-card{box-sizing:border-box;display:flex;flex-direction:column;gap:10px;width:100%;min-width:0;padding:12px 14px;border-radius:16px;background:#fff;box-shadow:0 10px 28px #3c70aa14}.memory-package-main,.memory-package-card h3,.memory-package-card p,.memory-section-row,.memory-section-row strong,.memory-section-row small,.memory-section-row p{min-width:0;max-width:100%;writing-mode:horizontal-tb;text-orientation:mixed;white-space:normal;word-break:break-word;overflow-wrap:anywhere}.memory-package-card h3{margin:0;color:#172033;font-size:17px;line-height:1.35}.memory-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 10px;margin-top:8px;color:#475569;font-size:12px;line-height:1.45}.memory-card-actions{display:flex;flex-wrap:wrap;gap:8px;width:100%}.memory-card-actions .compact-action{flex:1 1 88px;min-height:34px;border:0}.memory-summary{display:-webkit-box;overflow:hidden;-webkit-line-clamp:3;-webkit-box-orient:vertical;line-height:1.6}.memory-section-list{display:grid;gap:8px;width:100%}.memory-section-row{display:grid;gap:4px;width:100%;padding:10px 12px;border-radius:12px;background:#f8fbff}.memory-section-row strong{color:#172033;font-size:14px;line-height:1.45}.memory-section-row small{color:#64748b;font-size:12px}.memory-section-row p{display:-webkit-box;overflow:hidden;margin:0;color:#475569;font-size:13px;line-height:1.6;-webkit-line-clamp:3;-webkit-box-orient:vertical}.memory-learn-section-list,.memory-learn-section-card{box-sizing:border-box;width:100%;min-width:0}.memory-learn-section-card{grid-template-columns:1fr;align-items:stretch}.memory-learn-section-card .compact-action{justify-self:start;min-height:32px;border:0}.memory-section-full-text{box-sizing:border-box;width:100%;max-height:min(46vh,360px);overflow:auto;margin:4px 0 0;padding:12px;border-radius:12px;background:#fff;color:#172033;font-size:13px;line-height:1.6;white-space:pre-wrap;word-break:break-word;overflow-wrap:break-word;writing-mode:horizontal-tb;text-orientation:mixed}.memory-group-block,.memory-category-block,.memory-review-panel,.memory-review-list,.memory-review-card{display:grid;gap:10px;width:100%;min-width:0}.memory-group-title,.memory-category-title{margin:0;color:#172033;writing-mode:horizontal-tb;white-space:normal;word-break:break-word;overflow-wrap:break-word}.memory-group-title{font-size:15px;font-weight:900}.memory-category-title{padding-left:8px;border-left:3px solid #0798f7;color:#0f609b;font-size:13px;font-weight:900}.memory-review-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;width:100%;min-width:0}.memory-review-card{padding:12px;border:1px solid #e5edf8;border-radius:14px;background:#f8fbff}.memory-review-check{display:flex;align-items:center;gap:8px;width:100%;min-width:0;color:#172033;font-size:14px;font-weight:900}.memory-review-check input{flex:0 0 auto;width:18px;min-height:18px;accent-color:#0798f7}.memory-review-textarea{width:100%;min-height:90px;height:auto;resize:vertical;white-space:normal;word-break:break-word;overflow-wrap:break-word;line-height:1.6}.memory-section-heading,.memory-warning-list{display:grid;gap:4px;width:100%;min-width:0}.memory-quality-report,.memory-report-preview{display:grid;gap:10px;width:100%;min-width:0}.memory-report-grid,.memory-check-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;width:100%;min-width:0;color:#475569;font-size:12px;line-height:1.55}.memory-report-grid span,.memory-check-grid span,.memory-report-preview p{min-width:0;margin:0;white-space:normal;word-break:break-word;overflow-wrap:break-word}.memory-check-ok,.memory-check-muted{padding:7px 9px;border-radius:10px}.memory-check-ok{background:#ecfdf5;color:#047857}.memory-check-muted{background:#f1f5f9;color:#64748b}.memory-inline-select{flex:1 1 112px;min-height:34px;border:0;border-radius:12px;background:#eef2f6;color:#172033;font-size:13px}.memory-ai-warning{margin:0;padding:10px 12px;border:1px solid #fde68a;border-radius:12px;background:#fffbeb;color:#92400e;font-size:13px;line-height:1.6;white-space:normal;word-break:break-word;overflow-wrap:break-word}.memory-learn-page .memory-section-row,.memory-learn-page .memory-section-row p,.memory-review-card,.memory-review-card input,.memory-review-card select,.memory-review-card textarea{width:100%;min-width:0;white-space:normal;word-break:break-word;overflow-wrap:break-word;writing-mode:horizontal-tb;text-orientation:mixed}@media(max-width:430px){.memory-meta-grid{grid-template-columns:1fr}.memory-package-card{padding:12px}.memory-review-grid,.memory-report-grid,.memory-check-grid{grid-template-columns:1fr}}
