/* Medi Clinic Eco Botanic member workspace.
   Load after the existing component styles. Login/video presentation is separate.
   Visual overrides only: no appointment, rewards, permissions or privacy behaviour. */
body:not(.login-scene){
  --bg:#f5f3fa;
  --surface:#fff;
  --ink:#29223a;
  --muted:#716780;
  --line:#e4deed;
  --soft:#efe9f8;
  --purple:#684099;
  --accent:#9671bc;
  --shadow:0 2px 5px #321b4504,0 12px 32px #321b4509;
  --premium-button:#654091;
  --premium-button-end:#8055af;
  --premium-border:#ffffffa3;
  background:radial-gradient(ellipse at 86% 0,#eae0f640,transparent 46%),var(--bg);
  font-size:14px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
body.dark:not(.login-scene){
  --bg:#15121d;
  --surface:#211b2d;
  --ink:#f4effa;
  --muted:#bfb2ce;
  --line:#41334f;
  --soft:#32253f;
  --purple:#d0b0f3;
  --accent:#b38ad7;
  --shadow:0 2px 6px #00000012,0 14px 32px #00000024;
  --premium-button:#7950a4;
  --premium-button-end:#9061bd;
  --premium-border:#ffffff16;
  background:radial-gradient(ellipse at 86% 0,#40304d24,transparent 46%),var(--bg);
}
body:not(.login-scene) .topbar{
  position:sticky;
  top:0;
  z-index:12;
  height:84px;
  padding-inline:max(24px,calc((100vw - 1420px)/2));
  background:var(--surface);
  border-bottom:1px solid var(--line);
  box-shadow:0 3px 20px #2d173c05;
}
body:not(.login-scene) .brand{display:flex;align-items:center;min-width:0}
body:not(.login-scene) .brand img{width:184px;max-width:100%;height:56px}
body:not(.login-scene) .toptools{gap:10px}
body:not(.login-scene) .toptools .quiet{font-size:12px;font-weight:650;min-height:44px}
body:not(.login-scene) .language-trigger{min-height:44px;box-shadow:inset 0 1px 0 var(--premium-border),0 3px 9px #36204808}
body:not(.login-scene) .language-menu{border-radius:20px;padding:9px;box-shadow:0 18px 50px #1f102b29}
body:not(.login-scene) .language-menu button{min-height:48px;border-radius:12px}
body:not(.login-scene) .app-shell{
  max-width:1420px;
  grid-template-columns:232px minmax(0,1fr);
  gap:32px;
  margin:30px auto;
  padding-inline:24px;
}
body:not(.login-scene) .sidebar{
  position:sticky;
  top:106px;
  align-self:start;
  padding:16px 12px;
  border:1px solid var(--line);
  border-radius:25px;
  background:var(--surface);
  box-shadow:var(--shadow);
}
body:not(.login-scene) .identity{padding:12px 14px 22px;border-bottom:1px solid var(--line);margin-bottom:12px}
body:not(.login-scene) .sidebar-label{font-size:9px;letter-spacing:1.7px;margin-bottom:17px;font-weight:650;color:var(--muted)}
body:not(.login-scene) .identity h3{font-size:15px;line-height:1.5;overflow-wrap:anywhere;margin-top:14px}
body:not(.login-scene) .identity small{font-size:11px}
body:not(.login-scene) .identity-line{display:none}
body:not(.login-scene) .side-nav{gap:5px}
body:not(.login-scene) .side-nav button{
  min-height:50px;
  padding:9px 12px;
  gap:11px;
  border-radius:13px;
  border:1px solid transparent;
  font-size:12px;
  font-weight:550;
  line-height:1.5;
  white-space:normal;
  overflow-wrap:anywhere;
  transform:none;
  color:var(--muted);
  transition:background .18s,border-color .18s,color .18s;
}
body:not(.login-scene) .side-nav button.active{
  background:linear-gradient(115deg,var(--soft),var(--surface));
  color:var(--purple);
  border-color:var(--line);
  box-shadow:inset 3px 0 0 var(--purple);
  font-weight:700;
}
body:not(.login-scene) .nav-symbol,body:not(.login-scene) .nav-symbol .care-icon{width:30px!important;height:30px;flex-basis:30px!important}
body:not(.login-scene) .content-head{margin:5px 0 26px;align-items:center;gap:20px}
body:not(.login-scene) .content-head-main{flex:1;min-width:0;gap:16px}
body:not(.login-scene) .content-head h1{font-size:clamp(25px,2.5vw,32px);line-height:1.3;letter-spacing:-.7px;overflow-wrap:anywhere;margin-bottom:9px;scroll-margin-top:106px}
body:not(.login-scene) .content-head .eyebrow{font-size:9px;letter-spacing:1.5px;margin-bottom:8px}
body:not(.login-scene) .content-head p:not(.eyebrow){font-size:13px;line-height:1.65;max-width:68ch}
body:not(.login-scene) .content-head select{width:230px;max-width:100%;flex-shrink:1;font-size:13px}
body:not(.login-scene) :is(.card,.plan-card,.next-visit,.desk-stat){
  border:1px solid var(--line);
  border-radius:23px;
  box-shadow:inset 0 1px 0 var(--premium-border),var(--shadow);
}
body:not(.login-scene) .card{padding:25px;background:var(--surface)}
body:not(.login-scene) .card.photo-card{padding:0}
body:not(.login-scene) .card h2,body:not(.login-scene) .toolbar h2{font-size:20px;line-height:1.45;letter-spacing:-.3px}
body:not(.login-scene) .toolbar{margin-bottom:20px;gap:14px;flex-wrap:wrap}
body:not(.login-scene) .toolbar>div{min-width:0}
body:not(.login-scene) .toolbar h2{margin-bottom:0}
body:not(.login-scene) .two-col,body:not(.login-scene) .admin-grid{gap:22px}
body:not(.login-scene) .section-space{margin-top:26px}
body:not(.login-scene) :is(.primary,.secondary,.quiet,.hero-secondary){
  min-height:44px;
  border-radius:13px;
  font-weight:650;
  line-height:1.45;
  white-space:normal;
  overflow-wrap:anywhere;
  max-width:100%;
  transition:background .18s,border-color .18s,box-shadow .18s,transform .18s;
}
body:not(.login-scene) .primary{
  background:linear-gradient(140deg,var(--premium-button),var(--premium-button-end));
  color:#fff;
  border:1px solid #ffffff24;
  padding:12px 20px;
  box-shadow:inset 0 1px 0 #ffffff30,0 3px 0 #32134d24,0 8px 18px #5230711a;
}
body:not(.login-scene) .secondary{background:var(--soft);color:var(--purple);border:1px solid var(--line);padding:10px 16px;box-shadow:inset 0 1px 0 var(--premium-border)}
body:not(.login-scene) .quiet{background:var(--surface);border:1px solid var(--line);color:var(--purple);padding:10px 15px;box-shadow:0 2px 4px #321b4504}
body:not(.login-scene) .quiet.danger{color:#a43852}
body.dark:not(.login-scene) .quiet.danger{color:#ffaabe}
body:not(.login-scene) .small-button{font-size:12px;min-height:44px}
body:not(.login-scene) :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--purple);outline-offset:3px}
body:not(.login-scene) :is(input:not([type=checkbox]):not([type=range]),select,textarea){border-radius:12px;border-color:var(--line);min-height:46px;box-shadow:inset 0 1px 2px #321b4503;font-size:14px}
body:not(.login-scene) label{font-size:12px;line-height:1.55;color:var(--ink)}
body:not(.login-scene) label>input,body:not(.login-scene) label>select,body:not(.login-scene) label>textarea{margin-top:8px}
body:not(.login-scene) .actions{gap:9px}
body:not(.login-scene) .badge{font-size:11px;padding:5px 10px;line-height:1.4;max-width:100%;white-space:normal;overflow-wrap:anywhere;border:1px solid #76519712}
body.dark:not(.login-scene) .badge{border-color:#c19ce21c}
body:not(.login-scene) .empty{border:1px dashed var(--line);background:var(--bg);border-radius:17px;padding:28px 18px}
body:not(.login-scene) .empty h3{font-size:15px;margin-bottom:5px}
body:not(.login-scene) .empty p{font-size:13px;line-height:1.7}
body:not(.login-scene) .notice{font-size:13px;line-height:1.7;border:1px solid var(--line);border-radius:15px;padding:16px 18px}
body:not(.login-scene) .welcome-panel{border-radius:26px;padding:32px;grid-template-columns:minmax(0,1.5fr) minmax(175px,.8fr);gap:20px;min-height:260px;box-shadow:inset 0 1px 0 #ffffff30,0 12px 30px #30184124}
body:not(.login-scene) .welcome-copy h2{font-size:clamp(24px,2.4vw,32px);line-height:1.35;letter-spacing:-.5px;margin-top:17px;overflow-wrap:anywhere}
body:not(.login-scene) .welcome-copy p{font-size:13px;line-height:1.75;color:#eadff7}
body:not(.login-scene) .welcome-actions .primary{background:#fff;color:#57347e;border-color:#fff;box-shadow:inset 0 1px 0 #fff,0 5px 14px #20112f24}
body:not(.login-scene) .welcome-actions .hero-secondary{min-height:44px;padding:10px 16px;color:#fff}
body:not(.login-scene) .quick-action{min-height:88px;border-radius:18px;box-shadow:inset 0 1px 0 var(--premium-border),0 7px 17px #39204607;gap:12px}
body:not(.login-scene) .quick-action>span{font-size:13px;line-height:1.45;overflow-wrap:anywhere}
body:not(.login-scene) .quick-action small{font-size:11px;line-height:1.5}
body:not(.login-scene) .stats{gap:14px;margin-bottom:24px}
body:not(.login-scene) .stat-card{min-height:154px;padding:23px;background:linear-gradient(145deg,var(--surface),var(--bg))}
body:not(.login-scene) .stat-card strong{font-size:36px;margin:16px 0 6px;font-variant-numeric:tabular-nums;letter-spacing:-1px}
body:not(.login-scene) .stat-card>span:first-child{display:block;font-size:12px;line-height:1.5;padding-right:40px;overflow-wrap:anywhere}
body:not(.login-scene) .stat-card small{font-size:11px;line-height:1.5;max-width:85%}
body:not(.login-scene) .stat-card.featured{background:linear-gradient(125deg,#59337f,#7950a3);color:#fff;border-color:#79529a;box-shadow:inset 0 1px 0 #ffffff25,0 10px 25px #49276121}
body.dark:not(.login-scene) .stat-card.featured{background:linear-gradient(125deg,#543079,#72489a)}
body:not(.login-scene) .stat-card.featured strong{color:#fff}
body:not(.login-scene) .stat-card.featured small{color:#f0e3ff}
body:not(.login-scene) .stat-mark{right:16px;top:18px}
body:not(.login-scene) .stat-mark .care-icon{width:46px;height:46px}
body:not(.login-scene) .service-link{min-height:72px;border-radius:16px;font-size:13px;line-height:1.45}
body:not(.login-scene) .service-link .care-icon{width:42px;height:42px}
body:not(.login-scene) .record-row{padding-top:18px;padding-bottom:18px}
body:not(.login-scene) .record-row h3{font-size:15px;line-height:1.5}
body:not(.login-scene) .record-row p{font-size:13px;line-height:1.65;overflow-wrap:anywhere}
body:not(.login-scene) .message{border-radius:18px;padding:17px 19px;font-size:14px;line-height:1.7}
body:not(.login-scene) .portal-footer{max-width:1420px;margin:38px auto 24px;padding-inline:24px;font-size:11px;line-height:1.65}
body:not(.login-scene) #member-menu{padding:18px;border-radius:25px;border-color:var(--line);box-shadow:0 18px 60px #24133035}
body:not(.login-scene) .member-menu-profile{background:linear-gradient(140deg,var(--soft),var(--surface));padding:15px;margin-bottom:20px;border-radius:19px}
body:not(.login-scene) .member-menu-tile{min-height:64px;border-radius:15px;padding:11px;gap:10px;background:var(--surface);box-shadow:inset 0 1px 0 var(--premium-border),0 3px 8px #321b4506}
body:not(.login-scene) .member-menu-tile[aria-current]{background:var(--soft);border-color:var(--purple);box-shadow:inset 0 0 0 1px #9069b31a}
body:not(.login-scene) .member-menu-tile span{font-size:12px;line-height:1.45}
body:not(.login-scene) .member-menu-head button{min-height:44px;min-width:44px}
body:not(.login-scene) #member-menu-actions button{min-height:44px;line-height:1.45;border:1px solid var(--line)}
body:not(.login-scene) #member-menu-toggle{min-height:44px;min-width:44px;border-radius:14px;box-shadow:inset 0 1px 0 var(--premium-border),0 3px 8px #321b4508}
body:not(.login-scene) dialog{border-radius:24px;box-shadow:inset 0 1px 0 var(--premium-border),0 24px 80px #13051e40}
@media(hover:hover){
  body:not(.login-scene) .side-nav button:hover{background:var(--soft);border-color:var(--line);transform:none}
  body:not(.login-scene) :is(.primary,.secondary,.quiet,.hero-secondary):not(:disabled):hover{filter:none;transform:translateY(-1px);box-shadow:inset 0 1px 0 var(--premium-border),0 6px 16px #52307120}
  body:not(.login-scene) :is(.quick-action,.service-link):hover{transform:translateY(-2px);border-color:var(--accent);box-shadow:0 10px 22px #39204612}
}
body:not(.login-scene) :is(.primary,.secondary,.quiet,.hero-secondary):not(:disabled):active{transform:translateY(1px)}
@media(max-width:1100px){
  body:not(.login-scene) .app-shell{grid-template-columns:205px minmax(0,1fr);gap:22px}
  body:not(.login-scene) .welcome-panel{padding:27px;grid-template-columns:minmax(0,1fr) 170px}
  body:not(.login-scene) .quick-action{padding:13px;gap:9px}
  body:not(.login-scene) .quick-action .care-icon{width:36px;height:36px}
  body:not(.login-scene) .stat-card{padding:20px}
}
@media(max-width:850px) and (min-width:701px){
  body:not(.login-scene) .app-shell{grid-template-columns:175px minmax(0,1fr);gap:18px;padding-inline:20px}
  body:not(.login-scene) .sidebar{padding:12px 7px}
  body:not(.login-scene) .side-nav button{padding:9px 8px;gap:8px;font-size:11px}
  body:not(.login-scene) .welcome-panel{grid-template-columns:minmax(0,1fr) 110px;padding:23px;gap:12px}
  body:not(.login-scene) .welcome-art .portrait-medallion{width:112px;height:112px}
  body:not(.login-scene) .welcome-art .floating-icon{width:43px;height:43px}
  body:not(.login-scene) .welcome-art .floating-icon img{width:34px;height:34px}
  body:not(.login-scene) .quick-actions{grid-template-columns:1fr;gap:9px}
  body:not(.login-scene) .quick-action{min-height:64px}
  body:not(.login-scene) .stats{grid-template-columns:1fr;gap:12px}
  body:not(.login-scene) .stat-card{min-height:125px}
  body:not(.login-scene) .content-head{flex-direction:column;align-items:stretch}
  body:not(.login-scene) .content-head select{width:100%}
}
@media(max-width:700px){
  body:not(.login-scene){font-size:14px}
  body:not(.login-scene) .topbar{height:calc(76px + env(safe-area-inset-top));padding:calc(8px + env(safe-area-inset-top)) 16px 8px;gap:8px}
  body:not(.login-scene) .topbar .brand{flex:0 1 122px;width:122px;min-width:84px}
  body:not(.login-scene) .brand img{width:100%;max-width:122px;height:auto;max-height:46px}
  body:not(.login-scene) .toptools{gap:6px}
  body:not(.login-scene) .language-trigger{width:80px;min-width:80px;height:44px;padding-inline:8px;gap:5px;border-radius:14px}
  body:not(.login-scene) .toptools #theme.theme-control{width:44px;height:44px;min-width:44px;min-height:44px}
  body:not(.login-scene) #member-menu-toggle{width:44px;height:44px;padding:0}
  body:not(.login-scene) .language-menu{right:-100px;max-width:calc(100vw - 24px)}
  body:not(.login-scene) .app-shell{display:block;padding-inline:18px;margin:24px auto}
  body:not(.login-scene) .sidebar{display:none}
  body:not(.login-scene) .content-head{margin:0 0 23px;gap:13px;align-items:stretch}
  body:not(.login-scene) .content-head h1{font-size:26px;line-height:1.35;margin-bottom:8px}
  body:not(.login-scene) .content-head p:not(.eyebrow){font-size:12px;line-height:1.65}
  body:not(.login-scene) .content-head select{width:100%;max-width:100%;font-size:14px}
  body:not(.login-scene) .content-head-main>.avatar-open .avatar{width:48px;height:48px;border-radius:17px}
  body:not(.login-scene) .card{padding:20px;border-radius:21px}
  body:not(.login-scene) .card.photo-card{padding:0}
  body:not(.login-scene) .card h2,body:not(.login-scene) .toolbar h2{font-size:19px}
  body:not(.login-scene) .toolbar{margin-bottom:17px;gap:11px}
  body:not(.login-scene) .welcome-panel{display:block;padding:23px 20px;min-height:0;border-radius:23px;overflow:hidden}
  body:not(.login-scene) .welcome-copy{max-width:none}
  body:not(.login-scene) .welcome-copy .private-pill{max-width:calc(100% - 82px);font-size:9px;line-height:1.6}
  body:not(.login-scene) .welcome-copy h2{font-size:24px;line-height:1.4;margin-top:18px;padding-right:73px;min-height:67px}
  body:not(.login-scene) .welcome-copy p{font-size:12px;line-height:1.7;max-width:none;margin-bottom:19px}
  body:not(.login-scene) .welcome-art{position:absolute;right:18px;top:33px;width:78px;min-height:90px;height:90px;pointer-events:none}
  body:not(.login-scene) .welcome-art .portrait-medallion{width:72px;height:72px;box-shadow:inset 0 2px 5px #fff,0 4px 0 #73449a,0 12px 19px #16092245}
  body:not(.login-scene) .welcome-art .art-halo{width:67px;height:67px;box-shadow:0 0 0 12px #dcc4f308}
  body:not(.login-scene) .welcome-art .floating-icon{width:29px;height:29px;border-radius:10px}
  body:not(.login-scene) .welcome-art .floating-icon .care-icon{width:25px;height:25px}
  body:not(.login-scene) .welcome-art .floating-icon.one{left:-4px;top:-8px}
  body:not(.login-scene) .welcome-art .floating-icon.two{right:-5px;bottom:-2px;top:auto}
  body:not(.login-scene) .welcome-art .floating-icon.three{display:none}
  body:not(.login-scene) .welcome-actions{gap:9px;align-items:stretch}
  body:not(.login-scene) .welcome-actions :is(.primary,.hero-secondary){font-size:12px;min-height:44px;padding:10px 13px;flex:1 1 110px;text-align:center}
  body:not(.login-scene) .quick-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:20px}
  body:not(.login-scene) .quick-action{min-height:100px;flex-direction:column;padding:13px 7px;gap:8px;border-radius:17px;text-align:center}
  body:not(.login-scene) .quick-action .care-icon{width:37px;height:37px}
  body:not(.login-scene) .quick-action>span{font-size:11px;line-height:1.5}
  body:not(.login-scene) .quick-action small,body:not(.login-scene) .quick-action b{display:none}
  body:not(.login-scene) .stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:23px}
  body:not(.login-scene) .stats .stat-card:last-child{grid-column:auto}
  body:not(.login-scene) .stat-card{padding:15px 11px;min-height:155px;border-radius:17px}
  body:not(.login-scene) .stat-card>span:first-child{font-size:10px;line-height:1.55;padding-right:0;min-height:32px}
  body:not(.login-scene) .stat-card strong{font-size:27px;margin:13px 0 5px;letter-spacing:-.6px}
  body:not(.login-scene) .stat-card small{font-size:10px;max-width:100%;line-height:1.5}
  body:not(.login-scene) .stat-card .stat-mark{position:static;display:block;height:27px;margin-top:10px}
  body:not(.login-scene) .stat-card .stat-mark .care-icon{width:27px;height:27px}
  body:not(.login-scene) .two-col,body:not(.login-scene) .admin-grid{gap:20px}
  body:not(.login-scene) .section-space{margin-top:23px}
  body:not(.login-scene) .service-link{font-size:13px;min-height:70px;padding:13px 15px}
  body:not(.login-scene) .record-row p{font-size:12px}
  body:not(.login-scene) .record-row .actions{gap:8px}
  body:not(.login-scene) .portal-footer{flex-direction:column;gap:10px;padding:18px 0;margin:30px 18px 22px;font-size:10px;overflow-wrap:anywhere}
  body:not(.login-scene) .member-menu-profile .avatar{width:54px;height:54px;border-radius:18px}
  body:not(.login-scene) .member-menu-grid{gap:9px}
  body:not(.login-scene) #member-menu{top:calc(84px + env(safe-area-inset-top));padding:17px;max-height:calc(100dvh - 105px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
  body:not(.login-scene) .member-menu-tile .care-icon{width:31px;height:31px}
  body:not(.login-scene) .member-menu-tile{padding:10px;gap:8px}
  body:not(.login-scene) .member-menu-tile span{font-size:11px}
  body:not(.login-scene) :is(input:not([type=checkbox]):not([type=range]),select,textarea){font-size:16px}
}
@media(max-width:359px){
  body:not(.login-scene) .welcome-actions :is(.primary,.hero-secondary){flex:0 0 auto;width:100%}
  body:not(.login-scene) .topbar{padding-inline:11px;gap:5px}
  body:not(.login-scene) .topbar .brand{flex-basis:94px;width:94px}
  body:not(.login-scene) .toptools{gap:5px}
  body:not(.login-scene) .language-trigger{width:72px;min-width:72px;padding-inline:6px;gap:4px}
  body:not(.login-scene) .app-shell{padding-inline:14px}
  body:not(.login-scene) .content-head h1{font-size:24px}
  body:not(.login-scene) .card{padding:17px}
  body:not(.login-scene) .welcome-panel{padding:21px 18px}
  body:not(.login-scene) .welcome-copy h2{font-size:22px;padding-right:64px}
  body:not(.login-scene) .welcome-art{right:13px;width:69px}
  body:not(.login-scene) .welcome-art .portrait-medallion{width:65px;height:65px}
  body:not(.login-scene) .stats{gap:7px}
  body:not(.login-scene) .stat-card{padding:13px 9px;min-height:165px}
  body:not(.login-scene) .stat-card strong{font-size:25px}
  body:not(.login-scene) .quick-actions{gap:7px}
  body:not(.login-scene) .quick-action{padding-inline:5px}
}
@media(prefers-reduced-motion:reduce){
  body:not(.login-scene) :is(.side-nav button,.primary,.secondary,.quiet,.hero-secondary,.quick-action,.service-link,.member-menu-tile){transition:none;transform:none}
}
