/* ============ Domain Link, The Fee Desk, The Takeover Court, The Rug Report Kit (v1.9.0, Nov 26, 2026) ============ */
/* Boxes that are one link each: steps and rule tiles open what they name; buttons and links inside stay clickable */
.dl-steps li,.fd-pack-steps li,.ct-steps li,.rr-steps li,.fd-rule li,.ct-rules .rule-card li,.dl-who li{position:relative;transition:border-color .15s,box-shadow .15s}
.dl-steps li h3 a,.fd-pack-steps li h3 a,.ct-steps li h3 a,.rr-steps li h3 a,.fd-rule li b a,.ct-rules .rule-card li b a,.dl-who li b a{color:inherit;text-decoration:none}
.dl-steps li h3 a::after,.fd-pack-steps li h3 a::after,.ct-steps li h3 a::after,.rr-steps li h3 a::after,.fd-rule li b a::after,.ct-rules .rule-card li b a::after,.dl-who li b a::after{content:"";position:absolute;inset:0}
.dl-steps li:hover,.fd-pack-steps li:hover,.ct-steps li:hover,.rr-steps li:hover{border-color:var(--accent)}
.fd-rule li:hover,.ct-rules .rule-card li:hover,.dl-who li:hover{box-shadow:inset 0 0 0 1px var(--accent)}
.rr-steps li p a{position:relative;z-index:1}
/* Labels for who receives the fees: they wrap inside their box at every width */
.fd-lbl{display:inline-block;max-width:100%;font-family:var(--mono);font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:4px 9px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;text-align:center}
.fd-lbl.team{background:var(--accent);color:var(--black)}
.fd-lbl.exit{background:#f2c94c;color:var(--black)}
.fd-lbl.creator{background:var(--white);color:var(--black)}
.fd-lbl.other{box-shadow:inset 0 0 0 1px var(--line);color:var(--muted)}
/* Evidence cards: on record lit, not on record quiet; each is one link */
a.card.fd-ev{text-decoration:none;color:inherit;transition:border-color .15s,box-shadow .15s}
a.card.fd-ev:hover{border-color:var(--accent);box-shadow:0 0 24px rgba(138,216,236,.12)}
.card.fd-ev.on .tag{color:var(--accent)}
.card.fd-ev.off .tag{color:var(--muted)}
.card.fd-ev.off h3{color:var(--text)}
.fd-pack>:last-child:nth-child(3n+1){grid-column:1/-1}
.fd-pack>:nth-last-child(2):nth-child(3n+1){grid-column:span 1}
.fd-ca .ca-row,.ct-ca .ca-row{justify-content:center}
.fd-line a{color:var(--white)}
ol.fd-steps{margin:0;padding:0 0 0 1.4em;display:flex;flex-direction:column;gap:14px;color:var(--text);max-width:none}
ol.fd-steps li{padding-left:4px}
ol.fd-steps b{color:var(--white)}
/* The generator, the filing and the signed steps */
.dl-gen{display:flex;flex-direction:column;gap:18px;border:1px solid var(--line);background:var(--panel);padding:clamp(20px,2.6vw,32px)}
.section.alt .dl-gen{background:var(--black)}
.dl-gen h3{text-align:center}
.dl-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:16px}
.dl-gen label,.dl-revoke label{display:flex;flex-direction:column;gap:8px;font-family:var(--mono);font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);min-width:0}
.dl-gen input,.dl-gen select,.dl-gen textarea,.dl-revoke input{width:100%;min-width:0;background:var(--black);border:1px solid var(--line);color:var(--white);padding:12px 14px;font-size:1rem;font-family:var(--body);letter-spacing:0;text-transform:none}
.dl-gen input.mono,.dl-revoke input.mono{font-family:var(--mono);font-size:.92rem}
.dl-gen input:focus,.dl-gen select:focus,.dl-gen textarea:focus,.dl-revoke input:focus{outline:none;border-color:var(--accent)}
.ct-wide{width:100%}
.ct-pick{display:flex;flex-wrap:wrap;gap:12px 24px;justify-content:center}
.ct-pick label{flex-direction:row;align-items:center;gap:8px;font-size:.9rem;color:var(--white)}
.ct-pick input{width:auto}
.dl-revoke{border:1px solid var(--line);background:var(--panel);padding:16px clamp(16px,2.6vw,28px)}
.section.alt .dl-revoke{background:var(--black)}
.dl-revoke summary{cursor:pointer;font-family:var(--display);font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--white);text-align:center}
.dl-revoke[open]{display:flex;flex-direction:column;gap:14px}
.dl-revoke p{color:var(--text);text-align:center}
.dl-revoke form{display:flex;flex-direction:column;gap:14px}
/* A line to copy: one line, it shrinks to fit or scrolls by itself, never wraps */
.dl-code{display:flex;flex-direction:column;gap:10px;align-items:center;border:1px solid var(--line);border-left:4px solid var(--accent);background:var(--black);padding:16px;min-width:0;max-width:100%}
.dl-code .tag{font-family:var(--mono);font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);font-weight:700;text-align:center;overflow-wrap:anywhere}
.dl-code code{display:block;max-width:100%;overflow-x:auto;white-space:nowrap;font-size:.78rem;color:var(--white);padding-bottom:4px}
.dl-made{gap:14px}
.dl-pre{margin:0;padding:clamp(16px,2.4vw,24px);background:var(--black);border:1px solid var(--line);border-left:4px solid var(--accent);color:var(--white);font-size:.88rem;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.dl-row .gl-id span{white-space:normal}
.dk-row .gl-num b{white-space:normal;overflow-wrap:anywhere}
.dl-row .gl-lbls{justify-content:flex-start}
.dl-guards>:last-child:nth-child(odd),.dl-where>:last-child:nth-child(odd){grid-column:1/-1}
/* The Court: the two sides side by side, the ruling as a lit notice */
.ct-side h3 a{color:var(--white);text-decoration:none}
.ct-side h3 a:hover{color:var(--accent)}
.ct-side.empty{border-style:dashed}
.ct-side .go{color:var(--accent);text-decoration:none}
.ct-ruling{text-align:center;align-items:center}
.ct-ruling h3{color:var(--white)}
.ct-app{display:flex;flex-direction:column;gap:20px}
.ct-rules>:last-child:nth-child(odd){grid-column:1/-1}
/* The data tables of these pages: one look on a desk; the tables pass turns them into cards on a phone */
.fd-rec,.ct-ev,.ct-jury,.rr-tl,.rr-fl,.dl-api,.dl-spec,.dl-states{width:100%;border-collapse:collapse;font-size:.95rem}
.fd-rec th,.fd-rec td,.ct-ev th,.ct-ev td,.ct-jury th,.ct-jury td,.rr-tl th,.rr-tl td,.rr-fl th,.rr-fl td,.dl-api th,.dl-api td,.dl-spec th,.dl-spec td,.dl-states th,.dl-states td{padding:13px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-weight:400;color:var(--text)}
.fd-rec thead th,.ct-ev thead th,.ct-jury thead th,.rr-tl thead th,.rr-fl thead th,.dl-api thead th,.dl-spec thead th,.dl-states thead th{font-family:var(--mono);font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);font-weight:700}
.fd-rec tbody th,.ct-ev tbody th,.ct-jury tbody th,.rr-tl tbody th,.rr-fl tbody th,.dl-api tbody th,.dl-spec tbody th,.dl-states tbody th{color:var(--white);font-weight:600}
.dl-api caption,.dl-spec caption,.dl-states caption{caption-side:top;text-align:center;font-family:var(--mono);font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding-bottom:12px}
.fd-rec a.mono,.rr-tl a.mono,.rr-fl a.mono,.ct-jury a,.facts a.mono,.dl-api th.mono,.dl-spec th.mono{white-space:nowrap}
.fd-rec .fd-lbl{text-align:left}
/* Cards that are one link each: the main link is stretched over the card, the others stay clickable */
.ct-side,.rr-ex,.rr-lists>.card{position:relative;transition:border-color .15s}
.ct-side h3 a::after,.ct-side.empty .go::after,.rr-ex .go::after,.rr-lists>.card h3 a::after{content:"";position:absolute;inset:0}
.ct-side:hover,.rr-ex:hover,.rr-lists>.card:hover{border-color:var(--accent)}
.ct-side p a,.rr-list a{position:relative;z-index:1}
.rr-lists>.card h3 a{color:inherit;text-decoration:none}
/* The record of the kit: wallets and transactions on one line each, then print */
.rr-lists>.card{min-width:0}
.rr-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;min-width:0;width:100%;align-self:stretch}
.rr-list li>*{min-width:0}
.rr-list li{display:flex;flex-direction:column;align-items:stretch;gap:2px;min-width:0;width:100%}
.rr-list a{font-size:.8rem;white-space:nowrap;overflow-x:auto;display:block;max-width:100%;color:var(--white)}
.rr-role{font-family:var(--mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.rr-ex .go{color:var(--accent);text-decoration:none}
.rr-ex .go:hover{text-decoration:underline}
@media (max-width:760px){
  .fd-pack>:last-child:nth-child(3n+1){grid-column:auto}
  .grid.rr-lists,.grid.ct-sides,.grid.dl-guards,.grid.dl-where{grid-template-columns:minmax(0,1fr)}
}
@media print{
  .site-header,.ft,footer,.rr-noprint,.hero-bg,.si-pn-menu,.skip-link{display:none!important}
  body,.section,.section.alt,.page-hero,.card{background:#fff!important;color:#000!important}
  .rr-print *{color:#000!important;border-color:#999!important;box-shadow:none!important}
  .rr-print a{text-decoration:underline}
  .rr-print .card{clip-path:none!important}
  .rr-print .rr-list a,.rr-print .mono{white-space:normal!important;overflow-wrap:anywhere}
  .rr-print .section{padding:12px 0!important}
}
