/* Debt Collection page (2026-11-14): "the notice".
   Styles for this page's own sections, produced by cinematic-preview/practice_pages/debt_collection.py:
   the court-deadline notice (summons), the two-lane figure (dc-tracks), the sorting tray (sorter) and a few
   refinements of the shared modules scoped to this page's section ids. Logical properties throughout. */

/* ---------- 1. court papers: a navy notice ---------- */
.pd--summons .dc-summons{position:relative;display:grid;gap:clamp(22px,3vw,38px);padding:clamp(26px,4.4vw,62px);border-radius:28px;overflow:hidden;color:#fff}
.pd--summons .dc-summons__top{display:grid;gap:18px;align-items:center;min-width:0}
.pd--summons .dc-summons__top .pd-art{order:-1;width:100px}
.pd--summons .h2{color:#fff;max-width:17em;text-wrap:balance}
.pd--summons .pd-kicker{color:#a9bbdf}
.pd--summons .dc-summons__cols{display:grid;gap:clamp(20px,3vw,34px);padding-block-start:clamp(22px,3vw,36px);border-block-start:1px solid rgba(190,212,240,.26)}
body[data-design] .pd--summons .dc-summons .pd-lead{margin:0;max-width:54ch;color:#eef4fc;font-size:clamp(1.08rem,1.45vw,1.3rem);line-height:1.58}
/* the double rule is the margin of pleading paper */
.pd--summons .dc-summons__note{padding-inline-start:clamp(18px,2vw,26px);border-inline-start:5px double rgba(190,212,240,.55)}
.pd--summons .dc-summons__note p{margin:0;max-width:50ch;color:#dce7f7;font:400 1rem/1.68 var(--f-text,Montserrat,sans-serif)}
.pd--summons .dc-summons__note p+p{margin-top:12px}
.pd--summons .dc-summons__note .pd-list li{color:#dce7f7}
@media (min-width:768px){
  .pd--summons .dc-summons__top{grid-template-columns:minmax(0,1fr) auto;gap:clamp(24px,4vw,60px)}
  .pd--summons .dc-summons__top .pd-art{order:0;width:clamp(120px,14vw,186px)}
}
@media (min-width:1024px){
  .pd--summons .dc-summons__cols{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(30px,4.4vw,68px);align-items:start}
}

/* ---------- the figure: two parallel lanes on a light sheet ---------- */
.ul-visual--pd.dc-tracks{--dc-pad:clamp(20px,3.4vw,46px);--dc-rail:#c6d5ea;padding:var(--dc-pad);border:1px solid #d3deec;border-radius:28px;color:#27385a;
  background:linear-gradient(160deg,#fff 0%,#f1f6fc 100%);box-shadow:0 34px 64px -46px rgba(12,29,85,.6)}
.dc-tracks .ul-visual__eyebrow{color:#5b7196}
.dc-tracks .ul-visual__title{color:#0c1d55;font-size:clamp(1.75rem,3.2vw,2.6rem);text-wrap:balance}
.dc-tracks .ul-visual__subtitle{color:#27385a}
/* the title is two sentences: each one is a box of its own, so a narrow screen breaks between them, not inside one */
.dc-tracks .dc-title__s{display:inline-block}
/* on a phone each sentence takes a line of its own; only the first one sits beside the emblem, so the second may use
   the whole row (it starts below the emblem) and stays in one piece down to 320 px */
@media (max-width:767px){
  .ul-visual--pd.dc-tracks .ul-visual__title:has(.dc-title__s){max-width:none}
  .dc-tracks .dc-title__s{display:block}
  .dc-tracks .dc-title__s:first-child{max-width:calc(100% - 104px)}
}
/* Persian has no capitals and no letter-spacing to carry a 12 px eyebrow, and its numerals are small for their size */
[lang=fa] .ul-visual--pd.dc-tracks .ul-visual__eyebrow{font-size:.875rem;letter-spacing:0}
[lang=fa] .ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__step::before{font-size:1.1rem}
.ul-visual--pd.dc-tracks .ul-visual__tracks{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin-top:clamp(20px,2.6vw,34px)}
.ul-visual--pd.dc-tracks .ul-visual__track{display:grid;gap:18px;min-width:0;padding:clamp(20px,2.6vw,34px) 0;border:0;border-radius:0;background:none;border-block-start:1px solid #d3deec}
.ul-visual--pd.dc-tracks .ul-visual__track+.ul-visual__track{border-block-start:2px dashed #b4c6e0}
.dc-lane__head{display:flex;align-items:center;gap:14px;min-width:0}
.dc-lane__head .pd-art{width:62px}
.ul-visual--pd.dc-tracks .ul-visual__track h3.ul-visual__track-title{margin:0;font:600 clamp(1.34rem,2vw,1.66rem)/1.14 var(--f-head,'Barlow Condensed',sans-serif);letter-spacing:0;text-transform:none;color:#0c1d55}
/* steps: a vertical rail by default */
.ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__steps{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:20px;margin:0}
.ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__steps::before{content:none}
.ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__step{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:14px;align-content:start;padding:0;border:0;border-radius:0;background:none}
.ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__step:hover{transform:none}
/* each step carries the piece of rail that leads to the next one, so the rail ends at the last number */
.ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__step::after{content:"";display:block;position:absolute;z-index:0;inset-block:32px -20px;inset-inline:15px auto;width:2px;height:auto;border:0;transform:none;background:var(--dc-rail)}
.ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__step:last-child::after{display:none}
.ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__step::before{grid-row:1 / span 3;position:relative;z-index:1;width:32px;height:32px;margin:0;box-shadow:0 0 0 2px #0c1d55}
.ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__step>*{grid-column:2}
.dc-step__t{margin:4px 0 5px;font:600 1.24rem/1.2 var(--f-head,'Barlow Condensed',sans-serif);color:#0c1d55;text-wrap:balance}
.ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__step p{margin:0;color:#3a4c6f;font:400 .95rem/1.56 var(--f-text,Montserrat,sans-serif)}
/* the callout is the base of the figure */
.ul-visual--pd.dc-tracks .ul-visual__foot{display:grid;gap:8px 30px;margin:clamp(4px,1vw,10px) calc(var(--dc-pad)*-1) calc(var(--dc-pad)*-1);padding:clamp(18px,2.2vw,26px) var(--dc-pad);
  border:0;border-end-start-radius:27px;border-end-end-radius:27px;background:linear-gradient(135deg,#0c1d55 0%,#13276b 62%,#232b74 100%)}
.dc-tracks .ul-visual__callout{color:#f9e900;font:600 clamp(1.02rem,1.3vw,1.14rem)/1.4 var(--f-text,Montserrat,sans-serif)}
.dc-tracks .ul-visual__note{color:#dce7f7;font-size:.94rem}
@media (min-width:900px){.ul-visual--pd.dc-tracks .ul-visual__foot{grid-template-columns:auto minmax(0,1fr);align-items:center}}
@media (min-width:1024px){
  .ul-visual--pd.dc-tracks .ul-visual__track{grid-template-columns:minmax(170px,19%) minmax(0,1fr);gap:clamp(24px,3vw,50px);align-items:start}
  .dc-lane__head{flex-direction:column;align-items:flex-start;gap:12px}
  .dc-lane__head .pd-art{width:88px}
  .ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__steps{--dc-gap:clamp(16px,2vw,30px);grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--dc-gap);margin-top:6px}
  /* the rail runs from the first number to the last one (the third column starts two columns and two gaps in) */
  .ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__steps::before,.ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__steps::after{content:"";position:absolute;inset-inline:16px calc((100% - 2*var(--dc-gap))/3 - 16px);inset-block:15px auto;width:auto;height:2px;background:var(--dc-rail)}
  .ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__steps::after{background:#0c1d55;transform-origin:0 50%;transform:scaleX(var(--pd-progress,1))}
  [dir=rtl] .ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__steps::after{transform-origin:100% 50%}
  .ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__step{display:block;padding-inline-end:12px}
  .ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__step::after{display:none}
  .ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__step::before{margin-bottom:16px}
  .dc-step__t{margin:0 0 6px;font-size:1.36rem}
}
@media (prefers-reduced-motion:reduce){.ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__steps::after{transform:none}}

/* ---------- 5. what to gather: a sorting tray ---------- */
.pd--sorter{background:linear-gradient(180deg,#edf3fb 0%,#f8fbfe 100%)}
.dc-tray{margin-top:clamp(22px,3vw,38px);border:1px solid #d3deec;border-radius:26px;overflow:hidden;background:#fff;box-shadow:0 28px 54px -44px rgba(12,29,85,.6)}
.dc-sorter{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr)}
.dc-slot{display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px;align-items:start;align-content:start;min-width:0;padding:20px 18px;border-block-end:1px solid #d3deec;border-inline-end:1px solid #d3deec;margin-inline-end:-1px}
.dc-slot .pd-art{width:64px}
.dc-slot__copy{margin:0;min-width:0}
.dc-slot__label{display:block;margin-bottom:6px;font:600 1.32rem/1.2 var(--f-head,'Barlow Condensed',sans-serif);color:#0c1d55}
.dc-slot__text{display:block;font:400 .98rem/1.62 var(--f-text,Montserrat,sans-serif);color:#27385a;overflow-wrap:anywhere}
/* court papers: the one compartment that cannot wait */
.dc-slot:last-child{background:linear-gradient(135deg,#0c1d55 0%,#16296e 100%);border-color:transparent}
.dc-slot:last-child .dc-slot__label{color:#fff}
.dc-slot:last-child .dc-slot__text{color:#dce7f7}
/* the strip along the base of the tray: a quiet tinted base opened by the short yellow rule (no side stripe) */
.dc-tray__note{padding:clamp(18px,2.2vw,24px) clamp(18px,2.6vw,34px) clamp(20px,2.4vw,28px);background:#f3f7fc}
.dc-tray__note::before{content:"";display:block;width:38px;height:3px;margin-block-end:12px;border-radius:2px;background:#f9e900}
.dc-tray__note p{margin:0;max-width:92ch;font:400 .97rem/1.66 var(--f-text,Montserrat,sans-serif);color:#27385a;text-wrap:pretty}
.dc-tray__note p+p{margin-top:10px}
@media (min-width:700px){
  .dc-sorter{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dc-slot{grid-template-columns:minmax(0,1fr);gap:14px;padding:clamp(22px,2.6vw,34px)}
  .dc-slot .pd-art{width:84px}
}
@media (min-width:1024px){
  .dc-sorter{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pd--sorter .pd-head{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:clamp(22px,3.2vw,52px);align-items:end}
  .pd--sorter .pd-head .pd-kicker{grid-column:1 / -1}
  .pd--sorter .pd-head .lead{margin:0;padding-block-end:10px;max-width:54ch}
}

/* no heading on this page leaves one word alone on its last line */
.pd .pd-head .h2{text-wrap:balance}

/* the first paragraph of an editorial section is its lead (the shared rule loses to the shared paragraph rule) */
body[data-design] .pd--editorial .pd-body p.pd-lead{font:500 clamp(1.1rem,1.4vw,1.26rem)/1.58 var(--f-text,Montserrat,sans-serif);color:var(--pd-ink,#16264a)}
@media (min-width:768px){#practice-dispute .pd-aside .pd-art{width:clamp(160px,15vw,210px)}}
@media (max-width:767px){.pd--editorial .pd-aside .pd-art{width:116px}.pd--statement .pd-statement__note .pd-art{width:100px}}
/* 4 and 6, two columns: where the heading-and-artwork column is the taller one (dispute; review in Persian, whose
   text sets shorter), the rule between the columns runs the whole row and the text sits centred against it.
   Top-aligned, it left the lower part of its column bare. Nothing changes where the text column is the taller one. */
@media (min-width:1024px){
  /* the column stays a block (its paragraph and list margins keep collapsing as before); a browser without
     align-content on blocks shows the text at the top, next to the full-height rule */
  .pd--editorial .pd-body{align-self:stretch;align-content:center}
  [lang=fa] #practice-dispute .pd-aside .pd-art,[lang=fa] #practice-review .pd-aside .pd-art{width:clamp(160px,13vw,180px)}
}

/* 2. issues: a label that wraps does it in even lines, and keeps clear of the chevron on the phone */
#practice-issues .pd-tab__t,#practice-issues .pd-panel__t{text-wrap:balance}
#practice-issues .is-accordion .pd-panel__t{padding-inline-end:10px}

/* no paragraph on this page ends with one word alone on its last line */
.pd p,.pd li,.dc-slot__text{text-wrap:pretty}
/* the two-line note under the callout breaks evenly on a phone (it left two words alone) */
.dc-tracks .ul-visual__note{text-wrap:balance}
/* 4. dispute, English and Persian: a slightly narrower measure, same number of lines, so the two long paragraphs
   do not end on two or three stray words ("sent it.") */
@media (min-width:1024px){
  html:lang(en) #practice-dispute .pd-body p:not(.pd-lead),[lang=fa] #practice-dispute .pd-body p:not(.pd-lead){max-width:54ch}
}

/* 1. the notice on a phone: the headline follows the width of the screen below 413 px (38 px above it, as before).
   In English "Received court papers?" then holds the first line and the headline breaks at the question mark; in
   Spanish "¿Recibió documentos" still fits on a 360 px screen (at a fixed 38 px it left "¿Recibió" alone) */
@media (max-width:767px){
  html:not([lang=fa]) body[data-design][data-page] .pd--summons .sec-head .h2{font-size:min(2.375rem,9.2vw)}
  html:lang(en) body[data-design][data-page] .pd--summons .sec-head .h2{text-wrap:pretty}
}

/* ---------- 6. review: the options between rules, the caveat as a note ---------- */
#practice-review .pd-list{margin:14px 0 24px;padding:8px 0;gap:0 30px;border-block:1px solid var(--pd-line,#d3deec)}
body[data-design] #practice-review .pd-body .pd-list li{padding-block:9px;font-weight:500;color:var(--pd-ink,#16264a)}
#practice-review .pd-list li::before{inset-block-start:calc(9px + .52em)}
@media (min-width:640px){#practice-review .pd-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* the caveat takes the shared note look (bordered card, short yellow rule) and the full width of the rules above it */
body[data-design] #practice-review .pd-body>p:last-child{max-width:none;padding:20px 24px 22px;border:1px solid var(--pd-line,#d3deec);border-radius:16px;background:rgba(255,255,255,.86);font-size:.96rem;line-height:1.66;text-wrap:pretty}
#practice-review .pd-body>p:last-child::before{content:"";display:block;width:38px;height:3px;margin-block-end:14px;border-radius:2px;background:#f9e900}

@media (forced-colors:active){.ul-visual--pd.dc-tracks,.dc-tray,.dc-slot,.dc-tray__note,#practice-review .pd-body>p:last-child{border:1px solid CanvasText}.ul-visual--pd.dc-tracks .ul-visual__foot,.dc-slot:last-child{background:Canvas}}
@media print{.ul-visual--pd.ul-visual--flow.dc-tracks .ul-visual__steps::after{transform:none}}
