/* Alternate page order, with the original feature layout and animations intact. */
.landing [id]{scroll-margin-top:105px}
.landing-kicker{font-size:13px;font-weight:600;letter-spacing:.11em;text-transform:uppercase;margin:0 0 24px;color:#78513b}
/* Two transparent layers over the page cream: the desk pull-back is a scroll-driven
   frame sequence, the consultation is a video loop that arrives beside it. */
.landing-hero{--hero-nav:78px;--hero-bg:#fdeee2;background:var(--hero-bg);position:relative}
.landing-hero__stage{position:relative;overflow:hidden;isolation:isolate;background:var(--hero-bg);display:flex;flex-direction:column}
.landing-hero__content{order:1;position:relative;z-index:2;padding-top:48px;pointer-events:none}
.landing-hero__copy{max-width:450px;pointer-events:auto;transform-origin:0 0}
.landing-hero .h1{font-size:clamp(3rem,5.5vw,4.7rem)}
.landing-hero .lede{font-size:18px;line-height:1.65;max-width:40ch}
.landing-hero__privacy{font-size:14px;margin:18px 0 10px;color:var(--muted)}
.landing-hero__evidence{font-size:14px;max-width:36ch;margin:0}
.landing-hero__evidence a{text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--lime)}
.landing-hero__scene{order:2;position:relative;width:100%;max-width:1400px;aspect-ratio:16/9;margin:0 auto;perspective-origin:50% 50%;transform-origin:0 0}
.landing-hero__world{position:absolute;inset:0;transform-origin:50% 96%;will-change:transform}
.landing-hero__layer{position:absolute;inset:0;transform-origin:50% 96%}
.landing-hero__desk canvas{position:absolute;inset:0;width:100%;height:100%}
.landing-hero__people{will-change:transform;pointer-events:none}
.landing-hero__people canvas{display:block;width:100%;height:100%}
/* The source stays in the DOM and on screen, at a pixel: hidden video does not feed a texture on iOS. */
.landing-hero__people video{position:absolute;left:0;top:0;width:1px;height:1px;opacity:0;pointer-events:none}
.landing-hero__controls{order:3;position:relative;z-index:3;display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:18px;padding-bottom:24px;pointer-events:none}
.landing-hero__controls>*{pointer-events:auto}

/* Pinned while the sequence plays out. */
.landing-hero.is-zooming{position:sticky;top:var(--hero-pin-top,0px);z-index:1;height:calc(180svh - var(--hero-nav));min-height:calc(560px + 65svh)}
.is-zooming .landing-hero__stage{display:block;position:sticky;top:var(--hero-nav);height:calc(100svh - var(--hero-nav));min-height:560px}
.is-zooming .landing-hero__scene{position:absolute;left:0;top:0;max-width:none;margin:0}
.is-zooming .landing-hero__content{height:100%;display:flex;align-items:center;padding-top:20px;padding-bottom:92px}
.is-zooming .landing-hero__copy{opacity:var(--hero-copy,1);visibility:var(--hero-copy-visibility,visible)}
.is-zooming .landing-hero__stage::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,var(--hero-bg) 0%,rgba(253,238,226,.96) 26%,rgba(253,238,226,0) 56%);opacity:var(--hero-copy,1)}
.is-zooming .landing-hero__controls{position:absolute;bottom:0;left:0;right:0}
.landing-hero.is-zooming+.page-sheet{margin-top:calc(-34px - var(--sheet-rise,0px))}
.landing-hero:not(.is-zooming)+.page-sheet{margin-top:0;border-radius:0;box-shadow:none}
@media(max-width:700px){
 .landing-hero__content{padding-top:30px}
 .landing-hero .h1{font-size:clamp(2.4rem,8.4vw,3.5rem);margin-bottom:16px}
 .landing-hero .lede{font-size:16px;line-height:1.5;margin-bottom:20px}
 .landing-hero__copy{max-width:480px}
 .landing-hero__privacy{margin:12px 0 8px;font-size:13px}
 .landing-hero__evidence{font-size:13px}
 .landing-hero.is-zooming{min-height:calc(660px + 65svh)}
 .is-zooming .landing-hero__stage{min-height:660px}
 .is-zooming .landing-hero__content{align-items:flex-start;padding-top:24px}
 .is-zooming .landing-hero__stage::after{background:linear-gradient(180deg,var(--hero-bg) 0%,rgba(253,238,226,.97) 30%,rgba(253,238,226,0) 57%)}
 .landing-hero__controls{padding:16px 20px}
}

.landing-socialproof{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;margin:0;padding:32px 0;border-bottom:1px solid var(--line);text-align:center}
.landing-socialproof blockquote{margin:0;font-family:Fraunces,serif;font-size:clamp(1.15rem,2vw,1.5rem);line-height:1.4;font-style:italic}
.landing-socialproof figcaption{font-size:13px;color:var(--muted);white-space:nowrap}
@media(max-width:700px){.landing-socialproof{flex-direction:column;gap:10px;padding:26px 12px}}
@keyframes landing-cue{50%{transform:translateY(5px)}}
@media(prefers-reduced-motion:reduce){.landing-scrollcue span{animation:none}}
.landing-trust{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fffdfb}
.landing-trust__grid{display:grid;grid-template-columns:repeat(3,1fr);padding-top:26px;padding-bottom:26px;gap:35px}
.landing-trust p{margin:0}.landing-trust strong,.landing-trust span{display:block;font-size:14px}.landing-trust strong span{display:inline}.landing-trust span{color:var(--muted);margin-top:5px}.landing-trust a:hover strong{text-decoration:underline;text-underline-offset:4px}
.landing-evidence{display:grid;grid-template-columns:1fr 1fr;gap:85px;align-items:start}
.landing-evidence__links>a,.landing-evidence__regions{display:block;padding:23px 0;border-bottom:1px solid var(--line)}.landing-evidence__links>a:first-child{padding-top:0}.landing-evidence__links h3{font-size:18px;font-weight:600;margin:8px 0}.landing-evidence__links h3 span{float:right}.landing-evidence__links p{font-size:14px;color:var(--muted);margin:0}.landing-evidence__links a:hover h3{text-decoration:underline;text-underline-offset:4px}
.landing a:focus-visible,.landing button:focus-visible{outline:3px solid #a7673d;outline-offset:5px}
@media(max-width:899px){.landing-evidence{gap:35px}}
@media(max-width:600px){
 .landing-evidence,.landing-trust__grid{grid-template-columns:1fr;gap:25px}.landing-trust__grid> :not(:last-child){padding-bottom:18px;border-bottom:1px solid var(--line)}
 .landing-kicker{font-size:12px}
}

/* Feature shortcuts sit above the original compact animated journey. */
.landing-featurelinks{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 42px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.landing-featurelinks a{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;padding:14px 12px;border-radius:8px;transition:background .2s}
.landing-featurelinks a:hover,.landing-featurelinks a[aria-current]{background:#eed6c2}
.landing-featurelinks span{font-size:12px;color:#99502a}
@media(max-width:899px){.landing-featurelinks{grid-template-columns:1fr 1fr;gap:4px}.landing-featurelinks a{font-size:13px;padding:12px 8px}}
@media(prefers-reduced-motion:reduce){.landing-featurelinks a{transition:none}}

/* Profession picker + evidence links. */
.landing-evidence__regions nav{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:14px;font-size:14px}
.landing-evidence__regions nav a{text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--lime)}
/* "AI scribe for ___" — the profession word is a drop-down; it cycles until picked. */
.landing-who{white-space:nowrap}
.landing-hero__copy{position:relative}
/* Always underlined so it reads as a control while the word cycles. */
.landing-who__btn{all:unset;box-sizing:border-box;cursor:pointer;display:inline-flex;align-items:center;gap:.06em;font:inherit;font-style:italic;color:var(--ink-2);border-bottom:3px solid var(--lime);transition:border-color .2s}
.landing-who__btn:hover,.landing-who__btn[aria-expanded="true"]{border-bottom-color:#a7673d}
.landing-who__btn:focus-visible{outline:3px solid #a7673d;outline-offset:6px;border-radius:4px}
.landing-who__word{display:inline-block;transition:opacity .22s ease,transform .22s ease}
.landing-who__word.is-out{opacity:0;transform:translateY(.18em)}
.landing-who__chev{width:.42em;height:.42em;flex-shrink:0;margin:.08em 0 0 .1em;color:#a7673d;transition:transform .2s}
.landing-who__btn[aria-expanded="true"] .landing-who__chev{transform:rotate(180deg)}
.landing-who__menu{position:absolute;left:0;top:0;z-index:6;display:grid;grid-template-columns:1fr 1fr;gap:2px;margin:0;padding:8px;list-style:none;min-width:460px;white-space:normal;text-align:left;background:#fffdfb;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 44px rgba(60,40,20,.18);font:500 16px/1.3 Inter,system-ui,sans-serif;letter-spacing:0;color:var(--ink)}
.landing-who__menu[hidden]{display:none}
.landing-who__menu li{padding:11px 14px;border-radius:10px;cursor:pointer;white-space:nowrap}
.landing-who__menu li:hover,.landing-who__menu li:focus-visible{background:#eed6c2;outline:none}
.landing-who__menu li[aria-selected="true"]{font-weight:600;color:#78513b}
.landing-who__menu li[aria-selected="true"]::after{content:" ✓";color:#a7673d}
@media(max-width:700px){.landing-who__menu{grid-template-columns:1fr;min-width:240px;font-size:15px}.landing-who__menu li{padding:10px 12px}}
@media(prefers-reduced-motion:reduce){.landing-who__word,.landing-who__btn,.landing-who__chev{transition:none}}
/* Five-step variants (physio / allied health) share the shortcut row. */
.landing-featurelinks{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}

/* The iPad screen; only its surface is resized, since
   this iPad is landscape and the desk layer's 1.2 vertical stretch runs through it - the 540x500
   surface projected onto the unstretched screen comes out square-pixel on screen. */
/* Crisp HTML and its opaque backing follow the scene throughout the full zoom. */
.landing-tablet-screen{position:absolute;left:0;top:0;width:480px;height:520px;transform-origin:0 0;visibility:hidden;overflow:hidden;border-radius:22px;background:linear-gradient(145deg,#f9f1e6,#fffaf1 52%,#f0e6d8);box-shadow:inset 3px 5px 18px rgba(81,60,39,.08);pointer-events:none;backface-visibility:hidden;color:#34281f;font-family:Inter,system-ui,sans-serif;line-height:1.4}
/* Feather only the outer rim; the centre stays opaque over the generated screen. */
.landing-tablet-screen{-webkit-mask-image:linear-gradient(90deg,transparent,#000 10px,#000 calc(100% - 10px),transparent),linear-gradient(180deg,transparent,#000 10px,#000 calc(100% - 10px),transparent);mask-image:linear-gradient(90deg,transparent,#000 10px,#000 calc(100% - 10px),transparent),linear-gradient(180deg,transparent,#000 10px,#000 calc(100% - 10px),transparent);-webkit-mask-composite:source-in;mask-composite:intersect}
.landing-tablet-screen__ui{height:100%;padding:20px 26px 16px;display:flex;flex-direction:column;opacity:.94;filter:saturate(.8) contrast(.94) blur(.15px)}
/* Soft glass reflection and edge shade, with no grain over the readable interface. */
.landing-tablet-screen::after{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;pointer-events:none;background:linear-gradient(125deg,rgba(255,255,255,.24) 0%,rgba(255,255,255,.07) 34%,transparent 48%,rgba(239,224,206,.08) 100%);box-shadow:inset 0 3px 14px rgba(67,47,29,.08),inset 0 -3px 16px rgba(67,47,29,.04)}
.landing-tablet-screen__top{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-bottom:12px}
.landing-tablet-screen__top img{width:92px;height:auto}
.landing-tablet-screen__capture{text-decoration:none;display:flex;align-items:center;gap:7px;min-width:0;flex:1;height:36px;padding:0 9px;border:1px solid #dba889;border-radius:8px;background:#fffaf3;color:#765d49;box-shadow:0 0 7px #deae8333;cursor:pointer;pointer-events:auto}
.landing-tablet-screen__capture svg{flex-shrink:0}
.landing-tablet-screen__capture i{flex-shrink:0;width:7px;height:7px;background:#ce7259;border-radius:50%;animation:landing-record-pulse 1.7s ease-in-out infinite}
.landing-tablet-screen__time{font:12px ui-monospace,monospace;font-variant-numeric:tabular-nums}
.landing-tablet-screen__partial{overflow:hidden;white-space:nowrap;min-width:0;flex:1;font-size:11px;text-align:left;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 88%,transparent)}
.landing-tablet-screen__ticker{display:flex;width:max-content;animation:landing-partial 32s linear infinite}
.landing-tablet-screen__ticker>span{flex-shrink:0;padding-right:2em}
.landing-tablet-screen__tabs{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #e9e1d9;font-size:17px}
.landing-tablet-screen__tabs a{padding:10px 0 8px;white-space:nowrap;color:#877568;text-decoration:none;pointer-events:auto}
.landing-tablet-screen__tabs a:first-child{color:#4b3424;border-bottom:2px solid #d79067}
.landing-tablet-screen__tabs a:hover{color:#a85531;border-bottom:2px solid #d79067}
.landing-tablet-screen__tabs a:focus-visible,.landing-tablet-screen__capture:focus-visible{outline:2px solid #a85531;outline-offset:2px;border-radius:3px}
.landing-tablet-screen__transcript{height:178px;flex-shrink:0;overflow:hidden;margin:10px 0 14px;font-size:18px;mask-image:linear-gradient(180deg,transparent,#000 10px,#000 calc(100% - 12px),transparent)}
.landing-tablet-screen__feed{animation:landing-transcript 26s linear infinite}
.landing-tablet-screen__pass{padding-bottom:12px}
.landing-tablet-screen__transcript p{margin:0;line-height:1.4}
.landing-tablet-screen__speaker{font-size:12px;font-weight:600;color:#aa8064;padding:5px 0 2px}
.landing-tablet-screen__plan{display:block;pointer-events:auto;cursor:pointer;text-decoration:none;border:1px solid #e6ddd3;border-radius:10px;padding:12px 14px;background:#ffffff59;flex:1;min-height:0}
.landing-tablet-screen__plan-title{display:flex;align-items:center;justify-content:space-between;font-size:17px;font-weight:600;color:#5d493a}
.landing-tablet-screen__plan-title span{font-size:11px;font-weight:400;color:#9d8a7b}
.landing-tablet-screen__skeleton{display:grid;gap:9px;margin-top:10px}
.landing-tablet-screen__skeleton b{display:block;font-size:11px;font-weight:500;color:#9a8f83;margin-bottom:4px}
.landing-tablet-screen__skeleton i{display:block;height:6px;border-radius:3px;background:#d9d5cf;margin-top:5px;animation:landing-skeleton 3s ease-in-out infinite}
.landing-tablet-screen__skeleton i:last-child{width:72%}
.landing-tablet-screen__skeleton>div:nth-child(2) i{animation-delay:-1s}
.landing-tablet-screen__skeleton>div:nth-child(3) i{animation-delay:-2s}
.landing-tablet-screen *{animation-play-state:var(--tablet-play-state,paused)!important}
@keyframes landing-partial{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes landing-skeleton{50%{opacity:.45}}
@keyframes landing-record-pulse{50%{opacity:.4}}
@keyframes landing-transcript{from{transform:translateY(0)}to{transform:translateY(-50%)}}
@media(prefers-reduced-motion:reduce){.landing-tablet-screen *{animation:none!important}}

.landing-tablet-screen__plan:hover{border-color:#d79067}
.landing-hero .landing-tablet-screen{width:540px;height:500px;border-radius:30px}

/* A pms front door fixes the profession word and pairs the CTA with the extension. */
.landing-who__fixed{font-style:italic;color:var(--ink-2);border-bottom:3px solid var(--lime)}
.landing-hero__ctas{display:flex;flex-wrap:wrap;gap:12px;align-items:center}

/* The Cliniko front door's iPad: Cliniko's note editor with Hanah in it. Rail, header,
   template panel and fields follow Cliniko's own chrome; the draft pill and capture panel
   are Hanah's. Sized for the 540x500 surface. */
.landing-tablet-screen--cliniko{background:#fff}
.landing-tablet-screen--cliniko .landing-tablet-screen__ui{padding:0;flex-direction:row;font-family:Inter,system-ui,sans-serif;color:#2b2b2b;line-height:1.3}
.ck__rail{flex:0 0 34px;background:#1e8fae;display:flex;flex-direction:column;align-items:center;gap:14px;padding-top:16px}
.ck__rail i{width:13px;height:13px;border:2px solid rgba(255,255,255,.85);border-radius:3px}
.ck__rail i.is-on{background:#fff}
.ck__main{flex:1;min-width:0;display:flex;flex-direction:column}
.ck__top{display:flex;align-items:center;gap:12px;height:46px;padding:0 12px;border-bottom:1px solid #e3e8ec;background:#fff}
.ck__logo{width:74px;height:auto;flex-shrink:0}
.ck__crumb{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:500 14px/1 Georgia,"Times New Roman",serif;color:#333}
.ck__crumb b{font-weight:400;color:#9aa;margin:0 5px}
.ck__save{flex-shrink:0;font:600 11px/1 Inter,system-ui,sans-serif;color:#fff;background:#d13f66;border-radius:4px;padding:8px 9px;white-space:nowrap}
.ck__body{position:relative;flex:1;padding:10px;min-height:0;background:#f5f8fa}
.ck__form{min-width:0}
.ck__panel{background:#e4f2f7;border:1px solid #cfe5ee;border-radius:6px;padding:9px 11px}
.ck__label{display:block;font:600 11px/1 Inter,system-ui,sans-serif;color:#1a7fa3;margin:0 0 5px}
.ck__field{margin-top:10px}
.ck__select{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid #c9d6dc;border-radius:5px;padding:6px 9px;font-size:12px;margin-bottom:8px}
.ck__select i{width:6px;height:6px;border-right:1.5px solid #888;border-bottom:1.5px solid #888;transform:rotate(45deg);margin-top:-3px}
.ck__row{display:flex;gap:6px;margin-top:2px}
.ck__ghost{font-size:11px;padding:6px 8px;border:1px solid #c9d6dc;border-radius:5px;background:#fff;white-space:nowrap}
.ck__draft{pointer-events:auto;text-decoration:none;font:600 11px/1 Inter,system-ui,sans-serif;color:#fff;background:#4a3527;border-radius:5px;padding:7px 9px;white-space:nowrap}
.ck__draft b{opacity:.7;margin-left:4px;font-weight:400}
.ck__note{background:#fff;border:1px solid #c9d6dc;border-radius:5px;padding:7px 10px;font-size:12px;line-height:1.45;min-height:62px}
/* The draft types itself through the template's sections: six lines, each revealed left to
   right in its own window of a shared 18s loop, all held, then cleared together. */
.ck__note{min-height:44px}
.ck__note p{margin:0;white-space:nowrap;overflow:hidden;text-overflow:clip;clip-path:inset(0 100% 0 0);animation:landing-ck-line1 18s steps(30,end) infinite}
.ck__note .ck__line1{animation-name:landing-ck-line1}
@keyframes landing-ck-line1{0%{clip-path:inset(0 100% 0 0);opacity:1}10%{clip-path:inset(0 0 0 0)}88%{clip-path:inset(0 0 0 0);opacity:1}93%{opacity:0}100%{clip-path:inset(0 100% 0 0);opacity:0}}
.ck__note .ck__line2{animation-name:landing-ck-line2}
@keyframes landing-ck-line2{0%,13%{clip-path:inset(0 100% 0 0);opacity:1}23%{clip-path:inset(0 0 0 0)}88%{clip-path:inset(0 0 0 0);opacity:1}93%{opacity:0}100%{clip-path:inset(0 100% 0 0);opacity:0}}
.ck__note .ck__line3{animation-name:landing-ck-line3}
@keyframes landing-ck-line3{0%,26%{clip-path:inset(0 100% 0 0);opacity:1}36%{clip-path:inset(0 0 0 0)}88%{clip-path:inset(0 0 0 0);opacity:1}93%{opacity:0}100%{clip-path:inset(0 100% 0 0);opacity:0}}
.ck__note .ck__line4{animation-name:landing-ck-line4}
@keyframes landing-ck-line4{0%,39%{clip-path:inset(0 100% 0 0);opacity:1}49%{clip-path:inset(0 0 0 0)}88%{clip-path:inset(0 0 0 0);opacity:1}93%{opacity:0}100%{clip-path:inset(0 100% 0 0);opacity:0}}
.ck__note .ck__line5{animation-name:landing-ck-line5}
@keyframes landing-ck-line5{0%,52%{clip-path:inset(0 100% 0 0);opacity:1}62%{clip-path:inset(0 0 0 0)}88%{clip-path:inset(0 0 0 0);opacity:1}93%{opacity:0}100%{clip-path:inset(0 100% 0 0);opacity:0}}
.ck__note .ck__line6{animation-name:landing-ck-line6}
@keyframes landing-ck-line6{0%,65%{clip-path:inset(0 100% 0 0);opacity:1}75%{clip-path:inset(0 0 0 0)}88%{clip-path:inset(0 0 0 0);opacity:1}93%{opacity:0}100%{clip-path:inset(0 100% 0 0);opacity:0}}
.ck__draft i{display:inline-block;font-style:normal;animation:landing-ck-spin 2.6s linear infinite}
@keyframes landing-ck-spin{to{transform:rotate(360deg)}}
.ck__time{flex-shrink:0;font:11px ui-monospace,monospace;font-variant-numeric:tabular-nums}
/* Hanah's panel in Hanah's own palette - cream card, brown pill - so it reads as a separate
   thing sitting inside Cliniko's blue. */
.ck__hanah{position:absolute;right:10px;bottom:10px;width:236px;background:#fffaf3;border:1px solid #dba889;border-radius:10px;padding:8px;box-shadow:0 8px 22px rgba(60,40,20,.18)}
.ck__capture{pointer-events:auto;text-decoration:none;display:flex;align-items:center;gap:6px;height:32px;padding:0 9px;border-radius:7px;background:#4a3527;color:#fff3e6;font:600 11px/1 Inter,system-ui,sans-serif}
.ck__capture svg{width:14px;height:14px;flex-shrink:0}
.ck__capture .landing-tablet-screen__partial{font-size:10px;font-weight:400;color:#fff3e6}
.ck__rec{flex-shrink:0;width:7px;height:7px;border-radius:50%;background:#ff8f7a;animation:landing-record-pulse 1.7s ease-in-out infinite}
.ck__hanah .landing-tablet-screen__transcript{height:92px;margin:8px 0 0;font-size:11px;color:#34281f}
.ck__hanah .landing-tablet-screen__speaker{font-size:9px;padding:4px 0 1px}
.ck__hanah .landing-tablet-screen__pass{padding-bottom:8px}
.ck__draft:hover,.ck__capture:hover{filter:brightness(1.08)}

/* ============ PMS FRONT DOORS: HALAXY, NOOKAL, ZANDA ============
   One shared skeleton, three sets of chrome. Each iPad wears that system's own colours and
   structure - taken from the system itself and from the extension's DOM adapters, which is
   where the true shape of each note form is recorded - with Hanah's panel dropped in, exactly
   as the Cliniko door does. Sized for the same 540x500 surface. */
.landing-tablet-screen--pms{background:#fff}
.landing-tablet-screen--pms .landing-tablet-screen__ui{padding:0;flex-direction:column;font-family:Inter,system-ui,sans-serif;color:#2b2b2b;line-height:1.3}
.pmsui__top{display:flex;align-items:center;gap:10px;height:44px;flex-shrink:0;padding:0 12px}
.pmsui__logo{height:auto;flex-shrink:0}
/* Both wordmarks we hold are dark-on-transparent; these two bars are dark, so flip them. */
.pmsui__logo--invert{filter:brightness(0) invert(1)}
.pmsui__crumb{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:500 13px/1 Inter,system-ui,sans-serif}
.pmsui__crumb b{font-weight:400;opacity:.5;margin:0 5px}
.pmsui__save{flex-shrink:0;font:600 11px/1 Inter,system-ui,sans-serif;border-radius:5px;padding:8px 9px;white-space:nowrap}
.pmsui__body{position:relative;flex:1;min-height:0;padding:10px}
.pmsui__form{min-width:0}
.pmsui__formhead{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.pmsui__template{font:600 12px/1 Inter,system-ui,sans-serif}
.pmsui__label{display:block;font:700 11px/1 Inter,system-ui,sans-serif;margin:9px 0 4px}
.pmsui__note{background:#fff;border-radius:5px;padding:7px 10px;font-size:12px;line-height:1.45;min-height:30px}
/* The draft types itself line by line: six windows of one 18s loop, all held, then cleared
   together. Same keyframes the Cliniko door uses, so the four doors move alike. */
.pmsui__note p{margin:0;white-space:nowrap;overflow:hidden;text-overflow:clip;clip-path:inset(0 100% 0 0)}
.pmsui__note .pl1{animation:landing-ck-line1 18s steps(30,end) infinite}
.pmsui__note .pl2{animation:landing-ck-line2 18s steps(30,end) infinite}
.pmsui__note .pl3{animation:landing-ck-line3 18s steps(30,end) infinite}
.pmsui__note .pl4{animation:landing-ck-line4 18s steps(30,end) infinite}
.pmsui__note .pl5{animation:landing-ck-line5 18s steps(30,end) infinite}
.pmsui__note .pl6{animation:landing-ck-line6 18s steps(30,end) infinite}
/* Hanah's draft control, in Hanah brown wherever it sits in someone else's toolbar. */
.pmsui__draft{pointer-events:auto;text-decoration:none;flex-shrink:0;font:600 11px/1 Inter,system-ui,sans-serif;color:#fff;background:#4a3527;border-radius:5px;padding:7px 9px;white-space:nowrap}
.pmsui__draft i{display:inline-block;font-style:normal;animation:landing-ck-spin 2.6s linear infinite}
/* Hanah's panel: cream card, brown pill, floating bottom right as the extension does. */
.pmsui__hanah{position:absolute;right:10px;bottom:10px;width:236px;background:#fffaf3;border:1px solid #dba889;border-radius:10px;padding:8px;box-shadow:0 8px 22px rgba(60,40,20,.18)}
.pmsui__capture{pointer-events:auto;text-decoration:none;display:flex;align-items:center;gap:6px;height:32px;padding:0 9px;border-radius:7px;background:#4a3527;color:#fff3e6;font:600 11px/1 Inter,system-ui,sans-serif}
.pmsui__capture svg{width:14px;height:14px;flex-shrink:0}
.pmsui__capture .landing-tablet-screen__partial{font-size:10px;font-weight:400;color:#fff3e6}
.pmsui__time{flex-shrink:0;font:11px ui-monospace,monospace;font-variant-numeric:tabular-nums}
.pmsui__rec{flex-shrink:0;width:7px;height:7px;border-radius:50%;background:#ff8f7a;animation:landing-record-pulse 1.7s ease-in-out infinite}
.pmsui__hanah .landing-tablet-screen__transcript{height:92px;margin:8px 0 0;font-size:11px;color:#34281f}
.pmsui__hanah .landing-tablet-screen__speaker{font-size:9px;padding:4px 0 1px}
.pmsui__hanah .landing-tablet-screen__pass{padding-bottom:8px}
.pmsui__draft:hover,.pmsui__capture:hover{filter:brightness(1.08)}

/* Halaxy: indigo bar, tab strip under it, and one freeform editor - Halaxy has no template
   picker, so there are no section labels to show. */
.pmsui--hx .pmsui__top{background:#0e0793;color:#fff}
.pmsui--hx .pmsui__save{background:#2e52ff;color:#fff}
.pmsui--hx .pmsui__tabs{display:flex;gap:16px;flex-shrink:0;padding:0 12px;height:32px;align-items:center;background:#fff;border-bottom:1px solid #e2e2ea;font:500 11px/1 Inter,system-ui,sans-serif;color:#6b6b7b}
.pmsui--hx .pmsui__tabs .is-on{color:#0e0793;font-weight:700;box-shadow:inset 0 -2px 0 #2e52ff;padding-bottom:9px}
.pmsui--hx .pmsui__body{background:#f2f2f6}
.pmsui--hx .pmsui__card{background:#fff;border:1px solid #dcdce6;border-radius:6px;overflow:hidden}
.pmsui--hx .pmsui__toolbar{display:flex;align-items:center;gap:9px;padding:6px 8px;border-bottom:1px solid #e6e6ee;background:#fafafd;font:600 11px/1 Georgia,serif;color:#4a4a5c}
.pmsui--hx .pmsui__bar{width:1px;height:13px;background:#dcdce6}
.pmsui--hx .pmsui__tool{font-family:Inter,system-ui,sans-serif}
.pmsui--hx .pmsui__toolbar .pmsui__draft{margin-left:auto}
.pmsui--hx .pmsui__note--flow{min-height:150px;padding:9px 11px}
.pmsui--hx .pmsui__note--flow p{margin-bottom:3px}

/* Nookal: cyan rail, white header, and the sectioned note form its clinical notes page uses. */
.landing-tablet-screen--nk .landing-tablet-screen__ui{flex-direction:row}
.pmsui__rail{flex:0 0 34px;background:#009fcc;display:flex;flex-direction:column;align-items:center;gap:14px;padding-top:16px}
.pmsui__rail i{width:13px;height:13px;border:2px solid rgba(255,255,255,.85);border-radius:3px}
.pmsui__rail i.is-on{background:#fff}
.pmsui__main{flex:1;min-width:0;display:flex;flex-direction:column}
.pmsui--nk .pmsui__top{background:#fff;border-bottom:1px solid #e3e8ec}
.pmsui--nk .pmsui__save{background:#009fcc;color:#fff}
.pmsui--nk .pmsui__body{background:#f4f7f9}
.pmsui--nk .pmsui__template{color:#0b6d8a}
.pmsui--nk .pmsui__label{color:#22303a}
.pmsui--nk .pmsui__note{border:1px solid #cfdbe2}

/* Zanda: purple bar with the wordmark and a rounded search, an icon rail and the client's
   sections down the left, and a custom form whose questions sit under chip headers. */
.pmsui--zd .pmsui__top{background:#6862f9;color:#fff;gap:12px}
.pmsui--zd .pmsui__search{flex:1;height:26px;display:flex;align-items:center;padding:0 12px;border-radius:14px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.45);font-size:11px;color:#fff}
.pmsui--zd .pmsui__split{flex:1;min-height:0;display:flex}
.pmsui__rail--icons{flex:0 0 30px;background:#fff;border-right:1px solid #ececf4;gap:12px}
.pmsui__rail--icons i{width:12px;height:12px;border:2px solid #b9b7d6;border-radius:3px}
.pmsui__rail--icons i.is-on{background:#dbd6ff;border-color:#6862f9}
.pmsui__side{flex:0 0 84px;background:#fff;border-right:1px solid #ececf4;padding:10px 8px;display:flex;flex-direction:column;gap:7px;font-size:10px;color:#4a4a63}
.pmsui__client{font:700 11px/1.2 Inter,system-ui,sans-serif;color:#001a47;padding-bottom:3px}
.pmsui__side .is-on{color:#6862f9;font-weight:700}
.pmsui--zd .pmsui__body{background:#f6f5fd}
.pmsui--zd .pmsui__template{color:#001a47}
.pmsui__chip{display:inline-block;margin:9px 0 4px;padding:4px 9px;border-radius:11px;background:#e6e3ff;color:#3b35b8;font:700 10px/1 Inter,system-ui,sans-serif}
.pmsui--zd .pmsui__note{border:1px solid #e0def0}
