/* 2.53 public stream — the customer journey pages, light and calm (owner: "more professional and special"; no heavy dark
   sections, nothing that looks generated). Loaded by public/base.html on every public page except the home, the TV
   board and the approved My Account pages (body.p253). The home keeps public-d.css exactly as it is.
   Works with the room colours from kit-pages.css (--tif, --tifd, --tif-tint, --court-on, --court-deep). */

body.p253{--l53:#86929C;--e53:#B42318;--e53-bg:#FFF6F5;--r53:18px;--s53:0 1px 2px rgba(10,22,40,.04),0 12px 32px -14px rgba(10,22,40,.14)}

/* ---------- shared: headings, leads, focus, touch targets ---------- */
body.p253 main h1{letter-spacing:-.015em;text-wrap:balance}
body.p253 main .lead,body.p253 main .sub{text-wrap:pretty}
body.p253 main :where(a,button,input,select,textarea,summary,label):focus-visible{outline:3px solid color-mix(in srgb,var(--tif) 70%,#fff);outline-offset:2px;border-radius:10px}
body.p253 main .btn{min-height:48px}
body.p253 main .btn.sm{min-height:44px;height:44px}
[dir=rtl] body.p253 main h1{letter-spacing:0;line-height:1.35}

/* ---------- forms: labels, help text, errors, borders that pass 3:1 ---------- */
body.p253 main .fld{gap:7px}
body.p253 main .fld > label,body.p253 main label.fld > span:first-child{font:700 14px/1.35 var(--f);color:var(--ink)}
body.p253 main .fld input,body.p253 main .fld select,body.p253 main .fld .pre,body.p253 main .fld textarea,body.p253 main .err-row input{border-color:var(--l53);border-radius:14px}
body.p253 main .fld input,body.p253 main .fld select{height:54px}
body.p253 main .fld .pre input{height:52px;border:0}
body.p253 main .fld .pre span{height:52px;background:color-mix(in srgb,var(--tif) 6%,#fff);color:var(--ink)}
body.p253 main .fld input::placeholder,body.p253 main textarea::placeholder{color:#7C8994;opacity:1}
body.p253 main .fld input:hover,body.p253 main .fld select:hover,body.p253 main .fld .pre:hover{border-color:#5F6E7A}
body.p253 main .fld input:focus,body.p253 main .fld select:focus,body.p253 main .fld textarea:focus,body.p253 main .fld .pre:focus-within{border-color:var(--tif);box-shadow:0 0 0 4px color-mix(in srgb,var(--tif) 18%,transparent);outline:0}
body.p253 main .fld .pre input:focus{box-shadow:none}
body.p253 main .fhint{display:block;font:500 13px/1.45 var(--f);color:var(--mu);margin:0}
body.p253 main .fld p.err{display:flex;align-items:flex-start;gap:7px;margin:0;font:600 13.5px/1.4 var(--f);color:var(--e53)}
body.p253 main .fld p.err::before{content:"!";flex:none;display:grid;place-items:center;width:18px;height:18px;margin-top:1px;border-radius:50%;background:var(--e53);color:#fff;font:800 12px/1 var(--f)}
body.p253 main .fld input.err,body.p253 main .fld input[aria-invalid=true],body.p253 main .fld .pre:has(input[aria-invalid=true]){border-color:var(--e53);background:var(--e53-bg)}
body.p253 main .fld .pre:has(input[aria-invalid=true]) input{background:transparent}
body.p253 main .fld:has(p.err) .fhint{display:none}
body.p253 main p.alert{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:14px;background:var(--e53-bg);color:var(--e53);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--e53) 30%,transparent);font-weight:600;line-height:1.5}

/* ---------- register: a light rail, numbered steps, one clear primary action ---------- */
body.c.p253 .split .rail-l{background:linear-gradient(180deg,#fff,color-mix(in srgb,var(--tif) 7%,#fff));color:var(--ink);box-shadow:inset -1px 0 0 var(--line)}
[dir=rtl] body.c.p253 .split .rail-l{box-shadow:inset 1px 0 0 var(--line)}
body.p253 .split .rail-l .net{display:none}
body.p253 .split .rail-l::before{border-color:color-mix(in srgb,var(--tif) 22%,transparent)}
body.c.p253 .split .rail-l .eyebrow{color:var(--tifd)!important}
body.p253 .split .rail-l p.h2{color:var(--court-deep,var(--navy));font-weight:800;letter-spacing:-.01em}
body.c.p253 .split .rail-l .cname{color:var(--mu);font-size:14px;font-weight:600}
body.p253 .split .rail-l .rlive{color:var(--mu)}
body.p253 .split .rail-l .cph{box-shadow:0 18px 40px -20px rgba(10,22,40,.35)}
body.c.p253 .vsteps.v3 li{background:#fff;color:var(--mu);box-shadow:inset 0 0 0 1px var(--line)}
body.c.p253 .vsteps.v3 li span small{color:var(--mu)}
body.c.p253 .vsteps.v3 li i{background:var(--soft,#F5F8FA);color:var(--mu);box-shadow:inset 0 0 0 1px var(--line)}
body.c.p253 .vsteps.v3 li.on{background:#fff;color:var(--ink);box-shadow:inset 3px 0 0 var(--tif),inset 0 0 0 1.5px color-mix(in srgb,var(--tif) 40%,transparent),0 10px 24px -14px color-mix(in srgb,var(--tif) 60%,transparent)}
[dir=rtl] body.c.p253 .vsteps.v3 li.on{box-shadow:inset -3px 0 0 var(--tif),inset 0 0 0 1.5px color-mix(in srgb,var(--tif) 40%,transparent),0 10px 24px -14px color-mix(in srgb,var(--tif) 60%,transparent)}
body.c.p253 .vsteps.v3 li.on i{background:var(--tif);color:var(--court-on,var(--navy));box-shadow:0 0 0 4px color-mix(in srgb,var(--tif) 18%,transparent)}
body.c.p253 .vsteps.v3 li.done,body.c.p253 .vsteps.v3 li.done:hover span{color:var(--ink)}
body.c.p253 .vsteps.v3 li.done i{background:var(--tif-tint);color:var(--tifd);box-shadow:none}
body.p253 .split .content{padding-top:40px}
body.p253 .split .content h1,body.p253 .split .content .step > h2{font-size:clamp(28px,3vw,38px);line-height:1.15;margin:0}
body.p253 .split .content .lead{max-width:60ch;margin-top:10px;line-height:1.6}
body.p253 .r53-step{margin:0 0 8px;font:700 12.5px/1 var(--f);letter-spacing:.12em;text-transform:uppercase;color:var(--tifd)}
[dir=rtl] body.p253 .r53-step{letter-spacing:0;font-size:13.5px}
body.p253 .split .tiles{gap:12px}
body.p253 .split .tile2{min-height:80px;border-color:var(--line);border-radius:18px}
body.p253 .split .tile2:hover{border-color:color-mix(in srgb,var(--rc) 45%,var(--line))}
body.p253 .split .uae{padding:22px 20px;border-radius:var(--r53);box-shadow:inset 0 0 0 1px var(--line);background:#fff}
body.p253 .split .fields{gap:18px 16px;margin-top:4px}
body.p253 .split .fine{padding:12px 14px;border-radius:14px;background:color-mix(in srgb,var(--tif) 5%,#fff);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tif) 14%,var(--line));line-height:1.5;margin-top:18px}
body.p253 .split .fine .ic{color:var(--tifd);flex:none}
body.p253 .split .row-btn .btn.tif.lg{min-width:220px}
body.p253 #s3{padding:36px 0 8px}
body.p253 #s3 .going{display:flex;align-items:center;gap:14px}
body.p253 #s3 .spin{width:34px;height:34px;border-width:3.5px}
body.p253 #s3 .r53-going{margin-top:12px}
@media (max-width:900px){
  body.c.p253 .split .rail-l{box-shadow:inset 0 -1px 0 var(--line);background:linear-gradient(180deg,#fff,color-mix(in srgb,var(--tif) 6%,#fff))}
  body.p253 .split .rail-l p.h2{font-size:17px}
  body.c.p253 .split .rail-l .eyebrow{display:none}
  body.c.p253 .vsteps.v3 li{padding:9px 10px}
  body.c.p253 .vsteps.v3 li.on{box-shadow:inset 0 3px 0 var(--tif),inset 0 0 0 1.5px color-mix(in srgb,var(--tif) 40%,transparent)}
  body.p253 .split .content{padding:26px 20px 56px}
  body.p253 .split .content .prog{margin:-26px -20px 22px}
}
@media (max-width:640px){
  body.p253 .split .fields{grid-template-columns:1fr}
  body.p253 .split .tiles{grid-template-columns:1fr}
  body.p253 .split .row-btn{flex-direction:column-reverse;align-items:stretch;gap:10px}
  body.p253 .split .row-btn .btn{width:100%;min-width:0}
  body.p253 .split .content h1,body.p253 .split .content .step > h2{font-size:28px}
}

/* ---------- live page /r/<token>: a light pass in the room's colour, calm motion, a clear Join ---------- */
body.c.p253 #request-waiting .lq-hero{background:#fff;color:var(--ink);border-radius:24px;padding:26px 26px 18px;box-shadow:0 22px 48px -26px color-mix(in srgb,var(--tif) 55%,transparent),inset 0 0 0 1px color-mix(in srgb,var(--tif) 16%,var(--line))}
body.c.p253 #request-waiting .lq-hero::before{display:block;inset:0 0 auto 0;width:auto;height:6px;background:linear-gradient(90deg,var(--court-deep,var(--tifd)),var(--tif),var(--tif2))}
body.c.p253 #request-waiting .lq-hero .tkt-room{background:var(--tif-tint);color:var(--tifd)}
body.c.p253 #request-waiting .lq-hero .tkt-room .dot{background:var(--tif)}
body.c.p253 #request-waiting .lq-hero .lvb{color:#fff;background:#C8261F;box-shadow:none}
body.c.p253 #request-waiting .lq-hero .lq-h{color:var(--court-deep,var(--navy));font-size:clamp(20px,2.6vw,26px)}
body.c.p253 #request-waiting .lq-hero .lq-ok{background:var(--tif);color:var(--court-on,#fff);box-shadow:0 8px 18px -6px color-mix(in srgb,var(--tif) 60%,transparent)}
body.c.p253 #request-waiting .lq-hero .tkt-top{margin-top:16px;padding-top:18px;border-top:1.5px dashed color-mix(in srgb,var(--tif) 28%,var(--line))}
body.c.p253 #request-waiting .lq-hero .tkt-top::before,body.c.p253 #request-waiting .lq-hero .tkt-top::after{content:"";position:absolute;top:-11px;width:20px;height:20px;border-radius:50%;background:var(--tif-tint,#F3F6FA);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tif) 16%,var(--line))}
body.c.p253 #request-waiting .lq-hero .tkt-top::before{left:-37px}
body.c.p253 #request-waiting .lq-hero .tkt-top::after{right:-37px}
body.c.p253 #request-waiting .lq-hero .tkt-top small{color:var(--tifd)}
body.c.p253 #request-waiting .lq-hero .tkt-top b{color:var(--court-deep,var(--navy));font-size:clamp(56px,9vw,76px);margin:8px 0 6px}
body.c.p253 #request-waiting .lq-hero .lq-line{background:var(--tif);color:var(--court-on,var(--navy));max-width:100%;white-space:normal;line-height:1.35;font-size:16px}
body.c.p253 #request-waiting .lq-hero .lq-line::before{background:currentColor}
body.c.p253 #request-waiting .lq-hero .tkt-foot{border-top-color:var(--line);color:var(--mu)}
body.c.p253 #request-waiting .lq-hero .tkt-live .dot{background:#1F9D55;box-shadow:0 0 0 0 rgba(31,157,85,.45);animation:live53 2.4s ease-out infinite}
@keyframes live53{0%{box-shadow:0 0 0 0 rgba(31,157,85,.45)}70%,100%{box-shadow:0 0 0 7px rgba(31,157,85,0)}}
body.p253 .wt53-moved{position:relative;display:flex;align-items:center;gap:8px;margin:0 0 10px;padding:8px 12px;border-radius:12px;background:color-mix(in srgb,var(--tif) 7%,#fff);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tif) 20%,var(--line));color:var(--ink);font-size:14px;font-weight:600;line-height:1.4}
body.p253 .wt53-moved .ic{width:18px;height:18px;color:var(--tifd)}
/* the board */
body.p253 #request-waiting .lq-board{border-radius:22px;padding:24px}
body.p253 #request-waiting .lq-stat{border-radius:16px;padding:14px 16px}
body.p253 #request-waiting .lq-stat.me b{font-size:30px}
body.p253 #request-waiting .lq-bar{height:10px}
body.p253 #request-waiting .msg-card{border-radius:16px}
body.p253 .wt53-next{margin:18px 0 0;padding:16px 18px;border-radius:16px;background:#fff;box-shadow:inset 0 0 0 1px var(--line)}
body.p253 .wt53-next h3{margin:0 0 10px;font:800 15px/1.3 var(--f);color:var(--ink)}
body.p253 .wt53-next ol{list-style:none;margin:0;padding:0;display:grid;gap:10px}
body.p253 .wt53-next li{display:flex;align-items:flex-start;gap:12px;font-size:14.5px;line-height:1.5;color:var(--ink)}
body.p253 .wt53-next li i{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--tif-tint);color:var(--tifd);font:800 13px/1 var(--f);font-style:normal}
/* your turn — light, celebratory, one big button */
body.c.p253 #request-waiting .wt-card.turn{background:radial-gradient(560px 260px at 50% -12%,color-mix(in srgb,var(--tif) 16%,transparent),transparent 72%),#fff;color:var(--ink);border-radius:24px;padding:34px 26px 28px;box-shadow:0 26px 60px -28px color-mix(in srgb,var(--tif) 70%,transparent),inset 0 0 0 1.5px color-mix(in srgb,var(--tif) 34%,transparent)}
body.c.p253 #request-waiting .wt-card.turn h2{color:var(--court-deep,var(--navy));font-size:clamp(28px,4vw,38px)}
body.c.p253 #request-waiting .wt-card.turn p{color:var(--mu)}
body.c.p253 #request-waiting .turn-badge{background:var(--tif-tint);color:var(--tifd)}
body.c.p253 #request-waiting .turn-badge .dot{background:var(--tif)}
body.c.p253 #request-waiting .wt-card.turn .btn.tif.lg{background:var(--tif);color:var(--court-on,var(--navy));height:62px;min-width:300px;padding:0 34px;font-size:17.5px;border-radius:16px;box-shadow:0 16px 34px -10px color-mix(in srgb,var(--tif) 70%,transparent);animation:join53 2.8s ease-in-out infinite}
body.c.p253 #request-waiting .wt-card.turn .btn.tif.lg:hover{background:var(--tif-h,var(--tif));transform:translateY(-1px)}
@keyframes join53{0%,100%{box-shadow:0 16px 34px -10px color-mix(in srgb,var(--tif) 70%,transparent),0 0 0 0 color-mix(in srgb,var(--tif) 30%,transparent)}50%{box-shadow:0 16px 34px -10px color-mix(in srgb,var(--tif) 70%,transparent),0 0 0 10px color-mix(in srgb,var(--tif) 0%,transparent)}}
body.c.p253 #request-waiting .wt-card.turn .hold{display:inline-flex;align-items:center;gap:8px;margin:16px auto 0;padding:7px 14px;border-radius:999px;background:var(--tif-tint);color:var(--court-deep,var(--navy));font-size:15px}
body.c.p253 #request-waiting .wt-card.turn .hold:empty{display:none}
body.p253 #request-waiting .wt53-tip{margin:14px auto 0;max-width:46ch;font-size:13.5px;line-height:1.5;color:var(--mu)}
body.p253 #request-waiting [data-field=join_url][hidden] ~ .wt53-tip{display:none}
/* after the meeting */
body.p253 #request-waiting .wt-card.after{border-radius:24px;padding:36px 26px 30px}
body.p253 #request-waiting .after-ico{width:68px;height:68px;border-radius:22px;background:var(--tif-tint);color:var(--tifd)}
/* 2.55.1: a finished meeting says so plainly — a full disc in the court's colour, the tick drawn once */
body.p253 #request-waiting .after-ico.ok{width:84px;height:84px;border-radius:50%;background:var(--tif);color:var(--court-on,#fff);box-shadow:0 0 0 10px var(--tif-tint),0 18px 36px -14px var(--tif)}
body.p253 #request-waiting .after-ico.ok svg{width:40px;height:40px;stroke-width:2.6}
@media (prefers-reduced-motion:no-preference){
  body.p253 #request-waiting .after-ico.ok{animation:ok53 .55s cubic-bezier(.3,1.5,.5,1) both}
  body.p253 #request-waiting .after-ico.ok svg{stroke-dasharray:40;animation:okTick53 .45s ease-out .3s backwards}
}
@keyframes ok53{from{transform:scale(.6);opacity:0}}
@keyframes okTick53{from{stroke-dashoffset:40}}
body.p253 #request-waiting .wt-card.after h2{color:var(--court-deep,var(--navy))}
body.p253 #request-waiting .lq-fb{padding:20px 18px;border-radius:18px;background:color-mix(in srgb,var(--tif) 4%,#fff);box-shadow:inset 0 0 0 1px var(--line)}
body.p253 #request-waiting .lq-fb textarea{border:1.5px solid var(--l53);border-radius:14px;min-height:88px;padding:12px 14px;font:inherit}
body.p253 #request-waiting .wt-cancel{padding:4px 4px 0;line-height:1.6}
body.p253 #request-waiting .wt-cancel button{min-height:44px;color:var(--e53)}
@media (max-width:640px){
  body.c.p253 #request-waiting .lq-hero{padding:22px 18px 16px;border-radius:22px}
  body.c.p253 #request-waiting .lq-hero .tkt-top::before{left:-29px}
  body.c.p253 #request-waiting .lq-hero .tkt-top::after{right:-29px}
  body.c.p253 #request-waiting .lq-hero .tkt-top b{font-size:64px}
  body.p253 #request-waiting .lq-board{padding:18px}
  body.c.p253 #request-waiting .wt-card.turn{padding:28px 18px 22px}
  body.c.p253 #request-waiting .wt-card.turn .btn.tif.lg{width:100%;min-width:0}
}
@media (prefers-reduced-motion:reduce){body.c.p253 #request-waiting .wt-card.turn .btn.tif.lg,body.c.p253 #request-waiting .lq-hero .tkt-live .dot{animation:none}}

/* ---------- status /s/<token> and the small result pages (feedback, cancelled, errors) ---------- */
body.p253 .dc-page .dcard,body.p253 .err-card{border-radius:24px;box-shadow:var(--s53),inset 0 0 0 1px var(--line)}
body.p253 .err-card{padding:40px 32px 30px}
body.p253 .err-card h1{font-size:clamp(24px,3vw,30px);line-height:1.25;color:var(--court-deep,var(--navy))}
body.p253 .err-card .lead,body.p253 .err-card .sub{max-width:44ch;margin-inline:auto;line-height:1.6}
body.p253 .err53 .err-code{display:inline-grid;place-items:center;min-width:112px;height:56px;padding:0 18px;margin:0 0 18px;border-radius:999px;background:var(--tif-tint);color:var(--tifd);font-size:30px;letter-spacing:.02em}
body.p253 .err53 .err-track{margin:6px auto 4px;max-width:420px;text-align:start}
body.p253 .err53 .err-row input{height:52px;border-width:1.5px}
body.p253 .err53 .err-row .btn{height:52px}
body.p253 .err53-help{margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}
body.p253 .err53-help p{margin:0 0 4px;line-height:1.6}
body.p253 .err53-help a{font-weight:700;color:var(--tifd)}
body.p253 .err53-help code{overflow-wrap:anywhere;font-size:12px}
body.p253 .dc-ico{box-shadow:none}
body.p253 .fbk .fbk-stars .star{min-width:48px;min-height:48px}
body.p253 .fbk textarea.fld{border:1.5px solid var(--l53);border-radius:14px;padding:12px 14px;min-height:96px;font:inherit;width:100%}
body.p253 .fbk textarea.fld:focus{border-color:var(--tif);box-shadow:0 0 0 4px color-mix(in srgb,var(--tif) 18%,transparent);outline:0}
body.p253 .fbk .btn.tif.lg{width:100%}
@media (max-width:640px){body.p253 .err-card{padding:30px 20px 24px}body.p253 .err-card .row-btn{flex-direction:column;align-items:stretch}body.p253 .err-card .row-btn .btn{width:100%}}

/* ---------- track: the number box ---------- */

/* ---------- book: day cards, wrapping choices, a light summary ---------- */
body.p253 #p-book .days{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px}
body.p253 #p-book .days button{flex-direction:column;height:auto;min-height:62px;padding:8px 6px;gap:2px;line-height:1.2;border-radius:14px;border-color:var(--line)}
body.p253 #p-book .days button small{margin:0;font-size:12px}
body.p253 #p-book .days button.on,body.p253 #p-book .days button.sel{border-color:var(--tif);background:var(--tif-tint);color:var(--tifd);box-shadow:0 0 0 3px color-mix(in srgb,var(--tif) 14%,transparent)}
body.p253 #p-book .bmode{flex-wrap:wrap}
body.p253 #p-book .bmode label{flex:1 1 160px;min-width:0;height:auto;min-height:52px;padding:8px 12px;text-align:center;border-radius:14px}
body.p253 #p-book .times{grid-template-columns:repeat(auto-fill,minmax(88px,1fr))}
body.p253 #p-book .times label,body.p253 #p-book .times button{height:48px;border-radius:12px;border-color:var(--line);font-variant-numeric:tabular-nums}
body.p253 #p-book .times label:hover{border-color:var(--tif)}
body.p253 #p-book .times label:has(input:focus-visible){outline:3px solid color-mix(in srgb,var(--tif) 70%,#fff);outline-offset:2px}
body.p253 #p-book .bmode label:has(input:focus-visible){outline:3px solid color-mix(in srgb,var(--tif) 70%,#fff);outline-offset:2px}
body.p253 #p-book .lbl{font-size:14px;color:var(--ink);margin-top:26px}
body.c.p253 .bsum{background:color-mix(in srgb,var(--tif) 6%,#fff);color:var(--ink);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--tif) 26%,transparent)}
body.c.p253 .bsum small{color:var(--tifd)}
body.c.p253 .bsum b{color:var(--court-deep,var(--navy))}
body.c.p253 .bsum span{color:var(--mu)}
body.c.p253 .bsum em{color:var(--tifd)}
body.p253 .book-page{border-radius:24px}
@media (max-width:640px){
  body.p253 #p-book{padding-block:20px 56px;gap:18px}
  body.p253 #p-book .bcard{padding:24px 18px}
  body.p253 #p-book .fields{grid-template-columns:1fr}
  body.p253 #p-book .row-btn .btn{width:100%}
}

/* ---------- court access: the light side panel ---------- */
body.c.p253 .ca-side{background:linear-gradient(170deg,color-mix(in srgb,var(--tif) 10%,#fff),#fff);color:var(--ink);box-shadow:inset -1px 0 0 var(--line)}
[dir=rtl] body.c.p253 .ca-side{box-shadow:inset 1px 0 0 var(--line)}
body.p253 .ca-side::after{border-color:color-mix(in srgb,var(--tif) 25%,transparent)}
body.p253 .ca-side .ca-mk{box-shadow:0 12px 26px -10px rgba(10,22,40,.3),inset 0 0 0 1px var(--line)}
body.p253 .ca-side-h{color:var(--court-deep,var(--navy))}
body.p253 .ca-steps li{color:var(--ink)}
body.p253 .ca-steps i{background:var(--tif-tint);color:var(--tifd)}
body.c.p253 .ca-side small{color:var(--tifd)}
body.p253 .ca-court{min-height:48px}

/* ---------- documents /d/<token>: a light header and request card ---------- */
body.p253.fl-up .fl-top{background:#fff;color:var(--ink);box-shadow:inset 0 -1px 0 var(--line)}
body.p253.fl-up .fl-brand,body.p253.fl-up .fl-top-lang,body.p253.fl-up .fl-top-ic{color:var(--ink)}
body.p253.fl-up .fl-brand b em{color:var(--tif)}
body.p253.fl-up .fl-top-court{color:var(--mu)}
body.p253.fl-up .fl-top-court i{background:var(--tif)}
body.p253.fl-up .fl-top a:hover{background:var(--tif-tint)}
body.p253 .fl-page .fl-req,[dir=rtl] body.p253 .fl-page .fl-req{background:#fff;color:var(--ink);box-shadow:0 18px 40px -24px color-mix(in srgb,var(--tif) 60%,transparent),inset 0 0 0 1px color-mix(in srgb,var(--tif) 18%,var(--line));position:relative;overflow:hidden;padding-top:20px}
body.p253 .fl-page .fl-req::before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,var(--court-deep,var(--tifd)),var(--tif),var(--tif2))}
body.p253 .fl-req-id small{color:var(--mu)}
body.p253 .fl-req-id b{color:var(--court-deep,var(--navy))}
body.p253 .fl-req-court{background:var(--tif-tint);color:var(--tifd)}
body.p253 .fl-req-court i{background:var(--tif)}
body.p253 .fl-ring .bg{stroke:var(--tif-tint)}
body.p253 .fl-ring .fg{stroke:var(--tif)}
body.p253 .fl-ring b{color:var(--court-deep,var(--navy))}
body.p253 .fl-ring b small{color:var(--mu)}
body.p253 .fl-req-line b{color:var(--ink)}
body.p253 .fl-req-line span{color:var(--mu)}
body.p253 .fl-req .fl-bar{background:var(--tif-tint)}
body.p253 .fl-req .fl-bar i{background:var(--tif)}
body.p253 .fl-req-exp{color:var(--mu)}
body.p253 .fl-req-exp b{color:var(--ink)}
body.p253 .fl-row{border-radius:18px}

/* ---------- reading pages: about, help, FAQ, regulations, privacy ---------- */
body.p253 .dpage p,body.p253 .dcard p,body.p253 details.faq-item > p{line-height:1.7}
body.p253 details.faq-item summary{min-height:60px}
body.p253 details.faq-item summary:hover h2{color:var(--tifd)}
body.p253 .hpq{min-height:64px}

/* ---------- My Account sign-in: OTP boxes ---------- */
body.p253 .otp input{font-variant-numeric:tabular-nums;font-weight:800;caret-color:var(--tif)}
body.p253 .otp input:not(:placeholder-shown),body.p253 .otp input:valid:not([value=""]){border-color:var(--tif)}
@media (max-width:640px){body.p253 .otp input{min-height:56px;font-size:24px}}

/* ---------- Arabic: numbers and codes keep their order, comfortable line height ---------- */
[dir=rtl] body.p253 .fhint,[dir=rtl] body.p253 .wt53-next li,[dir=rtl] body.p253 .wt53-moved{line-height:1.7}
[dir=rtl] body.p253 #request-waiting .lq-hero .tkt-top b{letter-spacing:0}

/* ---------- /sign/<token> when there is nothing to sign ---------- */
body.p253 .sg51-state{border-radius:24px;box-shadow:var(--s53),inset 0 0 0 1px var(--line)}
body.p253 .sg51-state h1{color:var(--court-deep,var(--navy))}

/* ---------- the assistant on these pages: the theme note never covers the message box ---------- */
body.p253:has(#ast-panel:not([hidden])) .snd-t{display:none}
/* Arabic: the +971 prefix and the number read left to right (it showed as "971+"), the live line wraps */
[dir=rtl] body.p253 main .fld .pre{direction:ltr}
[dir=rtl] body.p253 main .fld .pre input{text-align:left}
body.p253 .split .rail-l .rlive{white-space:normal;line-height:1.5}
body.p253 .split .rail-l .rlive > span{min-width:0}
body.p253 .fbk-phase small{color:var(--mu)}
body.p253 .fbk-phase > div{opacity:1}
body.p253 .fbk-phase > div:not(.on) b{color:var(--mu)}
body.p253 .fbk-phase > div:not(.on) i{background:var(--mu)}
