
:root {
  --background: #f5f9fa;
  --surface: #fff;
  --ink: #203640;
  --muted: #7a8d95;
  --cyan: #009faf;
  --cyan-bright: #00d7e6;
  --cyan-soft: #e5f7f9;
  --gold: #b5974c;
  --glass-bg: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.91),
    rgba(255, 255, 255, 0.62)
  );
  --glass-border: rgba(255, 255, 255, 0.94);
  --glass-highlight:
    inset 0 1px 0 #fff, inset 0 -1px 0 rgba(199, 225, 230, 0.2);
  --glass-shadow:
    0 5px 24px rgba(47, 92, 104, 0.035), 0 1px 3px rgba(40, 85, 100, 0.035);
  --glass-blur: 24px;
  --cyan-glow: 0 0 32px #00c4d414;
  --gold-highlight: #f7f0df;
  --radius: 18px;
  --space: 24px;
  --motion: 180ms;
  --font: Arial, Helvetica, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 80% 20%, #dff6f877, transparent 40%),
    radial-gradient(ellipse at 20% 90%, #e0f2f555, transparent 50%),
    var(--background);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button,
a {
  transition:
    background var(--motion),
    box-shadow var(--motion),
    transform var(--motion);
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid #00a8bc;
  outline-offset: 3px;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -1.05px;
  font-weight: 600;
  margin-bottom: 8px;
}
h2 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}
h4 {
  font-size: 13px;
  font-weight: 600;
}
p {
  color: #71858e;
  margin-bottom: 16px;
}
small {
  font-size: 11px;
}
b {
  font-weight: 600;
}
svg {
  flex-shrink: 0;
}
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  border-radius: var(--radius);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  min-height: 41px;
  border: 1px solid transparent;
}
.button:hover:not(:disabled) {
  transform: translateY(-1px);
}
.button.primary {
  background: linear-gradient(135deg, #0bb7c7, #009daa);
  color: white;
  box-shadow:
    0 4px 12px #009eaf22,
    inset 0 1px 0 #ffffff55;
  border-color: #ffffff55;
}
.button.primary:hover {
  box-shadow: 0 5px 18px #009eaf44;
}
.button.secondary {
  background: #ffffffa8;
  border-color: #d9e8eb;
  box-shadow: inset 0 1px 0 white;
  color: #45616c;
}
.button.ghost {
  color: var(--cyan);
  padding: 8px 10px;
}
.button.ghost:hover {
  background: var(--cyan-soft);
}
.button.danger {
  background: #fff0ed;
  color: #b64a38;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 6px;
  background: #e8f7f8;
  color: #278a94;
  font-size: 10px;
  letter-spacing: 0.1px;
  font-weight: 500;
  white-space: nowrap;
}
.badge.gold {
  background: #fbf4e4;
  color: #aa8534;
}
.badge.green {
  background: #eaf6ef;
  color: #4c9372;
}
.badge.neutral {
  background: #f0f5f6;
  color: #81949b;
}
.subtle {
  color: var(--muted);
  font-size: 12px;
}
.hidden {
  display: none;
}
.space-top {
  margin-top: 26px;
}
.padded {
  padding: 28px;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 238px;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  border-radius: 0;
  background: linear-gradient(160deg, #ffffffdb, #f8fcfbe6);
  border-right: 1px solid white;
  display: flex;
  flex-direction: column;
  padding: 36px 18px 0;
  box-shadow: 5px 0 30px #426e7910;
}
.wordmark {
  display: flex;
  align-items: center;
  font-size: 27px;
  letter-spacing: -1px;
  font-weight: 650;
  padding: 0 11px;
  margin-bottom: 40px;
}
.wordmark > span:not(.logo-mark) {
  color: #00aabb;
}
.wordmark i {
  width: 5px;
  height: 5px;
  align-self: flex-start;
  background: #d9bd72;
  border-radius: 50%;
  margin-top: 11px;
  margin-left: 3px;
}
.logo-mark {
  display: grid;
  place-items: center;
  background: linear-gradient(130deg, #16c9d4, #00a0b5);
  color: white;
  border: 1px solid #ffffff99;
  box-shadow:
    0 4px 12px #00bdcc26,
    inset 0 1px 0 #ffffff77;
  border-radius: 11px;
  width: 35px;
  height: 37px;
  margin-right: 9px;
}
.workspace-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #91a2a8;
  margin: 0 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.workspace-label span {
  letter-spacing: 0.8px;
  border: 1px solid #e7dabc;
  border-radius: 4px;
  padding: 1px 5px;
  color: #b49757;
  font-size: 8px;
}
.navigation {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav-item {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 13px 15px;
  font-size: 12px;
  color: #6f828b;
  border: 1px solid transparent;
  border-radius: 10px;
  text-align: left;
}
.nav-item svg {
  stroke-width: 1.6;
}
.nav-item:hover {
  background: #eef8f9;
}
.nav-item.selected {
  background: linear-gradient(105deg, #dff5f7bb, #eaf8f999);
  color: #008f9f;
  border-color: #c9eef177;
  box-shadow:
    inset 0 1px 0 #fff,
    0 3px 12px #00a0ab04;
  font-weight: 600;
}
.nav-item.selected:before {
  content: "";
  height: 18px;
  width: 3px;
  background: #00b8c7;
  border-radius: 3px;
  position: absolute;
  left: 0;
}
.tiny-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #00bdc6;
  border-radius: 50%;
  box-shadow: 0 0 8px #00bdc633;
  flex-shrink: 0;
}
.nav-item .tiny-dot {
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 65px;
}
.premium-panel {
  border: 1px solid #e6ece7;
  background: linear-gradient(120deg, #fffdf7a8, #f4fafa99);
  border-radius: 12px;
  padding: 17px 15px;
  margin-bottom: 23px;
}
.gold-label {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #a38f55;
  font-weight: 600;
}
.premium-panel h4 {
  margin: 13px 0 7px;
  font-size: 12px;
}
.premium-panel p {
  font-size: 10px;
  line-height: 1.8;
  margin-bottom: 14px;
  color: #8a999e;
}
.premium-panel button {
  font-size: 10px;
  color: #7a8c91;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: left;
  border-top: 1px solid #e8eff0;
  padding: 20px 0 23px;
}
.profile b {
  font-size: 11px;
}
.profile small {
  display: block;
  font-size: 9px;
  color: #8d9ca2;
}
.profile > svg {
  margin-left: auto;
  color: #8c9da3;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #6f9aa2;
  background: linear-gradient(140deg, #e8f5f5, #dcecef);
  font-size: 11px;
  font-weight: 500;
  flex-shrink: 0;
  border: 1px solid #ffffffb3;
}
.avatar.doctor {
  background: linear-gradient(140deg, #e2ebed, #c4d7dc);
  color: #52727b;
}
.avatar.small {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  font-size: 10px;
}
.avatar.large {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  font-size: 23px;
}
.main-shell {
  margin-left: 238px;
  min-width: 0;
  flex: 1;
}
.topbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 43px;
  border-bottom: 1px solid #e6eef0;
  background: #ffffff45;
  position: relative;
  z-index: 20;
}
.global-search {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #96a8ad;
}
.global-search input {
  background: none;
  border: 0;
  width: 275px;
  font-size: 11px;
  outline-offset: 5px;
  color: #4a6570;
}
.global-search input::placeholder {
  color: #99a8af;
}
.global-search kbd {
  font-size: 11px;
  color: #a6b5ba;
  background: #ffffff80;
  border: 1px solid #e6edef;
  padding: 0 5px;
  border-radius: 4px;
}
.top-actions {
  display: flex;
  gap: 23px;
  align-items: center;
}
.system-status {
  font-size: 10px;
  color: #8c9da3;
  display: flex;
  gap: 7px;
  align-items: center;
}
.system-status i {
  width: 5px;
  height: 5px;
  background: #65baa0;
  border-radius: 50%;
}
.top-divider {
  height: 21px;
  width: 1px;
  background: #e2eaed;
}
.icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #7b9099;
  border-radius: 8px;
}
.icon-button:hover {
  background: #e9f4f5;
}
.notification-dot {
  width: 4px;
  height: 4px;
  position: absolute;
  right: 6px;
  top: 5px;
  background: #b7a368;
  border-radius: 50%;
  border: 1px solid white;
}
.notification-panel {
  position: absolute;
  right: 45px;
  top: 67px;
  width: 290px;
  padding: 20px;
}
.notification-panel p {
  font-size: 12px;
  margin-top: 8px;
}
.mobile-menu {
  display: none;
}
main {
  max-width: 1600px;
  margin: 0 auto;
  padding: 37px 43px 36px;
  min-height: calc(100vh - 135px);
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}
.page-heading p {
  font-size: 12px;
  margin-bottom: 0;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 600;
  color: #7b959e;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}
.greeting-spark {
  color: #c5ab6b;
  font-size: 29px;
  margin-left: 6px;
  font-weight: 400;
}
.dashboard-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #81969e;
  font-size: 11px;
  margin-bottom: 24px;
  text-transform: capitalize;
}
.dashboard-date .badge {
  margin-left: 8px;
  font-size: 9px;
  padding: 3px 8px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 27px;
}
.stat-card {
  padding: 20px 20px 18px;
  transition:
    transform var(--motion),
    box-shadow var(--motion);
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 9px 30px #3d859211,
    var(--glass-highlight);
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  font-size: 11px;
  color: #7b8f98;
}
.stat-icon {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #e8f7f8;
  color: #3badb8;
  border: 1px solid #ffffffcc;
}
.stat-icon.blue {
  background: #ebf1fb;
  color: #86a3c9;
}
.stat-icon.gold {
  background: #f9f4e8;
  color: #bca361;
}
.stat-icon.purple {
  background: #f1eef9;
  color: #a59bc3;
}
.stat-icon svg {
  stroke-width: 1.6;
}
.stat-card strong {
  display: block;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -1.5px;
  margin: 5px 0 11px;
  color: #314b55;
}
.stat-note {
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a3a8;
  white-space: nowrap;
}
.mini-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8bc9c5;
}
.mini-dot.gold {
  background: #d4bb7a;
}
.mini-dot.purple {
  background: #b8add6;
}
.mini-dot.blue {
  background: #9bb7d3;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr);
  gap: 25px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.section-heading p {
  font-size: 11px;
  margin: 5px 0 0;
}
.section-heading h2 {
  margin-bottom: 0;
}
.agenda-panel > .section-heading,
.activity-panel > .section-heading {
  padding: 24px 24px 0;
}
.count {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #edf6f7;
  color: #70a0a8;
  font-size: 10px;
  width: 21px;
  height: 21px;
  vertical-align: middle;
  border-radius: 6px;
  margin-left: 6px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5b9ca6;
  font-size: 10px;
  padding: 0;
}
.text-link:hover {
  color: #008b9c;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #9aabb1;
  background: #f6fafbb3;
  padding: 12px 23px;
  border-top: 1px solid #edf2f3;
  border-bottom: 1px solid #edf2f3;
}
td {
  padding: 19px 23px;
  border-bottom: 1px solid #edf2f3;
  font-size: 11px;
  color: #6b838d;
}
td b {
  font-size: 11px;
  color: #47616b;
}
td small {
  display: block;
  color: #94a5ad;
  font-size: 9px;
  margin-top: 3px;
}
.patient-cell {
  display: flex;
  align-items: center;
  gap: 11px;
}
.patient-cell b {
  display: block;
}
.time {
  font-variant-numeric: tabular-nums;
}
.row-action {
  display: grid;
  place-items: center;
  color: #7c9aa5;
  border: 1px solid #e3edef;
  border-radius: 7px;
  width: 25px;
  height: 27px;
  background: #ffffff88;
}
.row-action:hover {
  background: #dff5f6;
  color: #0099a7;
}
.panel-bottom-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #7e9aa4;
  width: 100%;
  padding: 15px;
}
.panel-bottom-link:hover {
  background: #edf8f9;
  border-radius: 0 0 18px 18px;
}
.activity-panel {
  margin-top: 23px;
  padding-bottom: 10px;
}
.activity-panel .section-heading {
  margin-bottom: 15px;
}
.activity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  width: 100%;
  padding: 12px 25px;
}
.activity-row:hover {
  background: #f0f9fa;
}
.activity-row > span:nth-child(2) {
  flex: 1;
}
.activity-row b {
  display: block;
  font-size: 11px;
  color: #5e7782;
}
.activity-row small {
  display: block;
  font-size: 10px;
  color: #9aabb0;
  margin-top: 3px;
}
.activity-row > svg {
  color: #9bb3ba;
}
.activity-icon {
  width: 32px;
  height: 32px;
  border: 1px solid #e4f0eb;
  color: #82b5a5;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eff7f3;
}
.activity-icon.blue {
  color: #8dabb8;
  background: #eef4f9;
  border-color: #e8eff5;
}
.insight-card {
  padding: 23px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 32%, #c1f2f452, transparent 47%),
    linear-gradient(140deg, #ffffffee, #f4fafadd);
  border-color: #ffffff;
  box-shadow:
    0 5px 24px #47a6b00a,
    inset 0 0 0 1px #d8eff04a;
}
.insight-card .section-heading {
  margin-bottom: 6px;
}
.ai-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #398d97;
  font-size: 12px;
  font-weight: 600;
}
.insight-card .badge {
  font-size: 8px;
  letter-spacing: 1px;
  background: #ffffffa6;
}
.intelligence-orb {
  height: 147px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px auto 2px;
  width: 190px;
}
.intelligence-orb:before,
.intelligence-orb:after {
  content: "";
  position: absolute;
  width: 128px;
  height: 128px;
  border: 1px solid #9adfe336;
  border-radius: 50%;
  transform: rotate(-20deg) scaleY(0.77);
}
.intelligence-orb:after {
  width: 162px;
  height: 162px;
  border-color: #a8d9df27;
  transform: rotate(30deg) scaleY(0.65);
}
.intelligence-orb > div {
  width: 84px;
  height: 84px;
  border-radius: 25px;
  background: linear-gradient(140deg, #ffffffec, #c2f0f2ad 56%, #f2fcfc);
  box-shadow:
    inset 0 0 0 1px #ffffff,
    0 9px 27px #35b3c026,
    inset 2px 2px 7px #fff,
    0 0 45px #54d4e124;
  display: grid;
  place-items: center;
  color: #49b8c1;
  transform: rotate(-9deg);
}
.intelligence-orb > div svg {
  transform: rotate(9deg);
  stroke-width: 1.25;
}
.orb-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border: 1px solid white;
  border-radius: 50%;
  background: #a6d8d9;
}
.orb-dot.one {
  left: 26px;
  top: 70px;
}
.orb-dot.two {
  right: 27px;
  top: 42px;
  background: #d3c18c;
}
.orb-dot.three {
  right: 55px;
  bottom: 22px;
  width: 3px;
  height: 3px;
}
.insight-card h2 {
  font-size: 21px;
  line-height: 1.45;
  letter-spacing: -0.5px;
}
.insight-card > p {
  font-size: 11px;
  line-height: 1.9;
  margin-top: 12px;
  color: #8a9da3;
}
.insight-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 10px;
  line-height: 1.8;
  color: #7e969d;
  border-top: 1px solid #e1eff0;
  border-bottom: 1px solid #e1eff0;
  padding: 14px 0;
  margin: 17px 0;
}
.insight-note .tiny-dot {
  margin-top: 6px;
  width: 5px;
  height: 5px;
}
.insight-note b {
  color: #5e8b94;
}
.insight-card > .button {
  width: 100%;
  font-size: 10px;
  background: #ffffff99;
  border-color: #d9edef;
}
.ai-footnote {
  display: block;
  text-align: center;
  font-size: 9px;
  color: #a0b0b5;
  margin-top: 14px;
}
.quick-heading {
  font-size: 9px;
  letter-spacing: 1.3px;
  color: #9caeb4;
  margin: 24px 0 12px 3px;
}
.quick-card {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 15px;
  margin-bottom: 11px;
  border-radius: 12px;
}
.quick-card:hover {
  transform: translateY(-2px);
}
.quick-card > span:nth-child(2) {
  flex: 1;
}
.quick-card b {
  font-size: 11px;
  font-weight: 500;
  display: block;
  color: #68828c;
}
.quick-card small {
  display: block;
  font-size: 9px;
  color: #a1b0b6;
  margin-top: 3px;
}
.quick-card > svg {
  color: #9fb6bc;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 43px;
  border-top: 1px solid #e5eef0;
  color: #a1b0b7;
  font-size: 9px;
}
footer > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
footer i {
  width: 3px;
  height: 3px;
  background: #b2c3c8;
  border-radius: 50%;
}
/* Clinical work surfaces */
.input,
input:not([type="range"]):not([type="file"]),
select,
textarea {
  color: #36535f;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  margin-bottom: 18px;
  color: #627d88;
}
.field > span {
  font-weight: 500;
}
.input,
.field input,
select,
textarea,
.search-field {
  background: #ffffffb8;
  border: 1px solid #dce8ec;
  border-radius: 9px;
  padding: 10px 12px;
  box-shadow: inset 0 1px 2px #456d7903;
  min-height: 42px;
}
select {
  font-size: 12px;
  max-width: 100%;
}
textarea {
  resize: vertical;
  min-height: 85px;
  width: 100%;
  font-size: 12px;
}
input::placeholder,
textarea::placeholder {
  color: #a6b5bc;
}
.fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}
.fields-grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.list-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 23px;
  flex-wrap: wrap;
}
.list-toolbar .field {
  margin: 0;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  flex: 1;
  color: #94a9b2;
}
.search-field input {
  background: none;
  border: 0;
  width: 100%;
  outline-offset: 5px;
  font-size: 12px;
}
.mono {
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 0.4px;
}
.empty-state {
  padding: 60px 24px;
  text-align: center;
  color: #93a9b2;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
}
.empty-state h2,
.empty-state h3,
.empty-state p {
  margin: 0;
}
.empty-state p {
  max-width: 450px;
  font-size: 12px;
}
.empty-state .button {
  margin-top: 10px;
}
.stepper {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 19px 14px;
  margin-bottom: 24px;
}
.stepper button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  position: relative;
  color: #90a5ad;
}
.stepper button:before {
  content: "";
  position: absolute;
  left: calc(-50% + 20px);
  right: calc(50% + 20px);
  height: 1px;
  top: 17px;
  background: #deeaed;
}
.stepper button:first-child:before {
  display: none;
}
.stepper button > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #dce8eb;
  border-radius: 11px;
  font-size: 11px;
  background: #f8fbfc;
}
.stepper button.current {
  color: #008b9d;
}
.stepper button.current > span {
  background: linear-gradient(135deg, #14bdc9, #00a2b3);
  color: #fff;
  border-color: #7fdbe2;
  box-shadow: 0 3px 13px #06aeba24;
}
.stepper button.complete > span {
  background: #e3f6f6;
  color: #00a1af;
  border-color: #d1eeef;
}
.stepper b {
  font-weight: 500;
}
.wizard-panel {
  padding: 30px;
}
.wizard-panel > h2 {
  margin-bottom: 22px;
}
.wizard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 15px;
}
.wizard-footer > span {
  font-size: 11px;
  color: #92a6ad;
}
.save-message {
  font-size: 12px;
  color: #428d7b;
}
.alert {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 16px 18px;
  border-radius: 11px;
  font-size: 12px;
  border: 1px solid;
  margin: 16px 0;
  line-height: 1.7;
}
.alert p {
  color: inherit;
  font-size: 12px;
  margin: 4px 0;
}
.alert.danger {
  background: #fff0ed;
  color: #a34435;
  border-color: #edb9ae;
}
.alert.warning {
  background: #fff8e9;
  color: #947335;
  border-color: #efdfb8;
}
.alert.info {
  background: #eef8fa;
  color: #567d88;
  border-color: #d7edf1;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 18px 0;
}
.pain-control {
  padding: 20px;
  background: #f5fafb;
  border: 1px solid #e0eef0;
  border-radius: 12px;
}
.pain-control > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.pain-control b {
  font-size: 23px;
  color: #049cae;
}
.pain-control b small {
  font-size: 11px;
  color: #9db0b6;
  font-weight: 400;
}
.pain-control input {
  width: 100%;
  accent-color: #00adbd;
  margin: 15px 0;
}
.pain-control > div {
  display: flex;
  justify-content: space-between;
  color: #94a9b1;
}
.pain-control small {
  font-size: 9px;
}
.anamnesis-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
}
.bodymap {
  border: 1px solid #e1edef;
  border-radius: 14px;
  padding: 20px;
  background: #f7fbfc;
}
.bodymap select {
  width: 100%;
  margin-bottom: 8px;
}
.bodymap-figure {
  max-width: 220px;
  margin: auto;
}
.bodymap-figure svg {
  width: 100%;
  max-height: 340px;
}
.bodymap-figure [role="button"] {
  cursor: pointer;
}
.zone-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  border: 1px solid #c6e9ec;
  color: #338694;
  background: #eaf7f8;
  border-radius: 6px;
  padding: 6px 9px;
  margin: 5px 0;
  width: 100%;
}
.zone-chip span {
  font-size: 15px;
}
.flag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #edf2f4;
  font-size: 12px;
}
.flag-row select {
  min-width: 125px;
  min-height: 34px;
  padding: 6px 9px;
  font-size: 11px;
}
.test-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.test-card {
  padding: 16px;
  background: #f7fafbcc;
  border: 1px solid #e0ecef;
  border-radius: 12px;
}
.test-card > b {
  font-size: 12px;
}
.test-options {
  display: flex;
  gap: 5px;
  margin: 13px 0;
}
.test-options button {
  padding: 7px 9px;
  border: 1px solid #dce8eb;
  border-radius: 6px;
  font-size: 10px;
  flex: 1;
  color: #859ba5;
  background: white;
}
.test-options button.active {
  background: #e3f7f8;
  border-color: #79cfd8;
  color: #008898;
  font-weight: 600;
}
.test-card input {
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #e0eaee;
  background: transparent;
  font-size: 11px;
}
.analysis > .section-heading h2 {
  margin-top: 15px;
  font-size: 24px;
  line-height: 1.45;
}
.analysis-disclaimer {
  font-size: 11px;
  line-height: 1.9;
  max-width: 820px;
}
.differential-card {
  border: 1px solid #dfecef;
  border-radius: 13px;
  padding: 22px;
  background: linear-gradient(115deg, #fff, #f6fbfccc);
  margin-bottom: 15px;
}
.differential-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
}
.differential-title h3 {
  margin: 0;
  flex: 1;
  font-size: 13px;
}
.pattern-number {
  font-size: 11px;
  color: #69aab5;
  background: #e8f6f8;
  padding: 5px 7px;
  border-radius: 6px;
}
.reasoning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 25px;
}
.reasoning-grid h4 {
  font-size: 10px;
  color: #6f929e;
  display: flex;
  gap: 5px;
  align-items: center;
  margin-bottom: 9px;
}
.reasoning-grid p {
  font-size: 11px;
  line-height: 1.8;
  margin-bottom: 5px;
  color: #79929d;
}
.next-test {
  margin-top: 25px;
  padding: 22px;
  border-radius: 14px;
  background: linear-gradient(120deg, #e6f7f9aa, #f5fbfc);
  border: 1px solid #cfe9ed;
}
.next-test .test-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.next-test .section-heading {
  margin-bottom: 9px;
}
.next-test .eyebrow {
  color: #3d9ba7;
  font-size: 9px;
}
.processing-state {
  padding: 50px;
  text-align: center;
  color: #008c9b;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.processing {
  animation: glow 1.4s ease-in-out infinite;
}
.spin {
  animation: spin 1s linear infinite;
}
.back-link {
  margin-bottom: 22px;
  font-size: 12px;
}
.patient-heading {
  margin-bottom: 20px;
}
.patient-heading h1 {
  margin-top: 4px;
}
.profile-meta {
  display: flex;
  gap: 23px;
  align-items: center;
  font-size: 11px;
  color: #8097a2;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.profile-meta > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid #dfecef;
  margin-bottom: 25px;
  overflow: auto;
}
.tabs button {
  padding: 12px 1px;
  font-size: 12px;
  color: #91a2ab;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.tabs button.active {
  color: #0097a8;
  border-bottom-color: #00a9b9;
}
.profile-content {
  padding: 28px;
}
.record-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 25px;
  margin: 20px 0;
}
.record-grid dt {
  font-size: 11px;
  color: #91a6af;
  margin-bottom: 5px;
}
.record-grid dd {
  font-size: 12px;
  white-space: pre-wrap;
  margin: 0;
  color: #526e7c;
}
.summary-cards {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 15px;
  margin: 22px 0 30px;
}
.summary-cards > div {
  padding: 20px;
  background: #f2f9facc;
  border: 1px solid #e4eef1;
  border-radius: 12px;
}
.summary-cards small {
  font-size: 8px;
  letter-spacing: 1px;
  color: #8ba6b0;
}
.summary-cards h3 {
  margin: 10px 0 0;
  font-size: 17px;
}
.timeline {
  margin: 20px 0 0 8px;
  border-left: 1px solid #cce7ec;
  padding-left: 25px;
}
.timeline article {
  position: relative;
  padding: 0 0 24px 0;
}
.timeline article + article {
  padding-top: 20px;
  border-top: 1px solid #e6eff2;
}
.timeline-dot {
  position: absolute;
  left: -31px;
  top: 4px;
  width: 10px;
  height: 10px;
  border: 2px solid white;
  background: #49bdc7;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #e1f3f5;
}
.timeline p {
  font-size: 12px;
}
.timeline .section-heading {
  margin-bottom: 12px;
}
.timeline .eyebrow {
  font-size: 9px;
}
.timeline h3 {
  margin: 0;
}
.modal {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(600px, 90vw);
  max-height: 88vh;
  overflow: auto;
  padding: 27px;
  background: #f9fcfd;
}
.modal::backdrop {
  background: #183d5066;
  backdrop-filter: blur(5px);
}
.document-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.document-card {
  padding: 20px;
  min-width: 0;
}
.document-card h3 {
  margin-top: 14px;
  overflow-wrap: anywhere;
}
.document-card p {
  font-size: 11px;
  margin-bottom: 5px;
}
.document-card small {
  color: #93a7b0;
  font-size: 10px;
}
.document-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}
.document-preview {
  width: 100%;
  height: 65vh;
  border: 0;
}
.image-preview {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 25px;
}
.settings-grid p {
  font-size: 12px;
  line-height: 1.9;
}
.settings-grid h2 {
  margin: 20px 0 10px;
}
.success-screen {
  min-height: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 40px;
}
.success-screen h1 {
  font-size: 28px;
  margin: 0;
}
.success-screen p {
  max-width: 460px;
  margin: 0;
}
.success-icon {
  width: 74px;
  height: 74px;
  background: #e3f6ed;
  border: 1px solid #ccecdc;
  color: #54a783;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes glow {
  50% {
    box-shadow: 0 0 25px #00c9dd22;
  }
}
@media (min-width: 1500px) {
  main {
    padding-top: 45px;
  }
  .stat-card {
    padding: 24px;
  }
  .stat-card strong {
    font-size: 40px;
  }
  .dashboard-columns {
    grid-template-columns: 2fr 1fr;
  }
  .insight-card {
    padding: 28px;
  }
  td {
    padding-top: 22px;
    padding-bottom: 22px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 210px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .main-shell {
    margin-left: 210px;
  }
  main {
    padding: 30px 26px;
  }
  .topbar {
    padding: 0 26px;
  }
  .stat-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 16px 13px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat-note {
    font-size: 8px;
  }
  .stat-icon {
    width: 30px;
    height: 30px;
  }
  .dashboard-columns {
    gap: 18px;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  }
  .agenda-panel th,
  .agenda-panel td {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .insight-card {
    padding: 20px;
  }
  .insight-card h2 {
    font-size: 19px;
  }
  .reasoning-grid {
    gap: 15px;
  }
  .differential-title {
    flex-wrap: wrap;
  }
  .document-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 190px;
  }
  .main-shell {
    margin-left: 190px;
  }
  .wordmark {
    font-size: 24px;
    padding-left: 6px;
  }
  .nav-item {
    padding: 11px;
    font-size: 11px;
    gap: 10px;
  }
  .workspace-label {
    font-size: 8px;
    margin-left: 10px;
    letter-spacing: 1px;
  }
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
  .dashboard-columns > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: start;
  }
  .insight-card {
    grid-row: span 4;
  }
  .quick-heading {
    margin: 15px 0 0;
  }
  .quick-card {
    margin: 0;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-note {
    font-size: 9px;
  }
  .stat-top {
    font-size: 11px;
  }
  .global-search input {
    width: 220px;
  }
  .top-actions {
    gap: 12px;
  }
  .system-status {
    display: none;
  }
  .stepper b {
    font-size: 8px;
  }
  .stepper {
    padding: 16px 7px;
  }
  .anamnesis-grid {
    grid-template-columns: 1fr;
  }
  .bodymap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .reasoning-grid {
    grid-template-columns: 1fr;
  }
  .reasoning-grid h4 {
    margin-top: 5px;
  }
  .test-grid {
    grid-template-columns: 1fr;
  }
  .fields-grid.three {
    grid-template-columns: 1fr 1fr;
  }
  .summary-cards {
    grid-template-columns: 1fr;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  footer {
    padding: 18px 26px;
  }
  .patient-heading {
    align-items: flex-start;
  }
  .patient-heading .patient-cell {
    align-items: flex-start;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 230px;
  }
  .menu-open .sidebar {
    transform: translateX(0);
    top: 64px;
  }
  .sidebar-bottom {
    padding-top: 24px;
  }
  .main-shell {
    margin-left: 0;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .topbar {
    height: 64px;
    padding: 0 18px;
    gap: 14px;
    position: sticky;
    top: 0;
    background: #f9fcfbef;
    backdrop-filter: blur(18px);
  }
  .global-search {
    flex: 1;
  }
  .global-search input {
    width: 100%;
    max-width: 235px;
  }
  .global-search kbd {
    display: none;
  }
  .top-actions {
    gap: 5px;
  }
  .top-divider {
    display: none;
  }
  main {
    padding: 25px 18px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .page-heading > .button {
    font-size: 11px;
  }
  .stat-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 15px;
  }
  .stat-card strong {
    font-size: 30px;
  }
  .stat-note {
    font-size: 8px;
  }
  .dashboard-columns > div:last-child {
    display: block;
  }
  .quick-heading {
    margin: 22px 0 10px;
  }
  .quick-card {
    margin-bottom: 10px;
  }
  .insight-card {
    padding: 25px;
  }
  .intelligence-orb {
    height: 145px;
  }
  .insight-card h2 {
    font-size: 23px;
  }
  .agenda-panel > .section-heading,
  .activity-panel > .section-heading {
    padding-left: 18px;
    padding-right: 18px;
  }
  .section-heading {
    gap: 12px;
    flex-wrap: wrap;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .agenda-panel th,
  .agenda-panel td {
    padding-left: 14px;
    padding-right: 14px;
  }
  .agenda-panel th:nth-child(3),
  .agenda-panel td:nth-child(3) {
    display: none;
  }
  .activity-row {
    padding-left: 18px;
    padding-right: 18px;
  }
  footer {
    padding: 18px;
    font-size: 8px;
    gap: 12px;
  }
  footer > span:last-child {
    display: none;
  }
  .stepper {
    overflow: auto;
    display: flex;
    gap: 16px;
    padding: 15px;
  }
  .stepper button {
    min-width: 75px;
  }
  .stepper button:before {
    display: none;
  }
  .stepper b {
    font-size: 9px;
  }
  .wizard-panel,
  .profile-content,
  .padded {
    padding: 20px;
  }
  .fields-grid,
  .fields-grid.three {
    grid-template-columns: 1fr;
  }
  .pain-grid {
    grid-template-columns: 1fr;
  }
  .pain-control {
    padding: 15px;
  }
  .wizard-footer > span {
    display: none;
  }
  .bodymap {
    display: block;
  }
  .reasoning-grid {
    grid-template-columns: 1fr;
  }
  .differential-card {
    padding: 16px;
  }
  .differential-title {
    gap: 8px;
  }
  .differential-title h3 {
    min-width: 180px;
  }
  .differential-title > .badge {
    margin-left: 35px;
  }
  .test-options button {
    padding: 9px 7px;
  }
  .record-grid {
    grid-template-columns: 1fr;
  }
  .patient-heading .avatar.large {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 17px;
  }
  .profile-meta {
    gap: 13px;
  }
  .tabs {
    gap: 21px;
  }
  .list-toolbar {
    padding: 17px;
    gap: 12px;
  }
  .search-field {
    min-width: 100%;
  }
  .document-grid {
    grid-template-columns: 1fr;
  }
  .notification-panel {
    right: 18px;
  }
  .anamnesis-grid {
    gap: 22px;
  }
  .flag-row {
    font-size: 11px;
  }
  .flag-row select {
    min-width: 110px;
    width: 110px;
  }
  .analysis > .section-heading h2 {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Keep secondary clinical information readable on luminous glass surfaces. */
.subtle,
.section-heading p,
.page-heading p,
.analysis-disclaimer,
.reasoning-grid p,
.record-grid dt,
.profile-meta,
.flag-row,
.field {
  color: #58727e;
}
.stat-note,
.stat-top,
.dashboard-date,
.activity-row small,
.quick-card small,
.insight-card > p,
.ai-footnote,
td small {
  color: #637e88;
}
.reasoning-grid p,
.record-grid dd,
.timeline p {
  font-size: 12px;
}
.stat-note,
.activity-row small,
.quick-card small,
.ai-footnote {
  font-size: 10px;
}
@media (max-width: 1200px) {
  .stat-note {
    white-space: normal;
  }
}

/* Alfa 0.2: extend the existing Liquid Glass vocabulary. */
.evidence-source {
  display: block;
  font-size: 10px;
  overflow-wrap: anywhere;
  color: #52666d;
  margin-top: 4px;
}
.reasoning-status {
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  transition: box-shadow 0.2s;
}
.reasoning-status.updated {
  box-shadow: 0 0 12px #00b9cc44;
  background: #e1f8fa;
  color: #005b67;
}
.safety-alert {
  background: #fff1f0;
  border: 2px solid #ad302a;
  color: #781d18;
}
.differential-card summary {
  cursor: pointer;
  flex-wrap: wrap;
}
.next-test-item {
  padding: 16px 0;
  border-bottom: 1px solid #c8dfe4;
}
.test-options {
  flex-wrap: wrap;
}
.test-card {
  min-width: 0;
}
@media (prefers-reduced-motion: reduce) {
  .reasoning-status {
    transition: none;
  }
}

/* Intake and medical foundation extend the existing Liquid Glass components. */
.patient-intake {
  max-width: 760px;
  padding: 32px 20px 80px;
  margin: auto;
}
.patient-intake header {
  margin-bottom: 28px;
}
.patient-intake header h1 {
  font-size: 30px;
  margin: 24px 0 12px;
}
.patient-intake .wordmark {
  display: inline-flex;
  margin: 0 16px 12px 0;
}
.conversation {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}
.chat-bubble {
  border-radius: 20px;
  padding: 18px 22px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.chat-bubble.assistant {
  background: #ffffffcc;
  border: 1px solid #d8e7eb;
  margin-right: 30px;
}
.chat-bubble.patient {
  background: #e1f5f6;
  border: 1px solid #a5d8de;
  margin-left: 30px;
}
.intake-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}
.intake-entry {
  border: 1px solid #c7dfe4;
  border-radius: 16px;
  padding: 18px;
  margin: 16px 0;
  min-width: 0;
}
.consent-check {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
}
.consent-check input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.review-fields {
  display: grid;
  gap: 16px;
  margin: 20px 0;
}
.raw-value {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 300px;
  overflow: auto;
}
.provenance {
  display: block;
  color: #38616b;
  background: #e9f5f7;
  border-radius: 8px;
  padding: 6px 9px;
  margin: 8px 0;
}
.intake-summary {
  margin-bottom: 24px;
}
.safety-consideration {
  border: 1px solid #bad7df;
  border-left: 5px solid #359bb0;
  background: #f3fbfc;
  border-radius: 16px;
  padding: 20px;
  margin: 16px 0;
}
.safety-consideration.review {
  border-left-color: #6489b8;
}
.safety-consideration.caution {
  border-left-color: #b98722;
  background: #fff9eb;
}
.safety-consideration.high_priority {
  border-left-color: #a43530;
  background: #fff0ef;
  color: #74251f;
}
@media (max-width: 600px) {
  .patient-intake {
    padding: 20px 12px 48px;
  }
  .patient-intake header h1 {
    font-size: 25px;
  }
  .patient-intake .padded {
    padding: 20px;
  }
  .chat-bubble {
    padding: 14px;
  }
  .chat-bubble.patient {
    margin-left: 16px;
  }
  .chat-bubble.assistant {
    margin-right: 16px;
  }
  .intake-actions .btn {
    width: 100%;
  }
}

/* Alfa 0.4 · public Digital Practice surfaces */
.public-practice {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 32px;
  color: var(--text, #253d46);
}
.public-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0 24px;
  border-bottom: 1px solid #d8e7ea;
}
.public-nav a:last-child {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #527982;
  gap: 5px;
}
.public-nav sup {
  color: #b3a369;
  font-size: 14px;
}
.public-demo {
  font-size: 11px;
  color: #647c84;
  padding: 14px 0;
}
.public-hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 65px;
  align-items: center;
  padding: 55px 0 70px;
}
.public-hero h1 {
  font-size: clamp(32px, 4vw, 51px);
  line-height: 1.13;
  letter-spacing: -2px;
  margin: 18px 0 26px;
}
.public-hero h1 span {
  color: #539da9;
}
.public-hero-copy > p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 440px;
}
.public-hero .public-principle {
  font-size: 12px;
  color: #7b8d91;
  margin-top: 24px;
}
.public-profile-card {
  padding: 35px;
  text-align: center;
  position: relative;
}
.public-profile-card h2 {
  font-size: 31px;
  margin: 16px 0 4px;
}
.public-profile-card p {
  margin: 12px 0;
}
.public-avatar {
  height: 106px;
  width: 106px;
  margin: 0 auto 20px;
  border-radius: 36px;
  background: linear-gradient(140deg, #e5f7fa, #95cbd3);
  color: #3e7c87;
  font-size: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow:
    inset 0 1px 0 #fff,
    0 12px 32px #aac9ce33;
}
.public-avatar svg {
  position: absolute;
  right: 0;
  bottom: 0;
  color: #ab985b;
}
.public-profile-card small {
  font-size: 10px;
  color: #809196;
}
.public-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.public-services h2 {
  font-size: 27px;
}
.public-services p {
  line-height: 1.6;
  color: #76888e;
}
.service-price {
  font-size: 23px;
  font-weight: 600;
  margin: 24px 0 8px;
}
.service-price small {
  font-size: 9px;
  letter-spacing: 1px;
  color: #9b8d5e;
}
.public-services svg,
.booking-summary svg,
.public-profile-card svg,
.confirmation svg {
  vertical-align: middle;
  margin-right: 7px;
}
.public-next {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 24px 0;
}
.public-next > svg {
  color: #65a9b5;
  flex-shrink: 0;
}
.public-next > div {
  flex: 1;
}
.public-next p {
  margin: 6px 0;
}
.public-share {
  max-width: 650px;
  margin: 20px 0;
}
.public-footer {
  margin-top: 65px;
  border-top: 1px solid #d8e7ea;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #74898e;
  gap: 14px;
}
.reception-panel,
.booking-panel {
  max-width: 740px;
  margin: 40px auto 60px;
}
.reception-panel h1,
.booking-panel h1 {
  font-size: 35px;
  line-height: 1.2;
  letter-spacing: -1px;
}
.reception-panel > p,
.booking-panel > p {
  line-height: 1.7;
  color: #71878e;
}
.reception-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.reception-panel .intake-bubble {
  margin: 18px 0;
}
.reception-panel .patient {
  margin-left: 40px;
  background: #e8f6f8;
}
.booking-panel .glass-panel {
  margin: 20px 0;
}
.booking-steps {
  font-size: 11px;
}
.slot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0;
}
.slot-button {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
  background: #faffffe0;
  border: 1px solid #d0e8ed;
  border-radius: 18px;
  padding: 19px;
  color: #426975;
  cursor: pointer;
}
.slot-button:hover:not(:disabled) {
  border-color: #67aebb;
  background: #ecfafd;
}
.slot-button:disabled {
  opacity: 0.5;
  cursor: default;
}
.slot-button small {
  font-size: 11px;
}
.slot-button svg {
  color: #65a8b4;
}
.booking-summary p {
  font-size: 13px;
}
.public-primary-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(120deg, #4d9ead, #77bcc5);
  padding: 16px 24px;
  border-radius: 14px;
  color: white;
  font-weight: 600;
}
.confirmation > svg {
  color: #57aab0;
}
.journey-row {
  padding: 22px 0;
  border-top: 1px solid #deeaec;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.journey-row p {
  margin: 8px 0;
  font-size: 12px;
}
.journey-row small {
  color: #7b9096;
}
.journey-row .intake-actions {
  max-width: 300px;
}
.public-practice input,
.public-practice select {
  max-width: 100%;
}
@media (max-width: 650px) {
  .public-practice {
    padding: 18px 20px;
  }
  .public-nav {
    flex-wrap: wrap;
    gap: 12px;
  }
  .public-nav a:last-child {
    font-size: 10px;
  }
  .public-nav .badge {
    font-size: 8px;
  }
  .public-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px 0 36px;
  }
  .public-hero h1 {
    letter-spacing: -1.4px;
  }
  .public-hero-copy > p {
    font-size: 14px;
  }
  .public-profile-card {
    padding: 24px;
  }
  .public-service-grid,
  .slot-grid {
    grid-template-columns: 1fr;
  }
  .public-services .section-heading {
    display: block;
  }
  .public-next {
    flex-wrap: wrap;
    padding: 20px;
  }
  .public-footer {
    flex-direction: column;
    margin-top: 35px;
  }
  .reception-panel h1,
  .booking-panel h1 {
    font-size: 29px;
  }
  .booking-panel,
  .reception-panel {
    margin: 28px 0;
  }
  .public-practice .fields-grid {
    grid-template-columns: 1fr;
  }
  .public-practice .intake-actions {
    align-items: stretch;
  }
  .public-practice .intake-actions button {
    width: 100%;
  }
  .journey-row {
    flex-direction: column;
    align-items: stretch;
  }
  .public-primary-link {
    width: 100%;
    justify-content: center;
  }
  .public-practice .glass-panel {
    min-width: 0;
  }
  .public-practice .raw-value {
    overflow-wrap: anywhere;
  }
  .patient-intake .bodymap {
    grid-template-columns: 1fr;
  }
}

/* Alfa 0.4.1: contextual clinical media, professional identity and Aria. */
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.photo-editor {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
}
.photo-editor small,
.storage-note {
  display: block;
  margin-top: 12px;
  color: var(--muted, #657782);
}
label.button {
  cursor: pointer;
  position: relative;
  margin: 4px;
  display: inline-flex;
  gap: 6px;
}
label.button input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.digital-card {
  max-width: 460px;
  margin: 30px auto;
  text-align: center;
}
.digital-card > .avatar {
  width: 104px;
  height: 104px;
  font-size: 32px;
  margin: auto;
}
.digital-card h1 {
  margin-top: 20px;
  font-size: 30px;
}
.digital-card p {
  margin: 12px 0;
}
.public-url {
  overflow-wrap: anywhere;
  display: block;
  font-size: 13px;
}
.profile-qr {
  width: 176px;
  max-width: 100%;
  margin: 24px auto;
  background: white;
  padding: 8px;
  border-radius: 12px;
}
.profile-qr svg {
  width: 100%;
  height: auto;
}
.review-card {
  border-top: 1px solid #d9e7eb;
  padding: 16px 0;
}
.public-profile-card > .avatar {
  width: 100px;
  height: 100px;
  margin-bottom: 18px;
  font-size: 32px;
}
.calendar-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.calendar-controls input {
  max-width: 170px;
}
.calendar-month {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.calendar-month > b {
  text-align: center;
  padding: 8px;
  color: #5a717d;
  font-size: 12px;
}
.calendar-month > button {
  border: 1px solid #e0ebed;
  background: rgba(255, 255, 255, 0.62);
  border-radius: 12px;
  min-height: 100px;
  padding: 10px;
  text-align: left;
  color: #253e4a;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calendar-month > button.selected {
  border-color: #32b5c9;
  background: #e5f9fb;
  box-shadow: 0 0 0 1px #32b5c9;
}
.calendar-month > button.outside {
  opacity: 0.46;
}
.calendar-count {
  font-size: 12px;
  color: #137183;
  background: #e6f6f7;
  border-radius: 5px;
  padding: 2px 5px;
}
.calendar-month small {
  font-size: 11px;
}
.calendar-appointment {
  width: 100%;
  display: flex;
  gap: 14px;
  align-items: center;
  text-align: left;
  border: 1px solid #dfeaed;
  background: #ffffffb8;
  border-radius: 16px;
  padding: 16px;
  margin: 10px 0;
  color: inherit;
}
.calendar-appointment span small {
  display: block;
  line-height: 1.8;
}
.calendar-week-scroll {
  max-height: 620px;
  overflow: auto;
  border: 1px solid #dce8eb;
  border-radius: 14px;
}
.calendar-week {
  min-width: 770px;
}
.week-labels {
  display: grid;
  grid-template-columns: 60px repeat(7, minmax(0, 1fr));
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f3fafb;
  min-height: 44px;
}
.week-labels > * {
  padding: 10px;
  border: 0;
  background: transparent;
  font-size: 12px;
}
.week-columns {
  display: grid;
  grid-template-columns: 60px repeat(7, minmax(0, 1fr));
  height: 1584px;
}
.hour-axis,
.week-day {
  position: relative;
}
.hour-axis span {
  position: absolute;
  font-size: 10px;
  padding: 3px;
}
.week-day {
  border-left: 1px solid #dce8eb;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 65px,
    #e1edef 65px,
    #e1edef 66px
  );
}
.week-event {
  position: absolute;
  left: 3px;
  right: 3px;
  background: #daf4f6;
  border: 1px solid #8fd2da;
  border-radius: 6px;
  overflow: hidden;
  font-size: 11px;
  text-align: left;
  padding: 4px;
  color: #254b59;
  min-height: 14px;
}
.week-event small {
  display: block;
}
.calendar-day {
  display: grid;
  gap: 4px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.media-thumbnail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid #dce8eb;
  border-radius: 14px;
  background: #ffffffbf;
  padding: 8px;
  text-align: left;
  overflow: hidden;
  color: inherit;
}
.media-thumbnail img {
  width: 100%;
  height: 115px;
  object-fit: cover;
  border-radius: 8px;
}
.media-thumbnail > span {
  font-size: 32px;
  padding: 20px;
}
.media-thumbnail b {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.media-thumbnail small {
  font-size: 10px;
  color: #667c85;
}
.media-viewer {
  background: #f2f8fa;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.media-viewer img {
  max-width: 100%;
  max-height: 50vh;
  object-fit: contain;
}
.media-viewer object {
  width: 100%;
  height: 50vh;
}
.clinical-timeline > section {
  border-left: 2px solid #bde4e9;
  padding: 0 0 20px 22px;
}
.clinical-timeline h3 {
  color: #337481;
  font-size: 15px;
}
.clinical-timeline article {
  background: #ffffff9e;
  border: 1px solid #e0ebee;
  border-radius: 16px;
  margin: 12px 0;
  padding: 18px;
}
.clinical-timeline h4 {
  margin: 8px 0;
  font-size: 18px;
}
.clinical-timeline article > small {
  color: #54717b;
}
.clinical-timeline article > p {
  white-space: pre-wrap;
  line-height: 1.8;
}
.aria-chat {
  max-width: 720px;
  margin: 30px auto;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid #fff;
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 20px 60px #2562700a;
}
.aria-chat header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.aria-chat header h1 {
  font-size: 25px;
  margin: 0;
}
.aria-chat header p {
  font-size: 13px;
  margin: 5px 0;
  color: #607680;
}
.aria-orb {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #167388;
  background: radial-gradient(circle at 32% 25%, white, #c3f0f5);
  box-shadow: 0 0 22px #58c5d42a;
  border: 1px solid white;
}
.aria-messages {
  max-height: 560px;
  overflow-y: auto;
  padding: 4px;
  scrollbar-width: thin;
}
.aria-bubble {
  padding: 16px 20px;
  background: linear-gradient(130deg, #f5ffffdc, #e5f8fa9c);
  border: 1px solid white;
  border-radius: 18px 18px 18px 5px;
  max-width: 90%;
  margin-bottom: 14px;
}
.aria-bubble p {
  white-space: pre-wrap;
  line-height: 1.75;
  margin: 6px 0;
}
.aria-bubble small {
  font-size: 11px;
  color: #54818b;
}
.aria-bubble.patient {
  margin-left: auto;
  background: #ffffffbc;
  border-radius: 18px 18px 5px 18px;
}
.aria-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.aria-chips button {
  background: #ffffffd6;
  border: 1px solid #c7e4e9;
  color: #236779;
  border-radius: 22px;
  padding: 10px 15px;
  font-size: 13px;
}
.aria-chips button:hover {
  background: #e2f6f8;
}
.aria-typing {
  padding: 12px;
  color: #48aebc;
  letter-spacing: 5px;
  animation: aria-pulse 1s ease-in-out infinite;
}
.aria-composer {
  display: flex;
  gap: 8px;
  border: 1px solid #cae0e5;
  border-radius: 16px;
  background: white;
  margin: 18px 0;
  padding: 7px;
}
.aria-composer input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.aria-composer button {
  background: #176f80;
  color: white;
  border: 0;
  border-radius: 11px;
  padding: 10px 15px;
}
.aria-composer button:disabled {
  opacity: 0.45;
}
.aria-chat > small {
  color: #71858c;
  font-size: 11px;
  line-height: 1.6;
  display: block;
}
.aria-slots {
  padding: 14px;
  border-radius: 12px;
  background: #edf9fa;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@keyframes aria-pulse {
  50% {
    opacity: 0.4;
  }
}
@media (prefers-reduced-motion: reduce) {
  .aria-typing {
    animation: none;
  }
  .aria-messages {
    scroll-behavior: auto;
  }
}
@media (max-width: 600px) {
  .calendar-month {
    gap: 3px;
  }
  .calendar-month > button {
    padding: 5px;
    min-height: 76px;
    border-radius: 8px;
    gap: 5px;
  }
  .calendar-month small {
    display: none;
  }
  .calendar-count {
    padding: 0;
    font-size: 9px;
  }
  .calendar-month > b {
    font-size: 10px;
    padding: 4px;
  }
  .calendar-controls {
    gap: 3px;
  }
  .calendar-controls > span {
    font-size: 10px;
  }
  .photo-editor {
    align-items: flex-start;
    gap: 10px;
  }
  .photo-editor .avatar {
    flex-shrink: 0;
  }
  .photo-editor label.button {
    font-size: 12px;
    padding: 8px;
  }
  .photo-editor small {
    font-size: 11px;
  }
  .aria-chat {
    padding: 14px;
    margin: 16px 0;
  }
  .aria-bubble {
    max-width: 96%;
    padding: 12px 14px;
  }
  .aria-bubble p {
    font-size: 14px;
  }
  .aria-chips {
    gap: 6px;
  }
  .aria-chips button {
    font-size: 12px;
    padding: 9px 12px;
  }
  .aria-messages {
    max-height: 480px;
  }
  .digital-card {
    padding: 24px 16px;
  }
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .clinical-timeline > section {
    padding-left: 12px;
  }
  .clinical-timeline article {
    padding: 12px;
  }
  .calendar-appointment {
    padding: 12px;
    gap: 10px;
  }
}

.intake-completion {
  overflow-wrap: anywhere;
}
.intake-completion h2 {
  color: #167b87;
}
.intake-completion dl {
  display: grid;
  gap: 0.35rem;
}
.intake-completion dt {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  opacity: 0.7;
}
.intake-completion dd {
  margin: 0;
}
.intake-completion .intake-actions {
  flex-wrap: wrap;
}
.patient-intake fieldset {
  min-width: 0;
  border: 1px solid #cde4e8;
  border-radius: 16px;
  padding: 16px;
  margin-block: 18px;
}

/* Public Command Center: existing glass surfaces, no clinical data. */
.entry-center {
  max-width: 1120px;
  margin: auto;
  padding: 24px clamp(18px, 4vw, 48px) 64px;
}
.entry-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.entry-brand {
  font-size: 26px;
  font-weight: 750;
  text-decoration: none;
}
.entry-brand span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 500;
}
.entry-hero {
  padding: clamp(24px, 5vw, 56px);
  border-radius: 28px;
  margin-bottom: 36px;
}
.entry-hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.12;
  max-width: 720px;
  margin: 16px 0;
}
.entry-hero > p {
  max-width: 650px;
}
.entry-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #176b7b;
}
.entry-hero .button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.entry-notice {
  font-size: 12px;
  color: #536970;
  margin-top: 20px;
}
.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  margin: 20px 0 32px;
}
.entry-card {
  padding: 24px;
  border-radius: 22px;
  display: block;
  text-decoration: none;
  color: inherit;
}
.entry-card > svg {
  color: #15788b;
}
.entry-card h3 {
  margin: 14px 0 8px;
}
.entry-card p {
  color: #536970;
  line-height: 1.6;
}
.entry-card span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #176b7b;
  font-weight: 600;
}
.entry-card:focus-visible,
.entry-center a:focus-visible {
  outline: 3px solid #168da3;
  outline-offset: 4px;
}
.entry-explainer {
  padding: 28px;
  border-radius: 24px;
  margin: 24px 0;
  scroll-margin-top: 24px;
}
.entry-explainer p,
.entry-explainer li {
  line-height: 1.7;
}
.entry-explainer li {
  margin-bottom: 10px;
}
@media (max-width: 480px) {
  .entry-nav {
    margin-bottom: 20px;
  }
  .entry-explainer {
    padding: 22px;
  }
  .entry-nav .button {
    padding: 10px 14px;
  }
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.landing-hero {
  border-top: 2px solid var(--gold);
}
.demo-banner {
  padding: 14px 24px;
  background: var(--cyan-soft);
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  font-size: 13px;
}
.demo-banner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}
.entry-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}
.entry-card[href]:hover {
  transform: translateY(-3px);
}
@media (prefers-reduced-motion: reduce) {
  .entry-card {
    transition: none;
  }
  .entry-card[href]:hover {
    transform: none;
  }
}
@media (max-width: 480px) {
  .landing-actions > a {
    width: 100%;
    justify-content: center;
  }
  .demo-banner {
    padding: 12px 18px;
  }
}

/* Keep the demo notice beside the fixed sidebar, and let dashboard grid items shrink. */
.demo-banner + .app-shell .dashboard-columns > * {
  min-width: 0;
}
.demo-banner + .app-shell .table-wrap {
  max-width: 100%;
  overflow-x: auto;
}
@media (min-width: 761px) {
  .demo-banner:has(+ .app-shell) { margin-left: 190px; }
}
@media (min-width: 1001px) {
  .demo-banner:has(+ .app-shell) { margin-left: 210px; }
}
@media (min-width: 1201px) {
  .demo-banner:has(+ .app-shell) { margin-left: 238px; }
}

.dashboard-shortcut { text-align: left; width: 100%; color: inherit; font: inherit; cursor: pointer; }
.dashboard-shortcut:focus-visible { outline: 3px solid #0891b2; outline-offset: 3px; }

.profile-photo-trigger { border: 0; padding: 0; background: transparent; border-radius: 50%; cursor: pointer; flex-shrink: 0; }
.profile-photo-trigger:focus-visible { outline: 3px solid #0891b2; outline-offset: 3px; }

.assisted-history { min-width: 0; overflow-wrap: anywhere; }
.assisted-history textarea { max-width: 100%; }

/* G11: persistent Demo copilot, independent from patient Reception. */
.aria-float-trigger { position:fixed; right:max(16px,env(safe-area-inset-right)); bottom:max(16px,env(safe-area-inset-bottom)); z-index:90; min-height:48px; box-shadow:0 8px 30px #009dad35; }
body:has(.aria-float-trigger) { padding-bottom:calc(80px + env(safe-area-inset-bottom)); }
.aria-floating-panel { position:fixed; z-index:91; right:max(16px,env(safe-area-inset-right)); bottom:calc(80px + env(safe-area-inset-bottom)); width:min(460px,calc(100vw - 32px)); height:min(720px,calc(100dvh - 112px - env(safe-area-inset-top) - env(safe-area-inset-bottom))); display:flex; flex-direction:column; overflow:hidden; background:#f4fbfd; box-shadow:0 12px 50px #163b4a40; }
.aria-floating-panel[hidden] { display:none; }
.aria-floating-panel header { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; gap:12px; }
.aria-floating-panel header button { min-width:44px; min-height:44px; }
.aria-floating-panel label { padding:0 16px 12px; font-size:13px; }
.aria-floating-panel select { width:100%; margin-top:6px; padding:8px; }
.aria-floating-panel iframe { flex:1; min-height:0; width:100%; border:0; }

/* G12: shared bounded search, compact conversation, browser-only Demo documents. */
.patient-search { min-width:0; padding:12px; max-height:340px; overflow:auto; }
.patient-search ul { list-style:none; padding:0; margin:8px 0; }
.patient-search li button { width:100%; text-align:left; padding:10px; border-radius:10px; min-height:44px; }
.patient-search li button:hover,.patient-search li button[aria-pressed=true] { background:#dff6fa; }
.patient-search small { display:block; overflow-wrap:anywhere; font-size:11px; }
.patient-search nav { display:flex; gap:12px; justify-content:space-between; }
.clickable-patient { cursor:pointer; }
.clickable-patient:hover { background:#e8f8fc; }
.clickable-patient button:focus-visible { outline:2px solid #008ca8; outline-offset:4px; }
.aria-context { display:flex; align-items:center; gap:8px; padding:0 14px 8px; font-size:12px; }
.aria-context button { min-height:40px; padding:8px; border:1px solid #afd7df; border-radius:12px; }
.aria-embedded { padding:8px; }
.aria-embedded > p { font-size:13px; padding:4px 10px; }
.aria-chat { display:flex; flex-direction:column; gap:10px; min-width:0; }
.aria-chat > p { font-size:11px; color:#47616b; }
.aria-composer { position:sticky; bottom:0; background:#f4fbfd; padding-bottom:max(12px,env(safe-area-inset-bottom)); }
.aria-composer textarea { font-size:16px; }
.prescription-editor { max-width:820px; }
.prescription-editor textarea { width:100%; }
.prescription-history { display:block; padding:12px; text-align:left; }
.prescription-sheet { background:white; color:#151515; border-top:6px solid; max-width:816px; padding:32px; margin:20px auto; overflow-wrap:anywhere; }
.prescription-sheet header { display:flex; gap:16px; border-bottom:2px solid; padding-bottom:12px; }
.prescription-sheet.template-pink header { text-align:center; justify-content:center; }
.prescription-sheet.template-green { border-left:6px solid; }
.prescription-sheet.template-black header { text-transform:uppercase; }
.prescription-sheet.template-gold { border:2px solid; }
.prescription-sheet footer { font-size:10px; margin-top:30px; }
.prescription-text { white-space:pre-wrap; margin:24px 0; }
.signature-space { margin-top:45px; }
.demo-watermark { display:block; padding:12px 0; color:#a60000; }
@media(max-width:600px) { .prescription-sheet { padding:16px; } .aria-floating-panel { right:8px; width:calc(100vw - 16px); } }
@media print {
 @page { size:letter; margin:15mm; }
 body:has(.prescription-sheet) * { visibility:hidden!important; }
 body:has(.prescription-sheet) .prescription-sheet,body:has(.prescription-sheet) .prescription-sheet * { visibility:visible!important; }
 body:has(.prescription-sheet) .prescription-sheet { position:absolute; top:0; left:0; width:100%; max-width:none; margin:0; padding:8mm; box-shadow:none; }
 .prescription-sheet header,.prescription-sheet footer,.signature-space { break-inside:avoid; }
 .prescription-sheet.half { padding:4mm; font-size:11px; }
 .aria-float-trigger,.aria-floating-panel { display:none!important; }
}

.prescription-sheet p,.prescription-sheet footer { color:#202020; }
.prescription-sheet footer { display:block; }
@media print {
 body:has(.prescription-sheet) *:not(.prescription-sheet):not(.prescription-sheet *):not(:has(.prescription-sheet)) { display:none!important; }
 body:has(.prescription-sheet),body:has(.prescription-sheet) *:has(.prescription-sheet) { position:static!important; display:block!important; margin:0!important; padding:0!important; width:auto!important; height:auto!important; min-height:0!important; overflow:visible!important; transform:none!important; }
 body:has(.prescription-sheet) .prescription-sheet { position:static; }
 .prescription-sheet::before { content:"SIN VALIDEZ MÉDICA"; position:fixed; top:45%; left:10%; font-size:30pt; opacity:.12; transform:rotate(-30deg); }
}

/* G13: optional easier reading without removing clinical content. */
.reading-mode { position:fixed; bottom:max(16px,env(safe-area-inset-bottom)); left:max(12px,env(safe-area-inset-left)); z-index:89; min-height:44px; padding:10px 14px; border:1px solid #36778a; border-radius:24px; background:#fff; color:#174859; box-shadow:0 4px 14px #163b4a20; font-size:14px; }
.reading-mode span { font-weight:700; margin-right:6px; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:3px solid #006b86; outline-offset:3px; }
.aria-context button,.patient-search button,.approved-instructions button { min-height:44px; }
.approved-instructions { margin:20px 0; padding:20px; background:#f2fafd; border:1px solid #bedce5; border-radius:18px; }
.approved-instructions button { border:1px solid #a9bfc6; padding:10px; border-radius:12px; }
.approved-instructions button:disabled { color:#405b64; background:#edf1f2; cursor:not-allowed; }
.original-instructions { white-space:pre-wrap; overflow-wrap:anywhere; background:white; padding:16px; margin:12px 0; color:#172f39; }
html[data-reading=easy] body { font-size:18px; line-height:1.7; }
html[data-reading=easy] :is(p,label,input,textarea,select,button,.nav-item) { font-size:18px!important; line-height:1.6; }
html[data-reading=easy] :is(.subtle,small,.eyebrow) { font-size:16px!important; color:#365561; }
html[data-reading=easy] :is(button,input,select) { min-height:48px; }
html[data-reading=easy] :is(input,textarea,select) { max-width:100%; }
html[data-reading=easy] .aria-floating-panel header { flex-wrap:wrap; }
html[data-reading=easy] .aria-context { flex-wrap:wrap; }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; } }
@media print { .reading-mode,.approved-instructions { display:none!important; } }

html[data-reading=easy] fieldset { min-inline-size:0; min-width:0; max-width:100%; }
html[data-reading=easy] input[type=file] { width:100%; min-width:0; }
html[data-reading=easy] .button { white-space:normal; overflow-wrap:anywhere; }

/* G14: keep the floating composer inside the visible mobile viewport. */
.aria-user-message { margin-left:18px; padding:12px; border-radius:16px 16px 4px 16px; background:#dff4f7; }
.aria-assistant-message { margin-right:12px; padding:12px; border-radius:16px 16px 16px 4px; background:#fff; }
.aria-context { flex-wrap:wrap; }
@media(max-width:600px) {
 .aria-floating-panel { bottom:calc(var(--aria-viewport-bottom, 0px) + 8px); height:calc(var(--aria-viewport-height, 100dvh) - 24px); }
}

.aria-composer details[open] { max-height: 130px; overflow: auto; }

/* G16 extends existing project colors. Aquamarine is provisional, not an approved brand specification. */
:root { --brand-turquoise:var(--cyan); --brand-aquamarine:#b9ebe9; --brand-gold:var(--gold); --muted:#526a75; }
.g16-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:16px; margin:20px 0; }
.g16-fields>* {min-width:0;}
.g16-profile-field {border-bottom:1px solid #d4e6e9;padding:14px 0;}
.g16-profile :is(input,textarea,select) {max-width:100%;}
.g16-check {display:flex;gap:12px;align-items:center;min-height:48px;margin:8px 0;}
.g16-check input {width:20px;flex:0 0 20px;min-height:20px!important;}
.g16-photos {display:flex;flex-wrap:wrap;gap:16px;}
.g16-photos img {display:block;max-width:180px;border-radius:16px;}
.g16-public-preview {background:var(--cyan-soft);padding:24px;border-radius:var(--radius);margin-top:24px;overflow-wrap:anywhere;}
.g16-account {position:relative;}
.g16-account summary {list-style:none;cursor:pointer;}
.g16-account summary::-webkit-details-marker {display:none;}
.g16-account-menu {position:absolute;right:0;top:52px;width:230px;max-width:85vw;padding:12px;z-index:100;border:1px solid #cadfe5;box-shadow:0 12px 30px #20364026;}
.g16-account-menu :is(a,button) {display:block;width:100%;text-align:left;padding:12px;min-height:44px;border-radius:10px;}
.g16-account-menu :is(a,button):hover {background:var(--cyan-soft);}
.g16-menu-backdrop {display:none;}
.entry-hero {border-top:3px solid var(--brand-turquoise);}
.entry-nav {gap:16px;flex-wrap:wrap;}
.entry-center :is(input,select,button,.button) {min-height:44px;}
.entry-card {min-width:0;overflow-wrap:anywhere;}
.g16-profile {max-width:100%;}
html[data-contrast=high] {--muted:#203640;--cyan:#006776;--glass-bg:#fff;--glass-border:#526a75;}
html[data-contrast=high] :is(.subtle,small,.eyebrow) {color:#203640!important;}
html[data-motion=reduced] *,html[data-motion=reduced] *::before,html[data-motion=reduced] *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important;}
@media(max-width:760px){.g16-menu-backdrop {display:block;position:fixed;inset:0;background:#20364055;z-index:39;} .menu-open .sidebar {z-index:40;} .g16-account-menu {right:0;} .g16-photos img {max-width:140px;} .entry-center {padding-bottom:100px;} }

.clinicai-brand-icon {flex:0 0 52px;object-fit:contain;vertical-align:middle;}
.entry-brand .clinicai-brand-icon {float:left;margin-right:10px;}
.wordmark .clinicai-brand-icon {margin-left:-10px;margin-right:4px;}

.g16-fields :is(input,select,textarea),.g16-profile-field textarea {min-height:44px;padding:10px 12px;border:1px solid #b8d1d8;border-radius:10px;background:#fff;color:var(--ink);font-size:16px;width:100%;}
.g16-fields :is(input,textarea)::placeholder {color:#526a75;}
.g16-profile-field textarea {resize:vertical;}

.entry-brand {display:grid;grid-template-columns:52px auto;column-gap:10px;line-height:1.2;}
.entry-brand .clinicai-brand-icon {float:none;grid-column:1;grid-row:1 / span 2;margin:0;}
.entry-brand>span {grid-column:2;white-space:nowrap;}
.g16-account-menu {background:rgba(255,255,255,.98);backdrop-filter:blur(18px);}

/* G17: bounded assistant picker and readable patient cards on narrow screens. */
.workspace-identity { padding:12px; border-radius:12px; background:var(--glass-bg,#eaf8f8); overflow-wrap:anywhere; }
.connected-assistant { padding:16px; overflow:auto; min-height:0; }
.aria-floating-panel > .patient-search { flex:1; min-height:0; max-height:none; }
.aria-context { flex-shrink:0; flex-wrap:wrap; }
@media(max-width:767px){
.patient-table table,.patient-table tbody,.patient-table tr,.patient-table td {display:block; width:100%; min-width:0;}
.patient-table thead {display:none;}
.patient-table tr {padding:12px; border-bottom:1px solid #b9ebe9;}
.patient-table td {padding:6px 0; white-space:normal; overflow-wrap:anywhere;}
.patient-table td[data-label]::before {content:attr(data-label) ": "; font-weight:600;}
.patient-table .patient-cell,.patient-table .patient-cell span {min-width:0;}
.list-toolbar {flex-wrap:wrap;}.list-toolbar .search-field {min-width:0; width:100%; flex:1 0 100%;}
}

.aria-floating-panel iframe[hidden] {display:none;}

/* G18: the menu remains usable at short viewport heights and with large text. */
.sidebar {height:100dvh;overflow-y:auto;overscroll-behavior:contain;}
.sidebar-bottom {position:static;flex-shrink:0;}
.clinicai-brand-icon {object-fit:contain;flex-shrink:0;}
.g18-account {display:grid;gap:20px;} .g18-account textarea {width:100%;min-height:100px;}
.g18-account img,.g18-account video {max-width:100%;max-height:260px;object-fit:contain;}
.g18-social-row {display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0;}
.g18-account button {min-height:40px;} .g18-account .profile-qr {max-width:180px;}
.g18-account .profile-qr svg {width:100%;height:auto;}
@media(max-width:760px){.sidebar{padding-bottom:32px;}.premium-panel{display:none;}.g18-account{min-width:0;}.aria-float-trigger{bottom:16px;}}
.g18-social-row input[type=checkbox] {width:20px;flex:0 0 20px;min-height:20px;}
.aria-floating-panel > .padded {flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;}
@media(max-width:760px){.menu-open .sidebar{z-index:100;}.g16-menu-backdrop{z-index:99;}}

/* G19: readable clinical review within the existing ClinicAI shell. */
.g19-register { margin-block: 1rem; overflow-wrap: anywhere; }
.g19-register fieldset { border: 1px solid var(--border, #ccdce5); border-radius: 12px; margin-block: 1rem; padding: 1rem; min-width: 0; }
.g19-register textarea { min-height: 6rem; }
.g19-register .button { margin: .25rem; white-space: normal; }
.g19-register details { margin-block: 1rem; }
.g19-register article { border-top: 1px solid #ccdce5; padding-block: 1rem; }
.g19-columns { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.g19-columns aside { display: flex; flex-direction: column; align-items: stretch; max-height: 20rem; overflow: auto; }
@media(min-width: 1000px) { .g19-columns { grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr); } }

/* G20B: public entry and specialty Demo share the approved glass system. */
.g20-public {max-width:1160px;margin:auto;padding-bottom:6rem;}
.g20-public > section,.g20-public > aside {margin-block:1.3rem;}
.g20-public textarea {width:100%;max-width:100%;min-width:0;box-sizing:border-box;resize:vertical;font:inherit;line-height:1.6;}
.g20-public .landing-actions,.g20-public .entry-nav {flex-wrap:wrap;gap:.8rem;}
.g20-filters {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1rem;}
.g20-public .field input,.g20-public .field select {min-width:0;max-width:100%;width:100%;}
.g20-reception {border-top:3px solid #15a9a7;}
.g20-answer {padding:1rem;border-left:3px solid #c3a35f;margin-top:1rem;}
.g20-answer .button {margin:.4rem;}
.g20-avatar {display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#d7f0ec;color:#126b70;font-size:1.5rem;}
.g20-section-list {display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;}
.g20-note {white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;}
@media(max-width:600px){.g20-public{padding-inline:16px}.landing-actions>.button{max-width:100%;white-space:normal}.g20-public .padded{padding:18px}.g20-public h1{font-size:2rem}}

/* G20C: scoped public editorial system; clinical workspaces retain their styles. */
.premium-public{padding:0;--ink:#123e43;--muted:#4e686c;--aqua:#e9f5f2;max-width:1600px;margin:auto;background:#fcfdfc;color:var(--ink);font-family:Arial,Helvetica,sans-serif;overflow-wrap:break-word}
.premium-public *{box-sizing:border-box}.premium-public a{color:inherit}.premium-public h1,.premium-public h2,.premium-public h3,.premium-public p{margin-top:0}.premium-public p{line-height:1.65}.premium-public em{font-family:Georgia,serif;font-weight:400;color:#267777}.premium-public h2{font-size:clamp(32px,4vw,54px);line-height:1.12;letter-spacing:-1.5px;font-weight:500;margin-bottom:24px}.premium-public h3{font-size:21px;line-height:1.3;font-weight:500}.premium-public small{line-height:1.6}
.premium-nav{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px clamp(20px,5vw,80px);border-bottom:1px solid #dce9e6}.premium-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none!important;font-size:30px;font-weight:600;letter-spacing:-1px;white-space:nowrap}.premium-brand sup{font-size:11px;letter-spacing:1px;vertical-align:super;margin-left:4px;color:#467c7b}.premium-brand .clinicai-brand-icon{width:46px;height:46px;object-fit:contain}.premium-nav nav{display:flex;align-items:center;gap:28px;font-size:14px}.premium-nav nav a{text-decoration:none}.premium-login{border:1px solid #abc9c3;border-radius:30px;padding:12px 20px}.premium-public a:focus-visible,.premium-public button:focus-visible,.premium-public textarea:focus-visible{outline:3px solid #a2782a;outline-offset:5px}.premium-public a:hover{text-decoration:underline;text-underline-offset:5px}
.premium-hero{display:grid;grid-template-columns:1fr 1.05fr;align-items:stretch;gap:40px;padding:48px clamp(20px,5vw,80px) 64px}.premium-hero-copy{padding:28px 0;align-self:center;min-width:0}.premium-eyebrow{font-size:11px!important;letter-spacing:2px;font-weight:700;line-height:1.6!important;color:#527b79;margin-bottom:24px!important}.premium-hero h1{font-size:clamp(38px,4.3vw,66px);font-weight:500;letter-spacing:-2.5px;line-height:1.07;margin:0 0 28px;max-width:660px}.premium-lead{font-size:19px;color:var(--muted);line-height:1.6;max-width:520px}.premium-actions{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0 24px}.premium-public .button{min-height:48px;border-radius:28px;padding:13px 22px;box-shadow:none;font-size:14px;font-weight:500;white-space:normal;text-align:center;border:1px solid #aec9c4;background:transparent;color:var(--ink);text-decoration:none;justify-content:center}.premium-public .button.primary{background:#156c70;border-color:#156c70;color:white}.premium-public .button:hover{background:#e4f0ed;transform:translateY(-2px)}.premium-public .button.primary:hover{background:#10585c}.premium-text-link{display:block;width:fit-content;line-height:1.5;font-size:14px;margin-top:22px;text-underline-offset:5px}.premium-photo{width:100%;position:relative;min-height:480px;margin:0;border-radius:160px 12px 12px 12px;overflow:hidden;background:#e7eeea}.premium-photo img{object-fit:cover;object-position:72% center}.premium-photo figcaption{position:absolute;bottom:12px;left:16px;font-size:10px;line-height:1.5;background:#ffffffdf;padding:4px 10px;border-radius:20px;color:#264448}.premium-professional .premium-photo{border-radius:12px 12px 160px 12px}.premium-professional .premium-photo img{object-position:60% center}
.premium-belief{display:grid;grid-template-columns:1fr 1.1fr 1fr;gap:40px;align-items:center;padding:46px clamp(20px,5vw,80px);border-top:1px solid #dce9e6;border-bottom:1px solid #dce9e6}.premium-belief>span{font-size:10px;letter-spacing:2px;line-height:1.8;color:#607b7b}.premium-belief p{margin:0;color:var(--muted)}.premium-belief p:first-of-type{font-size:34px;line-height:1.15;color:var(--ink);letter-spacing:-1px}.premium-belief strong{font-weight:400;font-family:Georgia,serif;font-style:italic}.premium-aria{background:var(--aqua);display:grid;grid-template-columns:1fr 1fr;gap:70px;padding:80px clamp(24px,8vw,120px);margin:64px clamp(20px,5vw,80px);border-radius:8px 100px 8px 8px;align-items:center}.premium-aria p:not(.premium-eyebrow){color:var(--muted)}.premium-aria small{display:block;font-size:12px;color:#466966;margin-top:20px}.premium-aria-symbol{aspect-ratio:1;max-width:320px;width:100%;justify-self:center;border-radius:50%;border:1px solid #bddad3;background:radial-gradient(circle at 30% 30%,#ffffff,#d5ece4 65%,#bfdbd8);box-shadow:inset -12px -20px 40px #a8c8c655,0 25px 60px #1d656317;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:#276b6b}.premium-aria-symbol span{letter-spacing:10px;font-size:24px;padding-left:10px}.premium-path{padding:30px clamp(20px,7vw,100px) 64px}.premium-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin-top:40px}.premium-steps article{border-top:1px solid #b7ccc6;padding-top:26px}.premium-steps article>span{display:block;font-size:13px;color:#8b702f;margin-bottom:28px}.premium-steps svg{color:#467d78;margin-bottom:20px}.premium-steps p{font-size:15px;color:var(--muted);max-width:320px}.premium-steps a{font-size:14px;text-underline-offset:5px}.premium-privacy{display:flex;align-items:center;gap:10px;font-size:12px;color:#506c69;margin:32px 0 0!important}.premium-closing{text-align:center;padding:72px 24px;background:#f2f5ef;border-top:1px solid #e0e7dc}.premium-closing p{max-width:650px;margin-left:auto;margin-right:auto;color:var(--muted)}.premium-closing small{display:block;margin-top:20px}.premium-footer{display:block;color:var(--ink);padding:50px clamp(20px,5vw,80px) 90px}.premium-footer p{font-size:14px;margin-top:15px;color:var(--muted)}.premium-footer nav{display:flex;flex-wrap:wrap;gap:16px 32px;margin:28px 0;font-size:14px}.premium-footer small{font-size:10px;letter-spacing:2px;color:#69817d}.premium-session{padding:30px 5%;display:flex;flex-wrap:wrap;gap:24px;align-items:center}.premium-session h2{font-size:24px;margin:0}
.premium-patient .premium-photo{border-radius:12px 140px 12px 12px}.premium-reception{max-width:860px;margin:0 auto 48px;padding:44px;background:#edf6f3;border:1px solid #d0e5df;border-radius:12px}.premium-reception .premium-lead{max-width:none}.premium-reception .subtle{font-size:13px;line-height:1.6;color:#476663}.premium-reception textarea{width:100%;min-height:140px;border:1px solid #9bbdb5;border-radius:12px;padding:16px;background:white;font:inherit;margin:12px 0}.premium-reception .field{font-size:15px;display:block}.premium-reception .landing-actions{margin-top:12px}.premium-reception h2{font-size:36px}.premium-reception .g20-answer{margin-top:24px;background:#fff}.premium-urgent{max-width:860px;margin:0 auto 54px;border-left:2px solid #b59450;padding:4px 24px}.premium-urgent h2{font-size:20px;letter-spacing:0;margin-bottom:12px}.premium-urgent p,.premium-urgent a{font-size:13px;color:#50635e}.premium-public section[id]{scroll-margin-top:24px}
@media(min-width:1600px){.premium-public{border-left:1px solid #e3ece7;border-right:1px solid #e3ece7}}
@media(max-width:1000px){.premium-hero{gap:24px}.premium-hero h1{font-size:46px}.premium-photo{min-height:450px}.premium-nav nav{gap:16px}.premium-aria{gap:32px;padding:48px 32px}.premium-belief{gap:24px}.premium-reception,.premium-urgent{margin-left:24px;margin-right:24px}}
@media(max-width:900px){.premium-nav{flex-wrap:wrap;padding:18px 20px;gap:16px}.premium-brand{font-size:26px}.premium-brand .clinicai-brand-icon{width:38px;height:38px}.premium-nav nav{width:100%;justify-content:space-between;gap:12px;font-size:12px}.premium-login{padding:8px 14px}.premium-hero{grid-template-columns:1fr;padding:20px 20px 36px;gap:16px}.premium-hero-copy{padding:16px 0}.premium-hero h1{font-size:42px;letter-spacing:-1.8px;max-width:600px}.premium-eyebrow{font-size:10px!important;letter-spacing:1.5px;margin-bottom:18px!important}.premium-lead{font-size:17px}.premium-actions{margin:24px 0 18px;gap:10px}.premium-actions .button{flex:1 1 145px;padding:12px 16px}.premium-photo{min-height:0;height:auto;aspect-ratio:1.25;border-radius:80px 8px 8px 8px}.premium-professional .premium-photo{border-radius:8px 8px 80px 8px}.premium-patient .premium-photo{border-radius:8px 80px 8px 8px}.premium-belief{grid-template-columns:1fr;padding:30px 24px;gap:20px}.premium-belief p:first-of-type{font-size:32px}.premium-aria{grid-template-columns:1fr;padding:32px 24px;margin:36px 20px;gap:32px;border-radius:8px 60px 8px 8px}.premium-aria-symbol{max-width:180px}.premium-aria-symbol svg{width:44px;height:44px}.premium-aria-symbol span{font-size:18px}.premium-public h2{font-size:34px;letter-spacing:-1px}.premium-steps{grid-template-columns:1fr;gap:24px;margin-top:28px}.premium-steps article>span{margin-bottom:16px}.premium-steps p{max-width:none}.premium-path{padding:20px 24px 40px}.premium-closing{padding:48px 24px}.premium-reception{padding:24px;margin:0 20px 32px}.premium-reception .landing-actions{display:flex;flex-wrap:wrap}.premium-urgent{margin:0 24px 36px}.premium-urgent h2{font-size:20px}.premium-footer{padding-bottom:100px}.premium-footer nav{flex-direction:column;gap:18px}}
@media(prefers-reduced-motion:reduce){.premium-public *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.premium-specialties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;padding:0 clamp(20px,5vw,80px) 16px}.premium-specialties .premium-photo{height:auto;min-height:0;aspect-ratio:1.5;border-radius:8px}.premium-specialties h3{margin:22px 0 8px}.premium-specialties a{font-size:14px;text-underline-offset:5px}.premium-photo-psychology img,.premium-photo-physio img{object-position:45% center}@media(max-width:600px){.premium-specialties{grid-template-columns:1fr;gap:32px}}
/* G21B.1A: professional launch and accessible sign-in, scoped to their surfaces. */
.commercial-benefits{padding:24px clamp(24px,5vw,80px) 48px;border-bottom:1px solid #dce9e6}.commercial-benefits>div{display:flex;flex-wrap:wrap;gap:20px 32px}.commercial-benefits span{display:flex;align-items:center;gap:8px;color:#285b5c}.commercial-benefits svg{color:#156c70;flex-shrink:0}.commercial-professional .premium-path{padding-top:64px}.commercial-offer{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;padding:72px clamp(24px,7vw,110px);background:linear-gradient(145deg,#eaf4f1,#f8f6ee)}.commercial-offer-story>p:not(.premium-eyebrow){max-width:440px;line-height:1.8;color:#4b6263}.commercial-price-card{padding:36px;background:#ffffffeb;border:1px solid #b7d5ce;border-radius:28px;box-shadow:0 22px 64px #19484612;min-width:0}.commercial-price-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.commercial-price-heading h3{font-size:25px;margin:0}.commercial-price-heading>span{font-size:12px;color:#715113;background:#f6edcf;padding:7px 12px;border-radius:24px}.commercial-reference{font-size:14px;color:#536c6d;margin:24px 0 0}.commercial-price{font-size:72px!important;line-height:1.2!important;letter-spacing:-3px;margin:8px 0!important;color:#165c60}.commercial-price>span{display:inline-block;font-size:14px;letter-spacing:0;margin-left:12px}.commercial-annual{font-size:20px;color:#174c4f;margin:12px 0}.commercial-price-card>p:not(.commercial-price):not(.commercial-annual){font-size:14px;line-height:1.7}.commercial-price-card ul{padding-left:20px;margin:24px 0;line-height:1.8;font-size:14px}.commercial-price-card li{margin:8px 0}.commercial-seat-policy{font-weight:600}.commercial-preparation{padding:16px;background:#eef5f3;border-left:3px solid #8eaa9f;margin:24px 0 18px;font-size:13px;line-height:1.6}.commercial-preparation p{margin:6px 0 0}.commercial-price-card .button{width:100%;display:flex}.commercial-price-card .button:disabled{background:#496d70;color:white;border-color:#496d70;cursor:not-allowed;opacity:1;transform:none}.commercial-price-card>small{display:block;margin-top:12px;font-size:12px;color:#526768;line-height:1.6}.commercial-studio{display:grid;grid-template-columns:1fr 1.1fr;gap:56px;align-items:center;margin:72px clamp(24px,5vw,80px)}.commercial-studio-copy>p{line-height:1.7}.commercial-studio-board{background:linear-gradient(135deg,#173e43,#235e64);border-radius:24px;padding:28px;color:#e9f5f0;box-shadow:0 20px 60px #254e4c20;min-width:0}.commercial-board-label{display:flex;align-items:center;gap:10px;font-size:12px;color:#dfcf9f}.commercial-studio-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:26px}.commercial-studio-grid article{background:#ffffff0c;border:1px solid #a5cfc52c;border-radius:16px;padding:22px;min-width:0}.commercial-studio-grid svg{color:#b6dcd1}.commercial-studio-grid h3{font-size:17px;color:white;margin:18px 0 8px}.commercial-studio-grid p{font-size:13px;line-height:1.7;color:#d5e5e2}.commercial-board-flow{font-size:12px;text-align:center;padding-top:24px;color:#dfcf9f}.commercial-faq{max-width:900px;margin:72px auto;padding:0 24px}.commercial-faq details{border-bottom:1px solid #cbded8;padding:20px 0}.commercial-faq summary{font-weight:600;cursor:pointer;min-height:28px;line-height:1.6}.commercial-faq details>p{max-width:730px;color:#4c6263;line-height:1.8}.commercial-faq summary:focus-visible{outline:3px solid #a2782a;outline-offset:4px}
.professional-access-form{display:grid;gap:14px;margin-top:24px;color:#153b40}.professional-access-form label{font-weight:650}.professional-access-form input[type=email]{width:100%;min-width:0;box-sizing:border-box;min-height:52px;font-size:16px;padding:14px 16px;border:2px solid #658a8e;border-radius:12px;background:#eef5f5;color:#153b40;-webkit-appearance:none}.professional-access-form input::placeholder{color:#536d72;opacity:1}.professional-access-form input:focus-visible{outline:3px solid #947223;outline-offset:3px;border-color:#12656b;background:#fff}.professional-access-form input:user-invalid{border-color:#a42c3b;background:#fff4f5}.professional-access-form small{color:#476267;line-height:1.6}.professional-access-form .access-submit{min-height:52px;padding:14px 18px;border:2px solid #12656b;border-radius:12px;background:#12656b;color:white;font-weight:650;font-size:16px;cursor:pointer}.professional-access-form .access-submit:focus-visible{outline:3px solid #947223;outline-offset:3px}.professional-access-form .access-submit:disabled{background:#426a70;border-color:#426a70;cursor:wait}.professional-access-form [role=status]:not(:empty){background:#e7f2f0;border-left:3px solid #12656b;padding:12px;color:#153b40;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:900px){.commercial-offer,.commercial-studio{grid-template-columns:1fr;gap:30px}.commercial-offer{padding:40px 20px}.commercial-price-card{padding:24px}.commercial-price{font-size:62px!important}.commercial-studio{margin:48px 20px}.commercial-studio-board{padding:20px}.commercial-studio-grid article{padding:16px}.commercial-studio-grid{gap:10px}.commercial-benefits>div{display:grid;grid-template-columns:1fr 1fr;gap:20px 14px;font-size:13px}.commercial-faq{margin:48px auto}.commercial-professional .premium-path{padding-top:40px}}
@media(prefers-reduced-motion:reduce){.commercial-professional *{scroll-behavior:auto!important;transition:none!important}}

.commercial-account-note{max-width:850px;margin:0 auto 48px;padding:0 24px;font-size:14px;line-height:1.8;color:#4c6263}.commercial-account-note a{color:#156c70;text-underline-offset:4px}

/* G22B: shared workspace and conversation presentation. No changes to connected permissions. */
.g22-assistant {
  max-width: 1320px;
  margin: 0 auto;
}
.g22-assistant-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.7fr);
  gap: 24px;
  align-items: start;
}
.g22-assistant-layout > * {
  min-width: 0;
}
.g22-assistant-layout aside {
  display: grid;
  gap: 16px;
}
.g22-assistant-layout aside h2 {
  font-size: 20px;
  margin: 0;
}
.g22-assistant-layout aside .button {
  white-space: normal;
  min-height: 44px;
}
.g22-quick-actions {
  display: grid;
  gap: 6px;
}
.g22-quick-actions button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #cfdfdd;
  color: #1d555c;
  padding: 14px 2px;
  min-height: 48px;
  cursor: pointer;
}
.g22-chat-card {
  overflow: hidden;
  min-width: 0;
}
.g22-local-chat {
  padding: clamp(18px, 3vw, 34px);
  display: grid;
  gap: 18px;
  min-width: 0;
}
.g22-chat-context {
  border-left: 3px solid #b38a3c;
  padding-left: 14px;
  color: #24575c;
}
.g22-chat-messages {
  display: grid;
  gap: 16px;
  overflow-wrap: anywhere;
  max-height: 58vh;
  overflow-y: auto;
  min-height: 180px;
  overscroll-behavior: contain;
}
.g22-chat-messages article {
  padding: 8px 20px;
  border-radius: 18px;
  background: #f1f7f5;
  border: 1px solid #d3e2de;
}
.g22-chat-messages article p {
  line-height: 1.75;
  white-space: pre-wrap;
}
.g22-chat-messages article b {
  font-size: 12px;
  letter-spacing: 0.03em;
  color: #286569;
}
.g22-chat-empty {
  padding: 36px 12px;
  text-align: center;
  align-self: center;
  color: #345d62;
}
.g22-chat-empty > span {
  display: block;
  font-size: 42px;
  color: #9b7939;
}
.g22-chat-empty h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
}
.g22-local-chat form {
  display: grid;
  gap: 12px;
  border-top: 1px solid #d7e6e1;
  padding-top: 20px;
}
.g22-local-chat .field {
  margin: 0;
}
.g22-local-chat textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  resize: vertical;
  min-height: 94px;
  border: 1px solid #739c9b;
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
  color: #173f44;
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
}
.g22-local-chat form button {
  justify-self: end;
  min-height: 46px;
}
.g22-connected-option {
  padding: 18px;
  border: 1px solid #d6c99e;
  border-radius: 16px;
  background: #fbf8ef;
}
.g22-connected-option small {
  display: block;
  line-height: 1.6;
  margin-top: 12px;
  color: #52696a;
}
.g22-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}
.g22-metric-grid article {
  padding: 24px 18px;
  border-radius: 22px;
  border: 1px solid #c7dfd7;
  background: #eef7f3;
  display: grid;
  gap: 8px;
}
.g22-metric-grid strong {
  font-size: 38px;
  color: #1c646a;
}
.g22-mental-select {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.g22-mental-select select {
  max-width: 100%;
  min-width: 0;
}
.g22-studio {
  padding: clamp(28px, 6vw, 100px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  background:
    radial-gradient(ellipse at 95% 10%, #d7ebe5, transparent 70%), #f8fbf8;
}
.g22-studio h1 {
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.07;
  letter-spacing: -1.8px;
  max-width: 650px;
}
.g22-studio p {
  line-height: 1.8;
}
.g22-studio-price {
  padding: 24px 0;
  border-top: 1px solid #cbddd7;
}
.g22-studio-price strong,
.g22-studio-price small {
  display: block;
}
.g22-studio-price strong {
  font-size: 25px;
  color: #185b60;
}
.g22-studio-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 24px;
  background: linear-gradient(145deg, #183f45, #286d70);
  border-radius: 32px;
  color: white;
  box-shadow: 0 22px 65px #193d3e22;
}
.g22-studio-board article {
  border: 1px solid #b9d8d140;
  border-radius: 18px;
  padding: 20px;
  background: #ffffff08;
  min-width: 0;
}
.g22-studio-board article:last-child {
  grid-column: 1/-1;
}
.g22-studio-board h2 {
  font-size: 18px;
  letter-spacing: 0;
  color: white;
  line-height: 1.45;
  margin: 14px 0;
}
.g22-studio-board span,
.g22-studio-board small {
  color: #e0d2a2;
  font-size: 12px;
}
.g22-assistant button:focus-visible,
.g22-assistant textarea:focus-visible,
.g22-studio a:focus-visible {
  outline: 3px solid #ad8034;
  outline-offset: 4px;
}
@media (max-width: 900px) {
  .g22-assistant-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .g22-assistant-layout aside {
    gap: 12px;
  }
  .g22-quick-actions {
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }
  .g22-studio {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .g22-metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .g22-chat-messages {
    max-height: 50vh;
  }
  .g22-mental-select {
    grid-template-columns: 1fr;
  }
  .g22-studio-board {
    padding: 18px;
  }
  .g22-studio-board article {
    padding: 16px;
  }
}
@media (max-width: 480px) {
  .g22-studio {
    padding: 32px 20px;
  }
  .g22-studio-board {
    grid-template-columns: 1fr;
  }
  .g22-studio h1 {
    font-size: 38px;
  }
  .g22-quick-actions {
    grid-template-columns: 1fr;
  }
  .g22-local-chat {
    padding: 18px;
  }
  .g22-local-chat form button {
    justify-self: stretch;
  }
  .g22-chat-empty {
    padding: 22px 0;
  }
  .g22-metric-grid article {
    padding: 18px 12px;
  }
}

.g22-patient-controls{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;margin-bottom:20px}.g22-patient-controls>.patient-search{flex-basis:100%;min-width:0}.g22-patient-controls>.button{min-height:44px;flex:1}.g22-assistant .page-heading{margin-bottom:20px}
@media(max-width:900px){.g22-chat-card{order:-1}.g22-patient-controls{padding:14px;margin-bottom:16px}.g22-assistant .page-heading h1{font-size:29px}.g22-chat-empty{padding:12px 0}.g22-chat-messages{min-height:120px}.g22-assistant .g22-local-chat{gap:12px}}

/* G23: session tools reuse the clinical shell; no decorative interference. */
.g23-tools { min-width:0; }
.g23-tabs { display:flex; flex-wrap:wrap; gap:.5rem; margin:1rem 0 1.5rem; }
.g23-tabs .button { white-space:normal; }
.g23-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:1rem; }
.g23-card { border:1px solid #cfe3e6; background:#f6fbfb; border-radius:16px;padding:1rem;margin:.7rem 0;overflow-wrap:anywhere; }
.g23-check {display:flex;gap:.6rem;align-items:flex-start;margin:.8rem 0;}
.g23-timer {padding:1rem;border-left:4px solid #008a95;background:#e7f6f6;border-radius:12px;margin:1rem 0;color:#133b49;display:grid;gap:.4rem;}
.g23-text {white-space:pre-wrap;overflow-wrap:anywhere;}
.g23-tools textarea,.g23-tools input,.g23-tools select {max-width:100%;}
.g23-tools fieldset {min-width:0;border:1px solid #cfe3e6;border-radius:12px;margin:1rem 0;}
@media(max-width:600px){.g23-tabs .button{flex:1 1 42%;font-size:.85rem;min-height:44px}.g23-tools .landing-actions{flex-wrap:wrap}.g23-tools .landing-actions .button{width:100%}}

/* G24.16: wrap source identifiers instead of widening the patient record. */
.case-builder, .case-builder section {min-width:0;overflow-wrap:anywhere;}
.case-builder select {max-width:100%;}
.g23-presets {display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0;}
.g23-presets .button {min-height:44px;}
.g23-presets [aria-pressed="true"] {background:#d8f2f2;border-color:#008a95;color:#123c46;}

/* ClinicAI Editorial Luxury. Native fonts; no remote font dependency. */
:root {
 --cl-night: #0b2033;
 --cl-turquoise: #00a9b7;
 --cl-teal: #087a88;
 --cl-paper: #fafcfc;
 --cl-ice: #eaf7f9;
 --cl-muted: #536877;
 --cl-gold: #c6a66a;
 --cl-line: #dce7eb;
 --cl-white: #fff;
 --cl-danger: #a52b42;
 --cl-radius-sm: 10px;
 --cl-radius: 18px;
 --cl-radius-lg: 28px;
 --cl-shadow: 0 10px 32px #0b203308;
 --cl-heading: "Avenir Next", "Segoe UI", Arial, sans-serif;
 --cl-body: "Avenir Next", "Segoe UI", Arial, sans-serif;
 --cl-space-1: 8px;
 --cl-space-2: 16px;
 --cl-space-3: 24px;
 --cl-space-4: 40px;
 --cl-space-5: 72px;
 --background: var(--cl-paper);
 --surface: var(--cl-white);
 --ink: var(--cl-night);
 --muted: var(--cl-muted);
 --cyan: var(--cl-teal);
 --cyan-bright: var(--cl-turquoise);
 --cyan-soft: var(--cl-ice);
 --gold: var(--cl-gold);
 --font: var(--cl-body);
 --radius: var(--cl-radius);
 --glass-bg: var(--cl-white);
 --glass-border: var(--cl-line);
 --glass-shadow: var(--cl-shadow);
 --glass-highlight: inset 0 1px 0 #fff;
 --glass-blur: 0px;
}

/* Shared visual layer. Existing behaviors, permissions and layout contracts remain authoritative. */
body { background: var(--cl-paper); color: var(--cl-night); font-family:var(--cl-body); font-size:15px; }
.premium-public { --ink:var(--cl-night); --muted:var(--cl-muted); --cyan:var(--cl-teal); background:var(--cl-paper); }
h1,h2,h3,h4 { font-family:var(--cl-heading); color:var(--cl-night); }
h1 { font-weight:700; letter-spacing:-1.2px; line-height:1.15; }
h2 { font-weight:650; }
p,.subtle { color:var(--cl-muted); }
small { font-size:12px; }
.glass { background:var(--cl-white); border:1px solid var(--cl-line); border-radius:var(--cl-radius); box-shadow:var(--cl-shadow); backdrop-filter:none; }
.button,.premium-public .button { border-radius:var(--cl-radius-sm); min-height:46px; padding:12px 20px; font-size:14px; font-weight:600; white-space:normal; text-align:center; border:1px solid var(--cl-line); color:var(--cl-night); background:var(--cl-white); box-shadow:none; }
.button.primary,.premium-public .button.primary { color:white; background:var(--cl-teal); border-color:var(--cl-teal); }
.button.primary:hover,.premium-public .button.primary:hover { background:#065f6b; border-color:#065f6b; }
.button:not(.primary):not(:disabled):hover { background:var(--cl-ice); border-color:#9bcbd0; }
.button.danger { color:var(--cl-danger); background:#fff4f6; border-color:#e9b9c3; }
.button:disabled { opacity:.65; cursor:not-allowed; transform:none; }
:is(button,a,input,select,textarea,summary):focus-visible { outline:3px solid var(--cl-teal); outline-offset:4px; }
:is(.field,.fields-grid,.g16-fields,.g16-profile-field) :is(input,select,textarea),.input { color:var(--cl-night); border:1px solid #98b2bd; border-radius:var(--cl-radius-sm); background:#fff; min-height:46px; font-size:16px; padding:12px 14px; max-width:100%; }
input::placeholder,textarea::placeholder { color:#657b89; opacity:1; }
.field { color:var(--cl-night); font-size:14px; line-height:1.6; }
textarea { line-height:1.65; }
input[type=checkbox],input[type=radio] { accent-color:var(--cl-teal); }
.badge { font-size:12px; font-weight:600; border-radius:7px; padding:5px 9px; }
.badge.cyan,.badge.blue,.badge.neutral { background:var(--cl-ice); color:#165964; }
.badge.gold { background:#faf3e3; color:#765b23; }
.alert,[role=alert]:not(:empty) { border-radius:12px; line-height:1.65; overflow-wrap:anywhere; }
.alert.danger { background:#fff3f5; color:var(--cl-danger); border:1px solid #ebc5ce; }
.alert.warning { background:#fff9ed; color:#76551b; }
.modal { border:1px solid var(--cl-line); box-shadow:0 24px 80px #0b20332b; max-width:min(720px,calc(100vw - 32px)); }
.modal::backdrop { background:#0b20336b; backdrop-filter:blur(3px); }
.table-wrap { border-radius:16px; border:1px solid var(--cl-line); background:#fff; }
table th { color:var(--cl-muted); background:#f3f8fa; font-size:12px; font-weight:650; letter-spacing:.03em; }
table td { border-color:var(--cl-line); }
:where(.empty-state,.empty-panel) { background:#f4f9fa; border:1px dashed #b7cdd5; border-radius:18px; padding:32px; color:var(--cl-muted); }
:where(.skeleton,[aria-busy=true]) { --skeleton-base:#edf3f5; }
.eyebrow,.premium-eyebrow { color:var(--cl-teal); font-size:11px; font-weight:700; letter-spacing:.18em; }
.premium-nav { border-bottom:1px solid var(--cl-line); padding:22px clamp(20px,5vw,80px); background:#ffffffed; gap:20px; }
.premium-brand { color:var(--cl-night); letter-spacing:-1px; font-weight:700; }
.premium-nav nav { gap:24px; }
.premium-nav nav a { color:var(--cl-muted); font-size:14px; }
.premium-nav .premium-login { border:1px solid var(--cl-line); border-radius:10px; padding:10px 18px; color:var(--cl-teal); }
.premium-footer { background:#edf5f7; border-top:1px solid var(--cl-line); }
.premium-footer nav a { color:var(--cl-muted); }
.premium-hero { gap:40px; padding-top:48px; }
.premium-hero h1 { font-weight:750; letter-spacing:-2.5px; color:var(--cl-night); }
.premium-public em { color:var(--cl-teal); font-style:normal; }
.premium-lead { color:var(--cl-muted); }
.premium-photo,.premium-professional .premium-photo,.premium-patient .premium-photo { border-radius:24px; box-shadow:var(--cl-shadow); }
.premium-photo figcaption { border-radius:8px; font-size:11px; }
.premium-steps article { border:1px solid var(--cl-line); border-radius:18px; background:#fff; padding:28px; }
.premium-privacy { color:var(--cl-teal); }
.premium-closing { background:var(--cl-night); border-radius:24px; margin:56px clamp(20px,5vw,80px); padding:54px; }
.premium-closing h2,.premium-closing p,.premium-closing small { color:#e8f5f7; }
.premium-closing .premium-eyebrow { color:#b9d9df; }
.premium-closing .button { color:var(--cl-night); background:#fff; }
@media(max-width:760px) {
 h1 { font-size:30px; letter-spacing:-1px; }
 .premium-nav { flex-wrap:wrap; gap:16px; padding:18px 20px; }
 .premium-nav nav { width:100%; justify-content:space-between; gap:10px; }
 .premium-nav nav a { font-size:13px; }
 .premium-hero h1 { font-size:42px; letter-spacing:-1.6px; }
 .premium-photo { min-height:320px; }
 .premium-closing { margin:32px 16px; padding:32px 24px; }
 .button,.premium-public .button { min-height:48px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; } }
@media print { body { background:white; } .glass { box-shadow:none; } }

/* B — Editorial landing, using real links and clearly labelled Demo content. */
.lux-hero { position:relative; min-height:690px; padding:70px clamp(24px,5vw,80px) 130px; isolation:isolate; overflow:hidden; }
.lux-hero-copy { position:relative; z-index:2; width:52%; max-width:690px; }
.lux-hero h1 { font-size:clamp(44px,4.8vw,72px); line-height:1.06; letter-spacing:-2.8px; margin-bottom:28px; font-weight:750; }
.lux-hero .premium-photo { position:absolute; z-index:-2; inset:0 0 0 auto; width:64%; border-radius:0; box-shadow:none; }
.lux-hero .premium-photo:after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,var(--cl-paper),#fafcfcdd 15%,#fafcfc00 52%); }
.lux-hero .premium-photo img { object-position:65% center; }
.lux-hero .premium-photo figcaption { left:auto; right:20px; bottom:14px; z-index:1; }
.lux-workspace-preview { position:absolute; bottom:40px; right:clamp(24px,5vw,80px); width:330px; padding:24px; background:#ffffffed; border:1px solid #fff; border-radius:18px; box-shadow:0 20px 60px #0b203320; z-index:2; }
.lux-workspace-preview>p { color:var(--cl-teal); font-size:10px; letter-spacing:.16em; display:flex; align-items:center; gap:8px; }
.lux-workspace-preview strong { display:block; font-size:19px; line-height:1.35; }
.lux-workspace-preview nav { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:20px 0 14px; }
.lux-workspace-preview nav a { display:flex; flex-direction:column; gap:10px; align-items:center; background:var(--cl-ice); padding:13px 4px; font-size:11px; border-radius:9px; color:#165964; }
.lux-workspace-preview small { color:var(--cl-muted); font-size:11px; }
.lux-section { max-width:1400px; margin:auto; padding:72px clamp(24px,5vw,80px); }
.lux-section-heading { display:flex; align-items:end; justify-content:space-between; gap:40px; margin-bottom:36px; }
.lux-section-heading>p { max-width:420px; margin-bottom:4px; }
.lux-section h2,.lux-aria-section h2,.lux-care-section h2,.lux-studio-teaser h2 { font-size:clamp(30px,3.2vw,46px); line-height:1.13; letter-spacing:-1.7px; margin-bottom:18px; }
.lux-feature-grid,.lux-price-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.lux-feature-card,.lux-price-grid article { border:1px solid var(--cl-line); background:white; border-radius:20px; padding:30px; }
.lux-icon { display:inline-flex; padding:14px; border-radius:12px; background:var(--cl-ice); color:var(--cl-teal); margin-bottom:24px; }
.lux-feature-card h3,.lux-price-grid h3 { font-size:21px; }
.lux-feature-card a { display:inline-flex; align-items:center; gap:10px; color:var(--cl-teal); font-weight:600; margin-top:10px; min-height:44px; }
.lux-aria-section,.lux-care-section,.lux-studio-teaser { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; margin:24px clamp(24px,5vw,80px) 64px; }
.lux-aria-section { padding:56px; background:var(--cl-ice); border-radius:28px; }
.lux-aria-section small { display:block; color:var(--cl-muted); margin-top:20px; }
.lux-aria-art { min-height:350px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; color:var(--cl-teal); background:radial-gradient(circle,#fff 0 22%,#d6edf1 23% 23.5%,transparent 24% 38%,#cfe6eb 38.5% 39%,transparent 39.5%); }
.lux-aria-art>span { font-size:40px; letter-spacing:.2em; font-weight:650; }
.lux-aria-art small { font-size:9px; letter-spacing:.13em; }
.lux-care-section .premium-photo { min-height:440px; }
.lux-studio-teaser { padding:48px; background:#f3f1ec; border-radius:24px; }
.lux-brand-composition { padding:36px; display:flex; flex-direction:column; gap:24px; background:var(--cl-night); border-radius:18px; color:#eaf7f9; box-shadow:16px 16px 0 #e3d9c6; }
.lux-brand-composition>span { font-size:10px; letter-spacing:.15em; color:#c9dbe2; }
.lux-brand-composition svg { color:var(--cl-gold); align-self:flex-end; }
.lux-brand-composition strong { font-size:42px; line-height:1.1; }
.lux-security { display:flex; align-items:flex-start; gap:30px; border-block:1px solid var(--cl-line); }
.lux-security>svg { color:var(--cl-teal); }
.lux-security>div { max-width:650px; flex:1; }
.lux-security>svg:last-child { margin:auto 0 auto auto; color:#b5cbd1; }
.lux-price { font-size:42px; color:var(--cl-night); letter-spacing:-1.5px; margin:20px 0; }
.lux-price small { font-size:12px; letter-spacing:0; color:var(--cl-muted); }
@media(max-width:1000px) {
 .lux-hero-copy { width:65%; }
 .lux-hero { min-height:720px; padding-bottom:240px; }
 .lux-workspace-preview { width:300px; bottom:32px; }
 .lux-aria-section,.lux-care-section,.lux-studio-teaser { gap:32px; }
 .lux-feature-card,.lux-price-grid article { padding:24px; }
}
@media(max-width:760px) {
 .lux-hero { padding:32px 20px 24px; display:flex; flex-direction:column; min-height:0; overflow:visible; }
 .lux-hero-copy { width:100%; }
 .lux-hero h1 { font-size:44px; letter-spacing:-1.9px; }
 .lux-hero .premium-photo { position:relative; inset:auto; width:100%; min-height:320px; margin-top:26px; border-radius:18px; z-index:auto; }
 .lux-hero .premium-photo:after { display:none; }
 .lux-workspace-preview { position:relative; right:auto; bottom:auto; width:calc(100% - 24px); margin:-36px auto 0; padding:20px; }
 .lux-section { padding:40px 20px; }
 .lux-section-heading { display:block; }
 .lux-section-heading>p { margin-top:20px; }
 .lux-feature-grid,.lux-price-grid { grid-template-columns:1fr; gap:16px; }
 .lux-aria-section,.lux-care-section,.lux-studio-teaser { grid-template-columns:1fr; margin:24px 20px 40px; gap:28px; }
 .lux-aria-section,.lux-studio-teaser { padding:28px 22px; }
 .lux-aria-art { min-height:240px; }
 .lux-care-section .premium-photo { min-height:300px; }
 .lux-security { gap:18px; }
 .lux-security>svg:last-child { display:none; }
 .lux-brand-composition { padding:28px; box-shadow:7px 7px 0 #e3d9c6; }
}

/* C — Productive workspace, a quiet sidebar and readable metrics. */
.premium-public { font-family:var(--cl-body); }
.premium-public em { font-family:inherit; font-weight:inherit; }
.app-shell { background:var(--cl-paper); }
.sidebar.glass { background:#fff; border-radius:0; border-right:1px solid var(--cl-line); box-shadow:none; backdrop-filter:none; }
.sidebar .navigation button { border-radius:10px; min-height:46px; color:var(--cl-muted); font-size:13px; font-weight:500; }
.sidebar .navigation button.active { color:var(--cl-teal); background:var(--cl-ice); box-shadow:inset 3px 0 var(--cl-turquoise); font-weight:650; }
.sidebar .navigation button:hover { background:#f0f7f8; color:var(--cl-teal); }
.sidebar-bottom { border-top:1px solid var(--cl-line); }
.topbar { background:#fff; border-color:var(--cl-line); padding-inline:32px; }
.global-search { background:#f4f8fa; border:1px solid var(--cl-line); border-radius:12px; padding:10px 14px; min-width:0; }
.global-search input { background:transparent; color:var(--cl-night); min-width:0; }
.main-shell>main { padding:32px; }
.page-heading { margin-bottom:28px; gap:20px; }
.page-heading h1 { font-size:clamp(28px,2.6vw,38px); font-weight:700; }
.page-heading p { max-width:650px; margin-bottom:0; }
.stat-card { border-radius:18px; background:#fff; border:1px solid var(--cl-line); box-shadow:none; padding:24px; }
.stat-card strong { color:var(--cl-night); font-variant-numeric:tabular-nums; font-weight:650; }
.stat-top { color:var(--cl-muted); font-size:13px; }
.stat-note { color:var(--cl-muted); font-size:12px; }
.stat-icon { border-radius:12px; background:var(--cl-ice); color:var(--cl-teal); }
.dashboard-shortcut:hover { border-color:#9bcbd0; box-shadow:var(--cl-shadow); }
.lux-dashboard-aria { border-left:3px solid var(--cl-gold); background:linear-gradient(100deg,#fff,var(--cl-ice)); }
.lux-dashboard-aria h2 { font-size:22px; }
.demo-banner { background:var(--cl-ice); border-bottom:1px solid #c6e4e9; color:#254955; font-size:12px; padding:12px 24px; }
.demo-banner nav a { color:#275766; }
.demo-workspace-identity,.g22-identity-note { color:var(--cl-muted); }
.g16-account-menu { background:white; border:1px solid var(--cl-line); box-shadow:0 15px 40px #0b203320; }
.g16-account-menu button,.g16-account-menu a { min-height:44px; }
@media(max-width:760px) {
 .main-shell>main { padding:24px 16px 90px; }
 .topbar { padding-inline:12px; background:#ffffffed; backdrop-filter:blur(8px); }
 .global-search { padding:7px 9px; }
 .page-heading { align-items:flex-start; flex-wrap:wrap; }
 .page-heading h1 { font-size:29px; }
 .stat-card { padding:20px; }
 .demo-banner { padding:12px 16px; }
}

/* D — ARIA keeps the existing guide and authorized connected flow. */
.g22-assistant .page-heading h1 { letter-spacing:-1.2px; }
.g22-patient-controls { padding:16px 20px; box-shadow:none; background:#f2f8fa; border-color:#d4e6eb; }
.g22-assistant-layout { gap:24px; }
.g22-assistant-layout>aside { box-shadow:none; background:transparent; border-color:var(--cl-line); }
.g22-assistant-layout>aside h2 { font-size:17px; margin-bottom:20px; }
.g22-quick-actions button { font-size:14px; text-align:left; min-height:48px; border-bottom:1px solid var(--cl-line); color:#275766; padding:14px 0; }
.g22-chat-card { border-radius:22px; border-top:3px solid var(--cl-teal); background:#fff; box-shadow:var(--cl-shadow); }
.g22-local-chat { padding:28px; }
.g22-chat-empty { padding:48px 16px; background:#f5f9fa; border-radius:16px; }
.g22-chat-empty>span { color:var(--cl-teal); }
.g22-chat-empty h2 { font-size:27px; }
.g22-chat-context { border-radius:9px; background:var(--cl-ice); border:1px solid #cde5ea; padding:10px 14px; color:#215964; }
.g22-chat-messages article { border:0; padding:0; margin:24px 0; background:none; }
.g22-chat-messages article>p { border-radius:14px; padding:18px; margin:8px 0; background:#f1f6f8; color:var(--cl-night); }
.g22-chat-messages article>p:first-child { background:#e3f2f5; margin-left:24px; }
.g22-local-chat textarea { min-height:120px; border:1px solid #90b4c0; background:#fff; border-radius:12px; padding:16px; }
.g22-local-chat form { border-top:1px solid var(--cl-line); padding-top:20px; }
.g22-connected-option { background:#f5f8f7; border:1px solid var(--cl-line); border-radius:12px; }
.aria-floating-panel { background:var(--cl-paper); border:1px solid #c7dce3; border-radius:20px; box-shadow:0 20px 80px #0b20332a; }
.aria-floating-panel header { background:#fff; border-bottom:1px solid var(--cl-line); }
.aria-float-trigger { border-radius:12px; background:var(--cl-teal); color:#fff; font-size:14px; box-shadow:0 6px 20px #0b20331a; }
.aria-context { background:var(--cl-ice); color:#215964; border-color:#cfe3e8; }
.aria-bubble { border-radius:15px; border-color:var(--cl-line); }
.premium-reception { background:#f1f7f8; border:1px solid var(--cl-line); border-radius:24px; box-shadow:var(--cl-shadow); }
.premium-reception h2 { font-weight:650; color:var(--cl-night); }
.premium-reception .g20-answer { border-radius:12px; border-left:3px solid var(--cl-gold); }
@media(max-width:760px) { .g22-local-chat { padding:20px; } .g22-chat-empty { padding:28px 12px; } .g22-local-chat .button { width:100%; } .premium-reception { padding:26px 20px; margin-inline:16px; } }

/* E — Mental health documents preserve every field and permission. */
.g19-register { border:1px solid var(--cl-line); border-radius:20px; box-shadow:var(--cl-shadow); background:white; }
.g19-register h2 { font-size:24px; }
.g19-register textarea { width:100%; min-height:440px; border:1px solid #9fb8c2; border-radius:12px; padding:22px; background:#fdfefe; font-size:15px; line-height:1.85; }
.g19-register textarea:disabled { opacity:1; color:#405867; background:#f6f9fa; }
.g19-register details { border-top:1px solid var(--cl-line); padding-top:16px; }
.g19-register summary { min-height:44px; cursor:pointer; color:var(--cl-teal); font-weight:600; }
.g20-note { background:#f5f9fa; padding:18px; border-radius:12px; color:var(--cl-night); line-height:1.8; }
.g19-register .landing-actions { gap:10px; }
@media(max-width:760px) { .g19-register textarea { padding:16px; font-size:16px; } .g19-register .landing-actions { display:flex; flex-wrap:wrap; } }

/* F — Public directory and profiles: only existing, authorized content. */
.g20-public { max-width:1240px; padding:28px 32px 80px; }
.g20-public>.entry-nav { margin-bottom:48px; padding-bottom:20px; border-bottom:1px solid var(--cl-line); }
.g20-public>h1 { font-size:clamp(34px,4vw,52px); letter-spacing:-1.7px; }
.g20-public>p { max-width:820px; }
.g20-filters { padding:26px; background:#f1f7f9; border-color:#d2e4e9; box-shadow:none; }
.g20-public .entry-card { padding:28px; background:#fff; box-shadow:none; border:1px solid var(--cl-line); }
.g20-public .entry-card h2 { font-size:23px; }
.g20-public .entry-card>strong { display:inline-block; color:#53613d; background:#f2f3e8; padding:6px 9px; border-radius:7px; font-size:11px; }
.g20-public .entry-card img { border-radius:16px; object-fit:cover; }
.g20-avatar { border-radius:16px; background:var(--cl-ice); color:var(--cl-teal); }
.public-practice { background:var(--cl-paper); }
.public-nav { border-bottom:1px solid var(--cl-line); }
.public-hero { gap:48px; }
.public-hero h1 { font-size:clamp(34px,4vw,58px); line-height:1.12; letter-spacing:-1.7px; }
.public-profile-card { background:#fff; border:1px solid var(--cl-line); box-shadow:var(--cl-shadow); border-radius:24px; }
.public-profile-card .avatar { border-radius:18px; }
.public-service-grid>.glass { border-radius:18px; box-shadow:none; }
.service-price { color:var(--cl-teal); font-size:28px; }
.digital-card { max-width:760px; margin:32px auto; border-top:4px solid var(--cl-teal); padding:40px; }
.digital-card h1 { font-size:clamp(30px,4vw,48px); }
@media(max-width:760px) { .g20-public { padding:24px 16px 90px; } .g20-filters { padding:20px; } .digital-card { margin:16px; padding:24px; } .public-hero { gap:24px; } }

/* G — Clinical productivity: data density, readable fields and safe wrapping. */
.patient-heading { background:#fff; border:1px solid var(--cl-line); border-radius:20px; padding:24px; }
.patient-heading h1 { font-size:30px; }
.patient-table td { padding-block:18px; }
.patient-table .patient-cell strong { color:var(--cl-night); font-size:15px; }
.patient-table .avatar { border-radius:12px; }
.filters,.table-toolbar { background:#f5f9fa; border-radius:12px; }
.calendar-shell,.calendar-grid { background:#fff; border-color:var(--cl-line); }
.calendar-appointment { border:1px solid #c5e2e8; border-left:3px solid var(--cl-teal); background:var(--cl-ice); border-radius:9px; color:#215461; }
.calendar-appointment span small { color:#466673; }
.slot-button { border:1px solid #91b4bf; border-radius:10px; background:#fff; color:var(--cl-teal); min-height:46px; }
.slot-button:hover,.slot-button.selected { background:var(--cl-ice); border-color:var(--cl-teal); }
.booking-panel { background:#fff; border:1px solid var(--cl-line); border-radius:24px; padding:32px; }
.booking-panel h1,.booking-panel h2 { color:var(--cl-night); }
.booking-steps { padding:14px; background:var(--cl-ice); border-radius:10px; color:#215461; }
.booking-summary { background:#f6f9fa; box-shadow:none; }
.g19-columns aside button { border-radius:10px; min-height:44px; text-align:left; padding:12px; }
.g19-columns aside button:hover { background:var(--cl-ice); }
:is(.fields-grid,.intake-actions,.landing-actions) { min-width:0; }
@media(max-width:760px) { .patient-heading { padding:20px; } .patient-table tr { padding:16px; margin-bottom:12px; border:1px solid var(--cl-line); border-radius:14px; background:#fff; } .patient-table td { padding:7px 0; } .booking-panel { padding:22px 16px; } }

/* H — Studio: original interactive composition, never a screenshot background. */
.lux-studio-hero { min-height:620px; padding-bottom:90px; }
.lux-studio-hero .lux-hero-copy { width:58%; max-width:760px; }
.lux-studio-hero h1 { font-size:clamp(40px,4.3vw,66px); }
.lux-studio-hero .premium-photo:after { background:linear-gradient(90deg,var(--cl-paper),#fafcfcf2 20%,#fafcfc00 65%); }
.lux-studio-points { display:flex; gap:24px; margin:28px 0; }
.lux-studio-points span { display:flex; flex-direction:column; gap:10px; max-width:110px; color:#294957; font-size:12px; }
.lux-studio-points svg { background:#d8eff3; color:var(--cl-teal); padding:10px; width:42px; height:42px; border-radius:11px; }
.lux-studio-services { position:relative; margin:-24px 24px 0; padding:36px; background:white; border:1px solid var(--cl-line); border-radius:28px; box-shadow:var(--cl-shadow); }
.lux-studio-services h2 { font-size:clamp(28px,3vw,42px); }
.lux-planned { white-space:nowrap; padding:10px 16px; border-radius:10px; background:var(--cl-ice); color:#275766; font-size:12px; }
.lux-service-cards { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:18px; }
.lux-service-cards article { border:1px solid var(--cl-line); border-radius:15px; overflow:hidden; background:#fff; }
.lux-service-cards article>div:last-child { padding:20px; }
.lux-service-cards h3 { font-size:19px; }
.lux-service-cards p { font-size:14px; }
.lux-service-cards small { color:#6c623f; }
.lux-service-art { height:150px; background:#e7f3f6; position:relative; overflow:hidden; display:flex; justify-content:center; align-items:center; color:var(--cl-teal); }
.lux-service-art>span { position:absolute; bottom:12px; left:14px; font-size:7px; letter-spacing:.12em; }
.lux-service-art>svg { position:relative; z-index:1; }
.lux-service-art i { position:absolute; width:85px; height:85px; border:1px solid #adcdd4; border-radius:16px; transform:rotate(-18deg); left:12px; top:30px; }
.lux-service-art i:nth-last-child(2) { left:auto; right:10px; top:50px; transform:rotate(12deg); }
.lux-service-art i:last-child { width:120px; height:90px; left:40px; top:-30px; }
.lux-service-art.identity { background:#efe9dc; color:#6b572a; }
.lux-service-art.identity i { border-color:#d3c3a4; }
.lux-service-art.content { background:#d8e7ed; color:#19415b; }
.lux-service-art.campaign { background:#d9eeeb; color:#1a6966; }
.lux-service-art.results { background:#e9edf3; color:#305179; }
.lux-studio-process { display:grid; grid-template-columns:1.2fr 1fr; align-items:center; gap:64px; padding:72px clamp(24px,6vw,90px); }
.lux-studio-process h2 { font-size:36px; }
.lux-studio-process>div>svg { color:var(--cl-gold); margin-bottom:16px; }
.lux-studio-offer { padding:36px; background:var(--cl-night); border-radius:22px; }
.lux-studio-offer h2,.lux-studio-offer p { color:#e6f2f5; }
.lux-studio-offer h2 { font-size:44px; }
.lux-studio-offer h2 small { font-size:14px; font-weight:400; }
.commercial-price-card { background:white; border-color:var(--cl-line); border-radius:20px; box-shadow:var(--cl-shadow); }
.commercial-offer { background:#f1f6f7; }
.commercial-price { color:var(--cl-teal); }
.commercial-preparation { background:#edf4f6; border-left-color:var(--cl-gold); }
.commercial-studio-board { background:var(--cl-night); }
@media(max-width:1100px) { .lux-service-cards { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:760px) {
 .lux-studio-hero { padding-bottom:40px; }
 .lux-studio-hero .lux-hero-copy { width:100%; }
 .lux-studio-hero h1 { font-size:42px; }
 .lux-studio-services { margin:0 16px; padding:26px 18px; }
 .lux-service-cards { grid-template-columns:1fr; }
 .lux-service-art { height:160px; }
 .lux-planned { display:inline-block; white-space:normal; }
 .lux-studio-process { grid-template-columns:1fr; gap:24px; padding:40px 20px; }
 .lux-studio-offer { padding:26px; }
}

/* I — Secondary states inherit the same readable primitives. */
.settings-grid>.glass,.g16-profile,.g18-account { border-radius:20px; border-color:var(--cl-line); background:#fff; }
.g16-profile-field { border-color:var(--cl-line); padding-block:20px; }
.g16-profile-field label { color:var(--cl-night); font-weight:600; }
.g18-account h2,.settings-grid h2 { font-size:23px; }
section[aria-label="Notificaciones"] { border:1px solid var(--cl-line); background:#fff; padding:22px; border-radius:18px; }
[role=status]:not(:empty) { overflow-wrap:anywhere; }
[aria-busy=true] { cursor:progress; }
/* J — Visual acceptance refinements. The supplied image is unchanged; SVG frames only its photographic area. */
.lux-owner-photo svg { display:block; width:100%; height:100%; }
.lux-studio-hero .lux-owner-photo { overflow:hidden; }
.icon-button { min-width:44px; min-height:44px; }
.g18-account { min-width:0; overflow-wrap:anywhere; }
.g18-account :is(input:not([type=checkbox]):not([type=radio]),select,textarea) { width:100%; min-width:0; max-width:100%; }
@media(max-width:760px) { .lux-studio-hero .lux-owner-photo { height:320px; min-height:320px; } }
.g18-account { grid-template-columns:minmax(0,1fr); }
.g18-account>* { min-width:0; }

/* Final touch-target and reading audit. */
button.text-link,.premium-panel button,.tabs button,.row-action { min-width:44px; min-height:44px; }
button.text-link { white-space:normal; text-align:left; }
.tabs { flex-wrap:wrap; }
.app-shell select { min-height:44px; border-radius:9px; padding:8px 12px; background:#fff; color:var(--cl-night); border:1px solid #98b2bd; }
.page-heading p,.section-heading p { font-size:14px; line-height:1.65; color:var(--cl-muted); }
.global-search input { font-size:13px; }
.g22-chat-empty { padding:24px 16px; }
body:has(.lux-dashboard-aria) .aria-float-trigger { display:none; }

/* G22B.3A — reference-led compositions. Clinical data and controls remain native. */
.reference-home { --ref-shadow:0 18px 45px #173b4920; background:#f6fbfc; }
.reference-home .premium-nav { position:relative; z-index:5; background:#f8fcfbea; padding:18px 3.5%; min-height:76px; }
.reference-home .lux-hero { min-height:610px; padding:45px 3.5% 110px; overflow:hidden; background:#eef8fa; }
.reference-home .lux-hero-copy { width:44%; max-width:640px; position:relative; z-index:3; }
.reference-home .lux-hero h1 { font-size:clamp(42px,4.6vw,68px); font-weight:800; line-height:1.02; letter-spacing:-2.6px; margin:16px 0 22px; }
.reference-home .lux-hero h1 em { display:block; color:#058b9b; }
.reference-home .lux-hero .premium-lead { max-width:470px; font-size:17px; line-height:1.5; }
.reference-home .premium-eyebrow { font-size:10px; letter-spacing:3px; margin-bottom:12px; }
.reference-home .lux-hero .premium-photo { width:66%; height:100%; top:0; right:0; z-index:0; margin:0; }
.reference-home .lux-hero .premium-photo img { object-position:27% center; }
.reference-home .lux-hero .premium-photo:after { background:linear-gradient(90deg,#eef8fa 0%,#eef8fad9 12%,#eef8fa00 38%),linear-gradient(0deg,#eef8fa55,transparent 30%); }
.reference-home .lux-hero .premium-photo figcaption { bottom:7px; right:10px; font-size:9px; }
.reference-home .premium-actions { gap:12px; margin-top:24px; }
.reference-home .button { min-height:48px; border-radius:9px; font-size:14px; }
.reference-home .button.primary { background:#008d9d; border-color:#008d9d; box-shadow:0 7px 18px #079ba221; }
.reference-home .lux-hero .premium-text-link { font-size:12px; margin-top:15px; }
.ref-dashboard { position:absolute; right:2.5%; top:26px; width:35%; max-width:475px; z-index:2; background:#ffffffed; border:5px solid #fff; border-radius:17px; box-shadow:0 28px 50px #102e4329; transform:perspective(1100px) rotateY(-5deg) rotateZ(2deg); color:#102c3d; }
.ref-window { display:flex; gap:4px; align-items:center; padding:10px 12px; font-size:8px; letter-spacing:1px; border-bottom:1px solid #e4edf0; }
.ref-window i { width:4px; height:4px; border-radius:50%; background:#81b9b2; }.ref-window span { margin-left:8px; }
.ref-dash-body { display:grid; grid-template-columns:26px 1fr; gap:12px; padding:14px 13px; }
.ref-dash-rail { display:flex; flex-direction:column; align-items:center; gap:26px; color:#79909b; padding-top:7px; }.ref-dash-rail svg { width:14px; height:14px; }
.ref-dash-body header { display:flex; justify-content:space-between; align-items:center; gap:10px; }.ref-dash-body header strong { font-size:15px; letter-spacing:-.4px; }.ref-dash-body header p { font-size:10px; margin:5px 0 16px; }.ref-dash-body header>svg { color:#008c9d; }
.ref-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; }.ref-metrics>div { padding:12px 9px; border:1px solid #e7eef0; background:#fff; border-radius:9px; }.ref-metrics small { font-size:8px; }.ref-metrics b { display:block; font-size:25px; line-height:1.5; }.ref-metrics span { font-size:8px; color:#087a88; }
.ref-dash-body h3 { font-size:12px; display:flex; gap:8px; margin:18px 0 8px; }.ref-appointment { display:flex; align-items:center; gap:9px; font-size:10px; padding:9px 0; border-bottom:1px solid #e6eef1; }.ref-appointment time { font-size:9px; }.ref-appointment small { display:block; font-size:8px; color:#58717e; }.ref-avatar { display:grid; place-items:center; background:#e4f0ef; color:#38666a; width:23px; height:23px; border-radius:50%; }.ref-appointment>svg { margin-left:auto; }.ref-dash-foot { display:flex; align-items:center; justify-content:space-between; font-size:10px; margin-top:10px; color:#087a88; min-height:30px; }
.ref-feature-strip { display:flex; gap:10px; position:absolute; bottom:28px; left:3.5%; z-index:3; width:68%; }.ref-feature-strip a { display:flex; align-items:center; gap:10px; padding:14px 13px; background:#fffffff0; border:1px solid #e5eff2; border-radius:9px; box-shadow:0 7px 22px #193c4510; flex:1; font-size:11px; line-height:1.35; }.ref-feature-strip svg { color:#1597a4; flex-shrink:0; }
.ref-aria { display:grid; grid-template-columns:1.5fr .8fr .65fr; gap:28px; margin:18px 2.5% 22px; align-items:stretch; }.ref-aria-photo { position:relative; min-height:395px; border-radius:16px; overflow:hidden; }.ref-aria-photo>.premium-photo,.ref-phone-scene>.premium-photo { position:absolute; inset:0; width:100%; height:100%; min-height:0; margin:0; border-radius:0; }.ref-aria-photo .premium-photo img { object-position:28% center; }.ref-aria-photo .premium-photo figcaption { font-size:8px; padding:4px; }
.ref-chat { position:absolute; right:16px; top:24px; width:55%; background:#effafbea; border:1px solid #fff; border-radius:15px; padding:16px; box-shadow:var(--ref-shadow); backdrop-filter:blur(9px); }.ref-chat-brand { display:flex; gap:7px; align-items:center; font-size:11px; color:#236373; margin-bottom:12px; }.ref-chat strong { font-size:12px; background:white; display:block; border-radius:8px; padding:10px; }.ref-chat-actions { background:#ffffffdd; border-radius:8px; padding:10px; margin:8px 0; }.ref-chat-actions a { display:flex; align-items:center; gap:8px; min-height:35px; font-size:10px; }.ref-chat-actions svg { color:#0e92a2; flex-shrink:0; }.ref-message { display:flex; align-items:center; justify-content:space-between; font-size:11px; padding:10px; border-radius:8px; background:#fff; }.ref-message svg { color:#008b98; }.ref-chat small { display:block; font-size:8px; margin-top:8px; color:#496674; }
.ref-aria-copy { padding:20px 0; }.ref-aria-copy h2 { font-size:36px; letter-spacing:-1.4px; margin:0 0 12px; }.ref-aria-copy p { font-size:14px; line-height:1.45; }.ref-aria-copy ul { list-style:none; padding:0; margin:18px 0; }.ref-aria-copy li { display:flex; gap:10px; align-items:center; font-size:12px; margin:10px 0; }.ref-aria-copy li svg { color:#138b98; }.ref-aria-copy>small { display:block; margin-top:12px; font-size:10px; color:#536877; line-height:1.5; }.ref-aria-copy .premium-text-link { font-size:11px; }
.ref-phone-scene { position:relative; overflow:hidden; min-height:395px; border-radius:16px; background:#d5e7e8; }.ref-phone-scene .premium-photo img { filter:blur(2px); object-position:60%; }.ref-phone-scene .premium-photo figcaption { display:none; }.ref-phone { width:80%; left:10%; right:auto; top:34px; transform:rotate(-7deg); background:#fbfdfd; border:6px solid #142730; border-radius:28px; padding:14px 10px; min-height:315px; }.ref-phone:before { content:""; display:block; width:35px; height:5px; border-radius:5px; background:#152b36; margin:0 auto 15px; }.ref-phone .ref-chat-brand { font-size:9px; }.ref-phone .ref-chat-actions { padding:0; }.ref-phone .ref-chat-actions a { font-size:9px; min-height:40px; }
.ref-platform { margin:20px 2.5% 28px; }.ref-platform-intro { display:grid; grid-template-columns:1fr 1fr; min-height:210px; gap:40px; }.ref-platform-intro>div { padding:24px 18px 65px; }.ref-platform h2 { font-size:36px; letter-spacing:-1.3px; line-height:1.08; max-width:580px; margin:10px 0; }.ref-platform-intro p { font-size:14px; }.ref-platform-intro .premium-photo { min-height:220px; height:100%; border-radius:16px; }.ref-platform-cards { position:relative; display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:10px; margin-top:-42px; z-index:1; }.ref-platform-card { padding:18px 15px; background:#ffffffed; border:1px solid #e3edf0; border-radius:13px; box-shadow:0 9px 24px #15334608; }.ref-platform-card>svg { padding:7px; width:38px; height:38px; color:#078d9f; background:#e2f6f8; border-radius:10px; margin-bottom:10px; }.ref-platform-card h3 { font-size:14px; margin:0 0 8px; }.ref-platform-card p { font-size:11px; line-height:1.45; margin:0; color:#536877; }
.reference-home .lux-care-section { margin:24px 2.5%; gap:32px; }.reference-home .lux-care-section .premium-photo { min-height:300px; }.reference-home .lux-care-section h2 { font-size:34px; }.reference-home .lux-studio-teaser { margin:22px 2.5%; padding:28px; }.reference-home .lux-section { padding:32px 3.5%; }.reference-home .lux-security h2 { font-size:30px; }.reference-home .lux-security p { font-size:14px; }.reference-home .lux-price-grid article { padding:20px; border-radius:14px; }.reference-home .lux-price { margin:12px 0; font-size:34px; }.reference-home .lux-price-grid p:not(.lux-price) { font-size:13px; }.reference-home .lux-section-heading { margin-bottom:20px; }.reference-home .premium-closing { margin:22px 2.5%; padding:36px; border-radius:18px; background:linear-gradient(110deg,#124957,#0b2033); text-align:left; }.reference-home .premium-closing h2 { max-width:700px; font-size:42px; }.reference-home .premium-closing .button { background:#008c9b; color:white; border-color:#18b0bc; }
@media(max-width:1100px) and (min-width:761px) { .reference-home .lux-hero { min-height:570px; }.reference-home .lux-hero-copy { width:48%; }.reference-home .lux-hero h1 { font-size:49px; }.ref-dashboard { width:37%; }.ref-feature-strip { width:90%; }.ref-aria { grid-template-columns:1.25fr 1fr; }.ref-phone-scene { display:none; }.ref-platform-cards { grid-template-columns:repeat(4,1fr); }.ref-platform h2 { font-size:30px; } }
@media(max-width:760px) {
 .reference-home .premium-nav { padding:15px 18px; }.reference-home .lux-hero { display:block; min-height:0; padding:24px 18px 20px; }.reference-home .lux-hero-copy { width:100%; max-width:none; }.reference-home .lux-hero h1 { font-size:43px; letter-spacing:-1.8px; line-height:1.04; }.reference-home .lux-hero .premium-lead { font-size:15px; }.reference-home .premium-actions { flex-wrap:nowrap; gap:8px; }.reference-home .premium-actions .button { font-size:12px; padding:12px; flex:1; justify-content:center; }.reference-home .premium-actions svg { width:15px; }.reference-home .lux-hero .premium-photo { position:relative; width:100%; height:365px; min-height:0; margin:22px 0 0; border-radius:16px; }.reference-home .lux-hero .premium-photo img { object-position:25% center; }.reference-home .lux-hero .premium-photo:after { display:none; }.reference-home .lux-hero .premium-photo figcaption { bottom:auto; top:8px; }
 .ref-dashboard { position:relative; width:88%; max-width:none; right:auto; top:auto; margin:-120px 0 0 auto; transform:rotate(1deg); }.ref-dash-body { padding:10px; }.ref-dash-body header strong { font-size:12px; }.ref-metrics b { font-size:23px; }.ref-dash-body h3 { margin-top:12px; }.ref-appointment { min-height:44px; }.ref-dash-foot { min-height:44px; }
 .ref-feature-strip { position:relative; left:auto; bottom:auto; width:100%; display:grid; grid-template-columns:repeat(2,1fr); margin-top:22px; gap:8px; }.ref-feature-strip a { font-size:11px; padding:12px; min-height:54px; }.ref-feature-strip a:last-child { grid-column:1/-1; }
 .ref-aria { display:grid; grid-template-columns:1fr; margin:18px; gap:18px; }.ref-aria-photo { min-height:360px; }.ref-chat { width:61%; right:10px; top:25px; padding:12px; }.ref-chat-actions a { min-height:44px; }.ref-aria-copy { padding:8px 4px; }.ref-aria-copy h2 { font-size:35px; }.ref-aria-copy li { font-size:14px; }.ref-phone-scene { min-height:360px; }.ref-phone { width:56%; left:22%; top:15px; padding:12px; }.ref-phone-scene .premium-photo img { filter:none; }.ref-phone .ref-chat-actions a { min-height:44px; }
 .ref-platform { margin:20px 18px; }.ref-platform-intro { grid-template-columns:1fr; gap:12px; }.ref-platform-intro>div { padding:15px 0; }.ref-platform h2 { font-size:32px; }.ref-platform-intro .premium-photo { min-height:210px; }.ref-platform-cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-top:-25px; }.ref-platform-card { padding:16px 12px; }.ref-platform-card:last-child { grid-column:1/-1; }.ref-platform-card p { font-size:12px; }.reference-home .lux-care-section,.reference-home .lux-studio-teaser { margin:24px 18px; }.reference-home .lux-section { padding:28px 18px; }.reference-home .lux-section h2 { font-size:30px; }.reference-home .premium-closing { margin:18px; padding:26px 22px; }.reference-home .premium-closing h2 { font-size:34px; }
}
/* Comparison pass: expose the professional instead of covering the face. */
.reference-home h1,.reference-home h2,.reference-home h3,.lux-studio h1,.lux-studio h2 { font-family:Arial,"Segoe UI",sans-serif; font-weight:700; }
.reference-home .lux-hero h1 { font-weight:750; }
.reference-home .lux-hero .premium-photo img { object-position:100% center; }
.ref-dashboard { width:31%; max-width:440px; }
.ref-aria-photo>.premium-photo { width:70%; }
.ref-aria-photo .premium-photo img { object-position:75% center; }
@media(max-width:760px) { .ref-dashboard { width:88%; max-width:none; }.reference-home .lux-hero .premium-photo img { object-position:38% center; }.ref-aria-photo>.premium-photo { width:74%; } }
.reference-home .premium-nav nav { gap:24px; }
@media(max-width:900px) { .reference-home .ref-nav-extra { display:none; }.reference-home .premium-nav nav { gap:16px; } }
/* Studio uses the same photographic depth, with an explicit concept board. */
.lux-studio-hero { min-height:670px; padding:46px 3.5% 125px; }
.lux-studio-hero .lux-hero-copy { width:49%; max-width:690px; }
.lux-studio-hero h1 { font-size:clamp(42px,4.1vw,62px); line-height:1.05; letter-spacing:-2px; }
.lux-studio-hero .premium-photo { width:70%; }.lux-studio-hero .premium-photo:after { background:linear-gradient(90deg,#fafcfc,#fafcfcd9 15%,transparent 52%); }
.ref-studio-board { position:absolute; right:3.5%; bottom:35px; z-index:3; width:350px; background:#ffffffef; border:1px solid white; border-radius:16px; box-shadow:0 20px 50px #0b203325; padding:20px; transform:rotate(1deg); }.ref-studio-board>span { font-size:8px; letter-spacing:1px; color:#087a88; }.ref-studio-board h2 { font-size:23px; margin:12px 0; }.ref-studio-board>div { display:flex; align-items:center; gap:8px; border-bottom:1px solid #e1eef0; padding:11px 0; }.ref-studio-board strong { font-size:11px; }.ref-studio-board small { font-size:9px; margin-left:auto; }.ref-studio-board svg { color:#058996; flex-shrink:0; }.ref-studio-board p { font-size:10px; margin:15px 0; }.ref-studio-board>a { min-height:44px; display:flex; justify-content:space-between; align-items:center; font-size:12px; color:#087a88; }
.lux-studio-services { margin:-16px 2.5% 0; padding:30px; border-radius:20px; }.lux-service-art.ref-service-photo { height:160px; overflow:hidden; background:#e8f2f3; padding:0; }.ref-service-photo>svg:first-child { width:100%; height:100%; display:block; position:absolute; inset:0; }.ref-service-photo>svg:last-child { position:absolute; bottom:10px; right:10px; width:35px; height:35px; padding:7px; background:#fffffff0; color:#087a88; border-radius:8px; }.lux-service-cards article { border-radius:14px; }.lux-service-cards h3 { font-family:Arial,sans-serif; font-size:18px; }
/* Functional surfaces inherit compact hierarchy, without photographic decoration in records. */
.app-shell h1,.g20-public h1,.public-hero h1 { font-family:Arial,"Segoe UI",sans-serif; font-weight:700; letter-spacing:-1px; }
.app-shell .stat-card,.g20-public .entry-card,.public-profile-card { border-radius:14px; box-shadow:0 5px 18px #0b203306; }
.app-shell .g22-chat-card { border-radius:16px; }.app-shell .g22-patient-controls { border-radius:12px; }
@media(max-width:1000px) and (min-width:761px) { .lux-studio-hero { min-height:740px; }.lux-studio-hero .lux-hero-copy { width:61%; }.ref-studio-board { width:310px; bottom:28px; } }
@media(max-width:760px) { .lux-studio-hero { padding:28px 18px; min-height:0; }.lux-studio-hero .lux-hero-copy { width:100%; }.lux-studio-hero h1 { font-size:40px; }.lux-studio-hero .premium-photo { width:100%; }.ref-studio-board { position:relative; right:auto; bottom:auto; width:90%; margin:-55px 0 0 auto; padding:16px; }.lux-studio-services { margin:0 18px; padding:22px 16px; }.lux-service-cards { grid-template-columns:1fr 1fr; gap:10px; }.lux-service-cards article>div:last-child { padding:13px; }.lux-service-cards h3 { font-size:15px; }.lux-service-cards p { font-size:12px; }.lux-service-art.ref-service-photo { height:110px; }.lux-service-cards article:last-child { grid-column:1/-1; }.lux-service-cards article:last-child .ref-service-photo { height:155px; } }
/* Keep the lower page connected and compact rather than stacking separate landings. */
.ref-followup { display:grid; grid-template-columns:1fr 1fr; gap:22px; margin:24px 2.5%; }
.reference-home .ref-followup .lux-care-section,.reference-home .ref-followup .lux-studio-teaser { display:flex; flex-direction:column; align-items:stretch; margin:0; gap:18px; padding:0 0 22px; border-radius:16px; overflow:hidden; background:#fff; border:1px solid #e2edf0; }
.reference-home .ref-followup .lux-care-section .premium-photo { min-height:190px; height:190px; border-radius:0; }
.ref-followup .lux-care-section>div,.ref-followup .lux-studio-teaser>div { padding:0 24px; }.reference-home .ref-followup h2 { font-size:29px; margin-bottom:12px; }.ref-followup p { font-size:13px; margin-bottom:12px; }.ref-followup .premium-text-link { display:inline-flex; font-size:12px; }.ref-followup .button { min-height:44px; font-size:12px; }.ref-followup .subtle { font-size:11px; }
.ref-studio-teaser-photo { order:-1; position:relative; height:190px; margin:0; overflow:hidden; }.ref-studio-teaser-photo svg { width:100%; height:100%; display:block; }.ref-studio-teaser-photo figcaption { position:absolute; bottom:6px; right:6px; padding:3px 7px; font-size:8px; border-radius:4px; background:#ffffffe8; }
.reference-home .lux-security { align-items:center; padding-block:24px; }.reference-home .lux-security h2 br { display:none; }.reference-home .lux-security h2 { font-size:26px; margin-bottom:9px; }.reference-home .lux-security p { margin-bottom:6px; }.reference-home .lux-section-heading h2 { font-size:30px; }.reference-home .lux-section-heading h2 br { display:none; }.reference-home .premium-closing { display:grid; grid-template-columns:1.5fr 1fr; align-items:center; column-gap:30px; padding:30px; }.reference-home .premium-closing .premium-eyebrow,.reference-home .premium-closing h2 { grid-column:1; text-align:left; margin:0 0 10px; }.reference-home .premium-closing h2 { font-size:36px; }.reference-home .premium-closing>p:not(.premium-eyebrow) { grid-column:2; grid-row:1/3; margin:0; text-align:left; font-size:14px; }.reference-home .premium-closing .button { grid-column:2; justify-self:start; }.reference-home .premium-closing small { font-size:10px; }.reference-home .premium-footer { padding:30px 3.5%; }.reference-home .premium-footer nav { margin-block:18px; }
@media(max-width:760px) { .ref-followup { grid-template-columns:1fr; margin:20px 18px; }.reference-home .premium-closing { display:block; padding:24px; }.reference-home .premium-closing h2 { font-size:31px; }.reference-home .premium-closing>p:not(.premium-eyebrow) { margin:12px 0; }.reference-home .premium-closing small { display:block; margin-top:12px; } }

/* G22C.3: launch pricing only; other card grids and catalog remain unchanged. */
.reference-home #planes .launch-price-grid { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; }
.reference-home #planes .launch-pioneers { border-color:#62c4c9; background:linear-gradient(145deg,#fff 40%,#eefafa); box-shadow:0 8px 28px rgb(0 112 123 / 7%); }
.reference-home #planes .launch-plan-heading { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.reference-home #planes .launch-plan-heading h3 { margin:0; }
.reference-home #planes .launch-badge { background:#007e8b; color:white; padding:6px 11px; border-radius:999px; font-size:11px; font-weight:750; letter-spacing:1px; }
.reference-home #planes .launch-regular { color:#536b78; margin:20px 0 0; }
.reference-home #planes .launch-promotional { font-size:clamp(52px,5vw,68px); font-weight:750; color:#007681; line-height:1.1; margin:8px 0 14px; letter-spacing:-2px; }
.reference-home #planes .launch-promotional small { font-size:14px; font-weight:500; }
.reference-home #planes .launch-discount { display:inline-block; border:1px solid #9bd4d6; background:#e4f6f6; color:#00636d; border-radius:6px; padding:5px 9px; font-size:11px; letter-spacing:.6px; font-weight:750; }
.reference-home #planes .launch-price-grid .launch-lifetime { font-size:18px; color:var(--cl-night); margin:20px 0 8px; }
.reference-home #planes .launch-terms { max-width:57ch; line-height:1.6; }
@media(max-width:700px) { .reference-home #planes .launch-price-grid { grid-template-columns:1fr; } }

/* G24.15D: readable VAT label and visible public total; no purchase activation. */
.premium-public .commercial-price-block > p:first-child { display:flex; flex-wrap:wrap; align-items:baseline; gap:.35rem; }
.premium-public .commercial-price-block .commercial-tax-label { display:inline-block; font-size:1rem !important; font-weight:600; line-height:1.5; letter-spacing:normal; white-space:normal; }
.premium-public .commercial-price-block .commercial-total { font-size:1rem; font-weight:600; line-height:1.6; letter-spacing:normal; color:var(--cl-night,#102c38); margin:0 0 18px; }

/* G24.16: keep heads within the shallow Psychology editorial frames. */
.reference-home .ref-platform-intro .premium-photo img,
.reference-home .lux-care-section .premium-photo img { object-position:center top; }
@media (min-width:761px) and (max-width:1100px) {
  .reference-home .lux-hero { display:block; min-height:0; padding-bottom:30px; }
  .reference-home .lux-hero-copy { width:100%; max-width:none; }
  .reference-home .lux-hero .premium-photo { position:relative; inset:auto; width:100%; height:420px; min-height:0; margin:24px 0 0; border-radius:16px; }
  .reference-home .lux-hero .premium-photo:after { display:none; }
  .reference-home .lux-hero .premium-photo img { object-position:center 35%; }
  .reference-home .lux-hero .ref-dashboard { position:relative; top:auto; bottom:auto; right:auto; width:55%; margin:-90px 0 0 auto; }
  .reference-home .ref-feature-strip { position:relative; left:auto; bottom:auto; width:100%; margin-top:24px; }
}

/* G33: the preview now contains a single content column, not an icon rail. */
.ref-dash-body { grid-template-columns:minmax(0,1fr); }
.ref-dash-body > * { min-width:0; overflow-wrap:break-word; }
.ref-dash-body h2 { font-size:clamp(20px,2vw,30px); line-height:1.2; }
.ref-dashboard { transform:none; }
.patient-home .patient-hero { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:clamp(24px,4vw,64px); padding:clamp(24px,5vw,72px); align-items:center; }
.patient-home .patient-hero > * { min-width:0; }
.patient-home .patient-hero h1 { font-size:clamp(36px,4.5vw,64px); line-height:1.08; letter-spacing:-1.5px; }
.patient-home .patient-hero em { color:#087e8b; }
.patient-home .patient-hero .premium-photo { position:relative; min-height:560px; width:100%; margin:0; }
.patient-aria-panel { padding:clamp(20px,3vw,32px); border:1px solid #bddadd; border-radius:24px; background:linear-gradient(135deg,#fff,#e6f6f5); box-shadow:0 18px 48px #123d4510; }
.patient-aria-panel h2 { font-size:clamp(24px,2.5vw,34px); line-height:1.25; }
.patient-aria-panel .button { white-space:normal; min-height:48px; }
.patient-home .premium-steps { padding:24px clamp(24px,5vw,72px); }
.patient-home .premium-nav nav { flex-wrap:wrap; }
@media(max-width:760px) {
 .patient-home .patient-hero { grid-template-columns:minmax(0,1fr); }
 .patient-home .patient-hero .premium-photo { min-height:320px; }
 .patient-home .premium-nav { flex-wrap:wrap; gap:16px; }
 .patient-home .premium-steps { display:grid; grid-template-columns:1fr; }
 .reference-home .premium-actions { flex-wrap:wrap; }
 .reference-home .lux-hero .ref-dashboard { width:100%; margin:20px 0 0; }
}

/* G33 founder reference: independent scoped presentation; no permission changes. */
.reference-ui{--r-ink:#08283c;--r-muted:#48647c;--r-teal:#078396;--r-line:#d7e8ee;color:var(--r-ink);background:#fff;font:16px/1.55 Arial,Helvetica,sans-serif;margin:0;overflow-wrap:break-word}
.reference-ui *{box-sizing:border-box;min-width:0}.reference-ui a{color:inherit;text-decoration:none}.reference-ui a:focus-visible,.reference-ui button:focus-visible{outline:3px solid #a5791b;outline-offset:4px}.reference-ui h1,.reference-ui h2,.reference-ui h3,.reference-ui p{margin:0}.reference-ui h1,.reference-ui h2,.reference-ui h3{color:var(--r-ink);letter-spacing:-.035em}.reference-ui em{font-style:normal;color:var(--r-teal)}
.ref33-header{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:100px;padding:20px clamp(24px,5vw,76px);background:#f4fbfce6}.ref33-brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.ref33-brand img{object-fit:contain}.ref33-brand>span{font-size:29px;font-weight:750;line-height:1.12;letter-spacing:-1px}.ref33-brand b{color:#00869b;font-weight:500}.ref33-brand small{display:block;font-size:8px;letter-spacing:1.3px;margin-top:6px;font-weight:500}.ref33-header nav{display:flex;gap:30px;align-items:center;flex-wrap:wrap;font-size:14px}.ref33-header nav a{padding:8px 0;min-height:42px}.ref33-header nav [aria-current]{border-bottom:2px solid #117c96}
.ref33-hero{position:relative;isolation:isolate;padding:30px clamp(24px,5vw,76px) 34px;background:#eff9fb}.ref33-photo{margin:0;position:absolute;inset:0 0 0 auto;width:64%;z-index:-1}.ref33-photo img{width:100%;height:100%;object-fit:cover;object-position:48% center}.ref33-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#eff9fb 0%,#eff9fbe8 15%,#eff9fb33 42%,transparent 70%),linear-gradient(0deg,#eff9fb 0%,transparent 25%)}.ref33-photo figcaption{position:absolute;right:16px;top:16px;color:#294750;background:#fffffff0;font-size:10px;padding:4px 8px;border-radius:6px;z-index:2}
.ref33-hero-copy{max-width:650px;width:56%;position:relative;z-index:1;padding:26px 0}.ref33-eyebrow{font-size:11px;letter-spacing:2.3px;font-weight:700;color:#008193!important;margin-bottom:16px!important}.ref33-hero h1{font-size:clamp(38px,4.6vw,68px);line-height:1.09;font-weight:750;letter-spacing:-2.7px;margin-bottom:24px}.ref33-hero h1 em{white-space:normal}.ref33-lead{font-size:clamp(17px,1.6vw,22px);line-height:1.5;color:var(--r-muted);max-width:480px;margin-bottom:24px!important}.ref33-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:linear-gradient(120deg,#078596,#087588);color:white!important;border:1px solid #087f91;border-radius:12px;padding:14px 22px;font-size:16px;font-weight:650;min-height:48px;box-shadow:0 8px 18px #086f8418;text-align:center}.ref33-button.outline{background:#fff;color:#08798d!important;box-shadow:none}.ref33-disclaimer{font-size:12px;color:#48647c;max-width:420px;margin-top:12px!important}.ref33-bubble{position:absolute;top:42%;left:57%;display:flex;gap:15px;align-items:center;padding:16px 22px;background:#fffffff0;border:1px solid #fff;border-radius:28px;box-shadow:0 10px 28px #183b4920;max-width:340px}.ref33-bubble>span{width:46px;height:46px;display:grid;place-items:center;color:white;background:linear-gradient(#6ed9dc,#00889a);border-radius:50%;flex-shrink:0}.ref33-bubble p{font-size:16px}.ref33-bubble strong{font-weight:500}
.ref33-trust{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;max-width:850px;padding:0;margin:20px 0 28px}.ref33-trust li{display:flex;gap:10px;align-items:center;font-size:12px;max-width:190px}.ref33-trust li>span{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border:1px solid #badce5;border-radius:11px;background:#ffffffed;color:#058b9f}
.ref33-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;position:relative;z-index:2}.ref33-paths>a{display:flex;gap:18px;padding:24px 20px;background:#fffffff5;border:1px solid #fff;border-radius:15px;box-shadow:0 10px 30px #325b6910}.ref33-paths h2{font-size:17px;line-height:1.4;margin-bottom:6px}.ref33-paths p{color:var(--r-muted);font-size:14px}.ref33-paths strong{display:flex;gap:8px;align-items:center;font-size:13px;color:#087f93;margin-top:12px}.ref33-round{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;background:#e0f4f7;border-radius:50%;color:#05879a}.ref33-benefits{padding:44px clamp(24px,5vw,76px)}.ref33-benefits>h2,.ref33-plans>h2{font-size:clamp(27px,3vw,38px);margin-bottom:24px}.ref33-benefits>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}.ref33-benefits h3{font-size:17px;margin:14px 0 8px}.ref33-benefits p{font-size:14px;color:var(--r-muted)}
.ref33-footer{background:linear-gradient(120deg,#0c3140,#092332);color:#fff;padding:26px clamp(24px,4vw,60px);display:flex;justify-content:space-between;align-items:center;gap:24px}.ref33-footer .ref33-brand>span{font-size:23px}.ref33-footer nav{display:flex;gap:24px;align-items:center;flex-wrap:wrap;font-size:13px}.ref33-demo{display:inline-flex;gap:10px;align-items:center;padding:10px 17px;border:1px solid #b9d3dc;border-radius:10px}
.ref33-pro-hero{display:flex;justify-content:space-between;align-items:center;gap:30px;position:relative;isolation:isolate;background:#eff9fb;min-height:520px;padding:45px clamp(24px,5vw,76px)}.ref33-pro-hero .ref33-photo{right:18%;width:65%}.ref33-pro-hero .ref33-photo img{object-position:56% center}.ref33-pro-copy{width:36%;max-width:480px}.ref33-pro-copy h1{font-size:clamp(32px,3.8vw,52px);line-height:1.1;margin-bottom:20px}.ref33-pro-copy>p:last-child{max-width:330px;font-size:17px}.ref33-access{width:33%;max-width:380px;padding:26px;background:#fffffff5;border:1px solid #fff;border-radius:14px;box-shadow:0 12px 36px #28586918}.ref33-access h2{font-size:23px}.ref33-access p{font-size:14px;margin:14px 0 20px;color:var(--r-muted)}.ref33-access .ref33-button{width:100%;font-size:14px;padding:12px}.ref33-recover{display:block;font-size:12px;text-align:right;color:#087c8e!important;text-decoration:underline!important;margin:14px 0}.ref33-separator{text-align:center;font-size:12px;color:var(--r-muted);border-top:1px solid var(--r-line);padding-top:18px;margin:20px 0 12px}.ref33-plans{padding:40px clamp(24px,5vw,76px);background:#f6fbfc}.ref33-plans>p{max-width:850px;color:var(--r-muted);margin-bottom:22px}.ref33-plans>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:920px;margin:24px 0}.ref33-plans article{background:white;border:1px solid var(--r-line);border-radius:16px;padding:28px}.ref33-price{font-size:38px!important;font-weight:700;margin:12px 0!important;color:#092b3c!important}.ref33-price span{font-size:14px;font-weight:400}.ref33-label{display:inline-block;border-radius:8px;background:#fff3d9;color:#785411;font-size:12px;padding:5px 9px;margin-top:16px}
@media(max-width:1050px){.ref33-header{align-items:flex-start;gap:18px}.ref33-header nav{gap:18px}.ref33-brand>span{font-size:24px}.ref33-bubble{left:58%;top:39%;max-width:280px;padding:12px}.ref33-pro-copy{width:42%}.ref33-access{width:40%}.ref33-paths>a{gap:10px;padding:18px 14px}.ref33-paths .ref33-round{width:38px;height:38px}}
@media(max-width:760px){.ref33-header{flex-direction:column;min-height:0;padding:18px 22px}.ref33-header nav{gap:18px;font-size:12px}.ref33-header .ref33-brand small{font-size:7px}.ref33-hero{display:flex;flex-direction:column;padding:22px}.ref33-hero-copy{width:100%;max-width:none;padding:8px 0}.ref33-hero h1{font-size:clamp(35px,8vw,52px);letter-spacing:-1.5px}.ref33-hero .ref33-photo{position:relative;inset:auto;z-index:0;width:100%;height:320px;border-radius:16px;overflow:hidden;order:2;margin:18px 0}.ref33-photo:after{display:none}.ref33-hero .ref33-bubble{position:relative;inset:auto;order:3;align-self:flex-end;margin:-78px 10px 16px 10px;z-index:1;max-width:calc(100% - 20px)}.ref33-trust{grid-template-columns:repeat(2,minmax(0,1fr));order:4;gap:14px;margin:18px 0}.ref33-paths{grid-template-columns:1fr;order:5}.ref33-paths>a{padding:20px;gap:18px}.ref33-benefits>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 20px}.ref33-footer{flex-direction:column;align-items:flex-start;padding:26px 22px}.ref33-footer nav{gap:16px}.ref33-pro-hero{flex-direction:column;padding:26px 22px;gap:22px}.ref33-pro-copy{width:100%;max-width:none}.ref33-pro-copy>p:last-child{max-width:none}.ref33-pro-hero .ref33-photo{position:relative;inset:auto;z-index:0;width:100%;height:260px;order:2;border-radius:16px;overflow:hidden}.ref33-access{width:100%;max-width:none;order:3}.ref33-plans>div{grid-template-columns:1fr}.ref33-price{font-size:32px!important}}
@media(prefers-reduced-motion:reduce){.reference-ui *{scroll-behavior:auto}}
/* Supplied G33 individual photographs. Keep interactive content out of face regions. */
.ref33-patient .ref33-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:center}
.ref33-patient .ref33-hero-copy{grid-column:1;grid-row:1;width:100%;max-width:none}
.ref33-patient .ref33-hero>.ref33-photo{grid-column:2;grid-row:1;position:relative;inset:auto;width:100%;height:440px;z-index:0;margin:0;overflow:hidden;border-radius:16px}
.ref33-patient .ref33-photo img{object-position:85% top}
.ref33-patient .ref33-photo:after,.ref33-pro-hero .ref33-photo:after{display:none}
.ref33-patient .ref33-hero>.ref33-bubble{grid-column:2;position:static;margin:0;max-width:100%;justify-self:center}
.ref33-patient .ref33-trust,.ref33-patient .ref33-paths{grid-column:1/-1;width:100%}
.ref33-pro-hero{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.1fr) minmax(0,.85fr);gap:24px}
.ref33-pro-copy{grid-column:1;grid-row:1;width:100%}
.ref33-pro-hero>.ref33-photo{grid-column:2;grid-row:1;position:relative;inset:auto;width:100%;height:440px;margin:0;z-index:0;overflow:hidden;border-radius:16px}
.ref33-pro-hero .ref33-photo img{object-position:85% top}
.ref33-access{grid-column:3;grid-row:1;width:100%;max-width:none}
.ref33-photo figcaption{top:auto;bottom:8px;right:8px;max-width:90%}
@media(max-width:1050px){.ref33-pro-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.ref33-access{grid-column:1/-1;grid-row:2;max-width:650px;justify-self:center}}
@media(max-width:760px){.ref33-patient .ref33-hero,.ref33-pro-hero{display:flex;flex-direction:column}.ref33-patient .ref33-hero>.ref33-photo{height:320px;order:2}.ref33-patient .ref33-hero>.ref33-bubble{order:3;align-self:stretch;margin:0;max-width:none}.ref33-pro-hero>.ref33-photo{height:320px;order:2}.ref33-access{order:3}.ref33-patient .ref33-trust{box-sizing:border-box}.ref33-patient .ref33-paths{box-sizing:border-box}}
/* G36.2 patient CTA: retain hierarchy, fit narrow screens. */
.ref33-patient .ref33-hero-copy>.ref33-button{max-width:100%;box-sizing:border-box}.ref33-patient .ref33-hero-copy>.ref33-button svg{flex-shrink:0}@media(max-width:480px){.ref33-patient .ref33-hero-copy>.ref33-button{width:100%;padding-inline:14px;gap:8px;font-size:15px}}
