#dentist{max-width:1100px;margin:auto;padding:12px;color:var(--ink)}
.dent-heading{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
.dent-heading h1{margin:0;flex:1}
.dent-layout{display:grid;grid-template-columns:minmax(185px,30%) minmax(0,1fr);gap:12px}
.dent-layout>aside,.dent-layout>section{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:12px;min-width:0}
.dent-layout h2{margin:4px 0 8px;font-size:clamp(16px,2vw,25px)}
.dent-portrait{display:block;width:100%;height:min(23vh,180px);object-fit:contain;background:#fff2df;border-radius:10px}
.dent-patients{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}
.dent-patients button,.dent-tray button{min-width:0;border:1px solid #c9a784;border-radius:9px;background:#fff8ed;color:#453222;cursor:pointer}
.dent-patients button{font-size:10px;padding:2px;overflow-wrap:anywhere}
.dent-patients img{width:100%;height:36px;object-fit:cover;border-radius:6px;display:block}
.dent-tray{display:flex;flex-wrap:wrap;gap:5px}.dent-tray button{padding:6px;flex:1;font-size:13px}.dent-tray b{display:block;font-size:26px}
.dent-tray .dent-needed{outline:2px dashed #ac7746}.dent-layout button[aria-pressed=true]{background:#ffddaa;border-color:#926229}
.dent-mouth{width:100%;max-height:48dvh;display:block;background:#d9f1ea;border-radius:14px;touch-action:none}.dent-mouth g[data-tooth]{cursor:pointer}
@media(max-width:680px){.dent-layout{grid-template-columns:1fr;gap:5px}.dent-layout aside{display:grid;grid-template-columns:64px 1fr;gap:3px 7px}.dent-portrait{height:68px;grid-row:1/3}.dent-patients{grid-column:2;grid-template-columns:repeat(8,minmax(0,1fr))}.dent-patients img{height:23px}.dent-patients button{font-size:9px}.dent-mouth{max-height:32dvh}.dent-layout>section,.dent-layout>aside{padding:7px}.dent-tray button{font-size:11px}.dent-layout p{margin:6px 0}}
.dent-mouth,.dent-mouth g[data-tooth]{cursor:var(--dent-cursor,pointer)}
