/* Grid additions. style.css is sales.warehouseiq.ai's, copied byte for byte; this file adds only what that tool has no
   class for, on the same color variables, so light and dark follow the same switch. */

/* the signed-out pages (sign in, set password, terms) use the sales sign-in card */
body.card-page { overflow: auto; display: grid; place-items: center; min-height: 100vh; background: radial-gradient(ellipse at 50% 120%, var(--bg2) 0%, var(--bg) 60%); }
.card { width: min(380px, 92vw); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px 22px; backdrop-filter: blur(12px); }
.card.wide { width: min(660px, 94vw); }
.card h1 { margin: 10px 0 4px; font-size: 22px; } .card p { color: var(--muted); margin: 0 0 16px; font-size: 13px; }
.card label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin: 12px 0 4px; }
.card input[type=email], .card input[type=password], .card input[type=text] { width: 100%; }
.card .bad { color: var(--red); } .card .ok { color: var(--green); }
.card ol { margin: 0 0 14px; padding-left: 20px; color: var(--text); font-size: 13px; line-height: 1.55; } .card ol li { margin: 6px 0; }
.card label.agree { display: flex; gap: 8px; align-items: center; text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--text); }

/* signed-in pages: the top bar's links */
.who a { color: var(--muted); } .who a:hover { color: var(--cyan); }
.who .name { color: var(--text); }
.views button[disabled] { opacity: .45; cursor: default; }

/* home until the map arrives (phase 3) */
.home { position: fixed; top: 64px; left: 18px; right: 18px; bottom: 18px; z-index: 4; display: grid; place-items: center; pointer-events: none; }
.home .panel { position: static; pointer-events: auto; width: min(560px, 92vw); padding: 22px 24px; }
.home h2 { margin: 0 0 6px; font-size: 20px; } .home .pm { margin-bottom: 14px; }

/* People: built on the Directory panel (.dir) */
.dir .wrap .sec { padding: 0 14px; }
.dir .wrap .form { margin: 14px 14px 0; }
.dir td .sel { padding: 4px 6px; font-size: 12px; }
.dir td.actions { text-align: right; } .dir td.actions > * { margin-left: 10px; }
.dir tr.me td:first-child::after { content: ' (you)'; color: var(--dim); font-weight: 400; }
.dir .bar select { padding: 4px 8px; font-size: 12px; }
.branches { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.branches .chip button { background: none; border: 0; padding: 0 0 0 6px; color: var(--dim); }
.branches input { padding: 4px 8px; font-size: 12px; width: 160px; }
.linkbox { display: flex; gap: 8px; margin-top: 10px; } .linkbox input { flex: 1; font-family: var(--mono); font-size: 11.5px; }
