@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/cairo-variable.ttf") format("truetype-variations");
}

/* Release-candidate integration: presentation remains Round-3; deferred templates are structural only. */
.logo-placeholder { width: 46px; height: 46px; display: grid; place-items: center; color: var(--teal-light); border: 1px dashed currentColor; border-radius: 50%; }
.entity-edit-action { display: none; position: absolute; z-index: 4; inset: 18px auto auto 18px; padding: 6px 11px; color: #fff; background: #5d2b86; border: 2px solid #fff; border-radius: 9px; font-size: 12px; }
.edit-mode .entity-edit-action { display: block; }
.entity-tools { display: none; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.edit-mode .entity-tools { display: flex; }
.entity-tools button, .exam-list [data-edit-exam] { padding: 5px 9px; color: #fff; background: #5d2b86; border: 0; border-radius: 8px; font-size: 11px; }
.exam-list [data-edit-exam] { display: none; margin-inline-start: auto; }
.edit-mode .exam-list [data-edit-exam] { display: inline-block; }
.site-logo { width: 46px; height: 46px; object-fit: contain; }
.hours-edit-row { display: grid; grid-template-columns: 1fr auto 1fr 1fr; align-items: center; gap: 8px; margin-bottom: 10px; }
.exam-list li > a { min-height: 44px; flex: 1; display: flex; align-items: center; justify-content: space-between; border-radius: 8px; outline: 0; }
.exam-list li > a:hover { color: var(--teal-light); }
.exam-list li > a:focus-visible { box-shadow: 0 0 0 3px #5bc9c355; }
.device-modal__specs { display: grid; gap: 8px; }
.device-modal__specs div { padding: 10px 12px; background: var(--light); border-radius: 10px; }
.device-modal__specs dt { color: var(--muted); font-size: 12px; }
.device-modal__specs dd { margin: 0; font-weight: 600; }
.edit-drawer label { display: grid; gap: 6px; margin-bottom: 16px; color: var(--ink); font-weight: 600; }
.edit-drawer input, .edit-drawer textarea, .edit-drawer select { width: 100%; padding: 10px 12px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; font-weight: 400; }
.edit-drawer textarea { min-height: 90px; resize: vertical; }
.edit-drawer .check-row { display: flex; align-items: center; }
.edit-drawer .check-row input { width: auto; }
.empty-state { width: 100%; padding: 32px; color: var(--muted); text-align: center; }
.foundation-page { min-height: 60vh; padding: 96px 0; background: var(--white); }
.foundation-page .container { max-width: 920px; }
.foundation-page article { padding-block: 24px; border-bottom: 1px solid var(--line); }
.foundation-page img { max-width: 100%; height: auto; border-radius: 20px; }
.foundation-label { display: inline-block; padding: 5px 9px; color: #5d2b86; background: #f4ecfa; border-radius: 8px; font-size: 11px; font-weight: 600; direction: ltr; }

@media (max-width: 700px) {
  .edit-drawer { width: 100%; }
  .entity-edit-action { inset: 12px auto auto 12px; }
  .foundation-page { padding: 64px 0; }
}

:root {
  --room: #0b1b2b;
  --room-2: #13283c;
  --room-line: #22384d;
  --teal: #0b7a7c;
  --teal-dark: #075e60;
  --teal-light: #5bc9c3;
  --tint: #e2f2f1;
  --light: #eef3f7;
  --ink: #0d1a26;
  --text: #3d4b58;
  --muted: #5f6d7a;
  --line: #dce4ea;
  --amber: #d99a2b;
  --white: #fff;
  --shadow: 0 22px 60px rgb(5 22 34 / 14%);
  --font-heading: "Cairo";
  --font-ui: "Cairo";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #cad3da; font-family: var(--font-ui); font-synthesis: none; font-weight: 400; line-height: 1.75; }
body.no-scroll { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.site-shell { width: 100%; min-height: 100vh; background: var(--white); container: site / inline-size; overflow: clip; }
.container { width: min(1336px, calc(100% - 96px)); margin-inline: auto; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: var(--font-heading); font-weight: 700; }
h2 { margin-bottom: 24px; font-family: var(--font-heading); font-size: clamp(30px, 3vw, 46px); font-weight: 600; line-height: 1.25; }
h3 { font-weight: 600; }
p { color: var(--text); }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 24px; border: 1px solid transparent; border-radius: 16px; font-weight: 500; transition: transform .18s, background .18s, border-color .18s; }
.btn:hover { transform: translateY(-2px); }
.btn--compact { min-height: 44px; padding: 8px 18px; }
.btn--call { color: var(--room); background: var(--teal-light); }
.btn--dark { color: var(--white); background: var(--room-2); border-color: var(--room-line); }
.btn--solid { color: var(--white); background: var(--teal-dark); }
.btn--white { color: var(--room); background: var(--white); }
.btn--light { color: var(--ink); background: var(--light); }
.btn--outline { color: var(--teal-dark); background: transparent; border-color: var(--teal); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.review-tools { position: fixed; z-index: 110; inset: 16px auto auto 16px; direction: rtl; }
.review-tools__toggle { padding: 8px 13px; color: #fff; background: #5d2b86; border: 0; border-radius: 12px; box-shadow: 0 8px 24px #0003; font-size: 12px; font-weight: 500; }
.review-tools__panel { width: 280px; margin-top: 8px; padding: 16px; color: #f7f1ff; background: #241632f2; border: 1px solid #ffffff26; border-radius: 16px; box-shadow: 0 16px 44px #0005; font-size: 12px; }
.review-tools__panel p { color: #d9cce5; }
.review-tools__panel label { display: grid; gap: 4px; margin-top: 10px; }
.review-tools__panel select { padding: 6px; border-radius: 8px; }
.review-tools__panel fieldset { display: grid; gap: 4px; margin-top: 12px; border: 1px solid #ffffff33; border-radius: 10px; }
.review-tools__panel fieldset label { display: flex; margin: 0; }
.review-mobile .site-shell { width: min(390px, 100%); margin-inline: auto; box-shadow: 0 0 70px #0b1b2b50; }

.edit-status { position: relative; z-index: 102; color: #fff; background: #5d2b86; }
.edit-status__inner { width: min(1336px, calc(100% - 96px)); min-height: 58px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.edit-status span { display: grid; }
.edit-status b { font-weight: 600; }
.edit-status small { opacity: .8; }
.edit-status button { margin-inline-start: 8px; padding: 7px 12px; color: #fff; background: transparent; border: 1px solid #ffffff66; border-radius: 9px; }
.edit-status .edit-status__end { background: #fff; color: #5d2b86; }

.site-header { position: sticky; z-index: 80; top: 0; color: #fff; background: var(--room); transition: background .25s, box-shadow .25s, color .25s; }
.header-primary { height: 84px; border-bottom: 1px solid var(--room-line); transition: height .25s; }
.header-primary__inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; white-space: nowrap; }
.logo-mark { width: 46px; height: 46px; color: var(--teal-light); --logo-accent: var(--amber); flex: 0 0 auto; }
.header-spacer { flex: 1; }
.open-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.open-status::before { content: ""; width: 8px; height: 8px; background: currentColor; border-radius: 50%; }
.open-status.is-open { color: var(--teal-light); }
.open-status.is-closed { color: #f2be62; }
.header-phone { font-weight: 600; letter-spacing: .03em; }
.header-whatsapp { white-space: nowrap; }
.header-nav { height: 64px; }
.header-nav__inner { height: 100%; display: flex; align-items: center; justify-content: center; gap: clamp(22px, 3vw, 48px); font-size: 14px; font-weight: 600; }
.header-nav a { position: relative; white-space: nowrap; }
.header-nav a::after { content: ""; position: absolute; inset: auto 0 -17px; height: 2px; background: var(--teal-light); transform: scaleX(0); transition: transform .2s; }
.header-nav a:hover::after, .header-nav a.active::after { transform: scaleX(1); }
.site-header.compact { color: var(--ink); background: #fffffff7; box-shadow: 0 8px 24px #0b1b2b18; }
.site-header.compact .header-primary { height: 68px; border-color: var(--line); }
.site-header.compact .header-nav { display: none; }
.site-header.compact .header-whatsapp { color: #fff; }
.site-header.compact .logo-mark { color: var(--teal-dark); }
.menu-toggle, .mobile-menu { display: none; }

.hero { position: relative; min-height: 570px; color: #fff; background: radial-gradient(circle at 20% 25%, #173d55 0, transparent 36%), linear-gradient(145deg, var(--room), #08141f); border-bottom: 1px solid var(--room-line); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(#6ca7bb1b 1px, transparent 1px), linear-gradient(90deg, #6ca7bb1b 1px, transparent 1px); background-size: 42px 42px; }
.hero__inner { position: relative; min-height: 570px; display: grid; grid-template-columns: 1fr minmax(430px, 580px); align-items: center; gap: 70px; }
.hero__copy h1 { max-width: 720px; margin-bottom: 20px; font-size: clamp(46px, 5vw, 72px); line-height: 1.22; letter-spacing: -.04em; }
.hero__eyebrow { display: block; margin-bottom: 10px; color: #9fb2c1; font-size: 16px; font-weight: 600; }
.hero__copy p { max-width: 650px; color: #cad8e2; font-size: 20px; }
.hero__copy .button-row { margin-top: 34px; }
.lightbox { position: relative; overflow: hidden; background: linear-gradient(145deg, #dfe7ec, #a8bac6); border: 1px solid #ffffff2b; border-radius: 28px; box-shadow: inset 0 0 60px #08141f52, 0 28px 70px #0005; }
.hero__visual { min-height: 400px; padding: 0; color: inherit; border: 1px solid var(--room-line); }
.viewer-tick { position: absolute; z-index: 2; width: 32px; height: 32px; border-color: #fff9; pointer-events: none; }
.tick--tr { inset: 18px 18px auto auto; border-top: 2px solid; border-right: 2px solid; }
.tick--tl { inset: 18px auto auto 18px; border-top: 2px solid; border-left: 2px solid; }
.tick--bl { inset: auto auto 18px 18px; border-bottom: 2px solid; border-left: 2px solid; }
.placeholder-badge { position: absolute; z-index: 3; inset: auto 18px 18px; padding: 5px 10px; color: #fff; background: #071521b8; border-radius: 99px; font-size: 11px; }
.device-art-slot { position: absolute; inset: 0; display: grid; place-items: center; }
.device-art-slot svg { width: 74%; height: 78%; filter: drop-shadow(0 25px 18px #13283c55); }
.asset-media { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.asset-media--device { object-fit: contain; background: #eef3f7; }
.asset-media--doctor { object-position: center; }
.asset-media[data-crop="top"] { object-position: center top; }
.asset-placeholder { max-width: 80%; color: #728797; font-size: 14px; font-weight: 500; text-align: center; }

.search-wrap { position: relative; z-index: 5; min-height: 100px; background: #fff; }
.search-card { width: min(1040px, calc(100% - 40px)); min-height: 170px; margin: -64px auto 0; padding: 28px 36px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.search-card > label { display: block; margin-bottom: 10px; font-weight: 600; }
.search-field { display: flex; align-items: center; gap: 12px; min-height: 56px; padding-inline: 18px; background: var(--light); border: 1px solid transparent; border-radius: 16px; }
.search-field:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px #0b7a7c16; }
.search-field > span { font-size: 26px; color: var(--teal-dark); }
.search-field input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--ink); }
.search-field button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #d6e0e7; }
.search-idle { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; }
.search-chip { padding: 6px 12px; color: var(--teal-dark); background: var(--tint); border: 0; border-radius: 99px; font-size: 12px; font-weight: 500; }
.search-results { display: grid; gap: 12px; padding-top: 18px; }
.search-group h3 { margin: 0 0 6px; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.search-group__rows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.search-result { display: flex; align-items: center; justify-content: space-between; padding: 10px 13px; background: #f8fafb; border: 1px solid var(--line); border-radius: 11px; font-weight: 500; text-align: right; }
.search-result small { color: var(--muted); }
.no-results { padding-top: 18px; text-align: center; color: var(--muted); }

.departments { position: relative; padding: 120px 0; }
.section-dark { color: #fff; background: var(--room); }
.section-heading { margin-bottom: 42px; }
.section-heading p { max-width: 670px; margin-bottom: 0; }
.section-heading--dark p { color: #b5c5d0; }
.device-desktop { display: grid; grid-template-columns: 260px 1fr; min-height: 650px; overflow: hidden; border: 1px solid var(--room-line); border-radius: 28px; }
.device-tabs { padding: 20px 0; background: #0f2233; border-left: 1px solid var(--room-line); }
.device-tab { width: 100%; min-height: 86px; padding: 14px 24px; color: #b8c8d3; background: transparent; border: 0; border-right: 4px solid transparent; font-weight: 600; text-align: right; transition: background .18s, color .18s; }
.device-tab strong { display: block; }
.device-tab small { display: block; margin-top: 2px; opacity: .7; font-size: 12px; font-weight: 400; }
.device-abbreviation { direction: ltr; unicode-bidi: isolate; }
.device-tab[aria-selected="true"] { color: #fff; background: var(--room-2); border-right-color: var(--teal-light); }
.device-detail { padding: 48px; background: radial-gradient(circle at 25% 45%, #1b4052, transparent 42%), #0c1d2d; }
.device-detail__grid { display: grid; grid-template-columns: minmax(320px, 48%) 1fr; align-items: center; gap: 54px; min-height: 550px; }
.device-detail__visual { position: relative; min-height: 470px; overflow: hidden; background: linear-gradient(145deg, #d7e2e8, #8199a8); border-radius: 22px; }
.device-detail__content h3 { margin-bottom: 8px; font-family: var(--font-heading); font-size: 34px; font-weight: 600; }
.device-detail__content > p { color: #b8c8d3; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 24px 0; }
.spec { padding: 12px 14px; background: #ffffff0c; border: 1px solid var(--room-line); border-radius: 12px; }
.spec small { display: block; color: #91a6b5; font-weight: 500; }
.exam-list { display: grid; gap: 9px; margin: 20px 0 0; padding: 0; list-style: none; }
.exam-list li { display: flex; align-items: start; gap: 10px; color: #d6e2e9; font-weight: 500; }
.exam-list li::before { content: ""; width: 7px; height: 7px; margin-top: 10px; background: var(--teal-light); border-radius: 50%; flex: 0 0 auto; }
.exam-show-all { margin-top: 12px; padding: 8px 0; color: var(--teal-light); background: transparent; border: 0; border-bottom: 1px solid currentColor; font-weight: 600; }
.exam-show-all:focus-visible { outline: 3px solid #5bc9c355; outline-offset: 4px; }
.exam-more { margin-top: 14px; color: var(--teal-light); background: transparent; border: 0; font-weight: 500; }
.device-info-btn { margin-top: 22px; }
.device-mobile { display: none; }

.doctors { position: relative; padding: 120px 0; background: #fff; }
.doctors-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 22px; }
.doctor-card { position: relative; min-height: 470px; overflow: hidden; background: var(--light); border: 1px solid var(--line); border-radius: 28px; }
.doctor-card__portrait { position: relative; height: 285px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #dce5ea, #b9c8d1); }
.doctor-card__portrait svg { width: 82%; height: 94%; opacity: .76; }
.doctor-card__portrait .asset-media { transition: transform var(--motion-standard) var(--motion-ease); }
.doctor-card__body { padding: 24px; }
.doctor-card__body h3 { margin-bottom: 3px; font-family: var(--font-heading); font-size: 21px; font-weight: 600; }
.doctor-card__body p { margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.doctor-card__body button { padding: 0; color: var(--teal-dark); background: none; border: 0; font-weight: 500; }
.doctor-card--founder { color: #fff; background: var(--room); border-color: var(--room); }
.doctor-card--founder .doctor-card__portrait { height: 300px; background: linear-gradient(145deg, #486170, #172c3c); }
.doctor-card--founder .doctor-card__body p { color: #b7c7d1; }
.doctor-card--founder .doctor-card__body button { color: var(--teal-light); }
.founder-badge { position: absolute; z-index: 2; inset: 18px 18px auto auto; padding: 5px 12px; color: var(--room); background: var(--amber); border-radius: 99px; font-size: 11px; font-weight: 500; }

.about { position: relative; padding: 120px 0; background: var(--light); }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.about__visual { min-height: 510px; box-shadow: none; }
.about__visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.about__copy .lead { max-width: 590px; font-size: 18px; }
.about-points { display: grid; gap: 18px; margin: 32px 0; }
.about-points article { display: grid; grid-template-columns: 12px 1fr; gap: 16px; }
.about-points i { width: 10px; height: 10px; margin-top: 10px; background: var(--teal); border-radius: 50%; }
.about-points h3 { margin-bottom: 2px; font-size: 17px; }
.about-points p { margin-bottom: 0; font-size: 14px; }

.faq { position: relative; padding: 120px 0; }
.faq__inner { display: grid; grid-template-columns: .65fr 1fr; gap: 100px; }
.faq__intro p { max-width: 380px; }
.faq__list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; justify-content: space-between; gap: 30px; padding: 24px 0; color: var(--ink); background: none; border: 0; text-align: right; font-weight: 600; }
.faq-question span { width: 30px; height: 30px; display: grid; place-items: center; color: var(--teal-dark); background: var(--tint); border-radius: 50%; flex: 0 0 auto; transition: transform .2s; }
.faq-question[aria-expanded="true"] span { transform: rotate(45deg); }
.faq-answer { padding: 0 0 24px; }
.faq-answer p { margin: 0; }

.articles { position: relative; padding: 120px 0; background: var(--light); }
.section-heading--articles { display: flex; align-items: end; justify-content: space-between; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.article-card__visual { position: relative; height: 220px; overflow: hidden; background: linear-gradient(145deg, #d8e2e8, #9fb1bd); }
.article-card__visual svg { width: 100%; height: 100%; }
.article-card__body { padding: 22px; }
.article-card__body small { color: var(--teal-dark); font-weight: 500; }
.article-card__body h3 { margin: 8px 0 14px; line-height: 1.55; }
.article-card__body button { padding: 0; color: var(--teal-dark); background: none; border: 0; font-weight: 500; }
.articles__mobile-cta { display: none; }

.contact { position: relative; padding: 120px 0; }
.contact__grid { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 620px; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow); }
.contact-card { color: #fff; background: var(--teal-dark); }
.contact-card section { padding: 34px; border-bottom: 1px solid #ffffff26; }
.contact-card section:last-child { border: 0; }
.contact-card span { color: #bde3e1; font-size: 12px; font-weight: 500; }
.contact-card h3 { margin: 8px 0 18px; font-size: 22px; }
.contact-card__label { display: flex; justify-content: space-between; gap: 12px; }
.contact-card .status-pill { color: #fff; padding: 3px 9px; background: #ffffff17; border-radius: 99px; }
.hours-list { display: grid; gap: 5px; margin-top: 12px; }
.hours-row { display: flex; justify-content: space-between; gap: 24px; color: #e8f4f3; font-size: 13px; }
.contact-number { display: block; margin: 6px 0 20px; font-size: 27px; font-weight: 600; text-align: right; }
.map-placeholder { position: relative; display: grid; place-items: center; overflow: hidden; background: #dce7e8; }
.map-grid { position: absolute; inset: -20%; opacity: .55; transform: rotate(12deg); background-image: linear-gradient(30deg, transparent 46%, #91aaad 47% 52%, transparent 53%), linear-gradient(120deg, transparent 46%, #b0c3c5 47% 52%, transparent 53%); background-size: 100px 100px, 130px 130px; }
.map-pin { position: relative; width: 64px; height: 64px; display: grid; place-items: center; color: #fff; background: var(--teal-dark); border: 8px solid #fff; border-radius: 50%; box-shadow: 0 12px 30px #0b1b2b44; }
.map-placeholder strong { position: absolute; margin-top: 130px; padding: 7px 13px; background: #fff; border-radius: 10px; box-shadow: 0 8px 20px #0b1b2b28; }

.site-footer { padding: 70px 0 26px; color: #fff; background: var(--room); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 80px; padding-bottom: 50px; }
.site-footer p { color: #aebfca; }
.site-footer strong { display: block; margin-bottom: 15px; font-weight: 600; }
.footer-bottom { padding-top: 22px; color: #879aa8; border-top: 1px solid var(--room-line); font-size: 12px; }

.editable-region { position: relative; }
.edit-marker, .add-tile { display: none; }
.edit-mode .editable-region { outline: 2px dashed #8d56b6; outline-offset: -8px; }
.edit-mode .edit-marker { position: absolute; z-index: 15; inset: 14px auto auto 14px; display: block; padding: 6px 12px; color: #fff; background: #5d2b86; border: 2px solid #fff; border-radius: 9px; box-shadow: 0 5px 16px #0004; font-size: 12px; font-weight: 500; }
.edit-mode .add-tile { width: 100%; min-height: 78px; display: block; margin-top: 22px; color: #d8c1e8; background: #ffffff08; border: 2px dashed #8d56b6; border-radius: 16px; font-weight: 500; }
.edit-mode .add-tile--light { color: #5d2b86; background: #f8f2fc; }
.edit-mode [data-provisional]::after { content: "محتوى مؤقت"; display: inline-block; margin-inline-start: 8px; padding: 1px 6px; color: #5d2b86; background: #f0e5f7; border-radius: 4px; font-size: 9px; vertical-align: middle; }
.edit-activate { position: fixed; z-index: 70; inset: auto auto 24px 24px; padding: 12px 18px; color: #fff; background: #5d2b86; border: 0; border-radius: 14px; box-shadow: 0 12px 30px #0003; font-weight: 500; }
.edit-drawer { position: fixed; z-index: 121; inset: 0 auto 0 0; width: min(480px, 94vw); display: grid; grid-template-rows: auto 1fr auto; background: #fff; box-shadow: 20px 0 60px #0004; transform: translateX(-105%); transition: transform .25s; direction: rtl; }
.edit-drawer.open { transform: translateX(0); }
.edit-drawer header, .edit-drawer footer { padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.edit-drawer footer { justify-content: flex-start; flex-wrap: wrap; border: 0; border-top: 1px solid var(--line); }
.edit-drawer header h2 { margin: 2px 0 0; font-family: var(--font-ui); font-size: 22px; font-weight: 600; }
.edit-drawer header small { color: #5d2b86; font-weight: 500; }
.edit-drawer header button { width: 38px; height: 38px; border: 0; border-radius: 50%; font-size: 25px; }
.edit-drawer form { overflow: auto; padding: 22px; }
.drawer-field { display: grid; gap: 6px; margin-bottom: 18px; font-weight: 500; }
.drawer-field small { color: var(--muted); font-weight: 400; }
.drawer-field input, .drawer-field textarea, .drawer-field select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; outline: 0; }
.drawer-field textarea { min-height: 110px; resize: vertical; }
.drawer-admin { margin-inline-start: auto; color: var(--teal-dark); background: transparent; border: 0; font-weight: 500; }
.drawer-draft, .drawer-trash { padding: 8px 10px; background: transparent; border: 1px solid var(--line); border-radius: 9px; font-weight: 500; }
.drawer-draft { color: var(--teal-dark); }
.drawer-trash { color: #9a372d; border-color: #e8c4bf; }
.unsaved { width: 100%; color: #a24616; font-size: 12px; }
.drawer-backdrop { position: fixed; z-index: 120; inset: 0; background: #07152199; backdrop-filter: blur(2px); }

.modal-root { position: fixed; z-index: 130; inset: 0; padding: 30px; display: grid; place-items: center; background: #071521bf; backdrop-filter: blur(6px); }
.modal { position: relative; width: min(1000px, 100%); max-height: calc(100vh - 60px); overflow: auto; background: #fff; border-radius: 28px; box-shadow: 0 30px 90px #0008; }
.modal__close { position: sticky; z-index: 2; top: 16px; float: left; margin: 16px; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: var(--room); border: 0; border-radius: 50%; font-size: 25px; }
.modal__grid { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 580px; }
.modal__visual { min-height: 460px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #dbe5ea, #91a6b3); }
.modal__visual svg { width: 70%; height: 82%; }
.modal__content { padding: 68px 50px 45px; }
.modal__content h2 { margin-bottom: 8px; font-family: var(--font-heading); font-size: 34px; font-weight: 600; }
.modal__content p { color: var(--text); }
.modal .exam-list li { color: var(--text); }
.modal .spec { background: var(--light); border-color: var(--line); }
.modal .spec small { color: var(--muted); }
.provisional-note { padding: 9px 12px; color: #694118 !important; background: #fff4dc; border: 1px solid #f1d39e; border-radius: 10px; font-size: 11px; }
.toast { position: fixed; z-index: 150; inset: auto 50% 26px auto; transform: translateX(50%); min-width: 280px; padding: 12px 18px; color: #fff; background: var(--room); border: 1px solid var(--room-line); border-radius: 12px; box-shadow: 0 14px 40px #0005; text-align: center; }

@container site (max-width: 900px) {
  .container { width: calc(100% - 40px); }
  h2 { font-size: 32px; }
  .review-tools { display: none; }
  .header-primary { height: 68px; border-bottom: 0; }
  .header-primary__inner { gap: 10px; }
  .brand { font-size: 14px; }
  .logo-mark { width: 38px; height: 38px; }
  .header-spacer, .header-primary .open-status, .header-phone, .header-primary .btn, .header-nav { display: none; }
  .menu-toggle { width: 42px; height: 42px; display: grid; align-content: center; gap: 5px; margin-inline-start: auto; padding: 10px; background: transparent; border: 1px solid var(--room-line); border-radius: 12px; }
  .menu-toggle span { height: 2px; background: currentColor; }
  .site-header.compact { color: #fff; background: var(--room); }
  .site-header.compact .logo-mark { color: var(--teal-light); }
  .mobile-menu { position: fixed; z-index: 79; inset: 68px 0 auto; max-height: calc(100vh - 68px); overflow: auto; padding: 12px 20px 24px; color: #fff; background: var(--room); border-top: 1px solid var(--room-line); }
  .mobile-menu.open { display: grid; }
  .mobile-menu > a:not(.btn) { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--room-line); font-weight: 600; }
  .mobile-menu .open-status { margin: 17px 0; }
  .mobile-menu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .hero, .hero__inner { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; padding-top: 60px; padding-bottom: 110px; }
  .hero__copy h1 { font-size: 34px; }
  .hero__copy p { font-size: 16px; }
  .hero__visual { min-height: 260px; }
  .hero .button-row { display: grid; grid-template-columns: 1fr 1fr; }
  .search-card { margin-top: -60px; padding: 22px 18px; border-radius: 20px; }
  .search-group__rows { grid-template-columns: 1fr; }
  .departments, .doctors, .about, .faq, .articles, .contact { padding: 64px 0; }
  .section-heading { margin-bottom: 28px; }
  .device-desktop { display: none; }
  .device-mobile { display: grid; gap: 10px; }
  .device-accordion__item { overflow: hidden; border: 1px solid var(--room-line); border-radius: 16px; }
  .device-accordion__button { width: 100%; min-height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 14px 17px; color: #fff; background: #0f2233; border: 0; text-align: right; font-weight: 600; }
  .device-accordion__identity { display: grid; gap: 0; text-align: right; }
  .device-accordion__identity strong { font-weight: 600; }
  .device-accordion__identity .device-abbreviation { color: #8fa4b3; font-size: 12px; font-weight: 400; }
  .device-accordion__toggle { color: var(--teal-light); font-size: 22px; }
  .device-accordion__panel { padding: 17px; background: var(--room-2); }
  .device-accordion__panel h3 { font-family: var(--font-heading); font-weight: 600; }
  .device-accordion__visual { position: relative; height: 240px; overflow: hidden; margin-bottom: 22px; background: linear-gradient(145deg, #d7e2e8, #8199a8); border-radius: 14px; }
  .device-accordion__panel p { color: #b8c8d3; }
  .specs { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: 1fr; }
  .doctor-card, .doctor-card--founder { min-height: auto; }
  .doctor-card__portrait, .doctor-card--founder .doctor-card__portrait { height: 300px; }
  .about__inner, .faq__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__visual { min-height: 330px; }
  .section-heading--articles .btn { display: none; }
  .article-grid { grid-template-columns: 1fr; }
  .articles__mobile-cta { width: 100%; display: flex; margin-top: 20px; }
  .contact__grid { grid-template-columns: 1fr; }
  .map-placeholder { min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .edit-status__inner { width: calc(100% - 40px); min-height: 74px; }
  .edit-status small, .edit-status button:not(.edit-status__end) { display: none; }
  .edit-drawer { width: 100%; }
  .modal-root { padding: 12px; }
  .modal { max-height: calc(100vh - 24px); border-radius: 20px; }
  .modal__grid { grid-template-columns: 1fr; }
  .modal__visual { min-height: 280px; }
  .modal__content { padding: 28px 22px 32px; }
}

@media (max-width: 430px) {
  .review-tools { display: none; }
  .container { width: calc(100% - 32px); }
  .brand span { max-width: 215px; overflow: hidden; text-overflow: ellipsis; }
  .hero__copy .button-row, .mobile-menu__actions { grid-template-columns: 1fr; }
  .contact-card section { padding: 26px 22px; }
  .contact-number { font-size: 24px; }
}

@media (max-width: 900px) {
  .review-tools { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Professional refinement pass — synchronized from the native Round 3 Figma boards. */
.header-primary { height: 80px; }
.brand { gap: 14px; font-size: 21px; }
.logo-mark { width: 48px; height: 48px; }
.header-nav { height: 60px; }
.header-nav__inner { gap: clamp(18px, 2.15vw, 31px); font-size: 16px; }
.header-nav a::after { bottom: -15px; }

.hero, .hero__inner { min-height: 622px; }
.hero__inner { grid-template-columns: minmax(520px, 1.12fr) minmax(440px, .88fr); gap: 56px; padding-block: 56px 116px; }
.hero__eyebrow { margin-bottom: 16px; font-size: 18px; line-height: 30px; }
.hero__copy h1 { max-width: 650px; margin-bottom: 16px; font-size: clamp(46px, 3.34vw, 48px); line-height: 68px; letter-spacing: -.02em; }
.hero__copy p { max-width: 610px; font-size: 19px; line-height: 34px; }
.hero__copy .button-row { margin-top: 16px; }
.hero__visual { min-height: 430px; border-radius: 24px; }
.hero__visual .device-art-slot svg { width: 80%; height: 84%; }

.search-wrap { min-height: 132px; }
.search-card { width: min(1080px, calc(100% - 48px)); min-height: 204px; margin-top: -84px; padding: 30px 38px; }
.search-card > label { margin-bottom: 12px; font-size: 17px; }
.search-field { min-height: 62px; }
.search-chip { padding: 7px 14px; font-size: 13px; }

.departments { padding: 80px 0; }
.section-heading { margin-bottom: 34px; }
.device-desktop { grid-template-columns: 296px 1fr; min-height: 610px; border-radius: 24px; }
.device-tabs { padding: 16px 0; }
.device-tab { min-height: 82px; padding: 12px 22px; }
.device-detail { padding: 36px; }
.device-detail__grid { grid-template-columns: minmax(380px, 1.08fr) minmax(330px, .92fr); gap: 42px; min-height: 536px; }
.device-detail__visual { min-height: 490px; border-radius: 18px; }
.device-detail__content h3 { font-size: 30px; line-height: 1.45; }
.device-detail__content > p { margin-bottom: 14px; font-size: 15px; }
.specs { margin: 16px 0; }
.exam-list { gap: 7px; margin-top: 14px; }
.exam-list li { font-size: 15px; }
.device-info-btn { margin-top: 16px; }

.doctors { padding: 80px 0; }
.doctors h2 { margin-bottom: 32px; }
.doctors-grid { grid-template-columns: 1.45fr 1fr 1fr; gap: 20px; }
.doctor-card { min-height: 438px; border-radius: 22px; }
.doctor-card__portrait, .doctor-card--founder .doctor-card__portrait { height: 272px; background: linear-gradient(145deg, #dce5ea, #b9c8d1); }
.doctor-card--founder { color: var(--ink); background: #fff; border-color: var(--line); }
.doctor-card--founder .doctor-card__body p { color: var(--muted); }
.doctor-card--founder .doctor-card__body button { color: var(--teal-dark); }
.doctor-card__body { padding: 22px 24px; }
.doctor-card__body h3 { font-size: 23px; line-height: 1.5; }
.doctor-card--founder .doctor-card__body h3 { font-size: 27px; }
.doctor-card__body p { margin-bottom: 13px; font-size: 16px; }
.founder-badge { color: #fff; background: var(--teal-dark); }

.about { padding: 80px 0; }
.about__inner { grid-template-columns: .78fr 1.22fr; gap: 60px; }
.about__visual { min-height: 430px; border-radius: 22px; }
.about__copy .lead { font-size: 18px; line-height: 1.9; }
.about-points { gap: 16px; margin: 26px 0; }
.about-points h3 { font-size: 18px; }
.about-points p { font-size: 15px; }

.faq { padding: 72px 0; }
.faq__inner { grid-template-columns: .48fr 1fr; gap: 72px; }
.faq-question { padding: 22px 0; font-size: 19px; }
.faq-answer { padding-bottom: 22px; }
.faq-answer p { font-size: 16px; line-height: 1.9; }

.articles { padding: 72px 0; }
.article-grid { grid-template-columns: 1.15fr .85fr; grid-template-rows: repeat(2, minmax(188px, auto)); gap: 18px; }
.article-card { border-radius: 20px; }
.article-card:first-child { grid-row: 1 / 3; }
.article-card:first-child .article-card__visual { height: 310px; }
.article-card:not(:first-child) { display: grid; grid-template-columns: 190px 1fr; }
.article-card:not(:first-child) .article-card__visual { height: 100%; min-height: 188px; }
.article-card__body { padding: 22px; }
.article-card__body h3 { margin: 7px 0 10px; font-size: 20px; }
.article-card__body p { margin-bottom: 12px; font-size: 14px; }

.contact { padding: 72px 0; }
.contact__grid { grid-template-columns: minmax(440px, .65fr) minmax(520px, 1fr); min-height: 520px; border-radius: 24px; }
.contact-card section { padding: 26px 30px; }
.contact-card h3 { font-size: 20px; }
.contact-number { font-size: 25px; }

.site-footer { padding: 42px 0 20px; }
.footer-grid { gap: 54px; padding-bottom: 30px; }
.footer-bottom { padding-top: 18px; }

.edit-activate { width: 56px; height: 56px; display: grid; place-items: center; padding: 0; color: #fff; background: var(--room); border: 1px solid #ffffff2e; border-radius: 50%; box-shadow: 0 14px 36px #07152155; transition: transform .18s, background .18s; }
.edit-activate:hover { transform: translateY(-2px); }
.edit-activate svg { width: 26px; height: 26px; }
.edit-activate span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.edit-activate.is-active { color: var(--room); background: var(--amber); border-color: #f2c978; }
.edit-mode .editable-region { outline-color: #d99a2b; }
.edit-mode .edit-marker { color: var(--room); background: var(--amber); }

@container site (max-width: 900px) {
  h2 { font-size: 34px; }
  .header-primary { height: 72px; }
  .brand { font-size: 17px; }
  .logo-mark { width: 42px; height: 42px; }
  .mobile-menu { top: 72px; max-height: calc(100vh - 72px); }
  .hero__inner { grid-template-columns: 1fr; gap: 34px; padding-top: 54px; padding-bottom: 116px; }
  .hero__eyebrow { margin-bottom: 14px; font-size: 16px; line-height: 28px; }
  .hero__copy h1 { margin-bottom: 14px; font-size: 36px; line-height: 52px; }
  .hero__copy p { font-size: 18px; line-height: 32px; }
  .hero__copy .button-row { margin-top: 14px; }
  .hero__visual { min-height: 340px; }
  .search-card { min-height: 190px; margin-top: -72px; }
  .departments, .doctors, .about, .faq, .articles, .contact { padding: 64px 0; }
  .doctor-card__body h3, .doctor-card--founder .doctor-card__body h3 { font-size: 24px; }
  .about__inner, .faq__inner { gap: 36px; }
  .article-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .article-card:first-child { grid-row: auto; }
  .article-card:first-child .article-card__visual { height: 250px; }
  .article-card:not(:first-child) { grid-template-columns: 180px 1fr; }
  .contact__grid { grid-template-columns: 1fr; min-height: auto; }
  .map-placeholder { min-height: 340px; }
  .edit-activate { width: 52px; height: 52px; inset: auto 24px 24px auto; }
}

@container site (max-width: 430px) {
  .container { width: calc(100% - 32px); }
  h2 { font-size: 30px; }
  .header-primary { height: 68px; }
  .brand { max-width: calc(100% - 54px); font-size: 15px; }
  .brand span { max-width: none; display: block; overflow: visible; white-space: normal; text-overflow: clip; line-height: 1.5; }
  .logo-mark { width: 38px; height: 38px; }
  .mobile-menu { top: 68px; max-height: calc(100vh - 68px); }
  .hero__inner { gap: 28px; padding-top: 46px; padding-bottom: 104px; }
  .hero__eyebrow { margin-bottom: 16px; font-size: 15px; line-height: 26px; }
  .hero__copy h1 { margin-bottom: 16px; font-size: 34px; line-height: 50px; }
  .hero__copy p { font-size: 17px; line-height: 31px; }
  .hero__copy .button-row { margin-top: 16px; }
  .hero__visual { min-height: 268px; border-radius: 18px; }
  .search-card { width: calc(100% - 24px); min-height: 184px; margin-top: -58px; padding: 22px 18px; }
  .search-card > label { font-size: 15px; }
  .departments, .doctors, .about, .faq, .articles, .contact { padding: 56px 0; }
  .section-heading { margin-bottom: 24px; }
  .device-accordion__panel { padding: 14px; }
  .device-accordion__visual { height: 220px; }
  .doctors-grid, .about__inner, .faq__inner { grid-template-columns: 1fr; }
  .doctor-card__portrait, .doctor-card--founder .doctor-card__portrait { height: 280px; }
  .about__visual { min-height: 300px; }
  .faq-question { gap: 18px; padding: 19px 0; font-size: 17px; }
  .article-card:not(:first-child) { display: block; }
  .article-card:not(:first-child) .article-card__visual { height: 190px; min-height: 0; }
  .contact-card section { padding: 24px 20px; }
  .map-placeholder { min-height: 300px; }
  .site-footer { padding-top: 36px; }
  .edit-status__inner { min-height: 66px; }
}

/* MOTION & DEPTH — synchronized from the authoritative Round 3 Figma pass. */
:root {
  --motion-fast: 160ms;
  --motion-standard: 210ms;
  --motion-modal: 260ms;
--motion-ease: cubic-bezier(0, 0, .58, 1);
  --elevation-1: 0 6px 18px #0b1b2b1a;
  --elevation-2: 0 14px 32px #0b1b2b24;
  --elevation-3: 0 24px 60px #0b1b2b38;
}

.site-header,
.site-header .header-primary {
  transition: height var(--motion-standard) var(--motion-ease), background-color var(--motion-standard) var(--motion-ease), box-shadow var(--motion-standard) var(--motion-ease), color var(--motion-fast) var(--motion-ease);
}
.site-header.compact { box-shadow: var(--elevation-1); }

.btn,
button,
a,
.search-field,
.search-result,
.device-tab,
.exam-more,
.doctor-card,
.article-card,
.article-card__visual svg {
  transition-duration: var(--motion-fast);
  transition-timing-function: var(--motion-ease);
}
.btn { transition-property: transform, background-color, border-color, box-shadow, filter; }
.btn:hover { box-shadow: var(--elevation-1); filter: brightness(1.02); transform: translateY(-2px); }
.btn:active { box-shadow: none; filter: none; transform: translateY(0) scale(.985); }
.btn:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline: 3px solid #5bc9c366; outline-offset: 3px; }
.btn:disabled,
button:disabled { cursor: not-allowed; opacity: .52; box-shadow: none; filter: grayscale(.15); transform: none; }

.search-card { box-shadow: var(--elevation-1); }
.search-field { transition-property: border-color, box-shadow, background-color; }
.search-field:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px #5bc9c326; background: #fff; }
.search-field > span { transition: transform var(--motion-fast) var(--motion-ease), color var(--motion-fast) var(--motion-ease); }
.search-field:focus-within > span { color: var(--teal-dark); transform: scale(1.08); }
.search-result { transition-property: background-color, border-color, transform, box-shadow; }
.search-result:hover,
.search-result:focus-visible { background: var(--tint); border-color: #5bc9c380; box-shadow: var(--elevation-1); transform: translateY(-1px); }
.motion-enter { opacity: 0; transform: translateY(6px); }
.motion-enter.motion-enter--active { opacity: 1; transform: translateY(0); transition: opacity var(--motion-fast) var(--motion-ease), transform var(--motion-fast) var(--motion-ease); }

#device-detail,
#device-accordion { transition: height var(--motion-standard) var(--motion-ease), opacity var(--motion-fast) var(--motion-ease), transform var(--motion-standard) var(--motion-ease); }
#device-detail.is-switching,
#device-accordion.is-switching,
#device-detail.is-entering,
#device-accordion.is-entering { opacity: .72; transform: translateY(8px); }
.device-detail__visual,
.device-accordion__visual,
.hero__visual { box-shadow: var(--elevation-2); }
.device-tab:hover { color: #fff; background: #ffffff08; }
.exam-list li { padding: 3px 6px; border-radius: 8px; transition: color var(--motion-fast) var(--motion-ease), background-color var(--motion-fast) var(--motion-ease), transform var(--motion-fast) var(--motion-ease); }
.exam-list li:hover { color: #fff; background: #ffffff08; transform: translateX(-3px); }
.modal .exam-list li:hover { color: var(--ink); background: var(--tint); }
.exam-more { transition-property: color, transform; }
.exam-more:hover,
.exam-more:focus-visible { color: #fff; transform: translateX(-3px); }

.faq-question { transition: color var(--motion-fast) var(--motion-ease); }
.faq-question:hover { color: var(--teal-dark); }
.faq-question span { transition: transform var(--motion-standard) var(--motion-ease), background-color var(--motion-fast) var(--motion-ease); }
.faq-question:hover span { background: #d8efed; }
.faq-answer { transform-origin: top; }

.doctor-card { box-shadow: var(--elevation-1); transition-property: border-color, box-shadow, transform; transition-duration: var(--motion-standard); }
.doctor-card__portrait svg { transition: transform var(--motion-standard) var(--motion-ease); }
.doctor-card:hover { border-color: #5bc9c366; box-shadow: var(--elevation-2); transform: translateY(-2px); }
.doctor-card:hover .doctor-card__portrait svg,
.doctor-card:hover .doctor-card__portrait .asset-media { transform: scale(1.02); }
.doctor-card__body button,
.article-card__body button { transition: color var(--motion-fast) var(--motion-ease), transform var(--motion-fast) var(--motion-ease); }
.doctor-card__body button:hover,
.article-card__body button:hover { color: var(--teal); transform: translateX(-3px); }

.article-card { transition-property: border-color; }
.article-card__visual svg { transition-property: transform; transition-duration: var(--motion-standard); }
.article-card:hover { border-color: #5bc9c366; }
.article-card:hover .article-card__visual svg { transform: scale(1.02); }
.article-card__body h3 { transition: color var(--motion-fast) var(--motion-ease); }
.article-card:hover .article-card__body h3 { color: var(--teal-dark); }

.modal-root { opacity: 0; transition: opacity var(--motion-modal) var(--motion-ease), backdrop-filter var(--motion-modal) var(--motion-ease); }
.modal-root.is-open { opacity: 1; }
.modal { opacity: .94; box-shadow: var(--elevation-3); transform: translateY(8px) scale(.98); transition: opacity var(--motion-modal) var(--motion-ease), transform var(--motion-modal) var(--motion-ease); }
.modal-root.is-open .modal { opacity: 1; transform: translateY(0) scale(1); }

.edit-activate { box-shadow: var(--elevation-1); transition: transform var(--motion-fast) var(--motion-ease), background-color var(--motion-fast) var(--motion-ease), box-shadow var(--motion-fast) var(--motion-ease); }
.edit-activate:hover { box-shadow: var(--elevation-2); transform: translateY(-2px); }
.edit-activate svg { transition: transform var(--motion-fast) var(--motion-ease); }
.edit-activate:hover svg { transform: rotate(-12deg); }
.edit-activate.is-active svg { transform: rotate(0); }
.edit-mode .edit-marker { animation: edit-marker-in var(--motion-fast) var(--motion-ease) both; }
.edit-drawer { opacity: .94; box-shadow: var(--elevation-3); transition: transform var(--motion-modal) var(--motion-ease), opacity var(--motion-modal) var(--motion-ease); }
.edit-drawer.open { opacity: 1; }
.drawer-backdrop { opacity: 0; transition: opacity var(--motion-modal) var(--motion-ease), backdrop-filter var(--motion-modal) var(--motion-ease); }
.drawer-backdrop.is-open { opacity: 1; }
.unsaved { opacity: 0; transform: translateY(-3px); transition: opacity var(--motion-fast) var(--motion-ease), transform var(--motion-fast) var(--motion-ease); }
.unsaved.is-visible { opacity: 1; transform: translateY(0); }
#drawer-save.is-success { color: #fff; background: var(--teal-dark); box-shadow: 0 0 0 4px #5bc9c333; }

@keyframes edit-marker-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .btn:hover,
  .btn:active,
  .search-result:hover,
  .search-result:focus-visible,
  .exam-list li:hover,
  .exam-more:hover,
  .exam-more:focus-visible,
  .doctor-card:hover,
  .doctor-card:hover .doctor-card__portrait svg,
  .doctor-card:hover .doctor-card__portrait .asset-media,
  .doctor-card__body button:hover,
  .article-card__body button:hover,
  .article-card:hover .article-card__visual svg,
  .edit-activate:hover,
  .edit-activate:hover svg,
  #device-detail.is-switching,
  #device-accordion.is-switching,
  #device-detail.is-entering,
  #device-accordion.is-entering { transform: none !important; }
  .motion-enter { opacity: 1 !important; transform: none !important; }
}
