/* creators.u.cash host styles (app-chrome complement, v3 2026-09-21).
 * app-chrome.css (libs/3) carries the shell: palette, uxc-nav/wrap/hero/badge/lead/cta,
 * uc-button, theme via [data-theme]. This file adds the hub's own layout only. */
* { box-sizing: border-box; }
body { margin: 0; }
.hide { display: none; }
.mono { font-family: var(--font-mono, ui-monospace, monospace); }
.muted { color: var(--muted); }

/* header nav links + theme toggle */
.cr-nav { display: flex; gap: 22px; margin-left: 28px; flex: 1; }
.cr-nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.cr-nav a:hover { color: var(--gold, var(--uc-accent)); }
.cr-theme { background: none; border: 1px solid var(--line); color: var(--text); width: 34px; height: 34px; border-radius: var(--radius, 0); cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.cr-theme-ico { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-left-color: transparent; display: block; }
[data-theme="light"] .cr-theme-ico { border-left-color: currentColor; border-top-color: transparent; }
@media (max-width: 860px) { .cr-nav { display: none; } }
@media (max-width: 560px) {
  .uxc-appdot { display: none; }
  .uxc-brand .uxc-logo { height: 22px; }
  .uxc-user { max-width: 30vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cr-theme { width: 30px; height: 30px; }
}

/* main + sections */
.cr-main { padding-bottom: 40px; }
.sec { padding: 52px 0 8px; }
.sec-head { margin-bottom: 26px; }
.sec-head h2 { margin: 12px 0 0; font-size: 26px; }
.sec-head .uxc-lead { margin: 10px 0 0; max-width: 62ch; }
.sec-tk { padding-top: 36px; }

/* public rail cards */
.rail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rail-grid.grid-2 { grid-template-columns: repeat(2, 1fr); }
.rail-card { background: var(--panel); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.rail-card h3 { margin: 0 0 8px; font-size: 18px; }
.rail-card p { margin: 0 0 16px; color: var(--muted); line-height: 1.6; flex: 1; }
.rail-card .uc-button { align-self: flex-start; }
@media (max-width: 1024px) { .rail-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .rail-grid, .rail-grid.grid-2 { grid-template-columns: 1fr; } }

/* toolkit cards */
.tk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tk-card { background: var(--panel); border: 1px solid var(--line); padding: 20px; }
.tk-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.tk-top h3 { margin: 0; font-size: 17px; }
.tk-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; vertical-align: baseline; }
.tk-dot.on { background: #3fb68b; box-shadow: 0 0 6px rgba(63, 182, 139, .5); }
.tk-dot.off { background: var(--muted); }
.tk-state { color: var(--muted); font-size: 13px; white-space: nowrap; }
.tk-url { background: var(--bg-2); border: 1px solid var(--line); padding: 8px 10px; font-size: 12.5px; overflow-wrap: anywhere; margin: 4px 0 8px; color: var(--text); }
.tk-note { margin: 4px 0 12px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.tk-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 1024px) { .tk-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .tk-grid { grid-template-columns: 1fr; } }

/* footer */
.cr-foot { border-top: 1px solid var(--line); margin-top: 48px; padding: 36px 0 28px; }
.cr-foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 26px; }
.cr-foot-grid h4 { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cr-foot-grid a { display: block; margin: 0 0 8px; color: var(--text); text-decoration: none; font-size: 14px; }
.cr-foot-grid a:hover { color: var(--gold, var(--uc-accent)); }
.cr-foot-grid .muted { margin: 12px 0 0; max-width: 34ch; font-size: 13px; }
.cr-foot-legal { margin: 30px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
@media (max-width: 860px) { .cr-foot-grid { grid-template-columns: 1fr 1fr; } }
