
:root{
  --accent:#f9739a;
  --accent-2:#ff9cbc;
  --ink:#ffffff;
  --muted:rgba(255,255,255,.72);
  --soft:rgba(255,255,255,.52);
  --dim:rgba(255,255,255,.34);
  --bg:#000000;
  --panel:rgba(5,5,8,.58);
  --panel-2:rgba(14,10,16,.76);
  --line:rgba(249,115,154,.32);
  --line-strong:rgba(249,115,154,.66);
  --green:#66f0b3;
  --blue:#7dd3fc;
  --amber:#ffd166;
  --shadow:0 30px 90px rgba(0,0,0,.42), 0 0 44px rgba(249,115,154,.08);
}
*{box-sizing:border-box;margin:0;padding:0}
html{min-height:100%;background:#000;scroll-behavior:smooth}
body{min-height:100vh;min-height:100dvh;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:linear-gradient(to bottom,rgba(80,16,40,1) 0%,rgba(55,12,32,1) 18%,rgba(32,8,24,1) 35%,rgba(16,5,16,1) 55%,rgba(5,2,8,1) 72%,rgba(0,0,0,1) 100%);background-attachment:fixed;line-height:1.65;overflow-x:hidden;display:flex;flex-direction:column;position:relative}
body::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background:radial-gradient(circle at 50% 18%,rgba(249,115,154,.13),transparent 36%),radial-gradient(circle at 18% 12%,rgba(249,115,154,.075),transparent 28%);opacity:.9}
body::after{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background:linear-gradient(rgba(255,255,255,.016) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.012) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.48),transparent 82%)}
a{color:inherit}.header,.page,.footer{position:relative;z-index:1}.header{position:fixed;top:0;left:0;right:0;height:56px;background:#000;border-bottom:2px solid var(--accent);display:flex;align-items:center;justify-content:space-between;padding:0 .85rem 0 1rem;z-index:50}.brand-link{color:#fff;text-decoration:none;font-weight:900;letter-spacing:.16em;font-size:.86rem;text-transform:uppercase;text-shadow:0 0 16px rgba(249,115,154,.26)}.header-actions{display:flex;align-items:center;gap:.75rem}.header-cta{display:inline-flex;align-items:center;justify-content:center;height:34px;padding:0 1rem;border:1px solid var(--accent);border-radius:999px;color:#fff;text-decoration:none;font-size:.78rem;font-weight:800;letter-spacing:.04em;background:rgba(249,115,154,.12)}.header-cta:hover{background:rgba(249,115,154,.22)}.header-dashboard{background:rgba(0,0,0,.35);color:rgba(255,255,255,.92)}.header-dashboard:hover{background:rgba(249,115,154,.14);color:#fff}.menu-wrap{position:relative;width:44px;height:56px;display:flex;align-items:center;justify-content:flex-end}.menu-button{width:38px;height:38px;border-radius:999px;border:1px solid var(--accent);background:rgba(0,0,0,.72);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;position:relative;z-index:2}.menu-button span{width:17px;height:2px;border-radius:999px;background:#fff;display:block}.dropdown{position:absolute;top:56px;right:0;min-width:270px;border:1px solid var(--accent);border-top:none;border-radius:0 0 18px 18px;background:rgba(0,0,0,.96);box-shadow:0 14px 22px rgba(249,115,154,.22),0 28px 48px rgba(249,115,154,.10);padding:.65rem;display:none}.menu-wrap:hover .dropdown,.menu-wrap:focus-within .dropdown{display:block}.dropdown-label{padding:.45rem .85rem .25rem;color:rgba(255,255,255,.48);font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.14em}.dropdown a{display:block;padding:.68rem .85rem;border-radius:12px;color:#fff;text-decoration:none;font-size:.88rem;letter-spacing:.04em}.dropdown a:hover{background:rgba(249,115,154,.16)}.dropdown-divider{height:1px;background:rgba(249,115,154,.24);margin:.45rem .35rem}
.page{width:min(1160px,calc(100% - 2.4rem));margin:0 auto;padding:116px 0 76px;flex:1 0 auto;min-height:calc(100vh - 76px);min-height:calc(100svh - 76px);min-height:calc(100dvh - 76px)}.hero{max-width:980px;margin:0 auto 2rem;text-align:center}.eyebrow{display:inline-flex;align-items:center;gap:.45rem;border:1px solid rgba(249,115,154,.48);border-radius:999px;padding:.32rem .78rem;color:rgba(255,255,255,.78);font-size:.72rem;letter-spacing:.13em;text-transform:uppercase;background:rgba(0,0,0,.28);margin-bottom:1.15rem}.eyebrow::before{content:"";width:.44rem;height:.44rem;border-radius:50%;background:var(--accent);box-shadow:0 0 16px rgba(249,115,154,.58)}.hero h1{font-size:clamp(2.15rem,5.6vw,5.15rem);line-height:.98;letter-spacing:-.07em;text-wrap:balance;text-shadow:0 0 34px rgba(249,115,154,.14)}.hero p{max-width:740px;margin:1.05rem auto 0;color:var(--muted);font-size:clamp(.98rem,1.45vw,1.15rem)}.hero-actions{margin-top:1.55rem;display:flex;gap:.85rem;justify-content:center;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:.82rem 1.22rem;border:1px solid var(--accent);text-decoration:none;font-weight:900;font-size:.9rem;letter-spacing:.045em;transition:transform .15s ease,background .15s ease}.button.primary{background:var(--accent);color:#080205;box-shadow:0 0 26px rgba(249,115,154,.22)}.button.secondary{background:rgba(0,0,0,.28);color:#fff}.button.ghost{border-color:rgba(255,255,255,.18);color:var(--muted);background:rgba(0,0,0,.18)}.button:hover{transform:translateY(-1px)}
.lobby-card{border:1px solid var(--line);border-radius:32px;background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(0,0,0,.32));box-shadow:var(--shadow);padding:clamp(1rem,2vw,1.45rem);position:relative;overflow:hidden}.lobby-card::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(135deg,rgba(249,115,154,.12),transparent 28%,transparent 70%,rgba(125,211,252,.05))}.split{display:grid;grid-template-columns:1.04fr .96fr;gap:1rem;align-items:stretch}.quiet-panel{position:relative;border:1px solid rgba(255,255,255,.12);border-radius:26px;background:rgba(0,0,0,.38);padding:1.2rem;overflow:hidden}.quiet-panel h2,.quiet-panel h3{line-height:1.12;letter-spacing:-.025em}.quiet-panel h2{font-size:clamp(1.45rem,2.6vw,2.45rem)}.quiet-panel h3{font-size:1.02rem}.quiet-panel p{color:var(--muted);margin-top:.55rem}.mini-label{display:inline-flex;align-items:center;gap:.4rem;color:var(--soft);font-size:.7rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.mini-label::before{content:"";width:.35rem;height:.35rem;border-radius:50%;background:var(--accent)}
.route-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem;margin-top:1.1rem}.route-step{min-height:128px;border:1px solid var(--line);border-radius:24px;background:rgba(0,0,0,.34);padding:1rem;position:relative;overflow:hidden}.route-step::after{content:attr(data-step);position:absolute;right:.85rem;top:.55rem;color:rgba(255,255,255,.09);font-size:3rem;font-weight:1000;line-height:1}.route-step h3{font-size:1rem;margin-top:.25rem}.route-step p{font-size:.9rem;color:var(--muted);margin-top:.42rem}.signal{display:flex;align-items:center;gap:.48rem;color:var(--muted);font-size:.9rem}.signal-dot{width:.58rem;height:.58rem;border-radius:50%;background:var(--green);box-shadow:0 0 14px rgba(102,240,179,.36)}.signal-dot.pink{background:var(--accent);box-shadow:0 0 14px rgba(249,115,154,.38)}.signal-dot.blue{background:var(--blue);box-shadow:0 0 14px rgba(125,211,252,.30)}.signal-dot.amber{background:var(--amber);box-shadow:0 0 14px rgba(255,209,102,.28)}.small-stack{display:grid;gap:.72rem}.soft-row{display:flex;gap:.65rem;align-items:flex-start;border:1px solid rgba(255,255,255,.11);background:rgba(0,0,0,.25);border-radius:18px;padding:.85rem}.soft-row strong{display:block;line-height:1.2}.soft-row span{display:block;color:var(--muted);font-size:.9rem;margin-top:.2rem}.icon-pill{width:2.15rem;height:2.15rem;flex:0 0 2.15rem;border-radius:999px;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;background:rgba(249,115,154,.1);font-weight:1000;color:#fff}.section{margin-top:1.35rem}.section-title{margin:2.5rem 0 1rem;text-align:center}.section-title h2{font-size:clamp(1.55rem,3.1vw,2.5rem);letter-spacing:-.04em;line-height:1.05}.section-title p{max-width:720px;margin:.52rem auto 0;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card{border:1px solid var(--line);border-radius:26px;background:rgba(0,0,0,.38);box-shadow:var(--shadow);padding:1.2rem}.card h2,.card h3{line-height:1.15;margin-bottom:.55rem}.card h2{font-size:1.45rem}.card h3{font-size:1.03rem}.card p{color:var(--muted);font-size:.95rem}.card ul,.card ol{margin:.75rem 0 0 1.1rem;color:var(--muted)}.card li{margin:.36rem 0}.note-card{border:1px solid rgba(255,255,255,.14);background:rgba(0,0,0,.34);border-radius:24px;padding:1rem 1.1rem;color:var(--muted);margin-top:1rem}.notice{border:1px solid rgba(255,255,255,.14);background:rgba(0,0,0,.34);border-radius:22px;padding:1rem 1.1rem;color:var(--muted);margin-top:1rem}.price-box{text-align:center;max-width:720px;margin:1rem auto 0}.price-number{font-size:clamp(4rem,11vw,8rem);line-height:.9;letter-spacing:-.08em;font-weight:1000;text-shadow:0 0 32px rgba(249,115,154,.18)}.price-number small{font-size:.28em;letter-spacing:-.02em;color:var(--accent)}.fine{font-size:.85rem;color:var(--soft);margin-top:.6rem}.owner-board{display:grid;grid-template-columns:repeat(6,1fr);gap:.75rem}.owner-cell{border:1px solid var(--line);background:rgba(0,0,0,.34);border-radius:20px;padding:1rem;min-height:112px}.owner-cell h3{font-size:.95rem}.owner-cell p{color:var(--muted);font-size:.86rem;margin-top:.3rem}.owner-cell.wide{grid-column:span 2}.owner-cell.big{grid-column:span 3}.buyer-receipt{border:1px solid var(--line);border-radius:28px;background:rgba(255,255,255,.96);color:#111;box-shadow:var(--shadow);padding:1.1rem;transform:rotate(-1deg)}.buyer-receipt h3{font-size:1.15rem;color:#000}.receipt-line{display:flex;justify-content:space-between;gap:1rem;border-top:1px dashed rgba(0,0,0,.18);padding:.62rem 0;color:#222;font-size:.92rem}.receipt-line:first-of-type{margin-top:.8rem}.receipt-line strong{color:#000}.receipt-safe{margin-top:.8rem;border-radius:18px;background:#f2f2f4;color:#111;padding:.75rem;font-size:.9rem}.terminal{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;border:1px solid rgba(255,255,255,.12);border-radius:24px;background:#050507;padding:1rem;color:rgba(255,255,255,.82);box-shadow:var(--shadow)}.terminal-line{display:flex;gap:.7rem;padding:.26rem 0}.terminal .prompt{color:var(--accent)}.terminal .ok{color:var(--green)}.terminal .muted{color:rgba(255,255,255,.48)}
.document-shell{max-width:960px;margin:0 auto;border:1px solid var(--line);border-radius:30px;background:rgba(0,0,0,.52);box-shadow:var(--shadow);padding:clamp(1.2rem,3vw,2.25rem)}.document-shell h1{font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.05em;line-height:1.05;margin-bottom:.6rem}.document-shell h2{font-size:1.35rem;line-height:1.2;margin-top:2rem;margin-bottom:.6rem;color:#fff}.document-shell h3{font-size:1.02rem;margin-top:1.25rem;margin-bottom:.4rem}.document-shell p,.document-shell li{color:rgba(255,255,255,.75);font-size:.95rem}.document-shell p{margin:.55rem 0}.document-shell ol,.document-shell ul{margin:.65rem 0 .65rem 1.35rem}.legal-list{display:grid;gap:1rem;max-width:850px;margin:1.2rem auto 0}.legal-link-card{display:block;text-decoration:none;border:1px solid var(--line);border-radius:24px;background:rgba(0,0,0,.42);padding:1.2rem;box-shadow:none}.legal-link-card:hover{border-color:var(--line-strong);background:rgba(249,115,154,.08)}.legal-link-card h2{font-size:1.15rem;margin-bottom:.35rem}.legal-link-card p{color:var(--muted)}
.command-search{width:100%;margin:1rem 0 1.3rem;padding:.95rem 1rem;border:1px solid var(--line);border-radius:18px;background:rgba(0,0,0,.45);color:#fff;font:inherit;outline:none}.command-search:focus{border-color:var(--line-strong)}.command-table{display:grid;gap:.75rem}.command-item{border:1px solid rgba(255,255,255,.11);border-radius:18px;background:rgba(0,0,0,.30);padding:1rem}.command-item code{color:#fff;font-weight:900}.command-item p{color:var(--muted);font-size:.9rem;margin-top:.35rem}.footer{border-top:1px solid rgba(249,115,154,.45);background:#000;padding:1.35rem 1.5rem calc(1.35rem + env(safe-area-inset-bottom,0px));margin-top:auto}.footer-inner{max-width:1180px;margin:0 auto;display:flex;justify-content:space-between;gap:1.5rem;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:.9rem}.footer-links{display:flex;flex-wrap:wrap;gap:1rem}.footer-links a{color:var(--muted);text-decoration:none}.footer-links a:hover{color:#fff}.redirect-note{max-width:620px;margin:22vh auto;text-align:center}.redirect-note a{color:#fff}

/* Compact one-screen utility pages */
.page.compact-page{
  min-height:calc(100vh - 76px);
  min-height:calc(100svh - 76px);
  min-height:calc(100dvh - 76px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-top:86px;
  padding-bottom:56px;
}
.page.compact-page .hero{
  margin-bottom:1.55rem;
}
.page.compact-page .legal-list{
  margin-top:0;
}
@media(max-width:620px){
  .page.compact-page{
    justify-content:flex-start;
    padding-top:96px;
    padding-bottom:44px;
  }
}

@media(max-width:900px){.split{grid-template-columns:1fr}.route-strip{grid-template-columns:1fr 1fr}.owner-board{grid-template-columns:1fr 1fr}.owner-cell,.owner-cell.wide,.owner-cell.big{grid-column:auto}.grid,.grid.two{grid-template-columns:1fr}.buyer-receipt{transform:none}.page{width:min(100% - 1.7rem,1160px)}}@media(max-width:620px){.header-cta{display:none}.page{padding-top:96px}.hero h1{font-size:clamp(2rem,12vw,3.2rem)}.hero p{font-size:.96rem}.route-strip{grid-template-columns:1fr}.owner-board{grid-template-columns:1fr}.footer-inner{flex-direction:column;text-align:center}.footer-links{justify-content:center}.dropdown{right:-.1rem;min-width:min(280px,calc(100vw - 1rem))}.lobby-card,.quiet-panel,.card{border-radius:22px}.price-number{font-size:4.5rem}}


/* Simple legal hub heading override */
.legal-hero-simple {
  padding-bottom: 1.2rem;
}

.legal-hero-simple h1 {
  margin-bottom: 0;
}

/* Legal hub keeps the same DiscPay pink fade as the rest of the public site. */
body.legal-hub-page .page.compact-page {
  justify-content: center;
  padding-top: 86px;
  padding-bottom: 58px;
}

body.legal-hub-page .hero h1 {
  text-shadow: 0 0 34px rgba(249,115,154,.22);
}

body.legal-hub-page .legal-link-card {
  background: rgba(0,0,0,.46);
  box-shadow: 0 30px 90px rgba(0,0,0,.36), 0 0 42px rgba(249,115,154,.10);
}

@media(max-width:620px){
  body{background-attachment:scroll}
  body.legal-hub-page .page.compact-page {
    justify-content: flex-start;
    padding-top: 98px;
  }
}


/* DiscPay how-it-works tabbed flow panel. */

.how-tabs-page {
  width: min(100% - 2rem, 980px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 92px;
  padding-bottom: 84px;
}

.flow-shell {
  width: 100%;
  text-align: center;
}

.flow-intro h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: .94;
  letter-spacing: -.06em;
  text-shadow: 0 0 32px rgba(249, 115, 154, .16);
}

.flow-intro p {
  max-width: 760px;
  margin: 1rem auto 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(.98rem, 1.2vw, 1.1rem);
  line-height: 1.75;
}

.flow-panel {
  margin: 2rem auto 0;
  width: min(100%, 900px);
  border: 1px solid rgba(249, 115, 154, .42);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.48));
  padding: 1.05rem;
}

.flow-tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .15rem .15rem 1rem;
  border-bottom: 1px solid rgba(249, 115, 154, .22);
}

.flow-tab {
  appearance: none;
  border: 1px solid rgba(249, 115, 154, .48);
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.78);
  min-width: 0;
  flex: 1 1 0;
  padding: .58rem .72rem;
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .055em;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.flow-tab:hover {
  color: #fff;
  border-color: rgba(249, 115, 154, .82);
  transform: translateY(-1px);
}

.flow-tab.is-active {
  color: #fff;
  border-color: rgba(249, 115, 154, .95);
  background: rgba(249, 115, 154, .15);
}

.flow-content {
  text-align: left;
  padding: 1.15rem .3rem .3rem;
}

.flow-tab-panel {
  display: none;
}

.flow-tab-panel.is-active {
  display: block;
}

.flow-tab-panel h2 {
  margin: .15rem 0 .75rem;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  letter-spacing: -.035em;
}

.flow-step {
  display: grid;
  grid-template-columns: minmax(150px, .55fr) 1fr;
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.10);
}

.flow-step:first-of-type {
  border-top-color: rgba(249, 115, 154, .24);
}

.flow-step strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.45;
}

.flow-step span {
  color: rgba(255,255,255,.74);
  line-height: 1.65;
}

.flow-step code {
  color: #fff;
  font: inherit;
  font-weight: 900;
}


.flow-mini-copy {
  max-width: 760px;
  margin: .25rem auto .35rem;
  color: rgba(255,255,255,.80);
  font-size: clamp(1rem, 1.55vw, 1.16rem);
  line-height: 1.85;
  text-align: center;
}

.flow-mini-copy code {
  color: #fff;
  font: inherit;
  font-weight: 900;
}

.flow-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

.quiet-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(249, 115, 154, .86);
  border-radius: 999px;
  background: rgba(0, 0, 0, .58);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .045em;
  line-height: 1;
  box-shadow:
    0 0 18px rgba(249, 115, 154, .18),
    inset 0 0 0 1px rgba(255,255,255,.025);
  transition: background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.quiet-add-button:hover {
  background: rgba(249, 115, 154, .13);
  border-color: rgba(249, 115, 154, 1);
  transform: translateY(-1px);
  box-shadow:
    0 0 22px rgba(249, 115, 154, .24),
    inset 0 0 0 1px rgba(255,255,255,.035);
}

.flow-add-button {
  padding: .62rem 1.18rem;
  font-size: .78rem;
}

@media(max-width: 720px) {
  .how-tabs-page {
    align-items: flex-start;
    padding-top: 104px;
  }

  .flow-panel {
    border-radius: 28px;
    padding: .85rem;
  }

  .flow-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: .55rem;
    padding-bottom: .9rem;
    scrollbar-width: none;
  }

  .flow-tabs::-webkit-scrollbar {
    display: none;
  }

  .flow-tab {
    flex: 0 0 auto;
    min-width: max-content;
  }

  .flow-step {
    grid-template-columns: 1fr;
    gap: .35rem;
    padding: .9rem 0;
  }
}


/* Pricing page uses the shared DiscPay pill-panel layout. */
.pricing-tabs-page .flow-intro p { max-width: 820px; }

/* Support page uses the shared DiscPay pill-panel layout. */
.support-tabs-page .flow-intro p { max-width: 820px; }
.support-tabs-page .flow-intro strong { color: #fff; font-weight: 900; }


/* ---------------- COMMANDS TABLE PAGE ---------------- */
.commands-page {
  width: 90vw;
  max-width: none;
}

.commands-shell {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.commands-head {
  text-align: left;
  width: 100%;
  margin: 0 0 1.15rem;
}

.commands-head h1 {
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin-bottom: 0.65rem;
}

.commands-head p {
  color: rgba(255,255,255,0.74);
  font-size: clamp(0.96rem, 1.15vw, 1.08rem);
  line-height: 1.55;
  max-width: 760px;
}

.commands-panel {
  width: 100%;
  border: 1px solid rgba(249, 115, 154, 0.56);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.64);
  overflow: hidden;
}

.commands-search-row {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(249, 115, 154, 0.30);
  background: rgba(0,0,0,0.30);
}

.command-search-v2 {
  width: 100%;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 154, 0.58);
  background: rgba(0,0,0,0.48);
  color: #fff;
  padding: 0 1rem;
  outline: none;
  font: inherit;
}

.command-search-v2::placeholder { color: rgba(255,255,255,0.46); }
.command-search-v2:focus { border-color: rgba(249, 115, 154, 0.95); }

.commands-count {
  justify-self: end;
  color: rgba(255,255,255,0.62);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.commands-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.commands-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1040px;
}

.commands-table th,
.commands-table td {
  text-align: left;
  padding: 0.92rem 1rem;
  border-bottom: 1px solid rgba(249, 115, 154, 0.16);
  vertical-align: middle;
}

.commands-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: rgba(255,255,255,0.70);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 900;
  background: rgba(10, 0, 8, 0.98);
}

.commands-table td {
  color: rgba(255,255,255,0.80);
  font-size: 0.93rem;
  line-height: 1.5;
}

.commands-table tbody tr {
  transition: background 120ms ease, color 120ms ease;
}

.commands-table tbody tr:hover {
  background: rgba(249, 115, 154, 0.075);
}

.commands-table tr:last-child td { border-bottom: none; }
.commands-table tr[hidden] { display: none; }

.commands-table th:nth-child(1),
.commands-table td:nth-child(1) { width: 13%; }

.commands-table th:nth-child(2),
.commands-table td:nth-child(2) { width: 25%; }

.commands-table th:nth-child(3),
.commands-table td:nth-child(3) { width: 48%; }

.commands-table th:nth-child(4),
.commands-table td:nth-child(4) { width: 14%; }

.command-code {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(249, 115, 154, 0.48);
  border-radius: 999px;
  padding: 0.28rem 0.58rem;
  background: rgba(0,0,0,0.36);
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.command-example {
  color: rgba(255,255,255,0.86);
  font-weight: 760;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
}

.command-type-pill {
  display: inline-flex;
  border: 1px solid rgba(249, 115, 154, 0.42);
  border-radius: 999px;
  padding: 0.24rem 0.52rem;
  color: rgba(255,255,255,0.80);
  background: rgba(0,0,0,0.25);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.no-command-results {
  display: none;
  text-align: center;
  color: rgba(255,255,255,0.62);
  padding: 2rem 1rem;
}

@media (max-width: 900px) {
  .commands-shell { width: calc(100vw - 1.5rem); }
  .commands-search-row { grid-template-columns: 1fr; }
  .commands-count { justify-self: start; }
}

@media (max-width: 760px) {
  .commands-panel { border-radius: 20px; }
  .commands-search-row { padding: 0.85rem; }
  .commands-table { min-width: 860px; }
  .commands-table th, .commands-table td { padding: 0.78rem 0.75rem; }
}

/* Commands page viewport-fit patch: dashboard panel stays inside screen. */
.page.commands-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 5vw;
  padding-right: 5vw;
  overflow-x: hidden;
}

.commands-shell {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.commands-panel {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.commands-search-row {
  grid-template-columns: minmax(220px, 460px) 1fr auto;
}

.commands-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.commands-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.commands-table th,
.commands-table td {
  overflow-wrap: anywhere;
  word-break: normal;
}

.commands-table th:nth-child(1),
.commands-table td:nth-child(1) { width: 13%; }

.commands-table th:nth-child(2),
.commands-table td:nth-child(2) { width: 24%; }

.commands-table th:nth-child(3),
.commands-table td:nth-child(3) { width: 50%; }

.commands-table th:nth-child(4),
.commands-table td:nth-child(4) { width: 13%; }

.command-example {
  white-space: normal;
  overflow-wrap: anywhere;
}

.command-code,
.command-type-pill {
  max-width: 100%;
}

@media (max-width: 900px) {
  .page.commands-page {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .commands-search-row {
    grid-template-columns: 1fr;
  }

  .commands-count {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .commands-table th,
  .commands-table td {
    padding: 0.72rem 0.55rem;
    font-size: 0.82rem;
  }

  .command-code,
  .command-type-pill {
    padding-left: 0.42rem;
    padding-right: 0.42rem;
    font-size: 0.68rem;
  }
}
