/* The removal page (theme/pages/opt-out/, served at /opt-out/): the legal pages' layout, the cookie
   page's style.css scoped to .pg-opt-out, as each legal page carries its own. One section on white: the head (the
   kit's eyebrow and H1, the day it was last updated), then the contents beside a 720 px reading column from 1000 px,
   the tables as cards. Tokens only, so the dark theme follows. 2026-12-02, the legal pages of the data search. */

.pg-opt-out .lg{padding:36px 0 120px;background:var(--ground)}
.pg-opt-out .lg-head{max-width:760px}
.pg-opt-out .lg-grid{display:grid;grid-template-columns:minmax(0,240px) minmax(0,1fr);gap:72px;align-items:start;margin-top:56px}

/* the contents: a numbered list of the H2s, kept in view while the page scrolls */
.pg-opt-out .lg-toc{position:sticky;top:calc(var(--nav-h) + 32px)}
.pg-opt-out .lg-toc p{margin:0 0 14px;font:500 11.5px/1.3 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}
.pg-opt-out .lg-toc ol{margin:0;padding:0;list-style:none;counter-reset:lg;border-left:1px solid var(--line)}
.pg-opt-out .lg-toc li{counter-increment:lg;margin:0}
.pg-opt-out .lg-toc a{display:grid;grid-template-columns:28px minmax(0,1fr);padding:7px 0 7px 16px;font:500 14.5px/1.4 var(--sans);color:var(--k-text);text-decoration:none}
.pg-opt-out .lg-toc a::before{content:counter(lg,decimal-leading-zero);font:500 12px/1.6 var(--mono);color:var(--mute)}
.pg-opt-out .lg-toc a:hover{color:var(--ink)}

/* the text */
.pg-opt-out .lg-body{max-width:720px;min-width:0}
.pg-opt-out .lg-body h2{margin:0 0 16px;font:600 clamp(23px,2vw,28px)/1.25 var(--display);letter-spacing:-.02em;color:var(--ink2);text-wrap:balance;scroll-margin-top:calc(var(--nav-h) + 24px)}
.pg-opt-out .lg-body h2:not(:first-child){margin-top:44px;padding-top:36px;border-top:1px solid var(--line)}
.pg-opt-out .lg-body h3{margin:30px 0 10px;font:600 18px/1.35 var(--display);letter-spacing:-.01em;color:var(--ink2);text-wrap:balance}
.pg-opt-out .lg-body h3+h3{margin-top:12px}
.pg-opt-out .lg-body p{margin:0 0 16px;font:400 17px/1.7 var(--sans);color:var(--k-text);text-wrap:pretty}
.pg-opt-out .lg-body ul{margin:0 0 20px;padding:0 0 0 22px;font:400 17px/1.65 var(--sans);color:var(--k-text)}
.pg-opt-out .lg-body li{margin:6px 0;padding-left:4px}
.pg-opt-out .lg-body a{color:var(--blue);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;overflow-wrap:anywhere}

/* a table: a card, its columns fixed so both tables split alike, scrolling inside itself if a cell ever outgrows it */
.pg-opt-out .lg-table{margin:8px 0 26px;border-radius:14px;background:var(--k-card);box-shadow:var(--k-card-sh);overflow-x:auto}
.pg-opt-out .lg-table table{width:100%;table-layout:fixed;border-collapse:collapse;font:400 15.5px/1.5 var(--sans);color:var(--k-text);text-align:left}
.pg-opt-out .lg-table th,.pg-opt-out .lg-table td{padding:12px 16px;vertical-align:top}
/* both tables split their columns alike: the number, the information, the description */
.pg-opt-out .lg-table thead th:first-child{width:52px}
.pg-opt-out .lg-table thead th:nth-child(2){width:36%}
.pg-opt-out .lg-table thead th{font:500 11.5px/1.3 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--mute);border-bottom:1px solid var(--line)}
.pg-opt-out .lg-table tbody th{font:500 13px/1.75 var(--mono);color:var(--mute)}
.pg-opt-out .lg-table tbody td:nth-child(2){font-weight:600;color:var(--ink2)}
.pg-opt-out .lg-table tbody tr+tr>*{border-top:1px solid var(--line)}

.pg-opt-out :where(.lg-toc a,.lg-body a,.lg-table):focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:6px}

@media (max-width:1000px){
  .pg-opt-out .lg-grid{grid-template-columns:minmax(0,1fr);gap:36px;margin-top:40px}
  .pg-opt-out .lg-toc{position:static;max-width:720px}
}
@media (max-width:760px){
  .pg-opt-out .lg{padding:28px 0 72px}
  .pg-opt-out .lg-body h2:not(:first-child){margin-top:36px;padding-top:30px}
  .pg-opt-out .lg-body p,.pg-opt-out .lg-body ul{font-size:16px}
  .pg-opt-out .lg-table th,.pg-opt-out .lg-table td{padding:10px 12px;font-size:14px}
  .pg-opt-out .lg-table thead th:first-child{width:38px}
  .pg-opt-out .lg-table thead th:nth-child(2){width:40%}
}

/* the day the page was last updated, under the H1 */
.pg-opt-out .lg-date{margin:14px 0 0;font:500 12.5px/1.4 var(--mono);letter-spacing:.04em;color:var(--mute)}

/* the door (theme/template-parts/removal-form.php): a card on the text column with the two fields, the Turnstile slot,
   the button and one line for what happened; the three panels in the same card; the line for what the form cannot take
   under it. Tokens only, so the dark theme follows. */
.pg-opt-out .rm{margin:8px 0 24px}
.pg-opt-out .rm-card{margin:0;padding:22px 22px 20px;border:1px solid var(--line);border-radius:14px;background:var(--k-card);box-shadow:var(--k-card-sh)}
.pg-opt-out .rm-f{margin:0 0 18px}
.pg-opt-out .rm-l{display:block;margin:0 0 8px;font:600 14.5px/1.35 var(--sans);color:var(--ink2)}
.pg-opt-out .rm-in{display:block;box-sizing:border-box;width:100%;margin:0;padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:var(--panel);font:400 16px/1.4 var(--sans);color:var(--ink)}
.pg-opt-out .rm-in::placeholder{color:var(--mute);opacity:1}
.pg-opt-out .rm-in:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
.pg-opt-out .rm-in[aria-invalid="true"]{border-color:#C0392B}
.pg-opt-out .lg-body .rm-h{margin:6px 0 0;font:400 14px/1.5 var(--sans);color:var(--mute)}
.pg-opt-out .lg-body .rm-e{margin:6px 0 0;font:500 14px/1.5 var(--sans);color:#C0392B}
.pg-opt-out .rm-ts{min-height:65px;margin:4px 0 4px}
.pg-opt-out .rm-go{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:14px}
.pg-opt-out .rm-go .k-btn[disabled]{opacity:.55;cursor:default}
.pg-opt-out .lg-body .rm-msg{margin:0;font:500 14.5px/1.5 var(--sans);color:var(--ink2)}
.pg-opt-out .lg-body .rm-msg:empty{display:none}
.pg-opt-out .rm-panel h3{margin:0 0 8px}
.pg-opt-out .rm-panel:focus{outline:none}
.pg-opt-out .lg-body .rm-panel p:last-child{margin-bottom:0}
.pg-opt-out .lg-body .rm-other{margin:12px 0 0;font-size:15px;color:var(--mute)}
@media (max-width:760px){
  .pg-opt-out .rm-card{padding:18px 16px 16px}
}
