/* imuimu cloud, face "Sky": the plain shell and the staff sign-in card v1.0, 6 Oct 2026 (cloud next A1).
   Reads only the tokens in sky/tokens.css and the kit's .field and .btn parts. Light ground, one white card. */

.plain-main { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 32px 16px; }
.plain-brand { display: inline-flex; align-items: center; max-width: 100%; }
.plain-logo { display: block; width: auto; max-width: 100%; height: 36px; }   /* logo B as supplied (cloud next L2) */

.si-card { width: 100%; max-width: 420px; min-width: 0; display: grid; gap: 16px; padding: 32px var(--pad); border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line); }
.si-card h1 { font: 600 var(--fs-h1)/1.25 var(--fd); letter-spacing: -.01em; color: var(--ink); }
.si-sub { color: var(--ink2); overflow-wrap: anywhere; }
.si-addr { font-weight: 500; color: var(--ink); }
.si-form { display: grid; gap: 16px; }
.si-form + .si-form { margin-top: -4px; }
.si-wide { width: 100%; }
.si-otp { font-family: var(--fm); font-weight: 500; letter-spacing: .2em; font-variant-numeric: tabular-nums; }
/* Six code boxes (house otp-boxes.js). The script reads the field's look once, so no transition may run while it reads,
   and the tokens below keep the boxes on the current theme when the theme button changes it. */
.field input.si-otp { transition: none; }
.si-card .otp-box { background: var(--surface) !important; color: var(--ink) !important; }
.si-card .otp-box:not(.is-active) { border-color: var(--ctl-edge) !important; box-shadow: none !important; }
.si-card .field.error .otp-box:not(.is-active) { border-color: var(--bad) !important; box-shadow: inset 0 0 0 1px var(--bad) !important; }
.si-card .otp-wrap:has(> input[aria-invalid="true"]) .otp-box:not(.is-active) { border-color: var(--bad) !important; box-shadow: inset 0 0 0 1px var(--bad) !important; }   /* the part-code message comes from controls.js, which marks the input only */
.si-card .otp-box.is-active { border-color: var(--accent) !important; box-shadow: inset 0 0 0 1px var(--accent) !important; }
@media (forced-colors: active) { .si-card .otp-box.is-active { outline: 2px solid Highlight; outline-offset: 1px; } }   /* forced colours drop the border colour and shadow: the current box still shows */
.si-small { font-size: var(--fs-small); color: var(--ink2); }
.si-small .link { white-space: nowrap; }

.si-note { padding: 12px 16px; border-radius: var(--r-card); font-size: var(--fs-small); color: var(--ink); background: var(--inset); }
.si-note b { display: block; margin-bottom: 2px; font-weight: 500; }
.si-note.warn { background: var(--warn-bg); } .si-note.warn b { color: var(--warn); }
.si-note.bad { background: var(--bad-bg); } .si-note.bad b { color: var(--bad); }
.si-note.good { background: var(--good-bg); } .si-note.good b { color: var(--good); }
.field.error input { border-color: var(--bad); }

/* a visible ring on every control the keyboard reaches (the kit draws fields with a border only) */
.si-card input:focus-visible, .si-card .btn:focus-visible, .si-card a:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }

@media (max-width: 599px) {
  .plain-main { justify-content: flex-start; padding-top: 40px; }
  .si-card { padding: 24px 20px; }
}
