:root {
  --ink: #20a9fe;
  --muted: #161816;
  --cream: #ededed;
  --paper: #ffffff;
  --sage: #c2e8f5;
  --deep: #2da2eb;
  --line: #d5e0e8;
  --coral: #79c7f5;
  --site-tint: color-mix(in srgb, var(--deep) 10%, var(--paper));
  --site-focus: color-mix(in srgb, var(--deep) 65%, var(--paper));
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; background: var(--cream); }
button, select, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.ambient { position: fixed; width: 38rem; height: 38rem; border-radius: 50%; filter: blur(2px); opacity: .45; pointer-events: none; z-index: -1; }
.ambient-one { top: -21rem; left: -14rem; background: radial-gradient(circle, var(--sage) 0, transparent 70%); }
.ambient-two { right: -18rem; top: 20rem; background: radial-gradient(circle, var(--site-tint) 0, transparent 70%); }
.site-header { max-width: 1180px; height: 86px; margin: auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid color-mix(in srgb, var(--deep) 12%, transparent); }
.brand { color: var(--ink); text-decoration: none; display: flex; gap: 11px; align-items: center; font: 700 18px Manrope, sans-serif; letter-spacing: -.4px; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; border: 1.5px solid var(--deep); border-radius: 50%; }
.brand-mark span { width: 14px; height: 7px; border-bottom: 2px solid var(--deep); border-radius: 0 0 20px 20px; }
.privacy-pill { display: flex; align-items: center; gap: 8px; color: #506158; font-size: 12px; font-weight: 600; letter-spacing: .2px; }
.privacy-pill span { width: 7px; height: 7px; border-radius: 50%; background: #52a16f; box-shadow: 0 0 0 4px rgba(82,161,111,.12); }
main { width: min(1040px, calc(100% - 36px)); margin: auto; }
.hero { text-align: center; padding: 68px 16px 36px; }
.practice-name { max-width: 960px; margin: 0 auto 14px; color: #000000; font-family: Manrope, sans-serif; font-size: clamp(32px, 4.8vw, 54px); font-weight: 600; line-height: 1.15; letter-spacing: -1.5px; overflow-wrap: anywhere; }
.eyebrow, .mini-label { margin: 0 0 15px; color: var(--deep); font-size: 11px; line-height: 1; font-weight: 700; letter-spacing: 2.2px; }
h1, h2 { font-family: Manrope, sans-serif; }
h1 { max-width: 760px; margin: 0 auto; font-size: clamp(42px, 6vw, 68px); line-height: 1.03; letter-spacing: -3.7px; }
h1 em { color: var(--deep); font-family: Georgia, serif; font-weight: 400; }
.lede { max-width: 620px; margin: 22px auto 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.studio-shell { width: min(790px, 100%); margin: 0 auto; }
.steps { display: flex; align-items: flex-start; width: min(500px, 96%); margin: 8px auto 24px; }
.step { width: 58px; text-align: center; color: #a4aaa6; font-size: 11px; font-weight: 600; }
.step span { width: 28px; height: 28px; display: grid; place-items: center; margin: auto; border: 1px solid #cfd2cc; border-radius: 50%; background: var(--cream); }
.step p { margin: 7px 0 0; }
.step.active { color: var(--deep); }
.step.active span { color: white; background: var(--deep); border-color: var(--deep); box-shadow: 0 5px 14px color-mix(in srgb, var(--deep) 20%, transparent); }
.step-line { flex: 1; height: 1px; margin-top: 14px; background: #cfd2cc; }
.card { min-height: 490px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 70px color-mix(in srgb, var(--deep) 10%, transparent); backdrop-filter: blur(12px); overflow: hidden; }
.panel { display: none; padding: 36px; }
.panel.active { display: block; animation: enter .4s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } }
.dropzone { height: 310px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1.5px dashed #b8c5bd; border-radius: 16px; background: linear-gradient(145deg, color-mix(in srgb, var(--sage) 60%, transparent), rgba(255,255,255,.25)); transition: .2s; cursor: pointer; outline: none; }
.dropzone:hover, .dropzone.dragging, .dropzone:focus-visible { border-color: var(--deep); background: var(--site-tint); transform: translateY(-2px); }
.upload-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--site-tint); color: var(--deep); margin-bottom: 18px; }
.upload-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.dropzone h2 { margin: 0 0 9px; font-size: 21px; letter-spacing: -.5px; }
.dropzone p { margin: 0; color: var(--muted); font-size: 14px; }
.text-button { appearance: none; border: 0; padding: 0; background: none; color: var(--deep); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.dropzone small { margin-top: 20px; color: #929993; font-size: 11px; }
.tip-row { display: flex; gap: 13px; align-items: center; max-width: 390px; margin: 24px auto 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.tip-row p { margin: 0; }.tip-row strong { color: var(--ink); }
.tip-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; background: #fae7df; color: #b55d42; border-radius: 50%; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 6px; }
.panel-heading h2 { margin: 0; font-size: 26px; letter-spacing: -1px; }.panel-heading .mini-label { margin-bottom: 10px; }
.panel-copy { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.ghost-button { padding: 10px 14px; color: var(--deep); border: 1px solid #cbd4ce; border-radius: 9px; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.crop-stage { position: relative; width: min(470px, 100%); aspect-ratio: 1; margin: auto; overflow: hidden; border-radius: 14px; background: #dfe5df; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none; overscroll-behavior: contain; }
.crop-stage:active { cursor: grabbing; }
/* Fit every cropper to its frame while keeping the canvas's backing resolution. */
.crop-stage > canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.face-guide { position: absolute; inset: 10%; border: 1.5px solid rgba(255,255,255,.9); border-radius: 48% 48% 42% 42%; box-shadow: 0 0 0 100vmax rgba(14,25,20,.29); pointer-events: none; }
.crop-hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); padding: 7px 11px; white-space: nowrap; color: white; background: rgba(20,30,25,.58); border-radius: 20px; font-size: 10px; letter-spacing: .4px; pointer-events: none; }
.zoom-control { display: flex; align-items: center; gap: 13px; width: min(450px, 90%); margin: 18px auto 22px; }
.zoom-control svg { width: 18px; fill: none; stroke: #657068; stroke-width: 1.6; }
.zoom-control input { flex: 1; accent-color: var(--deep); }
.action-row { display: flex; gap: 18px; align-items: flex-end; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); }
.model-field { display: flex; flex-direction: column; gap: 7px; flex: 1; }.model-field label { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.model-field select { max-width: 265px; padding: 11px 34px 11px 12px; color: var(--ink); border: 1px solid #cdd3ce; border-radius: 9px; background: white; font-size: 12px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 44px; padding: 0 18px; border: 1px solid var(--deep); border-radius: 9px; color: white; background: var(--deep); text-decoration: none; font-size: 12px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 20px color-mix(in srgb, var(--deep) 18%, transparent); transition: .2s; }
.primary-button:hover { background: color-mix(in srgb, var(--deep) 85%, #000); transform: translateY(-1px); }
.loading-panel { min-height: 490px; text-align: center; padding-top: 115px; }.loading-panel h2 { margin: 10px 0 12px; font-size: 28px; }.loading-panel > p:last-child { color: var(--muted); font-size: 13px; }
.loader-orbit { width: 74px; height: 74px; position: relative; margin: 0 auto 34px; border: 1px solid #c8d9ce; border-radius: 50%; animation: spin 2.4s linear infinite; }
.loader-orbit::before, .loader-orbit::after { content: ""; position: absolute; inset: 12px; border: 1px solid #e4c5b8; border-radius: 50%; }.loader-orbit::after { inset: 26px; background: var(--deep); border: 0; }
.loader-orbit span { position: absolute; top: -4px; left: 30px; width: 12px; height: 12px; background: var(--coral); border-radius: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-panel { padding-bottom: 30px; }.result-heading { margin-bottom: 6px; }.result-copy { margin-bottom: 18px; }.done-badge { padding: 7px 11px; color: var(--deep); background: var(--site-tint); border-radius: 20px; font-size: 10px; font-weight: 700; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.result-option { position: relative; margin: 0; padding: 0; aspect-ratio: 1; overflow: hidden; border: 3px solid transparent; border-radius: 6px; background: #e6e8e3; cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; }
.result-option:hover { transform: translateY(-2px); }.result-option:focus-visible { outline: 3px solid color-mix(in srgb, var(--deep) 25%, transparent); outline-offset: 2px; }.result-option.selected { border-color: var(--deep); box-shadow: 0 8px 24px color-mix(in srgb, var(--deep) 20%, transparent); }
.result-option img { width: 100%; height: 100%; display: block; object-fit: cover; }.result-label { position: absolute; left: 9px; bottom: 9px; padding: 6px 10px; border-radius: 20px; color: white; background: rgba(18,29,24,.68); font-size: 10px; font-weight: 700; }.selection-check { position: absolute; top: 9px; right: 9px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--deep); font-size: 12px; opacity: 0; transform: scale(.7); transition: .2s; }.result-option.selected .selection-check { opacity: 1; transform: scale(1); }
.result-actions { display: flex; justify-content: space-between; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }.download-button { min-width: 170px; }
.error-message { min-height: 20px; margin: 12px 0; color: #a53f32; text-align: center; font-size: 13px; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 790px; margin: 42px auto 80px; }
.trust-row > div { display: flex; align-items: center; gap: 14px; }.trust-row span { color: #ad7866; font: italic 18px Georgia, serif; }.trust-row p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }.trust-row strong { color: var(--ink); font-size: 12px; }
footer { display: flex; justify-content: space-between; max-width: 1180px; margin: auto; padding: 24px 28px; color: #89908b; border-top: 1px solid color-mix(in srgb, var(--deep) 12%, transparent); font-size: 10px; }
.site-nav { display: flex; gap: 22px; align-items: center; font-size: 13px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a[aria-current], .site-nav a:hover { color: var(--deep); text-decoration: underline; text-underline-offset: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
button:disabled { cursor: not-allowed; opacity: .48; transform: none; box-shadow: none; }
button:focus-visible, a:focus-visible, textarea:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid #719d84; outline-offset: 3px; }
[hidden] { display: none !important; }
.veneer-mode-options { border: 1px solid var(--line); border-radius: 12px; margin: 20px 0; padding: 16px; }
.veneer-mode-options legend, .veneer-library legend { font-weight: 700; font-size: 13px; padding: 0 6px; }
.veneer-mode-options label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; font-size: 13px; cursor: pointer; }
.veneer-mode-options small { display: block; margin-top: 5px; color: var(--muted); line-height: 1.5; }
.veneer-workspace input { accent-color: var(--deep); }
.mouth-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 20px; }
.mouth-points .tool-button { min-height: 40px; }
.veneer-workspace .zoom-control label { font-size: 12px; white-space: nowrap; }
.veneer-mini-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 16px 0 24px; font-size: 12px; align-items: center; }
.veneer-mini-actions label { display: inline-flex; align-items: center; gap: 6px; }
.veneer-library { padding: 14px; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.veneer-assets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.veneer-asset { min-width: 0; border: 2px solid var(--line); border-radius: 10px; background: #edf0eb; color: var(--ink); padding: 10px 5px; cursor: pointer; font-size: 11px; }
.veneer-asset[aria-pressed="true"] { border-color: var(--deep); background: #dceadf; }
.veneer-asset canvas { width: 100%; height: 45px; display: block; object-fit: contain; margin-bottom: 8px; }
.veneer-library > .ghost-button { margin: 14px 6px 0 0; }
.veneer-adjustments { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0 16px; }
.veneer-adjustments label { min-width: 0; font-size: 12px; color: var(--muted); }
.veneer-adjustments input { width: 100%; display: block; margin-top: 8px; }
.veneer-adjustments output { float: right; }
.veneer-finish { margin: 24px 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
#veneerFinishOptions { padding-top: 18px; }
#veneerFinishOptions label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
#veneerFinishOptions select { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: var(--paper); color: var(--ink); }
#veneerFinishOptions a { display: inline-block; margin-top: 14px; color: var(--deep); font-size: 12px; }
.result-grid:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-help { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 8px 0 0; }
.panel-copy { line-height: 1.65; }
.mask-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 20px 0 16px; }
.tool-button { padding: 9px 13px; border: 1px solid #cbd4ce; border-radius: 8px; background: transparent; color: var(--deep); font-size: 12px; cursor: pointer; }
.tool-button[aria-pressed="true"] { background: var(--deep); color: white; border-color: var(--deep); }
.mask-toolbar .text-button { margin-left: auto; font-size: 12px; }
#maskCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.crop-stage.painting, .crop-stage.painting:active { cursor: crosshair; }
.brush-control { display: flex; align-items: center; gap: 13px; margin: 0 auto 12px; width: min(450px, 90%); color: var(--muted); font-size: 12px; }
.brush-control input { flex: 1; min-width: 40px; accent-color: var(--deep); }
.brush-control output { min-width: 20px; }
.selection-status { font-size: 12px; line-height: 1.6; color: var(--deep); margin: 16px 0 0; }
.crop-panel .action-row { margin-top: 20px; }
.active-settings { flex: 1; min-width: 0; }
.active-settings > p:first-child { margin: 0 0 6px; font-size: 12px; color: var(--ink); line-height: 1.7; overflow-wrap: anywhere; }
.active-settings a { color: var(--deep); font-size: 12px; font-weight: 600; text-underline-offset: 3px; }
.billing-note { text-align: right; }
.result-preview { margin-top: 24px; display: flex; justify-content: center; border-radius: 12px; background: #e7e9e2; overflow: hidden; }
.result-preview img { max-width: 100%; max-height: 660px; object-fit: contain; display: block; }
.result-option img { object-fit: contain; }
.compare-button { display: block; margin: 14px auto 0; }
.settings-main { width: min(820px, calc(100% - 36px)); padding-bottom: 60px; }
.settings-hero { padding-top: 56px; }
.settings-hero h1 { font-size: clamp(40px, 6vw, 59px); }
.settings-hero .lede { max-width: 630px; font-size: 16px; }
.protection-note { display: flex; gap: 15px; padding: 21px 24px; background: #e6eee5; border: 1px solid #ceddce; border-radius: 14px; margin: 6px 0 30px; }
.protection-note > span { color: var(--deep); font-size: 23px; }
.protection-note strong { font-size: 14px; }
.protection-note p { color: #526457; font-size: 13px; line-height: 1.7; margin: 6px 0 0; }
.catalog-bar { display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.catalog-bar h2 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.5px; }
.catalog-bar p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.catalog-bar button { flex-shrink: 0; }
.catalog-source { margin: 10px 0 24px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.catalog-source a, .back-link { color: var(--deep); text-underline-offset: 3px; }
.settings-card { padding: 26px; margin: 16px 0; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 8px 24px rgba(47,63,53,.035); }
.settings-card label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.settings-card select, .settings-card textarea { display: block; width: 100%; min-width: 0; padding: 12px; color: var(--ink); border: 1px solid #cdd3ce; border-radius: 8px; background: white; font-size: 13px; line-height: 1.65; }
.settings-card textarea { margin-top: 10px; resize: vertical; }
.settings-card .optional { color: var(--muted); font-weight: 400; margin-left: 5px; font-size: 11px; }
.inline-controls { display: flex; align-items: center; gap: 12px; }
.inline-controls select { flex: 1; }
.inline-controls button { flex-shrink: 0; }
.variation-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.variation-heading h2 { margin: 0; font-size: 23px; letter-spacing: -.7px; }
.variation-number { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: #e6eee5; color: var(--deep); font: italic 16px Georgia, serif; }
.model-details { margin-bottom: 20px; overflow-wrap: anywhere; }
.prompt-count { font-size: 11px; }.invalid { color: #a53f32; }
.prompt-preview { margin-top: 14px; font-size: 12px; color: var(--deep); }
summary { cursor: pointer; line-height: 1.6; }
.prompt-preview pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--cream); border-radius: 8px; padding: 16px; font: 12px/1.8 "DM Sans", sans-serif; color: #526457; }
.prompt-protection { padding: 16px 8px; font-size: 12px; color: var(--muted); line-height: 1.8; }
.prompt-protection summary { color: var(--deep); font-weight: 600; }
.save-bar { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 24px 0; border-top: 1px solid var(--line); margin-top: 14px; }
#saveStatus { margin: 0; color: var(--deep); font-size: 13px; line-height: 1.5; }
.save-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.back-link { display: inline-block; font-size: 13px; }
.camera-actions { text-align: center; margin-bottom: 24px; }
.camera-button { min-height: 52px; padding: 0 32px; font-size: 15px; }
.camera-button > span { font-size: 24px; font-weight: 400; }
.camera-actions > p { font-size: 12px; line-height: 1.6; color: var(--muted); }
.connection-strip { width: min(790px, 100%); margin: 0 auto 26px; padding: 13px 17px; border: 1px solid #ceddce; border-radius: 11px; background: #eaf0e7; display: flex; align-items: center; gap: 10px; font-size: 12px; }
.connection-strip p { flex: 1; margin: 0; line-height: 1.6; }
.connection-strip a { color: var(--deep); white-space: nowrap; text-underline-offset: 3px; }
.connection-dot { width: 7px; height: 7px; border-radius: 50%; background: #519b70; flex-shrink: 0; }
.crop-confirm { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.treatment-options { border: 0; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.treatment-option { display: flex; align-items: flex-start; gap: 12px; padding: 18px; border: 1px solid #cbd4ce; border-radius: 12px; background: #fff; cursor: pointer; }
.treatment-option:has(input:checked) { background: #eaf2e8; border-color: var(--deep); box-shadow: inset 0 0 0 1px var(--deep); }
.treatment-option:has(input:focus-visible) { outline: 3px solid #98b8a5; outline-offset: 3px; }
.treatment-option input { accent-color: var(--deep); flex: 0 0 auto; margin: 3px 0; width: 18px; height: 18px; }
.treatment-option strong { display: block; font-size: 15px; }
.treatment-option small { display: block; margin-top: 6px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.treatment-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; }
.treatment-actions a { color: var(--deep); font-size: 12px; line-height: 1.7; }
.treatment-summary { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 10px; background: #eaf0e7; color: var(--deep); font-size: 13px; }
.treatment-summary > span { font-weight: 700; }
.treatment-summary .text-button { font-size: 12px; }
.smart-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 16px; border: 1px solid #d4dfd2; border-radius: 12px; background: #f0f5ed; margin: 16px 0; }
.smart-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; flex: 1; }
.smart-toggle input { width: 21px; height: 21px; accent-color: var(--deep); flex-shrink: 0; }
.smart-toggle strong { font-size: 13px; }.smart-toggle small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; line-height: 1.5; }
.edge-control { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--deep); }
.edge-control select { border: 1px solid #bccbbe; background: #fff; border-radius: 7px; padding: 9px; color: var(--deep); font: inherit; }
.smart-controls .field-help { flex-basis: 100%; margin: 0; }
.before-after { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; align-items: start; }
.before-after figure { margin: 0; background: #e8eae4; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.before-after figcaption { padding: 12px 15px; background: #eef2e9; color: var(--deep); font-size: 13px; font-weight: 600; }
.before-after img { display: block; width: 100%; height: auto; object-fit: contain; }
.share-status { text-align: center; margin: 17px 0 0; color: var(--deep); font-size: 12px; line-height: 1.6; }
.stitched-comparison { margin: 24px auto 0; width: 100%; max-width: 1300px; }
.stitched-comparison img { display: block; width: 100%; height: auto; }
.comparison-status { text-align: center; margin: 10px 0 14px; }
.comparison-style-panel { max-width: 720px; margin: 20px auto; border: 1px solid var(--line); border-radius: 12px; padding: 15px; }
.comparison-style-panel > summary { color: var(--deep); font-size: 13px; font-weight: 700; cursor: pointer; }
.comparison-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.comparison-label-group { border: 1px solid var(--line); border-radius: 9px; padding: 12px; margin: 0; min-width: 0; }
.comparison-label-group legend { font-weight: 700; font-size: 13px; padding: 0 5px; }
.comparison-label-field { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; margin: 12px 0; }
.comparison-label-field select { width: 100%; min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: var(--paper); }
.comparison-label-field input[type=range] { width: 100%; accent-color: var(--deep); }
.comparison-label-field input[type=color] { height: 34px; width: 68px; border: 1px solid var(--line); border-radius: 6px; padding: 3px; background: var(--paper); cursor: pointer; }
.comparison-controls > .field-help, .comparison-controls > .text-button { grid-column: 1 / -1; margin: 0; }
.comparison-controls > .text-button { justify-self: start; font-size: 12px; }
@media (max-width: 560px) { .comparison-controls { grid-template-columns: minmax(0, 1fr); } }
.comparison-label-field input[type=text] { min-width: 0; width: 60%; max-width: 190px; padding: 7px; border: 1px solid var(--line); border-radius: 6px; }
.export-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 16px 0 4px; }
.export-field, .export-presets > label { display: grid; gap: 8px; min-width: 0; font-size: 12px; }
.export-controls select, .export-presets input { width: 100%; min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--ink); }
.export-field input[type=range] { width: 100%; accent-color: var(--deep); }
.export-field input[type=color] { width: 80px; height: 34px; }
.export-check { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.export-check input { width: 18px; height: 18px; accent-color: var(--deep); }
.export-branding, .export-presets { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.export-branding[hidden] { display: none; }
.export-template-picker { margin: 22px 0; }
.template-choices { border: 0; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.template-choices legend { padding: 0 0 12px; font-size: 14px; font-weight: 700; }
.template-choice { position: relative; display: grid; gap: 6px; padding: 14px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; text-align: center; }
.template-choice input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.template-choice:has(input:checked) { border-color: var(--deep); box-shadow: inset 0 0 0 1px var(--deep); background: #edf5ef; }
.template-choice:has(input:focus-visible) { outline: 2px solid var(--deep); outline-offset: 3px; }
.template-choice strong { font-size: 13px; }.template-choice small { color: var(--muted); font-size: 11px; }
.template-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.template-tabs [aria-pressed=true] { color: white; background: var(--deep); border-color: var(--deep); }
.template-settings-card h2 { margin-top: 0; }
.template-settings-card .comparison-style-panel { max-width: none; }
.template-messaging { display: grid; gap: 16px; grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; }
.export-field input[type=text], .export-field textarea { min-width: 0; width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid var(--line); border-radius: 7px; font: inherit; background: white; color: var(--ink); }
.template-preview { margin: 24px auto; max-width: 600px; }.template-preview img { display: block; max-width: 100%; max-height: 650px; height: auto; margin: auto; }.template-preview img[hidden] { display: none; }
.template-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 26px; align-items: start; }
.template-preview-panel { position: sticky; top: 20px; padding: 18px; background: #f1f4ef; border: 1px solid var(--line); border-radius: 14px; }
.template-preview-choice label { display: block; font-weight: 700; margin-bottom: 10px; }
.template-preview-choice select { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: white; color: var(--ink); font-size: 14px; }
.template-preview-panel .template-preview { margin: 18px 0 0; }
.template-preview-panel .template-preview img { max-height: 60vh; box-shadow: 0 2px 16px #16334b14; }
@media (max-width: 800px) { .template-layout { grid-template-columns: minmax(0, 1fr); }.template-preview-panel { position: static; grid-row: 1; }.template-preview-panel .template-preview img { max-height: 360px; } }
.template-save-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.template-settings-card [hidden] { display: none !important; }
.export-branding > p, .export-checks, .export-presets > * { grid-column: 1 / -1; }
.export-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 26px; }
.export-presets button { justify-self: start; }
@media (max-width: 560px) { .export-controls, .export-branding { grid-template-columns: minmax(0, 1fr); } }
.comparison-save-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; }
a[aria-disabled="true"] { opacity: .5; cursor: wait; }
.comparison-style-panel .invalid { color: #a53f32; }
.create-feedback { margin: 12px 0; padding: 10px 12px; border-radius: 8px; background: #edf2ec; color: var(--deep); }
.create-feedback p { margin: 0; color: inherit; }
.create-feedback button { margin-top: 8px; }
.display-main { width: min(1500px, calc(100% - 60px)); padding: 48px 0 40px; }
.display-page .site-header { max-width: 1560px; }
.display-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.display-heading h1 { font-size: clamp(30px, 4vw, 50px); letter-spacing: -1.8px; max-width: none; }
.connection-badge { padding: 10px 14px; color: var(--deep); background: #e0ebdf; border-radius: 20px; font-size: 12px; text-align: center; }
.pairing-card { max-width: 900px; display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 32px; margin: 36px auto; }
.pairing-card h2 { margin: 0 0 10px; font-size: 25px; letter-spacing: -.6px; }
.pairing-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.qr-code { width: 190px; background: white; border-radius: 9px; padding: 4px; }
.qr-code svg { display: block; width: 100%; height: auto; }
.phone-url { display: inline-block; color: var(--deep); font-size: 14px; overflow-wrap: anywhere; text-underline-offset: 3px; }
.screen-pair { max-width: 1300px; margin: 30px auto 0; }
.screen-pair figcaption { font-size: 16px; }
.display-caption, .display-message { text-align: center; color: var(--muted); font-size: 14px; line-height: 1.7; }
.display-actions { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 24px; }
.display-actions .text-button { font-size: 12px; }
.display-actions a { text-decoration: none; }
.display-retention { text-align: center; margin: 22px auto 0; max-width: 650px; font-size: 11px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 650px) {
  .treatment-options { grid-template-columns: 1fr; gap: 10px; }.treatment-option { padding: 16px; }
  .treatment-actions { flex-direction: column; align-items: stretch; }.smart-toggle { flex-basis: 100%; }.edge-control { width: 100%; justify-content: space-between; }
  .site-header { height: 72px; padding: 0 10px; }.privacy-pill { font-size: 10px; }.hero { padding: 44px 4px 27px; }h1 { letter-spacing: -2.4px; }.lede { font-size: 15px; }.panel { padding: 20px; }.card { min-height: 440px; border-radius: 16px; }.dropzone { height: 280px; }.action-row { flex-direction: column; align-items: stretch; }.model-field select { max-width: none; width: 100%; }.primary-button { width: 100%; }.result-grid { gap: 8px; }.result-actions { gap: 10px; }.result-actions > * { flex: 1; }.trust-row { grid-template-columns: 1fr; margin: 32px 16px 55px; }.trust-row > div { justify-content: center; }footer { flex-direction: column; align-items: center; gap: 5px; }.loading-panel { padding-top: 95px; }
  .brand { font-size: 15px; gap: 7px; }.site-nav { gap: 12px; font-size: 11px; }.brand-mark { width: 27px; height: 27px; }
  .panel-heading h2 { font-size: 23px; }.panel-heading { gap: 12px; }.panel-heading > .ghost-button { flex-shrink: 0; }
  .settings-card { padding: 20px; }.protection-note { padding: 18px; }.catalog-bar { gap: 12px; }.catalog-bar h2 { font-size: 17px; }
  .save-bar { flex-direction: column; align-items: stretch; }.save-actions { width: 100%; }.save-actions > * { flex: 1; }.billing-note { text-align: left; }
  .mask-toolbar .text-button { width: 100%; margin: 5px 0 0; text-align: left; }.result-actions { flex-direction: column-reverse; }.result-actions .download-button { min-width: 0; }
  .inline-controls { flex-wrap: wrap; }.inline-controls select { flex-basis: 100%; }.inline-controls button { width: 100%; }
  .connection-strip { flex-wrap: wrap; }.connection-strip a { margin-left: 17px; }.connection-strip p { flex-basis: calc(100% - 20px); }
  .before-after { gap: 8px; }.before-after figcaption { padding: 10px; font-size: 11px; }.crop-confirm > * { flex: 1; }.camera-button { width: 100%; }
  .display-main { width: calc(100% - 30px); padding-top: 32px; }.display-heading { flex-direction: column; align-items: flex-start; gap: 16px; }.display-heading h1 { font-size: 35px; }
  .pairing-card { padding: 22px; grid-template-columns: 1fr; gap: 16px; }.qr-code { margin: auto; }.pairing-card h2 { font-size: 23px; }.display-page .site-nav { gap: 8px; }.display-page .site-nav .ghost-button { padding: 7px; font-size: 10px; }
  .display-page .brand { font-size: 13px; }.display-page .brand-mark { display: none; }.display-actions { gap: 16px; }
}

/* Accounts and device capture share the studio's existing typography and colors. */
.account-bar { max-width: 1180px; margin: 0 auto 12px; padding: 0 32px; display: flex; align-items: center; flex-wrap: wrap; gap: 18px; font-size: 13px; }
.account-bar > span { margin-right: auto; }
.auth-main { max-width: 600px; margin: 40px auto; padding: 0 18px; }
.auth-card, .camera-card { padding: clamp(22px, 5vw, 44px); }
.auth-card h1, .camera-card h1 { font-size: clamp(28px, 6vw, 42px); letter-spacing: -1px; margin: 12px 0; }
.auth-card form { display: grid; gap: 20px; margin-top: 26px; }
.auth-card label { display: grid; gap: 8px; font-weight: 600; }
.auth-card input { box-sizing: border-box; width: 100%; background: white; padding: 13px; border: 1px solid #d1d4cc; border-radius: 10px; font: inherit; font-size: 16px; }
.auth-card small { font-weight: 400; overflow-wrap: anywhere; }
.password-input { display: flex; align-items: center; gap: 12px; }
.password-input input { min-width: 0; }
.password-input button { flex-shrink: 0; font-size: 12px; }
.auth-card .remember-email { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 400; }
.auth-card .remember-email input { width: 18px; height: 18px; padding: 0; accent-color: var(--deep); }
.auth-tools { position: relative; z-index: 1; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 24px 18px; font: 13px/1.5 system-ui, sans-serif; }
.auth-tools[hidden] { display: none; }
.auth-tools a { color: var(--deep); }
/* A quiet, two-field entrance; saved page colors and element edits still apply. */
:root:where(:has(body.auth-page)) { --cream: #ffffff; --paper: #e3edf2; --deep: #2895fb; }
.auth-page { font-family: Helvetica, Arial, sans-serif; }
.auth-page .site-header { height: 110px; justify-content: center; border: 0; }
.auth-page .brand { color: #1fa6f9; font-size: 55px; letter-spacing: -1px; }
.auth-page .auth-main { width: min(480px, calc(100% - 40px)); max-width: 480px; margin: clamp(16px, 5vh, 56px) auto 28px; padding: 0; }
.auth-page .auth-card { min-height: 0; padding: clamp(24px, 6vw, 40px); border-color: color-mix(in srgb, var(--muted) 12%, transparent); box-shadow: 0 16px 48px color-mix(in srgb, var(--deep) 7%, transparent); backdrop-filter: none; }
.auth-mode { display: flex; gap: 4px; padding: 4px; margin-bottom: 32px; border-radius: 12px; background: var(--site-tint); }
.auth-mode > * { flex: 1; min-width: 0; }
.auth-mode a { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; border-radius: 9px; text-decoration: none; font-size: 14px; font-weight: 600; }
.auth-mode a[aria-current=page] { background: var(--paper); box-shadow: 0 2px 6px color-mix(in srgb, var(--muted) 8%, transparent); }
.auth-mode-login #authSwitchContainer { order: -1; }
.auth-page .auth-card h1 { font-size: clamp(27px, 6vw, 32px); line-height: 1.2; text-align: center; letter-spacing: -1px; }
.auth-page #authCopy { margin: 12px 0 0; color: var(--muted); text-align: center; font-size: 14px; line-height: 1.6; }
.auth-page .auth-card form { margin-top: 30px; gap: 22px; }
.auth-page .auth-card label { color: var(--muted); font-size: 13px; gap: 9px; }
.auth-page .auth-card input:not([type=checkbox]) { min-height: 52px; border-radius: 11px; padding: 14px; }
.auth-page .auth-card input::placeholder { color: color-mix(in srgb, var(--muted) 55%, var(--paper)); }
.auth-page .password-input { position: relative; }
.auth-page .password-input:has(button:not([hidden])) input { padding-right: 66px; }
.auth-page .password-input button { position: absolute; right: 8px; min-width: 48px; min-height: 44px; text-decoration: none; }
.auth-page #passwordHint { color: var(--muted); font-size: 12px; }
.auth-page :is(#authSubmit, #accessSubmit) { width: 100%; min-height: 52px; margin-top: 2px; border-radius: 11px; font-size: 15px; box-shadow: none; }
.auth-page #authSubmit:disabled { opacity: .65; cursor: wait; }
.auth-page :is(#authStatus, #authError) { margin: 18px 0 0; font-size: 13px; line-height: 1.6; text-align: center; }
.auth-page :is(#authStatus, #authError):empty { display: none; }
.auth-page :is(a, button, input):focus-visible { outline: 3px solid var(--site-focus); outline-offset: 3px; }
@media (max-width: 560px) { .auth-page .site-header { height: 90px; } .auth-page .auth-main { margin-top: 16px; } }
.profile-main { max-width: 800px; margin: 36px auto; padding: 0 14px; }
.profile-card { padding: clamp(22px, 5vw, 44px); }
.profile-card [hidden] { display: none !important; }
.profile-card p { line-height: 1.6; }
.profile-card h2 { margin: 0 0 12px; font-size: 25px; letter-spacing: -.5px; }
.profile-card h2:focus { outline: none; }
.profile-card .profile-step { margin: 0; }
.profile-progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0; list-style: none; margin: 28px 0 16px; gap: 8px; }
.profile-progress li { display: grid; justify-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.profile-step-number { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; width: 32px; height: 32px; font-size: 14px; background: white; }
.profile-progress [data-status=saved] .profile-step-number { background: var(--site-tint); color: var(--deep); }
.profile-progress [aria-current=step] { color: var(--deep); font-weight: 700; }
.profile-progress [aria-current=step] .profile-step-number { background: var(--deep); color: white; border-color: var(--deep); }
#profileProgressMeter { width: 100%; height: 5px; display: block; appearance: none; border: none; border-radius: 8px; overflow: hidden; background: var(--line); color: var(--deep); }
#profileProgressMeter::-webkit-progress-bar { background: var(--line); }
#profileProgressMeter::-webkit-progress-value { background: var(--deep); }
#profileProgressMeter::-moz-progress-bar { background: var(--deep); }
#profileAccount { overflow-wrap: anywhere; }
.profile-save-help { margin-bottom: 0; }
.profile-actions { margin-top: 28px; }
.profile-actions .primary-button { margin-left: auto; text-decoration: none; text-align: center; }
.profile-complete { padding: 28px 0; }
.profile-complete-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--site-tint); color: var(--deep); font-size: 28px; margin-bottom: 20px; }
.address-search { position: relative; }
.profile-card .address-search label { margin-bottom: 8px; }
.address-suggestions { position: absolute; top: 100%; left: 0; right: 0; z-index: 5; margin: 6px 0; padding: 5px; list-style: none; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: 0 10px 30px #16334b20; max-height: 260px; overflow: auto; }
.address-suggestions li { padding: 12px; border-radius: 6px; font-size: 14px; line-height: 1.45; min-height: 44px; cursor: pointer; overflow-wrap: anywhere; }
.address-suggestions li:hover, .address-suggestions [aria-selected=true] { background: var(--site-tint); color: var(--deep); }
.address-attribution { font-size: 11px; color: var(--muted); }
.address-attribution a, .address-map a { color: var(--deep); }
.address-map iframe { width: 100%; height: 220px; border: 1px solid var(--line); border-radius: 10px; background: var(--site-tint); }
.address-map a { display: inline-block; font-size: 12px; margin-top: 8px; }
.profile-card h1 { font-size: 36px; letter-spacing: -1px; }
.profile-card fieldset { padding: 0; border: 0; margin: 24px 0 0; min-width: 0; }
.profile-card label { display: grid; gap: 8px; margin: 18px 0; font-weight: 600; }
.profile-card input:not([type=file]), .profile-card textarea { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: white; font: inherit; font-size: 16px; }
.profile-card input[type=file] { width: 100%; font-size: 13px; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.profile-logo { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: center; }
.logo-preview { min-height: 130px; border: 1px solid var(--line); padding: 12px; border-radius: 10px; background: repeating-conic-gradient(#e5e5e5 0% 25%, #fff 0% 50%) 50% / 16px 16px; display: grid; place-items: center; font-size: 12px; }
.logo-preview img { width: 100%; max-height: 180px; object-fit: contain; }
.logo-preview [hidden] { display: none; }
.profile-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
@media (max-width: 560px) { .profile-grid, .profile-logo { grid-template-columns: minmax(0, 1fr); } .logo-preview { max-width: 200px; } }
.login-preview-bar { padding: 12px 24px; margin: 0 18px; border: 1px solid #c9d4cd; border-radius: 10px; background: var(--site-tint); color: var(--deep); display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font: 13px/1.5 system-ui, sans-serif; }
.login-preview-bar a { color: var(--deep); }
.login-preview-bar span { margin-right: auto; }
@media (max-width: 899px), (pointer: coarse) { .login-editor-link { display: none; } }
.auth-card [hidden], .camera-card [hidden], .capture-dialog [hidden] { display: none !important; }
.camera-main { max-width: 720px; margin: 20px auto 60px; padding: 0 14px; }
.capture-preview { display: block; max-height: 55vh; width: 100%; object-fit: contain; border-radius: 14px; margin: 18px 0; }
.capture-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin: 22px 0 8px; }
.capture-actions button { flex: 1; }
.capture-dialog { width: min(560px, calc(100% - 32px)); max-height: 90dvh; box-sizing: border-box; overflow: auto; padding: clamp(20px, 4vw, 32px); border: 1px solid var(--line); border-radius: 22px; color: var(--ink, #20a9fe); background: var(--paper, #ffffff); box-shadow: 0 24px 80px #0a203840; }
.capture-dialog::backdrop { background: #122d4570; backdrop-filter: blur(5px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.dialog-heading h2 { margin: 0; font-size: 24px; }
.capture-dialog p { line-height: 1.6; }
.capture-dialog video { display: block; background: #18344a; width: 100%; max-height: 50vh; border-radius: 12px; }
.camera-qr { margin: 24px auto; max-width: 300px; }
.camera-qr svg { width: 100%; height: auto; background: white; border-radius: 10px; }
.sent-check { font-size: 56px; color: var(--accent, #2da2eb); margin-top: 20px; }
.session-list { margin-top: 20px; }
.session-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #d8dbd0; padding: 18px 0; }
#phoneCameraButton { margin-left: 10px; }
@media (max-width: 560px) { .account-bar { padding: 0 20px; } .capture-actions { flex-direction: column; } .camera-card .crop-stage { margin-left: -10px; margin-right: -10px; } }
.treatment-photo { display: block; width: 100%; height: 180px; object-fit: contain; margin: 4px auto 24px; border-radius: 12px; }
.treatment-photo[hidden], .received-photo[hidden] { display: none; }
.received-photo { display: block; width: min(600px, 100%); max-height: 55vh; object-fit: contain; margin: 24px auto; border-radius: 16px; }
/* Every page uses the active palette, including hover states and subtle surfaces. */
:root :is(.protection-note, .variation-number, .template-preview-panel, .connection-badge, .profile-complete-mark, .address-map iframe, .login-preview-bar) { background: var(--site-tint); border-color: var(--line); color: var(--deep); }
:root :is(.protection-note p, .prompt-preview pre) { color: var(--muted); }
:root :is(a, .login-preview-bar a, .sent-check) { color: var(--deep); }
:root a.primary-button { color: white; }
:root .primary-button:hover { background: color-mix(in srgb, var(--deep) 85%, #000); }
:root :is(input:not([type=color]):not([type=range]):not([type=checkbox]):not([type=radio]), textarea, select) { color: var(--ink); border-color: var(--line); }
:root :is(button, a, textarea, select, input):focus-visible { outline-color: var(--site-focus); }
:root :is(.profile-progress [data-status=saved] .profile-step-number, .address-suggestions li:hover, .address-suggestions [aria-selected=true], .template-choice:has(input:checked)) { background: var(--site-tint); }
:root[data-site-page=profile] .profile-progress [aria-current=step] .profile-step-number { background: var(--deep); color: white; }
.login-preview-bar select { border: 1px solid var(--line); border-radius: 6px; background: var(--paper); padding: 8px; }
/* Account services inherit the practice palette and remain editable. */
.account-main { width: min(880px, calc(100% - 32px)); margin: 32px auto 64px; }
.account-card { padding: 24px; margin: 20px 0; min-height: 0; }
.account-card h2 { margin: 0 0 14px; font-size: 21px; }
.account-card p { font-size: 14px; line-height: 1.6; }
#billingTitle { font-size: clamp(32px, 5vw, 48px); letter-spacing: -1.6px; }
.account-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.service-notice { padding: 12px 20px; margin: 0 auto; max-width: 1440px; color: var(--ink); background: var(--paper); font-size: .9rem; }
.service-notice a { color: var(--deep); }

/* Saved SmileZone design is native CSS; the editor now stores only new overrides. */
body[data-page="studio"] #dropzone { border-radius: 12px; background-color: #c2e8f5; }
body[data-page="studio"] #cropConfirm { justify-content: end; }
body[data-page="studio"] #cameraButton { width: 200px; text-align: center; border-radius: 12px; }
body[data-page="studio"] #useCropButton { font-size: 18px; }
body[data-page="studio"] [data-site-path="path:body>main:1>section:1>h1:1"] { color: #1fa6f9; }
body[data-page="studio"] [data-site-path="path:body>main:1>section:2>div:2"] { min-height: 400px; border-radius: 12px; }
body[data-page="studio"] [data-site-path="path:body>main:1>section:2>div:1>div:3>p:1"] { color: #404040; }
body[data-page="studio"] [data-site-path="path:body>main:1>section:2>div:1>div:5>p:1"] { color: #404040; }
body[data-page="studio"] [data-site-path="path:body>main:1>section:2>div:1>div:7>p:1"] { color: #404040; }
body[data-page="studio"] [data-site-path="path:body>main:1>section:2>div:2>section:2>div:2"] { justify-content: end; }
body[data-page="studio"] [data-site-path="path:body>main:1>section:2>div:2>section:3>div:1"] { height: 65px; }
body[data-page="studio"] [data-site-path="path:body>main:1>section:2>div:2>section:1>div:3>p:1"] { color: #7a7a7a; width: 500px; font-size: 16px; text-align: center; font-weight: 500; max-width: 100%; }
body[data-page="profile"] #openStudio { font-size: 12px; }
body[data-page="profile"] [data-site-path="path:body>main:1>section:1"] { min-height: 300px; }
body[data-page="login"] #authBrand { color: #1fa6f9; font-size: 55px; }
body[data-page="login"] #authTitle { color: #1fa6f9; }
body[data-page="recovery"] #accessBrand { color: #1fa6f9; font-size: 55px; }
body[data-page="recovery"] #accessTitle { color: #1fa6f9; }
