/* 0.9.34: shared navigation, balanced patient histories and unobstructed schedules. */
*{scrollbar-width:thin;scrollbar-color:#9bafc4 transparent}
::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#9bafc4;border:2px solid transparent;border-radius:12px;background-clip:padding-box}::-webkit-scrollbar-thumb:hover{background-color:#718da8}
.practice-nav .studio-notification-toggle{display:flex;align-items:center;justify-content:flex-start;gap:13px;min-height:46px;width:100%;margin:0;padding:12px 13px;border:1px solid transparent;border-radius:10px;background:transparent;color:#f5fbff;font-size:14px;font-weight:520;font-family:inherit;box-shadow:none;line-height:inherit}
.practice-nav .studio-notification-toggle .studio-icon{width:19px;height:19px;stroke-width:2;color:inherit;opacity:1}
.practice-nav .studio-notification-toggle[aria-expanded=true]{background:#ffffff28;color:#fff;border-color:#ffffff21;box-shadow:inset 0 1px 0 #ffffff36}
@media(hover:hover){.practice-nav .studio-notification-toggle:hover{background:#ffffff25;color:#fff}}
.studio-notifications::backdrop,dialog.patient-duplicate-dialog::backdrop{background:#1b334447;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.studio-notifications{scrollbar-gutter:stable;scroll-padding-top:108px}
.patient-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch;margin-bottom:20px}
.patient-history-grid>.card{margin:0;min-width:0;min-height:300px;max-height:600px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;background:#f5f8fc}
.patient-history-grid>.card>.card-head{position:sticky;top:0;z-index:1;background:#f9fbff;border-bottom:1px solid #e1e8f1;min-height:70px}
.profile-layout{gap:20px}.profile-main{min-width:0}.profile-main>.quick-prescription-widgets{gap:20px;margin-bottom:20px}.profile-main>.tabbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:20px}.profile-main>.tabbar button{width:100%;text-align:center;justify-content:center}
.profile-content .record-item,.profile-content .kiosk-intake{margin:12px 14px;padding:16px;border:1px solid #dce5ef;border-radius:16px;background:#fff;box-shadow:0 2px 5px #1b385007;overflow-wrap:anywhere}
.patient-history-grid .card-body{padding:0}.profile-content .record-heading{gap:12px;flex-wrap:wrap}.profile-content .record-heading .button-row{margin-left:auto;flex-wrap:wrap}.profile-content .record-item h3{line-height:1.5}.profile-content .record-item p{line-height:1.6}.profile-content .kiosk-intake+.kiosk-intake{margin-top:12px}.profile-content .prescription-history-item{margin-top:12px;padding-top:12px;border-top:1px solid #e5ebf2}
.profile-content .data-table{border-collapse:separate;border-spacing:0 8px}.profile-content .data-table td{background:#f6f9fd;border-bottom:1px solid #dce5ef}.profile-content .data-table td:first-child{border-radius:12px 0 0 12px}.profile-content .data-table td:last-child{border-radius:0 12px 12px 0}
.overview-calendar-card .week-strip{padding-top:5px;padding-bottom:6px;scroll-padding-inline:3px}
.overview-agenda-scroll{padding-top:5px;scroll-padding-top:8px}.overview-calendar-card .day-agenda{padding-top:4px}
.booking-event .booking-clock{display:none}
.agenda-booking.booking-event.is-next,.agenda-booking.booking-event.is-next:hover{background:#e5efff;border:1px solid #9bbdeb;box-shadow:0 2px 8px #2868ad12;border-radius:16px}
.agenda-booking.booking-event.is-current,.agenda-booking.booking-event.is-current:hover{background:#ffedf0;border:1px solid #e7a5b0;box-shadow:0 2px 8px #b5395010;border-radius:16px}
.agenda-booking.is-next .agenda-avatar{background:#cddfff;color:#245e9c}.agenda-booking.is-current .agenda-avatar{background:#f8d4dc;color:#9d3147}
.agenda-booking.is-next .agenda-time{border-color:#6094d6}.agenda-booking.is-current .agenda-time{border-color:#d86b80}
.duplicate-groups{max-height:55vh;overflow:auto;overscroll-behavior:contain;padding:4px;scrollbar-gutter:stable}.duplicate-group{padding:16px;margin-bottom:12px;background:#f4f7fc;border:1px solid #dce5ef;border-radius:16px}.duplicate-group h3{font-size:14px;margin:0 0 12px}.duplicate-patient{display:grid;gap:6px;padding:12px;margin-top:8px;background:#fff;border:1px solid #dce5ef;border-radius:12px;color:#204f7b}.duplicate-patient span,.duplicate-patient small{font-size:12px;overflow-wrap:anywhere}
@media(orientation:portrait),(max-width:580px){.practice-nav{grid-template-columns:repeat(7,minmax(0,1fr))}.practice-nav .studio-notification-toggle{flex-direction:column;justify-content:center;gap:6px;min-width:0;min-height:63px;padding:8px 1px;border-radius:22px;font-size:11px;line-height:1.2;text-align:center}.practice-nav .studio-notification-toggle .studio-icon{width:22px;height:22px}.practice-nav .studio-notification-toggle span{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.15;min-height:19px;display:flex;align-items:center;justify-content:center}}
@media(max-width:700px){.patient-history-grid{grid-template-columns:1fr}.patient-history-grid>.card{min-height:240px;max-height:520px}.profile-main>.quick-prescription-widgets{gap:12px}.profile-main>.tabbar{gap:4px}}
@media(max-width:430px){.practice-nav .studio-notification-toggle{font-size:8px;min-height:65px;gap:4px;border-radius:20px}.practice-nav .studio-notification-toggle .studio-icon{width:20px;height:20px}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){.studio-notifications::backdrop,dialog.patient-duplicate-dialog::backdrop{background:#1b3344b0;backdrop-filter:none;-webkit-backdrop-filter:none}*{scrollbar-color:#647b91 transparent}}
