.dd-design{--dd-line:#dce7f6;max-width:1320px;margin:0 auto;color:var(--ink)}
.dd-design .page-head h1{max-width:900px}.dd-mode-switch{display:grid;grid-template-columns:repeat(3,1fr);padding:6px;border:1px solid var(--dd-line);border-radius:16px;background:#eaf1fb;margin:0 0 26px;max-width:680px;gap:5px}.dd-mode-switch a{display:flex;align-items:center;justify-content:center;gap:9px;color:#61799c;text-decoration:none;padding:11px 12px;border-radius:11px;font-weight:650;font-size:14px;min-height:46px}.dd-mode-switch a small{font-size:10px;opacity:.6;margin-left:auto}.dd-mode-switch a[aria-current]{background:white;color:var(--brand);box-shadow:0 2px 8px #1a39630b}.dd-flow{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}.dd-main{display:grid;gap:22px;min-width:0}.dd-card{background:#fff;border:1px solid var(--dd-line);border-radius:24px;padding:26px;box-shadow:0 6px 24px #31558b04;min-width:0}.dd-section-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:23px}.dd-section-head>div{flex:1;min-width:0}.dd-section-head h2{font-size:19px;letter-spacing:-.5px;margin:0 0 5px}.dd-section-head p{font-size:13px;line-height:1.6;color:var(--muted);margin:0}.dd-section-head>.badge{font-size:10px;margin-top:4px}.dd-step{display:grid;place-items:center;flex:0 0 30px;height:30px;background:#edf4ff;color:var(--brand);font-size:13px;font-weight:750;border-radius:10px}.dd-search-label,.dd-field-label{display:block;font-size:12px;font-weight:650;margin-bottom:8px;color:#536b91}.dd-search-input{display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid #cfddf0;border-radius:12px;background:#fbfcff;color:#7a91b0;transition:box-shadow .2s}.dd-search-input:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px #246bfe12}.dd-search-input input{width:100%;min-width:0;border:0;background:transparent;box-shadow:none;padding:13px 0;font:inherit;font-size:14px;color:var(--ink);outline:none}.dd-search-input input:focus{box-shadow:none}.dd-search-input input::placeholder{color:#8093af}.dd-results{border:1px solid var(--dd-line);border-radius:13px;padding:5px;margin-top:7px;max-height:270px;overflow:auto}.dd-results>button{display:flex;width:100%;align-items:center;gap:10px;border:0;background:#fff;text-align:left;padding:11px;border-radius:9px;color:var(--ink);cursor:pointer;min-height:62px}.dd-results>button:hover{background:#f1f6ff}.dd-results>button:disabled{opacity:.55;cursor:not-allowed}.dd-results>button>span:nth-child(2){flex:1;min-width:0}.dd-results strong{display:block;font-size:13px}.dd-results small{display:block;font-size:11px;line-height:1.5;color:var(--muted);margin-top:4px}.dd-results>p{padding:12px;font-size:13px;color:var(--muted)}.dd-person-initials{width:35px;height:35px;display:grid;place-items:center;border-radius:11px;background:#edf3fc;color:#6a84a9;font-size:11px;font-weight:750}.dd-selected-person{display:flex;align-items:center;gap:13px;background:#f6f9ff;border:1px solid #e5edfa;border-radius:15px;padding:16px;margin-top:16px}.dd-selected-person>div:not(.avatar){min-width:0;flex:1}.dd-selected-person span:not(.avatar):not(.badge){display:block;font-size:9px;letter-spacing:1.1px;font-weight:750;color:#8599b5;margin-bottom:5px}.dd-selected-person strong{display:block;font-size:15px}.dd-selected-person small{display:block;margin-top:5px;font-size:11px;line-height:1.5;color:var(--muted)}.dd-selected-person .badge{font-size:10px;white-space:nowrap}.dd-selected-procedure{display:flex;align-items:center;gap:13px;margin-top:16px;padding:17px;border:1px solid #cbdfff;border-radius:15px;background:linear-gradient(120deg,#f4f8ff,#fbfdff)}.dd-procedure-icon{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:13px;color:var(--brand);background:#e7f0ff}.dd-selected-procedure>div{flex:1;min-width:0}.dd-selected-procedure small{display:block;color:#6d89b2;font-size:10px;margin-bottom:4px}.dd-selected-procedure strong{display:block;font-size:14px;line-height:1.4}.dd-selected-procedure div>span{display:block;font-size:11px;color:var(--brand);margin-top:5px}.dd-selected-procedure>svg{color:var(--brand);flex:0 0 19px}.dd-examples{margin-top:15px;font-size:12px;color:var(--muted)}.dd-examples summary{cursor:pointer;padding:5px 0}.dd-examples>div{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.dd-examples .btn{font-size:11px;min-height:34px;padding:7px 10px}.dd-examples p{font-size:11px;line-height:1.6}.dd-dentition{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.dd-segment{display:flex;gap:4px;background:#f0f4fa;padding:4px;border-radius:11px}.dd-segment button{border:0;background:transparent;border-radius:8px;min-height:38px;padding:8px 12px;font:inherit;font-size:12px;color:#768ba8;cursor:pointer}.dd-segment button[aria-pressed=true]{background:white;box-shadow:0 1px 5px #19324f10;color:var(--ink);font-weight:650}.dd-segment span{font-size:10px;margin-left:5px;color:#8a9bb3}.dd-fdi-note{text-align:right;color:#6f84a4;font-size:11px;line-height:1.8}.dd-fdi-note small{font-size:10px;color:#94a5bd}.dd-tooth-list{padding:17px;background:#f7faff;border:1px solid #e7eef9;border-radius:18px}.dd-list-teeth{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:325px;overflow:auto;margin-top:15px;padding:2px 4px 3px 2px;overscroll-behavior:contain}.dd-list-teeth button{display:flex;align-items:center;gap:10px;border:1px solid #dfe8f5;background:white;padding:11px 10px;border-radius:11px;cursor:pointer;min-height:58px;text-align:left;color:#627c9f;font-size:11px;font-family:inherit}.dd-list-teeth button b{display:grid;place-items:center;flex:0 0 30px;height:34px;border-radius:8px;background:#f3f6fb;color:#506a91;font-size:16px;font-weight:650}.dd-list-teeth button span{flex:1;line-height:1.45}.dd-list-teeth button[aria-pressed=true]{border-color:var(--brand);background:#edf4ff;color:var(--brand)}.dd-list-teeth button[aria-pressed=true] b{background:var(--brand);color:white}.dd-list-teeth i,.dd-list-teeth svg{flex:0 0 17px}.dd-chosen-tooth{display:flex;gap:13px;align-items:center;background:#edf5ff;border:1px solid #cadfff;border-radius:15px;padding:16px;margin:20px 0}.dd-chosen-tooth>b{display:grid;place-items:center;flex:0 0 48px;height:52px;border-radius:13px;background:white;box-shadow:0 2px 6px #246bfe0a;color:var(--brand);font-size:24px;font-weight:650}.dd-chosen-tooth>div{flex:1;min-width:0}.dd-chosen-tooth small{font-size:9px;letter-spacing:1px;font-weight:700;color:#7292c2}.dd-chosen-tooth strong{display:block;font-size:13px;margin:4px 0;line-height:1.5}.dd-chosen-tooth div>span{font-size:11px;color:var(--muted)}.dd-chosen-tooth>svg{color:var(--brand)}.dd-summary{position:sticky;top:112px;display:grid;gap:16px;min-width:0}.dd-summary .dd-card{padding:23px}.dd-summary-title{display:flex;align-items:center;gap:10px;padding-bottom:20px;border-bottom:1px solid #edf1f8}.dd-summary-title>span{display:grid;place-items:center;width:40px;height:44px;background:#f0f5ff;border-radius:12px;color:var(--brand)}.dd-summary-title small{font-size:9px;letter-spacing:1.2px;color:#91a2bc;font-weight:700}.dd-summary-title h2{font-size:16px;margin:4px 0 0;letter-spacing:-.4px}.dd-summary dl{margin:20px 0}.dd-summary dt{font-size:10px;color:#8599b6;margin:16px 0 5px}.dd-summary dd{font-size:13px;font-weight:550;line-height:1.6;margin:0}.dd-face-summary{display:flex;flex-wrap:wrap;gap:6px}.dd-face-summary>span{display:flex;align-items:center;gap:6px;padding:4px 7px;background:#eef4ff;border:1px solid #d9e7fc;border-radius:6px;font-size:10px;color:#5475a2}.dd-face-summary b{font-size:10px;color:var(--brand)}.dd-executor{display:flex;gap:8px;padding:14px 0;border-top:1px solid #edf1f8;margin-bottom:15px;color:#7188a7}.dd-executor p{margin:0}.dd-executor strong{display:block;font-size:11px;font-weight:600;color:#567297}.dd-executor small{display:block;font-size:10px;line-height:1.6;margin-top:3px}.dd-summary .btn{width:100%;font-size:12px;min-height:43px}.dd-ready-hint{font-size:10px;line-height:1.6;text-align:center;color:#8d9fba;margin:10px 0 0}.dd-error,.dd-success{font-size:12px;line-height:1.6;padding:11px;border-radius:9px}.dd-error{color:#b24150;background:#fff0f3}.dd-success{color:#258372;background:#effaf6}.dd-basket header{display:flex;align-items:center;justify-content:space-between}.dd-basket h3{font-size:14px;margin:0}.dd-basket header>span{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#eaf2ff;color:var(--brand);font-size:11px}.dd-basket>p{font-size:12px;line-height:1.7;color:var(--muted);margin:15px 0 0}.dd-basket ol{list-style:none;padding:0;margin:12px 0}.dd-basket li{display:flex;align-items:flex-start;gap:6px;padding:12px 0;border-bottom:1px solid #e9eff8}.dd-basket li>div{flex:1;min-width:0}.dd-basket li strong{font-size:11px;line-height:1.6}.dd-basket li small{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin-top:4px}.dd-basket li .btn{width:28px;min-height:30px;padding:5px;flex:0 0 28px}.dd-local-note{display:flex;justify-content:center;gap:6px;align-items:center;font-size:10px;color:#91a1ba;margin:0}.dd-selection-hint,.dd-no-faces{font-size:12px;color:#7891b2;line-height:1.6;padding:20px;background:#f6f9fe;border-radius:12px;margin-top:15px}.dd-selection-hint{display:flex;align-items:center;gap:9px}.dd-no-region{text-align:center;padding:36px 20px;background:#f6faff;border:1px dashed #d6e5f7;border-radius:17px}.dd-no-region>svg{color:#5b9a8d;margin-bottom:9px}.dd-no-region h3{font-size:16px}.dd-no-region p{font-size:12px;color:var(--muted);line-height:1.6}.dd-arch-options{display:grid;grid-template-columns:1fr 1fr;gap:13px}.dd-arch-options button{display:grid;justify-items:center;gap:9px;border:1px solid #dbe6f6;border-radius:17px;background:#f9fbff;padding:18px;font:inherit;cursor:pointer;color:#6481a5}.dd-arch-options button[aria-pressed=true]{background:#ecf4ff;border-color:var(--brand);color:var(--brand)}.dd-arch-symbol{font-size:80px;line-height:1;color:#98b5d9}.dd-arch-symbol.lower{transform:rotate(180deg)}.dd-arch-options strong{font-size:13px}.dd-arch-options small{font-size:11px}.dd-empty{font-size:13px;line-height:1.6;color:var(--muted);padding:15px}.dd-demo-caption{color:#91a0b6;font-size:11px;line-height:1.8;margin:26px 0 0}.dd-comparison-intro{display:flex;align-items:center;gap:15px;margin:5px 0 25px;color:var(--muted);font-size:13px}.dd-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.dd-option{border:1px solid #dce7f6;border-radius:24px;background:white;overflow:hidden;box-shadow:0 7px 25px #2c538806}.dd-option-preview{height:230px;background:radial-gradient(ellipse at 50% 20%,#fff,#edf3fe);padding:35px;position:relative;display:grid;place-items:center;border-bottom:1px solid #e6eef9}.dd-option-number{position:absolute;top:15px;left:18px;font-size:10px;color:#8b9fbf;border:1px solid #d7e3f4;padding:4px 7px;border-radius:7px}.dd-option-body{padding:25px}.dd-option-body h2{font-size:22px;letter-spacing:-.7px;margin:0 0 12px}.dd-option-body p{font-size:13px;line-height:1.8;color:var(--muted);min-height:72px;margin:0 0 22px}.dd-option-body .btn{width:100%;font-size:12px}.dd-mini-list{transform:rotate(-3deg);background:#fff;padding:10px;border:1px solid #d5e3f6;border-radius:14px;width:210px;box-shadow:8px 12px 25px #3a659912}.dd-mini-list>span{display:flex;align-items:center;gap:7px;font-size:9px;color:#95a7c0;padding:6px 4px 9px}.dd-mini-list>div{display:flex;align-items:center;gap:8px;font-size:9px;color:#7c90ad;border:1px solid #e8eef6;border-radius:7px;padding:5px;margin-top:5px}.dd-mini-list b{background:#eff4fb;padding:4px 6px;border-radius:4px;font-size:11px}.dd-mini-list .selected{color:var(--brand);border-color:#b8d4ff;background:#f2f7ff}.dd-mini-list i{margin-left:auto;font-style:normal}.dd-mini-list footer{display:flex;align-items:center;gap:5px;margin-top:8px}.dd-mini-list footer b{background:#eaf2ff;color:var(--brand);font-size:8px}.dd-mini-list footer span{font-size:7px;color:#93a7c2;margin-left:3px}.dd-mini-arch{width:220px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:15px 0}.dd-mini-arch>div{display:flex;justify-content:center;gap:3px;height:63px}.dd-mini-arch i{display:block;width:13px;height:25px;border-radius:5px 5px 8px 8px;background:#fff;border:1px solid #ceddee;transform:translateY(var(--height)) rotate(var(--angle));box-shadow:1px 2px 4px #8ca3c32b}.dd-mini-arch>div:nth-child(2){transform:scaleY(-1)}.dd-mini-arch i.selected{background:#79aaff;border-color:#3b7ce9}.dd-mini-arch>span{font-size:8px;letter-spacing:.5px;color:#90a5c3;margin-top:10px}.dd-mini-arch.volume{transform:perspective(700px) rotateY(-19deg) rotateX(17deg)}.dd-mini-arch.volume i{height:29px;width:15px;background:linear-gradient(110deg,#fffdfa,#e9e4db 35%,#fff,#a3a8b5);border-color:#cdd0d8;box-shadow:4px 5px 3px #485d7c2a,inset -3px -2px 3px #8c95a424}.dd-mini-arch.volume i.selected{background:linear-gradient(110deg,#bfdfff,#4f94f0,#b4dbff)}.dd-comparison-footer{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:30px;padding:25px 0;border-top:1px solid #dae5f4}.dd-comparison-footer>span{display:grid;grid-template-columns:25px 1fr;gap:7px 10px}.dd-comparison-footer svg{grid-row:span 2;color:#7c9bc4}.dd-comparison-footer strong{font-size:12px;font-weight:650}.dd-comparison-footer small{font-size:11px;color:var(--muted);line-height:1.6}.dd-review-person>span{font-size:10px;color:#8b9fb9;letter-spacing:1px}.dd-review-person h3{font-size:19px}.dd-review-person p,.dd-review-items p{font-size:12px;color:var(--muted);line-height:1.6}.dd-review-items{display:grid;gap:10px;margin-top:20px}.dd-review-items article{padding:14px;border:1px solid #dce7f6;border-radius:12px;background:#f8fbff}.dd-review-items strong{font-size:13px}.dd-review-items p{margin:6px 0 0}
@media(min-width:1500px){.dd-flow{grid-template-columns:minmax(0,1fr) 340px;gap:28px}.dd-card{padding:30px}}
@media(max-width:1150px){.dd-flow{grid-template-columns:minmax(0,1fr)}.dd-summary{position:static;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start}.dd-local-note{grid-column:1/-1}.dd-options{gap:13px}.dd-option-preview{padding:20px}.dd-option-body{padding:20px}.dd-option-body h2{font-size:19px}.dd-option-body p{min-height:94px}.dd-mini-arch{transform:scale(.9)}.dd-mini-list{transform:scale(.9) rotate(-3deg)}}
@media(max-width:650px){.dd-design{width:100%}.dd-options{grid-template-columns:1fr;gap:18px}.dd-option-preview{height:210px}.dd-option-body p{min-height:0}.dd-option-body{padding:22px}.dd-option-body h2{font-size:22px}.dd-comparison-intro{align-items:flex-start;flex-direction:column;gap:10px;line-height:1.7}.dd-comparison-footer{grid-template-columns:1fr;gap:22px}.dd-flow{gap:18px}.dd-main{gap:16px}.dd-card{padding:20px 17px;border-radius:20px}.dd-summary{grid-template-columns:1fr;gap:14px}.dd-summary .dd-card{padding:22px}.dd-section-head{gap:9px;flex-wrap:wrap;margin-bottom:18px}.dd-section-head h2{font-size:17px}.dd-section-head p{font-size:12px}.dd-section-head>.badge{margin-left:39px;margin-top:-4px}.dd-step{flex-basis:28px;height:28px}.dd-mode-switch{padding:4px;gap:3px;margin-bottom:18px}.dd-mode-switch a{font-size:11px;gap:6px;padding:10px 5px;min-height:44px}.dd-mode-switch a small{display:none}.dd-mode-switch svg{width:15px}.dd-search-input input{font-size:16px;padding:12px 0}.dd-selected-person{gap:9px;padding:12px;flex-wrap:wrap}.dd-selected-person .avatar{width:36px;height:36px;font-size:11px}.dd-selected-person strong{font-size:14px}.dd-selected-person>.badge{margin-left:45px}.dd-selected-procedure{padding:13px;gap:10px}.dd-selected-procedure strong{font-size:13px}.dd-results .badge{font-size:8px;padding:3px 6px}.dd-results>button{padding:10px 5px;gap:7px}.dd-results strong{font-size:12px}.dd-results small{font-size:10px}.dd-dentition{gap:12px;align-items:flex-start;flex-direction:column}.dd-fdi-note{text-align:left;font-size:10px}.dd-fdi-note br{display:none}.dd-fdi-note small{margin-left:6px}.dd-list-teeth{grid-template-columns:1fr;max-height:295px;gap:6px}.dd-list-teeth button{font-size:12px;min-height:52px}.dd-tooth-list{padding:12px}.dd-chosen-tooth{padding:12px;gap:10px}.dd-chosen-tooth strong{font-size:12px}.dd-chosen-tooth>b{flex-basis:42px;height:47px;font-size:22px}.dd-demo-caption{font-size:10px}.dd-no-region{padding:25px 15px}.dd-arch-options button{padding:16px 9px}.dd-arch-options strong{font-size:12px}.dd-design button:focus-visible,.dd-design a:focus-visible{outline:3px solid #81adff;outline-offset:2px}}
/* The mode is already named in the page heading and switch; keep mobile step copy readable. */
@media(max-width:650px){.dd-section-head>.badge{display:none}}
.dd-region-card .dm-map:has(.dm-tooth.is-selected) .dm-map-selection{display:none}
/* Fourth alternative: saved markings and an enlarged 3D surface editor. */
.dd-mode-switch{grid-template-columns:repeat(4,minmax(0,1fr));max-width:820px}.dd-options{grid-template-columns:repeat(2,minmax(0,1fr))}.dd-option-body p{min-height:48px}.dd-surface-context{display:flex;align-items:flex-start;gap:10px;padding:13px 15px;border:1px solid #dbe9fc;background:#f6faff;border-radius:13px;margin:0 0 20px;color:#5a83b6}.dd-surface-context strong{display:block;color:#426b9f;font-size:12px;line-height:1.5}.dd-surface-context small{display:block;color:#8298b7;font-size:10px;line-height:1.6;margin-top:4px}.dd-surface-context>span{flex:none;margin-top:2px}.dd-surface-saved{border:1px solid #cce9e4;background:#f5fcfa;border-radius:16px;padding:17px;margin-top:20px}.dd-surface-saved header{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#418477}.dd-surface-saved header>span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650}.dd-surface-saved header>small{font-size:10px;white-space:nowrap}.dd-surface-saved>p{font-size:12px;line-height:1.7;color:#789990;margin:12px 0}.dd-surface-chips{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.dd-surface-chips button{font:inherit;display:flex;align-items:center;gap:9px;min-height:43px;border:1px solid #b8ddd4;background:white;border-radius:11px;padding:6px 11px 6px 7px;cursor:pointer;color:#397c70}.dd-surface-chips b{display:grid;place-items:center;background:#e6f7f1;border-radius:7px;height:30px;width:30px;font-size:14px}.dd-surface-chips span{font-size:11px;font-weight:650}.dd-surface-memory{display:block;font-size:9px;color:#92afa6;line-height:1.6;margin-top:10px}.dd-surface-count{display:flex;align-items:center;gap:12px;padding:17px;border:1px solid #d3ece4;background:#f3fbf7;border-radius:13px;color:#538d7c}.dd-surface-count>strong{font-size:33px;font-weight:600;line-height:1}.dd-surface-count>span{font-size:12px;line-height:1.6}.dd-surface-count small{font-size:9px;color:#8da99f}.dd-basket li .dd-item-controls{display:grid;gap:3px;flex:0 0 28px}.dd-mini-surface{position:relative;width:245px;height:175px}.dd-mini-surface-arch{opacity:.6;filter:blur(.4px);transform:scale(1.03)}.dd-mini-surface-card{position:absolute;inset:0 30px 0 26px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;background:#ffffffec;border:1px solid #d6e4f7;border-radius:17px;padding:13px;box-shadow:0 15px 25px #31508a20;transform:rotate(-4deg)}.dd-mini-surface-card>span{font-size:8px;letter-spacing:.8px;font-weight:700;color:#839abc}.dd-mini-surface-card>strong{display:flex;gap:16px;align-items:center;color:var(--brand);font-size:11px}.dd-mini-surface-card small{font-size:8px;padding:4px 7px;border-radius:6px;background:#eaf8f1;color:#4a9a7d}.dd-mini-crown{width:75px;height:75px;position:relative;transform:rotate(-12deg) skewY(7deg);filter:drop-shadow(5px 10px 6px #31548224)}.dd-mini-crown i{position:absolute;inset:0 0 22px;background:linear-gradient(145deg,#a8d9ff,#3b7cf4);border:1px solid #e6f2ff;border-radius:26px 28px 18px 22px;z-index:3}.dd-mini-crown b{position:absolute;left:0;bottom:0;width:39px;height:47px;background:linear-gradient(90deg,#94beff,#3e79d5);border-radius:4px 6px 13px 18px}.dd-mini-crown em{position:absolute;right:0;bottom:0;width:39px;height:47px;background:linear-gradient(90deg,#fff9ee,#bbc8da);border-radius:6px 4px 18px 12px}.dd-mini-crown i:after{content:'';position:absolute;inset:14px;border-radius:14px;border:1px solid #b3dbff80;box-shadow:inset 2px 2px 5px #164b991a}
@media(min-width:1650px){.dd-options{grid-template-columns:repeat(4,minmax(0,1fr))}.dd-option-body p{min-height:95px}}
@media(max-width:650px){.dd-mode-switch{grid-template-columns:repeat(2,minmax(0,1fr))}.dd-options{grid-template-columns:1fr}.dd-option-body p{min-height:0}.dd-mode-switch a{font-size:12px;min-height:42px}.dd-surface-saved{padding:14px}.dd-surface-saved header{align-items:flex-start}.dd-surface-saved header>span{font-size:11px;line-height:1.6}.dd-surface-saved header>small{margin-top:3px}}

/* Functional authorization screens share the approved fourth 3D composition. */
.dental-module{display:grid;gap:22px}
.dental-module>.page-head{margin-bottom:0}
.dental-module .page-head-actions,.dental-module .actions{flex-wrap:wrap}
.dental-new-person{max-width:850px;width:100%}
.dental-state-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.dental-state-bar>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.dental-state-bar>div>span:last-child,.dental-form-note,.dental-model-note{font-size:12px;line-height:1.7;color:var(--muted)}
.dental-model-note{text-align:center;margin:0;padding:0 18px}
.dental-error{display:flex;align-items:center;gap:10px;padding:16px;background:var(--danger-soft,#fff1f1);border:1px solid #f6cccc;border-radius:14px;color:var(--danger,#b94242)}
.dental-error>span{flex:1}.dental-error .btn{flex:none}
.dental-filter{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}
.dental-filter>div:first-child{flex:1;min-width:min(100%,260px)}
.dental-filter>.field{min-width:200px}.dental-filter .field{margin:0}
.dental-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--muted);font-size:13px}
.dental-search-status{font-size:12px;color:var(--muted);padding:12px 4px}
.dental-waiting-periods{list-style:none;padding:0;margin:16px 0;display:grid;gap:12px}
.dental-waiting-periods li{display:grid;gap:5px;padding:12px 0;border-top:1px solid var(--line,#dce7f6);font-size:12px}
.dental-waiting-periods span,.dental-waiting-periods small{color:var(--muted)}
.dental-module [inert]{cursor:progress}
.dental-timeline{list-style:none;margin:0;padding:0;display:grid;gap:20px}
.dental-timeline>li{display:flex;align-items:flex-start;gap:12px}
.dental-timeline>li>span{color:var(--brand);background:var(--brand-soft,#edf4ff);display:grid;place-items:center;width:28px;height:28px;border-radius:9px;flex:none}
.dental-timeline strong{font-size:13px}.dental-timeline p{font-size:12px;line-height:1.6;margin:5px 0}.dental-timeline small{font-size:11px;color:var(--muted)}
.dental-review-issues{background:#fff8e8;border:1px solid #efd59d;border-radius:13px;padding:16px;color:#93651c;font-size:13px;line-height:1.7;margin-top:18px}
.dental-module .dd-selected-person .dd-person-initials{display:grid;margin-bottom:0}
.dental-module .dd-basket li{align-items:flex-start}.dental-module .dd-basket li>div:first-child{min-width:0;flex:1}
.dental-module .dd-item-controls .btn{width:30px;min-width:30px;min-height:30px;padding:5px}
.dental-module .dd-item-controls svg{width:16px;height:16px}
.dental-module .dd-summary dl dd,.dental-module .dd-selected-person strong,.dental-module .dd-selected-procedure strong,.dental-module .dd-basket li strong{overflow-wrap:anywhere}
.dental-module .dental-dirty-note{color:#8d621c;background:#fff7e5;padding:10px 13px;border-radius:9px}
.dental-module .dental-scope-note{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:13px}
.dental-validity-note{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:13px 16px;border:1px solid var(--line);border-radius:12px;background:var(--brand-soft,#edf4ff);color:var(--muted);font-size:12px}
.dd-basket li:has(.dental-item-realization){flex-direction:column;align-items:stretch}
.dental-item-realization{display:flex;align-items:flex-start;flex-direction:column;gap:8px;width:100%}
.dental-item-realization .btn{width:100%;white-space:normal;min-height:40px}
.dental-provider-section{margin-top:15px;padding-top:18px;border-top:1px solid var(--line)}
.dental-provider-section h3{margin-bottom:15px;font-size:14px}
.clinical-status-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:13px 0}
.clinical-detail h3{margin:22px 0 12px}.clinical-detail .summary{margin:16px 0}
.clinical-detail .beneficiary-record-notes{white-space:pre-wrap;overflow-wrap:anywhere}
.clinical-evidence{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.clinical-row-actions{display:flex;align-items:flex-start;flex-direction:column;gap:7px}
.clinical-row-actions .btn{min-height:35px;font-size:11px;padding:8px 10px}
.clinical-record-reason{padding:12px 14px;border-left:3px solid var(--brand);background:var(--brand-soft);border-radius:0 9px 9px 0;font-size:12px;line-height:1.6;white-space:pre-wrap}
.clinical-event-list{list-style:none;padding:0;margin:0;display:grid;gap:15px}
.clinical-event-list li{border-top:1px solid var(--line);padding-top:13px;font-size:12px}
.clinical-event-list p{margin:5px 0;white-space:pre-wrap}.clinical-event-list small{color:var(--muted)}
.clinical-confirm{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--brand-soft);font-size:12px;line-height:1.6}
.clinical-confirm input{margin:3px 0 0;width:17px;height:17px;flex:none;accent-color:var(--brand)}
#dental-performance-form .document-control{display:grid;gap:9px;padding:14px;border:1px solid var(--line);border-radius:12px}
html[data-theme="dark"] .dental-module{--dd-line:var(--line,#314059)}
html[data-theme="dark"] .dental-module .dd-card,html[data-theme="dark"] .dental-module .dd-results>button,html[data-theme="dark"] .dental-module .dd-surface-chips button,html[data-theme="dark"] .dental-module .dd-arch-options button{background:var(--surface,#172337)}
html[data-theme="dark"] .dental-module .dd-selected-person,html[data-theme="dark"] .dental-module .dd-selected-procedure,html[data-theme="dark"] .dental-module .dd-search-input,html[data-theme="dark"] .dental-module .dd-segment,html[data-theme="dark"] .dental-module .dd-surface-context{background:#1b2b43;border-color:#354a68}
html[data-theme="dark"] .dental-module .dd-segment button[aria-pressed=true]{background:#30496b;color:#e3ecfc}
html[data-theme="dark"] .dental-module .dd-surface-saved,html[data-theme="dark"] .dental-module .dd-surface-count{background:#17372f;border-color:#36584d}
html[data-theme="dark"] .dental-module .dd-surface-saved header,html[data-theme="dark"] .dental-module .dd-surface-count{color:#9ed7c4}
html[data-theme="dark"] .dental-module .dd-surface-chips b{background:#255043}
@media(max-width:650px){
 .dental-module{gap:16px}.dental-module .page-head .actions{justify-content:flex-start}
 .dental-module .page-head .btn{font-size:12px}.dental-state-bar{align-items:flex-start}
 .dental-error{align-items:flex-start;flex-wrap:wrap}.dental-error>span{min-width:180px}
 .dental-filter{display:grid;grid-template-columns:1fr}.dental-filter>.field{min-width:0}
 .dental-filter>.btn{justify-self:start}.dental-pagination{align-items:flex-start}
 .dental-module input,.dental-module select,.dental-module textarea{font-size:16px}
 .dental-module .dental-participants .form-grid{grid-template-columns:1fr}
 .dental-module .dental-participants .form-grid>*{min-width:0}
}

/* Isolated online demonstration: shared clinical UI with an explicit local scope. */
.dental-demo-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #e8bc62;border-radius:18px;background:linear-gradient(115deg,#fff5d8,#fffaf0 65%);padding:20px 24px;color:#795215;margin-bottom:18px}.dental-demo-banner>div{display:flex;align-items:flex-start;gap:12px}.dental-demo-banner strong{font-size:14px;line-height:1.5}.dental-demo-banner p{margin:5px 0 0;max-width:790px;font-size:12px;line-height:1.6}.dental-demo-banner svg{flex-shrink:0}.dental-demo-banner>.btn{flex-shrink:0}.dental-demo-nav,.dental-demo-people-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}.dental-demo-nav .btn{font-size:12px}.dental-demo-notice{padding:12px 16px;border:1px solid #e8bc62;border-radius:12px;background:#fff7df;color:#795215;font-size:13px;font-weight:650;line-height:1.5}.dental-demo-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.dental-demo-people .card{margin:0}.dental-demo-person-icon{display:inline-flex;padding:14px;border-radius:18px;background:var(--brand-soft,#eaf1ff);color:var(--brand,#246bfe);margin-bottom:12px}.dental-demo-people h2{font-size:20px;margin:0 0 8px}.dental-demo-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.dental-demo-counts article{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--border,#d4e1f7);border-radius:16px;background:var(--brand-soft,#eaf1ff)}.dental-demo-counts strong{font-size:26px;color:var(--brand,#246bfe)}.dental-demo-counts span{font-size:12px}.dental-demo .data-table .badge{margin:5px 4px 0 0}.dental-demo .data-table small{display:block;margin-top:5px}
@media(max-width:760px){.dental-demo-banner{align-items:flex-start;flex-direction:column;padding:18px}.dental-demo-people{grid-template-columns:1fr}.dental-demo-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.dental-demo-nav .btn{flex:1 1 auto}}
