@font-face{font-family:Cairo;src:url('/gateway/fonts/cairo-latin-600.woff2') format('woff2');font-weight:600;font-display:swap}@font-face{font-family:Cairo;src:url('/gateway/fonts/cairo-arabic-700.woff2') format('woff2');font-weight:700;font-display:swap}@font-face{font-family:Tajawal;src:url('/gateway/fonts/tajawal-latin-400.woff2') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:Tajawal;src:url('/gateway/fonts/tajawal-arabic-500.woff2') format('woff2');font-weight:500;font-display:swap}
:root{--navy:#073b64;--navy2:#052c4b;--navy3:#0e496f;--ink:#17324a;--muted:#607489;--bg:#f4f8fb;--sand:#f1e8da;--sand2:#fff7e8;--white:#fff;--red:#c6242e;--teal:#128878;--line:#d6e1e9;--ok:#e9f6ef;--radius:20px;--shadow:0 14px 36px rgba(8,52,85,.10);--shadow-soft:0 8px 22px rgba(8,52,85,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Tajawal,Arial,sans-serif;font-size:16px;line-height:1.65}.shell{width:min(1180px,calc(100% - 32px));margin:auto}.header{background:rgba(255,255,255,.985);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30;backdrop-filter:blur(8px)}.header-row{min-height:76px;display:flex;align-items:center;gap:26px}.brand{display:flex;align-items:center;gap:10px;color:var(--navy);text-decoration:none;white-space:nowrap}.brand img{width:48px;height:48px;object-fit:contain}.brand span{display:grid;line-height:1.2}.brand strong{font:700 18px Cairo,Tajawal,sans-serif}.brand small{font-size:12px;color:var(--muted)}.nav{margin-inline:auto;display:flex;align-items:center;gap:4px}.nav a{color:var(--ink);text-decoration:none;padding:9px 12px;border-radius:10px;font-weight:500;transition:.18s ease}.nav a:hover,.nav a[aria-current=page]{background:var(--sand);color:var(--navy)}.langs{display:flex;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:white}.langs button{border:0;background:white;padding:8px 10px;cursor:pointer;color:var(--muted);font:600 12px Tajawal}.langs button.active{background:var(--navy);color:white}
h1,h2,h3{font-family:Cairo,Tajawal,sans-serif;line-height:1.2}h1,h2{color:var(--navy2)}h2{margin:0 0 10px;font-size:23px}.eyebrow{font:700 12px Cairo,Tajawal,sans-serif;letter-spacing:.05em;text-transform:uppercase;color:var(--red);margin:0 0 10px}.eyebrow.light{color:#8ad6cf}.hero-rdv{background:linear-gradient(118deg,var(--navy2) 0%,var(--navy) 72%,#0b527b 100%);color:white;position:relative;overflow:hidden}.hero-rdv:after{content:"";position:absolute;inset:auto -160px -250px auto;width:520px;height:520px;border:1px solid rgba(255,255,255,.13);border-radius:50%}.hero-rdv-grid{min-height:390px;padding:58px 0;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr);gap:58px;align-items:center;position:relative;z-index:1}.hero-copy h1{color:white;font-size:clamp(38px,5vw,62px);margin:0 0 16px;max-width:800px}.hero-copy .lead{font-size:19px;color:#d7e7f1;max-width:760px;margin:0}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.btn{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:10px 18px;border-radius:12px;text-decoration:none;border:1px solid transparent;font:700 14px Cairo,Tajawal,sans-serif;cursor:pointer;transition:.18s ease}.btn.primary{background:var(--navy);color:white}.btn.primary:hover{background:var(--navy2)}.btn.secondary{background:white;color:var(--navy);border-color:#bfcfd9}.btn.secondary:hover{background:#f7fafc}.btn.accent{background:var(--red);color:white}.btn.accent:hover{background:#a91e27}.btn.ghost{background:transparent;color:white;border-color:rgba(255,255,255,.55)}.btn.ghost:hover{background:rgba(255,255,255,.08)}.btn.light-btn{background:white;color:var(--navy);border-color:white}.btn.full{width:100%}.brand-panel{background:white;color:var(--navy);border-radius:22px;padding:28px 24px;text-align:center;box-shadow:0 18px 36px rgba(0,0,0,.16);display:grid;place-items:center;gap:6px}.brand-panel img{width:132px;height:132px;object-fit:contain}.brand-panel strong{font:700 22px Cairo,Tajawal,sans-serif}.brand-panel span{color:var(--muted);font-size:13px}.section-block{padding:46px 0}.section-kicker{color:var(--teal);font-weight:700;margin-bottom:14px}.access-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft);padding:26px}.access-card{position:relative;min-height:215px}.access-card.featured{border-top:4px solid var(--teal)}.step,.card-number{display:inline-flex;width:38px;height:38px;border-radius:50%;align-items:center;justify-content:center;background:var(--sand);color:var(--navy);font:700 12px Cairo;margin-bottom:14px}.text-link{color:var(--red);font-weight:700;text-decoration:none}.portal-section{background:#eef4f8;padding:46px 0 52px}.portal-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:22px}.portal-card{padding:30px}.portal-card>p:not(.eyebrow){color:var(--muted)}.feature-list{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:10px}.feature-list li{position:relative;padding-inline-start:28px}.feature-list li:before{content:"✓";position:absolute;inset-inline-start:0;top:0;color:var(--teal);font-weight:700}.portal-side{display:grid;gap:16px}.info-card{border-radius:var(--radius);padding:26px;box-shadow:var(--shadow-soft)}.navy-card{background:var(--navy);color:white}.navy-card h2{color:white}.navy-card p{color:#d5e3ed}.help-card{background:white;border:1px solid var(--line)}.contact-line{font:700 18px Cairo;margin:16px 0 3px}.contact-line a,.contact-link{color:var(--navy);text-decoration:none}.footer-deep{background:#062b3a;color:#d9e7ed;padding:34px 0 18px}.footer-grid{display:grid;grid-template-columns:1.3fr .8fr .8fr;gap:30px}.footer-grid>div{display:grid;align-content:start;gap:5px}.footer-grid strong{color:white;font-family:Cairo}.footer-grid p{margin:0;color:#b9ccd5}.footer-grid a{color:#d9e7ed;text-decoration:none}.footer-bottom{margin-top:24px;padding-top:14px;border-top:1px solid rgba(255,255,255,.13);display:flex;justify-content:space-between;color:#9eb5c0;font-size:13px}
.page-banner{background:linear-gradient(118deg,var(--navy2),var(--navy));color:white}.page-banner-row{min-height:205px;padding:36px 0;display:flex;align-items:center;justify-content:space-between;gap:30px}.page-banner h1{color:white;font-size:clamp(32px,4vw,50px);margin:0 0 10px}.page-banner p{margin:0;color:#d6e6ef}.back-link-light{color:white;text-decoration:none;font-weight:700;white-space:nowrap}.page{padding-top:38px;padding-bottom:56px}.page-tight{padding-top:34px}.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px}.rdv-form-layout{align-items:start}.form-card{display:grid;gap:19px}.form-card-rdv{padding:28px}.form-title{display:flex;align-items:flex-start;gap:13px;border-bottom:1px solid var(--line);padding-bottom:12px}.form-title>span{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--teal);color:white;font-weight:700;flex:0 0 auto}.form-title h2,.form-title p{margin:0}.form-title p{color:var(--muted);font-size:14px}.grid{display:grid;gap:14px}.grid.two{grid-template-columns:1fr 1fr}label{display:grid;gap:7px;font-weight:500}input,select,textarea{width:100%;border:1px solid #b9cbd8;border-radius:10px;background:#fff;padding:11px 12px;color:var(--ink);font:inherit;outline:none}input:focus,select:focus,textarea:focus{border-color:#4e829f;box-shadow:0 0 0 3px rgba(62,120,155,.12)}textarea{resize:vertical}.check{display:flex;align-items:flex-start;gap:10px}.check input{width:19px;height:19px;margin-top:4px}.check span{display:grid}.check small,.muted{color:var(--muted);font-size:13px}.consent-box{background:#f6faf8;padding:12px;border-radius:10px}.center-text{text-align:center;margin:0}.honeypot{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important}.side-panel{background:var(--navy);color:white;border-radius:18px;padding:24px;box-shadow:var(--shadow);position:sticky;top:96px}.side-panel h2{color:white}.side-panel>p{color:#cfdee8}.side-panel dl{display:grid;gap:8px;margin:18px 0}.side-panel dl div{display:flex;justify-content:space-between;gap:15px;border-top:1px solid rgba(255,255,255,.14);padding-top:8px}.side-panel dt{color:#d5e3eb}.side-panel dd{margin:0;font-weight:700}.side-note{display:grid;gap:5px;background:var(--sand2);color:var(--ink);padding:14px;border-radius:10px;margin-top:18px}.side-note strong{color:#a85b00}.side-note span{font-size:13px}.notice{border-radius:10px;padding:10px 12px;margin:0}.notice.error{background:#fff0ef;color:#8a2924;border:1px solid #f1c2bf}.notice.info{background:#edf5fa;color:#28536e;border:1px solid #c6dce9}.success{text-align:center}.success code{display:block;width:max-content;max-width:100%;margin:20px auto;padding:12px 20px;border-radius:10px;background:#edf4f7;color:var(--navy2);font-size:22px;font-weight:700;direction:ltr}.tracking-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.tracking-card,.patient-access{min-height:360px}.tracking-form{display:grid;gap:14px}.patient-access{border-top:4px solid var(--navy);display:flex;flex-direction:column}.patient-access .btn{margin-top:auto}.security-note{background:#eef6fa;border:1px solid #d3e3ed;border-radius:10px;padding:12px;margin:12px 0 20px;color:#355b73}.tracking-result{display:grid;gap:10px;margin-top:18px;border-top:1px solid var(--line);padding-top:18px}.tracking-result>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tracking-result span{color:var(--muted)}.hidden{display:none!important}.footer-simple{border-top:1px solid var(--line);background:white}.footer-row{min-height:66px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:14px}.footer-row a{color:var(--navy)}
[dir=rtl] body{text-align:right}[dir=rtl] .text-link,[dir=rtl] input[dir=ltr],[dir=rtl] code,[dir=rtl] [dir=ltr]{direction:ltr}[dir=rtl] .feature-list li{padding-inline-start:28px}[dir=rtl] .back-link-light{direction:rtl}
@media(max-width:900px){.header-row{flex-wrap:wrap;padding-block:10px;gap:8px}.nav{order:3;width:100%;overflow:auto;justify-content:center;border-top:1px solid #edf1f4;padding-top:6px}.hero-rdv-grid,.portal-grid,.form-layout,.tracking-grid{grid-template-columns:1fr}.hero-rdv-grid{gap:28px;padding:42px 0}.brand-panel{max-width:300px}.page-banner-row{display:block}.page-banner-row .back-link-light{display:inline-block;margin-top:14px}.side-panel{position:static;order:-1}.footer-grid{grid-template-columns:1fr 1fr}.access-grid{grid-template-columns:1fr}.grid.two{grid-template-columns:1fr}}
@media(max-width:560px){body{font-size:15px}.shell{width:min(100% - 22px,1180px)}.header-row{min-height:66px}.brand img{width:42px;height:42px}.brand strong{font-size:16px}.nav{justify-content:flex-start}.nav a{padding:8px 9px;white-space:nowrap}.langs button{padding:7px 8px}.hero-rdv-grid{min-height:auto;padding:34px 0}.hero-copy h1{font-size:34px}.hero-copy .lead{font-size:17px}.brand-panel{padding:20px}.brand-panel img{width:98px;height:98px}.section-block,.portal-section{padding:32px 0}.card,.info-card{padding:20px}.page-banner-row{min-height:170px;padding:28px 0}.page-banner h1{font-size:31px}.page{padding-top:22px}.form-card-rdv{padding:18px}.footer-grid{grid-template-columns:1fr}.footer-bottom{display:grid;gap:5px}.footer-row{gap:12px;flex-wrap:wrap}.tracking-card,.patient-access{min-height:0}}

/* v0.2.19-R2 — operational calendar parity */
.calendar-notice{margin:10px 0 2px;padding:12px 14px;border-radius:12px;border:1px solid var(--line);font-weight:750;line-height:1.55}.calendar-notice.holiday{background:#fff8e6;border-color:#e8bf58;color:#704d00}.calendar-notice.closure{background:#fff1f1;border-color:#df777d;color:#8b1720}.calendar-notice.opening{background:#eaf9f4;border-color:#56af95;color:#075b47}.holiday-panel{margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.18)}.holiday-panel h3{margin:0 0 6px;font-size:1rem}.holiday-panel>p{margin:0 0 10px;font-size:.82rem;line-height:1.5;opacity:.82}.holiday-list{display:grid;gap:8px}.holiday-item{display:grid;gap:2px;background:#fff7e6;color:var(--navy);border:1px solid #eac763;border-radius:11px;padding:10px 12px}.holiday-item strong{font-size:.78rem;color:#8b5d00}.holiday-item span{font-weight:800;font-size:.9rem}


/* v0.2.31-H3 - RDV heritage public gateway */
.public-portal-page {
  --heritage-header-bg: rgba(255,255,255,.97);
  --heritage-utility-bg: #f4f8fb;
  --heritage-utility-line: #d1e0ea;
}

.public-portal-page .header {
  background: var(--heritage-header-bg);
  backdrop-filter: blur(14px);
}

.public-portal-page .header-actions {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-inline-start: auto;
}

.public-portal-page .portal-external-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px;
  background: var(--heritage-utility-bg);
  border: 1px solid var(--heritage-utility-line);
  border-radius: 16px;
}

.public-portal-page .portal-site-cta,
.public-portal-page .portal-app-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 10px;
  color: var(--navy);
  background: #fff;
  border: 1px solid transparent;
  border-radius: 12px;
  white-space: nowrap;
  text-decoration: none;
  font: 800 10px "Cairo", "Tajawal", sans-serif;
  line-height: 1;
  transition: .18s ease;
}

.public-portal-page .portal-site-cta:hover,
.public-portal-page .portal-site-cta:focus-visible,
.public-portal-page .portal-app-cta:hover,
.public-portal-page .portal-app-cta:focus-visible {
  color: #0a5ea8;
  border-color: #afcce0;
  transform: translateY(-1px);
}

.public-portal-page .portal-utility-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  display: inline-grid;
  place-items: center;
}

.public-portal-page .portal-app-icon {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9e6ee;
  border-radius: 7px;
  box-shadow: 0 2px 7px rgba(7,54,95,.08);
}

.public-portal-page .portal-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-portal-page .portal-site-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  border: 1.7px solid currentColor;
  border-radius: 50%;
}

.public-portal-page .portal-site-icon::before {
  content: "";
  position: absolute;
  inset: 3px 7px;
  border-inline: 1.4px solid currentColor;
  border-radius: 50%;
}

.public-portal-page .portal-site-icon::after {
  content: "";
  position: absolute;
  inset-inline: 3px;
  top: 50%;
  border-top: 1.4px solid currentColor;
  transform: translateY(-50%);
}

.public-portal-page .portal-utility-mobile {
  display: none;
}

.public-portal-page .access-step {
  width: auto;
  min-width: 110px;
  height: 38px;
  padding-inline: 10px;
  gap: 7px;
  border-radius: 999px;
}

.public-portal-page .access-step b {
  font-size: 11px;
}

.public-portal-page .access-step small {
  font-size: 10px;
  font-weight: 800;
}

.public-portal-page .footer-grid > div:first-child p + p {
  margin-top: 2px;
}

@media (min-width: 901px) {
  .public-portal-page .shell {
    width: min(1200px, calc(100% - 40px));
  }

  .public-portal-page .header-row {
    min-height: 86px;
    gap: 22px;
  }

  .public-portal-page .brand {
    gap: 12px;
  }

  .public-portal-page .brand img {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
  }

  .public-portal-page .brand strong {
    font-size: 17px;
  }

  .public-portal-page .brand small {
    margin-top: 3px;
    font-size: 11px;
  }

  .public-portal-page .nav {
    gap: 4px;
  }

  .public-portal-page .nav > a:not(.portal-utility-mobile) {
    padding-inline: 10px;
    font-size: 13px;
  }

  .public-portal-page .langs button {
    min-width: 33px;
    min-height: 30px;
    font-size: 10px;
  }

  .public-portal-page .brand-panel {
    min-height: 320px;
    align-content: center;
    padding: 32px;
  }

  .public-portal-page .brand-panel img {
    width: 168px;
    height: 168px;
  }

  .public-portal-page .brand-panel strong {
    font-size: 27px;
  }

  .appointment-page .page-banner-row {
    min-height: 235px;
    padding-block: 44px;
  }

  .appointment-page .page-banner h1 {
    max-width: 900px;
    font-size: clamp(42px, 4.35vw, 60px);
  }

  .appointment-page .form-layout {
    grid-template-columns: minmax(0,1fr) 350px;
    gap: 38px;
  }

  .appointment-page .form-card-rdv {
    padding: 34px;
  }

  .appointment-page input,
  .appointment-page select,
  .appointment-page textarea {
    min-height: 52px;
    padding: 12px 14px;
    font-size: 15px;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .public-portal-page .portal-site-cta,
  .public-portal-page .portal-app-cta {
    padding-inline: 7px;
    font-size: 0;
    gap: 0;
  }
}

@media (max-width: 900px) {
  .public-portal-page .header-actions {
    margin-inline-start: auto;
  }

  .public-portal-page .portal-external-actions {
    display: none;
  }

  .public-portal-page .portal-utility-mobile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .public-portal-page .portal-utility-mobile .portal-utility-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .public-portal-page .nav {
    justify-content: flex-start;
    scrollbar-width: thin;
  }
}

@media (max-width: 560px) {
  .public-portal-page .shell {
    width: min(100% - 22px, 1200px);
  }

  .public-portal-page .header-row {
    gap: 7px;
  }

  .public-portal-page .header-actions {
    gap: 6px;
  }

  .public-portal-page .brand small {
    max-width: 150px;
    white-space: normal;
  }

  .public-portal-page .access-step {
    min-width: 0;
    max-width: 100%;
  }
}
