.family-portal{--family-blue:var(--product-blue,#256bd9);--family-green:#217b64;--family-content-width:800px;background:var(--product-canvas,#f5f6f8);color:var(--foreground)}.family-portal:not(.doctor-portal){--family-content-width:720px}.family-portal .flow-welcome h1{font-size:28px;font-weight:600;line-height:1.4;letter-spacing:0}.family-portal .flow-welcome p:not(.flow-eyebrow){font-size:16px;line-height:1.6;color:var(--muted-foreground)}.family-portal .flow-live{font-size:14px}.family-portal .family-real-card{gap:0;margin-bottom:24px;padding:24px;border:1px solid var(--border);border-radius:var(--radius-card,16px);box-shadow:none;background:var(--card)}.family-portal .family-real-head{align-items:center;flex-direction:row;gap:24px;padding-bottom:20px}.family-portal .family-person{display:flex;align-items:center;min-width:0;gap:12px}.family-portal .family-real-head h2{min-width:0;margin:0;font-size:22px;font-weight:600;line-height:1.4;letter-spacing:0;overflow-wrap:anywhere}.family-portal .family-real-head .family-person-avatar{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:var(--product-blue-soft,#edf4ff);color:var(--family-blue);font-size:18px;font-weight:500;letter-spacing:0}.family-portal .family-confirmed-count{display:flex;flex:0 0 auto;flex-direction:column;align-items:flex-end;gap:4px}.family-portal .family-confirmed-count strong{color:var(--family-blue);font-size:28px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}.family-portal .family-confirmed-count strong span{color:var(--muted-foreground);font-size:16px;font-weight:400}.family-portal .family-confirmed-count[data-complete=true] strong{color:var(--family-green)}.family-portal .family-confirmed-count small{color:var(--muted-foreground);font-size:13px;line-height:1.5}.family-portal .family-task-list>div{grid-template-columns:64px minmax(0,1fr);gap:16px;padding:20px 0;border-color:var(--border)}.family-portal .family-task-list>div>.family-task-time{color:var(--foreground);font-size:17px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.family-portal .family-task-list>div>.family-task-time.meal{font-size:14px;line-height:1.7;font-weight:500}.family-portal .family-task-content{min-width:0}.family-portal .family-task-medicine{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px}.family-portal .family-task-medicine>span{font-size:16px;line-height:1.5;color:var(--muted-foreground);overflow-wrap:anywhere}.family-portal .family-task-list strong{font-size:16px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.family-portal .family-task-list small{display:flex;align-items:center;gap:4px;margin-top:4px;font-size:14px;line-height:1.6;color:var(--muted-foreground)}.family-portal .family-task-list small.completed{color:var(--family-green)}.family-portal .family-task-list small svg{width:16px;height:16px;flex-shrink:0}.family-portal .family-history-calendar{margin:0;padding:8px 0 20px;border:0;border-radius:0;background:transparent}.family-portal .family-history-calendar>header{flex-wrap:wrap;gap:8px 16px}.family-portal .family-history-calendar h3{font-size:16px;line-height:1.5;font-weight:500}.family-portal .family-history-calendar header p,.family-portal .family-history-calendar header>span{font-size:14px;line-height:1.6;color:var(--muted-foreground);background:transparent;padding:0}.family-portal .family-history-legend{gap:8px 16px;margin:16px 0}.family-portal .family-history-legend span,.family-portal .family-history-weekdays span{font-size:13px;color:var(--muted-foreground)}.family-portal .family-history-grid button{aspect-ratio:auto;min-height:44px;border-radius:var(--radius-control,10px)}.family-portal .family-history-grid button strong{font-size:16px;font-weight:500;font-variant-numeric:tabular-nums}.family-portal .family-history-grid button.selected{border-color:var(--primary);box-shadow:none;outline:1px solid var(--primary)}.family-portal .family-history-grid button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.family-portal .family-history-detail{margin-top:20px;padding:16px;border-radius:12px;background:var(--product-canvas,#f5f6f8)}.family-portal .family-history-detail h4,.family-portal .family-history-detail p strong{font-size:16px;line-height:1.5}.family-portal .family-history-detail p small,.family-portal .family-history-detail>div>span,.family-portal .family-history-detail>p{font-size:14px;line-height:1.6;color:var(--muted-foreground)}.family-portal .family-history-detail>div{grid-template-columns:80px 22px minmax(0,1fr);padding:12px 0}.family-portal .permission-note{font-size:14px;line-height:1.6}.family-portal .real-alert{display:block;margin:0 0 16px;border:0;border-left:3px solid #d7a156;border-radius:0;padding:0 0 0 12px;background:transparent;color:var(--foreground)}.family-portal .real-alert strong{font-size:15px;font-weight:500;line-height:1.6}.family-portal .real-alert p{margin:4px 0 0;font-size:14px;line-height:1.6;color:var(--muted-foreground)}.family-portal .family-contact-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:360px;gap:8px;margin-top:12px}.family-portal .family-contact-actions :is(button,a){justify-content:center;min-width:0;min-height:48px;gap:4px;padding:8px 4px;border-radius:var(--radius-control,10px);font-size:14px;font-weight:500;height:auto;white-space:normal;text-align:center}.family-portal .family-contact-actions svg{width:16px;height:16px;flex-shrink:0}.family-portal .family-record-note{margin:16px 0 0;color:var(--muted-foreground);font-size:14px;line-height:1.6}.family-portal .family-task-list>div:last-child{border-bottom:0}.family-portal .family-task-empty{margin:8px 0 20px;font-size:16px;line-height:1.6;color:var(--muted-foreground)}.family-portal .family-gentle-reminder{align-self:flex-start;margin-bottom:16px}.family-portal .family-disclosure{border-top:1px solid var(--border)}.family-portal .family-disclosure>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:12px 0;color:var(--foreground);font-size:16px;line-height:1.5;cursor:pointer;list-style:none}.family-portal .family-disclosure>summary::-webkit-details-marker{display:none}.family-portal .family-disclosure>summary::marker{content:""}.family-portal .family-disclosure>summary svg{width:18px;height:18px;flex-shrink:0;color:var(--muted-foreground)}.family-portal .family-disclosure[open]>summary svg{transform:rotate(180deg)}.family-portal .family-disclosure>summary:focus-visible{outline:2px solid var(--ring);outline-offset:3px;border-radius:6px}.family-portal .family-permission-details{border-top:0}.family-portal .family-permission-details>summary{padding:8px 0 0;color:var(--muted-foreground);font-size:14px}.family-portal .family-permission-details>div{padding:0 0 8px}.family-portal .family-permission-details p{margin:0 0 8px;font-size:14px;line-height:1.6;color:var(--muted-foreground);overflow-wrap:anywhere}.family-portal .family-copy-notice{position:fixed;z-index:60;left:50%;bottom:calc(96px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:12px;width:max-content;max-width:calc(100vw - 32px);padding:12px 16px;transform:translateX(-50%);border:1px solid var(--border);border-radius:12px;color:var(--foreground);background:var(--card);box-shadow:0 4px 16px rgb(20 32 44/10%);pointer-events:none}.family-portal .family-copy-notice>svg{flex:0 0 20px;width:20px;height:20px;color:var(--family-green)}.family-portal .family-copy-notice>div{display:flex;min-width:0;flex-direction:column;gap:2px}.family-portal .family-copy-notice strong{font-size:15px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.family-portal .family-copy-notice span{color:var(--muted-foreground);font-size:14px;line-height:1.5}.family-portal.doctor-portal .family-copy-notice{bottom:calc(24px + env(safe-area-inset-bottom))}@media(min-width:801px){.family-portal .family-copy-notice{bottom:calc(24px + env(safe-area-inset-bottom))}}.family-portal:not(.doctor-portal) .family-status-card{overflow:visible;margin-bottom:32px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.family-portal:not(.doctor-portal) .family-real-head{gap:16px;padding:0 0 16px;border:0;background:transparent}.family-portal:not(.doctor-portal) .family-person{flex:1;gap:12px}.family-portal:not(.doctor-portal) .family-real-head .family-person-avatar{width:44px;height:44px;flex-basis:44px;color:var(--family-blue);background:var(--product-blue-soft,#edf4ff);font-size:18px}.family-portal:not(.doctor-portal) .family-confirmed-count:has(.family-confirmation-ring){display:grid;grid-template-columns:32px auto;grid-template-rows:auto auto;gap:2px 8px;align-items:center}.family-confirmation-ring{grid-row:1/3;width:32px;height:32px;align-self:center;overflow:visible}.family-confirmation-ring circle{fill:none;stroke-width:4}.family-confirmation-ring .family-ring-track{stroke:#e3eaf4}.family-confirmation-ring .family-ring-value{stroke:var(--family-blue);stroke-linecap:round;transform:rotate(-90deg);transform-origin:center}.family-confirmation-ring .family-ring-check{fill:none;stroke:var(--family-green);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.family-confirmed-count[data-complete=true] .family-ring-value{stroke:var(--family-green)}.family-portal:not(.doctor-portal) .family-confirmed-count strong{font-size:18px;line-height:1.4}.family-portal:not(.doctor-portal) .family-confirmed-count strong span{font-size:14px}.family-portal:not(.doctor-portal) .family-confirmed-count small{align-self:start;font-size:13px;white-space:nowrap}.family-portal:not(.doctor-portal) .family-medication-records{overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-card,16px);background:var(--card)}.family-portal:not(.doctor-portal) .family-task-list{margin:0;padding:0 24px;border:0}.family-portal:not(.doctor-portal) .family-task-list>div{grid-template-columns:44px minmax(0,1fr);align-items:center;column-gap:16px;padding:20px 0;border:0;border-bottom:1px solid var(--border)}.family-portal:not(.doctor-portal) .family-task-list>div:last-child{border-bottom:0}.family-portal:not(.doctor-portal) .family-task-list>div>.family-task-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;color:var(--product-violet,#7952e8);background:var(--product-violet-soft,#f0ebff)}.family-portal:not(.doctor-portal) .family-task-icon svg{width:24px;height:24px;stroke-width:1.8}.family-portal:not(.doctor-portal) .family-task-content{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 16px;min-height:0}.family-portal:not(.doctor-portal) .family-task-medicine{grid-column:1;flex-direction:row;align-items:baseline;gap:4px 12px}.family-portal:not(.doctor-portal) .family-task-medicine strong{font-size:18px;line-height:26px;font-weight:600}.family-portal:not(.doctor-portal) .family-task-medicine>span{color:var(--muted-foreground);font-size:15px;line-height:24px}.family-portal:not(.doctor-portal) .family-task-timing{grid-column:1;color:var(--muted-foreground);font-size:14px;line-height:22px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.family-portal:not(.doctor-portal) .family-task-content>small{grid-column:2;grid-row:1/3;justify-self:end;width:fit-content;margin:0;padding:0;border-radius:0;color:var(--muted-foreground);background:transparent;font-size:14px;line-height:22px}.family-portal:not(.doctor-portal) .family-task-content>small.completed{color:var(--family-green)}.family-portal:not(.doctor-portal) .family-task-list>[data-state=pending] .family-task-content>small{color:#8b631f}.family-portal:not(.doctor-portal) .family-followup-section{margin-top:16px}.family-portal:not(.doctor-portal) .real-alert{margin:0 0 12px;padding:16px;border:0;border-left:2px solid #d7a156;border-radius:12px;background:#faf5ec}.family-portal:not(.doctor-portal) .real-alert:last-child{margin-bottom:0}.family-portal:not(.doctor-portal) .real-alert strong{font-size:16px;font-weight:600}.family-portal:not(.doctor-portal) .family-contact-actions{max-width:none;gap:8px}.family-portal:not(.doctor-portal) .family-gentle-reminder{align-self:flex-start;min-height:48px;margin:0;padding-inline:16px;border-color:var(--family-blue);color:var(--family-blue);background:var(--card);font-size:15px}.family-portal:not(.doctor-portal) .family-disclosure{margin-top:16px;padding:0;border:0}.family-portal:not(.doctor-portal) .family-disclosure>summary{min-height:48px;padding:12px 4px;color:var(--muted-foreground);font-size:15px}.family-portal:not(.doctor-portal) .family-disclosure>summary>svg{color:var(--muted-foreground)}.family-portal:not(.doctor-portal) .family-disclosure .family-history-calendar{padding:16px;border:1px solid var(--border);border-radius:var(--radius-card,16px);background:var(--card)}.family-portal:not(.doctor-portal) .family-task-empty{margin:0;padding:24px 0}.family-portal:not(.doctor-portal) .family-navigation [data-slot=button]{transition:none}@media(min-width:601px){.family-portal:not(.doctor-portal) .family-contact-actions{width:360px}}@media(max-width:600px){.family-portal:not(.doctor-portal) .family-person,.family-portal:not(.doctor-portal) .family-real-head{gap:12px}.family-portal:not(.doctor-portal) .family-real-head .family-person-avatar{width:40px;height:40px;flex-basis:40px;font-size:17px}.family-portal:not(.doctor-portal) .family-real-head h2{font-size:20px}.family-portal:not(.doctor-portal) .family-task-list{padding-inline:16px}.family-portal:not(.doctor-portal) .family-task-list>div{grid-template-columns:40px minmax(0,1fr);column-gap:12px;padding:20px 0}.family-portal:not(.doctor-portal) .family-task-list>div>.family-task-icon{width:40px;height:40px}.family-portal:not(.doctor-portal) .family-task-content{gap:4px 8px}.family-portal:not(.doctor-portal) .family-task-medicine{grid-column:1/3;gap:4px 8px}.family-portal:not(.doctor-portal) .family-task-medicine strong{font-size:17px}.family-portal:not(.doctor-portal) .family-task-content>small{grid-column:2;grid-row:2}.family-portal:not(.doctor-portal) .family-gentle-reminder{width:100%}}.flow-shell.family-portal:not(.admin-flow):not(.patient-flow) .flow-content{width:min(var(--family-content-width),calc(100% - 48px));padding-top:28px;padding-bottom:32px}.flow-shell.family-portal:not(.admin-flow):not(.patient-flow) .flow-brand{padding-inline:max(24px,calc((100% - var(--family-content-width))/2));border-bottom:1px solid var(--border);background:var(--card);box-shadow:none;backdrop-filter:none}.family-portal .flow-brand>div>small{color:var(--muted-foreground);font-size:14px;line-height:1.5}.family-portal .flow-eyebrow{color:var(--product-violet,#7952e8)!important;font-size:14px;font-weight:500;letter-spacing:0}.family-portal .flow-welcome{flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-bottom:12px}.family-portal .flow-welcome:has(+.family-real-card){margin-bottom:20px}.family-portal .flow-welcome h1{margin:0}.family-portal .flow-live{padding:0;border:0;color:var(--muted-foreground);background:transparent;font-weight:400}.family-portal :is(button,a){-webkit-tap-highlight-color:transparent}.family-portal [data-slot=button]{min-height:48px;height:auto;border-radius:var(--radius-control,10px);font-size:14px;line-height:1.5;box-shadow:none}.family-portal :is(button,a):focus-visible{outline:2px solid var(--product-blue,#256bd9);outline-offset:3px}.family-portal .family-reassurance-card{grid-template-columns:20px minmax(0,1fr) auto;align-items:start;gap:8px;margin-bottom:24px;padding:0;border:0;border-radius:0;box-shadow:none}.family-portal .family-reassurance-card:is(.waiting,.attention,.reassured){background:transparent}.family-portal .family-reassurance-icon{width:20px;height:24px;border-radius:0;color:var(--family-green);background:transparent}.family-portal .family-reassurance-card.attention .family-reassurance-icon,.family-portal .family-reassurance-card.waiting .family-reassurance-icon{color:#96621a;background:transparent}.family-portal .family-reassurance-icon svg{width:20px;height:20px}.family-portal .family-reassurance-card h2{margin:0;font-size:16px;font-weight:400;line-height:1.5;color:var(--muted-foreground);overflow-wrap:anywhere}.family-portal .family-reassurance-card small{margin-top:0;font-size:14px;line-height:1.6;color:var(--muted-foreground)}.family-portal .family-reassurance-card>button{grid-column:auto;width:auto;padding:8px 12px;color:var(--family-blue)}.family-portal .family-contact-actions a{color:#fff;background:var(--family-blue)}.family-portal .family-contact-actions a:hover{background:color-mix(in srgb,var(--family-blue),#000 10%)}.family-portal .family-contact-actions button{color:var(--family-blue);border:1px solid var(--border);background:var(--card)}.family-portal .family-contact-actions button:last-child{border-color:transparent;color:var(--muted-foreground);background:transparent}.family-portal .family-contact-actions button:not(:disabled):hover{background:var(--product-canvas,#f5f6f8)}.family-portal .family-task-list{margin-top:0;border-top:1px solid var(--border)}.family-portal .permission-note{margin-bottom:0}.family-portal .flow-message{font-size:15px;line-height:1.65;overflow-wrap:anywhere}.family-portal .flow-card{width:100%}.family-portal .family-care-hero,.family-portal .flow-card{border:1px solid var(--border);border-radius:var(--radius-card,16px);box-shadow:none}.family-portal .family-care-hero{padding:28px;gap:24px;color:var(--foreground);background:var(--card)}.family-portal .family-care-hero p{font-size:14px;font-weight:500;letter-spacing:0;color:var(--product-coral,#e76455)}.family-portal .family-care-hero h1{font-size:28px;font-weight:600;line-height:1.4}.family-portal .family-care-hero span{font-size:16px;line-height:1.65;color:var(--muted-foreground)}.family-portal .family-care-heart{width:80px;height:80px;border-radius:24px;background:var(--product-coral,#e76455);color:#fff;transform:none}.family-portal .family-care-heart svg{width:48px;height:48px;fill:currentColor}.family-portal .family-care-heading{margin:28px 0 16px;gap:16px}.family-portal .family-care-heading h2{font-size:22px;font-weight:600}.family-portal .family-care-heading p,.family-portal .family-care-heading>span{font-size:14px;color:var(--muted-foreground)}.family-portal .family-care-heading>span{padding:0;background:transparent;font-weight:400;white-space:nowrap}.family-portal .family-care-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.family-portal .family-care-product{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:start;gap:12px;padding:20px;border:1px solid var(--border);border-radius:var(--radius-card,16px);box-shadow:none}.family-portal .family-care-product-icon{width:48px;height:48px;margin:0;border-radius:14px}.family-portal .family-care-product.watch .family-care-product-icon{color:var(--family-blue);background:var(--product-blue-soft,#edf4ff)}.family-portal .family-care-product.blue .family-care-product-icon{color:#fff;background:var(--product-violet,#7952e8)}.family-portal .family-care-product.green .family-care-product-icon{color:#fff;background:var(--product-teal,#168575)}.family-portal .family-care-product.orange .family-care-product-icon{color:#fff;background:var(--product-coral,#e76455)}.family-portal .family-care-product h3{font-size:18px;line-height:1.4;font-weight:600}.family-portal .family-care-product p{min-height:0;margin:0;font-size:15px;line-height:1.6;color:var(--muted-foreground)}.family-portal .family-care-product button:disabled{color:var(--muted-foreground);background:var(--product-canvas,#f5f6f8);font-weight:400;opacity:1}.family-portal .family-care-note{font-size:14px;line-height:1.65;color:var(--muted-foreground)}.family-portal.doctor-portal{padding-bottom:32px}.family-portal .family-product-status{display:inline-block;margin-top:8px;color:var(--muted-foreground);font-size:14px;line-height:1.5}.family-portal .family-navigation [aria-current=page]{color:var(--family-blue);background:var(--product-blue-soft,#edf4ff)}@media(min-width:601px){.family-portal .family-task-content{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:24px}.family-portal .family-task-content>small{margin-top:0}}@media(min-width:801px){.family-portal.has-navigation{padding-bottom:0}.family-portal .family-navigation{position:static;width:280px;max-width:none;margin:24px 0 0 max(24px,calc((100% - var(--family-content-width))/2));padding:4px;border:1px solid var(--border);border-radius:12px;background:#eef0f3}.family-portal .family-navigation [data-slot=button]{flex-direction:row;gap:8px;min-height:44px;padding:8px 12px;border-radius:8px}.family-portal .family-navigation [aria-current=page]{color:var(--family-blue);background:var(--card)}}@media(max-width:600px){.flow-shell.family-portal:not(.admin-flow):not(.patient-flow) .flow-brand{padding-inline:16px}.family-portal .flow-brand>div{display:none}.flow-shell.family-portal:not(.admin-flow):not(.patient-flow) .flow-content{width:calc(100% - 32px);padding-top:24px}.family-portal .flow-welcome h1{font-size:24px}.family-portal .family-reassurance-card{grid-template-columns:20px minmax(0,1fr);gap:8px;margin-bottom:20px}.family-portal .family-reassurance-card>button{grid-column:2;justify-self:start;margin-top:0;padding-inline:0}.family-portal .family-real-card{padding:20px 16px;margin-bottom:16px}.family-portal .family-real-head{gap:12px}.family-portal .family-person{gap:8px}.family-portal .family-real-head h2{font-size:20px}.family-portal .family-task-list>div{grid-template-columns:60px minmax(0,1fr);gap:12px}.family-portal .family-history-detail{padding:12px}.family-portal .family-history-detail>div{grid-template-columns:64px 20px minmax(0,1fr);gap:8px}.family-portal .family-care-hero{align-items:flex-start;padding:24px 20px;gap:16px}.family-portal .family-care-hero h1{font-size:24px}.family-portal .family-care-heart{width:56px;height:56px;border-radius:var(--radius-card,16px)}.family-portal .family-care-heart svg{width:36px;height:36px}.family-portal .family-care-product{grid-template-columns:48px minmax(0,1fr);padding:20px 16px;gap:12px}.family-portal .family-care-products{grid-template-columns:minmax(0,1fr)}.family-portal .family-care-product-icon{width:48px;height:48px}.family-portal .family-care-product button{grid-column:2;justify-self:start;margin-top:0;padding:10px 16px}.family-portal .family-care-heading{align-items:center}}