*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

.suite-auth {
  --paper: #f7f4ef;
  --white: #fff;
  --ink: #1d211b;
  --muted: #615b50;
  --border: #ded7c9;
  --accent: #a4341e;
  --accent-hover: #852b19;
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: Poppins, system-ui, sans-serif;
  line-height: 1.55;
}

.suite-header { border-bottom: 1px solid var(--border); background: var(--white); }
.suite-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1140px;
  min-height: 74px;
  margin: auto;
  padding-inline: clamp(16px, 5vw, 54px);
}
.suite-header img { width: clamp(142px, 24vw, 180px); height: auto; }
.suite-main { max-width: 1140px; margin: auto; padding: clamp(32px, 8vw, 92px) clamp(16px, 5vw, 54px) 64px; }
.suite-loading { margin: 0; text-align: center; color: var(--muted); }
.suite-card, .suite-permissions {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
}
.suite-card {
  max-width: 460px;
  margin: auto;
  padding: clamp(24px, 6vw, 42px);
  box-shadow: 0 18px 48px #4a382112;
}
.suite-auth h1, .suite-auth h2 { margin: 0; line-height: 1.12; letter-spacing: -.04em; }
.suite-auth h1 { font-size: clamp(2rem, 5vw, 3.15rem); font-weight: 800; }
.suite-auth h2 { font-size: clamp(1.22rem, 3vw, 1.55rem); font-weight: 700; }
.suite-intro { margin: 9px 0 25px; color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; }
.suite-auth label { display: block; margin: 17px 0 6px; font-size: .88rem; font-weight: 600; }
.suite-auth input {
  display: block;
  width: 100%;
  min-height: 47px;
  padding: 10px 12px;
  border: 1px solid #c9bfb0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 1rem;
}
.suite-auth button { min-height: 44px; border-radius: 8px; padding: 9px 15px; cursor: pointer; font: inherit; font-weight: 700; }
.suite-primary { width: 100%; margin-top: 22px; border: 1px solid transparent; color: var(--white); background: var(--accent); }
.suite-primary:hover { background: var(--accent-hover); }
.suite-secondary { border: 1px solid var(--border); color: var(--ink); background: var(--white); font-size: .88rem; }
.suite-secondary:hover { border-color: var(--muted); }
.suite-auth button:disabled { cursor: wait; opacity: .7; }
.suite-auth :is(button, a, input):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.suite-help, .suite-app-note { margin: 21px 0 0; color: var(--muted); font-size: .84rem; }
.suite-message { margin: 16px 0 0; padding: 10px 13px; border-radius: 8px; color: #742816; background: #f9eae2; font-size: .87rem; }

.suite-permissions { margin-top: 28px; padding: clamp(14px, 3.5vw, 28px); }
.suite-access-heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; margin-bottom: 12px; }
.suite-access-heading a, .suite-primary-admin a { color: var(--accent); font-weight: 650; text-underline-offset: 3px; }
.suite-primary-admin { color: var(--muted); font-size: .86rem; margin: 15px 0 0; }
.suite-link { margin-top: 16px; padding: 13px clamp(16px, 3vw, 26px); border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.suite-link summary { cursor: pointer; font-size: .9rem; font-weight: 700; }
.suite-link summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.suite-link form { max-width: 420px; padding-block: 6px 10px; }
.suite-link form > p:not(.suite-message) { color: var(--muted); font-size: .86rem; }
.suite-link .suite-primary { width: auto; }
.suite-success { color: #214a31; background: #e4f2e7; }
@media (max-width: 440px) { .suite-header-inner { min-height: 64px; } }
