/* Dentigram Champagne Glass. Screen-only presentation, never printed Rx. */
@font-face{font-family:'Dentigram Alexandria';font-style:normal;font-weight:100 900;font-display:swap;src:url('./assets/fonts/alexandria-arabic-variable.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-089F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200E,U+2010-2011,U+204F,U+2E41}
@font-face{font-family:'Dentigram Alexandria';font-style:normal;font-weight:100 900;font-display:swap;src:url('./assets/fonts/alexandria-latin-variable.woff2') format('woff2');unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122}
@media screen{
body.dg-premium{--dg-bg:#f6f5f0;--dg-ink:#173b40;--dg-muted:#596b6b;--dg-line:rgba(154,135,101,.24);--dg-gold:#907342;--dg-paper:rgba(255,255,255,.9);--dg-surface:linear-gradient(145deg,rgba(255,255,255,.96),rgba(255,255,255,.76) 52%,rgba(246,237,219,.66));--dg-accent:#185862;--dg-soft:#e9f1ed;--dg-shadow:inset 0 1px 0 #fff,0 6px 22px -14px rgba(93,76,40,.2);--dg-font:'Dentigram Alexandria','Segoe UI',Tahoma,Arial,sans-serif;background:var(--dg-bg);color:var(--dg-ink)}
body.dg-premium:is([data-theme='dark'],.dark,.theme-dark){--dg-bg:#172b2d;--dg-ink:#f1f2eb;--dg-muted:#c3cfcb;--dg-line:rgba(203,185,144,.28);--dg-gold:#d3bd8e;--dg-paper:#243c3d;--dg-surface:linear-gradient(145deg,rgba(46,65,65,.98),rgba(30,48,49,.97));--dg-accent:#c3e7db;--dg-soft:#304c49;--dg-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 6px 22px -14px #000}
.dg-premium .s2-shell,.dg-premium .s2-sheet{--s2-font:var(--dg-font);--body-font:var(--dg-font);--display-font:var(--dg-font);--en-font:var(--dg-font);--s2-bg:var(--dg-bg);--s2-surface:var(--dg-paper);--s2-text:var(--dg-ink);--s2-muted:var(--dg-muted);--s2-line:var(--dg-line);--s2-accent:var(--dg-accent);--s2-soft:var(--dg-soft);--s2-shadow:var(--dg-shadow);font-family:var(--dg-font);font-weight:400;font-synthesis:none;letter-spacing:0;line-height:1.7}
.dg-premium #app.s2-shell .content{background:radial-gradient(ellipse at 94% 4%,rgba(229,209,168,.37),transparent 42%),radial-gradient(ellipse at 6% 30%,rgba(213,233,226,.42),transparent 44%),var(--dg-bg);padding:18px 22px calc(150px + env(safe-area-inset-bottom));min-height:100dvh}
.dg-premium #app.s2-shell .page{max-width:1120px;margin-inline:auto}
.dg-premium #app.s2-shell .topbar{max-width:1120px;margin:0 auto 22px;padding:9px 12px;gap:9px;border:1px solid var(--dg-line);border-radius:21px;box-shadow:var(--dg-shadow);background:var(--dg-surface);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);min-height:64px;top:8px}
.dg-premium #app.s2-shell .topbar-title{font-family:var(--dg-font);font-size:16px;font-weight:600;color:var(--dg-ink)}
.dg-premium #app.s2-shell .topbar .icon-btn{min-height:44px;min-width:44px;height:44px;width:44px;padding:8px;border:1px solid var(--dg-line);border-radius:13px;background:rgba(255,255,255,.12);color:var(--dg-accent);box-shadow:none;font-size:20px}
.dg-premium #app.s2-shell .topbar .undo-btn{color:var(--dg-gold)}
.dg-premium #app.s2-shell :is(.page-title,.page-head-title,.card-head h3){font-family:var(--dg-font);color:var(--dg-ink);letter-spacing:0;line-height:1.65;font-weight:600}
.dg-premium #app.s2-shell #pg-dashboard>.page-head{display:flex;flex-direction:column;align-items:flex-start;gap:3px;margin:0 2px 15px}
.dg-premium #app.s2-shell #pg-dashboard .page-title{font-size:25px;margin:0;font-weight:650}
.dg-premium #app.s2-shell #dash-date{font-size:13px;color:var(--dg-muted);font-weight:400;line-height:1.7}
.dg-premium .dg-eyebrow{font:500 11px/1.6 var(--dg-font);color:var(--dg-gold);margin:0 0 3px}
.dg-premium #app.s2-shell :is(.card,.patient-card,.s2-section,.settings-acc){border:1px solid var(--dg-line);border-radius:22px;background:var(--dg-surface);box-shadow:var(--dg-shadow);backdrop-filter:none;-webkit-backdrop-filter:none;overflow:hidden}
.dg-premium #app.s2-shell .card-head{padding:15px 17px;background:transparent;border-bottom:1px solid var(--dg-line);gap:10px;min-width:0}
.dg-premium #app.s2-shell .card-head h3{font-size:16px;margin:0}
.dg-premium #app.s2-shell :is(.btn,.chip,.s2-summary,.filter-bar input,.filter-bar select){font-family:var(--dg-font);font-weight:500;letter-spacing:0}
.dg-premium #app.s2-shell .btn{border-radius:13px;min-height:44px;padding:10px 15px;box-shadow:none;font-size:14px;line-height:1.6}
.dg-premium #app.s2-shell :is(.btn-primary,.s2-fab){background:linear-gradient(130deg,#2c7376,#174e59);border:1px solid rgba(255,255,255,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 6px 15px -9px #1b5661;color:#fff}
.dg-premium #app.s2-shell :is(.btn-ghost,.chip){background:var(--dg-paper);border:1px solid var(--dg-line);color:var(--dg-ink)}
.dg-premium #app.s2-shell .chip.active{background:var(--dg-soft);color:var(--dg-accent);border-color:var(--dg-accent)}
.dg-premium #app.s2-shell :is(.filter-bar input,.filter-bar select){background:var(--dg-paper);border:1px solid var(--dg-line);border-radius:14px;min-height:48px;font-size:16px;color:var(--dg-ink);box-shadow:inset 0 1px 3px rgba(62,50,27,.035)}
.dg-premium #app.s2-shell #pg-dashboard .stats-grid{gap:10px;margin:14px 0 16px;grid-template-columns:repeat(3,minmax(0,1fr))}
.dg-premium #app.s2-shell #pg-dashboard .stat-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px;padding:14px 12px;min-width:0;min-height:135px;border:1px solid var(--dg-line);border-radius:21px;background:var(--dg-surface);box-shadow:var(--dg-shadow);transform:none}
.dg-premium #app.s2-shell #pg-dashboard .stat-card::before{inset:0 14px auto;height:1px;width:auto;background:linear-gradient(90deg,transparent,#fff,transparent)}
.dg-premium #app.s2-shell #pg-dashboard .stat-card::after{display:none}
.dg-premium #app.s2-shell #pg-dashboard .stat-body{min-width:0;width:100%;flex:initial}
.dg-premium #app.s2-shell #pg-dashboard .stat-label{font-size:12px;font-weight:450;line-height:1.6;color:var(--dg-muted);min-height:20px}
.dg-premium #app.s2-shell #pg-dashboard .stat-value{font-family:var(--dg-font);font-size:clamp(20px,5.9vw,27px);font-weight:650;line-height:1.45;color:var(--dg-ink);margin-top:4px;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;direction:ltr;text-align:start;font-variant-numeric:tabular-nums}
.dg-premium[dir='rtl'] #app #pg-dashboard .stat-value,html[dir='rtl'] .dg-premium #app #pg-dashboard .stat-value{text-align:right}
.dg-premium #app.s2-shell #pg-dashboard .stat-go{top:17px;inset-inline-end:13px;transform:none;font-size:20px;line-height:1;color:var(--dg-gold);opacity:.7}
.dg-premium #app.s2-shell #pg-dashboard .stat-icon{font-size:0!important;width:32px;height:32px;border-radius:10px;background:var(--dg-soft);color:var(--dg-accent);display:grid;place-items:center;margin:0}
.dg-premium #app.s2-shell #pg-dashboard .stat-icon::before{content:'';width:20px;height:20px;background:currentColor;mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M7 3v4m10-4v4M3 11h18m-14 4h3m4 0h3'/%3E%3C/svg%3E")}
.dg-premium #app.s2-shell #pg-dashboard .stat-card:nth-child(2) .stat-icon::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='9' cy='7' r='3'/%3E%3Cpath d='M3 21v-3a6 6 0 0 1 12 0v3M16 4a3 3 0 0 1 0 6m2 4a5 5 0 0 1 3 5v2'/%3E%3C/svg%3E")}
.dg-premium #app.s2-shell #pg-dashboard .stat-card:nth-child(3) .stat-icon{background:rgba(209,184,134,.17);color:var(--dg-gold)}
.dg-premium #app.s2-shell #pg-dashboard .stat-card:nth-child(3) .stat-icon::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M8 5H5a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-3M7 12h10M7 17h7'/%3E%3Crect x='8' y='2' width='8' height='5' rx='2'/%3E%3C/svg%3E")}
.dg-premium #app.s2-shell #pg-dashboard .wallclock-card{background:var(--dg-surface);border:1px solid var(--dg-line);border-radius:18px;padding:11px 14px;gap:12px;box-shadow:var(--dg-shadow);margin:0;min-height:76px;cursor:pointer}
.dg-premium #app.s2-shell #pg-dashboard .wc-face-wrap{inline-size:54px;block-size:54px;flex:0 0 54px}
.dg-premium #app.s2-shell #pg-dashboard .wc-daynum{font:650 24px/1.1 var(--dg-font);color:var(--dg-ink)}
.dg-premium #app.s2-shell #pg-dashboard .wc-month{font-size:12px;color:var(--dg-accent);font-weight:500}
.dg-premium #app.s2-shell #pg-dashboard :is(.wc-time,.wc-weekday,.wc-month-alt){font:400 11px/1.5 var(--dg-font);color:var(--dg-muted)}
.dg-premium #app.s2-shell #pg-dashboard .wc-hint{font-size:11px;color:var(--dg-muted);line-height:1.5;margin:5px 0 0}
.dg-premium #app.s2-shell .dg-quick-search{display:flex;align-items:center;gap:11px;text-align:start;width:100%;min-height:50px;padding:12px 15px;background:var(--dg-surface);border:1px solid var(--dg-line);border-radius:16px;box-shadow:var(--dg-shadow);color:var(--dg-muted);font:400 13px/1.6 var(--dg-font);margin:13px 0;cursor:pointer}
.dg-premium .dg-quick-search svg{width:21px;height:21px;flex:0 0 21px;color:var(--dg-gold)}
.dg-premium #app.s2-shell :is(.appt-card,.pt-card){background:transparent;border:0;border-bottom:1px solid var(--dg-line);border-radius:0;box-shadow:none;padding:14px 16px;gap:12px}
.dg-premium #app.s2-shell #pg-dashboard :is(.appt-pt,.pt-name,.wait-name){font:550 15px/1.65 var(--dg-font);color:var(--dg-ink);overflow-wrap:anywhere}
.dg-premium #app.s2-shell #pg-dashboard :is(.appt-note,.pt-meta,.wait-sub){font:400 12px/1.7 var(--dg-font);color:var(--dg-muted)}
.dg-premium #app.s2-shell #pg-dashboard .appt-time{font:550 16px/1.5 var(--dg-font);color:var(--dg-accent);background:var(--dg-soft);border-radius:12px;padding:9px 7px;min-width:58px}
.dg-premium #app.s2-shell .empty-state{background:transparent!important;border:0!important;font:400 13px/1.8 var(--dg-font);color:var(--dg-muted);padding:22px 15px!important;min-height:0}
.dg-premium #app.s2-shell :is(.dash-grid,#dash-waiting-card){margin-top:14px}
.dg-premium #app.s2-shell .s2-bottom-nav{inset-inline:12px;bottom:calc(9px + env(safe-area-inset-bottom));width:calc(100% - 24px);max-width:720px;margin-inline:auto;border:1px solid var(--dg-line);border-radius:23px;background:var(--dg-surface);box-shadow:inset 0 1px 0 #fff,0 8px 25px rgba(55,59,48,.12);padding:6px;gap:3px;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.dg-premium #app.s2-shell .s2-nav-button{font:450 11px/1.5 var(--dg-font);min-height:54px;border-radius:17px;gap:3px;color:var(--dg-muted)}
.dg-premium #app.s2-shell .s2-nav-button.is-active{background:var(--dg-soft);color:var(--dg-accent);box-shadow:inset 0 1px 0 rgba(255,255,255,.4)}
.dg-premium #app.s2-shell .s2-fab{bottom:calc(94px + env(safe-area-inset-bottom));min-height:48px;padding:11px 17px;border-radius:16px;font:500 14px/1.5 var(--dg-font)}
.dg-premium.reminder-open #app .s2-fab{visibility:hidden;pointer-events:none}
.dg-premium .s2-sheet{background:var(--dg-paper);color:var(--dg-ink);border:1px solid var(--dg-line);border-radius:24px 24px 0 0}
.dg-premium .s2-summary{color:var(--dg-ink);font-weight:550}
.dg-premium #dg-install-banner,.dg-premium #ios-install-hint{position:static!important;inset:auto!important;z-index:auto!important;margin:18px 0 0!important;max-width:100%!important;box-shadow:var(--dg-shadow)!important;background:var(--dg-surface)!important;border:1px solid var(--dg-line)!important;border-radius:18px!important;padding:13px!important;font-family:var(--dg-font)!important;direction:inherit!important}
.dg-premium #dg-install-banner>div,.dg-premium #ios-install-hint>div{flex-wrap:wrap;gap:9px!important}
.dg-premium #dg-install-banner>div>div,.dg-premium #ios-install-hint>div>div{color:var(--dg-muted)!important;font:400 12px/1.8 var(--dg-font)!important;min-width:155px}
.dg-premium #dg-install-banner button,.dg-premium #ios-install-hint button{min-width:44px;min-height:44px;font-family:var(--dg-font)!important;font-size:12px!important;font-weight:550!important}
.dg-premium #dg-install-banner img{width:30px!important;height:30px!important;border-radius:9px!important}
.dg-premium #rem-banner{position:fixed!important;inset:auto 12px calc(90px + env(safe-area-inset-bottom))!important;width:calc(100% - 24px)!important;max-width:680px!important;max-height:70dvh!important;margin-inline:auto!important;transform:none!important;border:1px solid var(--dg-line)!important;border-radius:24px!important;background:var(--dg-paper)!important;box-shadow:0 15px 60px rgba(21,41,39,.2),inset 0 1px 0 #fff!important;color:var(--dg-ink);z-index:1200!important;font:400 14px/1.7 var(--dg-font);overflow:hidden}
.dg-premium #rem-banner .rem-banner-head{padding:11px 16px!important;background:linear-gradient(110deg,rgba(226,207,170,.26),rgba(226,207,170,.52))!important;color:var(--dg-ink)!important;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--dg-line);font:550 14px/1.6 var(--dg-font)}
.dg-premium #rem-banner .rem-banner-head button{min-height:44px;min-width:44px;width:44px;height:44px;border:1px solid var(--dg-line)!important;border-radius:13px!important;background:rgba(255,255,255,.17)!important;color:var(--dg-ink)!important}
.dg-premium #rem-banner .rem-banner-list{max-height:calc(70dvh - 122px)!important;padding:0 15px!important;overflow:auto;overscroll-behavior:contain}
.dg-premium #rem-banner .rem-banner-item{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;padding:16px 0!important;border-bottom:1px solid var(--dg-line)}
.dg-premium #rem-banner .rbi-main{min-width:0!important;width:100%!important;color:var(--dg-ink)}
.dg-premium #rem-banner .rbi-who{font:400 11px/1.7 var(--dg-font);color:var(--dg-muted);margin-bottom:5px;overflow-wrap:anywhere}
.dg-premium #rem-banner .rbi-msg{font:400 13px/1.8 var(--dg-font);color:var(--dg-ink);overflow-wrap:anywhere;margin-top:5px}
.dg-premium #rem-banner .rbi-acts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px!important;min-width:0;width:100%;flex:initial!important}
.dg-premium #rem-banner .rbi-acts button{display:flex!important;align-items:center;justify-content:center;min-width:0!important;width:auto!important;min-height:46px!important;height:auto!important;padding:9px 6px!important;border:1px solid var(--dg-line)!important;border-radius:12px!important;background:var(--dg-soft)!important;color:var(--dg-accent)!important;font:500 11px/1.7 var(--dg-font)!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;box-shadow:none!important}
.dg-premium #rem-banner .rbi-acts .rbi-send{background:#205e64!important;color:#fff!important}
.dg-premium #rem-banner .rbi-send-icon{display:none!important}
.dg-premium #rem-banner .rbi-send-label{display:inline!important;font:inherit!important}
.dg-premium #rem-banner .rem-banner-foot{padding:9px 16px!important;font:400 10px/1.65 var(--dg-font);color:var(--dg-muted);border-top:1px solid var(--dg-line)}
.dg-premium .login-screen{background:radial-gradient(ellipse at 85% 5%,rgba(221,196,149,.36),transparent 55%),radial-gradient(ellipse at 0 95%,rgba(195,222,213,.52),transparent 58%),var(--dg-bg);font-family:var(--dg-font);padding:24px 16px}
.dg-premium .login-bg-mesh{display:none}
.dg-premium .login-card{background:var(--dg-surface);border:1px solid var(--dg-line);box-shadow:inset 0 1px 0 #fff,0 20px 65px -30px rgba(84,72,49,.23);border-radius:30px;max-width:450px;padding:30px 23px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.dg-premium .login-title{font:650 31px/1.7 var(--dg-font);color:var(--dg-ink);letter-spacing:0}
.dg-premium .login-sub,.dg-premium .auth-note{color:var(--dg-muted);font:400 12px/1.8 var(--dg-font)}
.dg-premium .login-logo{width:76px;height:76px;margin-inline:auto;background:rgba(255,255,255,.3);border:1px solid var(--dg-line);border-radius:23px;box-shadow:var(--dg-shadow)}
.dg-premium .login-logo-pic{width:62px;height:62px;object-fit:contain;filter:none;animation:none}
.dg-premium .login-screen :is(button,input){font-family:var(--dg-font)}
.dg-premium .login-screen .auth-primary{font-size:14px;min-height:52px;background:var(--dg-paper);color:var(--dg-ink);border:1px solid var(--dg-line);border-radius:15px;box-shadow:var(--dg-shadow)}
.dg-premium .login-screen .auth-link{font:450 12px/1.6 var(--dg-font);color:var(--dg-accent);min-height:44px}
.dg-premium .login-screen .features-cta{font:500 13px/1.7 var(--dg-font);color:var(--dg-accent);background:var(--dg-soft);border:1px solid var(--dg-line);border-radius:14px;min-height:46px}
.dg-premium .boot-splash{background:radial-gradient(ellipse at 80% 20%,#ede1c9,transparent 65%),#f7f6f1;color:#173b40;transition:opacity .12s ease,visibility .12s ease;gap:18px}
.dg-premium .boot-splash :is(.boot-ring,.boot-shine){display:none}
.dg-premium .boot-logo-wrap,.dg-premium .boot-stage{animation:none!important;transform:none!important;filter:none!important;width:84px;height:84px}
.dg-premium .boot-logo{width:80px;height:80px;filter:none!important;animation:none!important}
.dg-premium .boot-word{font:600 27px/1.5 var(--dg-font);letter-spacing:0;color:#173b40;text-shadow:none}
.dg-premium .boot-tagline{color:#596b6b;font:400 11px/1.7 var(--dg-font)}
.dg-premium .boot-dots i{background:#907342}
.dg-premium :is(.dg-quick-search,.s2-nav-button,.s2-fab,#rem-banner button,.login-screen button):focus-visible{outline:3px solid var(--dg-accent);outline-offset:3px}
.dg-premium .dg-demo-notice{font:400 11px/1.75 var(--dg-font);color:var(--dg-muted);border:1px dashed var(--dg-line);padding:10px 13px;border-radius:13px;margin-bottom:15px;display:flex;gap:9px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.dg-premium .dg-demo-notice button{font:500 11px/1.6 var(--dg-font);color:var(--dg-accent);background:var(--dg-paper);border:1px solid var(--dg-line);border-radius:10px;padding:9px 12px;min-height:44px;cursor:pointer}
@media(max-width:600px){
 .dg-premium #app.s2-shell .content{padding:12px 13px calc(151px + env(safe-area-inset-bottom))}
 .dg-premium #app.s2-shell .topbar{margin-bottom:19px;padding:7px 9px;min-height:61px;border-radius:18px;gap:7px}
 .dg-premium #app.s2-shell #pg-dashboard .page-title{font-size:24px}
 .dg-premium #app.s2-shell #pg-dashboard .stat-card{padding:12px 10px;min-height:130px;border-radius:18px}
 .dg-premium #app.s2-shell #pg-dashboard .stats-grid{gap:8px}
 .dg-premium #app.s2-shell #pg-dashboard .stat-label{font-size:11px}
 .dg-premium #app.s2-shell .card-head{padding:13px 14px}
 .dg-premium #app.s2-shell .card-head h3{font-size:15px}
 .dg-premium #app.s2-shell .btn-sm{font-size:12px;padding-inline:11px}
 .dg-premium #app.s2-shell .dash-grid{gap:14px}
}
@media(prefers-reduced-motion:reduce){.dg-premium :is(.boot-logo,.boot-logo-wrap,.boot-dots i,.stat-card,.s2-fab){animation:none!important;transition:none!important}.dg-premium .boot-splash{transition:none}}
@media(prefers-reduced-transparency:reduce),(forced-colors:active){.dg-premium #app.s2-shell :is(.card,.stat-card,.topbar,.s2-bottom-nav),.dg-premium .login-card{background:var(--dg-paper)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}}
}
