.dental-chart{border:1px solid #dce7e8;border-radius:15px;overflow:hidden;background:#fff;margin-bottom:22px}.dental-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid #e5eeee}.dental-chart-heading h3{margin:0 0 5px;font-size:16px}.dental-chart-heading p{font-size:11px;line-height:1.8;color:#789091;margin:0}.dental-3d-tag{padding:8px 12px;border-radius:10px;background:#e8f4f2;color:#17847c;font-size:16px;font-weight:700;direction:ltr}.dental-chart-layout{display:grid;grid-template-columns:minmax(0,1fr)275px;direction:ltr}.dental-stage{background:#f7fafb;min-width:0}.dental-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 16px;background:#fff;border-bottom:1px solid #edf2f3}.dental-toolbar select{width:auto;max-width:140px;padding:7px 11px;font-size:11px}.dental-toolbar label.dental-toggle{display:flex;align-items:center;gap:6px;font-size:11px;color:#557174}.dental-toggle input{width:14px;height:14px;accent-color:#128a81}.dental-canvas-host{position:relative;background:radial-gradient(ellipse at 50% 45%,#fff 0%,#f2f7f9 64%,#e8eff3 100%);height:420px;min-height:300px;isolation:isolate;overflow:hidden}.dental-canvas-host canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab;outline-offset:-3px}.dental-canvas-host canvas:active{cursor:grabbing}.dental-labels{position:absolute;inset:0;pointer-events:none}.dental-fdi-label{position:absolute;transform:translate(-50%,-50%);border:1px solid #cfdddf;background:#ffffffde;padding:3px 6px;border-radius:6px;font-size:10px;font-family:inherit;color:#577173;pointer-events:auto;cursor:pointer;direction:ltr}.dental-fdi-label.selected{background:#087f79;color:white;border-color:#087f79}.dental-render-status{position:absolute;bottom:10px;inset-inline-start:15px;font-size:9px;color:#84999e;pointer-events:none;max-width:80%;line-height:1.8}.dental-zoom{position:absolute;bottom:16px;right:12px;display:grid;gap:5px}.dental-zoom button{width:30px;height:30px;background:#fff;border:1px solid #d6e2e3;box-shadow:0 2px 5px #0b42440b;border-radius:8px;color:#466b71;font-size:20px;cursor:pointer}.dental-camera-actions{display:flex;gap:8px;justify-content:center;padding:12px}.dental-camera-actions .button{font-size:10px;padding:8px 14px}.dental-number-strip{padding:5px 15px 12px;display:flex;justify-content:center;flex-wrap:wrap;gap:4px;direction:ltr}.dental-number-strip button{width:28px;height:27px;border:1px solid #dce6e8;background:#fff;border-radius:6px;font-family:inherit;font-size:10px;cursor:pointer;color:#5b767b;box-shadow:inset 0 -2px #cbdadb}.dental-number-strip button.completed{box-shadow:inset 0 -3px #34a98d}.dental-number-strip button.in_progress{box-shadow:inset 0 -3px #4a85dc}.dental-number-strip button.planned{box-shadow:inset 0 -3px #dbaa46}.dental-number-strip button.finding{box-shadow:inset 0 -3px #bd8847}.dental-number-strip button.active{background:#087f79;border-color:#087f79;color:white;box-shadow:none}.dental-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:13px;padding:7px 10px;font-size:9px;color:#6c8289}.dental-legend span{display:flex;align-items:center;gap:5px}.dental-legend i{width:7px;height:7px;border-radius:50%;background:#bd8847}.dental-legend i.planned{background:#dbaa46}.dental-legend i.in_progress{background:#4a85dc}.dental-legend i.completed{background:#34a98d}.dental-illustration-note{padding:4px 15px 13px;text-align:center;font-size:9px;color:#7b9096;line-height:1.8;margin:0}.dental-tooth-panel{border-left:1px solid #e2ebed;padding:18px 15px;max-height:690px;overflow:auto;background:#fff}.dental-selected-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.dental-selected-header>div{display:flex;align-items:center;gap:9px}.dental-selected-header>div>span{font-size:12px;color:#7b9096}.dental-selected-header strong{font-size:33px;line-height:1;direction:ltr;color:#174e53}.dental-phase{padding:5px 7px;border-radius:6px;font-size:9px;background:#edf3f3;color:#6e8589}.dental-phase.completed{background:#e6f5ef;color:#29856f}.dental-phase.in_progress{background:#eaf0fc;color:#4475bf}.dental-phase.planned{background:#fff5dd;color:#9a762d}.dental-tooth-actions{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:15px}.dental-tooth-actions .button{font-size:10px;padding:7px 10px}.dental-tooth-actions .link-button{font-size:10px;margin:0}.dental-tooth-panel h4{font-size:11px;margin:18px 0 10px;color:#4d6e75}.dental-tooth-panel h4>span{display:inline-block;font-size:9px;padding:2px 6px;border-radius:5px;background:#edf4f5;margin-inline-start:5px}.dental-work-card{padding:12px;border:1px solid #dfe8ea;border-inline-start:3px solid #a2bac0;border-radius:9px;margin-bottom:9px;background:#f9fcfc}.dental-work-card.completed{border-inline-start-color:#31a18b;background:#f2fbf7}.dental-work-card.planned{border-inline-start-color:#d7a145;background:#fffbf1}.dental-work-card.in_progress{border-inline-start-color:#4a83d9;background:#f3f7ff}.dental-work-card.cancelled{opacity:.65}.dental-work-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}.dental-work-top>span{font-size:9px;color:#809092}.dental-work-card p,.dental-finding p{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:8px 0}.dental-work-card small,.dental-finding small{font-size:9px;color:#7f949a}.dental-work-meta{display:flex;flex-direction:column;gap:6px;font-size:9px;color:#68838a;margin-top:9px}.dental-work-card .link-button{font-size:9px;margin:8px 0 0}.dental-finding{padding:10px 12px;border:1px solid #e8dfcf;background:#fffcf5;border-radius:8px;margin-bottom:8px}.dental-empty{font-size:10px;color:#94a3a7;line-height:1.9;margin:8px 0 12px}.dental-whole{margin-top:20px;padding-top:12px;border-top:1px solid #e5edef}.dental-whole summary{font-size:10px;cursor:pointer;color:#55747c;margin-bottom:12px}.dental-unavailable{display:grid;place-items:center;min-height:180px;height:220px}.dental-unavailable canvas,.dental-unavailable .dental-labels,.dental-unavailable .dental-zoom{display:none}.dental-unavailable .dental-render-status{position:static;padding:25px;font-size:12px;color:#677d83;text-align:center;max-width:100%}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:850px){.dental-chart-layout{grid-template-columns:1fr}.dental-tooth-panel{border-left:0;border-top:1px solid #e2ebed;max-height:none}.dental-canvas-host{height:360px}.dental-toolbar{gap:8px}.dental-chart-heading{padding:13px}.dental-chart-heading h3{font-size:14px}.dental-work-meta{flex-direction:row;justify-content:space-between}}@media(min-width:1200px){dialog:has(.dental-chart){width:min(1240px,calc(100vw - 28px));max-width:1240px}}
.dental-model-credit{text-align:center;font-size:10px;line-height:1.8;margin:10px 12px}.dental-model-credit a{color:#547d83;text-underline-offset:3px}
.dental-selected-header>div{flex-wrap:wrap}.dental-tooth-name{flex-basis:100%;font-size:11px;color:#58767c;line-height:1.8;overflow-wrap:anywhere}.dental-work-meta{line-height:1.8}.surface-options label{border:1px solid #dce7e7;padding:8px 10px;border-radius:7px;font-size:12px;background:#fff;direction:rtl}.surface-options label:has(input:checked){background:#e8f5f1;border-color:#299381}.surface-options label:has(input:disabled){opacity:.55}.surface-options{gap:8px}
.dental-number-strip{display:block}.dental-fdi-group{margin:10px 0;min-width:0}.dental-fdi-group>small{display:block;font-size:10px;text-align:center;color:#547d83;margin-bottom:5px}.dental-fdi-orientation{display:flex;direction:ltr;justify-content:space-between;gap:5px;font-size:9px;color:#6e8589;margin:5px 0}.dental-fdi-row{display:flex;direction:ltr;justify-content:center;gap:3px;overflow-x:auto;padding:3px 0}.dental-fdi-row button{flex:1 0 17px;min-width:17px;max-width:30px;padding:7px 0;font-size:10px}.dental-fdi-row button:focus-visible{outline-offset:-2px}
