/* Practice theme: authenticated staging Custom #ac7942; all eight generated values match the live
   Juniper patient page and confirmed admin setting on 2026-11-09. Generated by practiceThemeVariables(), not hand-tuned.
   Workspace geometry/type below is adapted from app/style.css:419–592 and
   app/practice-appearance.css. All actions inside the sample are disabled. */
.admin-showcase { width: min(1440px, 100vw); margin-left: calc((100% - min(1440px, 100vw)) / 2); }
.sample-view-controls { justify-content: center; flex-wrap: wrap; gap: 8px; padding: 0 20px; margin-bottom: 16px; }
.sample-view-controls>span { display: flex; align-items: center; margin-right: 8px; font-size: 13px; color: var(--muted); }
.sample-view-controls button { border: 1px solid var(--line); background: white; color: var(--navy); min-height: 44px; padding: 10px 16px; border-radius: 8px; font-size: 13px; }
.sample-view-controls button[aria-current=page] { background: var(--navy); color: white; border-color: var(--navy); }
.sample-readonly { padding: 0 20px; text-align: center; font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.admin-sample {
  --theme-primary: #896035; --theme-strong: #5a3f23; --theme-hover: #74522d;
  --theme-soft: #f8f4f0; --theme-surface: #fdfcfb; --theme-border: #ede2d5;
  --theme-outer: #fbf9f6; --theme-focus: #896035;
  --rail: 204px; --row: 36px; --trow: 44px; --radius: 8px; --cardpad: 14px; --gap: 14px;
  font-family: 'DM Sans', system-ui, sans-serif; font-size: 13px; line-height: 1.45;
  color: #1d2433; background: var(--theme-outer); border: 1px solid var(--theme-border);
}
.admin-sample * { box-sizing: border-box; }
.admin-sample p { font-size: 13px; line-height: 1.5; margin: 6px 0 12px; }
.admin-sample h3 { font-family: inherit; font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: var(--theme-strong); margin: 0; line-height: 1.45; }
.admin-sample h4 { font: 600 15px/1.45 'DM Sans',system-ui,sans-serif; color: var(--theme-strong); margin: 0 0 8px; }
.admin-sample small { display: block; font-size: 12px; line-height: 1.5; font-weight: 400; color: #647188; }
.admin-sample button { min-height: 40px; border: 1px solid var(--theme-primary); padding: 8px 14px; border-radius: 8px; background: var(--theme-primary); color: white; font: 500 13px/1.45 'DM Sans',system-ui,sans-serif; box-shadow: none; }
.admin-sample button:disabled { opacity: 1; cursor: default; }
.admin-sample button:hover { filter: none; }
.admin-sample button.sample-secondary { background: #fff; color: var(--theme-strong); border-color: var(--theme-border); }
.admin-sample :focus-visible { outline: 3px solid var(--theme-focus); outline-offset: 3px; }
.admin-sample input, .admin-sample select { font: inherit; color: #1d2940; background: white; border: 1px solid var(--theme-border); border-radius: 8px; padding: 8px 10px; width: 100%; min-width: 0; opacity: 1; -webkit-text-fill-color: #1d2940; }
.admin-sample label { display: grid; gap: 7px; font-weight: 500; }
.admin-sample fieldset { min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--theme-border); border-radius: 10px; }
.admin-sample legend { padding: 0 5px; font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sample-topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 52px; padding: 6px 16px; background: white; border-bottom: 1px solid var(--theme-border); }
.sample-mark { display: flex; align-items: center; flex: none; }
.sample-lockup { width: 271.25px; height: 42px; max-width: none; object-fit: contain; object-position: left center; }
.sample-mark .sample-wordmark { display: none; width: auto; height: 24px; }
.sample-divider { width: 1px; height: 20px; background: var(--theme-border); }
.sample-practice-picker { min-width: 0; }
.sample-practice-picker select { max-width: 280px; min-height: 36px; padding: 4px 8px; }
.admin-sample .sample-account { display: flex; align-items: center; gap: 8px; padding: 0 12px 0 8px; border-color: var(--theme-border); border-radius: 999px; background: white; color: #1d2433; font-weight: 400; }
.sample-avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--theme-soft); color: var(--theme-strong); display: grid; place-items: center; font-size: 11px; font-weight: 600; }
.sample-shell { display: flex; align-items: stretch; }
.sample-rail { flex: 0 0 var(--rail); width: var(--rail); display: flex; flex-direction: column; gap: 2px; padding: 16px 10px; background: white; border-right: 1px solid var(--theme-border); }
.admin-sample .rail-item { display: flex; align-items: center; gap: 8px; width: 100%; min-height: var(--row); padding: 0 10px; border: 0; border-radius: 8px; background: none; color: #3a4456; font-weight: 400; text-align: left; }
.admin-sample .rail-item.is-active { background: var(--theme-soft); color: var(--theme-strong); font-weight: 500; }
.admin-sample .rail-item.rail-sub { padding-left: 22px; font-size: 12px; overflow-wrap: anywhere; }
.sample-content { flex: 1; min-width: 0; max-width: 1180px; padding: 24px; }
.sample-content>section+section { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--theme-border); }
.js .sample-content>section+section { margin: 0; padding: 0; border: 0; }
.sample-page-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: var(--gap); }
.admin-sample .sample-muted { font-size: 12px; color: #5b6577; }
.admin-sample .sample-crumb { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 2px; color: #5b6577; font-size: 12px; min-height: 32px; align-items: center; }
.sample-preview { margin-left: auto; }
.sample-spacer { flex: 1; }
.sample-tabs { display: flex; gap: 28px; margin: 0 0 var(--gap); padding: 0 2px; background: var(--theme-outer); border-bottom: 1px solid var(--theme-border); }
.admin-sample .sample-tabs button { min-height: 44px; padding: 10px 0 8px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; border-radius: 0; font-size: 14px; font-weight: 500; color: #4a5568; background: transparent; }
.admin-sample .sample-tabs button.is-current { border-bottom-color: var(--theme-primary); color: var(--theme-strong); font-weight: 600; }
.admin-sample .sample-product-label { margin: 4px 0 8px; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #647188; }
.sample-products { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 12px; }
.admin-sample .sample-product { display: grid; gap: 4px; text-align: left; border-color: var(--theme-border); padding: 10px var(--cardpad); color: var(--theme-strong); background: #fff; font-size: 14px; }
.sample-product strong { font-size: 14px; font-weight: 600; }
.admin-sample .sample-product.is-current { border-color: var(--theme-primary); box-shadow: 0 0 0 1px var(--theme-primary); background: var(--theme-soft); }
.sample-product.is-current small { color: var(--theme-strong); }
.admin-sample .sample-product.is-missing { border-style: dashed; background: transparent; }
.sample-product.is-missing strong { color: var(--theme-primary); }
.admin-sample .sample-product-band { padding: 6px 12px; border-left: 3px solid var(--theme-primary); font-weight: 500; background: var(--theme-soft); color: var(--theme-strong); margin: 14px 0 0; }
.sample-panel { background: white; border: 1px solid var(--theme-border); border-radius: var(--radius); padding: var(--cardpad); margin-bottom: var(--gap); }
.sample-status-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 6px 0; }
.sample-status-row+.sample-status-row { border-top: 1px solid var(--theme-border); }
.sample-status-row p { margin: 6px 0 0; }
.sample-status-row button { flex-shrink: 0; }
.sample-status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: #1d6b45; }
.sample-status-pill:before { content: ''; width: 11px; height: 11px; border-radius: 50%; background: #24945e; box-shadow: 0 0 0 4px #e7f5ec; }
.sample-patient-link { color: #66728a; overflow-wrap: anywhere; }
.sample-patient-link>span { color: var(--theme-primary); text-decoration: underline; }
.admin-sample .sample-copy { padding: 3px 10px; margin-left: 6px; font-size: 13px; min-height: 26px; }
.sample-editor-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 14px; }
.sample-editor-heading h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.sample-preference-card { border: 1px solid var(--theme-border); border-radius: var(--radius); background: white; overflow: hidden; }
.sample-preference-heading { display: flex; align-items: flex-start; gap: 13px; padding: 12px var(--cardpad); border-bottom: 1px solid var(--theme-border); }
.sample-preference-heading>span { display: grid; place-items: center; width: 31px; height: 31px; flex: none; border-radius: 50%; background: var(--theme-soft); color: var(--theme-primary); font-size: 12px; font-weight: 600; }
.sample-preference-heading h4 { margin: 0; }
.sample-preference-heading p { font-size: 12.3px; color: #66728a; margin: 4px 0 0; }
.sample-preference-body { display: grid; gap: 18px; padding: var(--cardpad); }
.sample-preference-body button { justify-self: start; }
.admin-sample .sample-excerpt-note { margin: 18px 0; color: #5b6577; font-size: 12px; }
.sample-save { display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 1px solid var(--theme-border); border-radius: 10px; background: #fffffff5; padding: 12px 14px 12px 18px; color: #5d6c81; font-size: 11.7px; }
.admin-sample .sample-save .sample-saved { opacity: .5; }
.sample-location-table { border: 1px solid var(--theme-border); border-radius: 8px; background: white; overflow: hidden; }
.sample-location-table table { border-collapse: collapse; width: 100%; }
.sample-location-table th { text-align: left; font-size: 12px; padding: 10px 14px; font-weight: 500; background: #fafbfd; }
.sample-location-table td { padding: 4px 14px; border-top: 1px solid #eef1f6; height: 44px; }
.sample-mobile-label { display: none; }
.sample-status-chip { display: inline-flex; padding: 2px 10px; border-radius: 999px; font-size: 12px; background: var(--theme-soft); color: var(--theme-strong); }
.admin-sample .sample-link { border: 0; background: transparent; color: var(--theme-primary); padding: 5px 0; }
.admin-sample .sample-palettes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 0; border: 0; margin: 18px 0; }
.sample-palettes legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 400; }
.admin-sample .sample-palette { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--theme-border); border-radius: 12px; min-height: 66px; font-size: 14px; background: white; }
.sample-palette input { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--theme-primary); }
.sample-palette[data-selected=true] { border-color: var(--theme-primary); box-shadow: inset 0 0 0 1px var(--theme-primary); }
.sample-palette small { font-size: 11px; }
.palette-custom { grid-column: 1/-1; }
.sample-swatch { display: flex; gap: 3px; align-items: center; justify-content: center; width: 42px; height: 34px; flex: none; border-radius: 8px; background: var(--swatch-soft); }
.sample-swatch i { width: 12px; height: 21px; border-radius: 3px; background: var(--swatch-primary); }
.sample-swatch i+i { background: var(--swatch-strong); }
.palette-blue { --swatch-primary: #0b5cd5; --swatch-strong: #082e70; --swatch-soft: #e8f1fe; }
.palette-green { --swatch-primary: #23704f; --swatch-strong: #174a38; --swatch-soft: #e6f2ec; }
.palette-sand { --swatch-primary: #80603d; --swatch-strong: #503d2b; --swatch-soft: #f4ecdf; }
.palette-slate { --swatch-primary: #4f6071; --swatch-strong: #2b3a4a; --swatch-soft: #eaf0f5; }
.palette-custom { --swatch-primary: var(--theme-primary); --swatch-strong: var(--theme-strong); --swatch-soft: var(--theme-soft); }
.sample-custom-color { margin-bottom: 18px !important; }
.sample-custom-color input { max-width: 135px; font-family: ui-monospace,monospace; font-size: 16px; min-height: 44px; }
@media(max-width:899px) { .sample-mark .sample-lockup { display: none; } .sample-mark .sample-wordmark { display: block; } }
@media(max-width:760px) {
 .sample-shell { flex-direction: column; }
 .sample-rail { flex: none; width: auto; flex-direction: row; flex-wrap: wrap; gap: 4px; padding: 8px 16px; border-right: 0; border-bottom: 1px solid var(--theme-border); }
 .admin-sample .rail-item { width: auto; min-height: 44px; }
 .admin-sample .rail-item.rail-sub { padding-left: 10px; }
 .sample-content { padding: 16px; }
 .sample-divider { display: none; }
 .sample-tabs { gap: 18px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
 .admin-sample .sample-tabs button { flex: none; font-size: 13px; }
 .sample-location-table thead { display: none; }
 .sample-location-table table, .sample-location-table tbody { display: block; }
 .sample-location-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 16px; border-top: 1px solid var(--theme-border); }
 .sample-location-table tr:first-child { border-top: 0; }
 .sample-location-table td { display: block; padding: 0; border: 0; height: auto; }
 .sample-location-table td:first-child, .sample-location-table td:last-child { grid-column: 1/-1; }
 .sample-mobile-label { display: block; color: #647188; font-size: 11px; margin-bottom: 5px; }
}
@media(max-width:640px) { .sample-save { flex-direction: column; align-items: stretch; } }
@media(max-width:600px) { .sample-status-row { flex-direction: column; align-items: stretch; } .sample-status-row>button { width: 100%; } .admin-sample .sample-copy { width: auto; } }

/* Details checked against the authenticated 0.19.2-rc.2 staging view, 2026-11-09. */
.sample-products small { margin: 8px 0 0; }
.sample-status { margin-top: 14px; }
.sample-patient-link { margin-top: 14px !important; }
.sample-editor-heading h4 { margin: 0; color: var(--theme-primary); }
.sample-editor-heading h3 { font-size: 17px; margin: 2px 0 0; }
.sample-change-badge { padding: 8px 12px; background: var(--theme-soft); border-radius: 30px; color: #66728a; font-size: 12px; }
.sample-preference-body label { color: #344159; font-size: 12px; font-weight: 600; }
.sample-preference-body input, .sample-preference-body select { min-height: 45px; border-radius: 11px; background: var(--theme-surface); padding: 10px 12px; font-weight: 500; }
.sample-preference-body small { font-size: 10.5px; font-weight: 500; }
.sample-save { position: sticky; bottom: 14px; z-index: 2; margin-top: 24px; }
.sample-product-filter { display: flex; align-items: center; gap: 8px; margin: 14px 0; color: #647188; }
.sample-product-filter button { border-radius: 999px; min-height: 32px; padding: 4px 12px; }
.sample-status-chip { gap: 6px; white-space: nowrap; }
.sample-status-chip:before { content: ''; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--theme-primary); }
.sample-location-table small { font-size: 11px; }
.palette-custom .sample-swatch { background: conic-gradient(from 45deg,#b69b79,#428564,#5687a0,#89739d,#b69b79); border: 3px solid white; box-shadow: 0 0 0 1px #d8e2f0; }
.palette-custom .sample-swatch i { display: none; }
.sample-color-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.sample-color-row input[type=color] { width: 60px; height: 44px; padding: 4px; }
@media(max-width:650px) { .admin-sample .sample-palette { padding: 10px 8px; gap: 8px; font-size: 13px; } .sample-swatch { width: 28px; flex-basis: 28px; } .sample-swatch i { width: 9px; } }
@media(max-width:640px) { .sample-preview { margin-left: 0; } .sample-editor-heading { flex-direction: column; align-items: flex-start; } .sample-save { bottom: 8px; } }
@media(max-width:370px) { .admin-sample .sample-palettes { grid-template-columns: 1fr; } .sample-product-filter { flex-wrap: wrap; } }
/* A marketing excerpt keeps the save bar in flow so it cannot cover the page above it. */
.sample-save { position: static; }

.admin-sample .sample-product-note { margin: 8px 0 14px; font-size: 13px; color: #647188; }

/* Owner review 2026-11-09: keep the sample inside the page width on tablets and desktops (phones stay
   edge to edge), and show the real Surgical approach card. Choice/cost styling follows
   app/style.css .choice, .restriction-card, .cost-field and .currency-input. */
@media (min-width:761px) {
  .admin-showcase { width: auto; margin-left: 0; }
  .admin-sample { border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px -45px rgba(8,46,112,.45); }
}
.sample-preference-card + .sample-preference-card { margin-top: 24px; }
.admin-sample .sample-preference-body fieldset { border: 0; padding: 0; }
.sample-preference-body legend { margin-bottom: 10px; color: #344159; font-size: 12px; }
.sample-two-col { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: end; }
.sample-choice-grid, .sample-cost-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.sample-cost-grid { gap: 12px; }
.sample-service-grid { display: grid; grid-template-columns: 1fr; gap: 9px; }
.sample-choice { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 11px 12px; border: 1px solid var(--theme-border); border-radius: 12px; background: var(--theme-surface); font-size: 12px; font-weight: 600; line-height: 1.3; color: #344159; }
.sample-choice.is-selected { border-color: var(--theme-focus); background: var(--theme-soft); color: var(--theme-strong); }
/* Service cards have a border outside the real 48px restriction toggle. */
.sample-service-grid .sample-choice { min-height: 50px; color: #344159; }
.admin-sample .sample-choice input { width: 16px; min-height: 16px; height: 16px; flex: none; margin: 0; padding: 0; accent-color: var(--theme-primary); }
.admin-sample .sample-cost { display: grid; min-width: 0; gap: 7px; padding: 12px; border: 1px solid var(--theme-border); border-radius: 12px; background: var(--theme-surface); font-size: 12px; font-weight: 600; color: #344159; }
.sample-cost-included { grid-column: 1 / -1; }
.sample-cost>span { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 8px; color: #66728a; font-weight: 700; }
.admin-sample .sample-cost input { min-height: 45px; background: var(--theme-surface); }
/* Disabled native controls gray out the theme in Chromium. Keep the illustration inert,
   but draw the same selected radio/check states seen in the authenticated admin. */
.admin-sample .sample-choice input { appearance: none; position: relative; border: 1.5px solid #8b8b8b; border-radius: 5px; background: transparent; }
.admin-sample .sample-choice input[type=radio] { border-radius: 50%; }
.admin-sample .sample-choice input:checked { border-color: var(--theme-primary); background: var(--theme-primary); }
.admin-sample .sample-choice input[type=radio]:checked::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: white; }
.admin-sample .sample-choice input[type=checkbox]:checked::after { content: ''; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(40deg); }
@media (forced-colors: active) { .admin-sample .sample-choice input { appearance: auto; } .admin-sample .sample-choice input::after { display: none; } }
@media (max-width:640px) { .sample-two-col, .sample-choice-grid, .sample-cost-grid { grid-template-columns: 1fr; } }
