.program-window .product-sidebar { padding-top: 23px; }
.program-window .product-logo { margin-bottom: 20px; }
.program-window .mini-nav { padding-block: 7px; }
.program-window .nav-label { padding-top: 17px; }
.mini-mic { width: 12px; height: 12px; margin-left: auto; }
.program-workspace { display: flex; flex-direction: column; min-width: 0; background: var(--surface-raised); }
.program-topbar { height: 50px; flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding: 0 23px; }
.program-topbar > div { display: flex; align-items: center; gap: 11px; font-size: 11px; }
.program-topbar .icon { width: 11px; height: 11px; color: var(--text-faint); }
.program-topbar strong { font-weight: 500; }
.program-topbar div > span { color: var(--text-muted); }
.program-status { font-size: 9px; color: var(--text-muted); border: 1px solid var(--line); border-radius: 4px; padding: 3px 7px; }
.program-content { padding: 24px 24px 0; flex: 1; min-height: 0; }
.patient-heading { display: flex; gap: 11px; align-items: center; }
.patient-avatar { display: grid; place-items: center; width: 39px; height: 39px; font-size: 12px; color: var(--id-sand-fg); background: var(--id-sand-bg); border-radius: 50%; flex-shrink: 0; }
.patient-heading h2 { font-size: 20px; font-weight: 500; letter-spacing: -.04em; margin: 0 0 4px; }
.patient-heading p { font-size: 10px; color: var(--text-muted); margin: 0; }
.patient-goal { display: flex; align-items: center; gap: 8px; margin: 21px 0 26px; }
.goal-icon { color: var(--action); font-size: 20px; line-height: 1; }
.patient-goal p { margin: 0; font-size: 11px; color: var(--text-muted); }
.routine-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.routine-title h3 { font-size: 12px; font-weight: 500; margin: 0; }
.routine-title > span { font-size: 9px; color: var(--text-subtle); }
.routine-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.routine-group { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; min-height: 192px; }
.routine-heading { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 11px; background: var(--surface-canvas); border-bottom: 1px solid var(--line); }
.routine-heading h4 { font-size: 10px; font-weight: 500; margin: 0; }
.routine-heading > span:last-child { margin-left: auto; font-size: 8px; color: var(--text-subtle); }
.day-symbol { font-size: 20px; line-height: 1; color: var(--text-muted); }
.routine-heading .icon { width: 14px; height: 14px; color: var(--text-muted); }
.routine-items { padding: 6px 10px; }
.routine-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; min-height: 46px; border-bottom: 1px solid var(--line); }
.routine-item:last-child { border-bottom: 0; }
.routine-item strong { display: block; font-size: 10px; font-weight: 500; }
.routine-item p { color: var(--text-subtle); font-size: 8px; margin: 3px 0 0; line-height: 1.4; }
.product-bottle { width: 19px; height: 27px; border: 1px solid #c9d1bd; background: #edf0e6; border-radius: 4px 4px 3px 3px; display: block; position: relative; flex-shrink: 0; margin: 0 3px; box-shadow: inset 3px 0 #ffffff66; }
.product-bottle::before { content: ''; position: absolute; width: 9px; height: 5px; background: #9ca68d; top: -5px; left: 4px; border-radius: 2px 2px 0 0; }
.product-bottle::after { content: ''; position: absolute; width: 12px; height: 7px; background: #fcfdf9d9; top: 10px; left: 2px; }
.bottle-moisturiser { height: 22px; background: #e8e3d6; border-color: #c9c2af; border-radius: 4px; }
.bottle-moisturiser::before { width: 17px; left: 0; height: 4px; top: -3px; background: #bcb6a5; }
.bottle-spf { background: #e2e8ce; border-color: #c2ccaa; border-radius: 3px 3px 5px 5px; }
.bottle-spf::before { top: auto; bottom: -2px; width: 17px; left: 0; background: #99a77e; }
.program-next { margin-top: 15px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.next-row { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 9px 12px; transition: background 350ms; }
.next-row + .next-row { border-top: 1px solid var(--line); }
.next-icon { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--text-muted); }
.next-icon .icon { width: 14px; height: 14px; }
.next-row strong { display: block; font-size: 10px; font-weight: 500; }
.next-row div > span { display: block; font-size: 9px; color: var(--text-subtle); margin-top: 3px; }
.next-indicator { margin-left: auto; width: 14px; height: 14px; border: 1px solid var(--line-strong); border-radius: 50%; }
.next-row.is-set .next-indicator { background: var(--fill-selected); border-color: var(--olive-300); }
.next-row.is-set .next-indicator::after { content: ''; display: block; width: 5px; height: 3px; border-bottom: 1px solid var(--action); border-left: 1px solid var(--action); transform: rotate(-45deg); margin: 3px; }
.next-row.is-set div > span { color: var(--action-hover); }
.program-receipt { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 9px; color: var(--text-subtle); }
.program-receipt.has-change { color: var(--action-hover); }
.program-receipt button { border: 0; background: transparent; padding: 5px; color: var(--action-hover); display: flex; align-items: center; gap: 4px; font-size: 9px; }
.program-receipt button .icon { width: 12px; height: 12px; }
.program-footer { min-height: 37px; display: flex; gap: 5px; align-items: center; border-top: 1px solid var(--line); margin: 0 24px; color: var(--text-subtle); font-size: 8px; }
.fictional-dot { width: 4px; height: 4px; background: var(--text-faint); border-radius: 50%; }
.program-footer button { display: flex; gap: 5px; align-items: center; margin-left: auto; background: transparent; border: 0; padding: 5px 0; color: var(--text-muted); font-size: 8px; }
.program-footer button .icon { width: 11px; height: 11px; }
.landing-shell { overflow: visible; background: transparent; }
.site-header { max-width: none; background: var(--surface-canvas); border-radius: 22px 22px 0 0; }
.hero { padding: 24px 36px 0; }
.hero-art { inset: -1px 0 auto; height: 693px; border-radius: 0 0 22px 22px; background-position: center bottom; mask-image: none; overflow: hidden; }
.hero-art::before { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--surface-canvas), #f8f9f5d6 21%, #f8f9f532 60%, transparent); }
h1 { font-size: clamp(64px, 6.3vw, 92px); }
.hero-copy > p { margin: 20px 0 22px; font-size: 16px; }
.hero-copy .hero-invitation { font-size: 11px; margin: 13px 0 0; color: var(--text-subtle); }
.program-stage { max-width: 1220px; margin-top: 44px; padding-bottom: 25px; scroll-margin-top: 24px; }
.program-window { height: 590px; display: grid; grid-template-columns: 158px minmax(0,1fr) 306px; grid-template-rows: minmax(0,1fr); border: 7px solid #ffffff70; border-radius: 17px; box-shadow: 0 24px 65px #27321f21, 0 2px 7px #27321f0a; }
.product-sidebar, .program-workspace { min-height: 0; }
.program-topbar { padding-inline: 19px; }
.program-topbar .program-top-actions { gap: 10px; }
.join-trigger { border: 0; border-radius: 5px; background: transparent; padding: 5px 0 5px 6px; color: var(--text-muted); font-size: 9px; display: flex; align-items: center; gap: 5px; }
.join-trigger .icon { height: 12px; width: 12px; }
.join-trigger:hover { color: var(--action); }
.program-content { padding-top: 20px; overflow-y: auto; }
.program-content .patient-goal { margin-block: 18px 20px; }
.program-footer { flex-shrink: 0; }
.routine-group { min-height: 182px; }
.program-receipt { line-height: 1.4; }
.program-next { margin-top: 15px; }
.program-content [data-pending='true'] { outline: 1px dashed #a2b880; outline-offset: 4px; }
.program-content .changed { animation: spotlight 2.3s ease-out; }
.program-status.ready { color: var(--action); background: var(--olive-50); border-color: var(--olive-200); }
.olmi-panel { display: flex; flex-direction: column; position: relative; min-height: 0; min-width: 0; background: var(--surface); border-left: 1px solid var(--line); scroll-margin-top: 24px; --in: 0; --out: 0; }
.olmi-panel-header { display: flex; height: 50px; flex-shrink: 0; justify-content: space-between; align-items: center; padding: 0 19px; border-bottom: 1px solid var(--line); }
.olmi-panel-header > div { display: flex; align-items: center; gap: 7px; }
.olmi-panel-header .olmi-mark { width: 22px; height: 22px; color: var(--action); }
.olmi-panel-header strong { font-size: 12px; font-weight: 500; }
.presence-dot { width: 5px; height: 5px; background: var(--action); border-radius: 50%; margin-left: 1px; }
.voice-label { font-size: 9px; color: var(--text-subtle); }
.voice-view { flex-shrink: 0; text-align: center; height: 165px; padding: 8px 12px 0; }
.voice-mark-wrap { position: relative; width: 120px; height: 106px; margin: 0 auto -2px; }
.voice-mark-wrap img { display: block; width: 100%; height: auto; position: relative; animation: float-mark 6s ease-in-out infinite; }
.voice-halo { position: absolute; inset: 5px 10px 3px; border: 1px solid #cad9b258; border-radius: 50%; opacity: .5; }
.voice-view h3 { font-size: 16px; letter-spacing: -.035em; font-weight: 500; margin: 0; }
.voice-view p { font-size: 10px; color: var(--text-muted); margin: 6px 0 0; }
#voice-mark[data-state='listening'] .voice-halo, #voice-mark[data-state='hearing'] .voice-halo { animation: listen-mark 1.8s ease-out infinite; }
#voice-mark[data-state='hearing'] img { animation: none; transform: scale(calc(1 + var(--in) * .16)); }
#voice-mark[data-state='speaking'] img { animation: speak-mark 1.4s ease-in-out infinite; }
#voice-mark[data-state='thinking'] .voice-halo, #voice-mark[data-state='connecting'] .voice-halo { border-color: #a4b58a; border-right-color: transparent; animation: spin-mark 2s linear infinite; }
.action-stage { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; padding: 6px 17px 10px; }
.empty-actions { padding-top: 22px; }
.empty-actions > span { display: block; font-size: 9px; color: var(--text-subtle); padding: 0 2px 10px; }
.empty-actions > button { width: 100%; display: flex; align-items: center; gap: 9px; padding: 14px 10px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; background: #fcfdf9; text-align: left; transition: border-color 200ms, transform 200ms; }
.empty-actions > button:hover { border-color: #b3c19e; transform: translateY(-1px); }
.empty-actions > button > .icon:first-child { width: 16px; height: 16px; color: var(--action); }
.empty-actions > button > .icon:last-child { margin-left: auto; width: 13px; height: 13px; color: var(--text-subtle); }
.empty-actions > button > span { font-size: 10px; }
.empty-actions small { display: block; font-size: 8px; color: var(--text-subtle); margin-top: 4px; }
.heard-request { padding: 7px 1px 12px; }
.heard-request > span { display: flex; align-items: center; gap: 5px; font-size: 8px; color: var(--text-subtle); }
.heard-request > span .icon { width: 10px; height: 10px; }
.heard-request p { margin: 5px 0 0; font-size: 11px; line-height: 1.5; color: var(--text); }
.approval-card { padding: 14px 12px 12px; border: 1px solid #c2ceb0; border-radius: 10px; background: #fcfdf9; box-shadow: 0 3px 14px #35472107; }
.approval-heading { display: flex; align-items: center; gap: 8px; }
.approval-icon { display: grid; place-items: center; width: 27px; height: 30px; color: var(--action); }
.approval-icon .icon { width: 21px; height: 21px; }
.approval-heading small { font-size: 7px; letter-spacing: .08em; color: var(--text-subtle); }
.approval-heading h4 { margin: 3px 0 0; font-size: 12px; line-height: 1.35; font-weight: 500; letter-spacing: -.02em; }
.approval-card ul { list-style: none; padding: 0; margin: 14px 0; }
.approval-card li { padding: 5px 0 5px 18px; position: relative; font-size: 10px; line-height: 1.4; color: var(--text-muted); }
.approval-card li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border: 1px solid #a0b582; border-radius: 2px; }
.approval-actions { display: flex; align-items: center; gap: 11px; }
.approval-actions .button { min-height: 32px; padding: 0 10px; gap: 6px; font-size: 9px; border-radius: 6px; }
.approval-actions .icon { width: 12px; height: 12px; }
.decline-button { border: none; background: none; padding: 6px 0; font-size: 9px; color: var(--text-muted); }
.working-card { display: flex; align-items: center; gap: 11px; padding: 18px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fcfdf9; }
.working-ring { width: 20px; height: 20px; border: 2px solid #dbe4ce; border-top-color: var(--action); border-radius: 50%; animation: spin-mark 1s linear infinite; }
.working-card strong { font-size: 11px; font-weight: 500; }
.working-card p { font-size: 9px; margin: 4px 0 0; color: var(--text-subtle); }
.action-receipt { display: flex; align-items: center; gap: 8px; padding: 13px 10px; border: 1px solid #dce5d0; border-radius: 9px; background: var(--surface-raised); }
.receipt-check { height: 26px; width: 26px; display: grid; place-items: center; color: var(--action); border-radius: 50%; background: var(--olive-50); flex-shrink: 0; }
.receipt-check .icon { width: 14px; height: 14px; }
.action-receipt > div { flex: 1; min-width: 0; }
.action-receipt strong { font-size: 10px; font-weight: 500; }
.action-receipt p { font-size: 8px; color: var(--text-muted); margin: 4px 0 0; line-height: 1.5; }
.action-receipt button { border: none; background: none; padding: 5px; font-size: 9px; color: var(--action); }
.voice-response { font-size: 10px; line-height: 1.55; color: var(--text-muted); margin: 11px 1px 0; }
.voice-controls { flex-shrink: 0; text-align: center; padding: 10px 17px 6px; }
.talk-button { min-height: 37px; padding: 0 18px; font-size: 11px; gap: 8px; border-radius: 7px; }
.talk-button .icon { width: 14px; height: 14px; }
.voice-availability { font-size: 8px; line-height: 1.45; color: var(--text-subtle); margin: 7px 0 0; min-height: 12px; }
.call-controls { display: flex; justify-content: center; gap: 7px; }
.call-controls button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 37px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: white; font-size: 10px; }
.call-controls .icon { height: 14px; width: 14px; }
#end-call { color: white; background: var(--action); border-color: var(--action); }
#mute-call[aria-pressed='true'] { background: var(--id-clay-bg); color: var(--id-clay-fg); }
.voice-footer { display: flex; justify-content: center; gap: 20px; padding: 9px 12px 13px; }
.voice-footer button { display: flex; align-items: center; gap: 4px; background: none; border: none; padding: 3px; color: var(--text-subtle); font-size: 8px; }
.voice-footer .icon { width: 10px; height: 10px; }
.voice-footer button:hover { color: var(--action); }
.request-form { display: flex; flex-shrink: 0; gap: 3px; border: 1px solid var(--line-strong); border-radius: 7px; margin: 0 14px 12px; padding: 4px; min-height: 38px; }
.request-form input { background: none; color: var(--text); border: none; outline: none; min-width: 0; width: 100%; font: inherit; font-size: 10px; padding: 0 7px; }
.request-form:focus-within { border-color: var(--action); }
.request-form button { display: grid; place-items: center; width: 29px; flex-shrink: 0; border: none; background: var(--action); color: white; border-radius: 4px; }
.request-form .icon { width: 14px; height: 14px; }
.demo-error { padding: 9px 12px; margin: 0 14px 12px; font-size: 9px; line-height: 1.5; color: #805b42; background: #fcf5ec; border: 1px solid #e7d5c7; border-radius: 7px; }
.join-panel { position: absolute; inset: 0; z-index: 8; padding: 0 21px; background: var(--surface-raised); text-align: center; }
.join-header { display: flex; align-items: center; justify-content: space-between; height: 50px; margin: 0 -21px 22px; padding: 0 17px; border-bottom: 1px solid var(--line); font-size: 12px; }
.join-header strong { font-weight: 500; }
.join-header button { background: none; border: none; font-size: 20px; color: var(--text-subtle); }
.join-panel h3 { font-size: 18px; letter-spacing: -.035em; font-weight: 500; }
.join-panel p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.join-panel form { text-align: left; margin-top: 28px; }
.join-panel label { font-size: 10px; color: var(--text-muted); display: block; margin-bottom: 8px; }
.join-panel input { width: 100%; font: inherit; font-size: 14px; padding: 12px; background: white; border: 1px solid var(--line-strong); border-radius: 7px; }
.join-panel .button { width: 100%; min-height: 40px; font-size: 12px; margin: 12px 0 20px; }
.join-panel > small { font-size: 9px; color: var(--text-subtle); }
.product-caption { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 22px 0 0; color: var(--text-muted); font-size: 11px; }
.product-caption .olmi-mark { width: 20px; height: 20px; color: var(--action); }
button:disabled { opacity: .6; cursor: default; }
@keyframes float-mark { 50% { transform: translateY(-4px); } }
@keyframes listen-mark { from { transform: scale(.9); opacity: .5; } to { transform: scale(1.17); opacity: 0; } }
@keyframes spin-mark { to { transform: rotate(360deg); } }
@keyframes speak-mark { 0%,100% { transform: scale(calc(1 + var(--out) * .1)); } 50% { transform: scale(calc(1.025 + var(--out) * .13)); } }
@keyframes spotlight { 0%,35% { box-shadow: 0 0 0 4px #cadcb099; background-color: #f0f5e6; } 100% { box-shadow: 0 0 0 0 #cadcb000; } }
@media (max-width: 1150px) { .site-header { padding-inline: 30px; } .desktop-nav { margin-left: 0; gap: 23px; } .hero { padding-inline: 25px; } .program-window { grid-template-columns: 128px minmax(0,1fr) 287px; } .program-content { padding-inline: 17px; } .program-topbar { padding-inline: 17px; } .program-topbar > div { gap: 7px; font-size: 10px; } .program-topbar .join-trigger { font-size: 8px; } .join-trigger .icon { display: none; } .program-window .product-sidebar { padding-inline: 8px; } .mini-nav { font-size: 9px; } .clinic strong { font-size: 9px; } .clinic small { font-size: 8px; } .program-window .nav-label { padding-top: 20px; } .patient-heading h2 { font-size: 18px; } .routine-grid { gap: 8px; } .routine-items { padding-inline: 8px; } .routine-item { gap: 5px; } .routine-item strong { font-size: 9px; } .sidebar-profile { left: 12px; } .sidebar-profile strong { font-size: 9px; } }
@media (max-width: 900px) { .desktop-nav { display: none; } .program-window { grid-template-columns: 49px minmax(0,1fr) 275px; } .product-logo { width: 29px; margin-left: 0; } .clinic,.mini-search,.nav-label,.sidebar-profile { display: none; } .mini-nav { font-size: 0; padding: 12px 9px; } .ask-olmi { padding: 10px 5px; margin-bottom: 15px; } .ask-olmi > span,.mini-mic { display: none; } .patient-heading h2 { font-size: 17px; } .program-status { display: none; } .program-topbar > div { font-size: 9px; } .patient-goal p { font-size: 10px; } .routine-item strong { font-size: 8px; } .routine-item p { font-size: 7px; } .product-bottle { width: 14px; margin: 0 1px; } }
@media (max-width: 700px) {
  .landing-shell { margin: 8px; }
  .site-header { height: 76px; padding-inline: 20px; border-radius: 17px 17px 0 0; }
  .wordmark img { width: 69px; }
  .header-actions .login { display: none; }
  .header-actions .button { min-height: 35px; font-size: 10px; padding-inline: 12px; gap: 8px; }
  .hero { padding: 28px 10px 0; }
  h1 { font-size: clamp(43px, 10.5vw, 64px); letter-spacing: -.063em; }
  .hero-copy > p { margin: 20px 0; font-size: 12px; line-height: 1.65; }
  .hero-copy .hero-invitation { font-size: 9px; margin-top: 14px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { min-height: 42px; padding: 0 12px; font-size: 11px; gap: 8px; }
  .hero-actions .button .icon { width: 14px; height: 14px; }
  .hero-actions .button-secondary .icon { display: none; }
  .program-stage { margin-top: 32px; max-width: 520px; }
  .program-window { height: auto; grid-template-columns: 42px minmax(0,1fr); grid-template-rows: 530px 575px; border-width: 5px; border-radius: 13px; }
  .product-sidebar { grid-row: 1; padding-inline: 4px !important; }
  .program-window .product-logo { margin-bottom: 18px; width: 25px; margin-left: 1px; }
  .mini-nav { padding: 11px 9px !important; }
  .program-workspace { grid-row: 1; }
  .olmi-panel { grid-column: 1 / -1; grid-row: 2; border-left: 0; border-top: 1px solid var(--line); }
  .program-content { padding: 23px 13px 0; }
  .program-topbar { padding-inline: 13px; height: 45px; }
  .program-topbar > div { font-size: 8px; gap: 4px; }
  .program-topbar .join-trigger { font-size: 8px; padding-left: 3px; }
  .patient-heading { gap: 8px; }
  .patient-heading h2 { font-size: 16px; }
  .patient-heading p { font-size: 9px; }
  .patient-avatar { width: 30px; height: 30px; font-size: 10px; }
  .patient-goal { margin: 18px 0; gap: 6px; }
  .patient-goal p { font-size: 9px; }
  .routine-heading { padding-inline: 8px; gap: 5px; }
  .routine-heading h4 { font-size: 9px; }
  .routine-heading > span:last-child { display: none; }
  .routine-group { min-height: 184px; }
  .routine-items { padding: 5px 7px; }
  .routine-item { gap: 5px; min-height: 45px; }
  .routine-item strong { font-size: 8px; }
  .routine-item p { font-size: 7px; }
  .product-bottle { display: none; }
  .program-next { margin-top: 16px; }
  .next-row { min-height: 47px; }
  .program-footer { margin-inline: 13px; font-size: 7px; gap: 3px; }
  .program-footer button { font-size: 7px; }
  .program-receipt { min-height: 35px; font-size: 8px; }
  .voice-view { height: 173px; }
  .voice-view h3 { font-size: 18px; }
  .voice-view p { font-size: 11px; }
  .action-stage { padding-inline: 22px; }
  .empty-actions > span { font-size: 10px; }
  .empty-actions > button > span { font-size: 12px; }
  .empty-actions small { font-size: 10px; }
  .heard-request p { font-size: 12px; }
  .approval-heading h4 { font-size: 14px; }
  .approval-card li { font-size: 11px; }
  .approval-actions .button { font-size: 11px; min-height: 36px; }
  .decline-button { font-size: 10px; }
  .action-receipt strong { font-size: 12px; }
  .action-receipt p { font-size: 10px; }
  .voice-controls { padding-bottom: 8px; }
  .talk-button { min-height: 41px; font-size: 12px; }
  .voice-availability { font-size: 9px; }
  .voice-footer { padding-bottom: 15px; }
  .voice-footer button { font-size: 10px; }
  .request-form input { font-size: 16px; }
  .product-caption { font-size: 9px; margin-top: 18px; }
  .control-note { top: 88px; left: 24px; width: calc(100% - 48px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
