/* Palette and type tokens come from tokens.css, loaded before this file. */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.5}
a{color:inherit}
button,input,textarea,select{font:inherit}
:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
.skip{position:fixed;z-index:1000;inset-inline-start:12px;top:10px;background:var(--white);border:2px solid var(--ink);padding:9px 12px;transform:translateY(-160%)}
.skip:focus{transform:none}
.wrap{width:min(1080px,calc(100% - 36px));margin:34px auto 68px}
.eyebrow{margin:0 0 8px;color:var(--teal);font-size:var(--fs-xs);line-height:1.2;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
h1{font-size:clamp(34px,5vw,44px);line-height:1.04;letter-spacing:-.035em;margin:0 0 14px;max-width:820px}
h2{font-size:21px;line-height:1.2;margin:0 0 15px}
.lede{font-size:16px;line-height:1.55;color:var(--ink-soft);max-width:760px;margin:0 0 26px}
.auth-grid,.dashboard,.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.grid{grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr)}
.card{background:var(--white);border:1px solid var(--line);padding:22px}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.field{display:grid;gap:6px;margin:12px 0;font-size:13px;font-weight:750}
.fields .field{margin:0}
.field.full{grid-column:1/-1}
.field input,.field textarea,.field select{width:100%;min-height:44px;padding:10px 11px;border:1px solid var(--line-dark);background:#fff;color:var(--ink)}
.field textarea{min-height:110px;resize:vertical}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--teal);box-shadow:0 0 0 2px rgba(8,117,111,.1);outline:none}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--action);background:var(--action);color:var(--action-ink);padding:0 16px;font-weight:800;font-size:13px;cursor:pointer;text-decoration:none}
.button:hover,.button:focus-visible{background:var(--teal);border-color:var(--teal)}
.button.alt{background:transparent;color:var(--ink)}
.button.alt:hover{background:var(--teal-soft)}
.button.full{width:100%}
.button:disabled{opacity:.5;cursor:not-allowed}
.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0}
.logout{min-height:42px;background:transparent;border:0;text-decoration:underline;text-underline-offset:3px;cursor:pointer;color:var(--ink)}
.message,.notice,.error{padding:12px 14px;margin:16px 0;border-inline-start:4px solid var(--teal);background:#e2efec}
.message.error,.error{border-color:var(--danger);background:#f7dfdc}
.privacy{margin-top:24px;padding:15px 17px;border-inline-start:4px solid var(--warm);background:#efe6d6;font-size:13px}
.privacy a{color:var(--teal);font-weight:750}
.ticket,.job{display:grid;gap:8px 14px;padding:13px 0;border-top:1px solid var(--line);align-items:start}
.ticket{grid-template-columns:1fr auto}
.job{grid-template-columns:1.1fr 1fr auto}
.ticket:first-of-type,.job:first-of-type{border-top:0}
.ticket b,.ref{font-weight:850;font-size:12px}
.ticket small,.muted{color:var(--muted)}
.status{display:inline-flex;align-items:center;min-height:28px;border:1px solid currentColor;padding:4px 7px;font-size:var(--fs-xs);font-weight:850;text-transform:uppercase;letter-spacing:.03em}
.jobs{margin-top:20px}
.service-tabs{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line-dark);margin:18px 0}
.service-tabs label{padding:12px;cursor:pointer;border-inline-end:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px;font-weight:750}
.service-tabs label:nth-of-type(3n){border-inline-end:0}
.service-tabs label:nth-last-child(-n/**/+3){border-bottom:0}
.service-tabs input{margin-inline-end:6px}
.rules{display:grid;gap:12px}
.rule{padding-bottom:12px;border-bottom:1px solid var(--line)}
.rule:last-child{border-bottom:0}
.rule b{display:block}
.rule small{color:var(--muted)}
.status-box{background:var(--ink);color:#fff;padding:19px;margin:16px 0}
.status-box .ref{color:#8fd0c6}
.track{margin-top:22px;border-top:1px solid var(--line);padding-top:18px}
.intake-hidden{display:none!important}
.choice.full,.fields>.button.full{grid-column:1/-1}
.choice{display:flex;gap:10px;align-items:flex-start;padding:11px;border:1px solid var(--line);background:#fff;font-size:13px}
.choice input{margin-top:4px;flex:0 0 auto}
.steps{counter-reset:s;display:grid}
.step{display:grid;grid-template-columns:30px 1fr;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}
.step:before{counter-increment:s;content:counter(s);display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--teal-soft);color:var(--teal);font-size:var(--fs-xs);font-weight:850}
.step b,.step small{display:block}
.step small{color:var(--muted)}
.files{list-style:none;padding:0;margin:12px 0}
.files li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--line);font-size:13px}
.file-meta{min-width:0;flex:1}
.file-name{overflow-wrap:anywhere;word-break:break-word}
.inline-form{display:inline-flex;flex:0 0 auto;margin-inline-start:8px}
.ticket-wide,.job-wide{grid-column:1/-1}
.files-inline{overflow-wrap:anywhere}
.bank-instructions{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.privacy-inline{font-weight:500;line-height:1.7}.privacy-inline a{padding-block:4px;text-underline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.login-wall{margin-top:24px;padding:24px;background:var(--ink);color:#fff}
.login-wall .button{background:#fff;color:var(--ink);border-color:#fff}
.utility-footer{width:min(1080px,calc(100% - 36px));margin:0 auto 28px;border-top:1px solid var(--line);padding:20px 0;display:flex;justify-content:space-between;gap:18px;align-items:center;color:var(--muted);font-size:12px}
.utility-footer nav{display:flex;gap:16px;flex-wrap:wrap}
.utility-footer a{text-underline-offset:3px}
@media (max-width:820px){.auth-grid,.dashboard,.grid{grid-template-columns:1fr}.fields{grid-template-columns:1fr}.field.full{grid-column:auto}.service-tabs{grid-template-columns:1fr 1fr}.service-tabs label:nth-of-type(3n){border-inline-end:1px solid var(--line)}.service-tabs label:nth-of-type(2n){border-inline-end:0}.service-tabs label:nth-last-child(-n/**/+3){border-bottom:1px solid var(--line)}.service-tabs label:nth-last-child(-n/**/+1){border-bottom:0}.wrap{margin-top:26px}.job{grid-template-columns:1fr auto}.job>div:nth-child(2){grid-column:1/-1;grid-row:2}.choice.full,.fields>.button.full{grid-column:auto}}
@media (max-width:480px){.wrap,.utility-footer{width:min(100% - 28px,1080px)}h1{font-size:34px}.card{padding:17px}.service-tabs{grid-template-columns:1fr}.service-tabs label{border-inline-end:0!important;border-bottom:1px solid var(--line)!important}.service-tabs label:last-child{border-bottom:0!important}.actions .button{width:100%}.utility-footer{align-items:flex-start;flex-direction:column}}
[dir="rtl"] body{font-family:var(--arabic);line-height:1.7}
[dir="rtl"] bdi,[dir="rtl"] [dir="ltr"]{font-family:var(--sans)}
[dir="rtl"] .eyebrow{letter-spacing:0;text-transform:none;font-size:12px}
[dir="rtl"] h1{letter-spacing:0;line-height:1.25}
[dir="rtl"] h2{line-height:1.35}
[dir="rtl"] .status{letter-spacing:0;text-transform:none;font-size:var(--fs-xs)}
[dir="rtl"] input,[dir="rtl"] textarea,[dir="rtl"] select{letter-spacing:normal}
[dir="rtl"] .step{grid-template-columns:30px 1fr}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Explicit language flags + RTL header contract */
[dir="rtl"] .utility-footer,[dir="rtl"] .utility-footer nav{direction:rtl}
[dir="ltr"] .utility-footer,[dir="ltr"] .utility-footer nav{direction:ltr}
/* Cross-page visual refinement: customer account / print / service */

body{background:var(--paper);background-image:linear-gradient(90deg,rgba(11,29,32,.025) 1px,transparent 1px);background-size:34px 100%;color:var(--ink)}
.wrap{position:relative;width:min(1160px,calc(100% - 40px));margin:clamp(34px,5vw,64px) auto 76px;padding-top:18px}
.wrap:before{content:"";position:absolute;inset-inline-start:0;top:0;width:78px;height:5px;background:var(--accent)}
.wrap>.eyebrow,.wrap>h1,.wrap>.lede{max-width:840px}
.eyebrow{margin-bottom:11px;color:var(--teal);font-size:var(--fs-xs);font-weight:900;letter-spacing:.09em}
.wrap>h1{font-size:clamp(38px,5.5vw,60px);line-height:.98;letter-spacing:-.045em;margin-bottom:16px}
.wrap>.lede{font-size:clamp(16px,1.7vw,20px);line-height:1.55;color:var(--ink-soft);margin-bottom:34px}
.card{position:relative;background:var(--white);border:1px solid var(--ink);padding:clamp(20px,2.6vw,30px);box-shadow:0 1px 0 rgba(11,29,32,.06)}
.card:before{content:"";position:absolute;inset-inline-start:-1px;top:-1px;width:44px;height:4px;background:var(--teal)}
.card h2{font-size:clamp(20px,2.4vw,26px);line-height:1.14;margin-bottom:18px;letter-spacing:-.02em}
.auth-grid,.dashboard,.grid{gap:20px}
.dashboard{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid{grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr)}
.fields{gap:14px}
.field{gap:7px;margin:14px 0;font-size:12px;font-weight:850}
.field input,.field textarea,.field select{min-height:46px;padding:11px 12px;border-color:var(--line-dark);background:#fbfaf5;font-size:16px}
.field textarea{min-height:118px}
.field input:hover,.field textarea:hover,.field select:hover{border-color:var(--ink)}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--teal);box-shadow:inset 0 -3px 0 var(--teal);outline:none}
.button{min-height:46px;padding:0 18px;border-color:var(--ink);font-size:12px;font-weight:900;letter-spacing:.015em}
.button:hover,.button:focus-visible{background:var(--teal);border-color:var(--teal)}
.button.alt{background:var(--white)}
.button.alt:hover{background:var(--teal-soft);color:var(--ink);border-color:var(--teal)}
.actions{margin:22px 0 0}
.logout{min-height:44px;font-weight:750}
.message,.notice,.error{padding:13px 15px;margin:18px 0;border-inline-start-width:5px}
.message,.notice{background:var(--teal-soft)}
.message.error,.error{background:#f5dfdb;border-color:var(--accent)}
.privacy{margin-top:22px;padding:16px 18px;border:1px solid #cbbca7;border-inline-start:5px solid var(--accent);background:#f2e8da;font-size:12px;line-height:1.65}
.privacy a{color:var(--teal);text-underline-offset:3px}
.status-box{position:relative;background:var(--ink);color:#fff;padding:22px 24px;margin:20px 0 24px;border-inline-start:6px solid var(--accent);box-shadow:7px 7px 0 var(--teal-soft)}
.status-box .ref{color:#8ed4d5}
.status-box h2{font-size:24px;margin:8px 0}
.status-box p{color:#d3dfde}
.ticket,.job{padding:15px 0}
.ticket b,.ref{font-size:12px}
.status{min-height:30px;padding:4px 8px;border-width:1px;background:#fff}
.jobs{margin-top:22px}
.service-tabs{margin:20px 0;border-color:var(--ink);background:#fbfaf5}
.service-tabs label{min-height:48px;padding:13px;border-color:var(--line-dark);font-size:12px}
.service-tabs label:hover{background:var(--teal-soft)}
.service-tabs input{accent-color:var(--teal)}
.rules{gap:0}
.rule{padding:14px 0}
.rule b{font-size:13px}
.rule small{display:block;margin-top:3px}
.track{margin-top:26px;padding-top:22px;border-top:2px solid var(--ink)}
.choice{min-height:48px;padding:12px;border-color:var(--line-dark);background:#fbfaf5}
.choice:has(input:checked){border-color:var(--teal);background:var(--teal-soft)}
.choice input{accent-color:var(--teal)}
.steps{border-top:2px solid var(--ink)}
.step{grid-template-columns:34px 1fr;padding:14px 0}
.step:before{width:27px;height:27px;border-radius:0;background:var(--teal);color:#fff}
.step b{font-size:13px}
.step small{margin-top:3px;line-height:1.45}
.files li{padding:11px 0}
.login-wall{position:relative;margin-top:28px;padding:clamp(24px,4vw,38px);background:var(--ink);color:#fff;border-inline-start:7px solid var(--accent);box-shadow:8px 8px 0 var(--teal-soft)}
.login-wall .eyebrow{color:#8fd3d4}
.login-wall h2{font-size:clamp(24px,3vw,34px);margin:8px 0}
.login-wall p{max-width:720px;color:#d1dcdb}
.login-wall .button{margin-top:8px;background:#fff;color:var(--ink);border-color:#fff}
.login-wall .button:hover{background:var(--accent);border-color:var(--accent);color:#fff}
.utility-footer{width:min(1160px,calc(100% - 40px));margin:0 auto 32px;padding:22px 0;border-top:2px solid var(--ink);font-size:var(--fs-xs)}
.utility-footer nav{gap:18px}
.utility-footer a{display:inline-flex;align-items:center;justify-content:center;min-height:var(--tap);min-width:var(--tap);font-weight:700;text-underline-offset:4px}
[dir="rtl"] .wrap>h1{line-height:1.18;letter-spacing:0}
[dir="rtl"] .card h2{line-height:1.35;letter-spacing:0}
[dir="rtl"] .wrap>.lede{line-height:1.8}
[dir="rtl"] .button{letter-spacing:0}
[dir="rtl"] .status-box h2{line-height:1.35}
@media (max-width:920px){.dashboard{grid-template-columns:1fr 1fr}.dashboard>.card:last-child:nth-child(odd){grid-column:1/-1}.grid{grid-template-columns:1fr}.grid>aside.card{order:2}}
@media (max-width:820px){.wrap{width:min(100% - 32px,1160px);margin-top:34px}.dashboard{grid-template-columns:1fr}.dashboard>.card:last-child:nth-child(odd){grid-column:auto}.card{padding:22px}.utility-footer{width:min(100% - 32px,1160px)}}
@media (max-width:480px){.wrap,.utility-footer{width:calc(100% - 28px)}.wrap>h1{font-size:36px}.card{padding:18px}.status-box{padding:19px}.auth-grid,.dashboard,.grid{gap:14px}.ticket,.job{grid-template-columns:1fr}.ticket>.status,.job>.status{justify-self:start}.job>div:nth-child(2){grid-column:auto;grid-row:auto}.files li{align-items:flex-start;flex-direction:column}.inline-form{margin-inline-start:0;margin-top:0}.files-inline a{overflow-wrap:anywhere}}
@media (prefers-reduced-motion:reduce){.card,.button,.service-tabs label{transition:none!important}}
/* Secondary-page QA hardening */
/* Legal / confidentiality pages: production content is owner-backed; development exposes missing-field readiness without fake facts. */
.legal-wrap{max-width:1160px}
.legal-status{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin:0 0 22px;padding:14px 16px;border:1px solid var(--teal);border-inline-start:6px solid var(--teal);background:var(--teal-soft);font-size:12px}
.legal-status strong{font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.legal-status span{max-width:760px;color:var(--ink-soft)}
.legal-status-review{border-color:var(--accent);background:#f4e4df}
.legal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.legal-section{min-height:100%;padding-top:34px}
.legal-section h2{max-width:520px}
.legal-section p,.legal-section li,.legal-section dd{font-size:13px;line-height:1.7;color:var(--ink-soft)}
.legal-section ul{margin:0;padding-inline-start:20px;display:grid;gap:8px}
.legal-section p:last-child{margin-bottom:0}
.legal-index{position:absolute;inset-inline-end:16px;top:10px;margin:0!important;color:var(--teal)!important;font:900 11px/1 var(--sans)!important;letter-spacing:.12em}
.legal-facts{display:grid;grid-template-columns:minmax(115px,.45fr) 1fr;gap:9px 14px;margin:0}
.legal-facts dt{font-size:var(--fs-xs);font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.legal-facts dd{margin:0;overflow-wrap:anywhere}
.legal-missing{display:inline-block;padding:2px 6px;border:1px dashed var(--accent);background:#f6e8e3;color:var(--accent);font-size:var(--fs-xs);font-weight:800}
.legal-section a{color:var(--teal);font-weight:800;text-underline-offset:3px}
@media (max-width:820px){.legal-grid{grid-template-columns:1fr}.legal-status{flex-direction:column}.legal-facts{grid-template-columns:1fr}.legal-facts dd{padding-bottom:8px;border-bottom:1px solid var(--line)}}
[dir="rtl"] .legal-section p,[dir="rtl"] .legal-section li,[dir="rtl"] .legal-section dd{line-height:1.9}
/* ===========================================================================
   Demand flow rework 2026-08-31

   A customer filing a "demande" previously met a bare radio grid with no idea
   what each option meant, a US-formatted datetime picker, and a receipt whose
   reference - the only thing they must keep - was the smallest text on the
   page. The choices now explain themselves, the sequence is stated before the
   form rather than after the fact, and the receipt leads with the reference.
   =========================================================================== */
/* --- explained type chooser ------------------------------------------------ */
.service-picker{margin:20px 0 6px;padding:0;border:0}
.service-picker>legend{padding:0;margin:0 0 4px;font-size:13px;font-weight:900;color:var(--ink)}
.picker-hint{margin:0 0 12px;font-size:12px;line-height:1.55;color:var(--muted)}
.picker-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(232px,1fr));gap:1px;
  background:var(--line-dark);border:1px solid var(--ink)}
.picker-option{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;min-height:78px;
  background:#fbfaf5;cursor:pointer;transition:background .12s ease}
.picker-option:hover{background:var(--teal-soft)}
.picker-option input{flex:0 0 auto;margin-top:3px;accent-color:var(--teal)}
.picker-copy{display:grid;gap:4px;min-width:0}
.picker-copy b{font-size:13px;line-height:1.25}
.picker-copy small{font-size:var(--fs-xs);line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.picker-option:has(input:checked){background:var(--ink)}
.picker-option:has(input:checked) .picker-copy b{color:#fff}
.picker-option:has(input:checked) .picker-copy small{color:#c9dad9}
.picker-option:focus-within{outline:3px solid var(--teal);outline-offset:-3px}
@supports not selector(:has(*)){.picker-option:focus-within{background:var(--teal-soft)}}
/* --- the sequence, stated up front ----------------------------------------- */
.flow-steps{margin:0 0 22px;border-top:2px solid var(--ink);border-bottom:1px solid var(--line)}
.flow-steps .step small{color:var(--muted)}
/* --- field affordances ------------------------------------------------------ */
.field .req{color:var(--accent);font-weight:900}
.field-hint{display:block;margin-top:5px;font-size:var(--fs-xs);line-height:1.5;color:var(--muted);font-weight:600}
/* --- creation receipt ------------------------------------------------------- */
.status-box.receipt{padding:clamp(22px,3.4vw,30px)}
.receipt h2{margin:0 0 8px}
.receipt-keep{margin:0 0 14px;color:#d3dfde;font-size:13px;line-height:1.6}
.receipt-ref{margin:0 0 16px;padding:12px 16px;background:#fff;color:var(--ink);
  border-inline-start:6px solid var(--accent);
  font-size:clamp(20px,3.4vw,28px);font-weight:900;letter-spacing:.02em;
  font-variant-ligatures:none;overflow-wrap:anywhere}
.receipt-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}
.receipt-actions .button{background:#fff;color:var(--ink);border-color:#fff}
.receipt-actions .button:hover,.receipt-actions .button:focus-visible{background:var(--accent);border-color:var(--accent);color:#fff}
.receipt-actions .button.is-done{background:#8ed4d5;border-color:#8ed4d5;color:var(--ink)}
.receipt-next{display:grid;gap:4px;padding:13px 15px;background:rgba(255,255,255,.07);
  border-inline-start:4px solid #8ed4d5}
.receipt-next b{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#8ed4d5}
.receipt-next span{font-size:13px;line-height:1.6;color:#e3ecea}
/* --- tracking is the first thing a returning customer needs ----------------- */
.track.track-first{margin-top:0;padding-top:0;border-top:0}
.track.track-first+h2{margin-top:26px;padding-top:22px;border-top:2px solid var(--ink)}
@media (max-width:520px){.picker-grid{grid-template-columns:1fr}.receipt-actions .button{width:100%}}
[dir="rtl"] .receipt-ref{letter-spacing:0}
/* A tracked demand answers one question first: where is it. */
.status-box.tracked{padding-top:20px}
.tracked-state{display:inline-flex;align-items:center;min-height:34px;margin:0 0 12px;padding:6px 14px;
  background:#8ed4d5;color:#08262a;font-size:14px;font-weight:900;line-height:1.2}
.status-box.tracked .ref{margin-bottom:4px}
/* ===========================================================================
   Header parity 2026-08-31

   The storefront (.site-header) and the PHP customer pages (.top) had drifted
   into two different headers: different logo treatment, different wordmark
   case, different nav weight, a green circular WhatsApp action on one and a
   plain underlined text link on the other. Moving between pages looked like
   moving between two sites. These rules align .top with the storefront's
   header without touching the five templates that render it.
   =========================================================================== */
/* logo gets the storefront's boxed frame */
/* nav items match the storefront's weight, size and underline behaviour */
/* the contact action becomes the same green affordance the storefront uses */
/* language control matches .language-switch on the storefront */
/* --- the storefront's notice strip, same on every customer page ------------
   Named .site-notice because customer.css already uses .notice for inline
   messages. Values mirror .notice in styles.css so the two pages read as one
   site rather than two. */
/* --- contact action matches the storefront's circular WhatsApp button ------ */
/* --- what the shop wrote down about the object you handed over ------------- */
.custody-evidence{margin:16px 0 0;padding:14px 16px;background:rgba(255,255,255,.07);
  border-inline-start:4px solid #8ed4d5}
.custody-evidence-head{margin:0 0 10px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.custody-evidence-head .status{background:#8ed4d5;color:#08262a;border-color:#8ed4d5}
.custody-evidence-row{margin:0 0 10px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.custody-evidence-row:last-of-type{margin-bottom:0}
.custody-evidence-note{margin:10px 0 0;font-size:var(--fs-xs);line-height:1.5}
.status-box .custody-evidence .muted{color:#c2d2d1}

/* Sign in + order tracking: two columns on laptop, tabs on phone.
   Radio driven so it works with the CSP script-src and without JS. */
.entry{margin:0}
/* Visually hidden, and it has to stay hidden even where a page sheet styles `.entry input`
   with two classes. It used to lose that fight and render 1160px wide, pushing account.php
   into a horizontal scroll. */
.entry .entry-input,.entry-input{position:absolute;width:1px;height:1px;min-height:0;margin:0;padding:0;border:0;opacity:0;pointer-events:none;appearance:none}
.entry-tabs{display:none;grid-template-columns:1fr 1fr;border:1px solid var(--line-dark);background:var(--white);margin-bottom:14px}
.entry-tabs label{padding:13px 10px;text-align:center;cursor:pointer;font-size:13px;font-weight:800;color:var(--ink);border-inline-end:1px solid var(--line)}
.entry-tabs label:last-of-type{border-inline-end:0}
.entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
@media (max-width:820px){
  .entry-tabs{display:grid}
  .entry-grid{display:block}
  .entry-panel{display:none}
  #entry-signin:checked~.entry-grid>#panel-signin{display:block}
  #entry-track:checked~.entry-grid>#panel-track{display:block}
  #entry-signin:checked~.entry-tabs label[for=entry-signin],
  #entry-track:checked~.entry-tabs label[for=entry-track]{background:var(--ink);color:var(--white)}
  #entry-signin:focus-visible~.entry-tabs label[for=entry-signin],
  #entry-track:focus-visible~.entry-tabs label[for=entry-track]{outline:2px solid var(--accent);outline-offset:-3px}
}
@media (max-width:820px){.entry-title{display:none}}

/* Talibshop customer forms: clear choices and comfortable reading. */
.card {
  border-color:#d5e0df;
  border-radius:13px;
  box-shadow:0 5px 22px #102d3305}
  .field {
    font-size:13px;
    gap:8px}
    .field input,.field textarea,.field select {
      border-radius:7px;
      border-color:#b9cccc;
      min-height:48px;
      background:#fff;
      padding:12px}
      .button {
        border-radius:7px;
        gap:9px;
        min-height:46px}
        .choice {
          border-radius:9px;
          border-color:#cfdddd;
          padding:15px;
          gap:12px;
          line-height:1.6}
          .choice:has(input:checked) {
            background:#eaf6f3;
            border-color:#75b7ad}
            .choice input {
              accent-color:var(--teal);
              width:17px;
              height:17px}
              .notice,.privacy,.error,.message {
                border-radius:7px}
                .login-wall {
                  border-radius:13px;
                  padding:28px}
                  .card .steps {
                    gap:5px}
                    .step {
                      padding:15px 0}
                      .field textarea {
                        min-height:110px}
                        .fields {
                          gap:18px}
                          .files li {
                            gap:12px;
                            padding:13px;
                            border:1px solid #d9e6e4;
                            border-radius:7px;
                            margin-bottom:8px;
                            background:#f5faf9}
                            .files li:first-child {
                              border-top:1px solid #d9e6e4}
                              .print-page {
                                background:#f4f7f6;
                                background-image:none}
                                .print-page .wrap {
                                  max-width:1160px;
                                  margin-top:38px}
                                  .print-page .wrap:before {
                                    width:46px;
                                    height:4px;
                                    border-radius:3px;
                                    background:var(--teal)}
                                    .print-page h1 {
                                      font-size:clamp(31px,4vw,43px);
                                      letter-spacing:-1.2px;
                                      line-height:1.18}
                                      .print-page .lede {
                                        max-width:760px;
                                        line-height:1.75;
                                        font-size:15px}
                                        .print-page .grid {
                                          grid-template-columns:minmax(0,1.6fr) minmax(270px,.8fr);
                                          gap:26px;
                                          align-items:start}
                                          .print-page .card {
                                            padding:28px}
                                            .print-page .card h2 {
                                              font-size:21px;
                                              line-height:1.4;
                                              letter-spacing:-.4px}
                                              .print-page .grid>aside {
                                                background:#f0f6f4;
                                                position:sticky;
                                                top:100px;
                                                box-shadow:none}
                                                .print-page .step small {
                                                  line-height:1.7;
                                                  font-size:12px}
                                                  .print-page .step:before {
                                                    width:26px;
                                                    height:26px}
                                                    .print-page .field input[type=number] {
                                                      font-variant-numeric:tabular-nums}
                                                      .print-page .fields>.button {
                                                        margin-top:2px;
                                                        background:#087a7d;
                                                        border-color:#087a7d}
                                                        .print-page .next-step-hint {
                                                          margin:0;
                                                          padding:12px 15px;
                                                          border-radius:7px;
                                                          background:#edf5f4;
                                                          color:#3d686b;
                                                          font-weight:500;
                                                          font-size:12px}
                                                          .print-progress {
                                                            list-style:none;
                                                            display:grid;
                                                            grid-template-columns:repeat(3,1fr);
                                                            padding:0;
                                                            margin:28px 0;
                                                            gap:12px}
                                                            .print-progress li {
                                                              display:flex;
                                                              gap:10px;
                                                              align-items:center;
                                                              padding:15px 17px;
                                                              border:1px solid #dce5e4;
                                                              border-radius:9px;
                                                              color:#788987;
                                                              font-size:12px;
                                                              background:#f9fbfa;
                                                              font-weight:600}
                                                              .print-progress li>span {
                                                                width:27px;
                                                                height:27px;
                                                                border-radius:50%;
                                                                display:grid;
                                                                place-items:center;
                                                                background:#e9eeed;
                                                                flex-shrink:0;
                                                                font-size:12px}
                                                                .print-progress [aria-current=step] {
                                                                  color:#155c5a;
                                                                  border-color:#76b6ad;
                                                                  background:#e8f5f1}
                                                                  .print-progress [aria-current=step]>span {
                                                                    background:#087a7d;
                                                                    color:#fff}
                                                                    .print-progress .is-complete {
                                                                      color:#217767}
                                                                      .print-progress .is-complete>span {
                                                                        background:#d9eee6;
                                                                        color:#216755}
                                                                        .upload-zone {
                                                                          margin:24px 0 0;
                                                                          border:2px dashed #8bb9b4;
                                                                          border-radius:12px;
                                                                          padding:30px 20px;
                                                                          background:#f3faf8;
                                                                          text-align:center}
                                                                          .upload-zone h3 {
                                                                            font-size:19px;
                                                                            margin:10px 0 6px}
                                                                            .upload-zone>p {
                                                                              font-size:13px;
                                                                              color:#5d7775;
                                                                              margin:8px 0 18px}
                                                                              .upload-icon {
                                                                                width:43px;
                                                                                height:43px;
                                                                                color:#087a7d;
                                                                                padding:7px;
                                                                                background:#dff0eb;
                                                                                border-radius:9px}
                                                                                .upload-zone .upload-choose {
                                                                                  background:#087a7d;
                                                                                  border-color:#087a7d;
                                                                                  padding:13px 24px;
                                                                                  color:white;
                                                                                  font-size:14px}
                                                                                  .upload-zone .upload-limits {
                                                                                    font-size:var(--fs-xs);
                                                                                    line-height:1.8;
                                                                                    max-width:450px;
                                                                                    margin:15px auto 0}
                                                                                    .upload-enhanced .upload-native {
                                                                                      position:absolute;
                                                                                      width:1px;
                                                                                      height:1px;
                                                                                      padding:0;
                                                                                      margin:-1px;
                                                                                      overflow:hidden;
                                                                                      clip:rect(0,0,0,0);
                                                                                      white-space:nowrap}
                                                                                      .upload-zone.has-files {
                                                                                        border-style:solid;
                                                                                        border-color:#6cae9e}
                                                                                        .upload-selection {
                                                                                          display:flex;
                                                                                          justify-content:space-between;
                                                                                          align-items:center;
                                                                                          gap:12px;
                                                                                          margin:14px 0;
                                                                                          font-size:12px}
                                                                                          .upload-selection p {
                                                                                            margin:0;
                                                                                            color:#58716f}
                                                                                            .upload-selection button {
                                                                                              min-height:34px;
                                                                                              padding:6px 10px;
                                                                                              font-size:var(--fs-xs)}
                                                                                              .selected-files {
                                                                                                padding:0;
                                                                                                list-style:none;
                                                                                                margin:12px 0 18px;
                                                                                                display:grid;
                                                                                                gap:8px}
                                                                                                .selected-files li {
                                                                                                  display:grid;
                                                                                                  grid-template-columns:42px minmax(0,1fr) auto;
                                                                                                  align-items:center;
                                                                                                  gap:12px;
                                                                                                  border:1px solid #d7e5e1;
                                                                                                  background:#fbfdfc;
                                                                                                  border-radius:8px;
                                                                                                  padding:12px;
                                                                                                  font-size:12px}
                                                                                                  .selected-files bdi {
                                                                                                    overflow-wrap:anywhere}
                                                                                                    .selected-files .file-type {
                                                                                                      font-size:var(--fs-xs);
                                                                                                      font-weight:800;
                                                                                                      background:#e4efeb;
                                                                                                      color:#276960;
                                                                                                      border-radius:5px;
                                                                                                      padding:9px 3px;
                                                                                                      text-align:center}
                                                                                                      .selected-files small {
                                                                                                        color:#6c827f;
                                                                                                        direction:ltr}
                                                                                                        .upload-error {
                                                                                                          border-radius:7px;
                                                                                                          background:#fbe9e6;
                                                                                                          color:#9a332e;
                                                                                                          padding:12px;
                                                                                                          font-size:12px}
                                                                                                          .upload-help {
                                                                                                            font-size:12px;
                                                                                                            line-height:1.7}
                                                                                                            .upload-submit {
                                                                                                              margin-top:18px;
                                                                                                              background:#087a7d;
                                                                                                              border-color:#087a7d}
                                                                                                              .upload-submit:disabled {
                                                                                                                opacity:.65}
                                                                                                                .print-page [hidden] {
                                                                                                                  display:none!important}
                                                                                                                  [dir=rtl] .print-page h1 {
                                                                                                                    letter-spacing:0;
                                                                                                                    line-height:1.5}
                                                                                                                    [dir=rtl] .print-progress li {
                                                                                                                      font-size:13px}
                                                                                                                      [dir=rtl] .print-page .button>span[aria-hidden] {
                                                                                                                        transform:scaleX(-1)}
                                                                                                                        @media(max-width:820px) {
                                                                                                                          .print-page .grid {
                                                                                                                            grid-template-columns:minmax(0,1fr)}
                                                                                                                            .print-page .grid>aside {
                                                                                                                              position:static}
                                                                                                                              .print-page .card {
                                                                                                                                padding:22px}
                                                                                                                                .print-progress {
                                                                                                                                  gap:7px}
                                                                                                                                  .print-progress li {
                                                                                                                                    padding:12px;
                                                                                                                                    font-size:var(--fs-xs);
                                                                                                                                    gap:7px}
                                                                                                                                    .print-page .wrap {
                                                                                                                                      margin-top:25px}
                                                                                                                                    }
                                                                                                                                    @media(max-width:480px) {
                                                                                                                                      .print-page .card {
                                                                                                                                        padding:18px}
                                                                                                                                        .print-progress {
                                                                                                                                          gap:6px;
                                                                                                                                          margin:22px 0}
                                                                                                                                          .print-progress li {
                                                                                                                                            flex-direction:column;
                                                                                                                                            align-items:center;
                                                                                                                                            text-align:center;
                                                                                                                                            padding:10px 6px;
                                                                                                                                            font-size:var(--fs-xs);
                                                                                                                                            line-height:1.6}
                                                                                                                                            [dir=rtl] .print-progress li {
                                                                                                                                              font-size:var(--fs-xs)}
                                                                                                                                              .upload-zone {
                                                                                                                                                padding:23px 14px}
                                                                                                                                                .upload-zone .upload-choose {
                                                                                                                                                  width:100%;
                                                                                                                                                  font-size:13px}
                                                                                                                                                  .upload-selection {
                                                                                                                                                    align-items:start;
                                                                                                                                                    flex-direction:column}
                                                                                                                                                    .selected-files li {
                                                                                                                                                      gap:9px;
                                                                                                                                                      grid-template-columns:36px minmax(0,1fr) auto}
                                                                                                                                                      .print-page h1 {
                                                                                                                                                        font-size:30px}
                                                                                                                                                        .print-page .lede {
                                                                                                                                                          font-size:14px}
                                                                                                                                                          .fields {
                                                                                                                                                            gap:15px}
                                                                                                                                                          }

/* The browser sizes <small> at about .83em, which lands under the 12px floor inside a 12-14px
   label. Hold the floor without flattening <small> where there is room above it. */
small{font-size:max(var(--fs-xs),.85em)}


/* Narrow phones: the two entry tabs were 125px each at 320px, and the footer
   navigation was three 81px columns on a tablet in Arabic. */
@media (max-width:420px){
  .entry-tabs{grid-template-columns:1fr}
  .entry-tabs label{border-inline-end:0;border-bottom:1px solid var(--line)}
  .entry-tabs label:last-of-type{border-bottom:0}
}
@media (max-width:900px){
  footer .footer-links,footer nav{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.legal-wrap p,.legal-wrap li{max-width:68ch}

/* Body copy on the service and legal pages was running to 96-99 characters on a tablet. */
.lede,.wrap>.lede,.request-intro p,.step,li.step,.legal-wrap p,.legal-wrap li{max-width:68ch}


/* ---------------------------------------------------------------- form fields
   A field label is one line: its name, then whether it is needed. Before this the label was a
   grid, so "(facultatif)" dropped onto a row of its own and every field stood three rows tall --
   on a phone that turned a nine-field form into a very long scroll. */
.field{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 7px}
.field>input,.field>select,.field>textarea{flex:1 1 100%;width:100%;margin-top:5px}
.field>.field-hint,.field>small.field-hint{flex:1 1 100%;margin-top:4px}

/* The marker is an annotation, not a heading: quieter than the label it qualifies. */
.field>small{font-size:var(--fs-xs);font-weight:500;letter-spacing:0;line-height:1.4}
.req{color:var(--danger);font-weight:600}
.opt{color:var(--muted);font-weight:500}


/* The service, account and legal pages take the same display face as the storefront, so a heading
   looks the same wherever the customer meets it. Arabic keeps its own face: the condensed Latin
   family has no Arabic coverage. */
h1,h2,.wrap>h1{font-family:var(--display)}
[lang="ary"] h1,[lang="ary"] h2,[lang="ary"] .wrap>h1,
html[lang="ary"] :is(h1,h2){font-family:var(--arabic);letter-spacing:0}
