:root { color-scheme: light; font-family: "Avenir Next", "Trebuchet MS", sans-serif; color: #19352d; background: #f5f6f0; --ink: #19352d; --muted: #586b63; --line: #d9e0d7; --accent: #b9dc65; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; padding: .65rem .9rem; border: 1px solid #b7c4b7; border-radius: 4px; background: #fbfcf7; color: var(--ink); font-weight: 600; }
button:hover { background: #e8eedf; }
button:disabled { cursor: wait; opacity: .6; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #568b35; outline-offset: 3px; }
a { color: inherit; }
.masthead { min-height: 90px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px clamp(22px, 5vw, 84px); }
.brand { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; letter-spacing: .09em; text-decoration: none; }
.brand > span:last-child { font-weight: 400; }
.mark { font-size: 45px; font-weight: 400; line-height: .7; margin-right: 9px; }
#account { display: flex; gap: 22px; align-items: center; font-size: 13px; }
.quiet { background: transparent; border-color: transparent; font-size: 13px; }
main { max-width: 1500px; min-height: calc(100vh - 170px); padding: clamp(28px, 5vw, 70px) clamp(22px, 5vw, 84px); margin: auto; }
h1 { font-size: clamp(40px, 4.8vw, 68px); line-height: 1.06; letter-spacing: -.055em; font-weight: 500; margin: 0 0 20px; }
h2 { font-weight: 600; font-size: 20px; letter-spacing: -.03em; margin: 0; }
h3 { font-size: 16px; margin: 0 0 12px; }
p { line-height: 1.6; color: var(--muted); font-size: 14px; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .18em; margin: 0 0 22px; }
.title-dot { color: #719e35; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; padding-bottom: 38px; }
.page-heading p:last-child { margin-bottom: 0; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(28px, 4vw, 64px); }
.workspace:has(#administration[hidden]) { grid-template-columns: minmax(0, 1fr); }
.people { min-width: 0; }
.list-heading { display: flex; justify-content: space-between; align-items: center; border-top: 2px solid var(--ink); padding: 24px 0 20px; }
#count { color: var(--muted); font-size: 12px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
th { color: var(--muted); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; padding: 0 14px 16px 0; border-bottom: 1px solid var(--line); }
td { border-bottom: 1px solid var(--line); padding: 20px 14px 20px 0; vertical-align: middle; }
th:last-child, td:last-child { padding-right: 0; }
.user-name { font-size: 14px; font-weight: 600; display: block; margin-bottom: 4px; }
.user-email { color: var(--muted); overflow-wrap: anywhere; }
.status { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 11px; font-weight: 600; padding: 5px 8px; border-radius: 3px; }
.status::before { content: ""; height: 5px; width: 5px; border-radius: 50%; background: currentColor; }
.active { background: #e1ebd6; color: #3c5e23; }
.invited { background: #f0e9d3; color: #79551d; }
.disabled { background: #e7e9e4; color: #5c665c; }
.row-actions { display: flex; gap: 4px; flex-wrap: wrap; }
.row-actions button { font-size: 11px; padding: 6px 8px; background: transparent; }
.row-actions .danger { color: #993c2e; }
.protected { font-size: 11px; color: var(--muted); }
aside { border-top: 2px solid var(--ink); padding-top: 26px; }
aside .eyebrow { margin-bottom: 14px; }
aside > p { margin-bottom: 26px; }
label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 9px; }
input { width: 100%; color: var(--ink); background: #fbfcf7; border: 1px solid #b7c4b7; border-radius: 4px; padding: 12px; font-size: 13px; }
.primary { background: var(--ink); color: #f3f6e8; border-color: var(--ink); display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; padding: 13px 16px; font-size: 13px; }
.primary:hover { background: #2b4d3b; }
form .primary { width: 100%; margin-top: 12px; }
.primary span { color: var(--accent); }
.footnote { font-size: 11px; margin-top: 18px; line-height: 1.65; }
.invitation { border-top: 1px solid #b7c4b7; margin-top: 25px; padding-top: 24px; }
.invitation p { overflow-wrap: anywhere; }
.actions { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
#notice { padding: 14px 18px; background: #e4edda; color: #294c30; font-size: 13px; margin-bottom: 28px; border-radius: 4px; }
#notice.error { background: #f6e4dc; color: #8a3928; }
.read-only { font-size: 12px; margin: -16px 0 28px; }
.login { max-width: 650px; padding: 8vh 0; }
.login h1 { max-width: 500px; }
.login > p:not(.eyebrow) { max-width: 400px; }
.login .primary { margin-top: 25px; min-width: 260px; }
.service-line { padding-top: 30px; font-size: 12px; }
.service-line span { margin: 0 12px; color: #879985; }
footer { padding: 23px clamp(22px, 5vw, 84px); display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; letter-spacing: .12em; }
@media (max-width: 1000px) { .workspace { grid-template-columns: 1fr; } aside { max-width: 450px; } }
@media (max-width: 620px) {
  .masthead { align-items: start; }
  .brand > span:last-child { display: none; }
  #account { gap: 5px; flex-direction: column; align-items: end; }
  #account-name { max-width: 145px; overflow-wrap: anywhere; }
  .page-heading { align-items: start; flex-direction: column; gap: 15px; }
  h1 { font-size: 46px; }
  table, tbody { display: block; width: 100%; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tr { display: grid; grid-template-columns: 1fr 1fr; padding: 14px 0 20px; border-bottom: 1px solid var(--line); }
  td { border: 0; padding: 8px 0; }
  td:first-child, td.manage { grid-column: 1 / -1; }
  td:nth-child(2)::before, td:nth-child(3)::before { display: block; color: var(--muted); font-size: 10px; margin-bottom: 7px; }
  td:nth-child(2)::before { content: "ROLE"; }
  td:nth-child(3)::before { content: "STATUS"; }
  .row-actions { max-width: none; }
}
