/* Sign-in sheets (src/signin.js, public/signin/*.js). Sits on top of /labels/labels.css. */
.clip { width: 64px; height: 80px; margin: 0 auto 12px; position: relative; background: #fff; border-radius: 6px; box-shadow: 0 2px 0 rgba(0,0,0,.08), 0 0 0 1px var(--line); }
.clip i { position: absolute; left: 20px; top: -6px; width: 24px; height: 12px; border-radius: 4px; background: var(--navy); }
.clip b { position: absolute; left: 10px; right: 10px; height: 2.5px; border-radius: 2px; background: #c9ced6; }
.clip b:nth-of-type(1) { top: 26px; } .clip b:nth-of-type(2) { top: 40px; } .clip b:nth-of-type(3) { top: 54px; right: 22px; background: var(--red); }
.si-ed input:not([type]), .si-ed input[type=date], .si-ed textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; border: 2px solid #e5e7eb; border-radius: 9px; font-size: 15px; font-family: inherit; background: #fff; color: #111; }
.si-ed textarea { font: 14.5px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; resize: vertical; background: #fdfdfb; }
.si-ed input:focus, .si-ed textarea:focus { outline: none; border-color: var(--navy); }
.opt-full .muted { font-weight: 500; font-size: 12.5px; }
#si-fields, #si-cols { margin: 6px 0 8px; }
.si-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) 30px; gap: 6px; align-items: center; margin-bottom: 6px; }
.si-row input.lab, .si-row input.val { margin-top: 0 !important; padding: 7px 9px !important; font-size: 14.5px !important; }
.si-row input.lab { font-weight: 650; }
.si-row.col { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto 30px; }
.si-row .w { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; color: var(--muted); }
.si-row .w input { width: 100%; accent-color: var(--navy); }
.si-row .mv { display: inline-flex; gap: 2px; }
.si-row .mv button { background: #fff; border: 1.5px solid #d6dbe4; border-radius: 7px; width: 26px; height: 30px; cursor: pointer; font-size: 13px; color: var(--navy); }
.si-row .mv button:disabled { opacity: .35; cursor: default; }
.si-row .x { background: none; border: 0; font-size: 24px; line-height: 1; color: #9ca3af; cursor: pointer; }
.si-row .x:hover { color: var(--red); }
.opts .span2 { grid-column: 1 / -1; }
.lg { font-size: 13px; font-weight: 650; color: #374151; }
.lgrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
#si-info { font-size: 14px; color: #374151; margin: 10px 2px 0; }
#si-warn { list-style: none; margin: 10px 0 0 !important; padding: 10px 12px; background: #fff4f2; border: 1px solid #f3c2bd; border-radius: 10px; }
#si-warn li { font-size: 14px !important; color: #7f1d1d; margin: 2px 0 !important; }
#si-preview svg { display: block; width: 100%; height: auto; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.14); border-radius: 2px; }
.sigrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.sicard { display: block; border: 2px solid #e5e7eb; border-radius: 12px; padding: 10px 12px; text-decoration: none; color: var(--ink); background: #fff; }
.sicard:hover { border-color: var(--navy); }
.sicard.here { border-color: var(--red); background: #fffaf9; }
.sicard b { display: block; font-size: 15.5px; color: var(--navy); }
.sicard span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 3px; }
.sicard i { display: inline-block; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--red); margin-top: 4px; text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 820px) { .sigrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .sigrid { grid-template-columns: 1fr; }
  .si-row.col { grid-template-columns: minmax(0, 1fr) auto 30px; }
  .si-row.col .w { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 820px) { #si .tool > div:last-child { order: -1; } #si .sheet { padding: 10px; } }
