/* Sign in, sign up and password pages. The workspace itself uses client.css. */
:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: #344238; background: #f7f8f4; }
body { margin: 0; }
.entry { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 32px 16px; box-sizing: border-box; }
.entry-brand { display: flex; align-items: center; gap: 10px; color: #4c653b; text-decoration: none; font-size: 22px; font-weight: 600; }
.entry-brand em { font-style: normal; font-weight: 400; }
/* Centred above a card, the wordmark sits on the centre line, not the motif and wordmark together:
   a right margin as wide as the motif (27px) and the gap (10px) balances them. */
.entry > .entry-brand { margin-right: calc(27px + 10px); }
.entry-card { width: 100%; max-width: 400px; box-sizing: border-box; background: #fff; border: 1px solid #e0e7d7; border-radius: 12px; padding: 30px 28px; }
.entry-card h1 { font-size: 26px; font-weight: 550; margin: 0 0 8px; color: #344238; }
.entry-card > p { color: #7b8b70; font-size: 14px; line-height: 1.6; margin: 0 0 22px; }
.entry-form { display: flex; flex-direction: column; gap: 7px; }
.entry-form label { font-size: 12px; color: #697e5b; margin-top: 9px; }
.entry-form input:not([type=submit]) { font: inherit; font-size: 16px; border: 1px solid #d8e2cc; background: #fbfcf8; border-radius: 6px; padding: 10px; }
.entry-form input:focus { outline: 2px solid #dce6d2; border-color: #b4c7a3; }
.entry-submit { margin-top: 18px; font: inherit; font-size: 15px; border: 0; border-radius: 7px; padding: 11px; background: #5c7a48; color: #fff; cursor: pointer; }
.entry-submit:hover { background: #4c653b; }
.entry-links { font-size: 13px; margin: 20px 0 0; color: #9aa68f; }
.entry-links a { color: #5c7a48; }
.entry-alert, .entry-notice { font-size: 13px; line-height: 1.5; border-radius: 6px; padding: 10px 12px; margin: 0 0 16px; }
.entry-alert { background: #fbefe8; color: #9a653f; list-style: none; }
.entry-notice { background: #edf3e5; color: #526e40; }

/* Super admin pages */
.admin { max-width: 980px; margin: 0 auto; padding: 28px 16px 60px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.admin-back { font-size: 13px; color: #5c7a48; }
.admin h1 { font-size: 30px; font-weight: 550; margin: 0 0 8px; }
.admin-intro { color: #7b8b70; font-size: 14px; line-height: 1.6; margin: 0 0 24px; max-width: 640px; }
.admin-table-wrap { overflow-x: auto; background: #fff; border: 1px solid #e0e7d7; border-radius: 12px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8a987e; padding: 12px 16px; border-bottom: 1px solid #e6ecde; }
.admin-table td { padding: 12px 16px; border-bottom: 1px solid #eef2e8; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-badge { display: inline-block; margin-left: 8px; font-size: 10px; padding: 2px 6px; border-radius: 4px; background: #edf3e5; color: #526e40; }
.admin-badge.you { background: #f4f1ea; color: #8a7a5a; }
.admin-actions { display: flex; gap: 8px; justify-content: flex-end; }
.admin-actions form { margin: 0; }
.admin-button { font: inherit; font-size: 12px; border: 1px solid #d8e2cc; background: #fbfcf8; color: #526e40; border-radius: 6px; padding: 6px 10px; cursor: pointer; white-space: nowrap; }
.admin-button.danger { border-color: #ecd0bf; background: #fdf6ef; color: #9a553a; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.password-field { position: relative; display: flex; }
.password-field input { flex: 1; min-width: 0; width: 100%; box-sizing: border-box; padding-right: 64px !important; }
.password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: inherit; font-size: 12px; border: 0; background: none; color: #5c7a48; cursor: pointer; padding: 6px; }
.entry-hint { font-size: 11px; color: #9aa68f; }
.entry-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.entry-agree { font-size: 13px; line-height: 1.5; color: #56654c; margin: 14px 0 0; }
.entry-agree a { color: #5c7a48; }

/* The privacy policy and support pages: a document to read, in the entry pages' style. */
.page-card { width: 100%; max-width: 640px; box-sizing: border-box; background: #fff; border: 1px solid #e0e7d7; border-radius: 12px; padding: 40px 44px 30px; }
.page-card h1 { font-size: 30px; font-weight: 550; letter-spacing: -.01em; margin: 0 0 6px; }
.page-card h2, .page-card h3 { font-size: 17px; font-weight: 600; margin: 30px 0 8px; }
.page-card .page-part { font-size: 22px; letter-spacing: -.01em; margin: 40px 0 4px; padding-top: 28px; border-top: 1px solid #e0e7d7; }
.page-card p, .page-card li { font-size: 15px; line-height: 1.7; color: #56654c; }
.page-card p { margin: 0 0 12px; }
.page-card ul { margin: 0 0 12px; padding-left: 20px; }
.page-card li + li { margin-top: 6px; }
.page-card a, .page-links a { color: #5c7a48; }
.page-card .page-updated { font-size: 13px; color: #9aa68f; margin-bottom: 22px; }
.page-card .page-lead { font-size: 16px; color: #344238; }
.page-links { font-size: 13px; color: #9aa68f; margin: 0; }
@media (max-width: 520px) {
  .page-card { padding: 28px 22px 20px; }
  .page-card h1 { font-size: 26px; }
}

/* Phones: each user is a card (email, then its details and actions) rather than a table to scroll sideways. */
@media (max-width: 700px) {
  .admin-table-wrap { overflow: visible; }
  .admin-table thead { display: none; }
  .admin-table tbody, .admin-table tr, .admin-table td { display: block; }
  .admin-table tr { display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 4px; padding: 14px 16px; border-bottom: 1px solid #eef2e8; }
  .admin-table tr:last-child { border-bottom: 0; }
  .admin-table td { padding: 0; border: 0; font-size: 13px; color: #6f7f65; }
  .admin-table td.admin-email { order: -1; flex-basis: 100%; font-size: 15px; color: inherit; overflow-wrap: anywhere; }
  .admin-table td[data-label]::before { content: attr(data-label) " "; color: #9aa78e; }
  .admin-table td.admin-actions { flex-basis: 100%; justify-content: flex-start; flex-wrap: wrap; margin-top: 8px; }
  .admin-button { min-height: 40px; }
}


/* The page about ForJugglers at "/", for visitors who aren't signed in (pages/home). */
.home { max-width: 1040px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; line-height: 1.6; }
.home h1, .home h2, .home h3 { margin: 0; color: #2d4133; font-weight: 550; }
.home p { margin: 0 0 14px; color: #56654c; }
.home a { color: #4c653b; }
.home a:focus-visible { outline: 2px solid #5c7a48; outline-offset: 3px; border-radius: 4px; }
.home .top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.home .signin { font-size: 14px; font-weight: 550; text-decoration: none; background: #fff; border: 1px solid #d8e2cc; border-radius: 8px; padding: 9px 16px; }
.home .signin:hover { border-color: #b4c7a3; }
.home .hero, .home .feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 12px 0 56px; }
.home .status { display: flex; gap: 10px; width: fit-content; margin: 0 0 24px; padding: 10px 14px; background: #fbefe8; border: 1px solid #f1dccd; border-radius: 10px; color: #8f4e33; font-size: 14px; line-height: 1.5; }
.home .status strong { color: #7a4029; }
.home .status::before, .home .eyebrow.warm::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #cf724f; }
.home .status::before { margin-top: 7px; }
.home .eyebrow.warm::before { display: inline-block; margin-right: 8px; vertical-align: 1px; }
.home h1 { font-size: 38px; line-height: 1.1; letter-spacing: -.025em; margin-bottom: 18px; }
.home h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.015em; margin-bottom: 14px; }
.home h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.home .copy p, .home .testers p { max-width: 34em; }
.home .lead { font-size: 18px; color: #45554a; }
.home .eyebrow { margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #4c653b; }
.home .eyebrow.warm { color: #8f4e33; }
.home kbd { font: .85em ui-monospace, SFMono-Regular, Menlo, monospace; padding: 1px 6px; border-radius: 5px; background: #e9f0e0; color: #3f5530; white-space: nowrap; }
.home .shot { display: flex; justify-content: center; padding: 36px 24px; border-radius: 20px; background: #e9f0e0; }
.home .shot.warm { background: #f6ece3; }
.home .shot img { display: block; width: 100%; max-width: 250px; height: auto; box-sizing: border-box; border: 6px solid #2b352d; border-radius: 14% / 6.4%; box-shadow: 0 28px 40px -28px rgba(43, 53, 45, .6); }
.home .more { padding: 8px 0 48px; }
.home .more ul { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.home .more li { background: #fff; border: 1px solid #e0e7d7; border-radius: 12px; padding: 16px 18px; }
.home .more li p { margin: 0; font-size: 15px; line-height: 1.55; }
.home .testers { margin: 0 0 56px; padding: 32px 24px; background: #edf3e5; border-radius: 16px; }
.home .button { display: inline-block; margin-top: 6px; padding: 12px 24px; border-radius: 8px; background: #5c7a48; color: #fff; font-weight: 550; text-decoration: none; }
.home .button:hover { background: #4c653b; }
.home .foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 24px 0 40px; border-top: 1px solid #e0e7d7; font-size: 14px; }
.home .foot p { margin: 0; color: #66755b; }
@media (min-width: 600px) {
  .home h1 { font-size: 46px; }
  .home .more ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 820px) {
  .home { padding: 0 32px; }
  .home .top { padding: 28px 0; }
  .home .hero, .home .feature { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: center; padding: 24px 0 88px; }
  .home .shot-left { grid-template-columns: 340px minmax(0, 1fr); }
  .home .shot-left .shot { order: -1; }
  .home .shot { padding: 40px; border-radius: 24px; }
  .home .shot img { max-width: 260px; }
  .home h1 { font-size: 54px; }
  .home h2 { font-size: 34px; }
  .home .copy { font-size: 17px; }
  .home .lead { font-size: 20px; }
  .home .testers { padding: 48px 56px; }
}
