@adminiumjs/app-clinic 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/customer/assets/App-DdIi94eM.js +1 -0
  2. package/customer/assets/embed-D9WnNWH8.js +1 -0
  3. package/customer/assets/icons-D7ArAIOl.js +1 -0
  4. package/customer/assets/index-CQI0fglh.css +1 -0
  5. package/customer/assets/index-re5HI07A.js +2 -0
  6. package/customer/assets/react-Ck9fDrdd.js +9 -0
  7. package/customer/assets/store-D7cmlyqr.js +1 -0
  8. package/customer/assets/surface-nav-6BkCPZCf.js +1 -0
  9. package/customer/assets/urlSync-DEafH1yc.js +1 -0
  10. package/customer/favicon.svg +18 -0
  11. package/customer/fonts/jetbrains-mono-latin-ext-wght-normal.woff2 +0 -0
  12. package/customer/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
  13. package/customer/fonts/manrope-latin-ext-wght-normal.woff2 +0 -0
  14. package/customer/fonts/manrope-latin-wght-normal.woff2 +0 -0
  15. package/customer/index.html +20 -0
  16. package/customer/surface.json +45 -0
  17. package/manifest.json +501 -0
  18. package/package.json +11 -0
  19. package/staff/assets/App-ijJtS1to.js +1 -0
  20. package/staff/assets/calendar-B59f3S_A.js +1 -0
  21. package/staff/assets/embed-D9WnNWH8.js +1 -0
  22. package/staff/assets/icons-BU1Aax3i.js +1 -0
  23. package/staff/assets/index-CqPaHjl7.js +8 -0
  24. package/staff/assets/index-DXzmd8KH.css +1 -0
  25. package/staff/assets/react-3MWIyadV.js +9 -0
  26. package/staff/assets/registry-EirlpZlW.js +1 -0
  27. package/staff/assets/store-D_4Keuh8.js +1 -0
  28. package/staff/assets/surface-nav-6BkCPZCf.js +1 -0
  29. package/staff/assets/urlSync-DqVGf0-x.js +1 -0
  30. package/staff/favicon.svg +18 -0
  31. package/staff/fonts/jetbrains-mono-latin-ext-wght-normal.woff2 +0 -0
  32. package/staff/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
  33. package/staff/fonts/manrope-latin-ext-wght-normal.woff2 +0 -0
  34. package/staff/fonts/manrope-latin-wght-normal.woff2 +0 -0
  35. package/staff/index.html +20 -0
  36. package/staff/surface.json +107 -0
@@ -0,0 +1 @@
1
+ import{j as e,u as y,t as be,D as ve,s as _e}from"./index-re5HI07A.js";import{C as ye,X as Y,T as ke,a as _,b as ge,M as Ce,S as Z,c as ce,d as we,U as Se,R as ze,e as oe,f as Ie,g as J,h as De,i as Pe,j as Ee,k as se,l as de,A as Fe,m as $e}from"./icons-D7ArAIOl.js";import{u as r,i as Ae,t as Le,c as F,v as O,V as C,p as Te,n as Me,l as z,d as K,s as U,e as X,a as V,b as he,f as Oe,g as P,h as S,m as E,D as T,P as me,j as Re,k as Be,o as ue,q as Ve,L as W,r as Ke,w as pe,x as We,y as ne,C as B,z as Ue,A as He,B as qe,E as Ge,F as Qe,G as Ye,H as Ze,I as ae}from"./store-D7cmlyqr.js";import{isEmbedded as Je}from"./embed-D9WnNWH8.js";import"./react-Ck9fDrdd.js";function b({children:s,onClick:n,tone:t="accent",size:i,disabled:l,type:o="button",title:x,className:p=""}){const f=t==="accent"?"":` rh-button--${t}`,d=i==="sm"?" rh-button--sm":"";return e.jsx("button",{type:o,className:`rh-button rh-btn${f}${d} ${p}`.trim(),onClick:n,disabled:l,title:x,children:s})}function D({children:s,tone:n,onClick:t,pressed:i,title:l,style:o}){const x=`rh-chip${n?` rh-chip--${n}`:""}${t?" rh-chipbtn":""}`;return t?e.jsx("button",{type:"button",className:x,onClick:t,"aria-pressed":i,title:l,style:o,children:s}):e.jsx("span",{className:x,title:l,style:o,children:s})}function M({children:s,className:n=""}){return e.jsx("span",{className:`rh-mono ${n}`.trim(),children:s})}function w({title:s,subtitle:n,actions:t,children:i,className:l=""}){return e.jsxs("section",{className:`rh-panel ${l}`.trim(),children:[s!==void 0&&e.jsx("header",{className:"rh-panel__head",children:e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[e.jsxs("div",{style:{minWidth:0},children:[e.jsx("h2",{className:"rh-panel__title",children:s}),n!==void 0&&e.jsx("p",{className:"rh-panel__sub",children:n})]}),t!==void 0&&e.jsx("div",{style:{marginInlineStart:"auto",display:"flex",gap:7},children:t})]})}),e.jsx("div",{className:"rh-panel__body",children:i})]})}function A({name:s,tint:n,ini:t,large:i,title:l}){const o=r(x=>x.theme==="dark");return e.jsx("span",{className:`rh-avatar${i?" rh-avatar--lg":""}`,style:{background:Le(n,o),color:o?"#f4f4f6":"#191920"},title:l??s,"aria-hidden":"true",children:t??Ae(s)})}function g({label:s,children:n,hint:t}){return e.jsxs("label",{className:"rh-field",children:[e.jsx("span",{className:"rh-label",children:s}),n,t!==void 0&&e.jsx("span",{style:{fontSize:11.5,fontWeight:600,color:"var(--fg-subtle)"},children:t})]})}function H({icon:s,title:n,body:t,action:i}){return e.jsxs("div",{className:"rh-empty",children:[s!==void 0&&e.jsx("div",{className:"rh-empty__icon",children:s}),e.jsx("div",{className:"rh-empty__title",children:n}),t!==void 0&&e.jsx("div",{className:"rh-empty__body",children:t}),i!==void 0&&e.jsx("div",{style:{marginBlockStart:14},children:i})]})}function Xe(){const{t:s}=y(),n=r(i=>i.toasts),t=r(i=>i.dismissToast);return e.jsx("div",{className:"rh-toasts",role:"status","aria-live":"polite",children:n.map(i=>e.jsxs("div",{className:`rh-toast rh-toast--${i.tone}`,children:[i.tone==="pos"&&e.jsx(ye,{size:15,"aria-hidden":"true"}),e.jsx("span",{children:i.text}),e.jsx("button",{type:"button",className:"rh-toast__x",onClick:()=>t(i.id),"aria-label":s("chrome.toast.dismiss"),children:e.jsx(Y,{size:14,"aria-hidden":"true"})})]},i.id))})}const Q=["checked_in","roomed","with_clinician","ready"];function es(s){return he(s)?Q.indexOf(s):s==="done"?Q.length-1:-1}function ss(){const{t:s}=y(),n=r(u=>u.panelRef),t=r(u=>u.appts),i=r(u=>u.walkIns),l=r(u=>u.openPanel),o=r(u=>u.advanceVisit),x=r(u=>u.checkIn),p=r(u=>u.markNoShow),f=r(u=>u.askCancel),d=r(u=>u.openPatient);if(n===null)return null;const m=t.find(u=>u.id===n);if(!m)return null;const h=F(m.clinician),N=O(C,m.type),j=Te(m.patient,i[m.patient]??null),k=Me(m.status),a=m.status==="done"||m.status==="no_show"||m.status==="cancelled";return e.jsx("div",{className:"rh-modal-scrim",onClick:u=>{u.target===u.currentTarget&&l(null)},children:e.jsxs("div",{className:"rh-modal rh-panelsheet",role:"dialog","aria-modal":"true","aria-label":s("panel.title",{ref:m.id}),children:[e.jsxs("div",{className:"rh-panelsheet__head",children:[e.jsxs("div",{style:{minWidth:0},children:[e.jsx("h2",{className:"rh-modal__title",children:e.jsx(M,{children:m.id})}),e.jsxs("p",{className:"rh-panel__sub",children:[z(N.label)," · ",K(N.minutes)]})]}),e.jsx("button",{type:"button",className:"rh-iconbtn rh-btn",style:{marginInlineStart:"auto"},onClick:()=>l(null),"aria-label":s("panel.close"),children:e.jsx(Y,{size:17,"aria-hidden":"true"})})]}),e.jsxs("div",{className:"rh-facts",children:[e.jsxs("div",{className:"rh-fact",children:[e.jsx("span",{className:"rh-fact__k",children:s("panel.patient")}),e.jsx("span",{className:"rh-fact__v",children:j})]}),e.jsxs("div",{className:"rh-fact",children:[e.jsx("span",{className:"rh-fact__k",children:s("panel.when")}),e.jsx("span",{className:"rh-fact__v rh-mono",children:U(m.start,X(m,C))})]}),e.jsxs("div",{className:"rh-fact",children:[e.jsx("span",{className:"rh-fact__k",children:s("confirm.clinician")}),e.jsxs("span",{className:"rh-fact__v",children:[h!==null&&e.jsx(A,{name:h.name,tint:h.tint,ini:h.ini}),h?.name]})]}),e.jsxs("div",{className:"rh-fact",children:[e.jsx("span",{className:"rh-fact__k",children:s("panel.reason")}),e.jsx("span",{className:"rh-fact__v",children:z(m.reason)})]}),m.deskNote!==null&&e.jsxs("div",{className:"rh-fact",children:[e.jsx("span",{className:"rh-fact__k",children:s("panel.desknote")}),e.jsx("span",{className:"rh-fact__v",children:z(m.deskNote)})]})]}),e.jsx("div",{className:"rh-label",style:{marginBlockStart:16,marginBlockEnd:8},children:s("panel.status")}),e.jsx("div",{className:"rh-chain",children:Q.map((u,v)=>e.jsx("span",{className:`rh-chain__step${v<=es(m.status)?" rh-chain__step--on":""}`,children:V(u)},u))}),a&&e.jsx("p",{className:"rh-honest",style:{marginBlockStart:14},children:V(m.status)}),e.jsxs("div",{className:"rh-panelsheet__actions",children:[m.status==="booked"&&e.jsx(b,{onClick:()=>x(m.id),children:s("panel.checkIn")}),he(m.status)&&e.jsx(b,{onClick:()=>o(m.id),children:s("panel.advance",{status:V(k)})}),e.jsx(b,{tone:"ghost",onClick:()=>d(m.patient),children:s("panel.openPatient")}),m.status==="booked"&&e.jsxs(e.Fragment,{children:[e.jsx(b,{tone:"ghost",onClick:()=>p(m.id),children:s("panel.noShow")}),e.jsx(b,{tone:"danger",onClick:()=>f(m.id),children:s("panel.cancel")})]})]})]})})}function ns(){const{t:s}=y(),n=r(d=>d.cancelRef),t=r(d=>d.appts),i=r(d=>d.now),l=r(d=>d.askCancel),o=r(d=>d.confirmCancel);if(n===null)return null;const x=t.find(d=>d.id===n);if(!x)return null;const p=Oe(x,i),f=F(x.clinician);return e.jsx("div",{className:"rh-modal-scrim",onClick:d=>{d.target===d.currentTarget&&l(null)},children:e.jsxs("div",{className:"rh-modal",role:"dialog","aria-modal":"true","aria-label":s("cancel.title",{ref:x.id}),children:[e.jsx("h2",{className:"rh-modal__title",children:s("cancel.title",{ref:x.id})}),e.jsx("p",{className:"rh-panel__sub",children:s("cancel.body",{when:`${P(x.date)}, ${S(x.start)}`,clinician:f?.name??""})}),p&&e.jsxs("div",{className:"rh-warnbox",children:[e.jsx(ke,{size:16,"aria-hidden":"true"}),e.jsxs("div",{children:[e.jsx("strong",{children:s("cancel.late.title")}),e.jsx("p",{children:s("cancel.late.body")})]})]}),e.jsxs("div",{className:"rh-modal__actions",children:[e.jsx(b,{tone:"ghost",onClick:()=>l(null),children:s("chrome.action.keep")}),e.jsx(b,{tone:"danger",onClick:o,children:s("cancel.confirm")})]})]})})}function as(){const{t:s}=y(),n=r(a=>a.cardFor),t=r(a=>a.openCard),i=r(a=>a.payCard),l=r(a=>a.charges),o=r(a=>a.payments),x=r(a=>a.appts),p=r(a=>a.confirmedRef),[f,d]=_.useState(""),[m,h]=_.useState(""),[N,j]=_.useState("");if(_.useEffect(()=>{n!==null&&(d(""),h(""),j(""))},[n]),n===null)return null;const k=(()=>{if(n==="booking"){const u=x.find(v=>v.id===p);return u?O(C,u.type).fee:0}const a=l.find(u=>u.id===n);return a?a.amount-o.filter(u=>u.charge===a.id).reduce((u,v)=>u+v.amount,0):0})();return e.jsx("div",{className:"rh-modal-scrim",onClick:a=>{a.target===a.currentTarget&&t(null)},children:e.jsxs("div",{className:"rh-modal",role:"dialog","aria-modal":"true","aria-label":s("card.title",{amount:E(k)}),children:[e.jsx("h2",{className:"rh-modal__title",children:s("card.title",{amount:E(k)})}),e.jsxs("div",{className:"rh-demobox",children:[e.jsx(ge,{size:16,"aria-hidden":"true"}),e.jsx("span",{children:s("card.demo")})]}),e.jsxs("div",{className:"rh-cardform",children:[e.jsx(g,{label:s("card.number"),children:e.jsx("input",{className:"rh-input rh-fld rh-mono",value:f,inputMode:"numeric",placeholder:"4242 4242 4242 4242",onChange:a=>d(a.target.value)})}),e.jsxs("div",{className:"rh-cardform__row",children:[e.jsx(g,{label:s("card.expiry"),children:e.jsx("input",{className:"rh-input rh-fld rh-mono",value:m,placeholder:"04/29",onChange:a=>h(a.target.value)})}),e.jsx(g,{label:s("card.cvc"),children:e.jsx("input",{className:"rh-input rh-fld rh-mono",value:N,placeholder:"123",onChange:a=>j(a.target.value)})})]})]}),e.jsxs("div",{className:"rh-modal__actions",children:[e.jsx(b,{tone:"ghost",onClick:()=>t(null),children:s("card.cancel")}),e.jsx(b,{onClick:i,children:s("card.pay",{amount:E(k)})})]})]})})}const ts=[{view:"daysheet",labelKey:"chrome.nav.daysheet",icon:we},{view:"waiting",labelKey:"chrome.nav.waiting",icon:Se},{view:"patients",labelKey:"chrome.nav.patients",icon:Z},{view:"accounts",labelKey:"chrome.nav.accounts",icon:ze},{view:"recalls",labelKey:"chrome.nav.recalls",icon:oe},{view:"settings",labelKey:"chrome.nav.settings",icon:Ie}];function te({onPick:s}){const{t:n}=y(),t=r(l=>l.view),i=r(l=>l.go);return e.jsx("nav",{className:"rh-sidebar__nav","aria-label":n("chrome.brand.desk"),children:ts.map(l=>{const o=l.icon;return e.jsxs("button",{type:"button",className:"rh-navitem","aria-current":t===l.view?"page":void 0,onClick:()=>{i(l.view),s?.()},children:[e.jsx(o,{size:16,"aria-hidden":"true"}),n(l.labelKey)]},l.view)})})}function ie(){const{t:s}=y();return e.jsxs("div",{className:"rh-sidebar__brand",children:[e.jsx("span",{className:"rh-sidebar__mark","aria-hidden":"true",children:e.jsx(Z,{size:18})}),e.jsxs("span",{children:[e.jsx("span",{className:"rh-sidebar__name",children:s("chrome.brand")}),e.jsx("span",{className:"rh-sidebar__sub",style:{display:"block"},children:s("chrome.brand.desk")})]})]})}function re(){const{t:s}=y();return e.jsxs("div",{className:"rh-sidebar__foot",children:[s("chrome.footer.copy"),e.jsx("span",{className:"rh-sidebar__chip rh-mono",children:s("chrome.footer.chip")})]})}function xe(){const{t:s}=y(),n=r(i=>i.theme),t=r(i=>i.toggleTheme);return e.jsx("button",{type:"button",className:"rh-iconbtn rh-btn",onClick:t,"aria-label":s(n==="dark"?"chrome.dock.theme.light":"chrome.dock.theme.dark"),children:n==="dark"?e.jsx(De,{size:16,"aria-hidden":"true"}):e.jsx(Pe,{size:16,"aria-hidden":"true"})})}function is(){const{t:s}=y(),[n,t]=_.useState(""),[i,l]=_.useState(!1),o=r(d=>d.openPatient),x=r(d=>d.now),p=n.trim().toLowerCase(),f=_.useMemo(()=>p.length<2?null:Re.filter(d=>d.name.toLowerCase().includes(p)).slice(0,6),[p]);return e.jsxs("div",{className:"rh-topbar__search",children:[e.jsx(J,{size:15,"aria-hidden":"true"}),e.jsx("input",{className:"rh-topbar__input rh-fld",type:"search",value:n,placeholder:s("chrome.search.placeholder"),"aria-label":s("chrome.search.label"),onChange:d=>{t(d.target.value),l(!0)},onFocus:()=>l(!0),onBlur:()=>window.setTimeout(()=>l(!1),140)}),i&&f!==null&&e.jsxs("div",{className:"rh-searchpop rh-scroll",children:[f.length===0&&e.jsx("p",{className:"rh-searchpop__empty",children:s("chrome.search.empty",{query:n})}),f.length>0&&e.jsx("div",{className:"rh-searchpop__group",children:s("chrome.search.patients")}),f.map(d=>e.jsxs("button",{type:"button",className:"rh-searchpop__row",onMouseDown:()=>{o(d.id),t("")},children:[e.jsx(A,{name:d.name,tint:T.tint,ini:d.ini}),e.jsx("span",{style:{minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},children:d.name}),e.jsx("span",{className:"rh-searchpop__meta rh-mono",children:Be(d.dob,x.date)})]},d.id))]})]})}function rs(){const{t:s}=y(),n=be();return n===null?null:n.source==="fallback"?e.jsx("span",{className:"rh-chip",title:s("chrome.utc.why"),children:s("chrome.utc.notice")}):e.jsx("span",{className:"rh-chip",title:s("chrome.zone.why",{zone:n.zone}),children:s("chrome.zone.notice",{zone:n.zone})})}function ls({children:s}){const{t:n}=y(),t=r(l=>l.navOpen),i=r(l=>l.setNavOpen);return e.jsxs("div",{className:"rh-app",children:[e.jsxs("aside",{className:"rh-sidebar",children:[e.jsx(ie,{}),e.jsx(te,{}),e.jsx(re,{})]}),t&&e.jsxs(e.Fragment,{children:[e.jsx("button",{type:"button",className:"rh-scrim","aria-label":n("chrome.menu.close"),onClick:()=>i(!1)}),e.jsxs("div",{className:"rh-sheet",role:"dialog","aria-modal":"true","aria-label":n("chrome.brand"),children:[e.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[e.jsx(ie,{}),e.jsx("button",{type:"button",className:"rh-iconbtn rh-btn",style:{marginInlineStart:"auto",marginInlineEnd:12},onClick:()=>i(!1),"aria-label":n("chrome.menu.close"),children:e.jsx(Y,{size:17,"aria-hidden":"true"})})]}),e.jsx(te,{onPick:()=>i(!1)}),e.jsx(re,{})]})]}),e.jsxs("div",{className:"rh-main",children:[e.jsxs("header",{className:"rh-topbar",children:[e.jsx("button",{type:"button",className:"rh-iconbtn rh-btn rh-narrow-only",onClick:()=>i(!0),"aria-label":n("chrome.menu.open"),children:e.jsx(Ce,{size:18,"aria-hidden":"true"})}),e.jsx(is,{}),e.jsx("div",{className:"rh-topbar__spacer"}),e.jsx(rs,{}),e.jsx(xe,{}),e.jsxs("span",{className:"rh-userchip",children:[e.jsx(A,{name:T.name,tint:T.tint,ini:T.ini}),e.jsx("span",{className:"rh-wide-only",children:T.name})]})]}),e.jsx("main",{className:"rh-content",id:"main",children:s})]})]})}function cs({children:s}){const{t:n}=y(),t=r(o=>o.view),i=r(o=>o.go),l=[{view:"find",key:"chrome.nav.book"},{view:"myvisits",key:"chrome.nav.myvisits"},{view:"notfound",key:"chrome.nav.findus"}];return e.jsxs("div",{className:"rh-site",children:[e.jsxs("header",{className:"rh-site__head",children:[e.jsxs("button",{type:"button",className:"rh-site__brand",onClick:()=>i("find"),children:[e.jsx("span",{className:"rh-site__mark","aria-hidden":"true",children:e.jsx(Z,{size:17})}),e.jsxs("span",{children:[e.jsx("span",{className:"rh-site__wordmark",children:n("chrome.brand")}),e.jsx("span",{className:"rh-site__tag",children:n("chrome.brand.site")})]})]}),e.jsx("nav",{className:"rh-site__nav","aria-label":n("chrome.brand.site"),children:l.map(o=>e.jsx("button",{type:"button",className:"rh-site__link","aria-current":t===o.view?"page":void 0,onClick:()=>i(o.view),children:n(o.key)},o.key))}),e.jsx("div",{style:{marginInlineStart:"auto"},children:e.jsx(xe,{})})]}),e.jsx("main",{className:"rh-site__body",id:"main",children:s}),e.jsxs("footer",{className:"rh-site__foot",children:[e.jsxs("span",{className:"rh-site__where",children:[e.jsx(ce,{size:13,"aria-hidden":"true"}),me]}),e.jsx("span",{children:n("chrome.footer.copy")}),e.jsx("span",{className:"rh-sidebar__chip rh-mono",children:n("chrome.footer.chip")})]})]})}function os({children:s}){return e.jsx("div",{className:"rh-embedded",children:e.jsx("main",{className:"rh-content",id:"main",children:s})})}function ds({children:s}){const n=r(t=>t.persona);return Je()?e.jsx(os,{children:s}):n==="clinic"?e.jsx(ls,{children:s}):e.jsx(cs,{children:s})}function hs(s){const n=s.classPrefix;return{slotFill:`.${n}-slot-fill`,slotSpare:`.${n}-slot-spare`,dock:`.${n}-dock`,shelfEntry:`.${n}-addon-card, .${n}-addon-row`,...s.selectors}}const ms=["img","picture","svg","canvas","video","iframe","object","embed","input","select","textarea","button","progress","meter","hr","math"],us=/^rgba\(\s*0\s*,\s*0\s*,\s*0\s*,\s*0\s*\)$/i,$=s=>s==null||s===""||s==="none",ps=["top","right","bottom","left","block-start","block-end","inline-start","inline-end"];function xs(s){if(!$(s.backgroundImage))return!0;const n=s.backgroundColor;if(!$(n)&&n!=="transparent"&&!us.test(n)||!$(s.boxShadow))return!0;for(const i of ps){const l=s.getPropertyValue(`border-${i}-width`),o=s.getPropertyValue(`border-${i}-style`);if(!$(o)&&o!=="hidden"&&l!==""&&parseFloat(l)>0)return!0}const t=s.outlineWidth;return!$(s.outlineStyle)&&t!==""&&parseFloat(t)>0}const G=/(?:^|;)\s*(background(?:-color|-image)?|box-shadow|outline|border(?:-(?:block|inline)-(?:start|end)|-top|-right|-bottom|-left)?)\s*:\s*([^;]+)/gi;function js(s){const n=s.getAttribute("style");if(n===null||n==="")return!1;G.lastIndex=0;for(let t=G.exec(n);t!==null;t=G.exec(n)){const i=(t[2]??"").trim().toLowerCase();if(!(i===""||i==="none"||i==="0"||i==="transparent")&&!(/^0(?:[a-z%]*)?(?:\s|$)/.test(i)&&t[1]?.startsWith("border")===!0))return!0}return!1}let L=null;function fs(s,n){if(L===!1)return!1;for(const t of["::before","::after"]){let i="";try{i=s.getComputedStyle(n,t).content}catch{i=""}if(L===null&&i!==""&&(L=!0),!$(i)&&i!=="normal"&&i!=='""'&&i!=="''")return!0}return L===null&&(L=!1),!1}function je(s){if(s.nodeType===3)return/\S/.test(s.nodeValue??"");if(s.nodeType!==1)return!1;const n=s;if(n.hasAttribute("hidden"))return!1;const t=n.ownerDocument?.defaultView??null;let i=null;if(t!==null&&(i=t.getComputedStyle(n),i.display==="none"||i.visibility==="hidden"||i.visibility==="collapse"))return!1;if(ms.includes(n.localName)||i!==null&&xs(i)||js(n))return!0;for(const l of Array.from(n.childNodes))if(je(l))return!0;return!!(t!==null&&fs(t,n))}const Ns=s=>hs(s);function le(s,n){const t=/^\.([A-Za-z_-][\w-]*)$/.exec(s.trim());if(t===null)throw new Error(`host-kit: selectors.${n} must be one plain class selector (got ${JSON.stringify(s)}). AddOnSlot renders it as a className and the stylesheet keys off it; anything else would make the markup and the rule disagree silently.`);return t[1]}function bs(s,n){const t=Ns(s),i=le(t.slotFill,"slotFill"),l=le(t.slotSpare,"slotSpare");function o({slot:p,children:f}){const d=_.useRef(null),[m,h]=_.useState(!0);return _.useLayoutEffect(()=>{const N=d.current;if(N===null)return;const j=()=>h(je(N));if(j(),typeof MutationObserver>"u")return;const k=new MutationObserver(a=>{a.every(v=>v.type==="attributes"&&v.target===N&&v.attributeName==="data-drew")||j()});return k.observe(N,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),()=>k.disconnect()}),e.jsx("div",{ref:d,className:i,"data-add-on-slot":p,"data-drew":m?void 0:"none",children:f})}function x({slot:p,payload:f,forAddOn:d,fallback:m,wrap:h}){const{fills:N,settings:j}=n(p,d);if(N.length===0)return e.jsx(e.Fragment,{children:m??null});const k=N.map((v,I)=>e.jsx(o,{slot:p,children:v.fill.render({...f,settings:j[v.addOn]??{}})},`${p}-${I}`)),a=m===void 0?null:e.jsx("div",{className:l,children:m},`${p}-spare`),u=a===null?k:[...k,a];return e.jsx(e.Fragment,{children:h?h(u):u})}return{AddOnSlot:x,SlotFill:o}}decodeURIComponent(new URL("../../",import.meta.url).pathname).replace(/\/$/,"");const vs={classPrefix:"rh"},_s=(s,n)=>({fills:r(t=>t.registry).fillsFor(s,r(t=>t.enabled),n),settings:r(t=>t.addOnSettings)});bs(vs,_s);function fe(){const{t:s}=y(),n=r(l=>l.go),i=r(l=>l.persona)==="clinic";return e.jsx("div",{className:"rh-screen rh-column",children:e.jsx(H,{icon:e.jsx(Ee,{size:22,"aria-hidden":"true"}),title:s("notfound.title"),body:s("notfound.body"),action:e.jsx(b,{onClick:()=>n(i?"daysheet":"find"),children:s(i?"notfound.action":"notfound.actionPatient")})})})}function ys(s){return(s[0]??[]).map((t,i)=>{const l=s.map(p=>p[i]),o=l.findIndex(p=>p?.available),x=o>=0?null:l.some(p=>p?.blocked==="taken")?"taken":"past";return{start:t.start,end:t.end,available:o>=0,blocked:x,who:o>=0?o:null}})}function ks(){const{t:s}=y(),n=r(a=>a.draft),t=r(a=>a.setDraft),i=r(a=>a.pickSlot),l=r(a=>a.appts),o=r(a=>a.now),x=r(a=>a.go),p=We(),f=_.useMemo(()=>n.clinician==="any"?ne(B,n.type):B.filter(a=>a.id===n.clinician&&a.offers.includes(n.type)),[n.clinician,n.type]),d=O(C,n.type),m=_.useMemo(()=>Ue(o.date,10,p),[o.date,p]),h=_.useMemo(()=>!He(n.day,p)||f.length===0?[]:ys(f.filter(a=>!qe(p,a.id,n.day)).map(a=>Ge(l,C,a.id,n.day,n.type,o))),[l,f,n.day,n.type,o,p]),N=h.filter(a=>a.available).length,j=_.useMemo(()=>N>0?null:Qe(l,B,C,n.clinician,n.day,n.type,o,p),[N,l,n.clinician,n.day,n.type,o,p]),k=n.slotClinician!==null?F(n.slotClinician):null;return e.jsxs("div",{className:"rh-screen rh-column",children:[e.jsxs("header",{className:"rh-head",children:[e.jsx("h1",{className:"rh-head__title",children:s("find.title")}),e.jsx("p",{className:"rh-head__sub",children:s("find.sub")})]}),e.jsx(w,{title:s("find.step.reason"),children:e.jsx("div",{className:"rh-typegrid",children:C.map(a=>e.jsxs("button",{type:"button",className:"rh-typecard rh-card","aria-pressed":n.type===a.id,onClick:()=>t({type:a.id}),children:[e.jsx("span",{className:"rh-typecard__dot",style:{background:a.tint},"aria-hidden":"true"}),e.jsx("span",{className:"rh-typecard__name",children:z(a.label)}),e.jsx("span",{className:"rh-typecard__blurb",children:z(a.blurb)}),e.jsx("span",{className:"rh-typecard__meta rh-mono",children:s("find.feeLine",{fee:E(a.fee),length:K(a.minutes)})})]},a.id))})}),e.jsx(w,{title:s("find.step.clinician"),children:e.jsxs("div",{className:"rh-whogrid",children:[e.jsxs("button",{type:"button",className:"rh-who rh-card","aria-pressed":n.clinician==="any",onClick:()=>t({clinician:"any"}),children:[e.jsx("span",{className:"rh-who__ini rh-who__ini--any","aria-hidden":"true",children:e.jsx($e,{size:16})}),e.jsxs("span",{children:[e.jsx("span",{className:"rh-who__name",children:s("find.any")}),e.jsx("span",{className:"rh-who__role",children:s("find.any.role")})]})]}),ne(B,n.type).map(a=>e.jsxs("button",{type:"button",className:"rh-who rh-card","aria-pressed":n.clinician===a.id,onClick:()=>t({clinician:a.id}),children:[e.jsx(A,{name:a.name,tint:a.tint,ini:a.ini,large:!0}),e.jsxs("span",{children:[e.jsx("span",{className:"rh-who__name",children:a.name}),e.jsx("span",{className:"rh-who__role",children:z(a.role)})]})]},a.id))]})}),e.jsx(w,{title:s("find.step.day"),subtitle:s("find.weekend"),children:e.jsx("div",{className:"rh-strip rh-scroll",children:m.map(a=>e.jsxs("button",{type:"button",className:`rh-day${a.working?"":" rh-day--off"}`,"aria-pressed":n.day===a.iso,disabled:!a.working,title:a.closedFor===null?void 0:s("find.closedFor",{reason:a.closedFor}),onClick:()=>t({day:a.iso}),children:[e.jsx("span",{className:"rh-day__wd",children:Ye(a.iso)}),e.jsx("span",{className:"rh-day__n rh-mono",children:Ze(a.iso)}),e.jsx("span",{className:"rh-day__note",children:a.working?pe(a.iso,o.date):s("find.closed")})]},a.iso))})}),e.jsxs(w,{title:s("find.step.slot",{date:P(n.day)}),subtitle:s("find.length",{length:K(d.minutes)}),actions:N>0?e.jsx(D,{tone:"accent",children:s("find.count",{count:N},N)}):void 0,children:[d.minutes>15&&e.jsx("p",{className:"rh-note",children:s("find.longer")}),n.day===o.date&&e.jsx("p",{className:"rh-note",children:s("find.pastNote",{time:S(o.minutes)})}),N===0?e.jsx(H,{icon:e.jsx(de,{size:22,"aria-hidden":"true"}),title:s("find.empty.title",{date:ae(n.day)}),body:j===null?s("find.empty.none"):s("find.empty.body",{next:P(j)}),action:j===null?void 0:e.jsx(b,{onClick:()=>t({day:j}),children:s("find.empty.action",{date:ae(j)})})}):e.jsx("div",{className:"rh-slots",children:h.map(a=>{const u=a.who===null?null:f[a.who],v=n.start===a.start&&n.slotClinician===u?.id;return e.jsxs("button",{type:"button",className:`rh-slot rh-btn${a.available?"":` rh-slot--${a.blocked}`}`,disabled:!a.available,"aria-pressed":v,"aria-label":a.available&&u?s("find.slotLabel",{time:S(a.start),clinician:u.name}):void 0,onClick:()=>u&&i(u.id,a.start),children:[e.jsx("span",{className:"rh-mono",children:S(a.start)}),a.available&&u&&n.clinician==="any"&&e.jsx("span",{className:"rh-slot__who",style:{background:u.tint},"aria-hidden":"true"}),!a.available&&e.jsx("span",{className:"rh-slot__x",children:s(a.blocked==="past"?"find.gone":"find.taken")})]},a.start)})})]}),n.start!==null&&k!==null&&e.jsxs("div",{className:"rh-stickybar",children:[e.jsxs("span",{className:"rh-stickybar__text",children:[e.jsx(M,{children:S(n.start)})," ·"," ",s("find.chosen",{time:S(n.start),clinician:k.name,date:P(n.day)})]}),e.jsx(b,{onClick:()=>x("details"),children:s("find.continue")})]})]})}function gs(){const{t:s}=y(),n=r(h=>h.draft),t=r(h=>h.setDraft),i=r(h=>h.lookupDraft),l=r(h=>h.fillDemoLookup),o=r(h=>h.book),x=r(h=>h.go),p=O(C,n.type),f=n.slotClinician!==null?F(n.slotClinician):null,d=n.matched!==null?ue(n.matched):null,m=n.returning?d!==null:n.name.trim().length>1&&n.dob.length>0&&n.mobile.trim().length>5;return n.start===null||f===null?e.jsx("div",{className:"rh-screen rh-column",children:e.jsx(H,{icon:e.jsx(de,{size:22,"aria-hidden":"true"}),title:s("find.title"),body:s("find.sub"),action:e.jsx(b,{onClick:()=>x("find"),children:s("details.back")})})}):e.jsxs("div",{className:"rh-screen rh-column",children:[e.jsxs("button",{type:"button",className:"rh-backlink",onClick:()=>x("find"),children:[e.jsx(Fe,{size:15,"aria-hidden":"true"}),s("details.back")]}),e.jsxs("header",{className:"rh-head",children:[e.jsx("h1",{className:"rh-head__title",children:s("details.title")}),e.jsx("p",{className:"rh-head__sub",children:s("details.sub")})]}),e.jsxs("div",{className:"rh-twocol",children:[e.jsxs("div",{className:"rh-twocol__main",children:[e.jsxs(w,{title:s("details.been"),children:[e.jsxs("div",{className:"rh-seg rh-seg--full",role:"group","aria-label":s("details.been"),children:[e.jsx("button",{type:"button",className:"rh-seg__btn","aria-pressed":n.returning,onClick:()=>t({returning:!0}),children:s("details.returning")}),e.jsx("button",{type:"button",className:"rh-seg__btn","aria-pressed":!n.returning,onClick:()=>t({returning:!1}),children:s("details.first")})]}),n.returning?e.jsxs("div",{className:"rh-form",style:{marginBlockStart:16},children:[e.jsxs("div",{className:"rh-form__row",children:[e.jsx(g,{label:s("details.mobile"),children:e.jsx("input",{className:"rh-input rh-fld rh-mono",value:n.mobile,inputMode:"tel",onChange:h=>t({mobile:h.target.value})})}),e.jsx(g,{label:s("details.dob"),children:e.jsx("input",{className:"rh-input rh-fld rh-mono",type:"date",value:n.dob,onChange:h=>t({dob:h.target.value})})})]}),e.jsxs("div",{className:"rh-form__actions",children:[e.jsxs(b,{size:"sm",onClick:i,children:[e.jsx(J,{size:14,"aria-hidden":"true"}),s("details.lookup.action")]}),e.jsx(D,{onClick:l,children:s("details.lookup.hint",{mobile:W.mobile,dob:W.dob})})]}),d!==null&&e.jsx("p",{className:"rh-goodline",children:s("details.lookup.found",{name:d.name})}),n.lookupMissed&&d===null&&e.jsx("p",{className:"rh-badline",children:s("details.lookup.miss")})]}):e.jsxs("div",{className:"rh-form",style:{marginBlockStart:16},children:[e.jsx(g,{label:s("details.name"),children:e.jsx("input",{className:"rh-input rh-fld",value:n.name,onChange:h=>t({name:h.target.value})})}),e.jsxs("div",{className:"rh-form__row",children:[e.jsx(g,{label:s("details.dob"),children:e.jsx("input",{className:"rh-input rh-fld rh-mono",type:"date",value:n.dob,onChange:h=>t({dob:h.target.value})})}),e.jsx(g,{label:s("details.mobile"),children:e.jsx("input",{className:"rh-input rh-fld rh-mono",value:n.mobile,inputMode:"tel",onChange:h=>t({mobile:h.target.value})})})]}),e.jsx(g,{label:s("details.email"),children:e.jsx("input",{className:"rh-input rh-fld",type:"email",value:n.email,onChange:h=>t({email:h.target.value})})})]})]}),e.jsxs(w,{title:s("details.reason"),subtitle:s("details.reason.hint"),children:[e.jsx("textarea",{className:"rh-textarea rh-fld",value:n.reason,maxLength:240,"aria-label":s("details.reason"),onChange:h=>t({reason:h.target.value})}),e.jsx("div",{className:"rh-counter rh-mono",children:s("details.counter",{count:n.reason.length})}),e.jsx("div",{style:{marginBlockStart:14},children:e.jsx(g,{label:s("details.desknote"),hint:s("details.desknote.hint"),children:e.jsx("input",{className:"rh-input rh-fld",value:n.deskNote,onChange:h=>t({deskNote:h.target.value})})})})]})]}),e.jsx("aside",{className:"rh-rail",children:e.jsxs(w,{title:s("details.summary"),children:[e.jsxs("div",{className:"rh-facts",children:[e.jsxs("div",{className:"rh-fact",children:[e.jsx("span",{className:"rh-fact__k",children:s("details.summary.clinician")}),e.jsxs("span",{className:"rh-fact__v",children:[e.jsx(A,{name:f.name,tint:f.tint,ini:f.ini}),f.name]})]}),e.jsxs("div",{className:"rh-fact",children:[e.jsx("span",{className:"rh-fact__k",children:s("details.summary.date")}),e.jsx("span",{className:"rh-fact__v",children:P(n.day)})]}),e.jsxs("div",{className:"rh-fact",children:[e.jsx("span",{className:"rh-fact__k",children:s("details.summary.time")}),e.jsx("span",{className:"rh-fact__v rh-mono",children:U(n.start,n.start+p.minutes)})]}),e.jsxs("div",{className:"rh-fact",children:[e.jsx("span",{className:"rh-fact__k",children:s("details.summary.length")}),e.jsx("span",{className:"rh-fact__v rh-mono",children:K(p.minutes)})]}),e.jsxs("div",{className:"rh-fact",children:[e.jsx("span",{className:"rh-fact__k",children:s("details.summary.fee")}),e.jsx("span",{className:"rh-fact__v rh-mono",children:E(p.fee)})]})]}),e.jsx("p",{className:"rh-payline",children:s("details.summary.payline")}),e.jsx(b,{className:"rh-full",disabled:!m,onClick:o,children:s("details.confirm")}),!m&&e.jsx("p",{className:"rh-note",children:s("details.blocked")})]})})]})]})}function Cs(){const{t:s}=y(),n=r(j=>j.confirmedRef),t=r(j=>j.confirmedPaid),i=r(j=>j.appts),l=r(j=>j.openCard),o=r(j=>j.payAtDesk),x=r(j=>j.toast),p=r(j=>j.go),[f,d]=_.useState(!1),m=i.find(j=>j.id===n);if(!m)return e.jsx("div",{className:"rh-screen rh-column",children:e.jsx(H,{icon:e.jsx(se,{size:22,"aria-hidden":"true"}),title:s("find.title"),action:e.jsx(b,{onClick:()=>p("find"),children:s("notfound.actionPatient")})})});const h=F(m.clinician),N=O(C,m.type);return e.jsxs("div",{className:"rh-screen rh-column rh-narrowcol",children:[e.jsxs("div",{className:"rh-done",children:[e.jsx("span",{className:"rh-done__tick","aria-hidden":"true",children:e.jsx(se,{size:38})}),e.jsx("h1",{className:"rh-head__title",children:s("confirm.title")}),e.jsx("p",{className:"rh-head__sub",children:s("confirm.sub")})]}),e.jsxs(w,{children:[e.jsxs("div",{className:"rh-facts",children:[e.jsxs("div",{className:"rh-fact",children:[e.jsx("span",{className:"rh-fact__k",children:s("confirm.ref")}),e.jsx("span",{className:"rh-fact__v rh-mono rh-ref",children:m.id})]}),e.jsxs("div",{className:"rh-fact",children:[e.jsx("span",{className:"rh-fact__k",children:s("confirm.clinician")}),e.jsxs("span",{className:"rh-fact__v",children:[h!==null&&e.jsx(A,{name:h.name,tint:h.tint,ini:h.ini}),h?.name]})]}),e.jsxs("div",{className:"rh-fact",children:[e.jsx("span",{className:"rh-fact__k",children:s("confirm.when")}),e.jsxs("span",{className:"rh-fact__v",children:[P(m.date)," ·"," ",e.jsx(M,{children:U(m.start,X(m,C))})]})]}),e.jsxs("div",{className:"rh-fact",children:[e.jsx("span",{className:"rh-fact__k",children:s("confirm.where")}),e.jsxs("span",{className:"rh-fact__v",children:[e.jsx(ce,{size:14,"aria-hidden":"true"}),me]})]})]}),e.jsx("div",{className:"rh-form__actions",style:{marginBlockStart:14},children:e.jsxs(D,{onClick:()=>x(s("chrome.toast.calendar"),"info"),children:[e.jsx(oe,{size:13,"aria-hidden":"true"}),s("confirm.calendar")]})})]}),t?e.jsx("p",{className:"rh-goodline",children:s("confirm.paid")}):e.jsxs("div",{className:"rh-payrow",children:[e.jsxs(b,{onClick:()=>l("booking"),children:[s("confirm.payNow")," · ",e.jsx(M,{children:E(N.fee)})]}),e.jsx(b,{tone:"ghost",onClick:()=>{d(!0),o()},children:s("confirm.payDesk")})]}),f&&!t&&e.jsx("p",{className:"rh-note",children:s("confirm.deskChosen")}),e.jsx("p",{className:"rh-honest",children:s("confirm.cancelLine")}),e.jsx(b,{tone:"ghost",onClick:()=>p("myvisits"),children:s("confirm.myvisits")})]})}function ws(){const{t:s}=y(),n=r(c=>c.lookupMobile),t=r(c=>c.lookupDob),i=r(c=>c.lookedUp),l=r(c=>c.lookupMissed),o=r(c=>c.setLookup),x=r(c=>c.runLookup),p=r(c=>c.fillDemoMyVisits),f=r(c=>c.clearLookup),d=r(c=>c.appts),m=r(c=>c.charges),h=r(c=>c.payments),N=r(c=>c.now),j=r(c=>c.askCancel),k=r(c=>c.reschedule),a=r(c=>c.openCard),u=r(c=>c.go),v=i!==null?ue(i):null,I=_.useMemo(()=>v===null?null:Ve(d,v.id,N),[v,d,N]);return v===null||I===null?e.jsxs("div",{className:"rh-screen rh-column rh-narrowcol",children:[e.jsxs("header",{className:"rh-head",children:[e.jsx("h1",{className:"rh-head__title",children:s("myvisits.title")}),e.jsx("p",{className:"rh-head__sub",children:s("myvisits.sub")})]}),e.jsx(w,{title:s("myvisits.lookup"),children:e.jsxs("div",{className:"rh-form",children:[e.jsxs("div",{className:"rh-form__row",children:[e.jsx(g,{label:s("details.mobile"),children:e.jsx("input",{className:"rh-input rh-fld rh-mono",value:n,inputMode:"tel",onChange:c=>o({mobile:c.target.value})})}),e.jsx(g,{label:s("details.dob"),children:e.jsx("input",{className:"rh-input rh-fld rh-mono",type:"date",value:t,onChange:c=>o({dob:c.target.value})})})]}),e.jsxs("div",{className:"rh-form__actions",children:[e.jsxs(b,{size:"sm",onClick:x,children:[e.jsx(J,{size:14,"aria-hidden":"true"}),s("details.lookup.action")]}),e.jsx(D,{onClick:p,children:s("details.lookup.hint",{mobile:W.mobile,dob:W.dob})})]}),l&&e.jsx("p",{className:"rh-badline",children:s("details.lookup.miss")})]})})]}):e.jsxs("div",{className:"rh-screen rh-column rh-narrowcol",children:[e.jsxs("header",{className:"rh-head",children:[e.jsx("h1",{className:"rh-head__title",children:s("myvisits.title")}),e.jsx("p",{className:"rh-head__sub",children:v.name})]}),e.jsxs(w,{title:s("myvisits.upcoming"),children:[I.upcoming.length===0&&e.jsx("p",{className:"rh-note",children:s("myvisits.none")}),I.upcoming.map(c=>{const q=F(c.clinician);return e.jsxs("div",{className:"rh-visit rh-card",children:[e.jsxs("div",{className:"rh-visit__when",children:[e.jsx("span",{className:"rh-mono rh-visit__time",children:S(c.start)}),e.jsx("span",{className:"rh-visit__date",children:P(c.date)})]}),e.jsxs("div",{className:"rh-visit__body",children:[e.jsx("span",{className:"rh-visit__reason",children:z(c.reason)}),e.jsxs("span",{className:"rh-visit__meta",children:[s("myvisits.with",{clinician:q?.name??""})," ·"," ",e.jsx(M,{children:U(c.start,X(c,C))})]})]}),e.jsxs("div",{className:"rh-visit__actions",children:[e.jsx(b,{size:"sm",tone:"ghost",onClick:()=>k(c.id),children:s("myvisits.reschedule")}),e.jsx(b,{size:"sm",tone:"ghost",onClick:()=>j(c.id),children:s("myvisits.cancel")})]})]},c.id)})]}),e.jsxs(w,{title:s("myvisits.past"),children:[I.past.length===0&&e.jsx("p",{className:"rh-note",children:s("myvisits.nonePast")}),I.past.map(c=>{const q=F(c.clinician),R=m.find(Ne=>Ne.appt===c.id),ee=R?Ke(R,h):0;return e.jsxs("div",{className:"rh-visit rh-card",children:[e.jsxs("div",{className:"rh-visit__when",children:[e.jsx("span",{className:"rh-mono rh-visit__time",children:S(c.start)}),e.jsx("span",{className:"rh-visit__date",children:pe(c.date,N.date)})]}),e.jsxs("div",{className:"rh-visit__body",children:[e.jsx("span",{className:"rh-visit__reason",children:z(c.reason)}),e.jsx("span",{className:"rh-visit__meta",children:s("myvisits.with",{clinician:q?.name??""})}),(c.lateCancel===!0||c.status==="cancelled"||c.status==="no_show")&&e.jsxs("span",{style:{marginBlockStart:6,display:"inline-flex",gap:6},children:[e.jsx(D,{children:V(c.status)}),c.lateCancel===!0&&e.jsx(D,{children:s("chrome.status.late")})]})]}),e.jsx("div",{className:"rh-visit__actions",children:R!==void 0&&(ee>0?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"rh-owed rh-mono",children:s("myvisits.owes",{amount:E(ee)})}),e.jsx(b,{size:"sm",onClick:()=>a(R.id),children:s("chrome.action.pay")})]}):e.jsx(D,{tone:"pos",children:s("myvisits.settled")}))})]},c.id)})]}),e.jsxs("div",{className:"rh-payrow",children:[e.jsx(b,{onClick:()=>u("find"),children:s("myvisits.book")}),e.jsx(b,{tone:"ghost",onClick:f,children:s("myvisits.switch")})]})]})}const Ss={find:ks,details:gs,confirm:Cs,myvisits:ws},zs={...Ss,notfound:fe};function Is(){const s=r(t=>t.view),n=zs[s]??fe;return e.jsx(n,{})}function As(){const s=r(x=>x.initTheme),n=r(x=>x.escape),{locale:t,t:i,money:l,number:o}=y();return _e(t,i,l),_.useEffect(()=>{s()},[s]),_.useEffect(()=>{const x=p=>{p.key==="Escape"&&n()};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[n]),e.jsxs(e.Fragment,{children:[e.jsx("a",{className:"rh-sr-only",href:"#main",children:i("chrome.skipToContent")}),e.jsx(ds,{children:e.jsx(Is,{})}),ve,e.jsx(Xe,{}),e.jsx(ss,{}),e.jsx(ns,{}),e.jsx(as,{})]})}export{As as default};
@@ -0,0 +1 @@
1
+ const h=1;let c=!1;function E(){return c}const g=250,l={embedded:!1,navigated:()=>{},detach:()=>{}};async function R(f,w,p,n={}){if(c=!1,typeof window>"u"||window.parent===window)return l;const a=window.location.origin,e=await new Promise(i=>{let o=!1;const t=s=>{o||(o=!0,window.clearTimeout(v),window.removeEventListener("message",u),i(s))},u=s=>{if(s.origin!==a)return;const d=s.data;if(d===null||typeof d!="object"||d.type!=="adminium:host:init")return;const r=d;if(r.v!==1){console.error(`[adminium] surface bridge version mismatch: the host speaks v${String(r.v)}, this build speaks v${String(1)}. Rendering the app's own chrome instead. Rebuild the surface, or update Adminium.`),t(null);return}t(r)},v=window.setTimeout(()=>t(null),g);window.addEventListener("message",u),window.parent.postMessage({type:"adminium:surface:hello",v:1,appKey:f,side:w,path:p},a)});if(e===null)return l;c=!0,e.persona!==void 0&&n.onPersona?.(e.persona),e.locale!==void 0&&n.onLocale?.(e.locale),e.theme!==void 0&&n.onTheme?.(e.theme),e.path!==void 0&&e.path!==""&&n.onPath?.(e.path);const m=i=>{if(i.origin!==a)return;const o=i.data;if(o===null||typeof o!="object"||o.type!=="adminium:host:set")return;const t=o;t.theme!==void 0&&n.onTheme?.(t.theme),t.locale!==void 0&&n.onLocale?.(t.locale),t.path!==void 0&&n.onPath?.(t.path)};return window.addEventListener("message",m),{embedded:!0,navigated:i=>{window.parent.postMessage({type:"adminium:surface:navigate",v:1,path:i},a)},detach:()=>window.removeEventListener("message",m)}}export{h as BRIDGE_VERSION,R as connectToHost,E as isEmbedded};
@@ -0,0 +1 @@
1
+ function ee(f){return f&&f.__esModule&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f}var O={exports:{}},r={};var D;function te(){if(D)return r;D=1;var f=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),k=Symbol.for("react.consumer"),x=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),Z=Symbol.for("react.activity"),b=Symbol.iterator;function G(e){return e===null||typeof e!="object"?null:(e=b&&e[b]||e["@@iterator"],typeof e=="function"?e:null)}var L={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$=Object.assign,q={};function v(e,t,o){this.props=e,this.context=t,this.refs=q,this.updater=o||L}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function N(){}N.prototype=v.prototype;function w(e,t,o){this.props=e,this.context=t,this.refs=q,this.updater=o||L}var A=w.prototype=new N;A.constructor=w,$(A,v.prototype),A.isPureReactComponent=!0;var z=Array.isArray;function S(){}var c={H:null,A:null,T:null,S:null},I=Object.prototype.hasOwnProperty;function j(e,t,o){var n=o.ref;return{$$typeof:f,type:e,key:t,ref:n!==void 0?n:null,props:o}}function W(e,t){return j(e.type,t,e.props)}function H(e){return typeof e=="object"&&e!==null&&e.$$typeof===f}function X(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(o){return t[o]})}var Y=/\/+/g;function P(e,t){return typeof e=="object"&&e!==null&&e.key!=null?X(""+e.key):t.toString(36)}function Q(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(S,S):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function m(e,t,o,n,u){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(s){case"bigint":case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case f:case y:i=!0;break;case C:return i=e._init,m(i(e._payload),t,o,n,u)}}if(i)return u=u(e),i=n===""?"."+P(e,0):n,z(u)?(o="",i!=null&&(o=i.replace(Y,"$&/")+"/"),m(u,t,o,"",function(F){return F})):u!=null&&(H(u)&&(u=W(u,o+(u.key==null||e&&e.key===u.key?"":(""+u.key).replace(Y,"$&/")+"/")+i)),t.push(u)),1;i=0;var l=n===""?".":n+":";if(z(e))for(var p=0;p<e.length;p++)n=e[p],s=l+P(n,p),i+=m(n,t,o,s,u);else if(p=G(e),typeof p=="function")for(e=p.call(e),p=0;!(n=e.next()).done;)n=n.value,s=l+P(n,p++),i+=m(n,t,o,s,u);else if(s==="object"){if(typeof e.then=="function")return m(Q(e),t,o,n,u);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return i}function M(e,t,o){if(e==null)return e;var n=[],u=0;return m(e,n,"","",function(s){return t.call(o,s,u++)}),n}function J(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(o){(e._status===0||e._status===-1)&&(e._status=1,e._result=o)},function(o){(e._status===0||e._status===-1)&&(e._status=2,e._result=o)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var U=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},V={map:M,forEach:function(e,t,o){M(e,function(){t.apply(this,arguments)},o)},count:function(e){var t=0;return M(e,function(){t++}),t},toArray:function(e){return M(e,function(t){return t})||[]},only:function(e){if(!H(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};return r.Activity=Z,r.Children=V,r.Component=v,r.Fragment=h,r.Profiler=E,r.PureComponent=w,r.StrictMode=d,r.Suspense=T,r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,r.__COMPILER_RUNTIME={__proto__:null,c:function(e){return c.H.useMemoCache(e)}},r.cache=function(e){return function(){return e.apply(null,arguments)}},r.cacheSignal=function(){return null},r.cloneElement=function(e,t,o){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var n=$({},e.props),u=e.key;if(t!=null)for(s in t.key!==void 0&&(u=""+t.key),t)!I.call(t,s)||s==="key"||s==="__self"||s==="__source"||s==="ref"&&t.ref===void 0||(n[s]=t[s]);var s=arguments.length-2;if(s===1)n.children=o;else if(1<s){for(var i=Array(s),l=0;l<s;l++)i[l]=arguments[l+2];n.children=i}return j(e.type,u,n)},r.createContext=function(e){return e={$$typeof:x,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:k,_context:e},e},r.createElement=function(e,t,o){var n,u={},s=null;if(t!=null)for(n in t.key!==void 0&&(s=""+t.key),t)I.call(t,n)&&n!=="key"&&n!=="__self"&&n!=="__source"&&(u[n]=t[n]);var i=arguments.length-2;if(i===1)u.children=o;else if(1<i){for(var l=Array(i),p=0;p<i;p++)l[p]=arguments[p+2];u.children=l}if(e&&e.defaultProps)for(n in i=e.defaultProps,i)u[n]===void 0&&(u[n]=i[n]);return j(e,s,u)},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:R,render:e}},r.isValidElement=H,r.lazy=function(e){return{$$typeof:C,_payload:{_status:-1,_result:e},_init:J}},r.memo=function(e,t){return{$$typeof:g,type:e,compare:t===void 0?null:t}},r.startTransition=function(e){var t=c.T,o={};c.T=o;try{var n=e(),u=c.S;u!==null&&u(o,n),typeof n=="object"&&n!==null&&typeof n.then=="function"&&n.then(S,U)}catch(s){U(s)}finally{t!==null&&o.types!==null&&(t.types=o.types),c.T=t}},r.unstable_useCacheRefresh=function(){return c.H.useCacheRefresh()},r.use=function(e){return c.H.use(e)},r.useActionState=function(e,t,o){return c.H.useActionState(e,t,o)},r.useCallback=function(e,t){return c.H.useCallback(e,t)},r.useContext=function(e){return c.H.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e,t){return c.H.useDeferredValue(e,t)},r.useEffect=function(e,t){return c.H.useEffect(e,t)},r.useEffectEvent=function(e){return c.H.useEffectEvent(e)},r.useId=function(){return c.H.useId()},r.useImperativeHandle=function(e,t,o){return c.H.useImperativeHandle(e,t,o)},r.useInsertionEffect=function(e,t){return c.H.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return c.H.useLayoutEffect(e,t)},r.useMemo=function(e,t){return c.H.useMemo(e,t)},r.useOptimistic=function(e,t){return c.H.useOptimistic(e,t)},r.useReducer=function(e,t,o){return c.H.useReducer(e,t,o)},r.useRef=function(e){return c.H.useRef(e)},r.useState=function(e){return c.H.useState(e)},r.useSyncExternalStore=function(e,t,o){return c.H.useSyncExternalStore(e,t,o)},r.useTransition=function(){return c.H.useTransition()},r.version="19.2.8",r}var B;function re(){return B||(B=1,O.exports=te()),O.exports}var _=re();const se=ee(_);const ne=f=>f.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),K=(...f)=>f.filter((y,h,d)=>!!y&&y.trim()!==""&&d.indexOf(y)===h).join(" ").trim();var oe={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const ue=_.forwardRef(({color:f="currentColor",size:y=24,strokeWidth:h=2,absoluteStrokeWidth:d,className:E="",children:k,iconNode:x,...R},T)=>_.createElement("svg",{ref:T,...oe,width:y,height:y,stroke:f,strokeWidth:d?Number(h)*24/Number(y):h,className:K("lucide",E),...R},[...x.map(([g,C])=>_.createElement(g,C)),...Array.isArray(k)?k:[k]]));const a=(f,y)=>{const h=_.forwardRef(({className:d,...E},k)=>_.createElement(ue,{ref:k,iconNode:y,className:K(`lucide-${ne(f)}`,d),...E}));return h.displayName=`${f}`,h};const ce=a("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);const ie=a("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);const ae=a("CalendarPlus",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 13V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8",key:"3spt84"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M16 19h6",key:"xwg31i"}],["path",{d:"M19 16v6",key:"tddt3s"}]]);const fe=a("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);const pe=a("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);const ye=a("Clock3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]]);const le=a("Compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);const he=a("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);const de=a("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);const ke=a("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);const ve=a("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);const me=a("ReceiptText",[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M14 8H8",key:"1l3xfs"}],["path",{d:"M16 12H8",key:"1fr5h0"}],["path",{d:"M13 16H8",key:"wsln4y"}]]);const _e=a("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);const Ee=a("SlidersHorizontal",[["line",{x1:"21",x2:"14",y1:"4",y2:"4",key:"obuewd"}],["line",{x1:"10",x2:"3",y1:"4",y2:"4",key:"1q6298"}],["line",{x1:"21",x2:"12",y1:"12",y2:"12",key:"1iu8h1"}],["line",{x1:"8",x2:"3",y1:"12",y2:"12",key:"ntss68"}],["line",{x1:"21",x2:"16",y1:"20",y2:"20",key:"14d8ph"}],["line",{x1:"12",x2:"3",y1:"20",y2:"20",key:"m0wm8r"}],["line",{x1:"14",x2:"14",y1:"2",y2:"6",key:"14e1ph"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"16",x2:"16",y1:"18",y2:"22",key:"1lctlv"}]]);const Ce=a("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);const Me=a("Stethoscope",[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]]);const xe=a("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);const Re=a("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const Te=a("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);const ge=a("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);export{ce as A,fe as C,ke as M,me as R,Me as S,Re as T,Te as U,ge as X,_ as a,he as b,de as c,ie as d,ae as e,Ee as f,_e as g,xe as h,ve as i,le as j,pe as k,ye as l,Ce as m,se as n,re as r};
@@ -0,0 +1 @@
1
+ :root{color-scheme:light;--bg: #f6f6f8;--surface: #ffffff;--surface-2: #fafafa;--surface-3: #f1f1f4;--border: #ececef;--border-strong: #e2e2e8;--fg: #191920;--fg-muted: #4a4a54;--fg-subtle: #5a5a65;--accent-fg: #ffffff;--pos: #0b7d59;--pos-soft: #e6f5ee;--warn: #a95800;--warn-soft: #fbf0e2;--danger: #cf273c;--danger-soft: #fdecec;--info: #1c59e0;--info-soft: #e7edfd;--shadow: 0 1px 2px rgba(20, 20, 35, .04), 0 1px 3px rgba(20, 20, 35, .05);--shadow-md: 0 4px 14px rgba(20, 20, 35, .09);--shadow-lg: 0 12px 34px rgba(20, 20, 35, .13);--scrim: rgba(10, 10, 15, .5);--accent-light: #4f46e5;--accent-dark: #99a5ff;--accent: var(--accent-light);--accent-soft: color-mix(in srgb, var(--accent) 10%, transparent);--accent-hover: color-mix(in srgb, var(--accent) 82%, #000);--accent-selection: color-mix(in srgb, var(--accent) 12%, transparent);--accent-border: color-mix(in srgb, var(--accent) 12%, transparent);--accent-glow: 0 2px 8px color-mix(in srgb, var(--accent) 36%, transparent);--font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--bg: #0a0a0d;--surface: #141419;--surface-2: #1a1a20;--surface-3: #24242c;--border: rgba(255, 255, 255, .07);--border-strong: rgba(255, 255, 255, .13);--fg: #f4f4f6;--fg-muted: #b7b7c3;--fg-subtle: #a1a1ad;--accent-fg: #0f0f14;--pos: #3ecf8e;--pos-soft: rgba(62, 207, 142, .14);--warn: #e0a458;--warn-soft: rgba(224, 164, 88, .14);--danger: #ff6b6b;--danger-soft: rgba(255, 107, 107, .14);--info: #6ea8ff;--info-soft: rgba(110, 168, 255, .14);--shadow: 0 1px 2px rgba(0, 0, 0, .4);--shadow-md: 0 6px 20px rgba(0, 0, 0, .5);--shadow-lg: 0 16px 40px rgba(0, 0, 0, .6);--accent: var(--accent-dark);--accent-soft: color-mix(in srgb, var(--accent) 12%, transparent);--accent-hover: color-mix(in srgb, var(--accent) 88%, #fff)}}:root[data-theme=dark]{color-scheme:dark;--bg: #0a0a0d;--surface: #141419;--surface-2: #1a1a20;--surface-3: #24242c;--border: rgba(255, 255, 255, .07);--border-strong: rgba(255, 255, 255, .13);--fg: #f4f4f6;--fg-muted: #b7b7c3;--fg-subtle: #a1a1ad;--accent-fg: #0f0f14;--pos: #3ecf8e;--pos-soft: rgba(62, 207, 142, .14);--warn: #e0a458;--warn-soft: rgba(224, 164, 88, .14);--danger: #ff6b6b;--danger-soft: rgba(255, 107, 107, .14);--info: #6ea8ff;--info-soft: rgba(110, 168, 255, .14);--shadow: 0 1px 2px rgba(0, 0, 0, .4);--shadow-md: 0 6px 20px rgba(0, 0, 0, .5);--shadow-lg: 0 16px 40px rgba(0, 0, 0, .6);--accent: var(--accent-dark);--accent-soft: color-mix(in srgb, var(--accent) 12%, transparent);--accent-hover: color-mix(in srgb, var(--accent) 88%, #fff)}:root{--accent-light: #0369a1;--accent-dark: #5fb2e8;--accent-fg: #ffffff;--accent-soft: color-mix(in srgb, var(--accent) 10%, transparent);--hatch: rgba(25, 25, 32, .06);--now-line: #cf273c}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--accent-fg: #0f0f14;--accent-soft: color-mix(in srgb, var(--accent) 20%, transparent);--hatch: rgba(255, 255, 255, .06);--now-line: #ff6b6b}}:root[data-theme=dark]{--accent-fg: #0f0f14;--accent-soft: color-mix(in srgb, var(--accent) 20%, transparent);--hatch: rgba(255, 255, 255, .06);--now-line: #ff6b6b}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:200 800;src:url(/apps/clinic/customer/fonts/manrope-latin-wght-normal.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:200 800;src:url(/apps/clinic/customer/fonts/manrope-latin-ext-wght-normal.woff2) format("woff2-variations");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:100 800;src:url(/apps/clinic/customer/fonts/jetbrains-mono-latin-wght-normal.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:100 800;src:url(/apps/clinic/customer/fonts/jetbrains-mono-latin-ext-wght-normal.woff2) format("woff2-variations");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}:root{--surface-header: rgba(255, 255, 255, .82);--on-tint: rgba(25, 25, 32, .62);--scrim-modal: rgba(10, 10, 15, .55);--scrim-sheet: rgba(10, 10, 15, .5);--shadow-modal: 0 28px 70px rgba(10, 10, 20, .4);--shadow-toast: 0 12px 34px rgba(10, 10, 20, .32);--shadow-hover: 0 16px 34px -18px rgba(20, 20, 40, .34);--shadow-tile-hover: 0 16px 34px -20px rgba(20, 20, 40, .3);--gutter: clamp(16px, 3.4vw, 32px);--sidebar-w: 232px;--topbar-h: 62px;--z-header: 40;--z-dock: 50;--z-sheet: 60;--z-modal: 70;--z-toast: 80}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--surface-header: rgba(20, 20, 25, .8);--on-tint: rgba(244, 244, 246, .7)}}:root[data-theme=dark]{--surface-header: rgba(20, 20, 25, .8);--on-tint: rgba(244, 244, 246, .7)}*{box-sizing:border-box}html,body{margin:0;padding:0}body{font-family:var(--font-sans);-webkit-font-smoothing:antialiased;background:var(--bg);color:var(--fg);min-height:100vh}#root{min-height:100vh}a{text-decoration:none;color:var(--accent)}a:hover{filter:brightness(1.12)}input,textarea,select,button{font-family:inherit;text-align:start}button{cursor:pointer}textarea{resize:vertical}img,svg{max-width:100%}::selection{background:color-mix(in srgb,var(--accent) 22%,transparent)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.rh-mono{font-family:var(--font-mono);font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}.rh-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.rh-scroll::-webkit-scrollbar{width:10px;height:10px}.rh-scroll::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:8px;border:3px solid transparent;background-clip:padding-box}.rh-scroll::-webkit-scrollbar-track{background:transparent}@keyframes rh-fade{0%{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}@keyframes rh-pop{0%{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}@keyframes rh-scrim{0%{opacity:0}to{opacity:1}}@keyframes rh-sheet{0%{opacity:0;transform:translate(calc(-102% * var(--rh-dir, 1)))}to{opacity:1;transform:none}}@keyframes rh-drop{0%{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}@keyframes rh-shimmer{0%{background-position:-500px 0}to{background-position:500px 0}}[dir=rtl]{--rh-dir: -1}.rh-screen{animation:rh-fade .3s cubic-bezier(.2,.7,.3,1)}.rh-card{transition:box-shadow .18s ease,border-color .18s ease,transform .16s ease}.rh-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover);border-color:var(--border-strong)}.rh-btn{transition:filter .13s ease,transform .1s ease,background .13s ease,border-color .13s ease}.rh-btn:hover:not(:disabled){filter:brightness(1.08)}.rh-btn:active:not(:disabled){transform:scale(.97)}.rh-fld{transition:border-color .14s ease,box-shadow .14s ease}.rh-fld:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.rh-chip{transition:background .12s ease,color .12s ease,border-color .12s ease,transform .1s ease}.rh-chip:active:not(:disabled){transform:scale(.97)}.rh-skel{height:44px;border-radius:11px;background:linear-gradient(90deg,var(--surface-2),var(--surface-3) 50%,var(--surface-2));background-size:1000px 100%;animation:rh-shimmer 1.35s linear infinite}.rh-wide-only{display:inline-flex}.rh-narrow-only{display:none}@media(max-width:899.98px){.rh-wide-only{display:none}.rh-narrow-only{display:inline-flex}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}.rh-card:hover,.rh-btn:active,.rh-chip:active{transform:none}.rh-skel{animation:none}}.rh-app{display:flex;min-height:100vh}.rh-main{flex:1;min-width:0;display:flex;flex-direction:column}.rh-content{flex:1;padding:clamp(18px,2.4vw,30px) var(--gutter) 96px;max-width:1240px;width:100%;margin-inline:auto}.rh-sidebar{width:var(--sidebar-w);flex:0 0 var(--sidebar-w);background:var(--surface);border-inline-end:1px solid var(--border);display:flex;flex-direction:column;position:sticky;inset-block-start:0;height:100vh}.rh-sidebar__brand{display:flex;align-items:center;gap:10px;padding:18px var(--gutter);border-block-end:1px solid var(--border)}.rh-sidebar__mark{width:34px;height:34px;border-radius:10px;background:var(--accent);color:var(--accent-fg);display:grid;place-items:center;flex:none}.rh-sidebar__name{font-size:15px;font-weight:800;letter-spacing:-.02em;line-height:1.15}.rh-sidebar__sub{font-size:11.5px;font-weight:600;color:var(--fg-subtle)}.rh-sidebar__nav{padding:12px;display:flex;flex-direction:column;gap:2px;flex:1;overflow-y:auto}.rh-navitem{display:flex;align-items:center;gap:10px;padding:9px 11px;border-radius:10px;border:0;background:transparent;color:var(--fg-muted);font-size:13.5px;font-weight:700;width:100%;text-align:start}.rh-navitem:hover{background:var(--surface-2);color:var(--fg)}.rh-navitem[aria-current=page]{background:var(--accent-soft);color:var(--accent)}.rh-navitem__badge{margin-inline-start:auto;background:var(--danger-soft);color:var(--danger);border-radius:999px;padding:1px 7px;font-size:11px;font-weight:800}.rh-sidebar__foot{padding:14px var(--gutter) 18px;border-block-start:1px solid var(--border);font-size:11.5px;font-weight:600;color:var(--fg-subtle);line-height:1.5}.rh-sidebar__chip{display:inline-block;margin-block-start:8px;padding:4px 8px;border-radius:7px;background:var(--surface-3);border:1px solid var(--border);font-size:10.5px;color:var(--fg-muted)}.rh-topbar{height:var(--topbar-h);display:flex;align-items:center;gap:12px;padding-inline:var(--gutter);background:var(--surface-header);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-block-end:1px solid var(--border);position:sticky;inset-block-start:0;z-index:var(--z-header)}.rh-topbar__search{flex:1;max-width:460px;position:relative;display:flex;align-items:center}.rh-topbar__search svg{position:absolute;inset-inline-start:11px;color:var(--fg-subtle);pointer-events:none}.rh-topbar__input{width:100%;padding:9px 12px;padding-inline-start:34px;border-radius:10px;border:1px solid var(--border-strong);background:var(--surface-2);color:var(--fg);font-size:13.5px;font-weight:600}.rh-topbar__spacer{flex:1}.rh-userchip{display:flex;align-items:center;gap:8px;padding:5px 11px 5px 5px;padding-inline:5px 11px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--fg);font-size:12.5px;font-weight:700}.rh-iconbtn{width:36px;height:36px;flex:none;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--fg-muted);display:grid;place-items:center}.rh-iconbtn:hover{background:var(--surface-2);color:var(--fg)}.rh-searchpop{position:absolute;inset-block-start:calc(100% + 8px);inset-inline-start:0;width:min(440px,92vw);max-height:60vh;overflow-y:auto;background:var(--surface);border:1px solid var(--border-strong);border-radius:13px;box-shadow:var(--shadow-lg);padding:8px;z-index:var(--z-sheet);animation:rh-drop .16s ease}.rh-searchpop__group{padding:8px 10px 4px;font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--fg-subtle)}.rh-searchpop__row{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:0;border-radius:9px;background:transparent;color:var(--fg);font-size:13px;font-weight:700;text-align:start}.rh-searchpop__row:hover{background:var(--surface-2)}.rh-searchpop__meta{margin-inline-start:auto;font-size:11.5px;font-weight:600;color:var(--fg-subtle)}.rh-searchpop__empty{padding:18px 12px;font-size:13px;font-weight:600;color:var(--fg-muted);text-align:center}.rh-scrim{position:fixed;inset:0;background:var(--scrim-sheet);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:var(--z-sheet);animation:rh-scrim .18s ease;border:0;padding:0}.rh-sheet{position:fixed;inset-block:0;inset-inline-start:0;width:min(292px,84vw);background:var(--surface);border-inline-end:1px solid var(--border);z-index:calc(var(--z-sheet) + 1);display:flex;flex-direction:column;animation:rh-sheet .24s cubic-bezier(.2,.7,.3,1)}.rh-dock{position:fixed;inset-block-end:16px;inset-inline-end:16px;z-index:var(--z-dock);background:var(--surface);border:1px solid var(--border-strong);border-radius:14px;box-shadow:var(--shadow-lg);padding:11px;display:flex;flex-direction:column;gap:9px;width:232px;animation:rh-pop .22s ease}.rh-dock--shifted{inset-inline-end:auto;inset-inline-start:16px}.rh-dock__head{display:flex;align-items:center;gap:7px;font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--fg-subtle)}.rh-dock__collapse{margin-inline-start:auto;border:0;background:transparent;color:var(--fg-subtle);display:grid;place-items:center;padding:2px;border-radius:6px}.rh-dock__collapse:hover{background:var(--surface-2);color:var(--fg)}.rh-dock__row{display:flex;align-items:center;gap:7px}.rh-dock__label{font-size:11px;font-weight:700;color:var(--fg-subtle);min-width:52px}.rh-dock__mini{position:fixed;inset-block-end:16px;inset-inline-end:16px;z-index:var(--z-dock);border-radius:999px;border:1px solid var(--border-strong);background:var(--surface);box-shadow:var(--shadow-md);color:var(--fg-muted);padding:9px 13px;font-size:12px;font-weight:700;display:flex;align-items:center;gap:7px}.rh-select{flex:1;min-width:0;padding:6px 9px;border-radius:8px;border:1px solid var(--border-strong);background:var(--surface-2);color:var(--fg);font-size:12px;font-weight:700}.rh-seg{display:inline-flex;padding:3px;border-radius:10px;background:var(--surface-3);border:1px solid var(--border);gap:2px}.rh-seg__btn{border:0;background:transparent;color:var(--fg-muted);font-size:12px;font-weight:700;padding:5px 11px;border-radius:7px;transition:background .14s ease,color .14s ease}.rh-seg__btn[aria-pressed=true]{background:var(--accent);color:var(--accent-fg)}.rh-seg--full{display:flex;flex:1}.rh-seg--full .rh-seg__btn{flex:1;text-align:center}.rh-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:10px;border:1px solid transparent;font-size:13.5px;font-weight:700;padding:10px 16px;background:var(--accent);color:var(--accent-fg);white-space:nowrap}.rh-button--ghost{background:var(--surface);border-color:var(--border-strong);color:var(--fg)}.rh-button--ghost:hover:not(:disabled){background:var(--surface-2)}.rh-button--pos{background:var(--pos);color:#fff}.rh-button--danger{background:var(--danger);color:#fff}.rh-button--sm{padding:7px 12px;font-size:12.5px;border-radius:9px}.rh-button:disabled{opacity:.5;cursor:not-allowed}.rh-chip{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:4px 10px;font-size:11.5px;font-weight:700;border:1px solid var(--border);background:var(--surface-2);color:var(--fg-muted);white-space:nowrap}.rh-chip--pos{background:var(--pos-soft);color:var(--pos);border-color:transparent}.rh-chip--warn{background:var(--warn-soft);color:var(--warn);border-color:transparent}.rh-chip--danger{background:var(--danger-soft);color:var(--danger);border-color:transparent}.rh-chip--info{background:var(--info-soft);color:var(--info);border-color:transparent}.rh-chip--accent{background:var(--accent-soft);color:var(--accent);border-color:transparent}.rh-chipbtn{cursor:pointer}.rh-chipbtn[aria-pressed=true]{background:var(--accent);color:var(--accent-fg);border-color:transparent}.rh-panel{background:var(--surface);border:1px solid var(--border);border-radius:15px;box-shadow:var(--shadow)}.rh-panel__head{padding:15px 17px 12px;border-block-end:1px solid var(--border)}.rh-panel__title{font-size:14.5px;font-weight:800;letter-spacing:-.015em;margin:0}.rh-panel__sub{font-size:12.5px;font-weight:600;color:var(--fg-subtle);margin-block-start:3px}.rh-panel__body{padding:15px 17px}.rh-tile{border-radius:12px;display:grid;place-items:center;position:relative;flex:none;overflow:hidden;border:1px solid var(--border)}.rh-tile__ini{font-size:14px;font-weight:800;letter-spacing:-.02em;color:var(--fg)}.rh-tile__file{position:absolute;inset-block-end:4px;inset-inline-start:5px;font-size:8.5px;font-weight:600;color:var(--on-tint);background:var(--surface);border-radius:4px;padding:1px 4px;max-width:calc(100% - 10px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rh-tile__badge{position:absolute;inset-block-start:4px;inset-inline-end:5px}.rh-avatar{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-size:11px;font-weight:800;flex:none;border:1px solid var(--border)}.rh-avatar--lg{width:46px;height:46px;border-radius:13px;font-size:15px}.rh-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:13px}.rh-kpi{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:15px 16px;box-shadow:var(--shadow)}.rh-kpi__label{font-size:11.5px;font-weight:700;color:var(--fg-subtle);text-transform:uppercase;letter-spacing:.045em}.rh-kpi__value{font-size:clamp(22px,2.6vw,28px);font-weight:700;letter-spacing:-.02em;margin-block-start:6px;line-height:1.1}.rh-kpi__hint{font-size:12px;font-weight:600;color:var(--fg-subtle);margin-block-start:5px}.rh-timeline{display:flex;flex-direction:column;gap:2px}.rh-tl-row{display:grid;grid-template-columns:30px 1fr;gap:11px;padding-block:11px;position:relative}.rh-tl-row:before{content:"";position:absolute;inset-block:0;inset-inline-start:14px;width:1px;background:var(--border)}.rh-tl-row:first-child:before{inset-block-start:18px}.rh-tl-row:last-child:before{inset-block-end:calc(100% - 18px)}.rh-tl-dot{width:29px;height:29px;border-radius:9px;display:grid;place-items:center;background:var(--surface-3);color:var(--fg-muted);border:1px solid var(--border);position:relative;z-index:1}.rh-tl-body{min-width:0}.rh-tl-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:7px;margin-block-end:3px}.rh-tl-type{font-size:12px;font-weight:800;color:var(--fg)}.rh-tl-when{font-size:11.5px;font-weight:600;color:var(--fg-subtle)}.rh-tl-text{font-size:13px;font-weight:500;color:var(--fg-muted);line-height:1.55}.rh-field{display:flex;flex-direction:column;gap:5px}.rh-label{font-size:12px;font-weight:700;color:var(--fg-muted)}.rh-input,.rh-textarea{width:100%;padding:10px 12px;border-radius:10px;border:1px solid var(--border-strong);background:var(--surface-2);color:var(--fg);font-size:13.5px;font-weight:600}.rh-textarea{min-height:84px;line-height:1.55}.rh-modal-scrim{position:fixed;inset:0;background:var(--scrim-modal);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:var(--z-modal);display:grid;place-items:center;padding:var(--gutter);animation:rh-scrim .18s ease}.rh-modal{width:min(440px,100%);background:var(--surface);border:1px solid var(--border-strong);border-radius:17px;box-shadow:var(--shadow-modal);padding:20px;animation:rh-pop .22s cubic-bezier(.2,.7,.3,1);max-height:88vh;overflow-y:auto}.rh-modal__title{font-size:17px;font-weight:800;letter-spacing:-.02em;margin:0 0 4px}.rh-modal__actions{display:flex;gap:9px;margin-block-start:18px}.rh-modal__actions .rh-button{flex:1}.rh-popover{position:absolute;inset-block-start:calc(100% + 7px);inset-inline-end:0;min-width:208px;background:var(--surface);border:1px solid var(--border-strong);border-radius:12px;box-shadow:var(--shadow-lg);padding:6px;z-index:var(--z-sheet);animation:rh-drop .15s ease}.rh-popover__title{padding:7px 9px 5px;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--fg-subtle)}.rh-popover__item{display:flex;align-items:center;gap:9px;width:100%;border:0;background:transparent;color:var(--fg);border-radius:8px;padding:8px 9px;font-size:13px;font-weight:700;text-align:start}.rh-popover__item:hover{background:var(--surface-2)}.rh-toasts{position:fixed;inset-block-end:22px;inset-inline:0;display:flex;flex-direction:column;align-items:center;gap:8px;z-index:var(--z-toast);pointer-events:none}.rh-toast{pointer-events:auto;display:flex;align-items:center;gap:9px;background:var(--fg);color:var(--bg);border-radius:999px;padding:10px 17px;font-size:13px;font-weight:700;box-shadow:var(--shadow-toast);animation:rh-pop .2s ease;max-width:min(520px,92vw)}.rh-toast--pos{background:var(--pos);color:#fff}.rh-toast--danger{background:var(--danger);color:#fff}.rh-toast__x{border:0;background:transparent;color:inherit;opacity:.7;display:grid;place-items:center;padding:0}.rh-toast__x:hover{opacity:1}.rh-empty{text-align:center;padding:40px 20px}.rh-empty__icon{width:46px;height:46px;border-radius:14px;background:var(--surface-3);color:var(--fg-subtle);display:grid;place-items:center;margin:0 auto 12px}.rh-empty__title{font-size:15px;font-weight:800;letter-spacing:-.015em}.rh-empty__body{font-size:13px;font-weight:600;color:var(--fg-subtle);margin-block-start:5px;max-width:380px;margin-inline:auto;line-height:1.55}.rh-honest{font-size:12.5px;font-weight:600;color:var(--fg-subtle);line-height:1.55;padding:11px 13px;border-radius:11px;background:var(--surface-2);border:1px dashed var(--border-strong)}.rh-head{margin-block-end:18px}.rh-head__title{font-size:clamp(21px,3vw,27px);font-weight:800;letter-spacing:-.03em;margin:0;line-height:1.15}.rh-head__sub{font-size:13.5px;font-weight:600;color:var(--fg-subtle);margin-block-start:5px}.rh-backlink{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:var(--fg-subtle);font-size:12.5px;font-weight:700;padding:0;margin-block-end:11px}.rh-backlink:hover{color:var(--accent)}[dir=rtl] .rh-backlink svg{transform:scaleX(-1)}@media(max-width:899.98px){.rh-sidebar{display:none}.rh-content{padding-block-end:120px}.rh-dock{width:calc(100vw - 32px);max-width:300px}}.rh-flex1{flex:1}.rh-dock__clock{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:700;color:var(--fg)}.rh-dock__tick{margin-inline-start:auto;border:1px solid transparent;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:11.5px;font-weight:800;padding:5px 10px}.rh-embedded{min-height:100%;display:flex;flex-direction:column}.rh-fine{margin-block-start:6px;color:var(--muted);font-size:12px;line-height:1.5}.rh-slot-spare{display:contents}.rh-slot-fill:not(:empty):not([data-drew=none])~.rh-slot-spare{display:none}.rh-slot-fill+.rh-slot-fill{margin-block-start:12px}.rh-site{min-height:100vh;display:flex;flex-direction:column;background:var(--bg)}.rh-site__head{display:flex;align-items:center;gap:18px;padding:14px var(--gutter);background:var(--surface-header);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-block-end:1px solid var(--border);position:sticky;inset-block-start:0;z-index:var(--z-header)}.rh-site__brand{display:flex;align-items:center;gap:9px;border:0;background:transparent;padding:0;color:var(--fg);text-align:start}.rh-site__mark{width:32px;height:32px;border-radius:10px;background:var(--accent);color:var(--accent-fg);display:grid;place-items:center;flex:none}.rh-site__wordmark{display:block;font-size:15px;font-weight:800;letter-spacing:-.02em;line-height:1.15}.rh-site__tag{display:block;font-size:11.5px;font-weight:600;color:var(--fg-subtle)}.rh-site__nav{display:flex;gap:4px}.rh-site__link{border:0;background:transparent;color:var(--fg-muted);font-size:13px;font-weight:700;padding:7px 11px;border-radius:9px}.rh-site__link:hover{background:var(--surface-2);color:var(--fg)}.rh-site__link[aria-current=page]{background:var(--accent-soft);color:var(--accent)}.rh-site__body{flex:1;padding:clamp(20px,3vw,34px) var(--gutter) 240px;width:100%}.rh-content{padding-block-end:240px}.rh-site__foot{padding:18px var(--gutter) 28px;border-block-start:1px solid var(--border);display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:11.5px;font-weight:600;color:var(--fg-subtle)}.rh-site__where{display:inline-flex;align-items:center;gap:5px}.rh-column{max-width:940px;margin-inline:auto;display:flex;flex-direction:column;gap:16px}.rh-narrowcol{max-width:620px}.rh-head--row{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}.rh-daynav{display:flex;align-items:center;gap:7px;margin-inline-start:auto}.rh-note{font-size:12.5px;font-weight:600;color:var(--fg-subtle);line-height:1.55;margin-block:8px 0}.rh-goodline{font-size:13px;font-weight:700;color:var(--pos);margin-block-start:10px}.rh-badline{font-size:12.5px;font-weight:700;color:var(--danger);margin-block-start:10px;line-height:1.5}.rh-payline{font-size:12.5px;font-weight:600;color:var(--fg-muted);margin-block:14px 12px}.rh-amount{text-align:end}.rh-full{width:100%}.rh-twocol{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}.rh-twocol__main,.rh-rail{display:flex;flex-direction:column;gap:16px;min-width:0}.rh-rail{position:sticky;inset-block-start:calc(var(--topbar-h) + 12px)}.rh-form{display:flex;flex-direction:column;gap:13px}.rh-form__row{display:grid;grid-template-columns:1fr 1fr;gap:11px}.rh-form__actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.rh-counter{font-size:11px;font-weight:700;color:var(--fg-subtle);text-align:end;margin-block-start:5px}.rh-facts{display:flex;flex-direction:column}.rh-fact{display:flex;align-items:center;gap:10px;padding-block:9px;border-block-end:1px dashed var(--border);font-size:13px}.rh-fact:last-child{border-block-end:0}.rh-fact__k{font-size:11.5px;font-weight:700;color:var(--fg-subtle);min-width:92px;flex:none}.rh-fact__v{display:inline-flex;align-items:center;gap:7px;font-weight:700;color:var(--fg);min-width:0;flex-wrap:wrap}.rh-ref{font-size:17px;letter-spacing:.02em}.rh-stickybar{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:14px;background:var(--surface);border:1px solid var(--border-strong);box-shadow:var(--shadow-lg)}.rh-stickybar__text{font-size:13px;font-weight:700;min-width:0}.rh-payrow{display:flex;gap:10px;flex-wrap:wrap}.rh-payrow .rh-button{flex:1;min-width:180px}.rh-typegrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:11px}.rh-typecard{display:flex;flex-direction:column;gap:4px;padding:13px 14px;border-radius:13px;border:1px solid var(--border);background:var(--surface);text-align:start;position:relative}.rh-typecard[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.rh-typecard__dot{width:22px;height:4px;border-radius:999px;margin-block-end:4px}.rh-typecard__name{font-size:14px;font-weight:800;letter-spacing:-.015em;color:var(--fg)}.rh-typecard__blurb{font-size:12px;font-weight:600;color:var(--fg-subtle);line-height:1.5}.rh-typecard__meta{font-size:12px;font-weight:700;color:var(--accent);margin-block-start:4px}.rh-whogrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:11px}.rh-who{display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:13px;border:1px solid var(--border);background:var(--surface);text-align:start}.rh-who[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.rh-who__ini{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;flex:none}.rh-who__ini--any{background:var(--surface-3);color:var(--fg-muted);border:1px solid var(--border)}.rh-who__name{display:block;font-size:13.5px;font-weight:800;color:var(--fg)}.rh-who__role{display:block;font-size:11.5px;font-weight:600;color:var(--fg-subtle)}.rh-strip{display:flex;gap:8px;overflow-x:auto;padding-block-end:6px}.rh-day{flex:none;width:74px;padding:9px 6px;border-radius:12px;border:1px solid var(--border);background:var(--surface);display:flex;flex-direction:column;align-items:center;gap:2px}.rh-day[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.rh-day--off{opacity:.42;cursor:not-allowed;background:var(--surface-3)}.rh-day__wd{font-size:11px;font-weight:700;color:var(--fg-subtle);text-transform:uppercase;letter-spacing:.05em}.rh-day__n{font-size:19px;font-weight:700;color:var(--fg);line-height:1.1}.rh-day__note{font-size:10px;font-weight:600;color:var(--fg-subtle)}.rh-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(94px,1fr));gap:8px;margin-block-start:12px}.rh-slot{position:relative;padding:10px 8px;border-radius:10px;border:1px solid var(--border-strong);background:var(--surface);color:var(--fg);font-size:13px;font-weight:700;display:flex;flex-direction:column;align-items:center;gap:3px}.rh-slot[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-fg)}.rh-slot--past,.rh-slot--taken{opacity:.45;background:var(--surface-3);cursor:not-allowed}.rh-slot--past .rh-mono{text-decoration:line-through}.rh-slot__x{font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--fg-subtle)}.rh-slot__who{width:18px;height:3px;border-radius:999px}.rh-done{text-align:center;padding-block:10px 6px}.rh-done__tick{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;margin:0 auto 14px;background:var(--pos-soft);color:var(--pos)}.rh-demobox{display:flex;align-items:flex-start;gap:9px;padding:11px 13px;border-radius:11px;background:var(--info-soft);color:var(--info);font-size:12.5px;font-weight:700;line-height:1.5;margin-block:12px}.rh-cardform{display:flex;flex-direction:column;gap:12px}.rh-cardform__row{display:grid;grid-template-columns:1fr 1fr;gap:11px}.rh-warnbox{display:flex;align-items:flex-start;gap:10px;padding:12px 13px;border-radius:11px;background:var(--warn-soft);color:var(--warn);margin-block-start:14px;font-size:12.5px;line-height:1.55}.rh-warnbox strong{display:block;font-size:13px;margin-block-end:3px}.rh-warnbox p{margin:0;font-weight:600}.rh-visit{display:flex;align-items:center;gap:14px;padding:12px 0;border-block-end:1px solid var(--border);flex-wrap:wrap}.rh-visit:last-child{border-block-end:0}.rh-visit__when{min-width:96px;flex:none}.rh-visit__time{display:block;font-size:15px;font-weight:700;color:var(--fg)}.rh-visit__date{display:block;font-size:11.5px;font-weight:600;color:var(--fg-subtle)}.rh-visit__body{flex:1;min-width:140px}.rh-visit__reason{display:block;font-size:13.5px;font-weight:800;color:var(--fg)}.rh-visit__meta{display:block;font-size:12px;font-weight:600;color:var(--fg-subtle);margin-block-start:2px}.rh-visit__actions{display:flex;align-items:center;gap:8px;margin-inline-start:auto}.rh-owed{font-size:12.5px;font-weight:700;color:var(--warn)}.rh-prefill{display:flex;align-items:center;gap:9px;padding:10px 13px;border-radius:11px;background:var(--accent-soft);color:var(--accent);font-size:12.5px;font-weight:700;margin-block-end:12px}.rh-prefill__x{margin-inline-start:auto;border:0;background:transparent;color:inherit;display:grid;place-items:center;padding:2px;border-radius:6px}.rh-legend{display:flex;flex-wrap:wrap;gap:14px;margin-block-end:12px}.rh-legend__item{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:var(--fg-muted)}.rh-legend__dot{width:10px;height:10px;border-radius:3px;flex:none}.rh-legend__role{font-weight:600;color:var(--fg-subtle)}.rh-sheetscroll{overflow-x:auto;border:1px solid var(--border);border-radius:15px;background:var(--surface)}.rh-sheetgrid{min-width:720px}.rh-sheetgrid__head,.rh-sheetgrid__body{display:grid;grid-template-columns:62px repeat(4,minmax(160px,1fr))}.rh-sheetgrid__head{position:sticky;inset-block-start:0;z-index:2;background:var(--surface-header);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.rh-sheetgrid__corner{border-block-end:1px solid var(--border)}.rh-colhead{display:flex;align-items:center;gap:8px;padding:10px 11px;border-block-end:2px solid var(--border);border-inline-start:1px solid var(--border);min-width:0}.rh-colhead__name{display:block;font-size:12.5px;font-weight:800;color:var(--fg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rh-colhead__role{display:block;font-size:10.5px;font-weight:600;color:var(--fg-subtle)}.rh-sheetgrid__body{position:relative}.rh-times{display:flex;flex-direction:column;border-inline-end:1px solid var(--border)}.rh-times__t{display:flex;align-items:flex-start;justify-content:flex-end;padding-inline-end:7px;padding-block-start:2px;font-size:10.5px;font-weight:600;color:var(--fg-subtle)}.rh-col{position:relative;border-inline-start:1px solid var(--border);min-width:0}.rh-colrow{border-block-end:1px solid var(--border)}.rh-colrow:nth-child(2n){background:var(--surface-2)}.rh-colrow--break{background:repeating-linear-gradient(135deg,var(--hatch),var(--hatch) 5px,transparent 5px,transparent 10px)}.rh-col__empty{position:absolute;inset-block-start:12px;inset-inline:0;text-align:center;font-size:11.5px;font-weight:600;color:var(--fg-subtle);pointer-events:none}.rh-block{position:absolute;inset-inline:3px;z-index:2;padding:4px 7px;padding-inline-start:18px;border-radius:8px;border:1px solid var(--border);border-inline-start:3px solid var(--accent);text-align:start;overflow:hidden;display:flex;flex-direction:column;gap:1px}.rh-block__dot{position:absolute;inset-inline-start:7px;inset-block-start:8px;width:6px;height:6px;border-radius:50%}.rh-block__name{font-size:11.5px;font-weight:800;color:var(--fg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rh-block__reason{font-size:10.5px;font-weight:600;color:var(--fg-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rh-block--done,.rh-block--ready{opacity:.62}.rh-block--no_show{border-style:dashed;border-inline-start-color:var(--danger)}.rh-block--cancelled{opacity:.4}.rh-block--cancelled .rh-block__name{text-decoration:line-through}.rh-nowline{position:absolute;inset-inline:0;height:0;border-block-start:2px solid var(--now-line);z-index:1;pointer-events:none}.rh-nowline__t{position:absolute;inset-inline-start:4px;inset-block-start:-8px;font-size:10px;font-weight:800;color:var(--accent-fg);background:var(--now-line);border-radius:5px;padding:1px 4px}.rh-waitlayout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;align-items:start}.rh-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.rh-boardcol{background:var(--surface-2);border:1px solid var(--border);border-radius:14px;padding:11px;display:flex;flex-direction:column;gap:10px;min-width:0}.rh-boardcol__head{display:flex;align-items:center;gap:7px;font-size:11.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--fg-subtle);margin:0}.rh-boardcol__n{margin-inline-start:auto;background:var(--surface-3);border-radius:999px;padding:1px 8px;font-size:11px;color:var(--fg-muted)}.rh-boardcol__empty{font-size:12px;font-weight:600;color:var(--fg-subtle);margin:0;padding-block:6px}.rh-wcard{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:11px;display:flex;flex-direction:column;gap:9px}.rh-wcard__top{display:flex;align-items:center;gap:8px;min-width:0}.rh-wcard__name{font-size:13px;font-weight:800;color:var(--fg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rh-wcard__time{margin-inline-start:auto;font-size:12px;font-weight:700;color:var(--fg-subtle)}.rh-wcard__mid{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rh-linkish{border:0;background:transparent;padding:0;font-size:12px;font-weight:700;color:var(--fg-muted);text-align:start}.rh-linkish:hover{color:var(--accent)}.rh-laterow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-block:11px;border-block-end:1px solid var(--border)}.rh-laterow:last-child{border-block-end:0}.rh-laterow__name{display:block;font-size:13px;font-weight:800;color:var(--fg)}.rh-laterow__meta{display:block;font-size:11.5px;font-weight:600;color:var(--fg-subtle);margin-block-start:2px}.rh-laterow__actions{display:flex;gap:7px;width:100%}.rh-plist{display:flex;flex-direction:column;gap:8px}.rh-prow{display:flex;align-items:center;gap:11px;padding:10px 13px;border-radius:12px;border:1px solid var(--border);background:var(--surface);text-align:start}.rh-prow__name{font-size:13.5px;font-weight:800;color:var(--fg);min-width:0;overflow:hidden;text-overflow:ellipsis}.rh-prow__age{font-size:12px;font-weight:700;color:var(--fg-muted);min-width:34px;text-align:end}.rh-prow__last{margin-inline-start:auto;font-size:11.5px;font-weight:600;color:var(--fg-subtle)}.rh-profile{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-block-end:18px}.rh-miniRow{display:flex;align-items:center;gap:10px;width:100%;padding-block:9px;border:0;border-block-end:1px solid var(--border);background:transparent;color:var(--fg);font-size:12.5px;font-weight:700;text-align:start}.rh-miniRow:last-child{border-block-end:0}.rh-miniRow__t{margin-inline-start:auto;font-weight:600;color:var(--fg-subtle);min-width:0;overflow:hidden;text-overflow:ellipsis}.rh-table{display:flex;flex-direction:column}.rh-table__head,.rh-table__row{display:grid;grid-template-columns:minmax(0,1.3fr) 88px minmax(0,1fr) 88px 132px;gap:10px;align-items:center}.rh-table__head{padding-block:6px 9px;border-block-end:1px solid var(--border);font-size:10.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--fg-subtle)}.rh-table__row{padding-block:11px;border-block-end:1px solid var(--border);font-size:12.5px;font-weight:700}.rh-table__row:last-child{border-block-end:0}.rh-table__name{min-width:0;overflow:hidden;text-overflow:ellipsis;font-weight:800}.rh-table__act{position:relative;display:flex;justify-content:flex-end}.rh-paypop{width:250px;display:flex;flex-direction:column;gap:10px;padding:11px}.rh-paypop__actions{display:flex;gap:8px}.rh-paypop__actions .rh-button{flex:1}.rh-feerow{display:flex;align-items:center;gap:9px;padding-block:10px;border-block-end:1px dashed var(--border);font-size:12.5px}.rh-feerow:last-child{border-block-end:0}.rh-feerow__dot{width:8px;height:8px;border-radius:3px;flex:none}.rh-feerow__name{font-weight:800;color:var(--fg)}.rh-feerow__len{margin-inline-start:auto;font-size:11.5px;font-weight:600;color:var(--fg-subtle)}.rh-recall{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 13px;border-radius:12px;border:1px solid var(--border);border-inline-start:3px solid var(--border-strong);background:var(--surface);margin-block-end:9px}.rh-recall:last-child{margin-block-end:0}.rh-recall--late{border-inline-start-color:var(--danger);background:color-mix(in srgb,var(--danger) 4%,var(--surface))}.rh-recall__name{display:block;font-size:13.5px;font-weight:800;color:var(--fg)}.rh-recall__meta{display:block;font-size:11.5px;font-weight:600;color:var(--fg-subtle);margin-block-start:2px}.rh-recall__due{margin-inline-start:auto}.rh-panelsheet{width:min(480px,100%)}.rh-panelsheet__head{display:flex;align-items:flex-start;gap:10px;margin-block-end:14px}.rh-panelsheet__actions{display:flex;flex-wrap:wrap;gap:8px;margin-block-start:18px}.rh-panelsheet__actions .rh-button{flex:1;min-width:132px}.rh-chain{display:flex;flex-wrap:wrap;gap:5px}.rh-chain__step{font-size:11px;font-weight:700;padding:4px 9px;border-radius:999px;background:var(--surface-3);color:var(--fg-subtle)}.rh-chain__step--on{background:var(--accent-soft);color:var(--accent)}@media(max-width:1080px){.rh-twocol,.rh-waitlayout{grid-template-columns:minmax(0,1fr)}.rh-rail{position:static}}@media(max-width:899.98px){.rh-site__nav{order:3;width:100%}.rh-site__head{flex-wrap:wrap}.rh-site__body,.rh-content{padding-block-end:270px}.rh-sheetscroll{scroll-snap-type:x mandatory}.rh-sheetgrid{min-width:0}.rh-sheetgrid__head,.rh-sheetgrid__body{grid-template-columns:52px repeat(4,78vw)}.rh-col{scroll-snap-align:start}.rh-form__row,.rh-cardform__row{grid-template-columns:1fr}.rh-table__head{display:none}.rh-table__row{grid-template-columns:minmax(0,1fr) auto;row-gap:4px}.rh-table__act{grid-column:1 / -1;justify-content:flex-start}.rh-visit__actions{margin-inline-start:0;width:100%}}@media(max-width:420px){.rh-stickybar{flex-direction:column;align-items:stretch;gap:9px}.rh-payrow .rh-button{min-width:0}}.rh-col__away{position:absolute;inset:0;display:flex;align-items:flex-start;justify-content:center;padding-block-start:12px;text-align:center;font-size:11.5px;font-weight:700;color:var(--fg-subtle);pointer-events:none;background-image:repeating-linear-gradient(45deg,var(--hatch) 0,var(--hatch) 5px,transparent 5px,transparent 10px)}.rh-note--danger{color:var(--danger)}.rh-closures{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.rh-closure{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:9px 11px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);font-size:13px}.rh-closure__date{font-weight:700;color:var(--fg)}.rh-closure__reason{font-weight:700;color:var(--fg);min-width:0}.rh-closure__who{color:var(--fg-subtle);font-size:12px;font-weight:600}.rh-closure__x{margin-inline-start:auto;display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--fg-subtle);padding:5px 7px;cursor:pointer}.rh-closure__x:hover{color:var(--danger);border-color:var(--danger)}.rh-addclosure{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}.rh-addclosure>.rh-field{flex:1 1 170px;min-width:0}.rh-shelf{display:flex;flex-direction:column;gap:12px;margin-block-start:12px}.rh-addon-card{border:1px solid var(--line);border-radius:12px;background:var(--surface-2);padding:13px 14px}.rh-addon-card__head{display:flex;align-items:center;gap:11px}.rh-addon-card__mark{display:inline-flex;align-items:center;justify-content:center;inline-size:38px;block-size:38px;border-radius:10px;background:var(--surface-3);color:var(--fg-subtle);font-size:11px;font-weight:800;letter-spacing:.04em;flex:none}.rh-addon-card__name{margin:0;font-size:14px;font-weight:800;color:var(--fg)}.rh-addon-card__line{margin:2px 0 0;font-size:12.5px;line-height:1.5;color:var(--fg-subtle)}.rh-dormant{margin-block-start:10px;padding:9px 11px;border:1px dashed var(--line);border-radius:10px;font-size:12.5px;font-weight:600;color:var(--fg-subtle)}.rh-dormant p{margin:0}