/* DoctorLane v1.23 — before & after cases, on-site profile editor */

/* ---------- Before & after (public profile) ---------- */
.dl-cases-head h2{margin-bottom:.25rem}
.dl-cases-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:14px}
.dl-cases-grid.is-single{grid-template-columns:minmax(0,560px);justify-content:center}
.dl-case{margin:0;display:flex;flex-direction:column;gap:10px;min-width:0}
.dl-ba{position:relative;aspect-ratio:4/5;border-radius:16px;overflow:hidden;background:#eef2f7;box-shadow:0 6px 20px rgba(15,23,42,.08);touch-action:pan-y;user-select:none;-webkit-user-select:none}
.dl-ba-one{aspect-ratio:auto;min-height:220px;display:flex;align-items:center;justify-content:center}
.dl-ba-open{all:unset;cursor:zoom-in;display:block;width:100%}
.dl-ba-one .dl-ba-img{width:100%;height:auto;display:block}
.dl-ba-after,.dl-ba-before{position:absolute;inset:0}
.dl-ba-before{clip-path:inset(0 calc(100% - var(--dl-ba,50%)) 0 0)}
.dl-ba .dl-ba-img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}
.dl-ba-tag{position:absolute;top:12px;padding:4px 10px;border-radius:999px;font:700 12px/1.2 inherit;letter-spacing:.04em;text-transform:uppercase;background:rgba(15,23,42,.72);color:#fff;pointer-events:none}
.dl-ba-tag-b{left:12px}.dl-ba-tag-a{right:12px;background:rgba(22,163,74,.9)}
.dl-ba-handle{position:absolute;top:0;bottom:0;left:var(--dl-ba,50%);width:3px;margin-left:-1.5px;background:#fff;box-shadow:0 0 0 1px rgba(15,23,42,.15);pointer-events:none}
.dl-ba-handle i{position:absolute;top:50%;left:50%;width:40px;height:40px;margin:-20px 0 0 -20px;border-radius:50%;background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.25)}
.dl-ba-handle i::before,.dl-ba-handle i::after{content:"";position:absolute;top:50%;width:0;height:0;border:6px solid transparent;margin-top:-6px}
.dl-ba-handle i::before{left:7px;border-right-color:#1e40af}.dl-ba-handle i::after{right:7px;border-left-color:#1e40af}
.dl-ba-range{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;-webkit-appearance:none;appearance:none}
.dl-ba-range:focus-visible+.dl-ba-zoom,.dl-ba:focus-within .dl-ba-handle i{outline:3px solid #1e40af;outline-offset:2px}
.dl-ba-zoom{position:absolute;right:10px;bottom:10px;z-index:2;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:10px;background:rgba(255,255,255,.92);color:#0f172a;cursor:zoom-in;box-shadow:0 2px 8px rgba(15,23,42,.18)}
.dl-ba-zoom svg{width:16px;height:16px}
.dl-case figcaption{display:flex;flex-direction:column;gap:3px;padding:0 2px}
.dl-case figcaption strong{font-size:1rem;color:#0f172a}
.dl-case-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:.86rem;color:#475569}
.dl-case-meta svg{width:14px;height:14px;vertical-align:-2px;margin-right:3px}
.dl-case-meta b{color:#15803d;background:#dcfce7;padding:1px 8px;border-radius:999px;font-weight:700}
.dl-case-note{font-size:.86rem;color:#64748b}
.dl-cases-dialog{border:0;padding:0;background:transparent;max-width:min(96vw,1100px);width:100%}
.dl-cases-dialog::backdrop{background:rgba(2,6,23,.86)}
.dl-cases-dialog .dl-ba{aspect-ratio:auto;height:min(86vh,1100px);max-width:min(96vw,880px);margin:auto;border-radius:12px}
.dl-cases-dialog .dl-ba .dl-ba-img{object-fit:contain;background:#0b1220}
.dl-cases-dialog .dl-ba-one{height:auto;max-height:86vh;background:#0b1220}
.dl-cases-dialog .dl-ba-one img{max-height:86vh;width:auto;max-width:100%;margin:auto}
.dl-cases-close{position:fixed;top:14px;right:14px;z-index:3;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:#0f172a;font-size:20px;cursor:pointer}
@media (max-width:720px){
 .dl-cases-grid{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:86%;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;-webkit-overflow-scrolling:touch}
 .dl-cases-grid.is-single{grid-auto-columns:100%}
 .dl-case{scroll-snap-align:start}
}

/* ---------- Before & after (portal editor) ---------- */
.dl-cases-ed .dl-cases-list{display:grid;gap:10px;margin:10px 0}
.dl-case-row{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;padding:10px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}
.dl-case-row.is-hidden{opacity:.65;background:#f8fafc}
.dl-case-thumbs{display:flex;gap:4px}
.dl-case-thumb{width:64px;height:80px;object-fit:cover;border-radius:8px;background:#eef2f7}
.dl-case-info{display:flex;flex-direction:column;gap:2px;min-width:0}
.dl-case-info span{font-size:.85rem;color:#475569}.dl-case-info em{font-size:.8rem;color:#b45309;font-style:normal}
.dl-case-acts{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start}
.dl-case-btn{display:inline;margin:0}
.dl-case-edit{order:0}.dl-case-edit[open]{flex-basis:100%;order:9}.dl-case-edit>summary{list-style:none;display:inline-flex}.dl-case-edit>summary::-webkit-details-marker{display:none}
.dl-case-edit[open]>summary{margin-bottom:8px}
.dl-case-add{margin-top:8px}.dl-case-add>summary{list-style:none;display:inline-flex;gap:6px}.dl-case-add>summary::-webkit-details-marker{display:none}
.dl-case-form{display:grid;gap:10px;margin-top:10px;padding:12px;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc}
.dl-case-files{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.dl-case-drop{display:flex;flex-direction:column;gap:6px;padding:10px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;font-weight:600}
.dl-case-drop small{font-weight:400;color:#64748b}
.dl-case-drop img.dl-case-prev{width:100%;max-height:180px;object-fit:contain;border-radius:8px;background:#eef2f7}
.dl-case-combined summary{cursor:pointer;color:#1e40af;font-size:.9rem}
@media (max-width:600px){.dl-case-files{grid-template-columns:1fr}}

/* ---------- On-site editor bar (public pages) — v1.25.02 redesign ---------- */
.dl-live-bar{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.4) blur(8px);color:#0f172a;border-bottom:1px solid #e2e8f0;box-shadow:0 4px 18px rgba(15,23,42,.08)}
.dl-front-admin-toolbar+.dl-live-bar{top:auto}
.dl-live-inner{max-width:1200px;margin:0 auto;padding:8px 16px;display:flex;align-items:center;gap:14px}
.dl-live-who{display:flex;align-items:center;gap:10px;min-width:0;flex:1 1 auto}
.dl-live-badge{flex:0 0 auto;display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:linear-gradient(135deg,#1e40af,#3b82f6);color:#fff;box-shadow:0 4px 10px rgba(30,64,175,.3)}
.dl-live-badge svg{width:18px;height:18px}
.dl-live-who-t{display:flex;flex-direction:column;min-width:0;line-height:1.2}
.dl-live-who-t small{font-size:.7rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#64748b}
.dl-live-who-t strong{font-size:.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dl-live-pill{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;font-size:.74rem;font-weight:700;padding:4px 10px;border-radius:999px}
.dl-live-pill i{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px rgba(255,255,255,.7)}
.dl-live-pill.on{background:#dcfce7;color:#15803d}.dl-live-pill.off{background:#fef3c7;color:#b45309}
.dl-live-actions{position:relative;display:flex;align-items:center;gap:8px;flex:0 0 auto}
.dl-live-group{display:flex;padding:3px;gap:2px;border-radius:12px;background:#f1f5f9;border:1px solid #e2e8f0}
.dl-live-group .dl-live-btn{border:0;background:transparent;min-height:34px}
.dl-live-group .dl-live-btn:hover{background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.12)}
.dl-live-tools{display:flex;gap:4px}
.dl-live-pub{display:inline;margin:0}
.dl-live-btn{position:relative;display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#0f172a;font:600 .85rem/1 inherit;text-decoration:none;cursor:pointer;transition:background .15s,color .15s,box-shadow .15s}
.dl-live-btn:hover{background:#eff6ff;color:#1e40af;border-color:#bfdbfe}
.dl-live-btn svg{width:17px;height:17px;flex:0 0 auto;color:#1e40af}
.dl-live-btn:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.dl-live-btn.icon{width:38px;padding:0;justify-content:center}.dl-live-btn.icon span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.dl-live-btn.primary{background:#16a34a;border-color:#16a34a;color:#fff}.dl-live-btn.primary svg{color:#fff}.dl-live-btn.primary:hover{background:#15803d;color:#fff}
.dl-live-btn.warn{background:#fff7ed;border-color:#fed7aa;color:#c2410c}.dl-live-btn.warn svg{color:#c2410c}.dl-live-btn.warn:hover{background:#ffedd5;color:#9a3412}
.dl-live-morebtn{display:none}.dl-live-tools .dl-menu-only{display:none}
/* tooltips */
.dl-live-btn[data-tip]:hover::after,.dl-live-btn[data-tip]:focus-visible::after{content:attr(data-tip);position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);z-index:80;width:max-content;max-width:220px;padding:6px 9px;border-radius:8px;background:#0f172a;color:#fff;font:500 .75rem/1.35 inherit;white-space:normal;text-align:center;pointer-events:none;box-shadow:0 6px 16px rgba(2,6,23,.25)}
.dl-live-tools .dl-live-btn[data-tip]:hover::after{left:auto;right:0;transform:none}
/* score ring */
.dl-live-score{padding-left:6px}
.dl-live-ring{--p:0;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:conic-gradient(var(--c,#94a3b8) calc(var(--p)*1%),#e2e8f0 0)}
.dl-live-ring b{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#fff;font-size:.68rem;color:#0f172a}
.dl-live-score.good{--c:#16a34a}.dl-live-score.mid{--c:#f59e0b}.dl-live-score.low{--c:#dc2626}
.dl-live-warn{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;padding:7px 16px;background:#fffbeb;border-top:1px solid #fde68a;color:#92400e;font-size:.85rem;text-align:center}
.dl-live-warn svg{width:15px;height:15px;flex:0 0 auto}
/* visitor view */
.dl-live-back{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:2100;display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 14px;border:0;border-radius:999px;background:#1e40af;color:#fff;font:600 .85rem/1 inherit;box-shadow:0 8px 22px rgba(30,64,175,.35);cursor:pointer}
.dl-live-back[hidden]{display:none}.dl-live-back svg{width:16px;height:16px}
html.dl-live-visitor .dl-live-bar,html.dl-live-visitor .dl-live-chips,html.dl-live-visitor .dl-live-pencil,html.dl-live-visitor .dl-seo-bar,html.dl-live-visitor .dl-front-admin-toolbar,html.dl-live-visitor .dl-admin-stats{display:none!important}
@media (max-width:900px){
 .dl-live-inner{flex-wrap:wrap;gap:8px;padding:8px 12px}
 .dl-live-who{flex-basis:100%}
 .dl-live-actions{flex:1 1 100%;justify-content:space-between;gap:6px}
 .dl-live-btn{flex-direction:column;gap:3px;min-height:48px;padding:4px 8px;font-size:.7rem;flex:1 1 0}
 .dl-live-btn svg{width:19px;height:19px}
 .dl-live-group{flex:2 1 0}.dl-live-group .dl-live-btn{min-height:44px}
 .dl-live-pub{display:flex;flex:1 1 0}.dl-live-pub .dl-live-btn{width:100%}
 .dl-live-ring{width:22px;height:22px}.dl-live-ring b{width:16px;height:16px;font-size:.6rem}
 .dl-live-score{padding-left:8px}
 .dl-live-btn.icon{width:auto}.dl-live-btn.icon span{position:static;width:auto;height:auto;clip:auto}
 .dl-live-group .dl-more,.dl-live-tools{display:none}
 .dl-live-morebtn{display:inline-flex;flex:0 0 52px}
 .dl-live-btn[data-tip]:hover::after{display:none}
 .dl-live-actions.show-more .dl-live-tools{display:flex;flex-direction:column;position:absolute;top:calc(100% + 6px);right:0;z-index:90;min-width:210px;padding:6px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 16px 36px rgba(15,23,42,.18)}
 .dl-live-actions.show-more .dl-live-tools .dl-live-btn{flex-direction:row;justify-content:flex-start;gap:10px;min-height:44px;font-size:.88rem;border:0;width:100%;background:transparent;box-shadow:none;border-radius:10px}
 .dl-live-actions.show-more .dl-live-tools .dl-live-btn:hover{background:#eff6ff}
 .dl-live-bar{position:relative;z-index:1200}
 .dl-live-warn{font-size:.78rem;padding:6px 10px}
}
@media (max-width:900px){.dl-live-back{bottom:100px}.dl-live-actions.show-more .dl-live-tools .dl-more,.dl-live-actions.show-more .dl-live-tools .dl-menu-only{display:flex}}

/* edit controls placed on the photo, banner and sections by dl-live.js */
.dl-live-on{position:relative}
.dl-live-chips{position:absolute;z-index:5;display:flex;gap:6px;align-items:center}
.dl-live-chips.at-top{top:12px;right:12px}.dl-live-chips.at-photo{top:0;left:50%;transform:translateX(-50%);z-index:6}
.dl-live-chips.at-photo .dl-live-chip{height:30px;padding:0 10px;font-size:11.5px}
.dl-live-chips.at-photo .dl-live-chip[download] span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.dl-live-chips.at-photo .dl-live-chip[download]{width:30px;padding:0;justify-content:center}
.dl-live-chip{box-sizing:border-box;margin:0;line-height:1;display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border:1px solid rgba(255,255,255,.55);border-radius:999px;background:rgba(255,255,255,.94);color:#0f172a;font:600 12.5px/1 inherit;text-decoration:none;cursor:pointer;box-shadow:0 4px 14px rgba(2,6,23,.22);white-space:nowrap;backdrop-filter:blur(6px);transition:background .15s,color .15s,transform .15s}
.dl-live-chip svg{color:#1e40af;flex:0 0 auto}
.dl-live-chip:hover{background:#1e40af;color:#fff;transform:translateY(-1px)}.dl-live-chip:hover svg{color:#fff}
.dl-live-pencil{display:inline-grid;place-items:center;width:32px;height:32px;margin-left:10px;border:1px solid #c7d2fe;border-radius:10px;background:#eef2ff;color:#1e40af;vertical-align:middle;cursor:pointer;transition:background .15s,color .15s}
.dl-live-pencil svg{width:16px;height:16px}
.dl-live-pencil:hover{background:#1e40af;border-color:#1e40af;color:#fff}

/* drawer */
.dl-live-drawer{position:fixed;inset:0;z-index:2000;background:rgba(2,6,23,.45);display:flex;justify-content:flex-end}
.dl-live-drawer[hidden]{display:none}
.dl-live-drawer-box{width:min(980px,100%);height:100%;background:#f1f5f9;display:flex;flex-direction:column;box-shadow:-10px 0 30px rgba(2,6,23,.3);animation:dlLiveIn .18s ease-out}
@keyframes dlLiveIn{from{transform:translateX(40px);opacity:.5}to{transform:none;opacity:1}}
.dl-live-drawer-head{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#0f172a;color:#fff}
.dl-live-drawer-head strong{font-size:.95rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dl-live-saving{font-size:.8rem;color:#93c5fd;margin-left:auto}
.dl-live-x{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:9px;background:#1e293b;color:#fff;font-size:16px;cursor:pointer}.dl-live-x svg{width:18px;height:18px}
.dl-live-drawer iframe{flex:1;width:100%;border:0;background:#f1f5f9}
@media (prefers-reduced-motion:reduce){.dl-live-drawer-box{animation:none}}

/* ---------- Editor inside the drawer frame ---------- */
body.dl-live-embed .sidebar,body.dl-live-embed .topbar,body.dl-live-embed footer,body.dl-live-embed .portal-tab-bar,body.dl-live-embed .page-heading,body.dl-live-embed .module-tabs,body.dl-live-embed .page-lead,body.dl-live-embed .sup-help-button,body.dl-live-embed .sup-fab,body.dl-live-embed .skip-link,body.dl-live-embed .ed-aside,body.dl-live-embed .install-banner,body.dl-live-embed .pwa-install{display:none!important}
body.dl-live-embed .app-frame,body.dl-live-embed .app,body.dl-live-embed .shell,body.dl-live-embed .layout,body.dl-live-embed main,body.dl-live-embed #workspace-content{margin:0!important;padding-left:0!important;grid-template-columns:1fr!important;max-width:none!important}
body.dl-live-embed #workspace-content{padding:14px!important}
body.dl-live-embed .ed-layout{grid-template-columns:1fr!important}
body.dl-live-embed .ed-head-actions{display:none}

/* ---------- v1.24 Score & SEO (editor tab) ---------- */
.dl-score-top{display:flex;gap:16px;align-items:center}
.dl-score-top h3{margin:0 0 4px}
.dl-score-ring{--ring:#dc2626;flex:0 0 auto;width:92px;height:92px;border-radius:50%;display:grid;place-content:center;text-align:center;background:conic-gradient(var(--ring) calc(var(--v,0)*1%),#e2e8f0 0);position:relative}
.dl-score-ring::before{content:"";position:absolute;inset:9px;border-radius:50%;background:#fff}
.dl-score-ring b,.dl-score-ring span{position:relative}.dl-score-ring b{font-size:1.6rem;line-height:1}.dl-score-ring span{font-size:.75rem;color:#64748b}
.dl-score-ring.good{--ring:#16a34a}.dl-score-ring.mid{--ring:#f59e0b}
.dl-score-bars{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px 18px;margin-top:14px}
.dl-score-bar{display:grid;grid-template-columns:1fr 110px 44px;gap:8px;align-items:center;color:inherit;text-decoration:none;font-size:.88rem;padding:4px 0}
.dl-score-bar i{height:8px;border-radius:99px;background:#e2e8f0;overflow:hidden;display:block}
.dl-score-bar em{display:block;height:100%;width:0;background:#dc2626;border-radius:99px;transition:width .5s}
.dl-score-bar.mid em{background:#f59e0b}.dl-score-bar.good em{background:#16a34a}
.dl-score-bar b{text-align:right}
.dl-score-pill{display:inline-block;min-width:44px;text-align:center;padding:2px 8px;border-radius:99px;font-weight:700;font-size:.82rem;background:#fee2e2;color:#991b1b}
.dl-score-pill.mid{background:#fef3c7;color:#92400e}.dl-score-pill.good{background:#dcfce7;color:#166534}
.dl-score-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.dl-score-head h3{margin:0}
.dl-score-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:2px}
.dl-score-list li{display:grid;grid-template-columns:26px 1fr auto;gap:10px;align-items:center;padding:9px 4px;border-top:1px solid #f1f5f9}
.dl-score-ico{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:.8rem;color:#fff;background:#dc2626}
.is-warn .dl-score-ico{background:#f59e0b}.is-ok .dl-score-ico{background:#16a34a}
.dl-score-txt{display:flex;flex-direction:column;gap:2px;min-width:0}.dl-score-txt small{color:#64748b;font-size:.82rem}
.is-ok .dl-score-txt strong{font-weight:500;color:#475569}
.dl-score-btn{margin:0;display:inline}
.dl-score-dup{border-left:4px solid #dc2626}.dl-score-dup h3{display:flex;gap:8px;align-items:center;margin:0 0 6px}
.dl-score-draft{border:2px solid #c7d2fe;background:#eef2ff}.dl-score-draft textarea{width:100%;margin:8px 0}
.dl-score-acts{display:flex;gap:8px}
.dl-gprev{display:flex;flex-direction:column;gap:3px;padding:14px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;font-family:arial,sans-serif;max-width:620px}
.dl-gprev-url{font-size:13px;color:#202124}.dl-gprev-title{font-size:19px;color:#1a0dab;line-height:1.3}.dl-gprev-desc{font-size:14px;color:#4d5156;line-height:1.5}
@media (max-width:600px){.dl-score-bar{grid-template-columns:1fr 80px 40px}.dl-score-list li{grid-template-columns:24px 1fr}.dl-score-list li>form,.dl-score-list li>a{grid-column:2}}

/* weak profiles page */
.dl-ws-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}
.dl-ws-filter{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end;margin:12px 0}
.dl-ws-filter label{display:flex;flex-direction:column;gap:4px;font-size:.85rem}
.dl-ws-table td small{display:block;color:#64748b;font-size:.8rem}
.dl-ws-mini{text-align:center;font-size:.82rem;color:#475569}
.dl-ws-acts{display:flex;gap:6px;flex-wrap:wrap}.dl-ws-acts form{margin:0}
.dl-ws-pager{display:flex;gap:8px;justify-content:flex-end;margin-top:10px}

/* ---------- v1.25 Page SEO / profile score panel (team only) ---------- */
.dl-seo-bar{position:fixed;left:14px;bottom:14px;z-index:1500;font-size:.88rem}
.dl-seo-toggle{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 12px;border:0;border-radius:999px;background:#0f172a;color:#fff;font:600 .85rem/1 inherit;box-shadow:0 6px 18px rgba(2,6,23,.3);cursor:pointer}
.dl-seo-toggle svg{width:16px;height:16px}
.dl-seo-toggle b{min-width:30px;padding:3px 7px;border-radius:999px;background:#dc2626;text-align:center}
.dl-seo-toggle b.mid{background:#f59e0b}.dl-seo-toggle b.good{background:#16a34a}
.dl-seo-panel{position:absolute;left:0;bottom:50px;width:min(440px,calc(100vw - 28px));max-height:min(76vh,720px);overflow:auto;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 18px 40px rgba(2,6,23,.25);padding:12px 14px}
.dl-seo-panel[hidden]{display:none}
.dl-seo-head{display:flex;align-items:center;gap:8px;margin-bottom:8px}.dl-seo-head strong{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dl-seo-head .dl-live-x{background:#f1f5f9;color:#0f172a;width:32px;height:32px}
.dl-seo-bars{display:grid;gap:4px;margin-bottom:6px}
.dl-seo-bars .dl-score-bar{grid-template-columns:1fr 90px 40px;font-size:.82rem;padding:2px 0}
.dl-seo-list{list-style:none;margin:0;padding:0}
.dl-seo-list li{display:grid;grid-template-columns:24px 1fr auto;gap:8px;align-items:center;padding:7px 2px;border-top:1px solid #f1f5f9}
.dl-seo-box{border-top:1px solid #e2e8f0;margin-top:8px;padding-top:8px}
.dl-seo-box>summary{cursor:pointer;font-weight:600;display:flex;gap:6px;align-items:center}.dl-seo-box>summary svg{width:15px;height:15px}
.dl-seo-form{display:grid;gap:8px;margin-top:8px}
.dl-seo-form label{display:flex;flex-direction:column;gap:4px;font-size:.82rem;font-weight:600}
.dl-seo-form label small{font-weight:400;color:#64748b}.dl-seo-form label small.over{color:#dc2626;font-weight:700}
.dl-seo-form label.check{flex-direction:row;align-items:center;font-weight:400}
.dl-seo-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.dl-seo-acts{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.dl-seo-acts form{margin:0}
.dl-seo-inline{display:flex;gap:6px;margin-top:8px}
.dl-seo-ans{padding:8px;border:1px solid #e2e8f0;border-radius:10px;margin:6px 0}.dl-seo-ans p{margin:4px 0;font-size:.84rem;color:#475569}.dl-seo-ans.is-off{opacity:.6;background:#f8fafc}
.dl-seo-foot{margin:8px 0 0}
.linklike{background:none;border:0;padding:0;color:#1e40af;text-decoration:underline;cursor:pointer;font:inherit}
@media (max-width:640px){.dl-seo-bar{left:10px;bottom:84px}}
/* score badge on doctor cards (team only) */
.dl-card-score{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;font-size:.75rem;font-weight:700;background:#fee2e2;color:#991b1b}
.dl-card-score.mid{background:#fef3c7;color:#92400e}.dl-card-score.good{background:#dcfce7;color:#166534}
/* quick answers (public) */
.dl-answers h2{margin-bottom:6px}
.dl-answer{border-top:1px solid #e2e8f0;padding:10px 0}.dl-answer:first-of-type{border-top:0}
.dl-answer summary{cursor:pointer;font-weight:600;color:#0f172a}.dl-answer p{margin:6px 0 0;color:#475569}
/* SEO center */
.dl-sc-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.dl-sc-tabs a{padding:7px 12px;border-radius:999px;background:#f1f5f9;color:#0f172a;text-decoration:none;font-weight:600;font-size:.86rem}.dl-sc-tabs a.on{background:#1e40af;color:#fff}
.dl-sc-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-bottom:14px}
.dl-sc-card{display:flex;flex-direction:column;gap:4px;text-decoration:none;color:inherit}.dl-sc-card b{font-size:1.6rem}.dl-sc-card small{color:#64748b}
.dl-sc-bots{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:6px;margin:8px 0}
tr.dl-off td{opacity:.55}

/* ---------- v1.25.02 Search result preview (Google desktop / mobile, share card) ---------- */
.dl-seo-serp{margin:4px 0 10px;padding:10px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}
.dl-seo-serp h4{display:flex;align-items:center;gap:6px;margin:0 0 8px;font-size:.85rem}.dl-seo-serp h4 svg{width:15px;height:15px;color:#1e40af}
.dl-seo-serp h4 .linklike{margin-left:auto;font-size:.8rem}
.dl-serp{font-family:Arial,Helvetica,sans-serif}
.dl-serp-tabs{display:flex;gap:4px;margin-bottom:8px;padding:3px;border-radius:10px;background:#e2e8f0;font-family:inherit}
.dl-serp-tabs button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:30px;padding:0 6px;border:0;border-radius:8px;background:transparent;color:#475569;font:600 12px/1 Poppins,system-ui,sans-serif;cursor:pointer}
.dl-serp-tabs button svg{width:14px;height:14px}
.dl-serp-tabs button[aria-selected=true]{background:#fff;color:#1e40af;box-shadow:0 1px 3px rgba(15,23,42,.15)}
.dl-serp-g{padding:12px 14px;border:1px solid #dadce0;border-radius:12px;background:#fff;color:#202124}
.dl-serp-g{box-sizing:content-box}.dl-serp[data-mode=desktop] .dl-serp-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dl-serp[data-mode=mobile] .dl-serp-g{border-radius:16px;box-shadow:0 1px 6px rgba(32,33,36,.18)}
.dl-serp-site{display:flex;align-items:center;gap:10px;margin-bottom:4px}
.dl-serp-fav{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#f1f3f4;border:1px solid #ecedef;overflow:hidden;flex:0 0 auto}
.dl-serp-fav img{width:18px;height:18px;object-fit:contain}.dl-serp-fav b{font-size:13px;color:#1e40af}
.dl-serp-site-t{display:flex;flex-direction:column;min-width:0;line-height:1.3}
.dl-serp-site-t b{font-size:14px;font-weight:400;color:#202124}
.dl-serp-site-t small{font-size:12px;color:#4d5156;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dl-serp-site-t small span{color:#70757a}
.dl-serp-dots{margin-left:auto;color:#70757a}
.dl-serp-title{display:block;margin:2px 0 3px;font-size:20px;line-height:1.3;color:#1a0dab;text-decoration:none;overflow-wrap:anywhere}
.dl-serp-title:hover{text-decoration:underline}
.dl-serp[data-mode=mobile] .dl-serp-title{font-size:18px;color:#1558d6}
.dl-serp-rating{display:block;font-size:13px;color:#70757a;margin-bottom:2px}
.dl-serp-stars{color:#fbbc04;letter-spacing:1px}.dl-serp-stars i{font-style:normal;color:#dadce0}
.dl-serp-desc{margin:0;font-size:14px;line-height:1.58;color:#4d5156;overflow-wrap:anywhere}
.dl-serp-share{display:flex;flex-direction:column;max-width:420px;border-radius:12px;overflow:hidden;background:#fff;border:1px solid #dadde1;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.dl-serp-share[hidden],.dl-serp-g[hidden]{display:none}
.dl-serp-share-img{aspect-ratio:1.91/1;background:#e5e7eb;display:grid;place-items:center;color:#64748b;font-size:12px}
.dl-serp-share-img img{width:100%;height:100%;object-fit:cover}
.dl-serp-share-img span{display:flex;align-items:center;gap:6px}.dl-serp-share-img svg{width:16px;height:16px}
.dl-serp-share-t{display:flex;flex-direction:column;gap:3px;padding:10px 12px;background:#f0f2f5}
.dl-serp-share-t small{font-size:11px;color:#65676b;letter-spacing:.02em}
.dl-serp-share-t b{font-size:15px;color:#050505;line-height:1.3}
.dl-serp-share-t span{font-size:13px;color:#65676b;line-height:1.35}
.dl-serp-meters{display:grid;gap:6px;margin-top:10px;font-family:Poppins,system-ui,sans-serif}
.dl-serp-meter{display:grid;grid-template-columns:78px 1fr auto;align-items:center;gap:8px;font-size:11.5px;color:#475569}
.dl-serp-meter i{height:6px;border-radius:99px;background:#e2e8f0;overflow:hidden}
.dl-serp-meter em{display:block;height:100%;width:0;border-radius:99px;background:#16a34a;transition:width .2s}
.dl-serp-meter[data-tone=warn] em{background:#f59e0b}.dl-serp-meter[data-tone=bad] em{background:#dc2626}
.dl-serp-meter b{font-weight:600;color:#0f172a;white-space:nowrap}
.dl-serp-note{margin:8px 0 0;font:12px/1.45 Poppins,system-ui,sans-serif;color:#64748b}
.dl-score-prev .dl-serp{margin-top:8px}
@media (max-width:480px){.dl-serp-meter{grid-template-columns:70px 1fr}.dl-serp-meter b{grid-column:1/-1;justify-self:end;margin-top:-4px}.dl-serp-title{font-size:18px}}
