/* CAD Control v4.15 — digital dental laboratory */
:root{--bg:#f2f4f0;--surface:#fffefa;--surface-2:#eaf0e9;--text:#203b35;--muted:#5c7068;--line:#d7e1d8;--accent:#256b58;--accent-2:#e2eee6;--on-accent:#fffefa;--viewer:#e9eeea}
body{background:var(--bg);letter-spacing:-.012em}
body::before{background:radial-gradient(ellipse at 90% 0,rgba(158,193,173,.13),transparent 55%),linear-gradient(180deg,#f7f8f3,#eef2ed)!important;filter:none!important}
button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}
button,.btn,.btn2,.abtn,.run,.drop .big{min-height:38px;transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s}
button:not(:disabled),summary,.ctdir{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.55}
button:focus-visible,a:focus-visible,summary:focus-visible,.drop:focus-within,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a58b42;outline-offset:3px}
@media(hover:hover){button:not(:disabled):hover,.btn:hover,.btn2:hover,.abtn:hover{border-color:var(--accent);box-shadow:0 3px 10px #1f493b12}button:not(:disabled):active,.drop:active .big{transform:translateY(1px)}}
.workspace .wrap{max-width:1280px;padding:24px 28px 48px}
.workspace header.top{isolation:isolate;border:1px solid var(--line)!important;border-radius:18px!important;padding:26px 140px 24px 26px!important;min-height:116px!important;background:var(--surface)!important;color:var(--text)!important;box-shadow:0 4px 18px #20453205!important;overflow:hidden!important;margin-bottom:20px}
.workspace header.top::before{content:"";position:absolute;width:104px;height:104px;right:22px;top:50%;transform:translateY(-50%);background:#183f35 url('dental-mark.svg') center/82px no-repeat!important;border-radius:24px;display:block!important;z-index:-1}
.workspace header.top p,html.embed .workspace header.top p{color:var(--muted)!important;font-size:14px!important;line-height:1.7;margin:0!important;max-width:72ch}
.workspace header.top h1{font-size:32px;letter-spacing:-.055em;color:var(--text);margin-bottom:10px}
.workspace .badge{background:var(--accent-2);color:var(--accent);border:1px solid var(--line);box-shadow:none}
.workspace .panel,.admin-page .panel{border-radius:18px;border-color:var(--line);box-shadow:0 4px 20px #203b3504;padding:22px}
.workspace .panel h2{display:flex;align-items:center;gap:8px;font-size:17px;letter-spacing:-.03em;padding-bottom:14px;border-bottom:1px solid var(--line);margin-bottom:18px}
.workspace .panel h2::before{content:"";width:5px;height:18px;border-radius:3px;background:var(--accent);flex:none}
.workspace .drop{position:relative;padding:34px 20px 28px;border:1.5px dashed #98b6a4;border-radius:13px;background:var(--surface-2)}
.workspace .drop::before{content:"";display:block;width:54px;height:54px;margin:0 auto 18px;background:#204f41 url('dental-mark.svg') center/46px no-repeat;border-radius:15px;box-shadow:0 6px 14px #204f4112}
.workspace .drop:hover,.workspace .drop.drag{background:var(--accent-2);border-color:var(--accent)}
.workspace .drop .big{background:var(--accent);color:var(--on-accent);border-radius:9px;padding:12px 22px;font-size:14px;font-weight:700;box-shadow:0 3px 5px #204f4110}
.workspace .drop .sub{line-height:1.6;font-size:12px;margin-top:12px}
.workspace .userbar{background:var(--surface);border-radius:12px;padding:12px 16px;margin-bottom:20px;font-size:13px}
.workspace .ubemail{font-weight:600}.workspace .ubbtns .btn2{background:transparent}
.workspace .viewer-wrap{border-radius:14px;background:var(--viewer)}
.workspace .bar2{gap:7px}.workspace .bar2 button{border-radius:8px}
.workspace .hint{line-height:1.75}.workspace .sheet-card{border:1px solid var(--line);border-radius:20px;padding:24px;max-height:90vh;overflow:auto}
.workspace .f input,.workspace .f select,.workspace textarea{border-radius:9px;background:var(--surface);border-color:var(--line)}
.workspace .authcard{max-width:520px;margin:32px auto}.workspace .authcard .amodes{margin-bottom:22px}.workspace .authcard label.f{margin-bottom:14px}
.workspace .footbar{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:6px 12px}
.shell>.bar{padding:16px 26px;gap:26px;background:#183f35;color:#f4f6ed;border-bottom:1px solid #315b4d}
.shell .logo{position:relative;padding-left:53px;font-size:21px;letter-spacing:-.045em;line-height:1.25}
.shell .logo::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:43px;height:48px;background:url('dental-mark.svg') center/contain no-repeat}
.shell .logo small{color:#b5cdbf;font-size:10px;letter-spacing:.015em;margin-top:4px}
.shell .tabs{gap:6px}.shell .tabs a{border-color:transparent;background:transparent;color:#c8d9ce;border-radius:9px;padding:11px 15px;font-size:13px}
.shell .tabs a[aria-current=page]{background:#e8f0e5;color:#214f3f}.shell .tabs a:hover{background:#315b4d;color:#fffefa}
.shell .right{gap:12px}.shell .lang{border-color:#527264;border-radius:8px}.shell .lang button{background:transparent;color:#c8d9ce;min-height:36px}.shell .lang button[aria-pressed=true]{background:#315b4d;color:#fffefa}
.shell .contact,.shell .contact b,.shell .ad{color:#c8d9ce}.shell .contact b i{color:#9fd1b5}.shell .ad{border-color:#527264}
.shell .stb{background:#254c3e;color:#edf4e8;border-color:#527264;min-height:36px}.shell .stp{color:var(--text);font-weight:400}
.shell .foot{padding:8px 26px;background:var(--surface);font-size:10px;border-color:var(--line)}
.admin-page .wrap{max-width:1280px}.admin-page h1{letter-spacing:-.04em}.admin-page .btn{min-height:38px;border-radius:9px}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#14241f;--surface:#1b2e27;--surface-2:#223a30;--text:#e4ede2;--muted:#adc0b1;--line:#395345;--accent:#9dceb0;--accent-2:#294b39;--on-accent:#163522;--viewer:#162a22}body::before{background:linear-gradient(160deg,#15271f,#12221d)!important}.workspace .drop{border-color:#587d63}.workspace .drop::before{background-color:#294d3c}}
:root[data-theme=dark]{--bg:#14241f;--surface:#1b2e27;--surface-2:#223a30;--text:#e4ede2;--muted:#adc0b1;--line:#395345;--accent:#9dceb0;--accent-2:#294b39;--on-accent:#163522;--viewer:#162a22}
@media(max-width:1100px){.shell .contact,.shell .ad{display:none}.shell>.bar{gap:16px;padding:14px 20px}.shell .mc{display:none!important}}
@media(max-width:700px){.workspace .wrap{padding:16px 12px 28px}.workspace header.top{padding:18px 80px 18px 18px!important;min-height:100px!important;border-radius:13px!important;margin-bottom:14px}.workspace header.top::before{width:48px;height:58px;right:16px;background-size:46px!important;border-radius:12px}.workspace header.top p,html.embed .workspace header.top p{font-size:12px!important;line-height:1.65}.workspace .panel{padding:16px;border-radius:14px}.workspace .panel h2{font-size:16px}.workspace .drop{padding:24px 12px}.workspace .drop .big{max-width:100%;font-size:13px;padding:12px 14px}.workspace .userbar{padding:12px;gap:8px}.workspace .ubbtns{margin-left:0;width:100%}.workspace .ubbtns button{flex:1 1 auto}.workspace .sheet-card{padding:18px}.workspace .footbar{position:static;margin:12px}.shell>.bar{padding:12px;gap:12px 8px}.shell .logo{font-size:18px;padding-left:41px}.shell .logo::before{width:33px;height:40px}.shell .logo small{font-size:9px}.shell .right{gap:6px}.shell .tabs{flex:1 1 100%}.shell .tabs a{flex:1;justify-content:center;padding:10px 8px}.shell .foot{padding:6px 12px}.shell .foot nav a{min-height:36px;display:inline-flex;align-items:center}.shell .lang button{padding:6px 8px}.shell .stb{padding:6px 8px}}
@media(pointer:coarse){button,.btn,.btn2,.abtn,.ctdir,summary{min-height:44px}input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:16px!important}.shell .lang button{min-height:36px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep native file pickers reachable from the keyboard. */
.workspace .drop input[type=file]{display:block;position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;inset:0}
.workspace header.top .promo{position:static;max-width:none;margin-top:18px;color:var(--muted)}
.workspace header.top .promo a{color:var(--accent)}
/* v4.15 — precision workspace, graphite / orange */
:root,:root[data-theme=light]{--bg:#f1f3f6;--surface:#fff;--surface-2:#eaeef3;--text:#222d3c;--muted:#606e7f;--line:#d7dee7;--accent:#b95012;--accent-2:#fff0e3;--on-accent:#fff;--viewer:#e7ebf0}
body::before{background:linear-gradient(155deg,#f6f7f9,#e9edf2)!important}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline-color:#ed8a3a}
.workspace header.top{border-radius:12px!important;border-top:3px solid #e97e2e!important;box-shadow:0 12px 32px #18253808!important}.workspace header.top::before{background-color:#252e3b!important;border-radius:15px}.workspace header.top h1{letter-spacing:-.04em}
.workspace .panel,.admin-page .panel{border-radius:12px;box-shadow:0 8px 26px #23324806}.workspace .drop{background:var(--surface-2);border-color:#a4afbd;border-radius:10px}.workspace .drop::before{background-color:#283240;box-shadow:none}.workspace .drop .big{border-radius:6px}.workspace .panel h2::before{background:#e98136}.workspace .userbar{border-radius:8px}
.shell>.bar{background:#202733;border-color:#3a414d;padding:16px 30px;gap:24px}.shell .logo{letter-spacing:-.04em}.brand-home{text-decoration:none}.shell .logo small{color:#b5bdc9}.shell .tabs a{color:#cbd1db;border-radius:6px}.shell .tabs a[aria-current=page]{background:#f49347;color:#202733}.shell .tabs a:hover{background:#3b4452;color:#fff}.shell .lang{border-color:#536072;border-radius:6px}.shell .lang button{color:#d7dde6}.shell .lang button[aria-pressed=true]{background:#444c59;color:#fff}.shell .stb{background:#303947;border-color:#536072;color:#e9edf2}.shell .contact,.shell .contact b{color:#d3d9e1}.shell .contact b i{color:#f49347}
.shell.home-view{height:auto;min-height:100%;background:#202733}.home-view .stage{flex:none}.landing{background:#202733;color:#f2f4f8;overflow:hidden}.hero-grid{max-width:1400px;margin:auto;display:grid;grid-template-columns:1.12fr 1fr;align-items:center;gap:45px;padding:74px 54px 60px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.17em;color:#b4bfcd;display:flex;align-items:center;gap:9px}.eyebrow i,.scene-live i{height:6px;width:6px;background:#f49347;border-radius:50%;display:inline-block}.hero-kicker{font-size:15px;color:#f49347;font-weight:600;margin:37px 0 16px}.hero-copy h1{font-size:clamp(36px,4.1vw,62px);line-height:1.1;letter-spacing:-.055em;margin:0 0 25px;font-weight:800}.hero-copy h1 em{font-style:normal;color:#f49347}.hero-desc{font-size:16px;line-height:1.85;color:#bac4d1;max-width:500px;margin-bottom:30px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px}.cta-primary,.cta-secondary{min-height:50px;padding:15px 21px;text-decoration:none;display:inline-flex;align-items:center;justify-content:space-between;gap:30px;border-radius:5px;font-size:13px;font-weight:800;transition:transform .2s,background .2s}.cta-primary{background:#f49347;color:#202733}.cta-primary:hover{background:#ffad6b;transform:translateY(-2px)}.cta-primary b{font-size:22px;line-height:1}.cta-secondary{color:#e2e7ee;border:1px solid #657182}.cta-secondary:hover{background:#35404f}.privacy-note{font-size:11px;color:#aab6c6;margin-top:20px;line-height:1.7}.privacy-note>span{color:#f49347;margin-right:7px}
.scan-scene{min-width:0;border:1px solid #505a68;border-radius:12px;background:radial-gradient(ellipse at 45% 45%,#435162,#283240 65%);position:relative;box-shadow:0 25px 65px #11172266;transform:rotate(-2deg);animation:scene-enter .8s ease-out both}.scene-top,.scene-bottom{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;font-size:9px;letter-spacing:.12em;color:#bac5d4}.scene-top{border-bottom:1px solid #4c5868}.scene-live{display:flex;align-items:center;gap:7px}.tooth-scan{display:block;width:100%;height:auto;margin:-20px 0 -26px}.scan-caption{display:flex;justify-content:space-between;gap:12px;padding:15px 20px;font-size:10px;color:#d6dde6}.scan-caption b{font-size:9px;letter-spacing:.03em;color:#f49347}.scene-bottom{border-top:1px solid #4c5868;font-size:8px}.value-strip{border-top:1px solid #454d59;border-bottom:1px solid #454d59;display:flex;justify-content:space-between;gap:20px;max-width:1292px;margin:auto;padding:24px 0;color:#c5cfdb;font-size:12px}.value-strip span{display:flex;align-items:center;gap:12px}.value-strip span::before{content:'+';color:#f49347;font-size:17px}
.workflow{background:#f1f3f6;color:#222d3c;padding:75px max(30px,calc((100vw - 1292px)/2));display:grid;grid-template-columns:.9fr 1.1fr;gap:80px}.section-intro .eyebrow{color:#a34e19}.section-intro h2,.closing h2{font-size:clamp(28px,3vw,43px);line-height:1.16;letter-spacing:-.045em;margin:20px 0}.section-intro p{max-width:320px;color:#606e7f;font-size:14px;line-height:1.8}.workflow-steps>a,.workflow-result{display:flex;align-items:flex-start;gap:20px;padding:25px 0;border-bottom:1px solid #cdd5df;text-decoration:none}.workflow-steps>a:first-child{padding-top:0}.workflow-steps>a:hover h3{color:#b95012}.step-number{font-size:12px;color:#ab501a;padding-top:3px;font-weight:800}.workflow-steps h3{margin:0 0 8px;font-size:17px;letter-spacing:-.025em}.workflow-steps p{font-size:13px;line-height:1.8;color:#606e7f;margin:0}.workflow-steps>a>span:last-child{margin-left:auto;color:#a9501a;font-size:24px}.closing{padding:54px max(30px,calc((100vw - 1292px)/2));display:flex;align-items:center;justify-content:space-between;gap:30px;background:#293341}.closing h2{margin-bottom:0}.shell.home-view .foot{background:#202733;color:#bdc7d4;border-color:#454d59}.shell .foot{line-height:1.6}
@keyframes scene-enter{from{opacity:0;transform:translateY(18px) rotate(0)}to{opacity:1;transform:translateY(0) rotate(-2deg)}}
:root[data-theme=dark]{--bg:#202733;--surface:#2a3442;--surface-2:#303c4c;--text:#e5eaf1;--muted:#b2bfce;--line:#4c5b6c;--accent:#f49347;--accent-2:#4b392d;--on-accent:#202733;--viewer:#242e3b}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#202733;--surface:#2a3442;--surface-2:#303c4c;--text:#e5eaf1;--muted:#b2bfce;--line:#4c5b6c;--accent:#f49347;--accent-2:#4b392d;--on-accent:#202733;--viewer:#242e3b}body::before{background:linear-gradient(150deg,#222d3b,#202733)!important}.workspace .drop{border-color:#728198}.workspace .drop::before{background-color:#202733}}
@media(max-width:1100px){.shell>.bar{padding:14px 20px;gap:16px}.hero-grid{padding:52px 30px;gap:25px}.value-strip{margin:0 30px}.workflow{gap:40px}}
@media(max-width:800px){.hero-grid{grid-template-columns:1fr;gap:38px;padding:40px 24px}.hero-copy h1{font-size:46px}.hero-desc{max-width:570px}.scan-scene{max-width:490px;width:100%;justify-self:center}.value-strip{flex-wrap:wrap;margin:0 24px;gap:12px 24px;padding:22px 0}.workflow{grid-template-columns:1fr;padding:42px 24px;gap:25px}.section-intro p{max-width:100%}.closing{padding:38px 24px}.shell>.bar{flex-wrap:wrap}.shell .tabs{order:3;flex-basis:100%}.shell .right{margin-left:auto}.shell .logo{font-size:18px}.shell .lang button{padding:6px 8px}}
@media(max-width:480px){.shell>.bar{padding:12px;gap:12px 5px}.shell .logo{font-size:17px;padding-left:35px}.shell .logo::before{width:29px}.shell .logo small{font-size:8px}.shell .right{gap:5px}.shell .stb{padding:6px}.shell .lang button{padding:6px 7px}.hero-grid{padding:32px 20px 35px}.hero-copy h1{font-size:37px}.hero-kicker{margin-top:26px;font-size:13px}.hero-desc{font-size:14px}.hero-actions{display:grid;grid-template-columns:1fr}.cta-primary,.cta-secondary{min-height:48px}.cta-secondary{justify-content:center}.privacy-note{font-size:10px}.scene-top,.scene-bottom,.scan-caption{padding:13px}.scan-caption{font-size:9px}.scan-caption b{font-size:8px}.value-strip{margin:0 20px;font-size:11px}.workflow{padding:35px 20px}.workflow-steps>a,.workflow-result{gap:14px}.closing{padding:35px 20px;align-items:stretch;flex-direction:column}.closing .cta-primary{align-self:flex-start}.shell .foot{padding:8px 12px}}
/* v4.16 — reserved media space and quick navigation */
.cc-layout{width:100%;min-width:0}.cc-layout>.wrap{width:100%;min-width:0;margin:0 auto;padding-bottom:100px}.cc-ad{min-width:0;padding:24px;border:1px dashed #8c99a9;border-radius:12px;background:var(--surface,#fff);color:var(--text,#222d3c);margin:0 20px 100px}.cc-ad small{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.cc-ad-art{height:110px;display:grid;place-items:center;font-size:34px;color:#8c99a9;margin:18px 0;border-radius:8px;background:var(--surface-2,#eaeef3)}.cc-ad h2{font-size:20px;line-height:1.35;letter-spacing:-.03em;margin:0 0 10px}.cc-ad p{font-size:12px;color:var(--muted);line-height:1.6}.cc-ad a{display:inline-flex;align-items:center;min-height:40px;font-size:12px;font-weight:700;color:var(--accent,#b95012);text-underline-offset:4px}.landing>.cc-ad{max-width:1184px;margin:32px auto;display:grid;grid-template-columns:160px 1fr auto;gap:8px 28px;align-items:center;background:#2a3442;color:#e5eaf1;border-color:#657182;--muted:#b2bfce;--accent:#f49347}.landing>.cc-ad .cc-ad-art{grid-column:1;grid-row:1/5;margin:0;background:#303c4c}.landing>.cc-ad small,.landing>.cc-ad h2,.landing>.cc-ad p{grid-column:2;margin:0}.landing>.cc-ad a{grid-column:3;grid-row:1/4}.cc-quick{position:fixed;bottom:calc(18px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);z-index:40;display:flex;gap:4px;padding:5px;background:var(--surface,#fff);border:1px solid var(--line,#657182);border-radius:12px;box-shadow:0 8px 30px #14203326;max-width:calc(100vw - 24px)}.cc-quick button{border:0;border-radius:7px;background:transparent;color:var(--text,#222d3c);font:inherit;font-size:12px;font-weight:700;cursor:pointer;min-height:40px;padding:8px 12px;display:flex;gap:8px;align-items:center;justify-content:center;white-space:nowrap}.cc-quick button:hover{background:var(--surface-2,#eaeef3)}.cc-quick button>span:first-child{font-size:19px;color:var(--accent,#b95012)}.cc-quick [hidden]{display:none!important}.shell.home-view{padding-bottom:85px}.cc-quick button:focus-visible{outline:2px solid #ed8a3a;outline-offset:1px}
@media(min-width:1200px){.cc-layout{max-width:1580px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:0;padding-right:24px;align-items:start}.cc-layout>.cc-ad{position:sticky;top:20px;margin:20px 0 100px;padding:22px}.cc-layout>.cc-ad .cc-ad-art{height:200px}}
@media(max-width:1250px){.landing>.cc-ad{margin:28px 24px}}
@media(max-width:600px){.landing>.cc-ad{display:block;margin:24px 20px;padding:20px}.landing>.cc-ad .cc-ad-art{height:90px;margin:16px 0}.landing>.cc-ad h2{margin:12px 0}.landing>.cc-ad a{margin-top:10px}.cc-quick{bottom:calc(8px + env(safe-area-inset-bottom,0px));gap:0;padding:4px;width:max-content}.cc-quick button{flex-direction:column;gap:1px;font-size:10px;padding:5px 9px;min-height:46px}.cc-ad{margin-bottom:95px}}
