/* Final · procedure and city page (a-procedure.html). Loaded only by that page; every rule is scoped to body.dx-proc. */
body.dx-proc .pr-crumb>span{color:var(--faint)}

/* header: A's results head — breadcrumb, h1, then the one-sentence lede, top-aligned */
body.dx-proc .pr-head{padding:4px 0 26px}
body.dx-proc .pr-head h1{font-size:28px;line-height:1.15;font-weight:600;letter-spacing:-.035em;text-wrap:balance}
body.dx-proc .pr-head p{margin-top:6px;color:var(--dim);font-size:13.5px;line-height:1.5}

/* section rhythm */
body.dx-proc .pr-sub{margin:0 0 18px;color:var(--dim);font-size:14px;line-height:1.55}
body.dx-proc .pr-acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
body.dx-proc .pr-acts .os-btn{height:40px}
body.dx-proc .pr-points{display:grid;gap:2px;margin-top:8px}

/* what is measured: an A table, one row per measure */
body.dx-proc .pr-mt{table-layout:auto;font-size:13.5px}
body.dx-proc .pr-mt thead th{padding-top:18px;padding-bottom:10px;color:var(--faint);font-size:12px;font-weight:500;white-space:nowrap}
body.dx-proc .pr-mt th[scope=row],body.dx-proc .pr-mt thead th:first-child{width:auto;position:static}
body.dx-proc .pr-mt th,body.dx-proc .pr-mt td{padding:13px 18px}
body.dx-proc .pr-mt tbody tr:last-child>*{padding-bottom:18px}
body.dx-proc .pr-mt td{color:var(--dim);line-height:1.5}
body.dx-proc .pr-mt td:nth-child(2){color:var(--ink2);white-space:nowrap}
body.dx-proc .pr-mt td:last-child{white-space:nowrap}
/* Live source tables retain source-specific periods without changing approved fixtures. */
body[data-source].dx-proc .pr-mt{table-layout:fixed}
body[data-source].dx-proc .pr-mt th,body[data-source].dx-proc .pr-mt td{min-width:0;margin:0;white-space:normal;overflow-wrap:anywhere}
body[data-source].dx-proc .pr-mt :is(p,b,small){margin:0}
body[data-source].dx-proc .pr-mt tbody tr:last-child>*{padding-bottom:13px}
@media(min-width:861px){
  body[data-source].dx-proc .pr-mt thead th:first-child{width:30%}
  body[data-source].dx-proc .pr-mt thead th:nth-child(2){width:14%}
  body[data-source].dx-proc .pr-mt thead th:nth-child(3){width:28%}
  body[data-source].dx-proc .pr-mt thead th:nth-child(4){width:28%}
}
body.dx-proc .pr-m{display:flex;gap:10px;align-items:flex-start}
body.dx-proc .pr-m>span[role=img]{display:inline-flex;flex:none}
body.dx-proc .pr-m b{font-weight:600;line-height:1.45;color:var(--ink)}
body.dx-proc .pr-mt tr.is-none th b,body.dx-proc .pr-mt tr.is-run th b{font-weight:550;color:var(--ink2)}

/* how to read a result: the real row with numbered notes */
body.dx-proc .pr-ex .pr-excolh{position:relative}
body.dx-proc .pr-ex .dx-colh>span{overflow:visible}
body.dx-proc .pr-exrow:hover{background:none}
body.dx-proc .pr-k{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;margin-right:6px;border-radius:9px;background:var(--g);color:#fff;font:650 10.5px/1 Inter;font-style:normal;vertical-align:1px}
body.dx-proc .dx-n .pr-k{margin-right:5px}
body.dx-proc .pr-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:22px 0 0;padding:0;list-style:none}
body.dx-proc .pr-notes li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px;align-items:start;margin:0}
body.dx-proc .pr-notes .pr-k{margin-top:1px}
body.dx-proc .pr-notes b{display:block;font-size:14px;font-weight:600}
body.dx-proc .pr-notes p{margin-top:4px;color:var(--dim);font-size:13.5px;line-height:1.55}
body.dx-proc .pr-rule{margin-top:18px}

/* questions: an accessible disclosure list with Phosphor carets */
body.dx-proc .pr-faq{margin-top:12px;padding:6px;border-radius:var(--r-card);background:#fff;box-shadow:var(--elev-2)}
body.dx-proc .pr-faq details+details{margin-top:2px}
body.dx-proc .pr-faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-radius:12px;cursor:pointer;list-style:none;font-size:14.5px;font-weight:600;color:var(--ink);transition:background .15s,color .15s}
body.dx-proc .pr-faq summary::-webkit-details-marker{display:none}
body.dx-proc .pr-faq summary::marker{content:''}
body.dx-proc .pr-faq summary:hover{background:var(--g-bg2);color:var(--g-ink)}
body.dx-proc .pr-faq summary:focus-visible{outline:3px solid #9fcfb9;outline-offset:-3px}
body.dx-proc .pr-car{width:16px;height:16px;flex:none;color:var(--faint);transition:transform .2s}
body.dx-proc .pr-faq details[open] .pr-car{transform:rotate(180deg)}
body.dx-proc .pr-faq details>p{padding:0 16px 16px;color:var(--dim);font-size:14px;line-height:1.6}

/* nearby cities and related procedures: compact link chips */
body.dx-proc .pr-chiprow{margin-top:14px}
body.dx-proc .pr-chiprow+.pr-chiprow{margin-top:18px}
body.dx-proc .pr-chiprow h3{margin:0 0 10px;color:var(--faint);font-size:12.5px;font-weight:500}
body.dx-proc .pr-chips{display:flex;flex-wrap:wrap;gap:8px}
body.dx-proc .pr-chips a{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 13px;border-radius:999px;background:var(--raise-grad);box-shadow:var(--elev-1);color:var(--ink2);font-size:13px;font-weight:500;line-height:1.3;transition:var(--elev-t),color .15s}
body.dx-proc .pr-chips a svg{width:14px;height:14px;flex:none;color:var(--faint)}
@media(hover:hover) and (pointer:fine){body.dx-proc .pr-chips a:hover{color:var(--g-ink);box-shadow:var(--elev-1-hover);transform:translateY(-1px)}body.dx-proc .pr-chips a:hover svg{color:var(--g)}}
body.dx-proc .pr-chips a:focus-visible{outline:3px solid #9fcfb9;outline-offset:2px}

@media(max-width:1100px){
  body.dx-proc .pr-notes{grid-template-columns:1fr;gap:14px}
}
@media(max-width:860px){
  /* the measures table becomes one block per measure: the measure, then who, source and period on one line */
  body.dx-proc .pr-mtwrap{overflow:visible;padding:6px}
  body.dx-proc .pr-mt,body.dx-proc .pr-mt tbody,body.dx-proc .pr-mt tr{display:block;min-width:0;width:auto}
  body.dx-proc .pr-mt thead{display:none}
  body.dx-proc .pr-mt tr{padding:12px 12px 12px 42px;border-radius:12px}
  body.dx-proc .pr-mt tr+tr{margin-top:2px}
  body.dx-proc .pr-mt th[scope=row]{display:block;margin:0 0 4px -30px;padding:0;background:none}
  body.dx-proc .pr-mt td{display:inline;padding:0;background:none;white-space:normal!important;font-size:13px}
  body.dx-proc .pr-mt td:nth-child(2)::after,body.dx-proc .pr-mt td:nth-child(3)::after{content:' · ';color:var(--faint)}
  body.dx-proc .pr-mt tbody tr:last-child>*{padding-bottom:0}
  body.dx-proc .pr-mt tbody tr:hover{background:var(--g-bg2)}
  body.dx-proc .pr-mt tbody tr:hover>*{background:none}
}

/* Actual procedure routes share one left edge and a clear breadcrumb boundary. */
body.dx-proc[data-source] .dx-page > .pr-crumb{margin:0 0 24px;padding:0}
body.dx-proc[data-source] .pr-head{padding-top:0}
body.dx-proc[data-source] .pr-head h1{margin:0}
@media(max-width:640px){body.dx-proc[data-source] .dx-page > .pr-crumb{margin-bottom:18px}}
