/* Uygulamaya özel eklemeler: giriş ekranı, ekip ve erişim pencereleri, baş harfli avatarlar. */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px }
.gate-card { width: min(420px, 100%); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 28px; display: flex; flex-direction: column; gap: 14px }
.gate-card h1 { font: 700 24px/1.15 var(--display); letter-spacing: -.02em; margin: 0 }
.gate-card p { margin: 0; color: var(--muted) }
.gate-card .brand { margin-bottom: 4px }
.gate-card input[type=email] { border: 1px solid var(--line); background: var(--bg); border-radius: 8px; padding: 10px 12px; width: 100%; font: inherit; color: inherit }
.ok { color: var(--ok); font-size: 14px }

span.av { display: inline-grid; place-items: center; color: #fff; font: 600 9px/1 var(--body); letter-spacing: .02em; text-transform: uppercase }
.stack span.av { font-size: 10px }
.me { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: transparent; max-width: 200px }
.me span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }

#dlg-team { width: min(680px, calc(100vw - 32px)) }
.rows { display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow: auto }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; min-width: 0 }
.row .who { flex: 1; min-width: 150px; overflow-wrap: anywhere }
.row .who small { display: block; color: var(--muted); font: 12px var(--mono) }
.row select, .inv select, .inv input { border: 1px solid var(--line); background: var(--bg); border-radius: 8px; padding: 7px 8px; font: inherit; color: inherit; min-width: 0 }
.row.off { opacity: .55 }
.inv { display: flex; flex-wrap: wrap; gap: 8px }
.inv input { flex: 1; min-width: 150px }
.sub { font: 600 14px var(--display); margin: 6px 0 0 }
.chk { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px }
.chk input { width: 18px; height: 18px; flex: none }
