:root{--primary: #007AFF;--primary-2: #0062E0;--bg: #F2F2F7;--card: #ffffff;--text: #1C1C1E;--muted: #8E8E93;--line: #E5E5EA;--danger: #FF3B30;--warning: #FF9500;--success: #34C759;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans SC,sans-serif}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;background:#101827;color:var(--text)}body{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}button,input,textarea,select{font:inherit}button{border:0;cursor:pointer}.app-frame{min-height:100dvh;max-width:430px;margin:0 auto;background:var(--bg);position:relative;overflow:hidden;box-shadow:0 24px 70px #00000047}.app-page{min-height:100dvh;display:flex;flex-direction:column}.topbar{height:calc(62px + env(safe-area-inset-top));padding:calc(10px + env(safe-area-inset-top)) 14px 10px;background:#fffffff0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(226,233,241,.9);z-index:10}.doctor{display:flex;align-items:center;gap:10px;min-width:0}.avatar,.patient-avatar,.p360-avatar{width:40px;height:40px;border-radius:14px;background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;flex:none}.doctor-text{min-width:0}.doctor-name{font-weight:600;font-size:15px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.doctor-meta{color:var(--muted);font-size:11px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}.top-actions{display:flex;align-items:center;gap:8px;flex:none}.icon-btn{width:34px;height:34px;border-radius:12px;background:#eef5ff;color:var(--primary);font-size:12px;font-weight:600}.logout{height:34px;padding:0 10px;border-radius:12px;color:#5b6777;background:#f2f5f8;font-size:12px;font-weight:600}.main{flex:1;overflow-y:auto;padding:14px 14px 92px}.screen{display:grid;gap:12px}.screen-title{margin:2px 2px 0}.screen-title h2{margin:0;font-size:22px;line-height:1.15;letter-spacing:0}.screen-title p{margin:6px 0 0;color:var(--muted);font-size:12px}.screen-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.screen-title-row .screen-title{flex:1;min-width:0}.add-patient-btn{flex:none;min-height:38px;padding:0 12px;border-radius:14px;font-size:12px}.workbench{min-height:184px;padding:18px;color:#fff;border-radius:24px;background:radial-gradient(circle at 88% 12%,rgba(255,255,255,.22),transparent 28%),linear-gradient(135deg,#155fcc,#007aff);box-shadow:0 18px 42px #007aff38;display:flex;flex-direction:column;justify-content:space-between}.eyebrow{font-size:12px;font-weight:600;opacity:.78}.workbench h2{margin:6px 0 18px;font-size:23px;line-height:1.22;letter-spacing:0;max-width:270px}.workbench-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.workbench-grid button{min-height:70px;border-radius:18px;background:#ffffff24;color:#fff;text-align:left;padding:10px;border:1px solid rgba(255,255,255,.16)}.workbench-grid span{display:block;font-size:11px;opacity:.78}.workbench-grid strong{display:block;margin-top:8px;font-size:25px;line-height:1}.metric-row{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.metric{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:0 8px 22px #1c1c1e0d}.metric-value{font-size:26px;font-weight:600;line-height:1}.metric-label{margin-top:8px;color:var(--muted);font-size:12px;font-weight:600}.metric.danger .metric-value{color:var(--danger)}.metric.warning .metric-value{color:var(--warning)}.section-head{display:flex;align-items:center;justify-content:space-between;margin:6px 2px 0}.section-title{font-size:16px;font-weight:600}.section-side{background:transparent;color:var(--primary);font-size:12px;font-weight:600}.list{display:grid;gap:10px}.card{background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 22px #1c1c1e0d}.queue-card,.task-card,.patient-card,.alert-card{padding:14px}.queue-tag,.alert-level{display:inline-flex;height:24px;align-items:center;padding:0 9px;border-radius:999px;background:#edf5ff;color:var(--primary);font-size:11px;font-weight:600;margin-bottom:10px}.patient-line{display:flex;align-items:center;gap:10px;min-width:0;width:100%}.patient-line-body{min-width:0;flex:1}.patient-avatar{background:#eaf3ff;color:var(--primary)}.name{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sub{color:var(--muted);font-size:12px;line-height:1.38;margin-top:4px}.task-top{display:flex;align-items:flex-start;gap:8px}.status-pill{white-space:nowrap;padding:5px 9px;border-radius:999px;background:#f2f5f8;color:#526173;font-size:11px;font-weight:600}.task-meta,.patient-facts{margin-top:12px;display:flex;flex-wrap:wrap;gap:7px}.task-meta span,.patient-facts span{border-radius:10px;background:#f6f8fb;color:#5f6d7d;padding:6px 8px;font-size:11px;font-weight:600}.search-box input{width:100%;height:44px;border:1px solid var(--line);border-radius:16px;padding:0 14px;outline:none;background:#fff}.segmented{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:5px;border-radius:16px;background:#f0f0f3}.segmented.small{grid-template-columns:repeat(5,1fr)}.segmented button{height:34px;border-radius:12px;background:transparent;color:var(--muted);font-size:12px;font-weight:600}.segmented button.active{background:#fff;color:var(--primary);box-shadow:0 5px 14px #1c1c1e14}.alert-content{margin-top:8px;font-size:14px;line-height:1.48;color:#29384a}.notice-box{margin:14px 0;padding:14px;border-radius:16px;background:#fff7ed;color:#7c2d12}.notice-box p{margin:8px 0;line-height:1.48}.notice-box span{color:#9a3412;font-size:12px}.btn{min-height:42px;border-radius:14px;padding:0 14px;background:#edf3f9;color:#1d1d1f;font-weight:600}.btn:active{transform:scale(.98)}.btn.primary{background:var(--primary);color:#fff}.btn.danger{background:#fef2f2;color:var(--danger)}.btn.block{width:100%}.sticky-actions{position:sticky;bottom:calc(-18px - env(safe-area-inset-bottom));margin:16px -16px calc(-18px - env(safe-area-inset-bottom));padding:12px 16px calc(18px + env(safe-area-inset-bottom));background:#fffffff0;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:8px;border-top:1px solid var(--line)}.sticky-actions.single{grid-template-columns:1fr}.sticky-actions.two{grid-template-columns:1.4fr 1fr}.quick-dates{display:flex;gap:8px;margin-top:8px}.quick-dates button{flex:1;border:0;border-radius:999px;background:#eef2f7;color:#475569;font-size:12px;font-weight:600;padding:8px 0}.quick-dates button:active{background:#dbeafe;color:#1d4ed8}.more-toggle{width:100%;margin-top:10px;border:0;background:transparent;color:#0062e0;font-size:12px;font-weight:600;padding:10px 0}.sheet-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:flex-end;background:#0f172a6b;opacity:0;pointer-events:none;transition:.2s ease}.sheet-mask.open{opacity:1;pointer-events:auto}.sheet{width:100%;max-width:430px;margin:0 auto;max-height:90dvh;overflow-y:auto;background:#fff;border-radius:26px 26px 0 0;padding:10px 16px calc(18px + env(safe-area-inset-bottom));transform:translateY(100%);transition:.24s ease}.sheet-mask.open .sheet{transform:translateY(0)}.handle{width:42px;height:5px;border-radius:99px;background:#dbe2ea;margin:0 auto 14px}.sheet-title{font-size:18px;font-weight:600;margin:0}.sheet-header{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.form-grid{display:grid;gap:12px;margin-top:14px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-form{display:grid;gap:12px;margin-top:14px}.followup-node-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 10px;padding:12px;border-radius:16px;background:linear-gradient(135deg,#f5f8ff,#eef6ff);border:1px solid rgba(56,112,224,.12)}.followup-node-card b{display:block;color:#17263a;font-size:14px;font-weight:600}.followup-node-card span{display:block;margin-top:4px;color:#6b7890;font-size:11px;font-weight:600}.followup-node-card em{flex:0 0 auto;padding:5px 8px;border-radius:999px;color:var(--primary);background:#007aff1a;font-style:normal;font-size:11px;font-weight:600}.followup-section{margin:10px 0}.followup-section.warning{padding:10px;border-radius:14px;background:#fff7ed;border:1px solid rgba(245,158,11,.18)}.followup-section-title{margin:12px 0 8px;color:#17263a;font-size:13px;font-weight:600}.focus-list{display:flex;flex-wrap:wrap;gap:7px}.focus-list span{padding:7px 9px;border-radius:999px;color:#43536a;background:#f4f7fb;font-size:12px;font-weight:600;line-height:1.25}.followup-section.warning .focus-list span{color:#9a3412;background:#fb923c24}.knowledge-mini{margin-top:8px;padding:9px 10px;border:1px solid var(--line);border-radius:13px;background:#f8fbff}.knowledge-mini b{display:block;color:#17263a;font-size:12px}.knowledge-mini p{margin:4px 0 0;color:#64748b;font-size:12px;line-height:1.45}.followup-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.mini-action{min-height:30px;padding:0 12px;border-radius:999px;background:#0a84ff;color:#fff;font-size:12px;font-weight:600}.mini-action:disabled{opacity:.58}.education-section{padding:10px;border:1px solid rgba(10,132,255,.14);border-radius:16px;background:linear-gradient(180deg,#f8fbff,#fff)}.education-empty{margin:0;color:#64748b;font-size:12px;line-height:1.55}.education-cards{display:grid;gap:8px}.education-card{padding:9px 10px;border:1px solid var(--line);border-radius:13px;background:#ffffffe6}.education-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.education-card b{display:block;color:#17263a;font-size:12px}.education-card-head button,.education-apply{min-height:28px;padding:0 10px;border-radius:999px;background:#edf5ff;color:#0a64d6;font-size:12px;font-weight:600}.education-card p{margin:5px 0 0;white-space:pre-wrap;color:#475569;font-size:12px;line-height:1.5}.education-apply{margin-top:8px;background:#eefaf3;color:#067647}.field{margin-top:12px}.field label{display:block;font-size:12px;color:var(--muted);font-weight:600;margin-bottom:6px}.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);border-radius:14px;padding:11px 12px;outline:none;background:#f9fbfd}.field textarea{min-height:76px;resize:none;line-height:1.5}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{border-radius:999px;padding:9px 12px;background:#f1f5f9;color:#334155;font-size:12px;font-weight:600}.chip.active{background:#e0f2fe;color:#007aff}.patient360{display:grid;gap:14px}.p360-head{display:flex;align-items:center;gap:10px}.p360-head>div:nth-child(2){min-width:0;flex:1}.p360-avatar{width:52px;height:52px;border-radius:18px}.p360-name{font-size:20px;font-weight:600}.p360-score{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.p360-score .metric{padding:12px 10px;border-radius:16px}.p360-score .metric-value{font-size:22px}.info-block{border:1px solid var(--line);border-radius:18px;padding:14px;background:#fbfdff}.info-block h3{margin:0 0 12px;font-size:15px}.info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.info-item span{display:block;color:var(--muted);font-size:11px;font-weight:600}.info-item b{display:block;margin-top:4px;font-size:13px;line-height:1.35;word-break:break-word}.compact-list{gap:8px}.mini-record{display:flex;justify-content:space-between;gap:12px;padding:12px;border-radius:14px;background:#f7f9fc}.mini-record div{min-width:0}.mini-record b{display:block;font-size:13px}.mini-record span{display:block;margin-top:4px;color:var(--muted);font-size:11px}.mini-record strong{white-space:nowrap;color:var(--primary)}.timeline{display:grid;gap:8px}.timeline-item{padding:12px;border-left:3px solid var(--primary);background:#f7f9fc;border-radius:12px}.timeline-item b{display:block;font-size:13px}.timeline-item span{display:block;margin-top:4px;color:var(--muted);font-size:12px}.empty{padding:32px 14px;text-align:center;color:var(--muted);background:#fff;border:1px dashed #d8e2ec;border-radius:18px;font-size:13px}.skeleton{padding:16px;display:grid;gap:10px}.skeleton span{display:block;height:12px;border-radius:99px;background:linear-gradient(90deg,#eef2f6,#f8fafc,#eef2f6)}.skeleton span:nth-child(1){width:44%}.skeleton span:nth-child(2){width:86%}.skeleton span:nth-child(3){width:62%}.toast{position:fixed;top:calc(14px + env(safe-area-inset-top));left:50%;transform:translate(-50%,-12px);opacity:0;z-index:80;background:#0f172ae6;color:#fff;padding:10px 14px;border-radius:999px;font-size:13px;font-weight:600;transition:.2s ease;pointer-events:none;max-width:calc(100% - 28px)}.toast.show{opacity:1;transform:translate(-50%)}.login{min-height:100dvh;background:radial-gradient(circle at 80% 8%,rgba(0,122,255,.18),transparent 28%),linear-gradient(180deg,#eaf6ff,#f7fbff 42%,#fff);padding:58px 22px 22px}.login-brand{display:flex;gap:14px;align-items:center;margin-bottom:32px}.login-logo{width:58px;height:58px;border-radius:20px;background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:600;box-shadow:0 16px 32px #1677ff2e}.login h1{margin:0 0 6px;font-size:27px;letter-spacing:0}.login p{margin:0;color:var(--muted);line-height:1.45;font-size:13px}.login-card{padding:18px;border-radius:22px;background:#fff;border:1px solid var(--line);box-shadow:0 20px 46px #1c1c1e14}.login-note{margin-top:14px;text-align:center;color:var(--muted);font-size:12px}@media (max-width: 430px){html,body,#root,.app-frame{background:var(--bg);box-shadow:none}.doctor-meta{max-width:190px}}.app-frame{background:#f5f7fb}.topbar{background:#f8fafdf5;box-shadow:0 1px #e2e9f1bf}.main{padding:12px 14px 104px}.workbench{border-radius:28px;min-height:196px}.card,.metric,.native-section{box-shadow:0 10px 26px #1c1c1e0e}.mine-screen{gap:14px}.mine-hero{min-height:148px;padding:18px;border-radius:28px;background:radial-gradient(circle at 82% 16%,rgba(255,255,255,.25),transparent 26%),linear-gradient(135deg,#155fcc,#007aff);color:#fff;display:flex;align-items:center;gap:14px;box-shadow:0 18px 42px #155fcc33}.mine-avatar{width:64px;height:64px;border-radius:24px;background:#ffffff2e;border:1px solid rgba(255,255,255,.24);display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:600;flex:none}.mine-main{min-width:0}.mine-main h2{margin:0;font-size:24px;line-height:1.1}.mine-main p{margin:8px 0 0;color:#ffffffc7;font-size:13px;font-weight:600}.native-section{overflow:hidden;border-radius:20px;background:#fff;border:1px solid #F0F0F3}.native-row,.native-action{min-height:52px;width:100%;padding:0 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border-bottom:1px solid #edf2f7}.native-row:last-child,.native-action:last-child{border-bottom:0}.native-row span,.native-action span{color:#26384d;font-size:14px;font-weight:600}.native-row b,.native-action b{min-width:0;color:#718096;font-size:13px;font-weight:600;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.native-action b{font-size:24px;line-height:1;color:#9aa8b8}.danger-text span{color:var(--danger)}.sheet-submit{margin-top:16px}@media (max-width: 430px){.main{padding-bottom:106px}}.followup-task-card{padding:0;overflow:hidden}.task-main-button{width:100%;padding:14px;background:#fff;text-align:left;color:inherit}.task-contact{margin-top:12px;min-height:42px;border-radius:14px;background:#f7faff;border:1px solid #e5eef8;padding:9px 11px;display:flex;align-items:center;justify-content:space-between;gap:12px}.task-contact span{color:#718096;font-size:12px;font-weight:600}.task-contact b{color:#17263a;font-size:15px;font-weight:600;letter-spacing:.01em}.task-actions-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px;padding:0 14px 14px}.call-btn,.record-btn,.history-btn{min-height:42px;border-radius:15px;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:14px;font-weight:600}.call-btn{background:#e8f7ef;color:#067647}.call-btn.disabled{background:#f1f5f9;color:#94a3b8}.record-btn{background:var(--primary);color:#fff}.top-spacer{width:1px;height:1px;flex:none}.topbar{justify-content:flex-start}.doctor{flex:1}:root{--h5-blue: #0062E0;--h5-blue-deep: #0062E0;--h5-blue-soft: #0A84FF;--h5-bg: #f4f7fb;--h5-nav: #ffffff;--h5-orange: #f59e0b;--h5-pink: #ff3d6e}.app-frame{max-width:390px;background:var(--h5-bg);border-radius:0}.app-page{background:var(--h5-bg)}.main{padding:0 16px 104px;background:var(--h5-bg)}.tab-home .main{padding-left:0;padding-right:0}.home-screen{gap:14px}.home-screen>.section-head,.home-screen>.list,.home-screen>.metric-row{margin-left:16px;margin-right:16px}.home-hero{padding:calc(12px + env(safe-area-inset-top)) 20px 18px;min-height:340px;color:#fff;background:radial-gradient(circle at 90% 0%,rgba(70,190,221,.36),transparent 30%),linear-gradient(180deg,var(--h5-blue) 0%,var(--h5-blue-deep) 100%);border-radius:0;display:flex;flex-direction:column;gap:15px}.phone-status{height:22px;display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600;letter-spacing:-.01em}.phone-status i{width:96px;height:12px;border-radius:999px;background:#000000db;box-shadow:inset 16px 0 #19253ff2,inset -14px 0 #114fade6}.phone-status .signal{color:#d4f5ff;font-size:11px}.hero-toolbar{display:grid;grid-template-columns:48px 1fr 72px;align-items:center;min-height:42px}.hero-toolbar button,.hero-tools span{width:34px;height:34px;border-radius:14px;background:transparent;color:#fff;font-size:28px;font-weight:500;display:inline-flex;align-items:center;justify-content:center}.hero-brand{text-align:center;line-height:1.05}.hero-brand strong{display:block;font-size:17px;font-weight:600}.hero-brand span{display:block;margin-top:3px;color:#e2f7ffc7;font-size:10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.05em}.hero-tools{justify-self:end;display:flex;align-items:center;gap:2px}.hero-tools span:first-child{font-size:24px}.hero-tools span:last-child{font-size:20px;letter-spacing:.08em}.hero-greeting-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:4px}.hero-greeting-row .eyebrow{color:#d5f2ffb8;opacity:1;letter-spacing:.03em}.hero-greeting-row h2{margin:5px 0 0;font-size:20px;line-height:1.2;font-weight:600;letter-spacing:0}.duty-pill{height:28px;padding:0 10px;border-radius:999px;color:#dff9ff;background:#ffffff21;font-size:12px;font-weight:600;white-space:nowrap}.focus-note{border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:12px 13px;background:#ffffff0e;color:#ffffffeb;font-size:12px;line-height:1.55}.focus-note b{color:#ffe070}.home-hero .workbench-grid{margin-top:2px;gap:11px}.home-hero .workbench-grid button{min-height:72px;border-radius:14px;text-align:center;background:#ffffff1f;border:1px solid rgba(255,255,255,.16);box-shadow:inset 0 1px #ffffff14}.home-hero .workbench-grid span{color:#d5f2ff;opacity:1;font-size:11px;font-weight:600}.home-hero .workbench-grid strong{color:#fff;margin-top:8px;font-size:25px}.home-hero .workbench-grid button:nth-child(2) strong{color:#ffd85e}.home-hero .workbench-grid button:nth-child(3) strong{color:#63e6a5}.home-metrics{margin-top:-2px;gap:12px}.home-metrics .metric{min-height:106px;border-radius:16px;padding:18px 14px;position:relative;overflow:hidden;border-color:#ffe0e7;box-shadow:0 10px 24px #1c1c1e0e}.home-metrics .metric:after{content:"⚠";position:absolute;top:20px;right:14px;width:40px;height:40px;border-radius:13px;background:#fff0f4;color:#ff6384;display:flex;align-items:center;justify-content:center;font-size:18px}.home-metrics .metric.warning{border-color:#ffedc2}.home-metrics .metric.warning:after{content:"♧";background:#fff8e8;color:var(--h5-orange)}.home-metrics .metric-value{margin-top:18px;font-size:27px}.home-metrics .metric-label{margin-top:0;color:#5f6d7d;font-weight:600}.home-screen .section-head{margin-top:2px}.home-screen .section-title{position:relative;padding-left:11px;color:#16243a;font-size:16px}.home-screen .section-title:before{content:"";position:absolute;left:0;top:3px;bottom:3px;width:5px;border-radius:99px;background:#1f6fff}.priority-list{gap:13px}.queue-card{position:relative;min-height:108px;padding:17px 16px 13px;border-radius:16px;overflow:hidden;border-color:#edf1f6;box-shadow:0 10px 24px #1c1c1e0e}.queue-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--h5-pink)}.queue-card.is-task:before{background:var(--h5-orange)}.queue-card .patient-avatar{width:44px;height:44px;border-radius:50%;background:#fff0f3;color:#f43f5e;font-size:17px}.queue-card.is-task .patient-avatar{background:#fff7df;color:#f59e0b}.queue-footer{margin-top:12px;padding-top:10px;border-top:1px solid #f0f3f7;display:flex;justify-content:space-between;gap:12px;color:#728197;font-size:12px}.queue-footer b{color:#0062e0;white-space:nowrap}.home-hero.compact-hero{min-height:248px;padding-top:calc(28px + env(safe-area-inset-top));gap:16px}.compact-hero .hero-greeting-row{margin-top:0;align-items:center}.compact-hero .hero-greeting-row h2{margin:0;font-size:24px;line-height:1.22}.compact-hero .focus-note{margin-top:2px}.compact-hero .workbench-grid{margin-top:0}.main{scrollbar-width:none}.main::-webkit-scrollbar{display:none}.screen:not(.home-screen){gap:10px;padding-top:calc(14px + env(safe-area-inset-top))}.screen:not(.home-screen) .screen-title{margin:0 0 2px;padding:2px 2px 4px}.screen:not(.home-screen) .screen-title h2{font-size:22px;font-weight:600;color:#111827;letter-spacing:-.02em}.screen:not(.home-screen) .screen-title p{margin-top:4px;font-size:12px;color:#8492a6;line-height:1.4}.segmented{height:38px;padding:3px;border-radius:999px;gap:2px;background:#eaf0f7}.segmented button{height:32px;border-radius:999px;font-size:11px;font-weight:600;color:#708199}.segmented button.active{color:#0062e0;box-shadow:0 3px 10px #0f172a14}.search-box input{height:40px;border-radius:14px;border-color:transparent;background:#eef3f8;font-size:13px}.card,.task-card,.patient-card,.alert-card{border:0;border-radius:18px;box-shadow:0 8px 22px #1018280e}.task-card,.patient-card,.alert-card{padding:12px}.patient-card{position:relative;padding-right:58px}.patient-delete-btn{position:absolute;top:12px;right:12px;z-index:2;min-width:42px;height:28px;border-radius:999px;background:#fef2f2;color:var(--danger);font-size:11px;font-weight:600}.delete-warning{margin:8px 0 14px;padding:11px 12px;border-radius:14px;background:#fff7ed;color:#9a3412;font-size:12px;line-height:1.55;font-weight:600}.followup-task-card{border-radius:18px}.task-main-button{padding:12px}.task-actions-row{padding:0 12px 12px;gap:8px}.call-btn,.record-btn,.history-btn{min-height:38px;border-radius:13px;font-size:13px;font-weight:600}.record-btn{background:#0a84ff}.history-btn{background:#f0f4ff;color:#3b5bdb;border:1px solid #d6deff}.task-contact{min-height:38px;margin-top:9px;border-radius:12px;background:#fafafc;border-color:transparent}.task-contact span,.task-meta span,.patient-facts span{font-size:11px}.task-contact b{font-size:14px}.task-meta,.patient-facts{margin-top:9px;gap:6px}.task-meta span,.patient-facts span{padding:5px 7px;border-radius:9px;background:#f3f6fa;font-weight:600}.patient-line{gap:9px}.patient-avatar{width:38px;height:38px;border-radius:50%;font-size:15px;background:#eef7ff;color:#0a84ff}.name{font-size:14px;font-weight:600;color:#111827}.sub{font-size:11px;color:#7a8aa0}.status-pill{padding:4px 8px;border-radius:999px;font-size:10px;font-weight:600}.section-head{margin:3px 1px 0}.section-title{font-size:15px;font-weight:600}.section-side{font-size:12px;font-weight:600;color:#007aff}.sheet{border-radius:22px 22px 0 0;padding:8px 14px calc(14px + env(safe-area-inset-bottom))}.sheet-title{font-size:17px;font-weight:600}.field{margin-top:10px}.field label{font-size:11px;font-weight:600}.field input,.field textarea,.field select{border:0;border-radius:13px;background:#f2f5f9;padding:10px 11px;font-size:13px}.field textarea{min-height:68px}.chip{padding:8px 10px;font-size:11px;font-weight:600}.sticky-actions{grid-template-columns:1.45fr .9fr .9fr;padding:10px 14px calc(14px + env(safe-area-inset-bottom))}.btn{min-height:38px;border-radius:13px;font-size:13px;font-weight:600}.mine-hero{min-height:126px;border-radius:24px;box-shadow:0 12px 26px #0e5f8729}.native-section{border:0;border-radius:18px;box-shadow:0 8px 22px #1018280e}.native-row,.native-action{min-height:46px;font-size:13px}@media (max-width: 430px){.main,.tab-home .main{padding-bottom:108px}}@media (max-width: 430px){html,body,#root{background:#0e1726}.app-frame{max-width:none;box-shadow:none}}.subnav,.patient-view-nav{grid-template-columns:repeat(4,minmax(0,1fr));position:sticky;top:0;z-index:8}.patient-view-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.hospital-card,.questionnaire-card,.archived-card{overflow:hidden}.visit-chip,.readonly-chip{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:999px;background:#0a84ff1a;color:#0062e0;font-size:11px;font-weight:600;white-space:nowrap}.readonly-chip{background:#f1f5f9;color:#475569}.block-call{display:flex;justify-content:center;align-items:center;height:42px;margin:12px 0;text-decoration:none}.questionnaire-answer-list{display:grid;gap:10px;margin-top:10px}.answer-chips{align-items:stretch}.answer-chips .chip{min-height:34px;height:auto;line-height:1.25;padding-top:8px;padding-bottom:8px}.questionnaire-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.questionnaire-card-head b{display:block;font-size:15px;line-height:1.35}.questionnaire-card-head span{display:block;margin-top:5px;color:var(--muted);font-size:12px;line-height:1.45}.questionnaire-card-head em{flex:none;font-style:normal;color:#0062e0;background:#0a84ff1a;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:600}.readonly-list .mini-record{align-items:flex-start}.readonly-list .mini-record strong{max-width:46%;overflow-wrap:anywhere;white-space:normal;text-align:right;font-size:12px;line-height:1.35}.record-history{padding:6px 16px 24px;max-height:70vh;overflow-y:auto}.record-item{margin-bottom:14px;padding:12px 14px;background:#f8fafc;border-radius:14px;border:1px solid #e9eef7}.record-item-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.record-item-head b{font-size:13px;color:#1e293b}.record-method{font-size:11px;color:#6366f1;background:#eef2ff;padding:2px 8px;border-radius:999px;font-weight:600}.record-summary{font-size:13px;color:#334155;margin-bottom:8px;line-height:1.5}.record-group{margin-top:8px}.record-group-title{font-size:11px;color:#64748b;font-weight:600;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}.record-group-items{display:grid;grid-template-columns:1fr 1fr;gap:6px}.record-indicator{display:flex;flex-direction:column;padding:6px 10px;background:#fff;border-radius:10px;border:1px solid #e9eef7}.record-indicator span{font-size:11px;color:#64748b}.record-indicator b{font-size:14px;color:#0f172a;font-weight:600}.record-note{margin-top:8px;font-size:12px;color:#475569;line-height:1.5;padding:8px 10px;background:#fffbeb;border-radius:10px;border:1px solid #fde68a}.fu-block{background:#fff;border-radius:16px;padding:15px 15px 5px;margin-bottom:12px;box-shadow:0 1px 2px #0000000a,0 4px 14px #0000000d}.fu-block-title{display:flex;align-items:center;gap:7px;margin:0 0 13px;font-size:14.5px;font-weight:600;color:#1d1d1f}.fu-dot{width:4px;height:15px;border-radius:999px;background:#007aff;flex:none}.fu-block-hint{margin-left:auto;font-size:11px;font-weight:500;color:#007aff;background:#eaf4ff;padding:2px 8px;border-radius:999px}.fu-block-empty{margin:0 0 12px;font-size:12.5px;color:#8e8e93}.fu-field{margin-bottom:13px}.fu-field-label{display:block;margin-bottom:6px;font-size:12.5px;font-weight:500;color:#6e6e73}.fu-field textarea,.fu-field input[type=date],.fu-field select{width:100%;padding:11px 13px;border:1px solid #E5E5EA;border-radius:10px;background:#fff;font-size:15px;color:#1d1d1f}.fu-field textarea:focus,.fu-field input:focus,.fu-field select:focus{outline:0;border-color:#007aff;box-shadow:0 0 0 3px #007aff21}.fu-vitals{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:13px}.fu-vital{display:block;padding:10px 12px;border-radius:12px;background:#f5f5f7}.fu-vital-label{display:block;font-size:11.5px;color:#8e8e93;margin-bottom:3px}.fu-vital-input{width:100%;border:0;background:transparent;font-size:21px;font-weight:600;color:#1d1d1f;font-variant-numeric:tabular-nums;letter-spacing:-.02em;padding:0}.fu-vital-input:focus{outline:0}.fu-vital:focus-within{background:#fff;box-shadow:0 0 0 3px #007aff21}.fu-vital-unit{display:block;font-size:11px;color:#a1a1a6;margin-top:1px}.fu-chips{display:flex;flex-wrap:wrap;gap:8px}.fu-chip{border:1px solid #E5E5EA;background:#fff;color:#3a3a3c;font-size:13px;padding:8px 14px;border-radius:999px;font-family:inherit}.fu-chip.active{background:#007aff;border-color:#007aff;color:#fff;font-weight:500}.fu-actions{display:block}.fu-actions .btn.primary.block{width:100%;height:50px;font-size:16.5px;font-weight:600;border-radius:12px}.fu-actions-sub{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:9px}.fu-actions-sub .btn{height:44px;font-size:14px}.home-mode{grid-template-columns:repeat(2,1fr);margin-bottom:12px}.home-screen .screen{padding:0}.queue-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:11px}.queue-actions .btn,.queue-actions .btn:visited{min-height:42px;font-size:14px;border-radius:12px;text-decoration:none;display:flex;align-items:center;justify-content:center;font-weight:600}.queue-actions .btn.ghost{background:#eaf4ff;color:var(--primary)}.queue-actions .btn:disabled{opacity:.45}.fu-text{margin:0 0 12px;font-size:14px;line-height:1.6;color:#1d1d1f}.tabs{position:fixed;left:max(16px,calc((100vw - 430px)/2 + 16px));right:max(16px,calc((100vw - 430px)/2 + 16px));bottom:10px;z-index:20;display:flex;align-items:stretch;gap:2px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border:1px solid rgba(226,233,241,.9);border-radius:24px;background:#fffffff0;-webkit-backdrop-filter:blur(22px) saturate(180%);backdrop-filter:blur(22px) saturate(180%);box-shadow:0 10px 34px #0f172a24}.tab{position:relative;flex:1 1 0;min-width:0;height:50px;padding:0;border:0;border-radius:16px;background:transparent;color:#8aa0ba;font-family:inherit;font-size:10.5px;font-weight:600;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;transition:color .18s ease}.tab b{position:relative;width:26px;height:26px;border-radius:10px;background:transparent;color:inherit;display:flex;align-items:center;justify-content:center;transition:background .18s ease,color .18s ease}.tab svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.tab span{line-height:1;letter-spacing:.01em}.tab.active{color:#007aff}.tab.active b{background:#e9f5ff}.tab-badge{position:absolute;top:-5px;right:-7px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#ff3b30;color:#fff;font-size:10px;font-style:normal;font-weight:600;line-height:16px;text-align:center;box-shadow:0 0 0 2px #fffffff0}.segmented.two-col{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px}@media (max-width: 430px){.tabs{left:16px;right:16px;bottom:10px}}
