:root { --navy: #0F2E4F; --teal: #155E63; --gold: #C59A52; --cream: #FFFDF9; --sand: #F8F5EF; --border: #EDE4D6; --text: #2E3A46; --muted: #64717D; }
* { box-sizing: border-box; }
body { margin: 0px; background: var(--sand); color: var(--text); font-family: Tahoma, Arial, sans-serif; font-size: 14px; line-height: 1.9; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.55; }
button, input, select { border-radius: 12px; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
button { border: 0px; }
h1, h2, h3 { color: var(--navy); line-height: 1.6; margin: 0px 0px 14px; }
p { margin: 0px 0px 20px; }
h2 { font-size: 23px; }
small { font-size: 12px; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.preview-bar { text-align: center; padding: 8px 16px; background: var(--navy); color: var(--cream); font-size: 12px; }
.welcome { min-height: calc(-39px + 100vh); max-width: 1180px; margin: auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 90px; align-items: center; padding: 50px 30px; }
.brand { width: 190px; height: 76px; object-fit: contain; mix-blend-mode: multiply; }
.welcome-copy .brand { display: block; margin-bottom: 30px; }
.eyebrow, .mini-label { display: block; color: var(--teal); font-size: 12px; letter-spacing: 0.2px; margin-bottom: 10px; }
.welcome h1 { font-size: 43px; line-height: 1.65; }
.welcome-copy > p { font-size: 16px; color: var(--muted); max-width: 460px; }
.welcome-features { display: flex; gap: 17px; flex-wrap: wrap; font-size: 12px; color: var(--teal); }
.welcome-features span::before { content: "✓"; margin-left: 6px; }
.login-card { background: var(--cream); padding: 40px; border: 1px solid var(--border); border-radius: 26px; box-shadow: rgba(15, 46, 79, 0.03) 0px 24px 65px; }
.login-card p { color: var(--muted); }
label { display: block; margin: 16px 0px 7px; font-weight: bold; font-size: 13px; }
input, select { width: 100%; background: var(--cream); border: 1px solid var(--border); padding: 11px 14px; min-height: 48px; color: var(--navy); }
.primary, .secondary { padding: 12px 20px; width: 100%; margin-top: 20px; font-weight: bold; min-height: 48px; }
.primary { background: var(--navy); color: var(--cream); }
.secondary { background: transparent; color: var(--navy); border: 1px solid var(--border); }
.secondary:hover:not(:disabled) { background: var(--sand); }
.primary:hover:not(:disabled) { background: var(--teal); }
.hint { font-size: 12px; color: var(--muted); margin-top: 12px; }
.tiny { font-size: 12px; text-align: center; margin: 18px 0px 0px !important; }
.divider { border-top: 1px solid var(--border); position: relative; text-align: center; margin: 30px 0px 0px; }
.divider span { position: relative; top: -13px; background: var(--cream); padding: 0px 10px; color: var(--muted); font-size: 12px; }
.text-button { color: var(--teal); background: none; padding: 7px; font-size: 12px; }
.text-button:hover { text-decoration: underline; }
dialog { border: 1px solid var(--border); border-radius: 22px; padding: 30px; background: var(--cream); color: var(--text); max-width: 460px; width: calc(100% - 30px); }
dialog::backdrop { background: rgba(15, 46, 79, 0.46); }
@media (max-width: 1050px) {
.welcome { gap: 35px; }
.welcome h1 { font-size: 34px; }
}
@media (max-width: 650px) {
.welcome { display: block; padding: 28px 20px; }
.welcome-copy .brand { width: 150px; margin-bottom: 15px; }
.welcome h1 { font-size: 29px; }
.welcome-copy > p { font-size: 14px; }
.journey-art, .welcome-copy > small, .welcome-features { display: none; }
.login-card { margin-top: 25px; padding: 25px; }
}
.persian-date { border: 0px; padding: 0px; margin: 18px 0px; display: grid; grid-template-columns: 1fr 1.5fr 1.2fr; gap: 10px; min-width: 0px; }
.persian-date legend { font-weight: bold; padding: 0px; margin-bottom: 4px; }
.persian-date label { min-width: 0px; margin: 0px; font-weight: normal; font-size: 12px; color: var(--muted); }
.persian-date select { width: 100%; min-width: 0px; color: var(--text); background: var(--cream); padding: 10px 6px; }
.weight-entry-extra .persian-date, .weight-reference-editor .persian-date { max-width: 430px; }
.visit-meta .persian-date { margin: 0px; padding: 10px; gap: 6px; }
.visit-meta .persian-date select { min-width: 0px; }
.visit-meta .persian-date label { min-width: 0px; }
.clinic-operation-form > .persian-date, .clinic-operation-form > .checkbox-row, .clinic-operation-form > p { flex-basis: 100%; margin: 0px; }
.clinic-operation-form > .persian-date { max-width: 540px; }
.welcome { max-width: 1080px; min-height: calc(-40px + 100svh); gap: 72px; padding: 40px 32px; }
.welcome-copy { display: grid; grid-template-columns: 1fr; gap: 0px; }
.welcome-copy .brand { width: 170px; margin-bottom: 25px; }
.welcome h1 { font-size: 36px; margin-bottom: 14px; line-height: 1.7; }
.welcome-intro > p { font-size: 14px; color: var(--muted); margin-bottom: 0px; }
.welcome-features { margin-top: 18px; font-size: 12px; gap: 12px; }
.hk-hero-art { width: 290px; max-width: 100%; justify-self: center; margin: 14px 0px 0px; }
.hk-hero-art svg { display: block; width: 100%; height: auto; }
.hk-art-satellites { transform-box: view-box; transform-origin: 185px 147px; animation: 28s linear 0s infinite normal none running hk-art-orbit; will-change: transform; }
.hk-art-core { transform-box: view-box; transform-origin: 185px 147px; animation: 6s ease-in-out 0s infinite normal none running hk-art-core-breathe; }
.hk-art-ring-outer { animation: 8s ease-in-out 0s infinite normal none running hk-art-ring-light; }
.hk-art-ring-mid { animation: 8s ease-in-out -4s infinite normal none running hk-art-ring-light; }
.hk-art-nodes { animation: 5s ease-in-out 0s infinite normal none running hk-art-nodes-light; }
@keyframes hk-art-orbit { 
  100% { transform: rotate(360deg); }
}
@keyframes hk-art-core-breathe { 
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
@keyframes hk-art-ring-light { 
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}
@keyframes hk-art-nodes-light { 
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.login-card { padding: 30px; border-radius: 23px; box-shadow: rgba(15, 46, 79, 0.02) 0px 12px 40px; }
.login-card h2 { font-size: 23px; margin-bottom: 10px; }
.login-card > p { font-size: 12px; line-height: 1.9; margin-bottom: 15px; }
.login-card > .mini-label { font-size: 12px; margin-bottom: 6px; }
.auth-tabs { display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); background: var(--sand); padding: 5px; border-radius: 13px; gap: 4px; margin: 22px 0px 17px; }
.auth-tabs button { font-size: 12px; padding: 10px 5px; border-radius: 10px; min-height: 42px; background: transparent; color: var(--muted); white-space: nowrap; }
.auth-tabs button[aria-selected="true"], .auth-tabs button[aria-pressed="true"] { background: var(--cream); color: var(--navy); box-shadow: rgba(15, 46, 79, 0.04) 0px 2px 8px; font-weight: bold; }
.auth-secondary-actions { display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; margin-top: 13px; }
.auth-secondary-actions button { font-size: 12px; padding: 5px 0px; }
.password-field { position: relative; }
.password-field input { padding-right: 62px; }
.password-field button { position: absolute; right: 8px; top: 8px; bottom: 8px; background: var(--sand); color: var(--teal); font-size: 12px; padding: 4px 9px; }
#recovery-channels { grid-template-columns: 1fr 1fr; }
#credential-status, #recovery-status { font-size: 12px; color: var(--teal); margin: 12px 0px 0px; line-height: 2; }
.login-card .primary { margin-top: 17px; }
#demo-divider { margin-top: 22px; }
#enter-demo { margin-top: 5px; font-size: 12px; }
#login-footnote { font-size: 12px; line-height: 1.8; }
#sms-note { font-size: 12px; line-height: 1.9; }
.login-card input { font-size: 16px; }
#recovery-panel .hint { font-size: 12px; }
#back-to-login { padding-right: 0px; margin: 0px 0px 10px; }
#recovery-panel label { font-size: 12px; }
.login-card #login-status:empty, .login-card #credential-status:empty, .login-card #recovery-status:empty { display: none; }
@media (max-width: 760px) {
.welcome { display: block; max-width: 460px; min-height: 0px; padding: 18px 18px 28px; }
.welcome-copy { grid-template-columns: minmax(0px, 1fr) 108px; align-items: center; gap: 6px 8px; }
.welcome-copy .brand { grid-column: 1 / -1; width: 126px; height: 49px; margin: 0px 0px 8px; }
.welcome-intro { grid-area: 2 / 1; min-width: 0px; }
.welcome .eyebrow { font-size: 12px; margin: 0px 0px 5px; }
.welcome h1 { font-size: 22px; line-height: 1.6; margin: 0px 0px 8px; }
.welcome-intro > p { font-size: 12px; line-height: 1.9; margin: 0px; }
.hk-hero-art { grid-area: 2 / 2; width: 108px; margin: 0px; align-self: center; }
.welcome-features { display: none; }
.login-card { margin-top: 18px; padding: 21px 20px; border-radius: 20px; }
.login-card h2 { font-size: 21px; line-height: 1.6; }
.login-card > p { font-size: 12px; margin-bottom: 12px; }
.auth-tabs { margin-top: 17px; margin-bottom: 12px; }
.auth-tabs button { font-size: 12px; min-height: 42px; }
.login-card label { font-size: 12px; margin-top: 12px; }
.login-card input { min-height: 48px; padding: 10px 12px; }
.login-card .password-field input { padding-right: 65px; }
.login-card .primary { font-size: 13px; min-height: 47px; margin-top: 16px; padding: 10px 14px; }
.preview-bar { font-size: 12px; line-height: 1.7; padding: 6px 12px; }
}
@media (max-width: 360px) {
.welcome { padding: 15px 13px 24px; }
.welcome-copy { grid-template-columns: minmax(0px, 1fr) 88px; }
.hk-hero-art { width: 88px; }
.welcome h1 { font-size: 20px; }
.login-card { padding: 19px 16px; }
.auth-tabs button { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
.hk-art-satellites, .hk-art-core, .hk-art-ring-outer, .hk-art-ring-mid, .hk-art-nodes { animation: auto ease 0s 1 normal none running none !important; transform: none !important; will-change: auto !important; }
}
@media (min-width: 761px) {
.welcome { max-width: 1120px; gap: 64px; align-items: start; padding: 64px 32px 48px; grid-template-columns: minmax(0px, 1fr) minmax(360px, 400px); }
.welcome-copy { width: 100%; max-width: 456px; justify-self: center; grid-template-columns: minmax(0px, 260px) 172px; gap: 28px 24px; align-items: center; padding-top: 20px; }
.welcome-copy .brand { grid-column: 1 / -1; width: 160px; height: 64px; margin: 0px; }
.welcome-intro { grid-area: 2 / 1; min-width: 0px; }
.welcome .eyebrow { font-size: 12px; line-height: 1.8; margin: 0px 0px 10px; }
.welcome h1 { font-size: 30px; line-height: 1.65; letter-spacing: -0.5px; margin: 0px 0px 14px; }
.welcome-intro > p { font-size: 13px; line-height: 2; max-width: 300px; margin: 0px; }
.welcome-copy .hk-hero-art { grid-area: 2 / 2; width: 172px; margin: 0px; place-self: center; }
.welcome-features { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin: 0px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12px; }
.welcome-features span { padding: 5px 10px; border-radius: 8px; background: rgb(233, 238, 234); color: var(--teal); }
.welcome-features span::before { content: none; }
}
@media (min-width: 761px) and (max-width: 1000px) {
.welcome { gap: 36px; padding-inline: 24px; grid-template-columns: minmax(0px, 1fr) minmax(310px, 350px); }
.welcome-copy { grid-template-columns: minmax(0px, 1fr) 128px; column-gap: 12px; }
.welcome-copy .hk-hero-art { width: 128px; }
.welcome h1 { font-size: 25px; letter-spacing: 0px; }
.welcome-intro > p { font-size: 12px; }
}
.hk-hero-art { width: 320px; }
.hk-art-satellites { animation-duration: 12s; }
.hk-art-satellites > path { stroke-width: 2; opacity: 0.75; }
.hk-art-satellites > g { stroke-width: 2; opacity: 0.85; }
.hk-art-ring-outer circle { stroke-width: 1.8; opacity: 0.6; }
.hk-art-ring-mid circle { stroke-width: 2.2; opacity: 0.85; }
.hk-art-core > circle:first-child { stroke-width: 2.5; opacity: 1; }
.hk-art-core > circle:nth-child(2) { stroke-width: 2.2; opacity: 1; }
.hk-art-core > path { stroke: rgb(15, 46, 79); stroke-width: 0.8; stroke-linejoin: round; }
@media (max-width: 760px) {
.welcome-copy { grid-template-columns: minmax(0px, 1fr) 150px; gap: 10px 12px; }
.welcome-copy .brand { grid-column: 1 / -1; justify-self: center; width: 176px; height: 70px; margin: 0px auto 16px; }
.hk-hero-art { width: 150px; }
}
@media (max-width: 360px) {
.welcome-copy { grid-template-columns: minmax(0px, 1fr) 130px; gap: 8px; }
.welcome-copy .brand { width: 164px; height: 66px; margin-bottom: 12px; }
.hk-hero-art { width: 130px; }
.welcome h1 { font-size: 20px; }
}
#email-login-status { font-size: 12px; color: var(--teal); line-height: 1.9; margin: 10px 0px 0px; }
#email-login-status:empty { display: none; }
html { text-size-adjust: 100%; }
@media (max-width: 760px) {
.welcome { max-width: 460px; padding: 12px 14px 18px; min-height: 0px; }
.welcome .welcome-copy { display: flex; align-items: center; gap: 12px; padding: 0px; max-width: none; }
.welcome .welcome-copy .brand { width: 112px; height: 44px; margin: 0px; flex: 0 0 112px; }
.welcome .welcome-intro { min-width: 0px; }
.welcome .welcome-intro h1 { font-size: 16px; line-height: 1.7; margin: 0px; }
.welcome .welcome-intro > p, .welcome .welcome-copy .hk-hero-art, .welcome .welcome-copy .eyebrow { display: none; }
.welcome .login-card { margin-top: 12px; padding: 18px; border-radius: 20px; }
.welcome .login-card > .mini-label { display: none; }
.welcome .login-card h2 { font-size: 20px; line-height: 1.6; margin: 0px 0px 6px; }
.welcome .login-card > p { font-size: 12px; line-height: 1.8; margin-bottom: 10px; }
.welcome .auth-tabs { margin: 12px 0px 10px; padding: 4px; gap: 3px; }
.welcome .auth-tabs button { font-size: 12px; min-height: 44px; padding: 8px 4px; }
.welcome .login-card label { margin: 10px 0px 6px; font-size: 12px; }
.welcome .login-card input { font-size: 16px; min-height: 48px; padding: 10px 12px; }
.welcome .login-card .primary { min-height: 46px; margin-top: 12px; }
.welcome .auth-secondary-actions { margin-top: 8px; gap: 8px; }
.welcome .auth-secondary-actions button { font-size: 12px; min-height: 36px; padding: 5px 0px; }
.welcome #login-footnote { line-height: 1.7; margin: 8px 0px !important; }
.welcome #sms-note { font-size: 12px; line-height: 1.8; margin: 8px 0px; }
.welcome .login-card > a { display: block; font-size: 12px; line-height: 1.8; margin: 8px 0px; }
.welcome #open-signup { margin-top: 8px; border-right: 0px; border-bottom: 0px; border-left: 0px; border-image: none; border-top: 1px solid var(--border); border-radius: 0px; min-height: 44px; padding: 10px 0px; background: transparent; font-size: 13px; }
.welcome .password-field input { padding-right: 65px; }
.welcome #email-login-extra { margin-top: 6px; }
}
@media (max-width: 760px) {
.welcome .auth-code-step #open-signup, .welcome .auth-code-step #login-footnote, .welcome .auth-code-step > a, .welcome .auth-code-step #auth-secondary-actions, .welcome .auth-code-step #sms-note { display: none; }
}
.otp-send-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; min-width: 0px; }
.login-card .otp-send-row button { flex: 1 1 0%; min-width: 0px; margin: 0px; }
.otp-countdown { display: inline-flex; align-items: center; justify-content: center; direction: ltr; flex: 0 0 auto; min-width: 66px; min-height: 46px; padding: 6px 10px; box-sizing: border-box; border: 1px solid rgb(168, 198, 202); border-radius: 12px; background: rgb(234, 245, 245); color: rgb(22, 76, 91); font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.otp-countdown[hidden] { display: none; }
.otp-resend-row { margin-top: 12px; }
.login-card .otp-resend-row button { min-height: 46px; font-size: 14px; }
.otp-resend-row button:disabled { opacity: 0.65; cursor: wait; }
@media (max-width: 360px) {
.otp-countdown { min-width: 58px; padding: 6px; font-size: 15px; }
.otp-send-row { gap: 8px; }
}
.welcome .login-card .otp-send-row button { margin: 0px; }
@font-face { font-family: IRANSansX; src: url("/assets/fonts/IRANSansX-Regular.woff2?v=989d0b33c3f9c36e2967ceb982165f6ebcc36eaa8007056a2d7a94a68f0b1d42") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: IRANSansX; src: url("/assets/fonts/IRANSansX-Medium.woff2?v=a618f56018d32c0d864071a8bbe67e8a0b5e3cb3580f195aad0c800f712722a5") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: IRANSansX; src: url("/assets/fonts/IRANSansX-DemiBold.woff2?v=a2efd9966d0adff99d2b4be2535f72763decee9fb6c98ab815ffecf2f2b96dea") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: IRANSansX; src: url("/assets/fonts/IRANSansX-Bold.woff2?v=ee7a4dc0bdbb8c364677e02af2d8d51d6c69e4d51c70089a5ec3fff478aa2c41") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
body { font-family: IRANSansX, Tahoma, Arial, sans-serif; }
button, input, select, textarea { font-family: inherit; }
button { font-weight: 500; }
h1, h2, h3, h4, strong, b { font-weight: 700; }
.platform-note { border-right: 3px solid var(--teal); padding: 12px 16px; background: rgba(21, 94, 99, 0.03); font-size: 12px; }
.platform-form fieldset { border: 1px solid var(--border); border-radius: 12px; margin: 16px 0px; padding: 16px; }
.platform-form legend { font-size: 13px; color: var(--teal); }
.platform-form input[dir="ltr"] { text-align: left; }
.platform-dialog { width: min(920px, 94vw); max-height: 90svh; border: 1px solid var(--border); border-radius: 22px; padding: 26px; background: var(--cream); color: var(--text); }
.platform-dialog::backdrop { background: rgba(15, 46, 79, 0.44); }
.platform-dialog > .platform-status { position: sticky; bottom: 0px; background: var(--cream); padding: 8px; }
.platform-status:empty { display: none; }
.platform-status { color: var(--teal); font-size: 13px; white-space: pre-wrap; }
@media (max-width: 760px) {
.platform-dialog { padding: 19px 16px; max-height: 92svh; }
.platform-dialog .primary { min-height: 46px; }
.platform-form fieldset { padding: 12px; }
}
.platform-form input[type="file"] { font-size: 12px; max-width: 100%; }
#signup-dialog .signup-pending { padding: 20px; border: 1px solid rgb(201, 227, 214); border-radius: 16px; background: rgb(237, 247, 241); color: rgb(36, 91, 70); font-size: 15px; line-height: 2.1; overflow-wrap: anywhere; margin-top: 20px; }
#signup-dialog .signup-pending:focus { outline: rgb(145, 189, 168) solid 2px; outline-offset: 3px; }
.nutrition-calendar { position: relative; min-width: 0px; }
.nutrition-calendar > summary { list-style: none; cursor: pointer; border: 1px solid rgb(185, 209, 198); border-radius: 10px; padding: 14px; background: white; color: rgb(33, 76, 67); font-size: 14px; }
.nutrition-calendar-body { background: rgb(255, 255, 255); border: 1px solid rgb(212, 225, 219); border-radius: 12px; padding: 10px; margin-top: 8px; }
.nutrition-calendar-head { display: flex; gap: 6px; align-items: center; justify-content: space-between; }
.nutrition-calendar-head button { width: auto; min-height: 36px; margin: 0px; font-size: 12px; padding: 7px !important; }
.nutrition-calendar-head strong { font-size: 13px; }
.nutrition-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0px, 1fr)); gap: 3px; margin-top: 12px; text-align: center; }
.nutrition-calendar-grid .nutrition-day { min-height: 34px; border: 0px; border-radius: 8px; background: rgb(246, 248, 246); color: rgb(36, 60, 55); font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-size: 12px; margin: 0px; padding: 4px !important; }
.nutrition-calendar-grid .nutrition-day.selected { background: var(--teal); color: white; }
@keyframes ad-glow { 
  50% { box-shadow: 0 0 0 4px color-mix(in srgb,var(--ad-color) 15%,transparent),0 7px 24px color-mix(in srgb,var(--ad-color) 20%,transparent); }
}
@keyframes ad-shine { 
  100% { transform: rotate(360deg); }
}
.ad-editor .persian-date { min-width: 0px; }
.ad-editor .persian-date select { min-width: 0px; }
#signup-requests fieldset { display: grid; gap: 12px; margin: 16px 0px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; }
#signup-requests fieldset label { display: flex; gap: 10px; align-items: center; }
#signup-requests input[type="checkbox"] { width: 20px; min-height: 20px; accent-color: var(--teal); }
.install-banner { max-width: 1056px; margin: 14px auto 0px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid rgb(202, 219, 213); border-radius: 16px; background: rgb(237, 245, 241); color: rgb(24, 49, 75); font-size: 13px; line-height: 1.8; }
.install-banner[hidden] { display: none; }
.install-banner img { border-radius: 12px; flex: 0 0 44px; }
.install-banner-copy { flex: 1 1 0%; min-width: 0px; }
.install-banner-copy strong { font-size: 14px; }
.install-banner p { margin: 2px 0px 0px; font-size: 12px; }
.install-primary, .install-secondary, .install-dismiss, .install-footer { font: inherit; cursor: pointer; border-radius: 10px; min-height: 44px; padding: 9px 14px; }
.install-primary { background: rgb(21, 94, 99); color: rgb(255, 253, 249); border: 0px; white-space: nowrap; }
.install-secondary { background: rgb(237, 243, 239); color: rgb(21, 94, 99); border: 1px solid rgb(201, 216, 209); margin: 6px 0px 6px 8px; }
.install-dismiss, .install-footer { background: none; color: rgb(67, 92, 100); border: 0px; }
.install-footer { display: block; width: 100%; margin-top: 10px; font-size: 12px; }
.install-dialog { width: calc(100% - 32px); max-width: 470px; max-height: 90svh; overflow: auto; border: 1px solid rgb(222, 219, 207); border-radius: 22px; padding: 24px; background: rgb(255, 253, 249); color: rgb(36, 60, 77); font-family: inherit; line-height: 2; }
.install-dialog h2 { font-size: 21px; line-height: 1.7; margin: 10px 0px 16px; }
.install-dialog ol { padding-inline-start: 24px; }
.install-dialog li { padding: 6px 0px; }
.install-dialog input { width: 100%; padding: 10px 12px; border: 1px solid rgb(222, 219, 207); border-radius: 10px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-size: 16px; background: rgb(255, 255, 255); }
.install-note, .install-status { font-size: 12px; color: rgb(100, 113, 125); margin: 12px 0px 0px; }
.install-dialog::backdrop { background: rgba(15, 46, 79, 0.46); }
.install-banner button:focus-visible, .install-dialog button:focus-visible, .install-footer:focus-visible { outline: rgb(197, 154, 82) solid 3px; outline-offset: 3px; }
@media (max-width: 760px) {
.install-banner { margin: 10px 12px 0px; padding: 12px; gap: 10px; flex-wrap: wrap; }
.install-banner-copy { flex-basis: calc(100% - 58px); }
.install-banner .install-primary { flex: 1 1 0%; }
.install-banner .install-dismiss { font-size: 12px; }
.install-dialog { padding: 20px; }
.install-dialog h2 { font-size: 19px; }
}
.app-update-banner { position: fixed; z-index: 110; top: max(12px,env(safe-area-inset-top)); right: 12px; left: 12px; max-width: 1056px; margin: 0px auto; box-shadow: rgba(15, 46, 79, 0.133) 0px 8px 30px; padding: 14px 18px; display: flex; align-items: center; gap: 14px; border: 1px solid rgb(197, 154, 82); border-radius: 14px; background: rgb(255, 248, 233); color: rgb(32, 53, 74); font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; line-height: 1.8; }
.app-update-banner[hidden] { display: none; }
.app-update-banner > div { flex: 1 1 0%; min-width: 0px; }
.app-update-banner strong { font-size: 14px; }
.app-update-banner p { font-size: 12px; margin: 3px 0px 0px; }
.app-update-primary, .app-update-later { font: inherit; min-height: 44px; padding: 10px 14px; border-radius: 10px; cursor: pointer; }
.app-update-primary { background: rgb(21, 94, 99); color: rgb(255, 255, 255); border: 0px; }
.app-update-later { background: none; color: rgb(57, 81, 91); border: 0px; }
.app-update-dialog { font-family: inherit; color: rgb(32, 53, 74); background: rgb(255, 253, 249); line-height: 2; border: 1px solid rgb(224, 214, 199); border-radius: 20px; padding: 24px; max-width: 440px; width: calc(100% - 32px); }
.app-update-dialog h2 { font-size: 21px; }
.app-update-dialog::backdrop { background: rgba(15, 46, 79, 0.46); }
.app-update-message { font-size: 12px; }
.app-update-primary:focus-visible, .app-update-later:focus-visible { outline: rgb(197, 154, 82) solid 3px; outline-offset: 3px; }
@media (max-width: 760px) {
.app-update-banner { margin: 0px; flex-wrap: wrap; padding: 12px; }
.app-update-banner > div { flex-basis: 100%; }
.app-update-primary { flex: 1 1 0%; }
.app-update-dialog .app-update-primary { display: block; width: 100%; }
}
.app-update-dialog { box-sizing: border-box; max-height: calc(100dvh - 32px); overflow: auto; }
.app-update-dialog h2 { margin: 0px 0px 14px; }
.app-update-dialog > p { margin: 0px 0px 20px; }
.app-update-dialog .app-update-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; align-items: stretch; }
.app-update-dialog .app-update-actions > button { box-sizing: border-box; flex: 1 1 160px; width: auto; margin: 0px; min-height: 48px; line-height: 1.8; }
.app-update-dialog .app-update-primary { background: rgb(21, 94, 99); color: rgb(255, 255, 255); border: 1px solid rgb(21, 94, 99); }
.app-update-dialog .app-update-later { background: rgb(255, 253, 249); color: rgb(32, 53, 74); border: 1px solid rgb(198, 216, 206); }
.app-update-dialog .app-update-primary:disabled { opacity: 0.65; cursor: wait; }
.app-update-dialog .app-update-message { margin: 14px 0px 0px; }
.app-update-message:empty { display: none; }
#protected-pdf-reader > .app-update-reader-notice { position: absolute; z-index: 8; top: calc(58px + env(safe-area-inset-top,0px)); left: 50%; transform: translateX(-50%); width: calc(100% - 24px); max-width: 430px; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 12px; border: 1px solid rgb(197, 154, 82); border-radius: 16px; background: rgb(255, 253, 249); color: rgb(15, 46, 79); box-shadow: rgba(15, 46, 79, 0.125) 0px 8px 28px; font-size: 14px; line-height: 1.8; }
#protected-pdf-reader > .app-update-reader-notice button { width: auto; min-width: 150px; min-height: 44px; height: auto; padding: 8px 12px; font-size: 14px; line-height: 1.7; background: rgb(15, 46, 79); color: rgb(255, 253, 249); border: 1px solid rgb(15, 46, 79); transform: none; position: static; }
:root { --hk-navy: #0F2E4F; --hk-teal: #155E63; --hk-gold: #C59A52; --hk-cream: #FFFDF9; --hk-sand: #F8F5EF; --hk-border: #EDE4D6; --hk-text: #2E3A46; --hk-muted: #64717D; --hk-teal-soft: #EDF3F1; --hk-gold-soft: #F2E9D9; --hk-gold-ink: #86602C; --navy: var(--hk-navy); --teal: var(--hk-teal); --gold: var(--hk-gold); --cream: var(--hk-cream); --sand: var(--hk-sand); --border: var(--hk-border); --text: var(--hk-text); --muted: var(--hk-muted); color-scheme: light; }
body { background: var(--hk-sand); color: var(--hk-text); }
h1, h2, h3, h4 { color: var(--hk-navy); }
button, input, select, textarea { accent-color: var(--hk-teal); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--hk-gold); outline-offset: 3px; }
input, select, textarea, .platform-form textarea { background: var(--hk-cream); color: var(--hk-text); border-color: var(--hk-border); }
.primary, .chat-send { background: var(--hk-navy); color: var(--hk-cream); box-shadow: rgba(15, 46, 79, 0.043) 0px 5px 15px; }
.secondary, .chat-new, .chat-shortcut, .chat-option { background: var(--hk-cream); color: var(--hk-navy); border-color: var(--hk-border); }
.eyebrow, .mini-label, .text-button, .admin-eyebrow, .admin-preview-label { color: var(--hk-teal); }
.preview-bar { background: var(--hk-navy); color: var(--hk-cream); }
.login-card, .panel, .stat, .platform-panel, .platform-dialog, .admin-section, .admin-content-card { background: var(--hk-cream); border-color: var(--hk-border); }
dialog:not(.onboarding-overlay), .patient-more-dialog { background: var(--hk-cream); color: var(--hk-text); border-color: var(--hk-border); }
.platform-note, .admin-editor-help, .admin-editor-workflow { background: var(--hk-teal-soft); color: var(--hk-teal); }
.install-banner, .app-update-banner { background: var(--hk-teal-soft); border-color: var(--hk-border); color: var(--hk-navy); }
.install-primary, .app-update-primary { background: var(--hk-navy); color: var(--hk-cream); }
.install-secondary { background: var(--hk-sand); color: var(--hk-teal); border-color: var(--hk-border); }
.install-dialog, .app-update-dialog { background: var(--hk-cream); color: var(--hk-text); border-color: var(--hk-border); }
@media (hover: hover) and (pointer: fine) {
.primary:hover:not(:disabled), .patient-mode .primary:hover:not(:disabled), .chat-send:hover:not(:disabled) { background: var(--hk-teal); }
.patient-mode .patient-quick-card:hover:not(:disabled) { border-color: var(--hk-gold); box-shadow: rgba(15, 46, 79, 0.04) 0px 12px 24px; }
.secondary:hover:not(:disabled), .patient-mode .secondary:hover:not(:disabled), .chat-option:hover:not(:disabled) { background: var(--hk-sand); border-color: var(--hk-gold); }
}
.google-entry { margin: 18px 0px 8px; }
.google-divider { display: flex; align-items: center; gap: 12px; color: rgb(133, 147, 147); font-size: 12px; margin: 0px 0px 14px; }
.google-divider::before, .google-divider::after { content: ""; flex: 1 1 0%; height: 1px; background: rgb(225, 231, 230); }
.google-signin { align-items: center; justify-content: center; gap: 12px; min-height: 46px; width: 100%; border-radius: 10px; font: 500 14px / 20px IRANSansX, Tahoma, sans-serif; cursor: pointer; display: flex !important; border: 1px solid rgb(116, 119, 117) !important; background: rgb(255, 255, 255) !important; color: rgb(31, 31, 31) !important; padding: 12px !important; margin: 0px !important; }
.google-signin img { flex: 0 0 auto; object-fit: contain; width: 20px; height: 20px; }
.google-signin:hover { box-shadow: rgba(36, 63, 74, 0.07) 0px 1px 4px; background: rgb(248, 250, 255) !important; }
.google-signin:focus-visible { outline: rgb(168, 199, 250) solid 3px; outline-offset: 3px; }
.google-status { font-size: 12px; line-height: 1.9; color: rgb(104, 126, 131); margin: 10px 0px 0px; }
.google-status:empty { display: none; }
.google-choice { width: min(520px, 94vw); max-height: 85vh; overflow: auto; border: 1px solid rgb(220, 231, 232); border-radius: 18px; padding: 28px; background: rgb(255, 255, 255); color: rgb(32, 52, 77); }
.google-choice::backdrop { background: rgba(20, 47, 71, 0.44); }
.google-choice h2 { font-size: 21px; }
.google-choice label { display: grid; gap: 8px; margin: 20px 0px; }
.google-choice select { width: 100%; max-width: 100%; font: inherit; padding: 12px; border: 1px solid rgb(204, 218, 218); border-radius: 10px; }
.google-choice form > button { margin: 8px 0px 0px; width: 100%; }
.google-email { direction: ltr; text-align: right; overflow-wrap: anywhere; color: rgb(23, 108, 112); }
.google-choice p { font-size: 13px; line-height: 1.9; }
@media (max-width: 500px) {
.google-choice { padding: 20px; }
}
.google-entry[hidden] { display: none !important; }
.google-entry .google-divider { margin-top: 14px; }
.rich-authoring { border: 1px solid rgb(205, 219, 211); border-radius: 14px; overflow: visible; margin: 10px 0px 20px; background: rgb(255, 255, 255); min-width: 0px; }
.rich-authoring .ql-toolbar.ql-snow { border-width: 0px 0px 1px; border-style: none none solid; border-color: currentcolor currentcolor rgb(220, 229, 223); border-image: none; background: rgb(244, 247, 241); border-radius: 14px 14px 0px 0px; padding: 10px; direction: ltr; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.rich-authoring .ql-toolbar .ql-formats { margin: 0px 6px 0px 0px; display: inline-flex; align-items: center; }
.rich-authoring .ql-toolbar button { min-width: 28px; height: 28px; border-radius: 4px; width: 28px !important; min-height: 28px !important; padding: 4px !important; margin: 0px !important; border: 0px !important; background: transparent !important; }
.rich-authoring .ql-container.ql-snow { border: 0px; font: inherit; }
.rich-authoring .ql-editor { font-family: inherit; min-height: 200px; max-height: 500px; overflow-y: auto; direction: rtl; text-align: right; font-size: 15px; line-height: 2; padding: 18px; }
.rich-authoring .ql-editor.ql-blank::before { font: inherit; right: 18px; left: 18px; text-align: right; color: rgb(137, 153, 142); }
.rich-authoring .ql-editor table { border-collapse: collapse; width: 100%; }
.rich-authoring .ql-editor td { border: 1px solid rgb(174, 190, 179); padding: 8px; min-width: 50px; }
.rich-authoring > .hint { margin: 0px; padding: 6px 15px; border-top: 1px solid rgb(237, 240, 232); font-size: 12px; }
.rich-authoring .ql-picker { font-size: 12px; height: 28px; }
.rich-authoring .ql-picker-options { direction: rtl; z-index: 10; }
.rich-authoring .ql-snow .ql-picker.ql-header .ql-picker-label::before { content: "متن معمولی"; }
.rich-authoring .ql-snow .ql-picker.ql-header [data-value="1"]::before { content: "تیتر ۱"; }
.rich-authoring .ql-snow .ql-picker.ql-header [data-value="2"]::before { content: "تیتر ۲"; }
.rich-authoring .ql-snow .ql-picker.ql-header [data-value="3"]::before { content: "تیتر ۳"; }
.rich-authoring .ql-snow .ql-tooltip::before { content: "پیوند:"; }
.rich-authoring .ql-snow .ql-tooltip a.ql-action::after { content: "ذخیره"; }
.rich-authoring .ql-snow .ql-tooltip a.ql-remove::before { content: "حذف"; }
.rich-authoring .ql-tooltip { max-width: 90vw; z-index: 15; }
.rich-authoring .ql-tooltip input { width: 180px; max-width: 50vw; font-size: 12px; margin: 0px; min-height: 30px; }
.composer-part .rich-authoring .ql-editor { min-height: 110px; }
@media (max-width: 600px) {
.rich-authoring .ql-toolbar.ql-snow { padding: 7px; }
.rich-authoring .ql-editor { padding: 12px; min-height: 180px; }
}
.rich-authoring .ql-snow .ql-picker.ql-font .ql-picker-label::before, .rich-authoring .ql-snow .ql-picker.ql-font .ql-picker-item::before { content: "قلم پیش‌فرض"; }
.rich-authoring .ql-snow .ql-picker.ql-font [data-value="serif"]::before { content: "قلم کلاسیک"; }
.rich-authoring .ql-snow .ql-picker.ql-font [data-value="monospace"]::before { content: "هم‌عرض"; }
.rich-authoring .ql-snow .ql-picker.ql-size .ql-picker-label::before, .rich-authoring .ql-snow .ql-picker.ql-size .ql-picker-item::before { content: "معمولی"; }
.rich-authoring .ql-snow .ql-picker.ql-size [data-value="small"]::before { content: "کوچک"; }
.rich-authoring .ql-snow .ql-picker.ql-size [data-value="large"]::before { content: "بزرگ"; }
.rich-authoring .ql-snow .ql-picker.ql-size [data-value="huge"]::before { content: "خیلی بزرگ"; }
.rich-authoring .ql-snow .ql-picker.ql-header .ql-picker-item:not([data-value])::before { content: "متن معمولی"; }
.rich-authoring { border-color: rgb(185, 204, 217); box-shadow: rgba(24, 50, 77, 0.03) 0px 3px 14px; overflow-wrap: anywhere; }
.rich-authoring .ql-toolbar.ql-snow { background: rgb(240, 247, 248); border-radius: 0px; }
.rich-authoring .ql-editor { font-size: 16px; line-height: 2.1; color: rgb(25, 54, 76); }
.rich-authoring .ql-toolbar button { height: 34px; min-width: 34px; min-height: 34px !important; width: 34px !important; border-radius: 7px !important; }
.rich-authoring.rich-focus { z-index: 10000; display: flex; flex-direction: column; border: 2px solid rgb(23, 119, 129); background: rgb(255, 255, 255); box-shadow: rgba(18, 41, 68, 0.73) 0px 0px 0px 100vmax; position: fixed !important; inset: 16px !important; overflow: auto !important; border-radius: 18px !important; margin: 0px !important; }
@media (max-width: 600px) {
.rich-authoring .ql-editor { font-size: 16px; padding: 14px; }
.rich-authoring.rich-focus { max-width: calc(-16px + 100vw); inset: 8px !important; }
}
:root { --ui-line: #dce6e3; --ui-focus: #14757b; --ui-shadow: 0 8px 28px #163c4808; }
html { scroll-padding-top: 24px; }
body { font-family: IRANSansX, Tahoma, sans-serif; text-size-adjust: 100%; }
button, input, select, textarea { font-family: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { line-height: 1.7; }
:is(button, a, input, select, textarea, summary):focus-visible { outline: 3px solid var(--ui-focus); outline-offset: 3px; }
input[type="checkbox"], input[type="radio"] { width: 18px; min-height: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--ui-focus); padding: 0px; vertical-align: middle; }
input::placeholder, textarea::placeholder { color: rgb(123, 139, 148); opacity: 1; }
dialog { max-height: calc(100dvh - 32px); overscroll-behavior: contain; box-shadow: rgba(21, 50, 73, 0.15) 0px 22px 80px; }
dialog::backdrop { background: rgba(20, 46, 72, 0.42); backdrop-filter: blur(3px); }
@media (max-width: 760px) {
.preview-bar { font-size: 14px; font-weight: 600; line-height: 1.9; min-height: 44px; padding: 9px 16px; display: flex; align-items: center; justify-content: center; letter-spacing: 0px; }
.welcome { max-width: 480px; padding: 14px 16px 22px; }
.welcome .welcome-copy { gap: 14px; }
.welcome .welcome-copy .brand { width: 120px; height: 48px; flex-basis: 120px; }
.welcome .welcome-intro h1 { font-size: 18px; line-height: 1.75; }
.welcome .login-card { padding: 20px; margin-top: 14px; }
.welcome .login-card h2 { font-size: 22px; line-height: 1.7; }
.welcome .login-card > p { font-size: 14px; line-height: 1.9; }
.welcome .auth-tabs button { font-size: 14px; min-height: 46px; }
.welcome .login-card label { font-size: 14px; line-height: 1.8; margin: 12px 0px 7px; }
.welcome .login-card input { font-size: 16px; min-height: 50px; line-height: 1.6; }
.welcome .login-card .primary { font-size: 16px; min-height: 50px; line-height: 1.8; }
.welcome .auth-secondary-actions button { font-size: 13px; min-height: 42px; }
.welcome #login-footnote, .welcome #sms-note, .welcome #email-login-status { font-size: 13px; line-height: 1.9; }
.welcome .login-card > a { font-size: 14px; line-height: 1.9; margin: 10px 0px; }
.welcome #open-signup { font-size: 14px; min-height: 46px; }
.welcome #email-login-extra button { font-size: 13px; min-height: 42px; }
}
@media (max-width: 360px) {
.welcome { padding-inline: 12px; }
.welcome .login-card { padding: 18px; }
.welcome .welcome-copy .brand { width: 108px; flex-basis: 108px; }
.welcome .welcome-intro h1 { font-size: 17px; }
.welcome .login-card h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
*, ::before, ::after { scroll-behavior: auto !important; animation: auto ease 0s 1 normal none running none !important; transition: none !important; }
}
.welcome .login-card { background: rgb(255, 255, 255); border-width: 4px 1px 1px; border-style: solid; border-color: rgb(17, 103, 108) rgb(185, 203, 199) rgb(185, 203, 199); border-image: none; box-shadow: rgba(21, 52, 73, 0.07) 0px 14px 40px; color: rgb(23, 52, 75); }
.welcome .login-card h2 { color: rgb(16, 46, 74); font-weight: 700; }
.welcome .login-card > p, .welcome #login-description, .welcome #login-footnote { color: rgb(82, 99, 109); }
.welcome .login-card label { color: rgb(25, 57, 78); font-weight: 600; }
.welcome .login-card input { background: rgb(255, 255, 255); border: 1.5px solid rgb(140, 166, 170); color: rgb(16, 46, 74); box-shadow: rgba(21, 52, 73, 0.016) 0px 1px 2px inset; -webkit-text-fill-color: rgb(16, 46, 74); opacity: 1; }
.welcome .login-card input::placeholder { color: rgb(101, 121, 132); -webkit-text-fill-color: rgb(101, 121, 132); opacity: 1; }
.welcome .login-card input:focus { border-color: rgb(17, 103, 108); outline: rgba(17, 103, 108, 0.15) solid 3px; outline-offset: 2px; }
.welcome .auth-tabs { background: rgb(233, 239, 237); border: 1px solid rgb(198, 212, 208); padding: 5px; gap: 5px; }
.welcome .auth-tabs button { color: rgb(69, 90, 101); font-weight: 500; background: transparent; box-shadow: none; }
.welcome .auth-tabs button[aria-selected="true"], .welcome .auth-tabs button[aria-pressed="true"] { background: rgb(16, 47, 77); color: rgb(255, 255, 255); box-shadow: rgba(16, 47, 77, 0.13) 0px 3px 8px; font-weight: 700; }
.welcome .login-card .primary { background: rgb(16, 53, 83); color: rgb(255, 255, 255); opacity: 1; box-shadow: rgba(16, 53, 83, 0.08) 0px 5px 13px; }
.welcome .login-card .primary:hover:not(:disabled) { background: rgb(14, 102, 107); }
.welcome .login-card button:disabled { opacity: 1; cursor: not-allowed; box-shadow: none; }
.welcome .login-card .primary:disabled { background: rgb(226, 232, 236); color: rgb(66, 87, 103); border: 1px solid rgb(173, 190, 200); -webkit-text-fill-color: rgb(66, 87, 103); }
.welcome .login-card .text-button, .welcome .login-card > a { color: rgb(7, 94, 102); font-weight: 500; text-underline-offset: 4px; }
.welcome .password-field button { background: rgb(231, 239, 237); color: rgb(23, 84, 92); border: 1px solid rgb(200, 216, 212); }
.welcome #sms-note:not(:empty) { padding: 11px 13px; border: 1px solid rgb(216, 193, 140); border-radius: 11px; background: rgb(255, 247, 228); color: rgb(106, 76, 25); line-height: 1.9; }
.welcome #login-status:not(:empty), .welcome #credential-status:not(:empty), .welcome #email-login-status:not(:empty), .welcome #recovery-status:not(:empty) { padding: 11px 13px; border: 1px solid rgb(181, 211, 207); border-radius: 11px; background: rgb(238, 247, 244); color: rgb(23, 79, 82); line-height: 1.9; }
.welcome #open-signup { background: rgb(241, 247, 245); border: 1px solid rgb(175, 201, 196); border-radius: 12px; color: rgb(22, 76, 83); padding: 11px 14px; margin-top: 14px; min-height: 48px; }
.welcome .login-card button:focus-visible, .welcome .login-card a:focus-visible { outline: rgb(181, 134, 53) solid 3px; outline-offset: 3px; }
@media (max-width: 760px) {
.welcome .login-card { box-shadow: rgba(21, 52, 73, 0.047) 0px 8px 25px; }
.welcome .auth-tabs button { min-height: 46px; }
.welcome #sms-note:not(:empty) { font-size: 13px; }
.welcome #open-signup { margin-top: 12px; }
}
@media (max-width: 760px) {
html { text-size-adjust: 100%; }
}
.profile-photo-save:not(:disabled) { background: rgb(17, 107, 120); color: rgb(255, 255, 255); }
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="button"]):not([type="submit"]):not([type="reset"]), select, textarea, [contenteditable="true"], .ql-editor { font-size: 16px !important; }
}
.login-card .text-button, .login-card #family-public, .login-card #open-recovery { font-size: 14px; display: inline-flex; align-items: center; min-height: 44px !important; }
.login-card .primary:disabled { background: rgb(223, 231, 236); color: rgb(68, 82, 94); border-color: rgb(159, 178, 192); opacity: 1; }
.text-button, .platform-alert-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px !important; font-size: max(13px, 1em) !important; }
.hk-player .hk-player-button:hover:not(:disabled) { background: rgba(255, 255, 255, 0.086); color: rgb(255, 255, 255); }
.hk-player .hk-player-play:hover:not(:disabled) { background: rgb(128, 229, 215); color: rgb(14, 48, 56); transform: scale(1.04); }
@keyframes hk-wave { 
  100% { transform: scaleY(1); }
}
@keyframes hk-buffer { 
  50% { box-shadow: rgba(75, 213, 195, 0.133) 0px 0px 0px 7px; }
}
.booking-slot:hover:not(:disabled) { border-color: rgb(32, 119, 119); background: rgb(229, 243, 236); }
.chat-option:not(:disabled):hover { background: rgb(228, 238, 228); border-color: rgb(136, 179, 157); }
@media (hover: hover) and (pointer: fine) {
.patient-mode .patient-quick-card:hover:not(:disabled) { transform: translateY(-3px); border-color: rgb(196, 213, 187); box-shadow: rgba(40, 76, 56, 0.04) 0px 12px 24px; }
.patient-mode .secondary:hover:not(:disabled) { background: rgb(240, 245, 233); }
.patient-mode .primary:hover:not(:disabled) { background: rgb(28, 81, 64); }
}
body.ui-clinic:has(#welcome:not([hidden])), body.ui-clinic.staff-workspace { --navy: #0f2e4f; --teal: #155e63; --gold: #c59a52; background: radial-gradient(at 100% 0%, rgb(223, 237, 228), transparent 48%), radial-gradient(at 0% 60%, rgb(241, 234, 220), transparent 48%) rgb(248, 247, 242); color: rgb(32, 62, 80); }
body.ui-clinic #welcome:not([hidden]) { max-width: 1120px; min-height: 0px; grid-template-columns: 1.08fr 1fr; gap: 0px; padding: 0px; margin: 42px auto; border: 1px solid rgba(255, 255, 255, 0.94); border-radius: 29px; background: rgba(255, 255, 255, 0.28); box-shadow: rgba(15, 46, 79, 0.05) 0px 20px 65px; overflow: hidden; backdrop-filter: blur(16px); }
body.ui-clinic #welcome .welcome-copy { position: relative; padding: 35px 39px; background: radial-gradient(at 0% 0%, rgba(42, 105, 117, 0.4), transparent 70%), linear-gradient(130deg, rgb(22, 60, 86), rgb(15, 46, 79)); color: rgb(238, 245, 242); align-content: start; overflow: hidden; }
body.ui-clinic #welcome .welcome-copy .brand { background: rgb(255, 255, 255); border: 1px solid rgba(255, 255, 255, 0.63); padding: 8px 12px; border-radius: 16px; width: 155px; height: 67px; margin-bottom: 25px; }
body.ui-clinic #welcome .eyebrow { color: rgb(223, 193, 139); font-size: 12px; }
body.ui-clinic #welcome h1 { color: white; font-size: 35px; line-height: 1.7; letter-spacing: -0.6px; }
body.ui-clinic #welcome .welcome-intro > p { color: rgb(213, 228, 229); font-size: 13px; line-height: 2; }
body.ui-clinic #welcome .welcome-features { color: rgb(224, 207, 170); font-size: 11px; margin-top: 18px; }
body.ui-clinic #welcome .hk-hero-art { width: 230px; margin-top: 20px; opacity: 0.85; }
body.ui-clinic #welcome .hk-art-satellites { animation-duration: 45s; }
body.ui-clinic #welcome .login-card { align-self: stretch; display: flex; flex-direction: column; justify-content: center; border: 0px; border-radius: 0px; background: linear-gradient(130deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.52)); box-shadow: white 0px 1px 0px inset; padding: 35px 37px; margin: 0px; min-width: 0px; }
body.ui-clinic #welcome .login-card h2 { color: rgb(15, 46, 79); font-size: 24px; letter-spacing: -0.3px; }
body.ui-clinic #welcome .login-card > .mini-label { color: rgb(152, 117, 55); font-size: 11px; }
body.ui-clinic #welcome .login-card > p { color: rgb(82, 107, 119); font-size: 12px; line-height: 1.9; }
body.ui-clinic #welcome .auth-tabs { border: 1px solid rgb(227, 231, 225); background: rgba(233, 239, 234, 0.45); border-radius: 15px; padding: 5px; gap: 4px; }
body.ui-clinic #welcome .auth-tabs button { color: rgb(74, 101, 115); min-height: 44px; border-radius: 11px; font-size: 12px; }
body.ui-clinic #welcome .auth-tabs button[aria-selected="true"] { background: linear-gradient(125deg, rgb(21, 94, 99), rgb(18, 76, 93)); color: white; box-shadow: rgba(21, 94, 99, 0.1) 0px 4px 12px; position: relative; }
body.ui-clinic #welcome .auth-tabs button[aria-selected="true"]::after { content: ""; position: absolute; width: 20px; height: 2px; background: rgb(214, 183, 121); border-radius: 5px; bottom: 4px; left: 50%; transform: translateX(-50%); }
body.ui-clinic #welcome .login-card :is(input, select) { background: rgba(255, 255, 255, 0.85); color: rgb(32, 62, 80); border-color: rgb(201, 217, 210); border-radius: 13px; font-size: 16px; min-height: 48px; }
body.ui-clinic #welcome .login-card label { color: rgb(37, 73, 85); font-size: 12px; }
body.ui-clinic #welcome .login-card .primary { border: 1px solid rgba(255, 255, 255, 0.4); background: linear-gradient(125deg, rgb(21, 94, 99), rgb(16, 75, 92)); color: rgb(255, 255, 255); border-radius: 14px; min-height: 47px; box-shadow: rgba(21, 94, 99, 0.08) 0px 6px 17px; font-size: 13px; }
body.ui-clinic #welcome .login-card .secondary { background: rgb(255, 249, 235); border-color: rgb(223, 197, 143); color: rgb(120, 90, 39); border-radius: 12px; }
body.ui-clinic #welcome .password-field button { background: rgb(237, 244, 238); border-radius: 9px; color: rgb(21, 94, 99); }
body.ui-clinic #welcome .login-card :is(button, input):focus-visible { outline: rgb(197, 154, 82) solid 3px; outline-offset: 3px; }
@media (max-width: 760px) {
body.ui-clinic #welcome:not([hidden]) { display: block; margin: 15px 14px 28px; border-radius: 25px; }
body.ui-clinic #welcome .welcome-copy { padding: 22px 23px; grid-template-columns: minmax(0px, 1fr) 86px; gap: 8px 12px; align-items: center; }
body.ui-clinic #welcome .welcome-copy .brand { width: 125px; height: 52px; padding: 6px 9px; margin: 0px 0px 8px; border-radius: 13px; }
body.ui-clinic #welcome h1 { font-size: 25px; line-height: 1.65; margin: 0px 0px 7px; }
body.ui-clinic #welcome .eyebrow { font-size: 10px; }
body.ui-clinic #welcome .welcome-intro > p { font-size: 11px; line-height: 1.85; }
body.ui-clinic #welcome .hk-hero-art { width: 86px; margin: 0px; opacity: 0.8; }
body.ui-clinic #welcome .welcome-features { display: none; }
body.ui-clinic #welcome .login-card { padding: 25px 22px; border-radius: 0px; }
body.ui-clinic #welcome .login-card h2 { font-size: 22px; }
body.ui-clinic #welcome .auth-tabs button { font-size: 12px; }
}
@media (prefers-reduced-transparency: reduce) {
body.ui-clinic #welcome .login-card, body.ui-clinic.staff-workspace :is(.topbar, .clinic-workspace-context, .clinic-workspace-menu, .cv-dialog, .cv-drawer, .clinic-workspace-mobile) { background: rgb(247, 251, 246); backdrop-filter: none; }
}
@supports not (backdrop-filter:blur(1px)) {
body.ui-clinic #welcome .login-card, body.ui-clinic.staff-workspace :is(.topbar, .clinic-workspace-context, .clinic-workspace-menu, .cv-dialog, .cv-drawer, .clinic-workspace-mobile) { background: rgb(247, 251, 246); }
}
body.ui-clinic #welcome .welcome-copy .brand { mix-blend-mode: normal; }
@media (max-width: 760px) {
body.ui-clinic #welcome .welcome-copy { display: grid; grid-template-columns: minmax(0px, 1fr); gap: 12px; padding: 23px; }
body.ui-clinic #welcome .welcome-copy .brand { grid-area: 1 / 1; justify-self: start; margin: 0px; width: 123px; height: 52px; }
body.ui-clinic #welcome .welcome-intro { grid-area: 2 / 1; }
body.ui-clinic #welcome h1 { font-size: 26px; line-height: 1.65; margin: 0px 0px 6px; }
body.ui-clinic #welcome .hk-hero-art { display: none; }
}
.cv-new-dialog .cv-compose-modes > .cv-mode-button:active:not(:disabled) { background: rgb(224, 239, 242); color: rgb(25, 62, 85); border-color: rgb(48, 123, 136); transform: none; }
.cv-new-dialog .cv-compose-modes > .cv-mode-button[aria-pressed="true"]:active:not(:disabled) { background: rgb(13, 88, 98); color: rgb(255, 255, 255); border-color: rgb(13, 88, 98); }
@media (hover: hover) and (pointer: fine) {
.cv-new-dialog .cv-compose-modes > .cv-mode-button:hover:not(:disabled) { background: rgb(224, 239, 242); color: rgb(25, 62, 85); border-color: rgb(48, 123, 136); }
.cv-new-dialog .cv-compose-modes > .cv-mode-button[aria-pressed="true"]:hover:not(:disabled) { background: rgb(13, 88, 98); color: rgb(255, 255, 255); border-color: rgb(13, 88, 98); }
}
.activity-dates .persian-date { display: flex; flex-wrap: wrap; gap: 8px; }
.hakimno-ai .hakimno-ai-answer, .hakimno-ai .hakimno-ai-welcome { align-self: flex-end; margin: 0px; border: 1px solid rgb(224, 229, 223); border-radius: 17px 17px 17px 5px; background: rgb(255, 255, 255); box-shadow: rgba(25, 51, 76, 0.02) 0px 3px 12px; }
.hakimno-ai-welcome { border-top: 2px solid rgb(195, 163, 98) !important; }
@keyframes hakimno-ai-pulse { 
  50% { opacity: 0.55; }
}
body.ui-clinic.patient-mode :is(.patient-connection-link, .patient-quick-card):hover:not(:disabled) { background: rgba(255, 255, 255, 0.73); border-color: rgb(185, 214, 204); box-shadow: rgba(37, 75, 80, 0.04) 0px 8px 25px; }
.surgery-calendar { width: min(940px, 100% - 24px); }
.surgery-calendar > header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.surgery-calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0px, 1fr)); gap: 5px; margin-block: 14px; }
.surgery-calendar-days.annual { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.surgery-calendar-days > button { min-width: 0px; min-height: 44px; margin: 0px; padding: 4px; font-size: 0.85rem; }
.surgery-calendar-days > span { display: grid; place-items: center; min-height: 40px; text-align: center; font-size: 0.74rem; }
.surgery-calendar-days .has-completed { background: rgb(216, 238, 231); color: rgb(20, 80, 68); border-color: rgb(116, 175, 158); }
.surgery-calendar-days [aria-current="date"] { outline: rgb(15, 46, 79) solid 2px; outline-offset: 1px; }
@keyframes pe-breathe { 
  0%, 100% { background-position: 100% 0px; }
  50% { background-position: 0px 0px; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
body.ui-clinic.patient-mode .primary:hover:not(:disabled):not(.danger):not(.admin-danger) { background: rgb(25, 63, 97); }
}
body.ui-clinic.patient-native-ready > .preview-bar, body.ui-clinic.patient-native-ready > .pwa-install-banner, body.ui-clinic.patient-native-ready #application > .sidebar, body.ui-clinic.patient-native-ready #application > main > footer, body.ui-clinic.patient-native-ready .patient-view-context, body.ui-clinic.patient-native-ready .patient-floating-dock, body.ui-clinic.patient-native-ready .message-new-toast { display: none; }
body.ui-clinic.patient-native-ready :is(button, [role="button"]):active:not(:disabled) { transform: scale(0.97); }
@keyframes pa-sheet-enter { 
  0% { transform: translateY(28px); opacity: 0.5; }
  100% { transform: translateY(0px); opacity: 1; }
}
@keyframes pa-page-enter { 
  0% { transform: translateX(18px); opacity: 0.6; }
  100% { transform: translateX(0px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
body.ui-clinic.patient-native-ready :is(button, [role="button"]):active:not(:disabled) { transform: none; }
}
body.ui-clinic.patient-native-ready .patient-pearl-calendar { position: absolute; left: 7px; top: 57px; width: 94px; height: 122px; pointer-events: none; transform: rotate(-5deg); z-index: -1; }
body.ui-clinic.patient-native-ready .patient-pearl-calendar svg { width: 100%; height: 100%; }
body.ui-clinic.patient-native-ready .patient-home-booking::before, body.ui-clinic.patient-native-ready .patient-pearl-calendar { display: none; }
@keyframes ph-loading { 
  50% { opacity: 0.4; }
}
body.ui-clinic #welcome:not([hidden]) { width: min(100% - 32px, 980px); min-height: 0px; margin: 32px auto; padding: 28px; gap: 32px; border: 1px solid rgb(255, 255, 255); border-radius: 32px; background: rgba(248, 243, 237, 0.95); box-shadow: rgb(255, 255, 255) 0px 2px 3px inset, rgba(38, 53, 74, 0.1) 0px 22px 60px; }
body.ui-clinic:has(#welcome:not([hidden])) { background: url("./assets/patient-pearl-ambient.webp") center center / cover fixed rgb(238, 232, 227); color: rgb(23, 43, 67); }
body.ui-clinic #welcome .welcome-copy { background: transparent; padding: 16px; color: rgb(23, 43, 67); }
body.ui-clinic #welcome .hk-hero-art { display: none; }
body.ui-clinic #welcome .welcome-copy h1 { font-size: 32px; line-height: 1.65; color: rgb(23, 43, 67); }
body.ui-clinic #welcome .welcome-copy p { color: rgb(69, 82, 101); font-size: 16px; line-height: 1.9; }
body.ui-clinic #welcome .login-card { background: rgb(255, 253, 250); border: 1px solid rgb(255, 255, 255); border-radius: 26px; padding: 26px; box-shadow: rgba(38, 53, 74, 0.07) 0px 10px 28px; min-width: 0px; }
body.ui-clinic #welcome :is(input, select) { min-height: 50px; border: 1px solid rgb(190, 179, 163); border-radius: 14px; background: rgb(255, 253, 249); color: rgb(23, 43, 67); }
body.ui-clinic #welcome .auth-tabs { padding: 5px; gap: 4px; border-radius: 17px; background: rgb(241, 233, 223); }
body.ui-clinic #welcome .auth-tabs button { min-height: 44px; color: rgb(23, 43, 67); border-radius: 13px; }
body.ui-clinic #welcome .auth-tabs button[aria-selected="true"] { background: rgb(37, 56, 79); color: rgb(255, 253, 249); box-shadow: rgba(255, 255, 255, 0.314) 0px 1px 2px inset; }
body.ui-clinic #welcome .primary { background: linear-gradient(135deg, rgb(53, 74, 98), rgb(23, 43, 67)); color: rgb(255, 253, 249); border: 1px solid rgb(52, 73, 94); border-radius: 16px; min-height: 50px; box-shadow: rgba(255, 255, 255, 0.333) 0px 1px 2px inset, rgba(23, 43, 67, 0.1) 0px 6px 16px; }
body.ui-clinic #welcome .welcome-features { display: flex; flex-wrap: wrap; gap: 8px; }
body.ui-clinic #welcome .welcome-features span { background: rgb(245, 236, 221); color: rgb(108, 80, 41); border: 1px solid rgb(228, 210, 182); border-radius: 20px; padding: 6px 12px; font-size: 13px; }
@media (max-width: 650px) {
body.ui-clinic #welcome:not([hidden]) { display: flex; flex-direction: column; width: calc(100% - 24px); margin: 16px auto; padding: 16px; gap: 18px; }
body.ui-clinic #welcome .welcome-copy { padding: 4px 8px; }
body.ui-clinic #welcome .welcome-copy h1 { font-size: 24px; line-height: 1.55; margin-block: 12px; }
body.ui-clinic #welcome .brand { max-width: 120px; max-height: 65px; object-fit: contain; }
body.ui-clinic #welcome .login-card { padding: 20px; width: 100%; }
body.ui-clinic #welcome .welcome-features { display: none; }
}
body.ui-clinic #welcome .login-card button.primary { background: linear-gradient(135deg, rgb(53, 74, 98), rgb(23, 43, 67)); border-color: rgb(37, 56, 79); color: rgb(255, 253, 249); }
body.ui-clinic.patient-mode.pearl-ui-active .ph-hero > .ph-calendar-ink { position: absolute; inset: 0px; width: 100%; height: 100%; pointer-events: none; fill: rgb(41, 55, 74); stroke: none; overflow: hidden; }
.ph-calendar-ink text { font-family: IRANSansX, Tahoma, sans-serif; direction: rtl; stroke: none; font-variant-numeric: tabular-nums; }
.ph-calendar-ink .ph-calendar-number { font-size: 76px; font-weight: 600; }
.ph-calendar-ink .ph-calendar-caption { font-size: 28px; font-weight: 500; }
body.ui-clinic:has(#welcome:not([hidden])) { background-color: rgb(242, 237, 232); background-image: radial-gradient(at 12% 12%, rgba(228, 209, 185, 0.52), transparent 58%), radial-gradient(at 88% 78%, rgba(217, 220, 231, 0.5), transparent 62%), linear-gradient(145deg, rgb(250, 247, 242), rgb(239, 233, 229)); background-attachment: fixed; background-size: cover; background-repeat: no-repeat; }
@media (prefers-reduced-transparency: reduce) {
body.ui-clinic:has(#welcome:not([hidden])) { background: rgb(242, 237, 232); }
}
body.ui-clinic #welcome .welcome-copy > .brand { display: block; margin-inline: auto; place-self: center; object-fit: contain; float: none; }
body.ui-clinic #welcome .welcome-copy { text-align: center; }
body.owner-app, body.ui-clinic:not(.patient-mode) { --p-ink: #172B43; --p-ink-soft: #33465A; --p-muted: #455265; --p-accent: #25384F; --p-canvas: #F5F0E9; --p-paper: #FFFDFA; --p-line: #E5DBCE; --p-line-soft: #F1E8DC; --p-gold: #C59A52; --p-mint: #F2EBDD; --p-shadow: 0 3px 5px #26354A06,0 12px 28px #26354A0D; background-color: rgb(245, 240, 233); color: rgb(23, 43, 67); }
