:root {
    --ink: #101828;
    --ink-soft: #344054;
    --muted: #667085;
    --line: #d9e2ef;
    --surface: #ffffff;
    --surface-soft: #f5f8fc;
    --blue: #1769ff;
    --blue-dark: #0c4dcc;
    --cyan: #0da6c9;
    --green: #119b70;
    --orange: #ec8a19;
    --red: #e34d59;
    --shadow: 0 20px 55px rgba(16, 24, 40, .10);
    --font: "Montserrat", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; letter-spacing: 0; }
a { color: inherit; }
img { display: block; 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;
}
.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    background: #fff;
    border: 2px solid var(--blue);
    border-radius: 4px;
    color: var(--ink);
    font-weight: 800;
    transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.section-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 104px 0; }

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    height: 72px;
    color: #fff;
    background: rgba(17, 24, 39, .96);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(16px);
    transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.site-header.is-scrolled { background: rgba(17, 24, 39, .985); border-bottom-color: rgba(255, 255, 255, .13); box-shadow: 0 12px 28px rgba(15, 23, 42, .2); }
.nav-shell {
    width: min(1240px, calc(100% - 40px));
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    font-size: 19px;
    font-weight: 900;
}
.brand img { width: 40px; height: 40px; border-radius: 8px; }
.site-nav { display: flex; justify-content: center; align-items: center; gap: 25px; }
.site-nav a {
    position: relative;
    color: #d5dae3;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
}
.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 2px;
    background: #44c59a;
    transition: right .2s ease;
}
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.landing-mobile-actions { display: none; }
.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    color: #fff;
    background: transparent;
    border: 1px solid #485469;
    border-radius: 6px;
    cursor: pointer;
}

.button {
    min-height: 42px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:focus-visible, button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid rgba(23, 105, 255, .34); outline-offset: 3px; }
.button-primary { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 10px 22px rgba(23, 105, 255, .25); }
.button-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.button-quiet { color: #e6eaf0; background: transparent; border-color: #485469; }
.button-quiet:hover { color: #fff; background: #293244; }
.button-light { color: var(--ink); background: #fff; border-color: #fff; box-shadow: 0 12px 28px rgba(16, 24, 40, .13); }
.button-light:hover { border-color: #cbd5e1; }
.button-outline { color: var(--blue-dark); background: #fff; border-color: #9fc2ff; }
.button-outline:hover { background: #f1f6ff; border-color: var(--blue); }
.button-large { min-height: 50px; padding: 13px 21px; font-size: 14px; }

.hero {
    position: relative;
    min-height: min(720px, calc(100svh - 120px));
    overflow: hidden;
    isolation: isolate;
    background-color: #f4f8fc;
    background-image: var(--hero-image);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.hero-shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(255, 255, 255, .30);
}
.hero-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: inherit;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 44px;
}
.hero-copy { width: min(670px, 58%); padding: 54px 0 62px; }
.eyebrow, .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.eyebrow {
    padding: 8px 11px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(151, 187, 245, .82);
    border-radius: 6px;
}
.hero h1 {
    margin: 17px 0 4px;
    max-width: 680px;
    font-size: clamp(42px, 4.45vw, 65px);
    line-height: 1.02;
    font-weight: 900;
}
.hero-title { margin: 0 0 18px; color: #163765; font-size: clamp(23px, 2.7vw, 37px); line-height: 1.16; font-weight: 800; }
.hero-lead { max-width: 600px; margin: 0; color: #344054; font-size: 18px; line-height: 1.62; font-weight: 620; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 29px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 20px; margin: 24px 0 0; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 7px; color: #344054; font-size: 12px; font-weight: 800; }
.hero-points i { color: var(--green); }
.hero-visual-card {
    width: min(350px, 35%);
    margin: 150px 14px 36px 0;
    padding: 20px;
    color: #eef6ff;
    background: linear-gradient(160deg, rgba(13, 31, 58, .96), rgba(12, 58, 105, .93));
    border: 1px solid rgba(157, 210, 255, .36);
    border-radius: 14px;
    box-shadow: 0 24px 54px rgba(12, 31, 58, .28);
    backdrop-filter: blur(12px);
}
.hero-visual-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid rgba(210, 231, 255, .18); font-size: 12px; font-weight: 850; }
.hero-visual-top > span:first-child { display: flex; align-items: center; gap: 7px; }.hero-visual-top > span:first-child i { color: #59c8ff; }
.hero-live { color: #8ff1ce; font-size: 9px; font-weight: 800; }.hero-live i { margin-right: 4px; font-size: 6px; }
.hero-visual-heading { padding: 22px 0 14px; }.hero-visual-heading span, .hero-visual-heading strong { display: block; }.hero-visual-heading span { color: #9bb6d7; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }.hero-visual-heading strong { margin-top: 4px; color: #fff; font-size: 20px; line-height: 1.2; }
.hero-visual-list { display: grid; gap: 8px; }.hero-visual-list > a { min-height: 48px; padding: 8px 10px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; color: inherit; text-decoration: none; background: rgba(255, 255, 255, .08); border: 1px solid rgba(192, 222, 255, .12); border-radius: 8px; transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }.hero-visual-list > a:hover, .hero-visual-list > a:focus-visible { background: rgba(255, 255, 255, .15); border-color: rgba(143, 241, 206, .55); box-shadow: 0 8px 18px rgba(4, 22, 51, .2); transform: translateY(-1px); }.hero-visual-list > a:focus-visible { outline: 3px solid rgba(143, 241, 206, .75); outline-offset: 3px; }.hero-visual-list > a > i { width: 27px; height: 27px; display: grid; place-items: center; color: #8bdcff; background: rgba(71, 165, 255, .16); border-radius: 7px; font-size: 12px; }.hero-visual-list span, .hero-visual-list strong, .hero-visual-list small { display: block; }.hero-visual-list strong { color: #fff; font-size: 11px; }.hero-visual-list small { margin-top: 1px; color: #9bb6d7; font-size: 9px; }.hero-visual-list b { color: #71e0bb; font-size: 10px; }
.hero-visual-card > a { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; color: #fff; text-decoration: none; font-size: 11px; font-weight: 850; }.hero-visual-card > a i { color: #72e1bd; transition: transform .2s ease; }.hero-visual-card > a:hover i { transform: translateX(4px); }

.proof-strip { position: relative; z-index: 3; background: #fff; border-bottom: 1px solid var(--line); }
.proof-grid { min-height: 112px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.proof-grid > div { min-height: 62px; padding: 9px 22px; display: flex; align-items: center; gap: 13px; border-right: 1px solid var(--line); }
.proof-grid > div:first-child { padding-left: 0; }
.proof-grid > div:last-child { padding-right: 0; border-right: 0; }
.proof-grid > div > i { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; color: var(--blue); background: #edf4ff; border-radius: 6px; }
.proof-grid span { display: block; color: var(--muted); font-size: 11px; line-height: 1.45; font-weight: 650; }
.proof-grid strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 13px; font-weight: 850; }

.benefits-section { background: #fff; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit-card { position: relative; min-height: 300px; padding: 28px 26px 25px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(21, 48, 85, .06); }
.benefit-card::after { content: ""; position: absolute; width: 120px; height: 120px; right: -48px; bottom: -50px; border-radius: 50%; background: currentColor; opacity: .055; }
.benefit-index { position: absolute; top: 25px; right: 25px; color: #9baabd; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.benefit-icon { width: 46px; height: 46px; margin-bottom: 24px; display: grid; place-items: center; background: #eef5ff; border-radius: 10px; color: var(--blue); font-size: 18px; }.benefit-green .benefit-icon { color: var(--green); background: #e8f8f1; }.benefit-orange .benefit-icon { color: var(--orange); background: #fff2e3; }
.benefit-card h3 { margin: 0 38px 9px 0; font-size: 19px; line-height: 1.22; }.benefit-card p { min-height: 84px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }.benefit-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: 21px; color: var(--blue-dark); text-decoration: none; font-size: 11px; font-weight: 850; }.benefit-card a i { transition: transform .2s ease; }.benefit-card a:hover i { transform: translateX(4px); }
.benefit-blue { color: var(--blue); }.benefit-green { color: var(--green); }.benefit-orange { color: var(--orange); }

.section-heading { max-width: 690px; margin-bottom: 38px; }
.section-heading.centered { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading h2, .security-copy h2, .final-cta h2 {
    margin: 9px 0 12px;
    font-size: clamp(32px, 4.2vw, 52px);
    line-height: 1.12;
    font-weight: 900;
}
.section-heading p, .security-copy p, .final-cta p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; font-weight: 560; }

.product-section { background: #f5f8fc; }
.real-product-showcase { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #c9d7e8; border-radius: 8px; box-shadow: 0 28px 64px rgba(18, 38, 69, .14); }
.real-product-toolbar { min-width: 0; padding: 14px 16px; display: flex; align-items: center; gap: 18px; background: #fff; border-bottom: 1px solid #dce5ef; }
.real-product-toolbar-title { flex: 0 0 205px; display: flex; align-items: center; gap: 10px; }
.real-product-toolbar-title img { width: 38px; height: 38px; padding: 8px; background: #edf5ff; border: 1px solid #c9ddff; border-radius: 7px; }
.real-product-toolbar-title span, .real-product-toolbar-title small, .real-product-toolbar-title strong { display: block; }
.real-product-toolbar-title small { color: #7a889d; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.real-product-toolbar-title strong { margin-top: 1px; color: var(--ink); font-size: 13px; }
.real-product-tabs { min-width: 0; flex: 1 1 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.real-product-tabs button { min-width: 0; min-height: 56px; padding: 8px 11px; display: flex; align-items: center; gap: 10px; color: #415169; background: #f8fafc; border: 1px solid #dce5ef; border-radius: 7px; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 2px 5px rgba(18, 38, 69, .03); transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.real-product-tabs button:hover { color: #143e82; background: #f2f7ff; border-color: #b8d0f4; box-shadow: 0 7px 16px rgba(27, 83, 167, .09); transform: translateY(-1px); }
.real-product-tabs button.is-active { color: #0d4dc2; background: #eef5ff; border-color: #73a7ff; box-shadow: 0 8px 20px rgba(23, 105, 255, .13), inset 0 -2px 0 #1769ff; }
.real-product-tabs button:focus-visible { outline: 3px solid rgba(89, 160, 255, .38); outline-offset: 2px; }
.product-tab-icon { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; color: #527093; background: #fff; border: 1px solid #d9e4f1; border-radius: 6px; }
.real-product-tabs button.is-active .product-tab-icon { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 6px 13px rgba(23, 105, 255, .24); }
.product-tab-copy, .product-tab-copy strong, .product-tab-copy small { min-width: 0; display: block; }
.product-tab-copy strong { overflow: hidden; color: inherit; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.product-tab-copy small { margin-top: 2px; overflow: hidden; color: #7b899d; font-size: 8px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.real-product-tabs button.is-active .product-tab-copy small { color: #5274a8; }
.real-product-frame { width: 100%; max-width: 100%; min-width: 0; padding: 20px 20px 16px; overflow: hidden; background: #edf2f8; }
.real-product-panel { margin: 0; background: transparent; }
.real-product-panel[hidden] { display: none; }
.real-product-panel img { width: 100%; height: auto; aspect-ratio: 3 / 2; display: block; object-fit: cover; object-position: top center; background: #f4f7fb; border: 1px solid #c9d5e4; border-radius: 7px; box-shadow: 0 18px 38px rgba(18, 38, 69, .12); }
.real-product-panel img.product-image-tall { aspect-ratio: auto; object-fit: contain; }
.real-product-panel figcaption { min-height: 58px; padding: 14px 3px 2px; display: flex; justify-content: space-between; align-items: center; gap: 22px; color: #5e6e83; font-size: 11px; font-weight: 650; }
.real-product-panel figcaption strong { color: var(--ink); font-size: 13px; }
.real-product-panel figcaption span { text-align: right; }
.product-window { overflow: hidden; background: #fff; border: 1px solid #cad7e7; border-radius: 8px; box-shadow: var(--shadow); }
.window-topbar { min-height: 62px; padding: 9px 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; background: #111827; color: #fff; }
.window-brand { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.window-brand img { width: 30px; height: 30px; border-radius: 6px; }
.window-tabs { display: flex; gap: 5px; }
.window-tabs button { min-height: 34px; padding: 7px 12px; color: #cbd5e1; background: transparent; border: 1px solid transparent; border-radius: 5px; font-size: 11px; font-weight: 800; cursor: pointer; }
.window-tabs button:hover { color: #fff; background: #253047; }
.window-tabs button.is-active { color: #fff; background: #263650; border-color: #425675; }
.window-user { justify-self: end; color: #cbd5e1; font-size: 10px; font-weight: 750; }
.demo-panel { min-height: 530px; display: grid; grid-template-columns: 182px minmax(0, 1fr); }
.demo-panel[hidden] { display: none; }
.demo-sidebar { padding: 22px 12px; display: grid; align-content: start; gap: 5px; background: #f8fafc; border-right: 1px solid #dce4ef; }
.demo-sidebar span { min-height: 38px; padding: 9px 10px; display: flex; align-items: center; gap: 10px; color: #607089; border-radius: 5px; font-size: 10px; font-weight: 750; }
.demo-sidebar span i { width: 16px; color: #8190a5; text-align: center; }
.demo-sidebar span.active { color: #145dcc; background: #e9f1ff; }
.demo-sidebar span.active i { color: var(--blue); }
.demo-workspace { min-width: 0; padding: 28px 30px; background: #fff; }
.demo-page-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.demo-page-title span, .patient-head small { color: #7a899d; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.demo-page-title h3, .patient-head h3 { margin: 2px 0 0; font-size: 21px; line-height: 1.2; }
.demo-page-title button { min-height: 36px; padding: 8px 12px; color: #fff; background: var(--blue); border: 0; border-radius: 5px; font-size: 10px; font-weight: 800; }
.demo-stats { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.demo-stats > div { min-width: 0; padding: 15px; position: relative; border: 1px solid #dce5f0; border-radius: 6px; background: #fff; }
.demo-stats i { position: absolute; top: 13px; right: 13px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 5px; background: #f1f5f9; }
.blue { color: var(--blue) !important; }.green { color: var(--green) !important; }.orange { color: var(--orange) !important; }.cyan { color: var(--cyan) !important; }.red { color: var(--red) !important; }
.demo-stats strong { display: block; font-size: 22px; line-height: 1.15; }
.demo-stats span { display: block; margin-top: 5px; color: #718096; font-size: 9px; font-weight: 750; }
.demo-columns { margin-top: 13px; display: grid; grid-template-columns: 1.55fr .85fr; gap: 12px; }
.demo-list { overflow: hidden; border: 1px solid #dce5f0; border-radius: 6px; }
.demo-card-head { min-height: 45px; padding: 11px 14px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e5eaf1; }
.demo-card-head strong { font-size: 11px; }.demo-card-head span { color: var(--blue); font-size: 9px; font-weight: 800; }
.appointment { min-height: 66px; padding: 10px 13px; display: grid; grid-template-columns: 43px 28px 1fr auto; align-items: center; gap: 9px; border-bottom: 1px solid #edf0f5; }
.appointment:last-child { border-bottom: 0; }
.appointment time { color: #4b5d75; font-size: 9px; font-weight: 850; }
.avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: 8px; font-weight: 850; }
.av-blue { color: #145dcc; background: #e7f0ff; }.av-green { color: #087a56; background: #e3f8ef; }.av-orange { color: #ad5d09; background: #fff0da; }
.appointment p { min-width: 0; margin: 0; }.appointment p strong, .appointment p small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.appointment p strong { font-size: 10px; }.appointment p small { margin-top: 3px; color: #7d899b; font-size: 8px; font-weight: 600; }
.appointment em { padding: 4px 6px; color: #087a56; background: #e6f8f0; border-radius: 4px; font-size: 7px; font-style: normal; font-weight: 850; }
.appointment em.waiting { color: #a65a0c; background: #fff2df; }
.pending-list > p { min-height: 66px; margin: 0; padding: 12px 13px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #edf0f5; }
.pending-list > p:last-child { border: 0; }.pending-list > p > i { width: 22px; text-align: center; }
.pending-list span, .pending-list strong, .pending-list small { display: block; }.pending-list strong { font-size: 9px; }.pending-list small { margin-top: 3px; color: #7d899b; font-size: 8px; font-weight: 600; }

.clinical-demo { overflow: hidden; background: #fff; border: 1px solid #c7d8ed; border-radius: 8px; box-shadow: 0 14px 30px rgba(18, 38, 69, .11); }
.clinical-demo-head { min-height: 64px; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid #dbe5f0; }
.clinical-demo-head > div, .clinical-demo-kicker, .clinical-demo-head strong { display: block; }
.clinical-demo-kicker { color: #0b75b4; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.clinical-demo-head strong { margin-top: 3px; color: var(--ink); font-size: 16px; }
.clinical-demo-reset { min-height: 32px; padding: 7px 10px; color: #4b6079; background: #fff; border: 1px solid #b9cbe0; border-radius: 5px; font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
.clinical-demo-reset:hover { color: #0d5ac8; border-color: #7aa9e8; background: #f3f8ff; }
.clinical-demo-reset:focus-visible, .clinical-demo-mode button:focus-visible, .clinical-state-list button:focus-visible, .clinical-surface:focus-visible, .periodontal-input:focus-visible, .periodontal-bleeding:focus-visible { outline: 3px solid rgba(23, 105, 255, .25); outline-offset: 2px; }
.clinical-demo-toolbar { min-height: 52px; padding: 9px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #f7faff; border-bottom: 1px solid #dce6f1; }
.clinical-demo-mode { display: flex; gap: 5px; }
.clinical-demo-mode button { min-height: 32px; padding: 7px 12px; color: #61728a; background: transparent; border: 1px solid transparent; border-radius: 5px; font: inherit; font-size: 10px; font-weight: 850; cursor: pointer; }
.clinical-demo-mode button:hover { color: #0d5ac8; background: #edf5ff; }
.clinical-demo-mode button.is-active { color: #0d5ac8; background: #e3efff; border-color: #a7c9f6; box-shadow: inset 0 -2px 0 #1769ff; }
.clinical-demo-status { color: #708198; font-size: 9px; font-weight: 750; text-align: right; }
.clinical-demo-status i { margin-right: 4px; color: #3aa7d1; }
.clinical-demo-scroll { max-height: 646px; overflow: auto; scrollbar-color: #aac3e0 #eef4fa; scrollbar-width: thin; }
.clinical-demo-view { padding: 18px 16px 20px; background: #f7faff; }
.clinical-demo-view[hidden] { display: none; }
.clinical-demo-intro { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.clinical-demo-intro strong, .clinical-demo-intro span { display: block; }
.clinical-demo-intro strong { color: var(--ink); font-size: 13px; }.clinical-demo-intro span { margin-top: 3px; color: #708198; font-size: 9px; font-weight: 650; }
.clinical-demo-count { flex: 0 0 auto; padding: 6px 8px; color: #146b52 !important; background: #e5f8ef; border-radius: 4px; font-size: 8px !important; font-weight: 850 !important; }
.clinical-state-list { margin: 14px 0 9px; display: flex; flex-wrap: wrap; gap: 6px; }
.clinical-state-list button { min-height: 30px; padding: 6px 9px; display: inline-flex; align-items: center; gap: 6px; color: #586a82; background: #fff; border: 1px solid #cad8e8; border-radius: 5px; font: inherit; font-size: 9px; font-weight: 800; cursor: pointer; }
.clinical-state-list button:hover { border-color: #8bb1df; background: #f1f7ff; }.clinical-state-list button.is-active { color: #0d5ac8; background: #e7f1ff; border-color: #6fa5e9; box-shadow: inset 0 -2px 0 #1769ff; }
.clinical-state-list button i { width: 8px; height: 8px; display: inline-block; background: #ef4444; border-radius: 50%; }.clinical-state-list button:nth-child(2) i { background: #2563eb; }.clinical-state-list button:nth-child(3) i { background: #f59e0b; }.clinical-state-list button:nth-child(4) i { background: #475569; }.clinical-state-list button:nth-child(5) i { background: #8b5cf6; }.clinical-state-list button:nth-child(6) i { background: #94a3b8; }
.clinical-surface-help { min-height: 29px; padding: 7px 9px; display: flex; align-items: center; gap: 7px; color: #527196; background: #edf6ff; border: 1px solid #d4e7fb; border-radius: 5px; font-size: 9px; font-weight: 650; }.clinical-surface-help i { color: #1875dd; }
.clinical-jaw { margin-top: 15px; padding: 12px 10px 14px; overflow-x: auto; background: #fff; border: 1px solid #d6e2f0; border-radius: 6px; }.clinical-jaw-lower { margin-top: 10px; }
.clinical-jaw-title { min-height: 22px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }.clinical-jaw-title span { color: var(--ink); font-size: 12px; font-weight: 900; }.clinical-jaw-title small { color: #8190a4; font-size: 8px; font-weight: 800; }
.clinical-tooth-grid { min-width: 1010px; margin-top: 9px; display: grid; grid-template-columns: repeat(16, minmax(52px, 1fr)); gap: 5px; }
.clinical-tooth { min-width: 0; padding: 7px 3px 6px; display: flex; flex-direction: column; align-items: center; background: #fbfdff; border: 1px solid #e0e8f2; border-radius: 5px; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }.clinical-tooth:hover, .clinical-tooth.has-state { border-color: #9fc3ef; background: #f5f9ff; box-shadow: 0 5px 12px rgba(39, 101, 177, .08); }
.clinical-tooth-head { width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 2px; }.clinical-tooth-head strong { color: #1c3f73; font-size: 10px; }.clinical-tooth-head span { color: #9aa8b9; font-size: 6px; font-weight: 800; text-transform: uppercase; }
.clinical-tooth-image { width: 49px; height: 69px; margin: 5px auto 4px; display: block; object-fit: contain; }
.clinical-surface-grid { display: grid; grid-template-columns: repeat(5, 16px); gap: 2px; }.clinical-surface { width: 16px; height: 16px; padding: 0; color: #708198; background: #fff; border: 1px solid #b9cbe0; border-radius: 3px; font-size: 6px; font-weight: 900; line-height: 1; cursor: pointer; }.clinical-surface:hover { color: #0d5ac8; border-color: #5f99db; background: #edf5ff; }.clinical-surface.state-caries { color: #fff; background: #ef4444; border-color: #ef4444; }.clinical-surface.state-restauracion { color: #fff; background: #2563eb; border-color: #2563eb; }.clinical-surface.state-endodoncia { color: #fff; background: #f59e0b; border-color: #f59e0b; }.clinical-surface.state-implante { color: #fff; background: #475569; border-color: #475569; }.clinical-surface.state-corona { color: #fff; background: #8b5cf6; border-color: #8b5cf6; }.clinical-surface.state-ausente { color: #334155; background: #e2e8f0; border-color: #94a3b8; }
.clinical-tooth-state { width: 100%; min-height: 19px; margin-top: 5px; overflow: hidden; color: #96a3b4; font-size: 6px; font-weight: 750; line-height: 1.1; text-align: center; text-overflow: ellipsis; white-space: nowrap; }.clinical-tooth-state.has-state { color: #35669b; }
.periodontal-legend { margin: 14px 0 10px; display: flex; flex-wrap: wrap; gap: 12px; color: #61728a; font-size: 9px; font-weight: 700; }.periodontal-legend span { display: inline-flex; align-items: center; gap: 6px; }.periodontal-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; }.periodontal-dot.normal { background: #3b82f6; }.periodontal-dot.bleeding { background: #ef4444; }
.periodontal-table-wrap { overflow-x: auto; border: 1px solid #d6e2f0; border-radius: 6px; }.periodontal-table { width: 100%; min-width: 520px; border-collapse: collapse; background: #fff; }.periodontal-table th, .periodontal-table td { min-width: 76px; padding: 9px 8px; border-bottom: 1px solid #e8eef5; color: #5d6e84; font-size: 9px; text-align: center; }.periodontal-table th { color: #3e526b; background: #f2f7fc; font-size: 8px; font-weight: 900; text-transform: uppercase; }.periodontal-table tr:last-child th, .periodontal-table tr:last-child td { border-bottom: 0; }.periodontal-table .periodontal-tooth { min-width: 55px; color: #17477f; font-size: 10px; font-weight: 900; }.periodontal-input { width: 44px; height: 28px; padding: 4px; color: #203b5d; background: #fff; border: 1px solid #bfd0e4; border-radius: 4px; font: inherit; font-size: 10px; font-weight: 800; text-align: center; }.periodontal-input:focus { border-color: #4e93e1; }.periodontal-bleeding { width: 16px; height: 16px; accent-color: #ef4444; cursor: pointer; }.periodontal-note { margin: 12px 0 0; color: #73839a; font-size: 9px; font-weight: 650; }.periodontal-note i { margin-right: 4px; color: #3c95cf; }


/* The clinical demo reuses the proportions and controls of the live odontogram. */
.clinical-demo-view[data-clinical-panel="odontograma"] { padding: 16px 14px 22px; background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); }
.clinical-demo-view[data-clinical-panel="odontograma"] .clinical-demo-intro { padding: 0 2px 6px; }.clinical-demo-view[data-clinical-panel="odontograma"] .clinical-demo-count { display: block; }
.clinical-od-toolbar { margin: 4px 0 8px; padding: 5px 0 2px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.clinical-od-modes { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid #dbe3ef; border-radius: 999px; background: #f8fafc; }
.clinical-od-modes button { min-height: 32px; padding: 6px 12px; color: #334155; background: transparent; border: 0; border-radius: 999px; font: inherit; font-size: 10px; font-weight: 850; cursor: pointer; }
.clinical-od-modes button.is-active { color: #fff; background: #2563eb; box-shadow: 0 5px 13px rgba(37,99,235,.2); }
.clinical-state-list { flex: 1 1 620px; margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.clinical-state-list button { min-height: 32px; padding: 7px 10px; gap: 7px; color: #0f172a; background: #fff; border: 1px solid #e2e8f0; border-radius: 999px; font-size: 10px; font-weight: 900; box-shadow: none; }
.clinical-state-list button:hover { background: #f8fafc; border-color: #cbd5e1; }.clinical-state-list button.is-active { background: #f1f5f9; border-color: #94a3b8; box-shadow: 0 6px 14px rgba(15,23,42,.08); }
.clinical-state-list button i { width: 4px; height: 18px; border-radius: 999px; background: #ef4444; }.clinical-state-list button:nth-child(2) i { background: #2563eb; }.clinical-state-list button:nth-child(3) i { background: #f59e0b; }.clinical-state-list button:nth-child(4) i { background: #475569; }.clinical-state-list button:nth-child(5) i { background: #22c55e; }.clinical-state-list button:nth-child(6) i { background: #8b5cf6; }.clinical-state-list button:nth-child(7) i, .clinical-state-list button:nth-child(8) i { background: #ef4444; }.clinical-state-list button:nth-child(9) i { background: #94a3b8; }
.clinical-od-actions { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.clinical-od-actions button { min-height: 32px; padding: 6px 12px; color: #64748b; background: #fff; border: 1px solid #94a3b8; border-radius: 999px; font: inherit; font-size: 10px; font-weight: 900; cursor: pointer; }.clinical-od-actions button[data-clinical-save] { color: #fff; background: #2563eb; border-color: #2563eb; }.clinical-od-actions button:disabled { opacity: .5; cursor: default; }.clinical-od-actions span { color: #64748b; font-size: 9px; font-weight: 750; white-space: nowrap; }
.clinical-black-guide { margin: 4px 0 8px; padding: 8px 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 5px; border: 1px solid #dbeafe; border-radius: 9px; background: #f8fbff; color: #334155; font-size: 9px; font-weight: 800; }.clinical-black-guide strong { margin-right: 6px; color: #1d4ed8; }.clinical-black-guide span { padding: 4px 7px; color: #526b87; background: #fff; border: 1px solid #d9e5f3; border-radius: 999px; }
.clinical-legend { margin: 4px 0 7px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: #475569; font-size: 9px; }.clinical-legend span { padding: 5px 8px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 999px; font-weight: 750; }
.clinical-jaw { margin-top: 8px; padding: 10px 6px 12px; overflow-x: auto; background: #fff; border: 1px solid #dbe7f2; border-radius: 11px; }.clinical-jaw-lower { margin-top: 8px; }
.clinical-jaw-title { min-height: 24px; padding: 0 4px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: #0f172a; font-size: 13px; font-weight: 900; }.clinical-jaw-title small { color: #6b7d93; font-size: 8px; font-weight: 850; }
.clinical-tooth-grid { min-width: 1060px; margin-top: 3px; padding: 4px 1px 7px; display: grid; grid-template-columns: repeat(16, minmax(60px, 1fr)); gap: 2px; align-items: start; }
.od-tooth { min-width: 0; padding: 2px 2px 7px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; background: transparent; border: 0; border-radius: 0; }.od-tooth.has-state { background: transparent; box-shadow: none; }
.od-tooth-header { width: 100%; min-height: 0; margin-bottom: 5px; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.od-tooth-icon-frame { width: 76px; height: 142px; position: relative; display: flex; flex: 0 0 auto; align-items: center; justify-content: center; overflow: visible; }.real-product-panel .od-tooth-icon-file { width: 100%; height: 100%; aspect-ratio: auto; display: block; object-fit: contain; object-position: center; border: 0; border-radius: 0; box-shadow: none; background: transparent; }.od-tooth-num { min-height: 18px; color: #0f172a; font-size: 14px; line-height: 1; font-weight: 900; }
.clinical-tooth-marker { width: 17px; height: 17px; position: absolute; top: 52%; left: 50%; display: none; transform: translate(-50%,-50%); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 1px 5px rgba(15,23,42,.28); pointer-events: none; }.clinical-tooth-marker[class*="state-"] { display: block; }.clinical-tooth-marker.state-caries { background: #ef4444; }.clinical-tooth-marker.state-restauracion { background: #2563eb; }.clinical-tooth-marker.state-endodoncia { background: #f59e0b; }.clinical-tooth-marker.state-implante { background: #475569; }.clinical-tooth-marker.state-incrustacion { background: #22c55e; }.clinical-tooth-marker.state-corona { background: #8b5cf6; }.clinical-tooth-marker.state-resto_radicular, .clinical-tooth-marker.state-extraccion_indicada { background: #dc2626; }.clinical-tooth-marker.state-ausente { background: #94a3b8; }
.od-surface-grid { width: 70px; max-width: 70px; margin-top: 1px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 15px); gap: 3px; }.od-surface { width: auto; height: 15px; padding: 0; display: flex; align-items: center; justify-content: center; color: #64748b; background: #fff; border: 1px solid #cbd5e1; border-radius: 4px; font: inherit; font-size: 9px; font-weight: 850; line-height: 1; cursor: pointer; }.od-surface[data-pos="O"] { grid-column: 2; grid-row: 2; }.od-surface[data-pos="V"] { grid-column: 2; grid-row: 1; }.od-surface[data-pos="P"] { grid-column: 2; grid-row: 3; }.od-surface[data-pos="M"] { grid-column: 1; grid-row: 2; }.od-surface[data-pos="D"] { grid-column: 3; grid-row: 2; }.od-surface:hover { background: #f1f7ff; border-color: #7aa9e8; }.od-surface.state-caries { color: #fff; background: #ef4444; border-color: #ef4444; }.od-surface.state-restauracion { color: #fff; background: #2563eb; border-color: #2563eb; }.od-surface.state-endodoncia { color: #fff; background: #f59e0b; border-color: #f59e0b; }.od-surface.state-implante { color: #fff; background: #475569; border-color: #475569; }.od-surface.state-incrustacion { color: #fff; background: #22c55e; border-color: #22c55e; }.od-surface.state-corona { color: #fff; background: #8b5cf6; border-color: #8b5cf6; }.od-surface.state-resto_radicular, .od-surface.state-extraccion_indicada { color: #fff; background: #dc2626; border-color: #dc2626; }.od-surface.state-ausente { color: #334155; background: #94a3b8; border-color: #94a3b8; }
.clinical-tooth-state { display: none; }

/* Compact tooth cards mirror the live DentaCore odontogram layout. */
.od-tooth { min-width: 0; padding: 6px 4px 7px; background: #f8fbff; border: 1px solid #d7e3f1; border-radius: 6px; }
.od-tooth.has-state { background: #f3f8ff; border-color: #8cb9f2; box-shadow: 0 3px 9px rgba(33, 95, 170, .08); }
.od-tooth-header { width: 100%; min-height: 12px; margin: 0 0 4px; padding: 0 1px; display: flex; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 3px; }
.od-tooth-num { min-height: 12px; color: #173d70; font-size: 10px; line-height: 1; font-weight: 900; }
.od-tooth-side { color: #8394aa; font-size: 5px; line-height: 1; font-weight: 850; text-transform: uppercase; }
.od-tooth-icon-frame { width: 100%; height: 65px; border: 1px solid #d9e4f0; border-radius: 4px; background: linear-gradient(180deg, #fff 0%, #f7fbff 100%); overflow: hidden; }
.real-product-panel .od-tooth-icon-file { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.clinical-tooth-marker { width: 12px; height: 12px; top: 50%; border-width: 1px; }
.od-surface-grid { width: 100%; max-width: none; margin-top: 4px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: 15px; gap: 2px; }
.od-surface { width: auto; height: 15px; border-radius: 3px; font-size: 7px; }
.od-surface[data-pos="O"], .od-surface[data-pos="V"], .od-surface[data-pos="P"], .od-surface[data-pos="M"], .od-surface[data-pos="D"] { grid-column: auto; grid-row: auto; }

.product-note { margin: 18px 0 0; color: #68778b; text-align: center; font-size: 11px; font-weight: 650; }.product-note i { margin-right: 5px; color: var(--blue); }

.patient-head { padding-bottom: 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; border-bottom: 1px solid #e1e7ef; }
.patient-avatar { width: 46px; height: 46px; display: grid; place-items: center; color: #145dcc; background: #e7f0ff; border-radius: 6px; font-size: 12px; font-weight: 850; }
.patient-head p { margin: 4px 0 0; color: #718096; font-size: 9px; font-weight: 650; }
.status-ok { padding: 6px 8px; color: #087a56; background: #e7f8f1; border-radius: 4px; font-size: 8px; font-weight: 800; }
.record-tabs { display: flex; gap: 22px; margin: 0 -30px; padding: 14px 30px 0; border-bottom: 1px solid #dfe6ef; }
.record-tabs span { padding: 0 1px 10px; color: #6e7e94; font-size: 9px; font-weight: 750; }.record-tabs span.active { color: var(--blue); border-bottom: 2px solid var(--blue); }
.odontogram-demo { margin-top: 18px; padding: 16px; border: 1px solid #dae4f0; border-radius: 6px; background: #fbfdff; }
.odontogram-toolbar { display: flex; align-items: center; gap: 13px; color: #64748b; font-size: 8px; font-weight: 700; }.odontogram-toolbar strong { margin-right: auto; color: var(--ink); font-size: 11px; }.odontogram-toolbar i { font-size: 7px; }
.teeth-row { margin: 24px 0 20px; padding: 16px 8px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; background: #fff; border: 1px solid #e5eaf1; border-radius: 5px; }
.teeth-row > div { position: relative; min-width: 0; text-align: center; }.teeth-row img { width: 54px; height: 76px; margin: 0 auto 5px; object-fit: contain; }.teeth-row span { display: block; color: #3d4a5c; font-size: 8px; font-weight: 800; }
.teeth-row .tooth-caries::after { content: ""; position: absolute; width: 14px; height: 14px; left: calc(50% - 7px); top: 27px; background: rgba(227, 77, 89, .78); border-radius: 50%; }.teeth-row .tooth-restored::after { content: ""; position: absolute; width: 16px; height: 7px; left: calc(50% - 8px); top: 19px; background: rgba(23, 105, 255, .78); border-radius: 3px; }
.record-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }.record-summary > div { padding: 11px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e0e7f0; border-radius: 5px; }.record-summary i { width: 25px; text-align: center; }.record-summary span, .record-summary small, .record-summary strong { display: block; }.record-summary small { color: #7c8999; font-size: 7px; }.record-summary strong { margin-top: 2px; font-size: 9px; }

.finance-summary { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }.finance-summary > div { padding: 17px; border: 1px solid #dce5f0; border-radius: 6px; }.finance-summary small, .finance-summary strong, .finance-summary em { display: block; }.finance-summary small { color: #738198; font-size: 8px; font-weight: 750; }.finance-summary strong { margin: 4px 0 5px; font-size: 21px; }.finance-summary em { color: var(--green); font-size: 7px; font-style: normal; font-weight: 750; }.finance-summary em.neutral { color: var(--blue); }.finance-summary em.warning { color: var(--orange); }
.finance-table { margin-top: 13px; overflow: hidden; border: 1px solid #dce5f0; border-radius: 6px; }.finance-table .table-head { min-height: 48px; background: #f8fafc; }.finance-table > div { min-height: 59px; padding: 10px 15px; display: grid; grid-template-columns: 1.3fr 1fr .6fr .55fr; align-items: center; gap: 10px; border-bottom: 1px solid #e8edf3; font-size: 9px; }.finance-table > div:last-child { border: 0; }.finance-table .table-head { grid-template-columns: 1fr auto; }.finance-table span { color: #627087; font-weight: 650; }.finance-table span:first-child { color: var(--ink); font-weight: 750; }.finance-table span i { margin-right: 7px; }.finance-table strong { text-align: right; }.finance-table strong.out { color: var(--orange); }.finance-table em { padding: 4px 6px; color: #087a56; background: #e6f8f0; border-radius: 4px; text-align: center; font-size: 7px; font-style: normal; font-weight: 800; }

.workflow-section { background: #fff; }
.workflow-list { border-top: 1px solid var(--line); }
.workflow-list article { min-height: 180px; padding: 32px 0; display: grid; grid-template-columns: 44px 50px minmax(0, 1.2fr) minmax(250px, .8fr); align-items: start; gap: 20px; border-bottom: 1px solid var(--line); }
.workflow-number { padding-top: 13px; color: #98a4b3; font-size: 12px; font-weight: 850; }
.workflow-icon { width: 48px; height: 48px; display: grid; place-items: center; background: #edf4ff; border-radius: 6px; font-size: 18px; }
.workflow-icon.green { background: #e7f8f1; }.workflow-icon.orange { background: #fff1df; }
.workflow-list h3 { margin: 6px 0 7px; font-size: 20px; }.workflow-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.workflow-list ul { margin: 4px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; }.workflow-list li { color: var(--ink-soft); font-size: 12px; font-weight: 700; }.workflow-list li::before { content: ""; width: 6px; height: 6px; margin-right: 9px; display: inline-block; background: var(--green); border-radius: 50%; }

.modules-section { background: #f5f8fc; }
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.module-card { min-height: 178px; padding: 22px; position: relative; display: grid; grid-template-columns: 44px 1fr; align-items: start; gap: 15px; background: #fff; border: 1px solid #d9e3ef; border-radius: 10px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }.module-card:hover { transform: translateY(-3px); border-color: #a9c8f7; box-shadow: 0 15px 30px rgba(18, 65, 122, .09); }
.module-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; color: var(--blue); background: #eef5ff; font-size: 17px; }.module-icon.green { color: var(--green); background: #e8f8f1; }.module-icon.cyan { color: var(--cyan); background: #e9f9fc; }.module-icon.orange { color: var(--orange); background: #fff2e3; }.module-icon.purple { color: #7b56cc; background: #f2edff; }.module-icon.navy { color: #34517d; background: #edf2f9; }
.module-card h3 { margin: 2px 0 7px; font-size: 15px; line-height: 1.3; }.module-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }.module-card > span { position: absolute; right: 19px; bottom: 17px; color: #aab6c6; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.modules-footer { margin-top: 21px; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }.modules-footer > span { color: #5f6f84; font-size: 11px; font-weight: 750; }.modules-footer > span i { margin-right: 7px; color: var(--green); }.modules-footer .button { min-height: 40px; font-size: 11px; }

.security-section { color: #fff; background: #121c2c; border-top: 4px solid var(--green); }
.security-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: center; }
.section-kicker.light { color: #63ddb4; }.security-copy p { color: #b8c4d5; }.security-copy .button { margin-top: 26px; }
.security-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.security-list > div { min-height: 145px; padding: 21px; display: flex; align-items: flex-start; gap: 13px; background: #19263a; border: 1px solid #2d3d54; border-radius: 7px; }
.security-list i { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; color: #55d5aa; background: #213b43; border-radius: 5px; }
.security-list span, .security-list strong { display: block; }.security-list span { color: #adbacb; font-size: 12px; line-height: 1.6; }.security-list strong { margin: 1px 0 5px; color: #fff; font-size: 13px; }

.pricing-section { background: #f6f9fc; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 14px; }.pricing-grid.single { max-width: 430px; margin: 0 auto; grid-template-columns: 1fr; }
.price-card { padding: 25px; display: flex; flex-direction: column; background: #fff; border: 1px solid #d7e1ed; border-radius: 8px; }.price-card.plan-selectable { cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }.price-card.plan-selectable:hover { transform: translateY(-3px); border-color: #8eb7ef; box-shadow: 0 18px 38px rgba(23, 105, 255, .12); }.price-card.plan-selectable:focus-visible { outline: 3px solid rgba(23, 105, 255, .35); outline-offset: 4px; }.price-card.featured { border: 2px solid var(--blue); box-shadow: 0 18px 42px rgba(23, 105, 255, .12); }
.price-card-top { min-height: 55px; display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }.price-card h3 { margin: 3px 0 0; font-size: 22px; }.recommended { display: block; color: var(--blue); font-size: 9px; font-weight: 900; text-transform: uppercase; }.discount { padding: 5px 7px; color: #087a56; background: #e6f8f0; border-radius: 4px; font-size: 8px; font-weight: 850; }
.price-card > p { min-height: 68px; margin: 12px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.price { min-height: 104px; padding-bottom: 18px; border-bottom: 1px solid #e4e9f0; }.price del { display: block; color: #8b96a7; font-size: 11px; font-weight: 700; }.price strong { display: inline-block; margin-top: 2px; font-size: 35px; line-height: 1.1; }.price span { margin-left: 5px; color: #718096; font-size: 9px; font-weight: 750; }.price .price-total { display: block; margin-top: 6px; color: #43536a; font-size: 10px; font-weight: 800; }
.price-card ul { margin: 20px 0 24px; padding: 0; display: grid; gap: 11px; list-style: none; }.price-card li { color: #344054; font-size: 12px; font-weight: 700; }.price-card li i { width: 17px; color: var(--green); }.price-card .button { width: 100%; margin-top: auto; }
.pricing-note { margin: 19px 0 0; color: #6c798c; text-align: center; font-size: 10px; font-weight: 650; }.empty-plans { grid-column: 1 / -1; padding: 30px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; }

.faq-section { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; align-items: start; }.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }.faq-list summary { min-height: 72px; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 800; }.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary i { color: var(--blue); transition: transform .2s ease; }.faq-list details[open] summary i { transform: rotate(45deg); }.faq-list details p { margin: -4px 0 22px; padding-right: 44px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.faq-list details[open] p { animation: faq-answer-in .28s cubic-bezier(.22, 1, .36, 1) both; }

.final-cta { padding: 76px 0; color: #fff; background: var(--blue); border-top: 5px solid #4ed0a4; }.final-cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; }.final-cta h2 { margin-bottom: 8px; }.final-cta p { color: #e7efff; }.final-actions { display: grid; gap: 10px; text-align: center; }.final-actions span { color: #dbe7ff; font-size: 10px; font-weight: 700; }

.site-footer { padding: 54px 0 18px; color: #c0cad8; background: #101722; }.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 60px; }.site-footer .brand { color: #fff; }.footer-brand p { max-width: 350px; margin: 13px 0 0; color: #8795a8; font-size: 12px; }.footer-grid > div:not(.footer-brand) { display: grid; align-content: start; gap: 10px; }.footer-grid strong { margin-bottom: 5px; color: #fff; font-size: 12px; }.footer-grid a:not(.brand) { width: fit-content; color: #9ba9bb; text-decoration: none; font-size: 11px; font-weight: 650; }.footer-grid a:hover { color: #fff; }.footer-bottom { margin-top: 42px; padding-top: 17px; display: flex; justify-content: space-between; border-top: 1px solid #273142; color: #758297; font-size: 10px; font-weight: 650; }

@keyframes landing-rise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes faq-answer-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes product-panel-in {
    from { opacity: 0; transform: translateY(10px) scale(.992); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

html.motion-ready .hero-copy > * { animation: landing-rise .7s cubic-bezier(.22, 1, .36, 1) backwards; }
html.motion-ready .hero-copy > :nth-child(2) { animation-delay: .07s; }
html.motion-ready .hero-copy > :nth-child(3) { animation-delay: .13s; }
html.motion-ready .hero-copy > :nth-child(4) { animation-delay: .19s; }
html.motion-ready .hero-copy > :nth-child(5) { animation-delay: .25s; }
html.motion-ready .hero-copy > :nth-child(6) { animation-delay: .31s; }

html.motion-ready .scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .72s cubic-bezier(.22, 1, .36, 1), transform .72s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
html.motion-ready .scroll-reveal.reveal-left { transform: translateX(-28px); }
html.motion-ready .scroll-reveal.reveal-right { transform: translateX(28px); }
html.motion-ready .scroll-reveal.reveal-scale { transform: translateY(18px) scale(.982); }
html.motion-ready .scroll-reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); will-change: auto; }
html.motion-ready .real-product-panel.is-active { animation: product-panel-in .46s cubic-bezier(.22, 1, .36, 1) both; }

@media (max-width: 1050px) {
    .site-nav { gap: 16px; }
    .site-nav a { font-size: 11px; }
    .nav-actions .button-quiet { display: none; }
    .hero-copy { width: 62%; }
    .hero-visual-card { width: min(330px, 35%); margin-right: 0; }
    .proof-grid { grid-template-columns: repeat(2, 1fr); padding: 14px 0; }
    .proof-grid > div { border-right: 0; }
    .demo-panel { grid-template-columns: 145px minmax(0, 1fr); }
    .demo-workspace { padding: 24px 22px; }
    .record-tabs { margin: 0 -22px; padding-right: 22px; padding-left: 22px; }
    .security-grid { gap: 44px; }
    .workflow-list article { grid-template-columns: 38px 48px 1fr; }
    .workflow-list article ul { grid-column: 3; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
    body { padding-bottom: 76px; }
    .landing-mobile-actions {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 90;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
        background: rgba(17, 24, 39, .98);
        border-top: 1px solid rgba(255, 255, 255, .14);
        box-shadow: 0 -10px 28px rgba(15, 23, 42, .18);
    }
    .landing-mobile-actions .button {
        min-width: 0;
        min-height: 44px;
        padding: 10px 8px;
        font-size: 11px;
    }
    .section-pad { padding: 76px 0; }
    .nav-shell { grid-template-columns: auto 1fr auto; }
    .menu-button { display: grid; justify-self: end; }
    .site-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        padding: 14px 20px 20px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
        color: #fff;
        background: #111827;
        border-top: 1px solid #2c374a;
        box-shadow: 0 18px 30px rgba(0, 0, 0, .18);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { min-height: 42px; padding: 10px 4px; display: flex; align-items: center; font-size: 13px; }
    .site-nav a::after { display: none; }
    .nav-actions { display: none; }
    .hero { min-height: 650px; background-position: 62% center; }
    .hero-shade { background: rgba(255, 255, 255, .72); }
    .hero-copy { width: min(620px, 100%); }
    .hero-inner { align-items: flex-start; flex-direction: column; gap: 0; padding-top: 42px; padding-bottom: 34px; }
    .hero-copy { padding: 0; }
    .hero-visual-card { width: min(370px, 100%); margin: 10px 0 0 auto; }
    .real-product-toolbar { align-items: stretch; flex-direction: column; gap: 12px; }
    .real-product-toolbar-title { flex-basis: auto; }
    .real-product-tabs { width: 100%; display: flex; justify-content: flex-start; overflow-x: auto; padding-bottom: 3px; }
    .real-product-tabs button { flex: 0 0 195px; }
    .real-product-panel figcaption { align-items: flex-start; flex-direction: column; gap: 3px; }
    .real-product-panel figcaption span { text-align: left; }
    .demo-panel { min-height: 510px; grid-template-columns: 1fr; }
    .demo-sidebar { padding: 9px; display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid #dce4ef; }
    .demo-sidebar span { flex: 0 0 auto; }
    .demo-sidebar span:not(.active) { display: none; }
    .window-topbar { grid-template-columns: auto 1fr; }.window-tabs { justify-self: end; }.window-user { display: none; }
    .demo-stats { grid-template-columns: repeat(2, 1fr); }
    .demo-columns { grid-template-columns: 1fr; }.pending-list { display: none; }
    .benefits-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
    .benefit-card { min-height: 0; }
    .modules-grid { grid-template-columns: repeat(2, 1fr); }
    .security-grid, .faq-grid { grid-template-columns: 1fr; gap: 44px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }.price-card > p { min-height: 0; }
    .final-cta-inner { grid-template-columns: 1fr; gap: 28px; }.final-actions { justify-self: start; }
}

@media (max-width: 620px) {
    .section-shell, .hero-inner, .nav-shell { width: min(100% - 28px, 1180px); }
    .site-header { height: 64px; }.site-nav { top: 64px; }.brand { font-size: 17px; }.brand img { width: 36px; height: 36px; }
    .hero { min-height: 680px; background-position: 65% center; }
    .hero-copy { padding: 55px 0 62px; }
    .hero h1 { font-size: 43px; }.hero-title { font-size: 25px; }.hero-lead { font-size: 15px; line-height: 1.58; }
    .hero-inner { padding-top: 35px; }.hero-visual-card { width: 100%; margin: 12px 0 0; padding: 17px; }.hero-visual-heading { padding-top: 18px; }.hero-visual-heading strong { font-size: 18px; }
    .hero-actions { align-items: stretch; flex-direction: column; }.hero-actions .button { width: 100%; }.hero-points { gap: 10px 16px; }
    .proof-grid { grid-template-columns: 1fr; }.proof-grid > div, .proof-grid > div:first-child, .proof-grid > div:last-child { padding: 11px 0; border-bottom: 1px solid var(--line); }.proof-grid > div:last-child { border-bottom: 0; }
    .section-heading h2, .security-copy h2, .final-cta h2 { font-size: 32px; }.section-heading p, .security-copy p, .final-cta p { font-size: 14px; }
    .real-product-toolbar { padding: 12px; }
    .real-product-tabs button { min-height: 50px; flex-basis: 148px; padding: 7px 8px; gap: 7px; }
    .product-tab-icon { width: 30px; height: 30px; }
    .product-tab-copy small { display: none; }
    .real-product-frame { padding: 10px 10px 12px; overflow: hidden; }
    .real-product-panel { min-width: 0; }
    .real-product-panel figcaption { min-height: 58px; padding: 12px 2px 0; }
    .window-topbar { padding: 10px; grid-template-columns: 1fr; }.window-brand { display: none; }.window-tabs { width: 100%; justify-self: stretch; }.window-tabs button { flex: 1; min-width: 0; padding: 7px 5px; font-size: 9px; }
    .demo-workspace { padding: 18px 12px; }.demo-page-title h3, .patient-head h3 { font-size: 17px; }.demo-page-title button { width: 34px; padding: 0; font-size: 0; }.demo-page-title button i { font-size: 11px; }
    .demo-stats { gap: 7px; }.demo-stats > div { padding: 12px; }.demo-stats i { display: none; }.demo-stats strong { font-size: 18px; }
    .appointment { grid-template-columns: 36px 25px 1fr; }.appointment em { display: none; }.avatar { width: 25px; height: 25px; }
    .patient-head { grid-template-columns: auto 1fr; }.patient-head .status-ok { display: none; }.patient-head p { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .record-tabs { margin: 0 -12px; padding-right: 12px; padding-left: 12px; gap: 14px; overflow-x: auto; }.odontogram-toolbar span { display: none; }.teeth-row { gap: 3px; padding: 12px 4px; }.teeth-row img { width: 36px; height: 61px; }.record-summary { grid-template-columns: 1fr; }.record-summary > div:nth-child(n+2) { display: none; }
    .finance-summary { grid-template-columns: 1fr 1fr; }.finance-summary > div:last-child { display: none; }.finance-table > div { grid-template-columns: 1.4fr .65fr .5fr; }.finance-table > div span:nth-child(2), .finance-table > div em { display: none; }
    .workflow-list article { padding: 25px 0; grid-template-columns: 35px 42px 1fr; gap: 12px; }.workflow-icon { width: 42px; height: 42px; }.workflow-list article ul { grid-column: 1 / -1; padding-left: 89px; grid-template-columns: 1fr; }.workflow-list h3 { font-size: 17px; }.workflow-list p { font-size: 12px; }
    .modules-grid { grid-template-columns: 1fr; }.modules-footer { align-items: flex-start; flex-direction: column; }.security-list { grid-template-columns: 1fr; }.security-list > div { min-height: 0; }
    .price-card { padding: 21px; }.price-card > p { min-height: 0; }.price strong { font-size: 32px; }
    .faq-list summary { font-size: 12px; }.faq-list details p { padding-right: 0; font-size: 12px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }.footer-brand { grid-column: 1 / -1; }.footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media (max-width: 820px) {
    .clinical-demo-scroll { max-height: 570px; }
    .clinical-demo-head { align-items: flex-start; }
    .clinical-demo-head strong { font-size: 14px; }
    .clinical-demo-toolbar { align-items: flex-start; flex-direction: column; gap: 7px; }
    .clinical-demo-status { text-align: left; }
}

@media (max-width: 620px) {
    .clinical-demo-head { padding: 12px; }
    .clinical-demo-reset { padding-right: 8px; padding-left: 8px; font-size: 0; }
    .clinical-demo-reset i { margin: 0; font-size: 11px; }
    .clinical-demo-toolbar { padding: 9px 12px; }
    .clinical-demo-view { padding: 14px 10px 16px; }
    .clinical-demo-intro { align-items: flex-start; flex-direction: column; gap: 7px; }
    .clinical-demo-count { align-self: flex-start; }
    .clinical-state-list { gap: 5px; }
    .clinical-state-list button { padding-right: 7px; padding-left: 7px; font-size: 8px; }
    .clinical-surface-help { align-items: flex-start; }
    .clinical-jaw { padding-right: 7px; padding-left: 7px; }
    .periodontal-table th, .periodontal-table td { padding-right: 6px; padding-left: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Agenda interactiva de demostración: mismos patrones visuales que la agenda real. */
.benefits-section,
.product-section,
.demo-cta,
.workflow-section,
.modules-section,
.security-section,
.pricing-section,
.faq-section,
.final-cta {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
}

.agenda-demo { overflow: hidden; border: 1px solid #dce6f1; border-radius: 14px; background: #f7faff; box-shadow: 0 14px 30px rgba(18, 38, 69, .09); }
.agenda-demo-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid #dce6f1; background: #fff; }
.agenda-demo-heading { min-width: 0; }
.agenda-demo-eyebrow { display: inline-flex; align-items: center; gap: 7px; color: #2468cb; font-size: 9px; font-weight: 900; letter-spacing: .075em; text-transform: uppercase; }
.agenda-demo-heading > strong { display: block; max-width: 52ch; margin-top: 5px; color: #0b1f43; font-size: 15px; line-height: 1.35; }
.agenda-demo-today { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; min-width: 128px; padding: 9px 11px; border: 1px solid #cce8f5; border-radius: 13px; background: linear-gradient(135deg, #edfaff, #f4fbff); }
.agenda-demo-today-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #d5f3ff; color: #1678d6; font-size: .9rem; }
.agenda-demo-today strong, .agenda-demo-today small { display: block; }
.agenda-demo-today strong { color: #0b3e7c; font-size: 1.15rem; font-weight: 900; line-height: 1; }
.agenda-demo-today small { margin-top: 3px; color: #6b7f96; font-size: 9px; font-weight: 800; }
.agenda-demo-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 12px; padding: 10px 20px; border-bottom: 1px solid #e2eaf3; background: #fbfdff; }
.agenda-demo-toolbar label { display: inline-flex; align-items: center; gap: 6px; color: #64748b; font-size: 10px; font-weight: 850; }
.agenda-demo-toolbar label i { color: #2468cb; }
.agenda-demo-toolbar select { min-height: 34px; min-width: 190px; padding: 6px 31px 6px 10px; border: 1px solid #cfdeed; border-radius: 9px; color: #243f63; background: #fff; font: inherit; font-size: 10px; font-weight: 750; }
.agenda-demo-status { margin-left: auto; color: #708198; font-size: 9px; font-weight: 750; }
.agenda-demo-status i { margin-right: 4px; color: #3aa7d1; }
.agenda-demo-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 14px; padding: 9px 20px; border-bottom: 1px solid #e2eaf3; background: #fff; color: #64748b; font-size: 9px; font-weight: 800; }
.agenda-demo-legend span { display: inline-flex; align-items: center; gap: 6px; }
.agenda-demo-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, .12); }
.agenda-demo-status-dot.is-attended { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .13); }
.agenda-demo-status-dot.is-no-attended { background: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, .14); }
.agenda-demo-status-dot.is-cancelled { background: #94a3b8; box-shadow: 0 0 0 3px rgba(148, 163, 184, .14); }
.agenda-demo-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 9px 20px; border-bottom: 1px solid #e2eaf3; background: #f8fbff; color: #5e7692; font-size: 9px; font-weight: 750; }
.agenda-demo-actions strong { color: #24466f; font-size: 9px; font-weight: 900; }
.agenda-demo-actions span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid #dbe7f3; border-radius: 7px; background: #fff; }
.agenda-demo-actions i { color: #2468cb; }
.agenda-demo-viewbar { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 12px; padding: 10px 20px; border-bottom: 1px solid #e2eaf3; background: #fff; }
.agenda-demo-view-label { display: inline-flex; align-items: center; gap: 6px; color: #24466f; font-size: 10px; font-weight: 900; }
.agenda-demo-view-label i { color: #2468cb; }
.agenda-demo-view-buttons { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid #d7e4f0; border-radius: 10px; background: #f5f9fd; }
.agenda-demo-view-buttons button { min-height: 34px; padding: 6px 13px; border: 0; border-radius: 7px; color: #55708e; background: transparent; font: inherit; font-size: 10px; font-weight: 900; cursor: pointer; }
.agenda-demo-view-buttons button:hover, .agenda-demo-view-buttons button:focus-visible { color: #1267c5; background: #eaf4ff; outline: none; }
.agenda-demo-view-buttons button.is-active { color: #fff; background: #2b82eb; box-shadow: 0 4px 10px rgba(43, 130, 235, .2); }
.agenda-demo-add { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 6px 12px; border: 1px solid #b9d8f7; border-radius: 9px; color: #1267c5; background: #eff7ff; font: inherit; font-size: 10px; font-weight: 900; cursor: pointer; }
.agenda-demo-add:hover, .agenda-demo-add:focus-visible { border-color: #63a9eb; background: #e2f1ff; outline: none; }
.agenda-demo-view-help { margin-left: auto; color: #708198; font-size: 9px; font-weight: 750; }
.agenda-demo-view-help i { margin-right: 4px; color: #3aa7d1; }
.agenda-demo-calendar-viewport { min-width: 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior: contain; overscroll-behavior-x: contain; touch-action: pan-x pan-y; background: #fff; scrollbar-color: #aac3e0 #eef4fa; scrollbar-width: auto; -webkit-overflow-scrolling: touch; }
.agenda-demo-calendar-viewport::-webkit-scrollbar { width: 10px; height: 12px; }
.agenda-demo-calendar-viewport::-webkit-scrollbar-track { background: #eef4fa; border-radius: 99px; }
.agenda-demo-calendar-viewport::-webkit-scrollbar-thumb { background: #aac3e0; border: 3px solid #eef4fa; border-radius: 99px; }
.agenda-demo-calendar { min-width: 0; height: 560px; max-height: 560px; padding: 16px 18px 8px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-x pan-y; background: #fff; }
.agenda-demo .fc { --fc-border-color: #e2eaf3; --fc-page-bg-color: transparent; --fc-neutral-bg-color: #f8fbff; --fc-today-bg-color: rgba(219, 244, 255, .42); --fc-now-indicator-color: #ef4444; color: #1d3557; min-width: 690px; touch-action: pan-x pan-y; }
.agenda-demo .fc-scroller, .agenda-demo .fc-scroller-harness, .agenda-demo .fc-view-harness { touch-action: pan-x pan-y; }
.agenda-demo .fc .fc-toolbar.fc-header-toolbar { align-items: center; margin-bottom: 14px; }
.agenda-demo .fc .fc-toolbar-title { color: #102b52; font-size: 1.05rem; font-weight: 900; letter-spacing: -.02em; }
.agenda-demo .fc .fc-button-primary { min-height: 34px; border-color: #d5e2ef !important; border-radius: 9px !important; background: #fff !important; color: #55708e !important; font-size: .7rem !important; font-weight: 850 !important; box-shadow: 0 3px 8px rgba(30, 57, 91, .045) !important; }
.agenda-demo .fc .fc-button-primary:hover, .agenda-demo .fc .fc-button-primary:focus-visible { border-color: #92c7ef !important; background: #eff9ff !important; color: #1267c5 !important; }
.agenda-demo .fc .fc-button-primary:not(:disabled).fc-button-active { border-color: #2b82eb !important; background: #2b82eb !important; color: #fff !important; box-shadow: 0 6px 14px rgba(43, 130, 235, .2) !important; }
.agenda-demo .fc .fc-daygrid-day-number, .agenda-demo .fc .fc-col-header-cell-cushion { color: #5b7691; font-weight: 800; text-decoration: none; }
.agenda-demo .fc .fc-col-header-cell { background: #f8fbfe; }
.agenda-demo .fc .fc-timegrid-axis-cushion, .agenda-demo .fc .fc-timegrid-slot-label-cushion { color: #7890a7; font-size: .65rem; font-weight: 800; }
.agenda-demo .fc .fc-timegrid-slot, .agenda-demo .fc .fc-timegrid-slot-lane { height: 58px !important; }
.agenda-demo .fc .fc-timegrid-slot-lane-frame { min-height: 58px !important; }
.agenda-demo .fc .fc-timegrid-event { margin-top: 2px !important; margin-bottom: 2px !important; }
.agenda-demo .fc .fc-timegrid-col.fc-day-today, .agenda-demo .fc .fc-daygrid-day.fc-day-today { background: rgba(219, 244, 255, .34); }
.agenda-demo .fc-v-event { border-top: 1px solid #bfdbfe !important; border-right: 1px solid #bfdbfe !important; border-bottom: 1px solid #bfdbfe !important; border-left: 5px solid #3b82f6 !important; border-radius: 9px !important; padding: 5px 7px !important; background: linear-gradient(135deg, #eaf3ff, #dcecff) !important; box-shadow: 0 5px 12px rgba(37, 99, 235, .1) !important; cursor: grab; }
.agenda-demo .fc-v-event.is-asistio { border-color: #bbf7d0 !important; border-left-color: #22c55e !important; background: linear-gradient(135deg, #eafbf1, #d9f6e5) !important; }
.agenda-demo .fc-v-event.is-no_asistio { border-color: #fecaca !important; border-left-color: #ef4444 !important; background: linear-gradient(135deg, #fff0f1, #ffe0e3) !important; }
.agenda-demo .fc-v-event.is-cancelada { border-color: #cbd5e1 !important; border-left-color: #94a3b8 !important; background: linear-gradient(135deg, #f3f6fa, #e8eef5) !important; opacity: .95; }
.agenda-demo .fc .fc-event-main { color: #173d70 !important; font-weight: 800 !important; }
.agenda-demo .fc .is-asistio .fc-event-main { color: #166534 !important; }
.agenda-demo .fc .is-no_asistio .fc-event-main { color: #991b1b !important; }
.agenda-demo .fc .is-cancelada .fc-event-main { color: #475569 !important; }
.agenda-demo-event-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.agenda-demo-event-time { font-size: .62rem; font-weight: 850; line-height: 1.15; }
.agenda-demo-event-title { overflow-wrap: break-word; word-break: normal; font-size: .7rem; font-weight: 850; line-height: 1.2; }
.agenda-demo-event-motivo { overflow-wrap: break-word; word-break: normal; color: #5d7693; font-size: .62rem; font-weight: 700; line-height: 1.15; }
.agenda-demo-hint { padding: 9px 20px 11px; border-top: 1px solid #e2eaf3; background: #f8fbff; color: #5f7692; font-size: 9px; font-weight: 700; }
.agenda-demo-hint i { margin-right: 5px; color: #2468cb; }
.agenda-demo-detail { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid #cfe0f3; background: #edf6ff; color: #24466f; }
.agenda-demo-detail > div { min-width: 0; }
.agenda-demo-detail-label, .agenda-demo-detail strong, .agenda-demo-detail small { display: block; }
.agenda-demo-detail-label { color: #4380bf; font-size: 8px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.agenda-demo-detail strong { margin-top: 2px; overflow-wrap: anywhere; font-size: 11px; }
.agenda-demo-detail small { margin-top: 2px; color: #5f7692; font-size: 9px; font-weight: 650; }
.agenda-demo-detail button { flex: 0 0 auto; width: 27px; height: 27px; border: 1px solid #b9cfe7; border-radius: 7px; color: #4c6c8f; background: #fff; cursor: pointer; }

@media (max-width: 820px) {
    .agenda-demo-head { align-items: stretch; flex-direction: column; }
    .agenda-demo-today { width: 100%; box-sizing: border-box; }
    .agenda-demo-status { margin-left: 0; flex-basis: 100%; }
}

@media (max-width: 620px) {
    .agenda-demo-head, .agenda-demo-toolbar, .agenda-demo-legend, .agenda-demo-actions, .agenda-demo-viewbar { padding-right: 12px; padding-left: 12px; }
    .agenda-demo-calendar-viewport { width: 100%; }
    .agenda-demo-calendar { width: 980px !important; min-width: 980px !important; height: 500px; max-height: 500px; padding: 12px 10px 6px; }
    .agenda-demo-viewbar { align-items: stretch; flex-direction: column; gap: 8px; }
    .agenda-demo-view-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
    .agenda-demo-view-buttons button { min-height: 42px; font-size: 11px; }
    .agenda-demo-add { width: 100%; min-height: 42px; font-size: 11px; }
    .agenda-demo-view-help { margin-left: 0; line-height: 1.4; }
    .agenda-demo .fc { width: 980px !important; min-width: 980px !important; max-width: none; }
    .agenda-demo .fc-scrollgrid,
    .agenda-demo .fc-scrollgrid-sync-table,
    .agenda-demo .fc-col-header,
    .agenda-demo .fc-timegrid-body,
    .agenda-demo .fc-timegrid-cols,
    .agenda-demo .fc-timegrid-cols table { width: 980px !important; min-width: 980px !important; }
    .agenda-demo .fc .fc-toolbar.fc-header-toolbar { flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
    .agenda-demo .fc .fc-toolbar-title { max-width: 100%; font-size: .9rem; }
    .agenda-demo .fc .fc-toolbar-title { font-size: .88rem; }
    .agenda-demo .fc .fc-button-primary { min-height: 31px; padding: 4px 6px !important; font-size: .62rem !important; }
    .agenda-demo-hint { padding-right: 12px; padding-left: 12px; }
}

/* Shared clinical renderer copied from the active expediente component. */
    .od-shell {
        margin-top: 10px;
        padding: 14px;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        background: #ffffff;
        box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .od-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 6px;
    }

    .od-toolbar .btn {
        border-radius: 999px;
        font-weight: 900;
    }

    .od-mode-group {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        border: 1px solid #dbe3ef;
        padding: 4px;
        border-radius: 999px;
        background: #f8fafc;
    }

    .od-mode-btn {
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: #334155;
        font-size: 0.78rem;
        font-weight: 800;
        padding: 5px 10px;
        transition: all 120ms ease;
    }

    .od-mode-btn.is-active {
        background: #2563eb;
        color: #ffffff;
        box-shadow: 0 6px 16px rgba(37, 99, 235, 0.22);
    }

    .od-state-group {
        display: inline-flex;
        gap: 10px;
        flex-wrap: wrap;
        align-items: center;
    }

    .od-state-btn {
        border: 1px solid #e2e8f0;
        background: #ffffff;
        border-radius: 999px;
        padding: 8px 12px;
        font-weight: 900;
        color: #0f172a;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        line-height: 1;
        user-select: none;
        transition: background 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
    }

    .od-state-btn:hover {
        background: #f8fafc;
        border-color: #cbd5e1;
    }

    .od-state-btn.is-active {
        background: #f1f5f9;
        border-color: #94a3b8;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    }

    .od-state-bar {
        width: 4px;
        height: 18px;
        border-radius: 999px;
        flex: 0 0 auto;
    }

    .od-status-text {
        display: inline-block;
        min-width: 140px;
    }

    .od-legend {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        align-items: center;
        font-size: 0.85rem;
        color: #475569;
    }

    .od-legend-fixed {
        min-height: 38px;
    }

    .od-pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 10px;
        border-radius: 999px;
        border: 1px solid #e2e8f0;
        background: #f8fafc;
        font-weight: 700;
    }

    .od-grid {
        display: grid;
        gap: 12px;
        overflow-x: auto;
        overflow-y: visible;
        padding: 8px 6px 12px;
        position: relative;
        height: auto;
        max-height: none;
        align-content: start;
    }

    .od-grid.is-loading {
        min-height: 360px;
        place-items: center;
        overflow: hidden;
    }

    .od-loading {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        border-radius: 999px;
        border: 1px solid #dbeafe;
        background: linear-gradient(135deg, #ffffff, #f8fbff);
        color: #475569;
        font-weight: 800;
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    }

    .od-loading-spinner {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        border: 3px solid #dbeafe;
        border-top-color: #2563eb;
        animation: odSpin 0.8s linear infinite;
    }

    @keyframes odSpin {
        to { transform: rotate(360deg); }
    }

    .od-row {
        display: grid;
        gap: 6px;
        min-width: 0;
        align-items: start;
        min-height: 0;
        height: auto;
        max-height: none;
        overflow: visible;
        padding-top: 4px;
    }

    .od-jaw {
        display: grid;
        gap: 10px;
        min-height: 0;
        height: auto;
        max-height: none;
        overflow: visible;
        align-content: start;
    }

    .od-jaw-title {
        font-weight: 900;
        color: #0f172a;
        font-size: 1rem;
        margin: 0 0 4px 0;
        line-height: 1.2;
        min-height: 24px;
        padding-top: 0;
    }

    .od-tooth {
        border: 0;
        border-radius: 0;
        padding: 2px 2px 6px;
        background: transparent;
        position: relative;
        min-height: 0;
        height: auto;
        max-height: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        overflow: visible;
    }

    .od-tooth-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        min-height: 0;
        margin-bottom: 6px;
        padding-top: 0;
        width: 100%;
        flex: 0 0 auto;
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .od-tooth-icon {
        width: 76px;
        height: 142px;
        opacity: 1;
        color: #cbd5e1;
    }

    .od-tooth-icon-frame {
        width: min(82px, 100%);
        height: 144px;
        overflow: visible;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        flex: 0 0 auto;
        position: relative;
    }

    #odontogram[data-od-tipo="infantil"] .od-row {
        max-width: 760px;
        margin-inline: auto;
    }

    #odontogram[data-od-tipo="infantil"] .od-tooth-icon-frame {
        width: min(74px, 100%);
        height: 132px;
    }

    #odontogram[data-od-tipo="infantil"] .od-tooth-icon {
        width: 70px;
        height: 130px;
    }

    .od-tooth-icon-file {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        position: static;
        max-width: none;
        max-height: none;
        transform: none;
        transform-origin: center;
    }

    .od-caries-layer {
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 2;
    }

    .od-caries-layer:empty {
        display: none;
    }

    .od-root-remnant {
        position: absolute;
        inset: 0;
        display: none;
        pointer-events: none;
        z-index: 8;
        background-image: var(--od-root-remnant-image);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        transform-origin: center center;
    }

    .od-root-remnant.is-ready {
        display: block;
    }

    .od-absent-tooth {
        position: absolute;
        inset: 0;
        display: none;
        pointer-events: none;
        z-index: 9;
        background-image: var(--od-absent-tooth-image);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        transform-origin: center center;
    }

    .od-absent-tooth.is-ready {
        display: block;
    }

    .od-absent-tooth.od-absent-tooth-fallback {
        inset: 8% 18% 10%;
        background: #ffffff;
        border: 1.2px dashed rgba(100, 116, 139, 0.62);
        border-radius: 44% 56% 48% 52%;
    }

    .od-extraction-tooth {
        position: absolute;
        inset: 6% 8% 8%;
        display: block;
        pointer-events: none;
        z-index: 12;
        filter: drop-shadow(0 1px 2px rgba(220, 38, 38, 0.18));
    }

    .od-extraction-tooth::before,
    .od-extraction-tooth::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 86%;
        height: 3px;
        background: #dc2626;
        border: 0.8px solid rgba(255, 255, 255, 0.92);
        border-radius: 999px;
        transform-origin: center;
        box-shadow: 0 0 0 0.6px rgba(220, 38, 38, 0.45);
    }

    .od-extraction-tooth::before {
        transform: translate(-50%, -50%) rotate(43deg);
    }

    .od-extraction-tooth::after {
        transform: translate(-50%, -50%) rotate(-43deg);
    }

    .od-extraction-kind-incisor {
        inset: 8% 22% 10%;
    }

    .od-extraction-kind-canine,
    .od-extraction-kind-premolar {
        inset: 7% 16% 9%;
    }

    .od-extraction-kind-molar {
        inset: 10% 8% 11%;
    }

    .od-implant-tooth {
        position: absolute;
        inset: 0;
        display: none;
        pointer-events: none;
        z-index: 10;
        background-image: var(--od-implant-tooth-image);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        transform-origin: center center;
    }

    .od-implant-tooth.is-ready {
        display: block;
    }

    .od-implant-tooth-fallback {
        inset: -3% -4%;
        display: block;
        background: #ffffff;
    }

    .od-implant-tooth-fallback::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 12%;
        width: 26%;
        height: 76%;
        transform: translateX(-50%);
        border-radius: 14px 14px 8px 8px;
        border: 1.8px solid #334155;
        background:
            repeating-linear-gradient(180deg, transparent 0 8%, rgba(15, 23, 42, 0.78) 8% 10%, transparent 10% 16%),
            linear-gradient(180deg, #7b8492 0%, #64748b 54%, #4b5563 100%);
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.14),
            0 1px 3px rgba(15, 23, 42, 0.15);
    }

    .od-implant-tooth-fallback::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 9%;
        width: 34%;
        height: 8%;
        transform: translateX(-50%);
        border-radius: 999px 999px 6px 6px;
        border: 1.5px solid #334155;
        background: linear-gradient(180deg, #9ca3af, #64748b);
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
    }

    .od-implant-tooth-fallback.od-implant-upper::after {
        top: auto;
        bottom: 8%;
        border-radius: 6px 6px 999px 999px;
    }

    .od-implant-tooth-fallback.od-implant-lower::after {
        top: 8%;
    }

    .od-implant-tooth-fallback.od-implant-kind-molar::before {
        width: 38%;
    }

    .od-implant-tooth-fallback.od-implant-kind-molar::after {
        width: 48%;
    }

    .od-implant-tooth-fallback.od-implant-kind-premolar::before {
        width: 31%;
    }

    .od-implant-tooth-fallback.od-implant-kind-premolar::after {
        width: 40%;
    }

    .od-caries-spot {
        position: absolute;
        display: block;
        --od-caries-rotation: 0deg;
        --od-caries-scale: 1;
        background: rgba(239, 68, 68, 0.58);
        border: 1px solid rgba(153, 27, 27, 0.72);
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.3) inset,
            0 1px 5px rgba(153, 27, 27, 0.18);
        mix-blend-mode: multiply;
        cursor: grab;
        pointer-events: auto;
        touch-action: none;
        user-select: none;
        transform: rotate(var(--od-caries-rotation)) scale(var(--od-caries-scale));
        transform-origin: center center;
    }

    .od-caries-spot.is-dragging {
        cursor: grabbing;
        opacity: 0.92;
        z-index: 3;
    }

    .od-caries-spot::after {
        content: "";
        position: absolute;
        inset: 22% 18% 18% 24%;
        border-radius: 57% 43% 62% 38%;
        background: rgba(127, 29, 29, 0.18);
        transform: rotate(-14deg);
    }

    .od-caries-O {
        width: 16%;
        height: 11%;
        left: 42%;
        top: 28%;
        border-radius: 58% 42% 51% 49% / 47% 60% 40% 53%;
        --od-caries-rotation: -8deg;
    }

    .od-caries-B {
        width: 18%;
        height: 10%;
        left: 41%;
        top: 17%;
        border-radius: 48% 52% 61% 39% / 44% 58% 42% 56%;
        --od-caries-rotation: 9deg;
    }

    .od-caries-L {
        width: 18%;
        height: 10%;
        left: 41%;
        top: 40%;
        border-radius: 55% 45% 43% 57% / 55% 44% 56% 45%;
        --od-caries-rotation: -10deg;
    }

    .od-caries-M {
        width: 13%;
        height: 15%;
        left: 32%;
        top: 29%;
        border-radius: 52% 48% 59% 41% / 46% 55% 45% 54%;
        --od-caries-rotation: 12deg;
    }

    .od-caries-D {
        width: 13%;
        height: 15%;
        left: 55%;
        top: 29%;
        border-radius: 44% 56% 40% 60% / 56% 45% 55% 44%;
        --od-caries-rotation: -13deg;
    }

    .od-caries-lower.od-caries-M {
        --od-caries-rotation: -13deg;
    }

    .od-caries-lower.od-caries-D {
        --od-caries-rotation: 12deg;
    }

    .od-caries-variant-1 { filter: saturate(1.06); }
    .od-caries-variant-2 { filter: saturate(0.96) brightness(1.03); }
    .od-caries-variant-3 { filter: saturate(1.12) brightness(0.98); }

    .od-caries-black-1,
    .od-caries-black-2,
    .od-caries-black-3,
    .od-caries-black-4,
    .od-caries-black-5,
    .od-caries-black-6 { --od-caries-scale: var(--od-caries-size, 1); }

    .od-caries-black-badge {
        position: absolute;
        right: -7px;
        top: -7px;
        min-width: 12px;
        height: 12px;
        padding: 0 2px;
        border-radius: 999px;
        background: #ffffff;
        color: #991b1b;
        border: 1px solid rgba(185, 28, 28, 0.82);
        font-size: 6.8px;
        line-height: 11px;
        font-weight: 900;
        text-align: center;
        box-shadow: 0 1px 4px rgba(15, 23, 42, 0.13);
        pointer-events: none;
        z-index: 2;
        transform: scale(var(--od-caries-badge-scale, 1));
        transform-origin: center center;
    }

    .od-restoration-patch {
        position: absolute;
        display: block;
        background: linear-gradient(135deg, rgba(96, 165, 250, 0.72), rgba(37, 99, 235, 0.78));
        border: 1px solid rgba(29, 78, 216, 0.72);
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.45) inset,
            0 1px 3px rgba(29, 78, 216, 0.12);
        mix-blend-mode: multiply;
        cursor: grab;
        pointer-events: auto;
        touch-action: none;
        user-select: none;
    }

    .od-restoration-patch.is-dragging {
        cursor: grabbing;
        opacity: 0.96;
        z-index: 3;
    }

    .od-restoration-O {
        width: 18%;
        height: 10%;
        left: 41%;
        top: 28%;
        border-radius: 999px 850px 900px 780px;
        transform: rotate(-3deg);
    }

    .od-restoration-B {
        width: 20%;
        height: 8%;
        left: 40%;
        top: 18%;
        border-radius: 999px 820px 780px 900px;
        transform: rotate(2deg);
    }

    .od-restoration-L {
        width: 20%;
        height: 8%;
        left: 40%;
        top: 41%;
        border-radius: 850px 999px 900px 760px;
        transform: rotate(-2deg);
    }

    .od-restoration-M {
        width: 11%;
        height: 15%;
        left: 33%;
        top: 30%;
        border-radius: 900px 680px 760px 999px;
        transform: rotate(13deg);
        transform-origin: center 65%;
    }

    .od-restoration-D {
        width: 11%;
        height: 15%;
        left: 55%;
        top: 30%;
        border-radius: 680px 900px 999px 760px;
        transform: rotate(-13deg);
        transform-origin: center 65%;
    }

    .od-restoration-lower.od-restoration-M {
        transform: rotate(-13deg);
    }

    .od-restoration-lower.od-restoration-D {
        transform: rotate(13deg);
    }

    .od-inlay-piece {
        position: absolute;
        display: block;
        background:
            linear-gradient(145deg, rgba(204, 251, 241, 0.9), rgba(15, 118, 110, 0.74)),
            linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 48%);
        border: 1.55px solid rgba(15, 118, 110, 0.92);
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.62) inset,
            0 1px 3px rgba(15, 23, 42, 0.12),
            0 0 5px rgba(20, 184, 166, 0.12);
        opacity: 0.96;
        pointer-events: auto;
        cursor: grab;
        touch-action: none;
        user-select: none;
    }

    .od-inlay-piece.is-dragging {
        cursor: grabbing;
        opacity: 0.96;
        z-index: 4;
    }

    .od-inlay-piece::after {
        content: "";
        position: absolute;
        inset: 17% 16%;
        border-top: 1px solid rgba(255, 255, 255, 0.72);
        border-left: 1px solid rgba(255, 255, 255, 0.52);
        border-right: 1px solid rgba(6, 95, 70, 0.12);
        border-bottom: 1px solid rgba(6, 95, 70, 0.1);
        border-radius: inherit;
        opacity: 0.78;
    }

    .od-inlay-crown {
        position: absolute;
        inset: 0;
        display: none;
        background:
            radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.5), transparent 34%),
            linear-gradient(145deg, rgba(153, 246, 228, 0.95), rgba(15, 118, 110, 0.78));
        opacity: 0.72;
        mix-blend-mode: multiply;
        pointer-events: none;
        transform-origin: center center;
        -webkit-mask-image: var(--od-tooth-mask);
        mask-image: var(--od-tooth-mask);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-size: contain;
        mask-size: contain;
    }

    .od-inlay-crown.is-mask-ready {
        display: block;
    }

    .od-inlay-lower.od-inlay-crown-O { clip-path: inset(6% 25% 70% 25% round 13px); }
    .od-inlay-lower.od-inlay-crown-B { clip-path: inset(6% 19% 80% 19% round 12px 12px 7px 7px); }
    .od-inlay-lower.od-inlay-crown-L { clip-path: inset(18% 19% 61% 19% round 7px 7px 12px 12px); }
    .od-inlay-lower.od-inlay-crown-M { clip-path: inset(6% 51% 70% 14% round 13px 5px 9px 13px); }
    .od-inlay-lower.od-inlay-crown-D { clip-path: inset(6% 14% 70% 51% round 5px 13px 13px 9px); }

    .od-inlay-upper.od-inlay-crown-O { clip-path: inset(71% 20% 6% 20% round 13px); }
    .od-inlay-upper.od-inlay-crown-B { clip-path: inset(71% 15% 18% 15% round 12px 12px 7px 7px); }
    .od-inlay-upper.od-inlay-crown-L { clip-path: inset(83% 15% 6% 15% round 7px 7px 12px 12px); }
    .od-inlay-upper.od-inlay-crown-M { clip-path: inset(71% 48% 6% 10% round 13px 5px 9px 13px); }
    .od-inlay-upper.od-inlay-crown-D { clip-path: inset(71% 10% 6% 48% round 5px 13px 13px 9px); }

    .od-inlay-kind-incisor.od-inlay-lower.od-inlay-crown-O,
    .od-inlay-kind-canine.od-inlay-lower.od-inlay-crown-O,
    .od-inlay-kind-premolar.od-inlay-lower.od-inlay-crown-O { clip-path: inset(4% 19% 78% 19% round 12px); }
    .od-inlay-kind-incisor.od-inlay-lower.od-inlay-crown-B,
    .od-inlay-kind-canine.od-inlay-lower.od-inlay-crown-B,
    .od-inlay-kind-premolar.od-inlay-lower.od-inlay-crown-B { clip-path: inset(4% 16% 86% 16% round 10px 10px 5px 5px); }
    .od-inlay-kind-incisor.od-inlay-lower.od-inlay-crown-L,
    .od-inlay-kind-canine.od-inlay-lower.od-inlay-crown-L,
    .od-inlay-kind-premolar.od-inlay-lower.od-inlay-crown-L { clip-path: inset(14% 16% 72% 16% round 5px 5px 10px 10px); }
    .od-inlay-kind-incisor.od-inlay-lower.od-inlay-crown-M,
    .od-inlay-kind-canine.od-inlay-lower.od-inlay-crown-M,
    .od-inlay-kind-premolar.od-inlay-lower.od-inlay-crown-M { clip-path: inset(4% 48% 78% 11% round 12px 5px 8px 12px); }
    .od-inlay-kind-incisor.od-inlay-lower.od-inlay-crown-D,
    .od-inlay-kind-canine.od-inlay-lower.od-inlay-crown-D,
    .od-inlay-kind-premolar.od-inlay-lower.od-inlay-crown-D { clip-path: inset(4% 11% 78% 48% round 5px 12px 12px 8px); }

    .od-inlay-kind-incisor.od-inlay-upper.od-inlay-crown-O,
    .od-inlay-kind-canine.od-inlay-upper.od-inlay-crown-O,
    .od-inlay-kind-premolar.od-inlay-upper.od-inlay-crown-O { clip-path: inset(78% 19% 4% 19% round 12px); }
    .od-inlay-kind-incisor.od-inlay-upper.od-inlay-crown-B,
    .od-inlay-kind-canine.od-inlay-upper.od-inlay-crown-B,
    .od-inlay-kind-premolar.od-inlay-upper.od-inlay-crown-B { clip-path: inset(78% 16% 13% 16% round 10px 10px 5px 5px); }
    .od-inlay-kind-incisor.od-inlay-upper.od-inlay-crown-L,
    .od-inlay-kind-canine.od-inlay-upper.od-inlay-crown-L,
    .od-inlay-kind-premolar.od-inlay-upper.od-inlay-crown-L { clip-path: inset(88% 16% 4% 16% round 5px 5px 10px 10px); }
    .od-inlay-kind-incisor.od-inlay-upper.od-inlay-crown-M,
    .od-inlay-kind-canine.od-inlay-upper.od-inlay-crown-M,
    .od-inlay-kind-premolar.od-inlay-upper.od-inlay-crown-M { clip-path: inset(78% 48% 4% 11% round 12px 5px 8px 12px); }
    .od-inlay-kind-incisor.od-inlay-upper.od-inlay-crown-D,
    .od-inlay-kind-canine.od-inlay-upper.od-inlay-crown-D,
    .od-inlay-kind-premolar.od-inlay-upper.od-inlay-crown-D { clip-path: inset(78% 11% 4% 48% round 5px 12px 12px 8px); }

    .od-inlay-kind-molar.od-inlay-lower.od-inlay-crown-O { clip-path: inset(6% 9% 70% 9% round 14px); }
    .od-inlay-kind-molar.od-inlay-lower.od-inlay-crown-B { clip-path: inset(6% 6% 80% 6% round 13px 13px 7px 7px); }
    .od-inlay-kind-molar.od-inlay-lower.od-inlay-crown-L { clip-path: inset(18% 6% 61% 6% round 7px 7px 13px 13px); }
    .od-inlay-kind-molar.od-inlay-lower.od-inlay-crown-M { clip-path: inset(6% 38% 70% 4% round 14px 5px 10px 14px); }
    .od-inlay-kind-molar.od-inlay-lower.od-inlay-crown-D { clip-path: inset(6% 4% 70% 38% round 5px 14px 14px 10px); }

    .od-inlay-kind-molar.od-inlay-upper.od-inlay-crown-O { clip-path: inset(72% 12% 6% 12% round 14px); }
    .od-inlay-kind-molar.od-inlay-upper.od-inlay-crown-B { clip-path: inset(72% 8% 18% 8% round 13px 13px 7px 7px); }
    .od-inlay-kind-molar.od-inlay-upper.od-inlay-crown-L { clip-path: inset(84% 8% 6% 8% round 7px 7px 13px 13px); }
    .od-inlay-kind-molar.od-inlay-upper.od-inlay-crown-M { clip-path: inset(72% 40% 6% 4% round 14px 5px 10px 14px); }
    .od-inlay-kind-molar.od-inlay-upper.od-inlay-crown-D { clip-path: inset(72% 4% 6% 40% round 5px 14px 14px 10px); }

    .od-inlay-tooth-11.od-inlay-upper.od-inlay-crown-O,
    .od-inlay-tooth-12.od-inlay-upper.od-inlay-crown-O,
    .od-inlay-tooth-21.od-inlay-upper.od-inlay-crown-O,
    .od-inlay-tooth-22.od-inlay-upper.od-inlay-crown-O { clip-path: inset(78% 13% 4% 13% round 12px); }
    .od-inlay-tooth-11.od-inlay-upper.od-inlay-crown-B,
    .od-inlay-tooth-12.od-inlay-upper.od-inlay-crown-B,
    .od-inlay-tooth-21.od-inlay-upper.od-inlay-crown-B,
    .od-inlay-tooth-22.od-inlay-upper.od-inlay-crown-B { clip-path: inset(78% 11% 13% 11% round 10px 10px 5px 5px); }
    .od-inlay-tooth-11.od-inlay-upper.od-inlay-crown-L,
    .od-inlay-tooth-12.od-inlay-upper.od-inlay-crown-L,
    .od-inlay-tooth-21.od-inlay-upper.od-inlay-crown-L,
    .od-inlay-tooth-22.od-inlay-upper.od-inlay-crown-L { clip-path: inset(88% 11% 4% 11% round 5px 5px 10px 10px); }
    .od-inlay-tooth-11.od-inlay-upper.od-inlay-crown-M,
    .od-inlay-tooth-12.od-inlay-upper.od-inlay-crown-M,
    .od-inlay-tooth-21.od-inlay-upper.od-inlay-crown-M,
    .od-inlay-tooth-22.od-inlay-upper.od-inlay-crown-M { clip-path: inset(78% 43% 4% 8% round 12px 5px 8px 12px); }
    .od-inlay-tooth-11.od-inlay-upper.od-inlay-crown-D,
    .od-inlay-tooth-12.od-inlay-upper.od-inlay-crown-D,
    .od-inlay-tooth-21.od-inlay-upper.od-inlay-crown-D,
    .od-inlay-tooth-22.od-inlay-upper.od-inlay-crown-D { clip-path: inset(78% 8% 4% 43% round 5px 12px 12px 8px); }

    .od-inlay-tooth-31.od-inlay-lower.od-inlay-crown-O,
    .od-inlay-tooth-32.od-inlay-lower.od-inlay-crown-O,
    .od-inlay-tooth-41.od-inlay-lower.od-inlay-crown-O,
    .od-inlay-tooth-42.od-inlay-lower.od-inlay-crown-O { clip-path: inset(4% 13% 78% 13% round 12px); }
    .od-inlay-tooth-31.od-inlay-lower.od-inlay-crown-B,
    .od-inlay-tooth-32.od-inlay-lower.od-inlay-crown-B,
    .od-inlay-tooth-41.od-inlay-lower.od-inlay-crown-B,
    .od-inlay-tooth-42.od-inlay-lower.od-inlay-crown-B { clip-path: inset(4% 11% 86% 11% round 10px 10px 5px 5px); }
    .od-inlay-tooth-31.od-inlay-lower.od-inlay-crown-L,
    .od-inlay-tooth-32.od-inlay-lower.od-inlay-crown-L,
    .od-inlay-tooth-41.od-inlay-lower.od-inlay-crown-L,
    .od-inlay-tooth-42.od-inlay-lower.od-inlay-crown-L { clip-path: inset(14% 11% 72% 11% round 5px 5px 10px 10px); }
    .od-inlay-tooth-31.od-inlay-lower.od-inlay-crown-M,
    .od-inlay-tooth-32.od-inlay-lower.od-inlay-crown-M,
    .od-inlay-tooth-41.od-inlay-lower.od-inlay-crown-M,
    .od-inlay-tooth-42.od-inlay-lower.od-inlay-crown-M { clip-path: inset(4% 43% 78% 8% round 12px 5px 8px 12px); }
    .od-inlay-tooth-31.od-inlay-lower.od-inlay-crown-D,
    .od-inlay-tooth-32.od-inlay-lower.od-inlay-crown-D,
    .od-inlay-tooth-41.od-inlay-lower.od-inlay-crown-D,
    .od-inlay-tooth-42.od-inlay-lower.od-inlay-crown-D { clip-path: inset(4% 8% 78% 43% round 5px 12px 12px 8px); }

    .od-inlay-tooth-15.od-inlay-upper.od-inlay-crown-O,
    .od-inlay-tooth-25.od-inlay-upper.od-inlay-crown-O { clip-path: inset(76% 12% 4% 12% round 12px); }
    .od-inlay-tooth-15.od-inlay-upper.od-inlay-crown-B,
    .od-inlay-tooth-25.od-inlay-upper.od-inlay-crown-B { clip-path: inset(76% 10% 13% 10% round 10px 10px 5px 5px); }
    .od-inlay-tooth-15.od-inlay-upper.od-inlay-crown-L,
    .od-inlay-tooth-25.od-inlay-upper.od-inlay-crown-L { clip-path: inset(87% 10% 4% 10% round 5px 5px 10px 10px); }
    .od-inlay-tooth-15.od-inlay-upper.od-inlay-crown-M,
    .od-inlay-tooth-25.od-inlay-upper.od-inlay-crown-M { clip-path: inset(76% 42% 4% 7% round 12px 5px 8px 12px); }
    .od-inlay-tooth-15.od-inlay-upper.od-inlay-crown-D,
    .od-inlay-tooth-25.od-inlay-upper.od-inlay-crown-D { clip-path: inset(76% 7% 4% 42% round 5px 12px 12px 8px); }

    .od-inlay-tooth-35.od-inlay-lower.od-inlay-crown-O,
    .od-inlay-tooth-45.od-inlay-lower.od-inlay-crown-O { clip-path: inset(3% 12% 77% 12% round 12px); }
    .od-inlay-tooth-35.od-inlay-lower.od-inlay-crown-B,
    .od-inlay-tooth-45.od-inlay-lower.od-inlay-crown-B { clip-path: inset(3% 10% 85% 10% round 10px 10px 5px 5px); }
    .od-inlay-tooth-35.od-inlay-lower.od-inlay-crown-L,
    .od-inlay-tooth-45.od-inlay-lower.od-inlay-crown-L { clip-path: inset(13% 10% 71% 10% round 5px 5px 10px 10px); }
    .od-inlay-tooth-35.od-inlay-lower.od-inlay-crown-M,
    .od-inlay-tooth-45.od-inlay-lower.od-inlay-crown-M { clip-path: inset(3% 42% 77% 7% round 12px 5px 8px 12px); }
    .od-inlay-tooth-35.od-inlay-lower.od-inlay-crown-D,
    .od-inlay-tooth-45.od-inlay-lower.od-inlay-crown-D { clip-path: inset(3% 7% 77% 42% round 5px 12px 12px 8px); }

    .od-inlay-O {
        width: 46%;
        height: 25%;
        left: 27%;
        top: 22%;
        clip-path: polygon(18% 7%, 82% 7%, 97% 34%, 92% 74%, 66% 94%, 34% 94%, 8% 74%, 3% 34%);
        border-radius: 12px 12px 15px 15px;
        transform: rotate(-2deg);
    }

    .od-inlay-B {
        width: 48%;
        height: 17%;
        left: 26%;
        top: 13.5%;
        clip-path: polygon(18% 2%, 82% 2%, 97% 36%, 88% 98%, 12% 98%, 3% 36%);
        border-radius: 12px 12px 8px 8px;
        transform: rotate(1deg);
    }

    .od-inlay-L {
        width: 48%;
        height: 17%;
        left: 26%;
        top: 38.5%;
        clip-path: polygon(12% 2%, 88% 2%, 97% 64%, 82% 98%, 18% 98%, 3% 64%);
        border-radius: 8px 8px 12px 12px;
        transform: rotate(-1deg);
    }

    .od-inlay-M {
        width: 32%;
        height: 27%;
        left: 22%;
        top: 23%;
        clip-path: polygon(26% 4%, 100% 13%, 88% 86%, 48% 98%, 5% 78%, 0 30%);
        border-radius: 12px 7px 11px 14px;
        transform: rotate(3deg);
    }

    .od-inlay-D {
        width: 32%;
        height: 27%;
        left: 46%;
        top: 23%;
        clip-path: polygon(0 13%, 74% 4%, 100% 30%, 95% 78%, 52% 98%, 12% 86%);
        border-radius: 7px 12px 14px 11px;
        transform: rotate(-3deg);
    }

    .od-inlay-material-resina {
        background:
            radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.34), transparent 34%),
            linear-gradient(145deg, rgba(94, 234, 212, 0.9) 0%, rgba(20, 184, 166, 0.9) 100%);
        border-color: rgba(15, 118, 110, 0.94);
    }

    .od-inlay-material-porcelana {
        background:
            radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.42), transparent 34%),
            linear-gradient(145deg, rgba(251, 191, 36, 0.9) 0%, rgba(245, 158, 11, 0.9) 100%);
        border-color: rgba(180, 83, 9, 0.9);
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.58) inset,
            0 1px 3px rgba(15, 23, 42, 0.11),
            0 0 5px rgba(245, 158, 11, 0.16);
    }

    .od-inlay-material-zirconia {
        background:
            repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.26) 0 1px, transparent 1px 5px),
            linear-gradient(145deg, rgba(125, 211, 252, 0.9) 0%, rgba(14, 165, 233, 0.9) 100%);
        border-color: rgba(3, 105, 161, 0.86);
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.58) inset,
            0 1px 3px rgba(15, 23, 42, 0.11),
            0 0 5px rgba(14, 165, 233, 0.13);
    }

    .od-inlay-material-metal {
        background:
            repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 1px, rgba(15, 23, 42, 0.08) 1px 4px),
            linear-gradient(145deg, rgba(148, 163, 184, 0.9) 0%, rgba(71, 85, 105, 0.9) 100%);
        border-color: rgba(51, 65, 85, 0.88);
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.46) inset,
            0 1px 3px rgba(15, 23, 42, 0.16),
            0 0 5px rgba(100, 116, 139, 0.12);
    }

    .od-inlay-badge {
        position: absolute;
        right: auto;
        top: auto;
        min-width: 12px;
        height: 12px;
        padding: 0 2px;
        border-radius: 999px;
        background: #ffffff;
        color: #0f766e;
        border: 1px solid rgba(15, 118, 110, 0.82);
        font-size: 6.7px;
        line-height: 11px;
        font-weight: 900;
        text-align: center;
        box-shadow: 0 1px 4px rgba(15, 23, 42, 0.13);
        pointer-events: none;
        z-index: 2;
    }

    .od-inlay-badge-O,
    .od-inlay-badge-B,
    .od-inlay-badge-L {
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .od-inlay-badge-M {
        left: 34%;
        transform: translate(-50%, -50%);
    }

    .od-inlay-badge-D {
        left: 66%;
        transform: translate(-50%, -50%);
    }

    .od-inlay-badge-lower.od-inlay-badge-O { top: 8%; }
    .od-inlay-badge-lower.od-inlay-badge-B { top: 5%; }
    .od-inlay-badge-lower.od-inlay-badge-L { top: 19%; }
    .od-inlay-badge-lower.od-inlay-badge-M,
    .od-inlay-badge-lower.od-inlay-badge-D { top: 9%; }

    .od-inlay-badge-upper.od-inlay-badge-O { top: 79%; }
    .od-inlay-badge-upper.od-inlay-badge-B { top: 74%; }
    .od-inlay-badge-upper.od-inlay-badge-L { top: 90%; }
    .od-inlay-badge-upper.od-inlay-badge-M,
    .od-inlay-badge-upper.od-inlay-badge-D { top: 80%; }

    .od-inlay-badge-porcelana {
        color: #92400e;
        border-color: rgba(146, 94, 19, 0.8);
    }

    .od-inlay-badge-zirconia {
        color: #0369a1;
        border-color: rgba(3, 105, 161, 0.8);
    }

    .od-inlay-badge-metal {
        color: #334155;
        border-color: rgba(71, 85, 105, 0.8);
    }

    .od-full-crown {
        position: absolute;
        inset: 0;
        display: none;
        pointer-events: none;
        z-index: 0;
        opacity: 1;
        mix-blend-mode: normal;
        transform-origin: center center;
        -webkit-mask-image: var(--od-tooth-mask);
        mask-image: var(--od-tooth-mask);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-size: contain;
        mask-size: contain;
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.34) inset,
            0 1px 5px rgba(15, 23, 42, 0.11);
    }

    .od-full-crown.is-mask-ready {
        display: block;
    }

    .od-full-crown.is-crown-mask-ready {
        clip-path: none !important;
    }

    .od-full-crown::after {
        content: none;
    }

    .od-full-crown-kind-molar.od-full-crown-lower { clip-path: inset(3% 2% 56% 2% round 18px 18px 12px 12px); }
    .od-full-crown-kind-premolar.od-full-crown-lower { clip-path: inset(1% 8% 58% 8% round 16px 16px 12px 12px); }
    .od-full-crown-kind-canine.od-full-crown-lower,
    .od-full-crown-kind-incisor.od-full-crown-lower { clip-path: inset(1% 9% 57% 9% round 17px 17px 13px 13px); }

    .od-full-crown-kind-molar.od-full-crown-upper { clip-path: inset(58% 2% 3% 2% round 12px 12px 18px 18px); }
    .od-full-crown-kind-premolar.od-full-crown-upper { clip-path: inset(58% 8% 1% 8% round 12px 12px 16px 16px); }
    .od-full-crown-kind-canine.od-full-crown-upper,
    .od-full-crown-kind-incisor.od-full-crown-upper { clip-path: inset(57% 9% 1% 9% round 13px 13px 17px 17px); }

    .od-full-crown-material-metal_porcelana {
        background-color: #aab5c4;
        background-image: repeating-linear-gradient(125deg, rgba(255, 255, 255, 0.16) 0 2px, rgba(51, 65, 85, 0.1) 2px 6px);
        border-color: rgba(71, 85, 105, 0.74);
    }

    .od-full-crown-material-zirconia {
        background-color: #c7e8f7;
        background-image: repeating-linear-gradient(125deg, rgba(255, 255, 255, 0.2) 0 2px, rgba(3, 105, 161, 0.08) 2px 6px);
        border-color: rgba(14, 165, 233, 0.46);
    }

    .od-full-crown-material-disilicato {
        background-color: #edbd54;
        background-image: repeating-linear-gradient(125deg, rgba(255, 255, 255, 0.16) 0 2px, rgba(146, 64, 14, 0.08) 2px 6px);
        border-color: rgba(217, 119, 6, 0.58);
    }

    .od-full-crown-material-provisional {
        background-color: #c4b5fd;
        background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.18) 0 3px, rgba(91, 33, 182, 0.1) 3px 8px);
        border-color: rgba(109, 40, 217, 0.5);
    }

    .od-full-crown-badge {
        position: absolute;
        left: 50%;
        min-width: 13px;
        height: 13px;
        padding: 0 2px;
        border-radius: 999px;
        background: #ffffff;
        color: #475569;
        border: 1px solid rgba(71, 85, 105, 0.72);
        font-size: 6.5px;
        line-height: 12px;
        font-weight: 900;
        text-align: center;
        transform: translate(-50%, -50%);
        box-shadow: 0 1px 4px rgba(15, 23, 42, 0.13);
        pointer-events: none;
        z-index: 3;
    }

    .od-full-crown-badge-lower { top: 12%; }
    .od-full-crown-badge-upper { top: 78%; }

    .od-full-crown-badge-zirconia {
        color: #0369a1;
        border-color: rgba(3, 105, 161, 0.62);
    }

    .od-full-crown-badge-disilicato,
    .od-full-crown-badge-provisional {
        color: #92400e;
        border-color: rgba(180, 83, 9, 0.62);
    }

    .od-endo-layer {
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 1;
    }

    .od-endo-layer:empty {
        display: none;
    }

    .od-endo-canal {
        position: absolute;
        display: block;
        left: 50%;
        top: 33%;
        width: 3.5px;
        height: 47%;
        border-radius: 999px;
        transform: translateX(-50%);
        background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 62%, #b45309 100%);
        border: 1px solid rgba(146, 64, 14, 0.58);
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.32) inset,
            0 0 5px rgba(245, 158, 11, 0.26);
        opacity: 0.92;
    }

    .od-endo-post {
        position: absolute;
        display: block;
        left: 50%;
        top: 27%;
        width: 6px;
        height: 54%;
        border-radius: 999px;
        transform: translateX(-50%);
        border: 1px solid rgba(75, 85, 99, 0.68);
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.42) inset,
            0 1px 4px rgba(15, 23, 42, 0.14);
        opacity: 0.86;
    }

    .od-endo-post-metal {
        background: linear-gradient(90deg, #6b7280 0%, #f3f4f6 42%, #9ca3af 72%, #4b5563 100%);
        border-color: rgba(75, 85, 99, 0.58);
    }

    .od-endo-post-fibra {
        background: linear-gradient(90deg, rgba(186, 230, 253, 0.78), rgba(56, 189, 248, 0.84), rgba(14, 116, 144, 0.66));
        border-color: rgba(8, 145, 178, 0.58);
    }

    .od-endo-root-post {
        position: absolute;
        inset: 0;
        display: none;
        pointer-events: none;
        z-index: 0;
        opacity: 0.96;
        transform-origin: center center;
        -webkit-mask-image: var(--od-tooth-root-mask);
        mask-image: var(--od-tooth-root-mask);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-size: contain;
        mask-size: contain;
        filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.16));
    }

    .od-endo-root-post.is-mask-ready {
        display: block;
    }

    .od-endo-root-post-metal {
        background:
            radial-gradient(circle at 42% 18%, rgba(255, 255, 255, 0.18), transparent 30%),
            linear-gradient(90deg, rgba(31, 41, 55, 0.9) 0%, rgba(156, 163, 175, 0.98) 43%, rgba(75, 85, 99, 0.94) 72%, rgba(17, 24, 39, 0.92) 100%);
    }

    .od-endo-root-post-fibra {
        background:
            radial-gradient(circle at 42% 18%, rgba(255, 255, 255, 0.24), transparent 30%),
            linear-gradient(90deg, rgba(8, 145, 178, 0.82), rgba(56, 189, 248, 0.96), rgba(14, 116, 144, 0.82));
    }

    .od-endo-molar .od-endo-canal,
    .od-endo-molar .od-endo-post {
        width: 2.3px;
        height: 40%;
        top: 37%;
    }

    .od-endo-molar .od-endo-post {
        width: 3.8px;
        top: 33%;
        height: 45%;
    }

    .od-endo-line-left { left: 41%; transform: translateX(-50%) rotate(4deg); }
    .od-endo-line-mid { left: 50%; transform: translateX(-50%); }
    .od-endo-line-right { left: 59%; transform: translateX(-50%) rotate(-4deg); }

    .od-endo-upper .od-endo-canal {
        top: 19%;
        height: 45%;
    }

    .od-endo-upper .od-endo-post {
        top: 16%;
        height: 50%;
    }

    .od-endo-badge {
        position: absolute;
        right: 18%;
        top: 23%;
        min-width: 12px;
        height: 12px;
        padding: 0 2px;
        border-radius: 999px;
        background: #ffffff;
        color: #92400e;
        border: 1px solid rgba(245, 158, 11, 0.82);
        font-size: 6.8px;
        line-height: 11px;
        font-weight: 900;
        text-align: center;
        box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
    }

    .od-endo-badge-metal {
        color: #374151;
        border-color: rgba(107, 114, 128, 0.82);
        background: #e5e7eb;
    }

    .od-endo-badge-fibra {
        color: #075985;
        border-color: rgba(14, 165, 233, 0.82);
    }

    .od-endo-molar .od-endo-badge {
        right: 14%;
        top: 27%;
        transform: scale(0.92);
        transform-origin: center;
    }

    .od-endo-lower .od-endo-badge {
        top: 64%;
    }

    .od-endo-lower.od-endo-molar .od-endo-badge {
        top: 62%;
    }

    .od-tooth-num {
        text-align: center;
        font-weight: 900;
        font-size: 0.93rem;
        color: #0f172a;
        line-height: 1;
        margin: 0;
        min-height: 20px;
        flex: 0 0 auto;
    }

    .od-surface-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 3px;
        margin-top: 1px;
        width: 100%;
        max-width: 70px;
        flex: 0 0 auto;
    }

    .od-surface {
        border: 1px solid #cbd5e1;
        background: #ffffff;
        border-radius: 4px;
        height: 15px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 9px;
        font-weight: 800;
        color: #64748b;
        user-select: none;
    }

    .od-surface[data-pos="O"] { grid-column: 2; grid-row: 2; }
    .od-surface[data-pos="B"] { grid-column: 2; grid-row: 1; }
    .od-surface[data-pos="L"] { grid-column: 2; grid-row: 3; }
    .od-surface[data-pos="M"] { grid-column: 1; grid-row: 2; }
    .od-surface[data-pos="D"] { grid-column: 3; grid-row: 2; }

    .od-status-caries { background: #ef4444; border-color: #ef4444; }
    .od-status-restauracion { background: #2563eb; border-color: #2563eb; }
    .od-status-ausente { background: #94a3b8; border-color: #94a3b8; }
    .od-status-endodoncia { background: #f59e0b; border-color: #f59e0b; }
    .od-status-implante { background: #475569; border-color: #475569; }
    .od-status-incrustacion { background: #22c55e; border-color: #22c55e; }
    .od-status-corona { background: #8b5cf6; border-color: #8b5cf6; }
    .od-status-resto_radicular { background: #ef4444; border-color: #ef4444; }
    .od-status-extraccion_indicada { background: #dc2626; border-color: #dc2626; }

    .od-surface.od-active-label { color: #ffffff; }

    .od-surface[data-pos="O"] { grid-column: 2; grid-row: 2; }
    .od-surface[data-pos="B"] { grid-column: 2; grid-row: 1; }
    .od-surface[data-pos="L"] { grid-column: 2; grid-row: 3; }
    .od-surface[data-pos="M"] { grid-column: 1; grid-row: 2; }
    .od-surface[data-pos="D"] { grid-column: 3; grid-row: 2; }

    .od-status-caries { background: #ef4444; border-color: #ef4444; }
    .od-status-restauracion { background: #2563eb; border-color: #2563eb; }
    .od-status-ausente { background: #94a3b8; border-color: #94a3b8; }
    .od-status-endodoncia { background: #f59e0b; border-color: #f59e0b; }
    .od-status-implante { background: #475569; border-color: #475569; }
    .od-status-incrustacion { background: #22c55e; border-color: #22c55e; }
    .od-status-corona { background: #8b5cf6; border-color: #8b5cf6; }
    .od-status-resto_radicular { background: #ef4444; border-color: #ef4444; }
    .od-status-extraccion_indicada { background: #dc2626; border-color: #dc2626; }

    .od-extra {
        margin-top: 10px;
        display: flex;
        align-items: stretch;
        gap: 10px;
        flex-wrap: wrap;
    }

    .od-extra-item {
        display: none;
        flex: 1 1 360px;
        border: 1px solid #d9e5f3;
        border-radius: 12px;
        background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
        padding: 10px 12px;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    }

    .od-extra-item.is-visible {
        display: block;
        animation: odExtraIn 160ms ease-out;
    }

    .od-extra-head {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
    }

    .od-extra-dot {
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: #2563eb;
        box-shadow: 0 0 0 4px #dbeafe;
        flex: 0 0 auto;
    }

    .od-extra-item label {
        margin: 0;
        color: #334155;
        font-size: 0.79rem;
        font-weight: 900;
        white-space: nowrap;
    }

    .od-extra-help {
        margin-left: auto;
        color: #64748b;
        font-size: 0.72rem;
        font-weight: 800;
        line-height: 1.1;
        text-align: right;
    }

    .od-extra-options {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .od-black-guide {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
    }

    .od-black-chip {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        border: 1px solid #dbe5f2;
        border-radius: 999px;
        background: #ffffff;
        color: #475569;
        font-size: 0.72rem;
        font-weight: 800;
        padding: 5px 9px;
        line-height: 1.1;
    }

    .od-black-chip strong {
        display: inline-grid;
        place-items: center;
        width: 16px;
        height: 16px;
        border-radius: 999px;
        background: #fee2e2;
        color: #991b1b;
        font-size: 0.68rem;
        font-weight: 950;
    }

    .od-opt-btn {
        border: 1px solid #cbd5e1;
        border-radius: 999px;
        padding: 6px 11px;
        background: #ffffff;
        color: #334155;
        font-size: 0.78rem;
        font-weight: 800;
        line-height: 1.1;
        transition: all 130ms ease;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    }

    .od-opt-btn:hover {
        border-color: #93c5fd;
        color: #1e3a8a;
        background: #eff6ff;
        transform: translateY(-1px);
    }

    .od-opt-btn.is-active {
        border-color: #2563eb;
        background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 60%, #0ea5e9 100%);
        color: #ffffff;
        box-shadow: 0 8px 18px rgba(37, 99, 235, 0.26);
    }

    .od-extra-native {
        position: absolute !important;
        left: -9999px !important;
        width: 1px !important;
        height: 1px !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    @keyframes odExtraIn {
        0% {
            opacity: 0;
            transform: translateY(-4px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .x-notes-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .x-note-box {
        border: 1px solid #dbe3ef;
        border-radius: 12px;
        padding: 12px;
        background: #f8fafc;
    }

    .x-note-box label {
        margin-bottom: 6px;
        color: #334155;
        font-size: 0.8rem;
        font-weight: 800;
    }

    .x-note-box textarea {
        width: 100%;
        min-height: 120px;
        border: 1px solid #cbd5e1;
        border-radius: 10px;
        padding: 10px;
        resize: vertical;
        color: #0f172a;
        font-weight: 600;
        background: #fff;
    }

    .perio-shell {
        border: 1px solid #dbe3ef;
        border-radius: 14px;
        padding: 12px;
        background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    }

    .perio-shell.is-loading {
        min-height: 260px;
        display: grid;
        place-items: center;
    }

    .perio-shell.is-loading .perio-face-stack {
        display: none;
    }

    .perio-loading {
        display: none;
        align-items: center;
        gap: 14px;
        padding: 14px 18px;
        border-radius: 18px;
        border: 1px solid #dbeafe;
        background: linear-gradient(135deg, #ffffff, #f8fbff);
        color: #475569;
        font-weight: 800;
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    }

    .perio-shell.is-loading .perio-loading {
        display: flex;
    }

    .perio-loading-spinner {
        flex: 0 0 auto;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: 3px solid #dbeafe;
        border-top-color: #2563eb;
        animation: odSpin 0.8s linear infinite;
    }

    .perio-loading strong {
        display: block;
        color: #0f172a;
        line-height: 1.15;
    }

    .perio-loading span:last-child {
        display: block;
        margin-top: 2px;
        color: #64748b;
        font-size: 0.78rem;
    }

    .perio-face-stack {
        display: grid;
        gap: 14px;
    }

    .perio-face-block {
        border: 1px solid #d8e1ef;
        border-radius: 12px;
        padding: 10px;
        background: #ffffff;
    }

    .perio-face-title {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 5px 12px;
        border-radius: 999px;
        border: 1px solid #bfdbfe;
        background: #eff6ff;
        color: #1e3a8a;
        font-size: 0.78rem;
        font-weight: 900;
        margin-bottom: 10px;
    }

    .perio-grid-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 10px;
    }

    .perio-grid-half {
        overflow-x: hidden;
    }

    .perio-table {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
        min-width: 0;
        background: #fff;
    }

    .perio-table th,
    .perio-table td {
        border: 1px solid #6b7280;
        padding: 3px 2px;
        text-align: center;
        vertical-align: middle;
        font-size: 0.72rem;
        color: #374151;
        font-weight: 700;
        overflow: hidden;
    }

    .perio-table th {
        background: #eef2f7;
        color: #111827;
        font-size: 0.84rem;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .perio-table .perio-head-row > th,
    .perio-table .perio-foot-row > th {
        height: 29px;
    }

    .perio-table .perio-data-row > td {
        height: 23px;
    }

    .perio-label-col {
        width: 104px;
        text-align: right !important;
        padding-right: 8px !important;
        font-weight: 800 !important;
        color: #4b5563 !important;
        background: #f8fafc;
        font-size: 0.71rem !important;
        letter-spacing: 0.1px;
        white-space: nowrap;
    }

    .perio-label-spacer {
        color: transparent !important;
        user-select: none;
    }

    .perio-end-spacer {
        color: transparent !important;
        pointer-events: none;
        user-select: none;
    }

    .perio-end-label {
        text-align: center !important;
        padding-right: 0 !important;
        font-size: 0.66rem !important;
        letter-spacing: 0.02em !important;
        white-space: nowrap;
    }

    .perio-label-short {
        text-align: center !important;
        padding-right: 0 !important;
        font-size: 0.66rem !important;
        letter-spacing: 0.02em !important;
        white-space: nowrap;
    }

    .perio-cell-single {
        height: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .perio-input {
        width: 24px;
        min-width: 0;
        border: 0;
        outline: none;
        text-align: center;
        font-size: 0.74rem;
        font-weight: 800;
        color: #111827;
        background: transparent;
        padding: 0;
        line-height: 1;
    }

    .perio-input:focus {
        background: #dbeafe;
        border-radius: 4px;
    }

    .perio-triplet {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2px;
        align-items: center;
        width: 100%;
        max-width: 42px;
        min-height: 18px;
        margin: 0 auto;
    }

    .perio-mini-input {
        width: 100%;
        min-width: 0;
        border: 0;
        outline: none;
        text-align: center;
        font-size: 0.71rem;
        font-weight: 800;
        color: #374151;
        background: transparent;
        padding: 0;
        line-height: 1;
    }

    .perio-mini-input:focus {
        background: #dbeafe;
        border-radius: 3px;
    }

    .perio-check {
        appearance: none;
        -webkit-appearance: none;
        width: 10px;
        height: 10px;
        border: 1px solid #cbd5e1;
        border-radius: 2px;
        background: #f3f4f6;
        cursor: pointer;
        margin: 0;
        justify-self: center;
    }

    .perio-check:checked {
        background: #1d4ed8;
        border-color: #1d4ed8;
        box-shadow: inset 0 0 0 2px #fff;
    }

    .perio-check-sangrado {
        border-color: #cbd5e1;
        background: #f3f4f6;
    }

    .perio-check-sangrado:checked {
        background: #dc2626;
        border-color: #dc2626;
        box-shadow: inset 0 0 0 2px #fff;
    }

    .perio-check-placa {
        border-color: #cbd5e1;
        background: #f3f4f6;
    }

    .perio-check-placa:checked {
        background: #f59e0b;
        border-color: #d97706;
        box-shadow: inset 0 0 0 2px #fff;
    }

    .perio-single-check-wrap,
    .perio-furca-wrap {
        min-height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .perio-check-implante:checked {
        background: #111827;
        border-color: #111827;
        box-shadow: inset 0 0 0 2px #fff;
    }

    .perio-furca-btn {
        width: 22px;
        height: 18px;
        box-sizing: border-box;
        border: 1px solid #cbd5e1;
        border-radius: 3px;
        background: #fff;
        color: #111827;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.18rem;
        font-weight: 900;
        line-height: 0.9;
        padding: 0;
        cursor: pointer;
    }

    .perio-furca-btn:focus {
        outline: 2px solid #bfdbfe;
        outline-offset: 1px;
    }

    .perio-furca-btn-open {
        color: transparent;
        position: relative;
    }

    .perio-furca-btn-open::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 10px;
        height: 10px;
        border: 2px solid #111827;
        border-radius: 999px;
        box-sizing: border-box;
        display: block;
    }

    .perio-furca-wrap-double {
        gap: 2px;
    }

    .perio-furca-wrap-double .perio-furca-btn,
    .perio-furca-wrap-double .perio-furca-disabled {
        width: 18px;
        height: 18px;
        border: 1px solid #cbd5e1;
        border-radius: 3px;
        background: #fff;
    }

    .perio-furca-disabled {
        min-height: 18px;
        display: block;
    }

    .perio-calculated {
        color: #0f172a;
        font-weight: 900;
        background: transparent;
    }

    .perio-chart-wrap {
        border: 1px solid #9ca3af;
        border-radius: 12px;
        padding: 8px;
        background: #fafafa;
        overflow: auto;
        margin-bottom: 10px;
    }

    .perio-svg {
        min-width: 1080px;
        border-radius: 10px;
        background: repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 9px,
            rgba(191, 219, 254, 0.22) 10px
        );
    }

/* Landing-only shell: keep the component exact while fitting inside the product preview. */
.clinical-demo .clinical-demo-view { background: #fff; }
.clinical-demo .od-shell { margin-top: 0; box-shadow: none; border-radius: 0; border: 0; padding: 14px; }
.clinical-demo .od-demo-controls { width: 100%; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.clinical-demo .od-demo-controls .od-state-group { flex: 1 1 620px; }
.clinical-demo .demo-od-button { min-height: 32px; padding: 7px 12px; border: 1px solid #94a3b8; border-radius: 999px; background: #fff; color: #64748b; font: inherit; font-size: 10px; font-weight: 900; cursor: pointer; }
.clinical-demo .demo-od-button-primary { border-color: #2563eb; background: #2563eb; color: #fff; }
.clinical-demo .demo-od-button:disabled { cursor: default; opacity: .5; }
.clinical-demo .od-status-text { min-width: 0; font-size: 10px; }
.clinical-demo .od-grid { max-height: none; overflow-x: auto; }
.clinical-demo .perio-shell { margin-top: 0; box-shadow: none; }
.clinical-demo .perio-grid-half {
    min-width: 0;
    overflow-x: auto;
    scrollbar-color: #aac3e0 #eef4fa;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.clinical-demo .perio-table { min-width: 520px; }
.clinical-demo .perio-chart-wrap {
    overflow-x: auto;
    scrollbar-color: #aac3e0 #eef4fa;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.clinical-demo .print-only { display: none !important; }

/* Landing demo bridge styles */

@media (max-width: 620px) {
    .clinical-demo .perio-grid-row { grid-template-columns: minmax(0, 1fr); }
    .clinical-demo .perio-table { min-width: 560px; }
    .clinical-demo .perio-chart-wrap { padding: 8px; }
}

/* Conversion path: offer, price and demos stay visible as one coherent journey. */
.hero-offer {
    width: fit-content;
    max-width: 100%;
    margin-top: 20px;
    padding: 10px 13px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 18px;
    color: #27466f;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(151, 187, 245, .78);
    border-radius: 9px;
    box-shadow: 0 8px 20px rgba(40, 75, 126, .08);
}
.hero-offer-price { display: inline-flex; align-items: baseline; gap: 5px; }
.hero-offer-price span, .hero-offer-price small { color: #5e7390; font-size: 10px; font-weight: 800; }
.hero-offer-price strong { color: #123f83; font-size: 21px; line-height: 1; font-weight: 900; }
.hero-offer > span { display: inline-flex; align-items: center; gap: 6px; color: #3c5575; font-size: 11px; font-weight: 800; }
.hero-offer > span i { color: var(--green); }

.offer-strip { padding: 18px 0; background: #f5f9ff; border-bottom: 1px solid #d8e5f6; }
.offer-strip-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) auto auto; align-items: center; gap: 26px; }
.offer-strip-copy { min-width: 0; display: grid; gap: 2px; }
.offer-strip-copy .section-kicker { margin-bottom: 2px; font-size: 10px; }
.offer-strip-copy strong { color: var(--ink); font-size: 16px; line-height: 1.35; }
.offer-strip-copy > span:last-child { color: var(--muted); font-size: 11px; line-height: 1.45; }
.offer-strip-details { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 17px; }
.offer-strip-details span { display: inline-flex; align-items: center; gap: 6px; color: #47617f; font-size: 10px; font-weight: 800; white-space: nowrap; }
.offer-strip-details i { color: var(--blue); }
.offer-strip .button { min-width: 142px; }

.demo-cta { padding: 58px 0; background: linear-gradient(120deg, #eef5ff 0%, #f9fcff 62%, #effbf7 100%); border-top: 1px solid #dce8f7; border-bottom: 1px solid #dce8f7; }
.demo-cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 42px; }
.demo-cta h2 { margin: 8px 0 8px; color: var(--ink); font-size: clamp(26px, 3.3vw, 39px); line-height: 1.13; font-weight: 900; }
.demo-cta p { max-width: 620px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; font-weight: 600; }
.demo-cta .button { flex: 0 0 auto; }

@media (max-width: 1050px) {
    .offer-strip-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 17px 22px; }
    .offer-strip-details { grid-column: 1; justify-content: flex-start; }
    .offer-strip .button { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 820px) {
    .hero-offer { margin-top: 16px; }
    .offer-strip-inner { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px 18px; }
    .offer-strip-copy { flex: 1 1 320px; }
    .offer-strip-details { flex: 1 1 320px; justify-content: flex-start; }
    .offer-strip .button { flex: 0 0 auto; align-self: center; }
    .demo-cta-inner { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 620px) {
    .hero-offer { width: 100%; align-items: flex-start; flex-direction: column; gap: 7px; }
    .offer-strip { padding: 16px 0; }
    .offer-strip-inner { display: grid; grid-template-columns: 1fr; gap: 12px; }
    .offer-strip-details { display: grid; gap: 7px; }
    .offer-strip .button { width: 100%; grid-column: auto; grid-row: auto; }
    .demo-cta { padding: 45px 0; }
    .demo-cta .button { width: 100%; }
}
