/* =====================================================================
   Mine — module skin (identity PR-A). Rides the GUI token layer
   (../assets/gui.css); this file only adds what the surface needs.
   ===================================================================== */

body { background: var(--paper); }

.mine-band {
  background: linear-gradient(165deg, var(--band), var(--band-2) 62%, #0e2a33);
  color: var(--band-ink);
  padding: clamp(1.6rem, 5vw, 2.75rem) 0;
}
.mine-greet {
  font-size: var(--fs-xl);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: 1.06;
  margin: .2rem 0 0;
  color: #fff;
  max-width: 22ch;
}
.mine-lede {
  margin: .8rem 0 0;
  max-width: 52ch;
  font-size: var(--fs-lg);
  color: var(--band-muted);
}

.flow {
  padding: clamp(1.75rem, 5vw, 2.5rem) 0 clamp(2rem, 6vw, 3rem);
}

/* citizenship line — why bother; kept to one idea per band */
.card-why {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.6rem;
  max-width: 54ch;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
}
.card-why strong { color: var(--ink); }

.stack { display: grid; gap: .85rem; max-width: 30rem; }

.btn-big {
  display: flex; align-items: center; gap: .85rem;
  width: 100%;
  min-height: calc(var(--tap-min) + 4px);
  padding: .95rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit; font-size: 1.1rem; font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, transform .12s ease;
}
.btn-big:hover { border-color: var(--accent); }
.btn-big:active { transform: scale(.995); }
.btn-big .b-ico {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: .95rem; color: #fff;
}

.btn-big .b-sub {
  display: block; font-weight: 400; font-size: .88rem; color: var(--muted);
}

/* the ONE accent: the primary sign-in */
.btn-accent {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.btn-accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-accent .b-sub { color: rgb(255 255 255 / .82); }

.btn-ghost2 { border-style: dashed; }

.disabled {
  opacity: .55; cursor: not-allowed;
}
.disabled:hover { border-color: var(--line); transform: none; }

/* honest not-wired notice */
.notice {
  margin-top: 1rem;
  font-size: .95rem; color: var(--muted);
  max-width: 46ch; line-height: 1.6;
}
.notice code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .86rem;
  background: #f2eee6;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .1rem .35rem;
  word-break: break-all;
}

/* ---------- signed-in card ---------- */

.self-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem 1.6rem;
  max-width: 30rem;
  background: #fff;
}
.self-avat {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--band); color: var(--band-ink);
  font-weight: 800; font-size: 1.3rem;
  letter-spacing: .02em;
}
.self-name { margin: .9rem 0 .15rem; font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
.self-mail { margin: 0; color: var(--muted); font-size: 1rem; word-break: break-all; }
.self-ver {
  margin: .9rem 0 0;
  border-top: 1px solid var(--line);
  padding-top: .9rem;
  font-size: .92rem; color: var(--muted); line-height: 1.6;
}
.self-homes { display: grid; gap: .4rem; margin-top: .7rem; }
.self-homes a {
  display: inline-block; font-weight: 700; color: var(--accent); font-size: .97rem;
}
.self-homes a:hover { text-decoration: underline; }
.self-homes small { display: block; color: var(--muted); font-weight: 400; }

.links-row {
  margin-top: 1.2rem;
  display: flex; gap: 1.4rem; flex-wrap: wrap;
  font-size: .97rem; font-weight: 700;
}
.links-row button {
  background: none; border: none; padding: 0; cursor: pointer;
  font: inherit; color: var(--muted);
}
.links-row button:hover { color: var(--ink); }
.links-row a { color: var(--accent); }

/* session ledger chip — honest about live / fading / expired */
.session-chip {
  margin: .6rem 0 0;
  font-size: .9rem; color: var(--muted);
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: .55rem 1rem;
  line-height: 1.5;
}
.chip-named {
  border-color: var(--accent);
  color: var(--ink);
}

/* org-discovery desk result — a proposal, never a lock */
.org-result {
  margin: .7rem 0 0;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .85rem 1rem;
  word-break: break-word;
}
.org-ok { border-color: rgb(58 138 110 / .5); }
.org-warn { border-color: rgb(178 110 40 / .5); }

/* keep the whole surface on one phone screen when we can */
.mine-fit { min-height: min(100dvh, 100vh); display: flex; flex-direction: column; }
.mine-fit .flow { flex: 1; }

.hidden { display: none !important; }

/* ---------- pen name (device-local) ---------- */

.pen-inner {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.1rem 1.3rem 1.3rem;
  margin-top: .6rem;
}
.pen-label {
  display: block;
  font-size: .95rem; font-weight: 700; color: var(--ink);
  margin-bottom: .55rem;
}
.pen-row { display: flex; gap: .6rem; align-items: stretch; }
.pen-input {
  flex: 1; min-width: 0;
  font: inherit; font-size: 1.1rem;
  padding: .7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff; color: var(--ink);
}
.pen-input:focus-visible { border-color: var(--accent); outline: 3px solid rgb(14 116 144 / .25); }
.pen-go { width: auto; min-height: 48px; padding: .6rem 1.2rem; }
.pen-note { margin: .7rem 0 0; font-size: .9rem; color: var(--muted); line-height: 1.55; }

.linklike {
  background: none; border: none; padding: 0; cursor: pointer;
  font: inherit; color: var(--accent); font-weight: 700;
}
.linklike:hover { text-decoration: underline; }