.tabeeb-preferences{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;max-width:100%}
.tabeeb-theme-switch{position:relative;display:inline-block;flex:0 0 auto;font-family:inherit;color:var(--clinic-navy,var(--pa-navy,#172b4d));font-size:.78rem;line-height:1.35}
.tabeeb-theme-switch>summary{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:7px 10px;border:1px solid var(--clinic-border,var(--pa-border,#dce3e9));border-radius:8px;background:var(--clinic-card,#fff);font-weight:600;white-space:nowrap;cursor:pointer;list-style:none}
.tabeeb-theme-switch>summary::-webkit-details-marker{display:none}
.tabeeb-theme-switch>summary:hover,.tabeeb-theme-switch[open]>summary{background:var(--clinic-soft,#edf3f8);border-color:var(--clinic-blue,var(--pa-blue,#245b92))}
.tabeeb-theme-switch>summary:focus-visible,.tabeeb-theme-panel button:focus-visible{outline:3px solid var(--clinic-focus,var(--pa-teal,#087f8c));outline-offset:2px}
.tabeeb-theme-switch summary svg{flex-shrink:0}
.tabeeb-theme-switch[open] .tabeeb-theme-chevron{transform:rotate(180deg)}
.tabeeb-theme-panel{position:absolute;inset-inline-end:0;top:calc(100% + 8px);z-index:3000;width:280px;max-width:calc(100vw - 24px);padding:8px;border:1px solid var(--clinic-border,var(--pa-border,#dce3e9));border-radius:12px;background:var(--clinic-card,#fff);box-shadow:0 12px 32px #102a4329;text-align:start;color:var(--clinic-text,var(--pa-text,#263445));font-family:inherit;box-sizing:border-box}
.tabeeb-theme-switch:not([open])>.tabeeb-theme-panel{display:none}
.tabeeb-theme-heading{margin:2px 6px 8px!important;padding:0!important;font-size:.72rem!important;font-weight:600!important;line-height:1.5!important;color:var(--clinic-muted,var(--pa-muted,#5f6f7d))!important}
.tabeeb-theme-panel button{display:flex;align-items:center;gap:10px;width:100%;min-height:64px;margin:0;padding:10px 8px;border:1px solid transparent;border-radius:8px;background:transparent;color:inherit;cursor:pointer;text-align:start;font-family:inherit;font-size:.78rem;line-height:1.4;box-sizing:border-box}
.tabeeb-theme-panel button:hover{background:var(--clinic-soft,#edf3f8)}
.tabeeb-theme-panel button[aria-checked=true]{border-color:var(--clinic-border,var(--pa-border,#dce3e9));background:var(--clinic-soft,#edf3f8)}
.tabeeb-theme-option-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.tabeeb-theme-option-name{font-size:.8rem;font-weight:650;color:var(--clinic-navy,var(--pa-navy,#172b4d))}
.tabeeb-theme-option-copy small{font-size:.67rem;color:var(--clinic-muted,var(--pa-muted,#5f6f7d));white-space:normal}
.tabeeb-theme-check{flex-shrink:0;color:var(--clinic-blue,var(--pa-blue,#245b92));visibility:hidden}
[aria-checked=true]>.tabeeb-theme-check{visibility:visible}
.tabeeb-theme-preview{display:flex;flex:0 0 40px;height:38px;border-radius:6px;overflow:hidden;border:1px solid #0001;background:#fff}
.tabeeb-theme-preview i{display:block;width:34%;height:100%}
.tabeeb-theme-preview-classic i:nth-child(1){background:#172b4d}.tabeeb-theme-preview-classic i:nth-child(2){background:#245b92}.tabeeb-theme-preview-classic i:nth-child(3){background:#087f8c}
.tabeeb-theme-preview-graphite i:nth-child(1){background:#252b33}.tabeeb-theme-preview-graphite i:nth-child(2){background:#935923}.tabeeb-theme-preview-graphite i:nth-child(3){background:#eef0f3}
.tabeeb-theme-preview-forest i:nth-child(1){background:#183d2d}.tabeeb-theme-preview-forest i:nth-child(2){background:#286047}.tabeeb-theme-preview-forest i:nth-child(3){background:#f3f2ec}
.login-card>.brand{flex-wrap:wrap}.login-card>.brand .tabeeb-preferences{margin-inline-start:auto}
@media(max-width:767px){.tabeeb-preferences{gap:6px}.tabeeb-theme-switch>summary{min-height:44px;padding:6px 8px;font-size:.72rem}.tabeeb-theme-switch>summary>svg:first-child{width:14px;height:14px}}
@media(max-width:700px){.pa-topbar{flex-wrap:wrap}.pa-topbar .pa-topbar-actions{flex-wrap:wrap;margin-inline-start:auto}}
@media(max-width:360px){.tabeeb-theme-caption{display:none}.tabeeb-theme-switch>summary{gap:4px}.tabeeb-preferences{gap:5px}}
@media print{.tabeeb-preferences,.tabeeb-theme-switch{display:none!important}}
