/* 2026-11-14 Unwanted Calls and Texts: "the screen".
   Loaded only on unwanted-calls-{en,es,fa}.html, after practice-design.css. Markup comes from
   cinematic-preview/practice_pages/unwanted_calls.py. Behaviour is the shared practice-design.js (tabs, accordion,
   one-pass reveal); nothing here needs a script, and with scripts off every section is complete.
   Logical properties throughout so the Persian page mirrors without separate rules. */
.pd{--uc-rim:linear-gradient(140deg,#f1f8ff 0%,#b5d5ed 40%,#607e9e 62%,#d8e8f5 100%);--uc-enamel:linear-gradient(160deg,#41658a 0%,#1c3552 40%,#0d1f3a 100%);
  --uc-gold:linear-gradient(160deg,#fff796 0%,#ffe800 45%,#c6a600 100%);--uc-rule:#c6d5ea}

/* headings on this page break into even lines, so a last word is not left alone (step 2 review) */
.pd .pd-head .h2,.uc-record .ul-visual__title,.uc-explorer .pd-tab__t,.uc-explorer .pd-panel__t,.uc-relief .pd-ledger__label{text-wrap:balance}
/* a name that reads as one unit ("Do Not Call") is never split over two lines of a row or panel title */
.uc-keep{white-space:nowrap}

/* ---------- 01 issues: the list of four inside a phone ---------- */
.uc-phone{display:none}
/* call-type glyph: the row marker of the shared explorer, enlarged to hold a drawn glyph */
.uc-explorer .pd-tab__n{display:grid;place-items:center;width:40px;height:40px;border:1.5px solid #9fb2d2;border-radius:50%;color:#33507f;background:#fff;transform:none}
.uc-explorer .pd-tab__n svg{display:block;width:20px;height:20px}
.uc-explorer .pd-panel__toggle[aria-expanded="true"] .pd-tab__n{background:var(--uc-gold);border-color:#0c1d55;color:#0c1d55}
.uc-explorer:not(.is-tabs) .pd-panel__toggle{gap:14px;padding:14px 16px;min-height:68px}
@media (min-width:1024px){
  .pd-explorer.uc-explorer.is-tabs{grid-template-columns:minmax(300px,352px) minmax(0,1fr);gap:clamp(26px,3.6vw,60px);align-items:stretch}
  /* the phone is exactly as tall as the panel beside it: when the longest explanation needs more room than the list
     (Spanish at 1440: 25 px), the screen grows with it instead of leaving the phone shorter than its neighbour */
  .is-tabs .uc-phone{display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-self:stretch;padding:12px 11px 14px;border:3px solid transparent;border-radius:46px;
    background:var(--uc-enamel) padding-box,var(--uc-rim) border-box;box-shadow:0 38px 46px -30px rgba(8,20,52,.72),0 2px 0 rgba(255,255,255,.5) inset,0 0 0 1px rgba(8,20,52,.2)}
  .uc-phone__speaker{display:block;width:62px;height:6px;margin:6px auto 13px;border-radius:99px;background:#081428;box-shadow:0 1px 0 rgba(216,232,245,.22)}
  .uc-phone__screen{display:grid;grid-template-rows:auto minmax(130px,1fr);min-height:468px;padding:10px 8px 0;border-radius:32px;border:1px solid #2c4286;overflow:hidden;
    background:radial-gradient(120% 70% at 20% 0%,#17307a 0%,rgba(23,48,122,0) 60%),linear-gradient(180deg,#0d2058 0%,#0a1946 100%)}
  .uc-phone__home{display:block;width:104px;height:5px;margin:13px auto 1px;border-radius:99px;background:rgba(216,232,245,.5)}
  .is-tabs .uc-phone .pd-tabs{position:static;display:grid;gap:0}
  .uc-phone .pd-tab{grid-template-columns:40px minmax(0,1fr) 9px;gap:13px;padding:15px 12px;border:0;border-radius:18px;color:#c9d7ef;position:relative;
    font:600 1.2rem/1.2 var(--f-head,'Barlow Condensed',sans-serif);transition:background .25s ease,color .25s ease}
  /* Latin labels: medium, not semi-bold. On a 1x screen the semi-bold condensed face closed the dots of "i" into the
     stems on the dark screen; medium keeps them open and lets the third English label fit on two lines */
  html:not([lang=fa]) .uc-phone .pd-tab{font-weight:500}
  .uc-phone .pd-tab+.pd-tab::before{content:"";position:absolute;inset-block-start:0;inset-inline:65px 12px;height:1px;background:#263c80}
  .uc-phone .pd-tab:hover{color:#fff;background:rgba(255,255,255,.06)}
  .uc-phone .pd-tab[aria-selected="true"]{color:#fff;background:rgba(255,255,255,.11);border:0;box-shadow:inset 0 0 0 1px rgba(190,212,240,.2)}
  .uc-phone .pd-tab[aria-selected="true"]::before,.uc-phone .pd-tab[aria-selected="true"]+.pd-tab::before{opacity:0}
  .uc-phone .pd-tab:focus-visible{outline:3px solid #f9e900;outline-offset:-3px}
  .uc-phone .pd-tab__n{border-color:#5f7cb2;background:rgba(255,255,255,.04);color:#c9d7ef;transition:background .25s ease,color .25s ease,border-color .25s ease}
  .uc-phone .pd-tab[aria-selected="true"] .pd-tab__n{background:var(--uc-gold);border-color:#fff796;color:#0c1d55;transform:none}
  .uc-row__go{width:8px;height:8px;border-block-start:2px solid currentColor;border-inline-end:2px solid currentColor;transform:rotate(45deg);opacity:.45;transition:opacity .25s ease,transform .25s ease}
  [dir=rtl] .uc-row__go{transform:rotate(-45deg)}
  .uc-phone .pd-tab[aria-selected="true"] .uc-row__go{opacity:1;color:#f9e900}
  /* the rest of the list, out of focus: blank rows that say "a longer log", no invented entries. They fill whatever
     height the screen has left and fade out towards its lower edge, so the screen never ends in an empty area
     (two rows show when the list is long, three or four when it is short or the phone has grown with the panel) */
  .uc-phone__rest{--uc-dot:rgba(159,178,210,.2);--uc-bar:rgba(159,178,210,.16);--uc-row:linear-gradient(to bottom,#263c80 0 1px,transparent 1px) 0 0/100% 58px repeat-y;
    display:block;margin:2px 12px 0;opacity:.55;   /* one row = a 58 px tile: hairline, round mark, text bar */
    background:var(--uc-row),radial-gradient(circle at 20px 29px,var(--uc-dot) 0 19px,transparent 20px) 0 0/100% 58px repeat-y,
      linear-gradient(to bottom,transparent 24.5px,var(--uc-bar) 24.5px 33.5px,transparent 33.5px) 53px 0/46% 58px repeat-y;
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.45) 60%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.45) 60%,transparent 100%)}
  [dir=rtl] .uc-phone__rest{background:var(--uc-row),radial-gradient(circle at calc(100% - 20px) 29px,var(--uc-dot) 0 19px,transparent 20px) 0 0/100% 58px repeat-y,
      linear-gradient(to bottom,transparent 24.5px,var(--uc-bar) 24.5px 33.5px,transparent 33.5px) calc(100% - 53px) 0/46% 58px repeat-y}
  /* the explanation beside the phone */
  /* all four explanations share one cell: the stage is as tall as the longest of them, so choosing a row never
     changes the height and nothing below moves (the longest one is the third, in Spanish) */
  .uc-explorer.is-tabs .pd-explorer__stage{display:grid;align-content:stretch}
  .uc-explorer.is-tabs .pd-panel{display:grid;align-content:center;grid-area:1/1;visibility:hidden}
  .uc-explorer.is-tabs .pd-panel.is-active{visibility:visible}
  .uc-explorer.is-tabs .pd-panel__body{grid-template-columns:minmax(0,1fr) clamp(170px,16vw,216px);align-items:center}
  .uc-explorer.is-tabs .pd-panel__copy p{max-width:52ch}
  body[data-design] .pd .uc-explorer.is-tabs .pd-panel__copy .pd-lead{font-weight:500;color:var(--pd-ink)}
}

/* ---------- the record to keep: four capture frames ---------- */
.uc-record .ul-visual__title{font-size:clamp(1.8rem,3.4vw,2.7rem)}
.uc-captures{list-style:none;margin:clamp(26px,3.2vw,42px) 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(16px,2.2vw,30px)}
.uc-capture{min-width:0;display:grid;gap:16px;align-content:start}
.uc-capture__frame{--c:#f9e900;--s:18px;display:grid;place-items:center;aspect-ratio:5/4;border-radius:4px;
  background:linear-gradient(var(--c),var(--c)) 0 0/var(--s) 2px no-repeat,linear-gradient(var(--c),var(--c)) 0 0/2px var(--s) no-repeat,
    linear-gradient(var(--c),var(--c)) 100% 0/var(--s) 2px no-repeat,linear-gradient(var(--c),var(--c)) 100% 0/2px var(--s) no-repeat,
    linear-gradient(var(--c),var(--c)) 0 100%/var(--s) 2px no-repeat,linear-gradient(var(--c),var(--c)) 0 100%/2px var(--s) no-repeat,
    linear-gradient(var(--c),var(--c)) 100% 100%/var(--s) 2px no-repeat,linear-gradient(var(--c),var(--c)) 100% 100%/2px var(--s) no-repeat,
    radial-gradient(80% 80% at 50% 45%,rgba(120,160,230,.17) 0%,rgba(120,160,230,0) 100%),rgba(255,255,255,.035);
  transition:background-size .35s var(--ease-out,ease)}
.uc-capture:hover .uc-capture__frame{--s:30px}
.uc-capture__frame .pd-art{width:clamp(84px,8.6vw,120px)}
.uc-record .uc-capture h3{margin:0 0 6px;font:600 1.36rem/1.2 var(--f-head,'Barlow Condensed',sans-serif);color:#fff}
.uc-record .uc-capture p{margin:0;font:400 .94rem/1.55 var(--f-text,Montserrat,sans-serif);color:#d7e2f3;overflow-wrap:anywhere}
.uc-record .uc-record__foot{grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:8px clamp(18px,2.6vw,36px);margin-top:clamp(24px,3vw,38px)}
.uc-record .ul-visual__callout{font:600 clamp(1.3rem,2vw,1.6rem)/1.2 var(--f-head,'Barlow Condensed',sans-serif)}
.uc-record .ul-visual__note{max-width:70ch}
@media (max-width:1023px){
  .uc-captures{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 26px}
  .uc-capture{grid-template-columns:112px minmax(0,1fr);gap:18px;align-items:center}
  .uc-capture__frame{aspect-ratio:1;--s:14px}
  .uc-capture__frame .pd-art{width:74px}
  .uc-record .uc-record__foot{grid-template-columns:1fr}
}
@media (max-width:599px){
  .uc-captures{grid-template-columns:1fr;gap:18px}
  .uc-capture{grid-template-columns:96px minmax(0,1fr);gap:16px}
  .uc-capture__frame{--s:13px}
  .uc-capture__frame .pd-art{width:66px}
  .uc-record .uc-capture h3{font-size:1.24rem}
}

/* ---------- 02 evidence: a checklist ---------- */
/* the lead belongs to the heading: cancel the column gap so heading-to-lead is the same 44 px as in section 04 */
.uc-aside__lead{margin-block-start:calc(-1 * clamp(18px,2.2vw,30px))}
.uc-aside__lead p{margin:0;max-width:44ch}
.uc-aside__lead p+p{margin-top:14px}
@media (min-width:1024px){.pd--uc-checklist .pd-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:start}}
.uc-checks{list-style:none;margin:0;padding:0;border-block-start:1px solid var(--uc-rule)}
body[data-design] .pd .pd-body .uc-check{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(14px,1.8vw,24px);align-items:center;padding:17px 0;border-block-end:1px solid var(--uc-rule);
  font:400 1.04rem/1.62 var(--f-text,Montserrat,sans-serif);color:var(--pd-ink)}
.uc-check__mark{display:grid;place-items:center;width:54px;height:54px;border:2px solid transparent;border-radius:16px;background:var(--uc-enamel) padding-box,var(--uc-rim) border-box;
  box-shadow:0 12px 16px -10px rgba(8,20,52,.6)}
.uc-check__mark svg{display:block;width:30px;height:30px;overflow:visible}
.uc-check__mark path{fill:none;stroke:#f9e900;stroke-width:3.6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:0}
.pd-js .uc-check[data-pd-reveal] .uc-check__mark path{stroke-dashoffset:1;transition:stroke-dashoffset .5s cubic-bezier(.3,.7,.2,1) calc(var(--pd-i,0)*70ms + .38s)}
.pd-js .uc-check[data-pd-reveal].is-in .uc-check__mark path{stroke-dashoffset:0}
.uc-caution{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(14px,1.8vw,22px);align-items:center;margin-top:clamp(22px,2.6vw,32px);padding:clamp(18px,2.2vw,26px) clamp(18px,2.4vw,30px);
  border-radius:22px;background:linear-gradient(135deg,#0c1d55 0%,#13276b 58%,#272d76 100%);box-shadow:0 24px 40px -32px rgba(12,29,85,.8)}
.uc-caution__mark{position:relative;width:46px;height:46px;border-radius:50%;background:var(--uc-gold);box-shadow:0 0 0 2px rgba(216,232,245,.55),0 8px 12px -6px rgba(0,0,0,.5)}
.uc-caution__mark::after{content:"";position:absolute;inset-inline:11px;inset-block-start:50%;height:4px;margin-top:-2px;border-radius:2px;background:#102440}
body[data-design] .pd .pd-body .uc-caution p{margin:0;max-width:none;color:#eef4fc;font-size:1rem;line-height:1.62}
.pd--uc-checklist .pd-aside .pd-art{width:clamp(150px,15vw,200px)}
@media (max-width:1023px){.pd--uc-checklist .pd-aside .pd-art{width:104px}}
@media (max-width:599px){
  .uc-check__mark{width:46px;height:46px;border-radius:14px}
  .uc-check__mark svg{width:26px;height:26px}
  body[data-design] .pd .pd-body .uc-check{align-items:start;font-size:1rem}
  .uc-caution{grid-template-columns:1fr;justify-items:start}
}

/* ---------- 03 stop requests: the long read ---------- */
#practice-stop-requests .pd-body p{max-width:60ch}
/* Persian: "ch" is narrower in the Persian face, which left the ruled paragraphs 67 px short of the lead above them.
   The column itself is the measure there, so lead, paragraphs and hairlines share one width, as in English */
[dir=rtl] #practice-stop-requests .pd-body p{max-width:none}
/* the long read, and the Persian explanations beside the phone: where the browser can, do not leave a single word
   alone on a paragraph's last line. Not on the Latin panels: there it only pulled the last four lines in, which left
   a visible step in the right edge of a short paragraph */
#practice-stop-requests .pd-body p,[dir=rtl] .uc-explorer .pd-panel__copy p{text-wrap:pretty}
body[data-design] #practice-stop-requests .pd-body .pd-lead{font:500 clamp(1.08rem,1.3vw,1.2rem)/1.62 var(--f-text,Montserrat,sans-serif);color:var(--pd-ink)}
#practice-stop-requests .pd-body p+p{padding-block-start:16px;border-block-start:1px solid #dfe8f4}
#practice-stop-requests .pd-art--hero{width:clamp(190px,21vw,290px)}
@media (max-width:1023px){#practice-stop-requests .pd-art--hero{width:120px}}

/* ---------- 05 relief: the two claim types ---------- */
.uc-relief .pd-ledger__row{position:relative;padding-inline-start:20px}
.uc-relief .pd-ledger__row::before{content:"";position:absolute;inset-inline-start:0;inset-block-start:25px;width:4px;height:22px;border-radius:2px;background:#e3c700}
.uc-relief .pd-aside .pd-art{width:clamp(140px,14vw,190px)}
/* 34%: wide enough from about 1080 px up for the Persian label to keep its quoted term on one line */
@media (min-width:768px){.uc-relief .pd-ledger__row{grid-template-columns:minmax(0,34%) minmax(0,1fr)}}
@media (max-width:1023px){.uc-relief .pd-aside .pd-art{width:104px}}

/* ---------- FAQ (kept by the renderer), Persian page only ----------
   The shared rule lays a question out as a flex row (text, plus sign). A Persian question that holds a Latin term
   (<bdi>STOP</bdi>, <bdi>FCC</bdi>) then becomes three separate flex items and the sentence is torn into columns.
   Here the question is one block of running text and the plus sign is placed at the end side, mid-height.
   Same paddings, sizes and gap as the shared rule (26 / 34 / 24 px; 20 / 30 / 14 px below 768 px). */
html[dir=rtl] body[data-design="v3"] .service-faq-list summary{--uc-q-pad:26px;--uc-q-mark:34px;--uc-q-gap:24px;display:block;align-content:center;text-wrap:balance;
  padding-inline-end:calc(var(--uc-q-pad) + var(--uc-q-mark) + var(--uc-q-gap))}
html[dir=rtl] body[data-design="v3"] .service-faq-list summary::after{position:absolute;inset-inline-end:var(--uc-q-pad);inset-block-start:calc(50% - var(--uc-q-mark) / 2)}
@media (max-width:767px){html[dir=rtl] body[data-design="v3"] .service-faq-list summary{--uc-q-pad:20px;--uc-q-mark:30px;--uc-q-gap:14px}}

@media (prefers-reduced-motion:reduce){
  .pd-js .uc-check[data-pd-reveal] .uc-check__mark path{stroke-dashoffset:0;transition:none}
  .uc-capture__frame,.uc-phone .pd-tab,.uc-phone .pd-tab__n,.uc-row__go{transition:none}
  .uc-capture:hover .uc-capture__frame{--s:18px}
}
@media (forced-colors:active){
  .uc-phone,.uc-phone__screen,.uc-check__mark,.uc-caution,.uc-capture__frame{border:1px solid CanvasText}
  .uc-check__mark path{stroke:CanvasText}
  .uc-phone .pd-tab[aria-selected="true"]{outline:2px solid Highlight}
}
@media print{
  .uc-phone{display:none!important}
  .uc-check__mark path{stroke-dashoffset:0!important}
}
