/* Authentication door and signed-in planet status. */
  /* The door: Face ID is first. A password sits beneath it, plainly,
     as the bridge onto a new device. One card on the grouped gray. */
  .door {
    min-height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 2rem 1.25rem 7rem;
  }
  .doorcard {
    width: min(22rem, 100%);
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.6rem 1.3rem 1.4rem;
  }
  .doortitle { font-size: 1.375rem; font-weight: 700; margin: 0 0 0.4rem; letter-spacing: -0.02em; }
  .doorsub { color: var(--ink2); font-size: 0.9375rem; margin: 0 0 1.2rem; line-height: 1.45; }
  .doorbtn {
    width: 100%; height: 44px;
    border-radius: 12px;
    background: var(--tint); color: #fff;
    font-weight: 600;
    display: flex; align-items: center; justify-content: center;
  }
  .doorbtn:active { opacity: 0.85; }
  .doorbtn[disabled] { opacity: 0.55; }
  .doorinput {
    width: 100%; height: 44px;
    border-radius: 10px;
    border: 0.5px solid var(--line);
    background: var(--fill);
    padding: 0 0.85rem;
    font: inherit; color: inherit;
    margin-bottom: 0.75rem;
  }
  .doornote { color: #C0392B; font-size: 0.875rem; font-style: italic; margin: 0.8rem 0 0; }
  .doorlink {
    display: block; text-align: center;
    margin-top: 1rem;
    color: var(--tint); font-size: 0.9375rem;
    background: none; width: 100%;
  }
  .dooror {
    text-align: center;
    color: var(--ink2);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 1.1rem 0 0.85rem;
  }
  .doorpw { margin: 0; }
  .sheetcreds { margin: 1rem 1.1rem 0; }
  .sheetcreds-head {
    color: var(--ink2);
    font-size: 0.8125rem;
    margin: 0 0 0.45rem;
  }
  .sheetmem { margin: 1rem 1.1rem 0; }
  .sheetmem .dropadd { margin-top: 0.45rem; }
  .credrow {
    font-size: 0.875rem;
    padding: 0.35rem 0;
    border-top: 0.5px solid var(--line);
  }
  .credrow:first-of-type { border-top: none; }
  .sheetpw { margin: 0.6rem 0 0; }
  .sheetpw .doorinput { margin-bottom: 0.5rem; }
  .sheetadmin { margin: 1rem 1.1rem 0 1.1rem; }
  .adminseat {
    padding: 0.55rem 0;
    border-top: 0.5px solid var(--line);
  }
  .adminseat:first-of-type { border-top: none; }
  .adminseat-name { font-weight: 600; font-size: 0.875rem; }
  .adminseat-meta { color: var(--ink2); font-size: 0.75rem; margin: 0.15rem 0 0.4rem; }
  .adminseat-row { display: flex; gap: 0.4rem; align-items: center; }
  .adminseat-row .doorinput { margin: 0; flex: 1; height: 36px; }
  .sheetmini {
    height: 36px; padding: 0 0.7rem; width: auto;
    font-size: 0.8125rem; flex: 0 0 auto;
  }
  .seatlist { margin: 0 0 0.75rem; }
  .seatbtn {
    width: 100%; min-height: 52px;
    border-radius: 12px;
    border: 0.5px solid var(--line);
    background: var(--fill);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    margin-bottom: 0.5rem;
    text-align: left;
  }
  .seatbtn:active { opacity: 0.85; }
  .seatbtn[disabled] { opacity: 0.55; }
  .seatbtn[aria-current="true"] { border-color: var(--tint); }
  .seatbtn-face {
    width: 36px; height: 36px; flex: 0 0 auto;
    border-radius: 50%;
    background: var(--tint); color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 0.95rem;
  }
  .seatbtn[aria-current="true"] .seatbtn-face { background: var(--ink2); }
  .seatbtn-copy { display: flex; flex-direction: column; min-width: 0; }
  .seatbtn-name { font-weight: 600; font-size: 0.9975rem; }
  .seatbtn-role { color: var(--ink2); font-size: 0.8125rem; margin-top: 0.1rem; }
  /* The planet line: one honest sentence under the name. */
  .planetline {
    margin: 0.5rem 1.1rem 0; padding: 0.55rem 0.7rem;
    font-size: 0.8125rem; line-height: 1.4; color: var(--ink2);
    background: var(--fill); border-radius: 9px;
  }
  .backendline {
    margin: 0.35rem 1.1rem 0; min-height: 1.2rem;
    color: var(--ink2); font-size: 0.75rem; line-height: 1.35;
  }
  .backendline[data-state="healthy"] { color: #248A3D; }
  .backendline[data-state="degraded"],
  .backendline[data-state="unreachable"] { color: #C2410C; }
  .sheetseats { margin: 1rem 1.1rem 0; }
  .sheetseats-head {
    color: var(--ink2);
    font-size: 0.8125rem;
    margin: 0 0 0.5rem;
  }
  .sheetseats .seatbtn { margin-bottom: 0.45rem; }
  body.dark .doorcard { background: var(--card); }
  .sheetout { margin: 1rem 1.1rem 0; }

