:root{--color-background: #f7f3ea;--color-surface: #fffdf8;--color-primary: #0f5c52;--color-primary-dark: #0a4039;--color-primary-soft: #dcebe4;--color-accent: #e6b980;--color-text: #24302d;--color-muted: #6f7c77;--color-border: #d8ddd6;color:var(--color-text);background:var(--color-background);font-family:Arial,Helvetica,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden}button,input,select,textarea{font:inherit}button{align-items:center;background:#2f6f63;border:0;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-weight:700;gap:10px;justify-content:center;min-height:48px;padding:12px 18px;transition:background-color .12s ease,box-shadow .12s ease,opacity .12s ease,transform 80ms ease}button:hover{background:#285f55}button:active{box-shadow:inset 0 3px 8px #00000038;transform:translateY(2px) scale(.99)}button:focus-visible{outline:4px solid #d7b95f;outline-offset:3px}button[disabled]{cursor:wait;opacity:.72}button.secondary{background:#5d6460}button.secondary:hover{background:#4f5652}.tv-screen{display:grid;gap:clamp(12px,1.6vw,28px);grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr);grid-template-rows:auto minmax(0,1fr) auto auto auto;height:100vh;overflow:hidden;padding:clamp(16px,2.2vw,42px)}.time-panel{grid-column:1 / -1}.day-label{align-items:baseline;display:flex;font-size:clamp(24px,4vh,62px);font-weight:700;gap:.35em;margin:0 0 clamp(4px,.8vh,10px);text-transform:capitalize;white-space:nowrap}.date-label-text{text-transform:none}.time-panel h1{font-size:clamp(56px,12vh,190px);line-height:.9;margin:0}.comfort-text{color:#476157;font-size:clamp(22px,3vh,44px);margin:clamp(8px,1.6vh,22px) 0 0}.agenda-grid{display:grid;gap:clamp(12px,1.4vw,24px);grid-template-columns:repeat(2,minmax(0,1fr));min-height:0}.agenda-column{background:#fffdf8d6;border:0;border-radius:14px;box-shadow:0 10px 28px #4a3b2412;min-height:0;overflow:hidden;padding:clamp(14px,1.8vw,28px)}.agenda-column h2{font-size:clamp(28px,4vh,64px);margin:0 0 clamp(10px,1.8vh,22px)}.agenda-column ul{display:grid;gap:18px;list-style:none;margin:0;padding:0}.agenda-column li{border-top:1px solid rgba(224,212,189,.78);display:grid;gap:5px;padding-top:clamp(8px,1.4vh,18px)}.agenda-column span{color:#2f6f63;font-size:clamp(22px,3vh,42px);font-weight:800}.agenda-column strong{font-size:clamp(22px,3vh,42px)}.agenda-column em{color:#6a756f;font-size:clamp(18px,2.4vh,30px);font-style:normal;text-transform:capitalize}.agenda-column small,.empty{color:#5e6b65;font-size:clamp(20px,2.6vh,34px)}.photo-panel{align-self:start;background:#ebe2d4;border-radius:14px;box-shadow:0 12px 32px #4a3b2414;display:grid;grid-template-rows:minmax(0,1fr) clamp(94px,13vh,154px);height:clamp(300px,47vh,680px);overflow:hidden;position:relative}.photo-panel img{background:#e8e0d2;display:block;height:100%;min-height:0;object-fit:contain;width:100%}.photo-panel div{background:#fffdf8e6;border-top:0;display:flex;flex-direction:column;justify-content:center;padding:clamp(12px,1.6vw,22px) clamp(16px,2vw,28px)}.medication-status{align-items:center;background:#fffdf8d1;border:0;border-radius:14px;box-shadow:0 8px 22px #4a3b240e;display:flex;gap:16px;grid-column:1 / -1;padding:clamp(10px,1.4vh,18px) clamp(14px,1.8vw,24px)}.medication-status p{font-size:clamp(22px,3vh,42px);font-weight:800;margin:0}.visit-status{background:#eff6f3c7;border:0;border-radius:14px;box-shadow:0 8px 22px #2f6f630e;grid-column:1 / -1;padding:clamp(10px,1.3vh,16px) clamp(14px,1.8vw,24px)}.visit-status p{color:#2f6f63;font-size:clamp(22px,2.8vh,38px);font-weight:800;margin:0}.connection-status{background:#fffdf8b3;border:0;border-radius:14px;grid-column:1 / -1;padding:12px 18px}.connection-status p,.night-mode-screen small{color:#aebdb6;font-size:clamp(18px,2vw,28px);font-weight:700;margin:0}.connection-status p{color:#6a756f}.call-suggestion{align-items:center;background:#eef5f1d6;border:0;border-radius:14px;box-shadow:0 8px 22px #2f6f630e;color:#21312b;display:flex;gap:18px;grid-column:1 / -1;padding:clamp(10px,1.4vh,18px) clamp(14px,1.8vw,24px)}.call-suggestion p{font-size:clamp(22px,3vh,42px);font-weight:800;line-height:1.25;margin:0}.call-suggestion span{color:#476157;display:block;font-size:clamp(20px,2.6vh,34px);margin-top:6px}.voice-status{background:#eef5f1b8;border:0;border-radius:14px;grid-column:1 / -1;padding:10px 16px}.voice-status p{color:#476157;font-size:clamp(18px,2.2vh,28px);font-weight:800;margin:0}.photo-panel p,.photo-panel strong{display:block;font-size:clamp(22px,3vh,42px);margin:0}.overlay-screen{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:100vh;padding:42px;text-align:center}.overlay-screen h1{font-size:clamp(58px,8vw,120px);margin:24px 0}.overlay-screen p{font-size:clamp(34px,4vw,64px);margin:0}.overlay-screen small{color:#5d6460;font-size:24px}.confirm-call-screen{align-items:center;background:#f7f3ea;color:#21312b;display:flex;justify-content:center;min-height:100vh;padding:48px;text-align:center}.confirm-call-screen section{max-width:1180px}.confirm-call-screen p{color:#476157;font-size:clamp(30px,4vw,56px);font-weight:800;margin:0 0 22px}.confirm-call-screen h1{font-size:clamp(44px,6vw,92px);line-height:1.12;margin:0 0 42px}.confirm-call-actions{display:grid;gap:24px;grid-template-columns:repeat(2,minmax(280px,1fr))}.confirm-call-actions button{font-size:clamp(28px,4vw,54px);min-height:130px;padding:24px}.simple-tv-message{align-items:center;background:#f7f3ea;color:#21312b;display:flex;min-height:100vh;justify-content:center;padding:48px;text-align:center}.simple-tv-message section{max-width:1100px}.simple-tv-message h1{font-size:clamp(54px,7vw,108px);line-height:1.1;margin:0 0 28px}.simple-tv-message p{color:#476157;font-size:clamp(32px,4vw,64px);font-weight:800;margin:0}.night-mode-screen{align-items:center;background:#111817;color:#f7f3ea;display:flex;justify-content:center;min-height:100vh;padding:48px;text-align:center}.night-mode-screen.dimmed{filter:brightness(.72)}.night-mode-screen section{display:grid;gap:18px}.night-mode-screen p,.night-mode-screen time{color:#aebdb6;font-size:clamp(22px,2.4vw,34px);margin:0}.night-mode-screen h1{font-size:clamp(64px,9vw,132px);line-height:1;margin:18px 0 0}.night-mode-screen h2{color:#dbe7e0;font-size:clamp(42px,6vw,86px);margin:0}.daily-call-screen{background:#101816;height:100vh;overflow:hidden;position:relative;width:100vw}.daily-call-frame{height:100%;position:relative;width:100%}.daily-call-notice{align-items:center;background:#f7f3eaf5;color:#21312b;display:flex;inset:0 0 auto;justify-content:center;min-height:92px;padding:18px 32px;position:absolute;text-align:center;z-index:2}.daily-call-notice strong{font-size:clamp(34px,5vw,76px)}.daily-call-status{align-items:center;background:#101816;color:#f7f3ea;display:flex;flex-direction:column;gap:14px;height:100%;justify-content:center;padding:28px;text-align:center}.daily-call-status strong{font-size:clamp(28px,5vw,64px)}.daily-call-status p{color:#d8e2dc;font-size:clamp(18px,2.5vw,30px);line-height:1.35;margin:0;max-width:780px}.daily-call-status small{color:#9fc8b7;font-size:16px;line-height:1.35;max-width:820px;overflow-wrap:anywhere}.daily-debug-panel{background:#101816d6;border:1px solid rgba(159,200,183,.5);border-radius:8px;bottom:12px;color:#f7f3ea;left:12px;max-width:min(560px,calc(100% - 24px));padding:10px 12px;position:absolute;z-index:3}.daily-debug-panel strong{display:block;font-size:14px;margin-bottom:6px}.daily-debug-panel ul{display:grid;gap:3px;list-style:none;margin:0;padding:0}.daily-debug-panel li{color:#d8e2dc;font-size:12px;line-height:1.3}.family-portal-screen{margin:0 auto;max-width:1360px;padding:32px;width:100%}.family-portal-screen header{align-items:center;display:flex;gap:24px;justify-content:space-between;margin-bottom:26px}.family-portal-screen header p,.family-portal-screen header h1{margin:0}.family-portal-screen header p{color:#49635c;font-weight:700}.family-portal-screen h1{letter-spacing:-.02em}.family-legacy-layout{display:grid;gap:18px;grid-template-columns:repeat(3,minmax(0,1fr))}.family-legacy-panel{background:#fffdf8;border:1px solid #e0d4bd;border-radius:8px;display:flex;flex-direction:column;gap:14px;padding:18px}.family-legacy-panel h2{margin:0}label{display:grid;gap:6px;font-weight:700}input,select,textarea{background:#fffdf8c7;border:0;border-radius:12px;box-shadow:inset 0 0 0 1px #b3a17e3d,0 1px #ffffffa6;min-height:48px;padding:12px 14px;transition:background-color .14s ease,box-shadow .14s ease,transform .1s ease;width:100%}input:focus,select:focus,textarea:focus{background:#fffdf8;box-shadow:inset 0 0 0 2px #2f6f63b8,0 0 0 4px #2f6f631f;outline:0}.family-portal-screen{max-width:1600px}.portal-shell{align-items:start;display:grid;gap:30px;grid-template-columns:250px minmax(0,1fr)}.portal-sidebar{background:var(--color-surface);border:1px solid rgba(216,221,214,.78);border-radius:22px;box-shadow:0 18px 48px #24302d14;display:flex;flex-direction:column;min-height:calc(100vh - 64px);padding:20px 14px;position:sticky;top:32px}.portal-brand{align-items:center;display:flex;gap:12px;padding:4px 8px 22px}.portal-brand-mark{align-items:center;background:var(--color-primary-soft);border-radius:14px;color:var(--color-primary-dark);display:inline-flex;font-size:15px;font-weight:900;height:44px;justify-content:center;letter-spacing:-.04em;width:44px}.portal-brand strong,.portal-brand small{display:block}.portal-brand strong{color:var(--color-primary-dark);font-size:20px}.portal-brand small{color:var(--color-muted);margin-top:2px}.portal-navigation{display:grid;gap:5px}.portal-navigation button,.family-portal-screen .portal-billing-link{background:transparent;border-radius:12px;box-shadow:none;color:#40524c;justify-content:flex-start;min-height:46px;padding:11px 13px;width:100%}.portal-navigation button:hover,.family-portal-screen .portal-billing-link:hover{background:#dcebe49e;box-shadow:none;color:var(--color-primary-dark);transform:none}.portal-navigation button.active{background:var(--color-primary);box-shadow:0 8px 20px #0f5c5233;color:#fff}.family-portal-screen .portal-billing-link{border-top:1px solid var(--color-border);border-radius:0;margin-top:auto;padding-top:18px}.portal-workspace{min-width:0}.portal-intro{color:var(--color-muted);font-size:18px;line-height:1.6;margin:-6px 0 2px;max-width:760px}.dashboard-summary{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.family-portal-screen .dashboard-summary button{align-items:center;background:var(--color-primary-soft);box-shadow:none;color:var(--color-primary-dark);justify-content:flex-start;min-height:92px;padding:18px;text-align:left}.dashboard-summary span,.video-call-card span{display:block}.dashboard-summary strong{font-size:24px}.video-call-card{align-items:center;background:var(--color-primary-soft);border-radius:16px;display:flex;gap:20px;justify-content:space-between;padding:18px}.video-call-card strong{display:block;font-size:20px;margin-bottom:4px}.video-call-card span{color:var(--color-muted)}.family-portal-screen header{align-items:flex-start}.family-call-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end;min-width:0}.family-portal-screen button{border-radius:12px;box-shadow:0 8px 22px #1f49411f;min-height:46px;transition:background-color .14s ease,box-shadow .14s ease,transform .1s ease}.family-portal-screen button:hover{box-shadow:0 12px 28px #1f49412b;transform:translateY(-1px)}.family-portal-screen button:active{box-shadow:0 6px 16px #1f494124;transform:translateY(1px) scale(.99)}.family-portal-screen button.secondary{background:#58625d}.portal-notice{background:linear-gradient(135deg,#e4f3ecf2,#f5faf7e6);border:0;border-radius:16px;box-shadow:0 12px 32px #2f6f631a;color:#21312b;font-size:20px;font-weight:800;margin:0 0 18px;padding:14px 18px}.portal-tabs{background:#fffdf8a8;border:0;border-radius:18px;box-shadow:0 14px 40px #48392014;display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;max-width:100%;padding:10px}.portal-tabs button{background:transparent;box-shadow:none;color:#40524c;min-height:44px;padding:10px 16px}.portal-tabs button.active{background:#2f6f63;box-shadow:0 10px 22px #2f6f6338;color:#fff}.family-call-panel{background:#fffdf8c7;border:0;border-radius:18px;box-shadow:0 18px 48px #2f6f631a;display:grid;gap:14px;grid-template-columns:1fr auto;margin:0 0 18px;padding:16px}.incoming-call-panel{align-items:center;background:linear-gradient(135deg,#e4f3ec,#f7fbf9);border:0;border-radius:18px;box-shadow:0 18px 48px #2f6f6321;display:grid;gap:18px;grid-template-columns:1fr auto;margin:0 0 18px;padding:22px}.incoming-call-panel p,.incoming-call-panel h2{margin:0}.incoming-call-panel p{color:#2f7d6c;font-weight:900}.incoming-call-panel h2{font-size:32px}.family-call-panel p,.family-call-panel h2{margin:0}.family-call-panel p{color:#476157;font-weight:800}.family-call-panel h2{font-size:24px}.family-call-frame{border-radius:16px;grid-column:1 / -1;height:420px;overflow:hidden}.family-call-frame .daily-call-screen{height:420px;min-height:0;width:100%}.family-call-frame .daily-call-notice{min-height:58px;padding:10px 16px}.family-call-frame .daily-call-notice strong{font-size:24px}.family-call-frame .daily-call-status strong{font-size:28px}.family-call-frame .daily-call-status p{font-size:18px}.family-call-frame .daily-call-status small{font-size:14px}.family-grid{display:grid;gap:20px;grid-template-columns:repeat(2,minmax(0,1fr))}.family-tab-panel{grid-template-columns:minmax(0,1fr)}.family-block{background:#fffdf8c2;border:0;border-radius:20px;box-shadow:0 18px 50px #48392014;display:flex;flex-direction:column;gap:18px;min-width:0;padding:24px}.family-block h2{font-size:30px;margin:0}.family-form{display:grid;gap:12px}.form-row{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.family-list{display:grid;gap:12px}.empty-list{color:#5e6b65;font-size:18px;margin:0}.family-list-item{align-items:stretch;display:grid;gap:8px;grid-template-columns:1fr auto}.photo-list-item,.medication-list-item,.visit-list-item{background:#eff6f3bd;border-radius:16px;color:#21312b;display:grid;gap:4px;padding:14px;text-align:left;transition:background-color .14s ease,box-shadow .14s ease,transform .1s ease}.photo-list-item:hover,.medication-list-item:hover,.visit-list-item:hover{background:#e6f3ee;box-shadow:0 10px 24px #2f6f6317;transform:translateY(-1px)}.visit-list-item.current-member{box-shadow:inset 0 0 0 2px #2f6f637a}.family-list strong,.family-list-item strong{align-items:center;display:flex;font-size:18px;gap:8px}.family-list span,.family-list small,.family-list-item span,.family-list-item small{color:#476157}.family-identity{align-items:stretch;background:#eff6f3bd;border:0;border-radius:16px;display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr)) auto;padding:14px}.family-identity div{display:grid;gap:4px}.family-identity span,.family-identity small{color:#476157}.family-identity strong{font-size:22px}.invite-code{background:#fffdf8;border:0;border-radius:999px;box-shadow:inset 0 0 0 1px #e0d4bd9e;color:#21312b;letter-spacing:.08em;padding:6px 10px;width:fit-content}.member-badge{background:#2f6f63;border-radius:999px;color:#fff;font-size:12px;font-weight:800;padding:3px 8px}.agenda-meta{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.agenda-list-row{align-items:stretch;display:grid;gap:12px;grid-template-columns:1fr auto}.agenda-list-card{align-items:center;background:#f6fbf8db;border:0;border-radius:16px;box-shadow:inset 0 0 0 1px #d7e7dfa3;color:#21312b;display:grid;gap:6px 14px;grid-template-columns:minmax(180px,auto) 1fr auto;justify-content:stretch;min-height:70px;min-width:0;padding:16px 18px;text-align:left;transition:background-color .14s ease,box-shadow .14s ease,transform .1s ease}.agenda-list-card:hover{background:#eef8f3;box-shadow:inset 0 0 0 1px #aacdc0b3,0 10px 24px #2f6f6314;transform:translateY(-1px)}.agenda-list-card strong{font-size:22px}.agenda-list-date{color:#476157;font-size:16px;font-weight:800}.agenda-type-chip{background:#fffdf8d1;border:0;border-radius:999px;box-shadow:inset 0 0 0 1px #e0d4bd9e;color:#476157;font-weight:800;padding:4px 10px}.repeat-chip{align-items:center;background:#dfeee8e0;border-radius:999px;color:#2f6f63;display:inline-flex;font-weight:800;gap:5px;padding:4px 9px}.icon-danger{background:#915047;border-radius:14px;box-shadow:0 10px 24px #8b4a422e;min-height:48px;min-width:52px;padding:12px}.icon-danger:hover{background:#793e37}.photo-list-item{grid-template-columns:96px 1fr}.photo-list-row{align-items:stretch;display:grid;gap:8px;grid-template-columns:1fr auto;min-width:0}.photo-list-item img{aspect-ratio:4 / 3;border-radius:6px;height:100%;object-fit:cover;width:96px}.medication-list-item{align-items:center;grid-template-columns:1fr}.split-actions{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.visit-quick-actions{background:#f7f3ea;border:1px solid #e0d4bd;border-radius:8px;display:grid;gap:12px;padding:14px}.visit-history{border-top:1px solid #e0d4bd;display:grid;gap:8px;padding-top:12px}.visit-history h3,.visit-history p{margin:0}.visit-history h3{font-size:20px}.visit-history div{background:#eff6f3;border-radius:8px;display:grid;gap:2px;padding:10px 12px}.visit-history span,.visit-history p{color:#476157}.settings-section{background:#eff6f3;border-radius:8px;display:grid;gap:6px;padding:14px}.settings-section h3,.settings-section p{margin:0}.settings-section p,.settings-note{color:#476157;line-height:1.35}.settings-toggle{align-items:center;background:#eff6f3;border-radius:8px;cursor:pointer;display:flex;gap:12px;justify-content:space-between;min-height:56px;padding:12px 14px}.settings-toggle input{accent-color:#2f6f63;height:24px;min-height:0;width:24px}.settings-toggle span{color:#21312b;font-weight:800}.billing-summary{background:#eff6f3;border-radius:8px;display:grid;gap:4px;padding:16px}.billing-summary p,.billing-summary h3{margin:0}.billing-summary h3{font-size:30px}.billing-summary span{color:#2f6f63;font-weight:900}.billing-usage{display:grid;gap:8px}.billing-usage progress{accent-color:#2f6f63;height:18px;width:100%}.billing-usage small{color:#476157}.upload-placeholder.compact{min-height:86px}textarea{min-height:92px;resize:vertical}.item-list,.contact-actions{display:grid;gap:10px}.item-list button{align-items:flex-start;background:#eff6f3bd;box-shadow:inset 0 0 0 1px #d7e7df94;color:#21312b;flex-direction:column;text-align:left}.item-list span{color:#476157;font-size:14px}.upload-placeholder{align-items:center;background:#fffdf87a;border:0;border-radius:16px;box-shadow:inset 0 0 0 2px #b8a98957;color:#476157;display:flex;justify-content:center;min-height:160px;text-align:center}.upload-placeholder input{display:none}.marketing-page{background:radial-gradient(circle at 15% 10%,rgba(47,111,99,.12),transparent 28rem),linear-gradient(180deg,#f8f4eb,#fbfaf6 48%,#eef5f1);color:#21312b;min-height:100vh;padding:22px clamp(18px,4vw,64px) 32px}.marketing-header{align-items:center;display:flex;gap:24px;justify-content:space-between;margin:0 auto 58px;max-width:1180px}.marketing-brand,.marketing-header nav,.marketing-actions,.marketing-proof-line,.marketing-footer,.marketing-footer nav{align-items:center;display:flex}.marketing-brand{color:#21312b;font-size:20px;font-weight:900;gap:10px;text-decoration:none}.marketing-logo{align-items:center;background:#2f6f63;border-radius:14px;color:#fff;display:inline-flex;font-size:13px;height:42px;justify-content:center;letter-spacing:.04em;width:42px}.marketing-header nav{background:#fffdf8b8;border-radius:999px;box-shadow:0 18px 44px #48392017;flex-wrap:wrap;gap:6px;padding:8px}.marketing-header nav a,.marketing-button{align-items:center;border-radius:999px;display:inline-flex;font-weight:900;justify-content:center;text-decoration:none}.marketing-header nav a{color:#40524c;min-height:42px;padding:10px 14px}.marketing-header nav a:hover{background:#2f6f6314}.marketing-header nav .marketing-nav-cta,.marketing-button{background:#2f6f63;color:#fff}.marketing-hero,.marketing-section,.final-cta,.marketing-footer{margin-left:auto;margin-right:auto;max-width:1180px}.marketing-hero{align-items:center;display:grid;gap:clamp(28px,5vw,72px);grid-template-columns:minmax(0,.95fr) minmax(320px,1.05fr);margin-bottom:34px}.marketing-hero-copy{display:grid;gap:22px}.marketing-kicker{color:#2f6f63;font-size:15px;font-weight:900;letter-spacing:.06em;margin:0;text-transform:uppercase}.marketing-hero h1,.marketing-section h2,.final-cta h2{letter-spacing:-.03em;line-height:.98;margin:0}.marketing-hero h1{font-size:clamp(54px,8vw,104px);max-width:760px}.marketing-hero-copy>p:not(.marketing-kicker),.marketing-section p,.marketing-card p,.step-card p,.faq-list p,.pricing-card p{color:#52645e;font-size:20px;line-height:1.55;margin:0}.marketing-actions{flex-wrap:wrap;gap:12px}.marketing-button{box-shadow:0 14px 28px #2f6f632e;min-height:54px;padding:14px 22px}.marketing-button.secondary{background:#fffdf8d1;color:#21312b}.marketing-proof-line{color:#50615b;flex-wrap:wrap;gap:10px}.marketing-proof-line span,.marketing-trust span{background:#fffdf8c7;border-radius:999px;box-shadow:0 10px 24px #4839200f;font-weight:800;padding:10px 14px}.hero-product-card{background:#fffdf8b8;border-radius:32px;box-shadow:0 30px 80px #2f6f6329;display:grid;gap:14px;padding:14px}.hero-tv-preview{background:#eee6d8;border-radius:24px;display:grid;gap:16px;min-height:420px;overflow:hidden;padding:24px}.hero-tv-preview strong{display:block;font-size:58px;letter-spacing:-.04em}.hero-tv-preview span,.hero-tv-preview p{color:#40524c;font-size:19px;font-weight:800;margin:0}.hero-tv-preview img{align-self:end;border-radius:20px;height:220px;object-fit:cover;width:100%}.hero-portal-preview{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}.hero-portal-preview span,.hero-portal-preview strong{background:#fffdf8;border-radius:16px;box-shadow:0 8px 24px #48392012;padding:14px}.hero-portal-preview span{color:#2f6f63;font-weight:900;grid-column:1 / -1}.marketing-trust{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 auto 28px;max-width:1180px}.marketing-section,.final-cta{background:#fffdf8b8;border-radius:30px;box-shadow:0 24px 64px #48392014;margin-top:24px;padding:clamp(24px,4vw,48px)}.marketing-story,.pricing-section{align-items:start;display:grid;gap:24px;grid-template-columns:minmax(0,.75fr) minmax(0,1fr)}.marketing-section h2,.final-cta h2{font-size:clamp(38px,5vw,68px)}.marketing-section-heading{display:grid;gap:12px;margin-bottom:26px;max-width:760px}.feature-grid,.steps-grid,.product-screens{display:grid;gap:16px}.feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.marketing-card,.step-card,.screen-preview,.pricing-card,.faq-list details{background:#f6f4edc2;border-radius:24px;box-shadow:inset 0 0 0 1px #2f6f630d;padding:22px}.marketing-card span{background:#2f6f63;border-radius:999px;display:block;height:12px;margin-bottom:22px;width:44px}.marketing-card h3,.step-card h3,.pricing-card h3{font-size:25px;margin:0 0 10px}.steps-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.step-card span{align-items:center;background:#2f6f63;border-radius:16px;color:#fff;display:inline-flex;font-size:24px;font-weight:900;height:54px;justify-content:center;margin-bottom:18px;width:54px}.product-screens{grid-template-columns:1.1fr .9fr}.screen-preview{display:grid;gap:14px;min-height:340px}.screen-preview>p{color:#2f6f63;font-weight:900}.screen-time{font-size:clamp(64px,8vw,110px);font-weight:900;letter-spacing:-.06em}.screen-photo{align-items:end;background:linear-gradient(180deg,#2f6f6305,#2f6f6347),url(https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1200&q=80) center/cover;border-radius:20px;color:#fff;display:flex;font-size:28px;font-weight:900;min-height:190px;padding:20px}.portal-screen-preview ul,.pricing-card ul{display:grid;gap:10px;margin:8px 0 0;padding-left:22px}.portal-screen-preview li,.pricing-card li{color:#40524c;font-size:20px;font-weight:800}.pricing-section{background:linear-gradient(135deg,#e4f3ecc2,#fffdf8d1)}.pricing-card{background:#fffdf8}.pricing-card>span{color:#2f6f63;font-weight:900}.pricing-card>strong{display:block;font-size:74px;letter-spacing:-.05em;line-height:1;margin-top:10px}.pricing-card .marketing-button{margin-top:18px;width:100%}.social-proof{background:#21312b;color:#fffdf8}.social-proof blockquote{font-size:clamp(28px,4vw,48px);font-weight:900;letter-spacing:-.02em;line-height:1.12;margin:0 0 18px}.social-proof p{color:#fffdf8bf;font-weight:900}.faq-list{display:grid;gap:12px}.faq-list details{cursor:pointer}.faq-list summary{color:#21312b;font-size:23px;font-weight:900}.faq-list details p{margin-top:12px}.final-cta{align-items:center;display:grid;gap:18px;justify-items:center;text-align:center}.final-cta h2{max-width:820px}.marketing-footer{color:#50615b;justify-content:space-between;padding:34px 4px 0}.marketing-footer span{font-weight:900}.marketing-footer nav{gap:18px}.marketing-footer a{color:#50615b;font-weight:800;text-decoration:none}.marketing-page{background:#f7f3ea;font-family:Segoe UI,Aptos,Arial,Helvetica,sans-serif;padding-top:28px}.marketing-header,.marketing-hero,.marketing-section,.final-cta,.marketing-footer,.marketing-trust{max-width:1060px}.marketing-header{margin-bottom:68px}.marketing-header nav{background:transparent;box-shadow:none;gap:14px;padding:0}.marketing-header nav a{border-radius:12px;color:#53645e;font-size:16px;min-height:38px;padding:8px 10px}.marketing-header nav .marketing-nav-cta{border-radius:999px;padding:9px 16px}.marketing-logo{border-radius:50%;font-size:12px;height:36px;width:36px}.marketing-hero{align-items:start;gap:clamp(42px,6vw,92px);grid-template-columns:minmax(0,.92fr) minmax(320px,.9fr);margin-bottom:54px}.marketing-hero-copy{gap:24px}.marketing-kicker{font-size:13px;letter-spacing:.04em;text-transform:none}.marketing-hero h1{font-size:clamp(48px,6vw,76px);letter-spacing:-.025em;line-height:1.04;max-width:650px}.marketing-section h2,.final-cta h2{font-size:clamp(34px,4vw,52px);letter-spacing:-.02em;line-height:1.08}.marketing-hero-copy>p:not(.marketing-kicker),.marketing-section p,.marketing-card p,.step-card p,.faq-list p,.pricing-card p{color:#596a64;font-size:19px;line-height:1.65}.marketing-button{border-radius:14px;box-shadow:none;min-height:50px;padding:13px 20px}.marketing-button.secondary{background:#ebe5d9}.marketing-proof-line{gap:8px}.marketing-proof-line span,.marketing-trust span{background:transparent;box-shadow:none;color:#53645e;padding:0}.marketing-proof-line span:not(:last-child):after,.marketing-trust span:not(:last-child):after{color:#b7aa91;content:"·";font-weight:900;margin-left:8px}.hero-product-card{background:#ede6d9;border-radius:26px;box-shadow:none;padding:12px}.hero-tv-preview{background:#f8f4eb;border-radius:20px;min-height:380px}.hero-tv-preview strong{font-size:48px}.hero-tv-preview img{border-radius:18px}.hero-portal-preview{display:none}.marketing-trust{border-bottom:1px solid rgba(179,161,126,.28);border-top:1px solid rgba(179,161,126,.28);display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px;padding:18px 0}.marketing-section,.final-cta{background:transparent;border-radius:0;box-shadow:none;margin-top:0;padding:clamp(36px,6vw,72px) 0}.marketing-story,.pricing-section{border-bottom:1px solid rgba(179,161,126,.22);border-top:0;gap:clamp(24px,5vw,72px)}.marketing-section-heading{margin-bottom:28px}.feature-grid{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.steps-grid{gap:14px}.marketing-card,.step-card,.pricing-card,.faq-list details{background:#fffdf8a3;border-radius:18px;box-shadow:none;padding:22px}.marketing-card span{display:none}.marketing-card h3,.step-card h3{font-size:23px;letter-spacing:-.01em}.step-card span{background:#e4ded1;border-radius:50%;color:#2f6f63;font-size:20px;height:44px;margin-bottom:16px;width:44px}.pricing-section{background:transparent}.pricing-card{background:#fffdf8;border-radius:22px}.pricing-card>strong{font-size:56px}.faq-list{gap:10px}.faq-list details{background:#fffdf88a}.faq-list summary{font-size:21px}.final-cta{border-top:1px solid rgba(179,161,126,.22)}@media(max-width:980px){.marketing-header{align-items:flex-start;flex-direction:column;margin-bottom:34px}.marketing-header nav{border-radius:22px;justify-content:flex-start;width:100%}.marketing-hero,.marketing-story,.pricing-section,.product-screens{grid-template-columns:1fr}.marketing-trust,.feature-grid,.steps-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-tv-preview{min-height:360px}}@media(max-width:700px){.marketing-page{padding:14px 12px 24px}.marketing-header nav a{flex:1 1 auto;min-width:130px}.marketing-hero h1{font-size:clamp(46px,16vw,66px)}.marketing-hero-copy>p:not(.marketing-kicker),.marketing-section p,.marketing-card p,.step-card p,.faq-list p,.pricing-card p{font-size:18px}.marketing-trust,.feature-grid,.steps-grid,.hero-portal-preview{grid-template-columns:1fr}.marketing-section,.final-cta,.hero-product-card{border-radius:22px}.marketing-actions,.marketing-button{width:100%}.marketing-button{min-height:56px}.hero-tv-preview{min-height:320px;padding:18px}.hero-tv-preview strong{font-size:46px}.hero-tv-preview img{height:180px}.screen-preview{min-height:260px}.pricing-card>strong{font-size:58px}.marketing-footer{align-items:flex-start;flex-direction:column;gap:14px}.marketing-footer nav{align-items:flex-start;flex-direction:column;gap:8px}}.home-screen{align-items:center;display:flex;flex-direction:column;gap:18px;justify-content:center;min-height:100vh}.home-screen h1{font-size:72px;margin:0}.home-screen a{background:#2f6f63;border-radius:8px;color:#fff;font-size:24px;font-weight:800;min-width:260px;padding:16px 24px;text-align:center;text-decoration:none}.access-screen{align-items:center;display:flex;justify-content:center;min-height:100vh;padding:24px}.access-panel{background:#fffdf8;border:1px solid #e0d4bd;border-radius:8px;display:grid;gap:18px;max-width:680px;padding:28px;width:100%}.access-panel>p,.access-panel small{color:#476157;margin:0}.access-panel h1{font-size:42px;margin:0}.tv-pairing-panel{max-width:620px}.tv-pairing-intro{margin:0 0 24px;color:var(--color-muted);font-size:1.05rem;line-height:1.65}.access-notice{margin-bottom:20px;padding:14px 16px;border-radius:14px;background:var(--color-primary-soft);color:var(--color-primary-dark);font-weight:700}.access-tabs{display:flex;flex-wrap:wrap;gap:10px}.access-tabs button{background:#5f6963;color:#fff}.access-tabs button.active{background:#2f6f63}@media(max-width:900px){.tv-screen,.agenda-grid,.agenda-list-card,.agenda-list-row,.family-legacy-layout,.family-grid,.family-identity,.form-row{grid-template-columns:1fr}.tv-screen{padding:24px}.family-portal-screen header{align-items:stretch;flex-direction:column}.family-call-actions{justify-content:stretch}.family-call-panel,.confirm-call-actions{grid-template-columns:1fr}}@media(max-height:820px)and (min-width:901px){.tv-screen{gap:12px;padding:16px}.time-panel h1{font-size:clamp(52px,10vh,92px)}.day-label{font-size:clamp(22px,3.4vh,34px)}.comfort-text{font-size:clamp(20px,2.8vh,30px);margin-top:6px}.agenda-column{padding:14px}.agenda-column h2{font-size:clamp(26px,3.8vh,34px);margin-bottom:8px}.agenda-column ul{gap:10px}.agenda-column span,.agenda-column strong{font-size:clamp(20px,2.9vh,30px)}.agenda-column em,.agenda-column small,.empty{font-size:clamp(17px,2.4vh,24px)}.photo-panel{grid-template-rows:minmax(0,1fr) 100px;height:min(43vh,360px)}.photo-panel p,.photo-panel strong,.medication-status p,.visit-status p,.call-suggestion p{font-size:clamp(20px,2.8vh,30px)}.call-suggestion span{font-size:clamp(18px,2.4vh,24px)}}.tv-screen{grid-template-areas:"time time" "agenda photo" "medication medication" "visit visit" "call call" "voice voice" "connection connection"}.time-panel{grid-area:time}.agenda-grid{grid-area:agenda}.photo-panel{grid-area:photo}.medication-status{grid-area:medication}.visit-status{grid-area:visit}.call-suggestion{grid-area:call}.voice-status{grid-area:voice}.connection-status{grid-area:connection}.tv-layout-photo{gap:clamp(12px,1vw,20px);grid-template-areas:"time photo" "agenda photo" "agenda medication" "agenda visit" "agenda call" "agenda voice" "agenda connection";grid-template-columns:clamp(430px,28vw,540px) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto auto auto auto;padding:clamp(14px,1.6vw,28px)}.tv-layout-photo .time-panel h1{font-size:clamp(76px,12vh,164px)}.tv-layout-photo .day-label{font-size:clamp(28px,3.7vh,48px)}.tv-layout-photo .comfort-text{font-size:clamp(22px,2.8vh,36px);margin-top:clamp(6px,1vh,12px)}.tv-layout-photo .photo-panel{align-self:stretch;border:0;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) clamp(72px,8.5vh,108px);height:100%;min-height:0}.tv-layout-photo .agenda-grid{gap:clamp(12px,1.4vh,18px);grid-template-columns:1fr;grid-template-rows:repeat(2,minmax(0,1fr));overflow:hidden}.tv-layout-photo .agenda-column{display:flex;flex-direction:column;min-height:0;padding:clamp(12px,1.4vw,22px)}.tv-layout-photo .agenda-column ul{min-height:0;overflow:hidden}.tv-layout-photo .agenda-column h2{font-size:clamp(29px,3.5vh,40px);margin-bottom:clamp(6px,1vh,12px)}.tv-layout-photo .agenda-column ul{gap:clamp(8px,1.1vh,14px)}.tv-layout-photo .agenda-column li{gap:3px;padding-top:clamp(6px,.8vh,10px)}.tv-layout-photo .agenda-column span,.tv-layout-photo .agenda-column strong{font-size:clamp(21px,2.55vh,30px)}.tv-layout-photo .agenda-column em,.tv-layout-photo .agenda-column small,.tv-layout-photo .empty{font-size:clamp(18px,2.1vh,24px)}.tv-layout-photo .photo-panel img{object-fit:cover}.tv-layout-photo .photo-panel div{border-left:0;border-top:0;display:grid;gap:clamp(12px,1.2vw,22px);grid-template-columns:max-content minmax(0,1fr);align-items:center;justify-content:center;padding:clamp(8px,1vh,14px) clamp(22px,2.4vw,42px)}.tv-layout-photo .photo-panel p{font-size:clamp(24px,2.8vh,38px)}.tv-layout-photo .photo-panel strong{font-size:clamp(24px,3vh,40px);line-height:1.1}@media(max-width:1500px)and (min-width:901px){.tv-layout-photo{grid-template-columns:clamp(420px,34vw,520px) minmax(0,1fr)}.tv-layout-photo .day-label{align-items:flex-start;flex-direction:column;font-size:clamp(28px,3.6vh,42px);gap:0;line-height:1.1;white-space:normal}.tv-layout-photo .time-panel h1{font-size:clamp(76px,11.5vh,150px)}.tv-layout-photo .comfort-text{font-size:clamp(22px,2.6vh,32px)}}@media(max-height:780px)and (min-width:901px){.tv-layout-photo{gap:10px;padding:12px}.tv-layout-photo .time-panel h1{font-size:clamp(72px,11vh,132px)}.tv-layout-photo .photo-panel{grid-template-rows:minmax(0,1fr) clamp(62px,8vh,88px)}.tv-layout-photo .agenda-column{padding:12px 14px}.tv-layout-photo .agenda-column h2{font-size:clamp(28px,3.4vh,36px)}.tv-layout-photo .agenda-column span,.tv-layout-photo .agenda-column strong{font-size:clamp(21px,2.45vh,28px)}.tv-layout-photo .agenda-column em,.tv-layout-photo .empty{font-size:clamp(18px,2vh,23px)}}.tv-layout-clock{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);grid-template-rows:auto minmax(0,1fr) auto auto auto}.tv-layout-clock .time-panel h1{font-size:clamp(92px,18vh,260px)}.tv-layout-clock .day-label{font-size:clamp(34px,5.4vh,78px)}.tv-layout-clock .photo-panel{grid-template-columns:minmax(0,1fr) clamp(220px,20vw,360px);grid-template-rows:minmax(0,1fr);height:min(58vh,720px)}.tv-layout-clock .photo-panel div,.tv-layout-balanced .photo-panel div{border-left:0;border-top:0}.tv-layout-balanced{grid-template-columns:minmax(0,.9fr) minmax(0,1.35fr)}.tv-layout-balanced .photo-panel{grid-template-columns:minmax(0,1fr) clamp(220px,20vw,360px);grid-template-rows:minmax(0,1fr);height:min(60vh,740px)}.tv-layout-compact{gap:clamp(10px,1.2vw,20px);grid-template-columns:minmax(0,.95fr) minmax(0,1.18fr);padding:clamp(12px,1.6vw,28px)}.tv-layout-compact .time-panel h1{font-size:clamp(58px,11vh,150px)}.tv-layout-compact .day-label{font-size:clamp(24px,3.8vh,48px)}.tv-layout-compact .photo-panel{height:min(54vh,620px)}.tv-layout-compact .agenda-column{padding:clamp(12px,1.3vw,20px)}.tv-layout-compact .agenda-column h2{font-size:clamp(26px,3.6vh,46px)}.tv-layout-photo .medication-status,.tv-layout-photo .visit-status,.tv-layout-clock .medication-status,.tv-layout-clock .visit-status,.tv-layout-balanced .medication-status,.tv-layout-balanced .visit-status,.tv-layout-compact .medication-status,.tv-layout-compact .visit-status{border-width:2px;min-height:0;padding:clamp(8px,1vh,14px) clamp(12px,1.5vw,22px)}.tv-layout-photo .medication-status p,.tv-layout-photo .visit-status p,.tv-layout-clock .medication-status p,.tv-layout-clock .visit-status p,.tv-layout-balanced .medication-status p,.tv-layout-balanced .visit-status p,.tv-layout-compact .medication-status p,.tv-layout-compact .visit-status p{font-size:clamp(18px,2.4vh,34px)}.layout-options{display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.layout-option{align-items:flex-start;background:#eff6f3;border:2px solid #d3e3dc;color:#21312b;flex-direction:column;justify-content:flex-start;min-height:118px;text-align:left}.layout-option:hover,.layout-option.active{background:#2f6f63;border-color:#2f6f63;color:#fff}.layout-option span{color:inherit;font-size:15px;font-weight:600;line-height:1.35;opacity:.86}@media(max-width:900px){.tv-screen{grid-template-areas:"time" "photo" "agenda" "medication" "visit" "call" "voice" "connection"}.tv-layout-photo .photo-panel,.tv-layout-clock .photo-panel,.tv-layout-balanced .photo-panel{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;height:min(62vh,620px)}.tv-layout-photo .photo-panel div,.tv-layout-clock .photo-panel div,.tv-layout-balanced .photo-panel div{border-left:0;border-top:3px solid #e0d4bd}.layout-options{grid-template-columns:1fr}}@media(max-width:1180px){.family-portal-screen{padding:22px}.family-call-actions{max-width:680px}.family-call-frame,.family-call-frame .daily-call-screen{height:clamp(320px,44vw,420px)}}@media(max-width:900px){.portal-shell{display:block}.portal-sidebar{border-radius:16px;min-height:auto;margin-bottom:20px;padding:12px;position:static}.portal-brand{padding-bottom:12px}.portal-navigation{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px}.portal-navigation button{flex:0 0 auto;width:auto}.family-portal-screen .portal-billing-link{border:0;margin-top:4px;padding-top:11px;width:auto}.family-portal-screen{padding:18px}.family-portal-screen header{gap:14px}.family-call-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch;max-width:none;width:100%}.family-call-actions button,.split-actions button{width:100%}.portal-tabs{flex-wrap:nowrap;overflow-x:auto;padding:8px;position:sticky;top:0;z-index:5;-webkit-overflow-scrolling:touch}.portal-tabs button{flex:0 0 auto;white-space:nowrap}.family-block{padding:18px}.family-call-panel,.incoming-call-panel{grid-template-columns:1fr}.incoming-call-panel h2{font-size:28px}.photo-list-row,.family-list-item{grid-template-columns:1fr}.photo-list-item{grid-template-columns:88px minmax(0,1fr)}.photo-list-item img{width:88px}.agenda-list-card{align-items:flex-start;gap:6px}.agenda-meta{justify-content:flex-start}.icon-danger{justify-self:stretch;width:100%}.settings-toggle{align-items:flex-start}}@media(max-width:640px){.dashboard-summary{grid-template-columns:1fr}.video-call-card{align-items:stretch;flex-direction:column}.family-portal-screen{padding:12px}.family-portal-screen header h1{font-size:clamp(30px,9vw,42px);line-height:1.05}.family-portal-screen header p{font-size:15px}.family-call-actions,.split-actions{grid-template-columns:1fr}.portal-notice{font-size:18px;padding:12px 14px}.portal-tabs{margin-left:-12px;margin-right:-12px;border-left:0;border-right:0;border-radius:0}.portal-tabs button{min-height:46px;padding:10px 14px}.family-block{border-left:0;border-right:0;border-radius:0;margin-left:-12px;margin-right:-12px;padding:16px 12px}.family-block h2{font-size:28px}input,select,textarea{font-size:16px;min-height:50px}.family-form button{min-height:54px;width:100%}.agenda-list-card{min-height:0;padding:14px}.agenda-list-card strong{font-size:20px;line-height:1.15}.agenda-list-date{font-size:15px}.agenda-meta{align-items:flex-start}.agenda-type-chip,.repeat-chip{font-size:14px}.photo-list-item{grid-template-columns:76px minmax(0,1fr)}.photo-list-item img{width:76px}.photo-list-item strong,.medication-list-item strong,.visit-list-item strong{overflow-wrap:anywhere}.upload-placeholder{min-height:110px;padding:16px}.family-identity{gap:10px;padding:12px}.family-identity strong{font-size:20px}.settings-section,.settings-toggle,.billing-summary{padding:12px}.settings-toggle{display:grid;grid-template-columns:1fr auto}.billing-summary h3{font-size:26px}.family-call-frame,.family-call-frame .daily-call-screen{height:clamp(260px,70vw,360px)}.access-screen{align-items:flex-start;padding:12px}.access-panel{gap:14px;padding:18px}.access-panel h1{font-size:clamp(34px,12vw,42px)}.access-tabs{display:grid;grid-template-columns:1fr}}.modular-tv-screen{background:var(--color-background);display:block;height:100vh;overflow:hidden;padding:clamp(14px,1.7vw,30px)}.tv-module-grid{display:grid;gap:clamp(10px,1.25vw,22px);grid-template-columns:repeat(var(--module-columns),minmax(0,1fr));grid-template-rows:repeat(var(--module-rows),minmax(0,1fr));height:100%}.tv-module{background:#fffdf8f0;border:1px solid rgba(216,221,214,.8);border-radius:clamp(16px,1.4vw,26px);box-shadow:0 12px 34px #24302d11;min-height:0;overflow:hidden;padding:clamp(16px,1.7vw,30px)}.tv-module h2,.tv-module p{margin:0}.tv-module h2{color:var(--color-primary-dark);font-size:clamp(24px,2.5vw,46px);line-height:1.1}.tv-module p,.tv-module span{color:var(--color-muted);font-size:clamp(18px,1.75vw,32px);line-height:1.35}.tv-module-dayOverview{display:flex;flex-direction:column;justify-content:center}.tv-module-dayOverview .day-label{color:var(--color-primary-dark);display:block;font-size:clamp(24px,2.7vw,48px);line-height:1.1;margin:0;white-space:normal}.tv-module-dayOverview .date-label-text{display:block;margin-top:5px}.tv-module-dayOverview h1{color:var(--color-text);font-size:clamp(62px,8.5vw,150px);letter-spacing:-.055em;line-height:.94;margin:clamp(10px,1.5vh,20px) 0}.tv-module-dayOverview>p:last-child{color:var(--color-primary);font-weight:750}.tv-module-photos{display:grid;grid-template-rows:minmax(0,1fr) auto;padding:0}.tv-module-photos img{height:100%;min-height:0;object-fit:cover;width:100%}.tv-module-photos div{background:var(--color-surface);display:grid;gap:3px;padding:clamp(12px,1.3vw,22px)}.tv-module-photos strong{color:var(--color-primary-dark);font-size:clamp(22px,2.2vw,40px)}.tv-module-agenda{display:flex;flex-direction:column}.tv-module-agenda ul{display:grid;gap:clamp(8px,1vh,14px);list-style:none;margin:clamp(10px,1.4vh,18px) 0 0;min-height:0;overflow:hidden;padding:0}.tv-module-agenda li{border-top:1px solid var(--color-border);display:grid;gap:2px;padding-top:clamp(7px,1vh,12px)}.tv-module-agenda li span{color:var(--color-primary);font-size:clamp(17px,1.5vw,27px);font-weight:800}.tv-module-agenda li strong{font-size:clamp(20px,1.9vw,34px);line-height:1.15}.modular-tv-screen .medication-status,.modular-tv-screen .visit-status,.tv-module-videoCalling,.tv-module-placeholder{align-items:flex-start;display:flex;flex-direction:column;gap:clamp(10px,1.2vw,18px);justify-content:center}.modular-tv-screen .medication-status{background:#f1f7f3;grid-column:auto}.modular-tv-screen .medication-status p,.modular-tv-screen .visit-status p{color:var(--color-text);font-size:clamp(20px,2vw,36px);font-weight:700}.modular-tv-screen .visit-status{background:#edf5f1;grid-column:auto}.tv-module-videoCalling{background:var(--color-primary-soft)}.tv-module-videoCalling svg{color:var(--color-primary)}.tv-module-placeholder{background:#faf7f0}.tv-module-placeholder.has-image{display:grid;grid-template-columns:minmax(110px,.7fr) minmax(0,1.3fr);padding:0}.tv-module-placeholder.has-image img{height:100%;min-height:0;object-fit:cover;width:100%}.tv-module-placeholder.has-image div{align-self:center;display:grid;gap:12px;padding:clamp(14px,1.4vw,24px)}.tv-empty-modules{align-items:center;background:var(--color-surface);border-radius:26px;display:flex;flex-direction:column;grid-column:1 / -1;grid-row:1 / -1;justify-content:center;padding:48px;text-align:center}.tv-empty-modules h1{color:var(--color-primary-dark);font-size:clamp(46px,6vw,96px);margin:0 0 18px}.tv-empty-modules p{color:var(--color-muted);font-size:clamp(24px,3vw,44px);margin:0}.modular-tv-screen>.voice-status,.modular-tv-screen>.connection-status{bottom:clamp(12px,1.4vw,24px);left:50%;max-width:min(1100px,calc(100vw - 48px));position:fixed;transform:translate(-50%);width:max-content;z-index:5}.modular-tv-screen>.connection-status{background:#fffdf8f0}.screen-mode-standard .tv-module,.screen-mode-active .tv-module{padding:clamp(12px,1.25vw,22px)}.screen-mode-standard .tv-module-photos,.screen-mode-active .tv-module-photos{padding:0}.screen-mode-standard .tv-module h2{font-size:clamp(22px,2vw,36px)}.screen-mode-standard .tv-module p,.screen-mode-standard .tv-module span{font-size:clamp(16px,1.45vw,26px)}.screen-mode-active .tv-module h2{font-size:clamp(18px,1.55vw,28px)}.screen-mode-active .tv-module p,.screen-mode-active .tv-module span,.screen-mode-active .tv-module-agenda li strong{font-size:clamp(14px,1.15vw,21px)}.screen-mode-active .tv-module-dayOverview h1{font-size:clamp(42px,5vw,82px)}.screen-mode-active .tv-module-dayOverview .day-label{font-size:clamp(18px,1.6vw,28px)}@media(max-width:900px){.modular-tv-screen{height:auto;min-height:100vh;overflow:auto}.tv-module-grid{grid-template-columns:1fr;grid-template-rows:none;height:auto}.tv-module{min-height:220px}.tv-module-photos{min-height:420px}}.family-portal-screen .screen-settings-intro{color:var(--color-muted);font-size:19px;line-height:1.65;margin:-6px 0 4px;max-width:760px}.family-portal-screen .screen-settings-form{gap:24px}.family-portal-screen .screen-mode-section,.family-portal-screen .module-settings-group{border:0;margin:0;min-width:0;padding:0}.family-portal-screen .screen-mode-section>legend,.family-portal-screen .module-settings-group>legend{color:var(--color-primary-dark);font-size:22px;font-weight:750;letter-spacing:-.02em;padding:0}.family-portal-screen .screen-mode-section>p,.family-portal-screen .module-settings-group>p{color:var(--color-muted);line-height:1.5;margin:6px 0 14px}.family-portal-screen .screen-mode-options{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.family-portal-screen .screen-mode-option{background:#f2f7f4;border:1px solid var(--color-border);border-radius:16px;cursor:pointer;display:block;min-height:132px;padding:18px;position:relative;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}.family-portal-screen .screen-mode-option:hover{background:var(--color-primary-soft)}.family-portal-screen .screen-mode-option.active{background:var(--color-primary-soft);border-color:var(--color-primary);box-shadow:inset 0 0 0 1px var(--color-primary)}.family-portal-screen .screen-mode-option input{accent-color:var(--color-primary);height:20px;min-height:20px;position:absolute;right:16px;top:16px;width:20px}.family-portal-screen .screen-mode-option span{display:grid;gap:8px;padding-right:25px}.family-portal-screen .screen-mode-option strong{color:var(--color-primary-dark);font-size:19px}.family-portal-screen .screen-mode-option small{color:var(--color-muted);font-size:14px;font-weight:500;line-height:1.45}.family-portal-screen .module-settings-groups{display:grid;gap:28px}.family-portal-screen .module-settings-group{border-top:1px solid var(--color-border);padding-top:24px}.family-portal-screen .module-settings-list{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.family-portal-screen .module-settings-toggle{align-items:center;background:#f8faf8;border:1px solid rgba(216,221,214,.8);border-radius:15px;cursor:pointer;display:flex;gap:18px;justify-content:space-between;min-height:92px;padding:15px 16px;transition:background-color .15s ease,border-color .15s ease}.family-portal-screen .module-settings-toggle:hover{background:#f2f7f4;border-color:#bdcbc4}.family-portal-screen .module-settings-toggle>span{display:grid;gap:5px}.family-portal-screen .module-settings-toggle strong{color:var(--color-text);font-size:16px}.family-portal-screen .module-settings-toggle small{color:var(--color-muted);font-size:13px;font-weight:500;line-height:1.4}.family-portal-screen .module-settings-toggle input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#b9c5bf;border:0;border-radius:999px;cursor:pointer;flex:0 0 50px;height:28px;min-height:28px;padding:3px;transition:background-color .16s ease;width:50px}.family-portal-screen .module-settings-toggle input:after{background:#fff;border-radius:50%;box-shadow:0 2px 5px #24302d38;content:"";display:block;height:22px;transition:transform .16s ease;width:22px}.family-portal-screen .module-settings-toggle input:checked{background:var(--color-primary)}.family-portal-screen .module-settings-toggle input:checked:after{transform:translate(22px)}.family-portal-screen .module-settings-toggle input:focus-visible{box-shadow:0 0 0 4px #e6b9807a;outline:none}.family-portal-screen .advanced-screen-settings{border:1px solid var(--color-border);border-radius:16px;overflow:hidden}.family-portal-screen .advanced-screen-settings summary{color:var(--color-primary-dark);cursor:pointer;font-weight:750;list-style-position:inside;padding:17px 18px}.family-portal-screen .advanced-screen-settings[open] summary{background:#f2f7f4;border-bottom:1px solid var(--color-border)}.family-portal-screen .advanced-screen-settings-content{display:grid;gap:16px;padding:20px}.family-portal-screen .screen-settings-savebar{align-items:center;background:var(--color-primary-soft);border:1px solid rgba(15,92,82,.12);border-radius:16px;display:flex;gap:20px;justify-content:space-between;padding:15px 16px 15px 20px;position:sticky;bottom:14px;z-index:2}.family-portal-screen .screen-settings-savebar span{color:var(--color-primary-dark);font-weight:700}.family-portal-screen .screen-settings-savebar button{min-width:190px}.family-portal-screen .module-content-settings{border:1px solid var(--color-border);border-radius:16px;overflow:hidden}.family-portal-screen .module-content-settings summary{color:var(--color-primary-dark);cursor:pointer;font-weight:750;list-style-position:inside;padding:17px 18px}.family-portal-screen .module-content-settings[open] summary{background:#f2f7f4;border-bottom:1px solid var(--color-border)}.family-portal-screen .module-content-settings-body{display:grid;gap:18px;padding:20px}.family-portal-screen .module-content-settings-body>p{color:var(--color-muted);line-height:1.5;margin:0}.family-portal-screen .module-content-editors{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.family-portal-screen .module-content-editor{background:#f8faf8;border:1px solid rgba(216,221,214,.82);border-radius:16px;display:grid;gap:14px;padding:16px}.family-portal-screen .module-content-editor>header{border:0;margin:0;padding:0}.family-portal-screen .module-content-editor h3{color:var(--color-primary-dark);font-size:18px;margin:0 0 7px}.family-portal-screen .module-content-status{background:#ecefec;border-radius:999px;color:var(--color-muted);display:inline-flex;font-size:12px;font-weight:750;padding:4px 9px}.family-portal-screen .module-content-status.enabled{background:var(--color-primary-soft);color:var(--color-primary-dark)}.family-portal-screen .module-content-fields{display:grid;gap:12px}.family-portal-screen .module-content-fields textarea{min-height:82px}@media(max-width:900px){.family-portal-screen .screen-mode-options{grid-template-columns:1fr}.family-portal-screen .screen-mode-option{min-height:0}.family-portal-screen .module-settings-list,.family-portal-screen .module-content-editors{grid-template-columns:1fr}}@media(max-width:640px){.family-portal-screen .screen-settings-intro{font-size:17px}.family-portal-screen .screen-settings-savebar{align-items:stretch;bottom:8px;flex-direction:column}.family-portal-screen .screen-settings-savebar button{min-width:0;width:100%}.family-portal-screen .module-settings-toggle{min-height:86px}}@media(max-width:420px){.photo-list-item{grid-template-columns:1fr}.photo-list-item img{height:auto;width:100%}.family-list strong,.family-list-item strong{align-items:flex-start;flex-direction:column;gap:4px}}.family-portal-screen{background:var(--color-background);color:var(--color-text);font-family:Segoe UI,Aptos,Arial,Helvetica,sans-serif;min-height:100vh;padding:28px clamp(20px,3vw,46px)}.family-portal-screen .portal-shell{gap:clamp(24px,3vw,42px);grid-template-columns:264px minmax(0,1fr)}.family-portal-screen .portal-sidebar{background:var(--color-primary-dark);border:0;border-radius:24px;box-shadow:0 18px 50px #0a403924;padding:22px 15px 16px}.family-portal-screen .portal-brand{padding:3px 10px 26px}.family-portal-screen .portal-brand-mark{background:var(--color-accent);color:var(--color-primary-dark)}.family-portal-screen .portal-brand strong{color:#fffdf8;font-size:21px;letter-spacing:-.025em}.family-portal-screen .portal-brand small{color:#fffdf8a8}.family-portal-screen .portal-navigation{gap:6px}.family-portal-screen .portal-navigation button,.family-portal-screen .portal-billing-link{color:#fffdf8c7;font-weight:650;letter-spacing:0}.family-portal-screen .portal-navigation button:hover,.family-portal-screen .portal-billing-link:hover{background:#fffdf817;color:#fffdf8}.family-portal-screen .portal-navigation button.active{background:var(--color-surface);box-shadow:none;color:var(--color-primary-dark)}.family-portal-screen .portal-billing-link{border-top-color:#fffdf829}.family-portal-screen .portal-workspace>header{align-items:end;border-bottom:1px solid var(--color-border);margin-bottom:28px;padding:8px 2px 24px}.family-portal-screen header p{color:var(--color-muted);font-size:16px;font-weight:500;line-height:1.5;margin-bottom:5px}.family-portal-screen header h1{color:var(--color-primary-dark);font-size:clamp(34px,4vw,52px);font-weight:720;letter-spacing:-.04em;line-height:1.06}.family-portal-screen button{background:var(--color-primary);border-radius:13px;box-shadow:none;font-weight:700}.family-portal-screen button:hover{background:var(--color-primary-dark);box-shadow:0 8px 20px #0a40391f}.family-portal-screen button.secondary{background:var(--color-surface);box-shadow:inset 0 0 0 1px var(--color-border);color:var(--color-primary-dark)}.family-portal-screen button.secondary:hover{background:var(--color-primary-soft)}.family-portal-screen .family-call-actions{gap:9px}.family-portal-screen .family-call-actions button{min-height:42px;padding:10px 14px}.family-portal-screen .family-block{background:var(--color-surface);border:1px solid rgba(216,221,214,.82);border-radius:22px;box-shadow:0 14px 40px #24302d0e;gap:22px;padding:clamp(22px,3vw,34px)}.family-portal-screen .family-block h2{color:var(--color-primary-dark);font-size:clamp(27px,3vw,34px);font-weight:720;letter-spacing:-.025em}.family-portal-screen .portal-intro{color:var(--color-muted);font-size:18px;line-height:1.65}.family-portal-screen .dashboard-summary{gap:16px}.family-portal-screen .dashboard-summary button{background:#edf5f1;border:1px solid rgba(15,92,82,.08);border-radius:18px;color:var(--color-primary-dark);min-height:108px;padding:22px}.family-portal-screen .dashboard-summary button:hover{background:var(--color-primary-soft);box-shadow:none}.family-portal-screen .dashboard-summary svg{background:var(--color-surface);border-radius:12px;box-sizing:content-box;padding:10px}.family-portal-screen .dashboard-summary strong{font-size:27px;letter-spacing:-.02em}.family-portal-screen label{color:var(--color-text);font-size:15px;gap:8px}.family-portal-screen input,.family-portal-screen select,.family-portal-screen textarea{background:#fffefa;border:1px solid var(--color-border);border-radius:12px;box-shadow:none;color:var(--color-text);min-height:50px}.family-portal-screen input:hover,.family-portal-screen select:hover,.family-portal-screen textarea:hover{border-color:#b9c7c0}.family-portal-screen input:focus,.family-portal-screen select:focus,.family-portal-screen textarea:focus{background:#fff;border-color:var(--color-primary);box-shadow:0 0 0 4px #0f5c521a}.family-portal-screen .family-form,.family-portal-screen .form-row{gap:16px}.family-portal-screen .photo-list-item,.family-portal-screen .medication-list-item,.family-portal-screen .visit-list-item,.family-portal-screen .agenda-list-card,.family-portal-screen .family-identity,.family-portal-screen .settings-section,.family-portal-screen .billing-summary,.family-portal-screen .visit-history div,.family-portal-screen .video-call-card{background:#f2f7f4;border:1px solid rgba(216,221,214,.7);border-radius:16px;box-shadow:none}.family-portal-screen .agenda-list-card:hover,.family-portal-screen .photo-list-item:hover,.family-portal-screen .medication-list-item:hover,.family-portal-screen .visit-list-item:hover{background:var(--color-primary-soft);box-shadow:none}.family-portal-screen .settings-section,.family-portal-screen .billing-summary,.family-portal-screen .family-identity,.family-portal-screen .video-call-card{padding:18px}.family-portal-screen .settings-toggle{background:#f2f7f4;border:1px solid rgba(216,221,214,.7);border-radius:14px;padding:13px 15px}.family-portal-screen .settings-toggle input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#b9c5bf;border:0;border-radius:999px;cursor:pointer;height:28px;min-height:28px;padding:3px;position:relative;transition:background-color .16s ease;width:50px}.family-portal-screen .settings-toggle input:after{background:#fff;border-radius:50%;box-shadow:0 2px 5px #24302d38;content:"";display:block;height:22px;transition:transform .16s ease;width:22px}.family-portal-screen .settings-toggle input:checked{background:var(--color-primary)}.family-portal-screen .settings-toggle input:checked:after{transform:translate(22px)}.family-portal-screen .settings-toggle input:focus-visible{box-shadow:0 0 0 4px #e6b98073;outline:none}.family-portal-screen .settings-note,.family-portal-screen .family-list span,.family-portal-screen .family-list small,.family-portal-screen .family-list-item span,.family-portal-screen .family-list-item small,.family-portal-screen .billing-usage small,.family-portal-screen .empty-list{color:var(--color-muted)}.family-portal-screen .upload-placeholder{background:#faf7f0;border:1px dashed #bdc9c3;box-shadow:none;color:var(--color-primary)}.family-portal-screen .agenda-type-chip,.family-portal-screen .invite-code{background:var(--color-surface);border:1px solid var(--color-border);box-shadow:none}.family-portal-screen .repeat-chip,.family-portal-screen .member-badge{background:var(--color-primary-soft);color:var(--color-primary-dark)}.family-portal-screen .icon-danger{background:#f7ebe7;box-shadow:none;color:#8a463d}.family-portal-screen .icon-danger:hover{background:#f1ddd7;box-shadow:none}.family-portal-screen .portal-notice{background:#f7ead8;border:1px solid rgba(230,185,128,.55);box-shadow:none;color:var(--color-primary-dark)}.family-portal-screen .incoming-call-panel,.family-portal-screen .family-call-panel{background:var(--color-primary-soft);border:1px solid rgba(15,92,82,.1);box-shadow:none}.family-portal-screen .layout-option{background:#f2f7f4;border:1px solid var(--color-border);color:var(--color-text)}.family-portal-screen .layout-option:hover,.family-portal-screen .layout-option.active{background:var(--color-primary);border-color:var(--color-primary);color:#fff}.family-portal-screen .billing-usage progress{accent-color:var(--color-primary)}@media(max-width:1180px){.family-portal-screen .portal-shell{grid-template-columns:232px minmax(0,1fr)}.family-portal-screen .portal-workspace>header{align-items:stretch}}@media(max-width:900px){.family-portal-screen{padding:18px}.family-portal-screen .portal-sidebar{border-radius:18px;box-shadow:0 12px 32px #0a40391f}.family-portal-screen .portal-navigation button.active{background:var(--color-surface)}.family-portal-screen .portal-billing-link{border-top:1px solid rgba(255,253,248,.16);width:100%}}@media(max-width:640px){.family-portal-screen{padding:12px}.family-portal-screen .portal-workspace>header{padding-left:5px;padding-right:5px}.family-portal-screen .family-block{border-left:1px solid rgba(216,221,214,.82);border-radius:18px;border-right:1px solid rgba(216,221,214,.82);margin-left:0;margin-right:0;padding:18px 15px}.family-portal-screen .dashboard-summary button{min-height:92px}}
