@font-face {
  font-family:ProtoInter;
  src:url('proto-regular.ttf') format('truetype');
  font-weight:400 600;
  font-display:swap
}
@font-face {
  font-family:ProtoInter;
  src:url('proto-bold.ttf') format('truetype');
  font-weight:650 900;
  font-display:swap
}
:root {
  color-scheme:light;
  --canvas:#f3f5f8;
  --surface:#fff;
  --surface-soft:#f7f8fa;
  --ink:#17202e;
  --muted:#627083;
  --line:#dfe4eb;
  --red:#c83040;
  --red-hover:#ae2534;
  --navy:#151923;
  --shadow:0 8px 32px #17202e06;
  --radius:16px;
  font-family:ProtoInter,Inter,system-ui,sans-serif;
  font-size:14px;
  line-height:1.55;
  color:var(--ink)
}
:root[data-theme=dark] {
  color-scheme:dark;
  --canvas:#10141d;
  --surface:#191f2b;
  --surface-soft:#202735;
  --ink:#edf0f6;
  --muted:#a5b0c2;
  --line:#303948;
  --red:#dd4050;
  --red-hover:#bf3040;
  --shadow:0 8px 32px #00000014
}
body {
  background:var(--canvas);
  color:var(--ink);
  font-family:ProtoInter,system-ui,sans-serif;
  letter-spacing:-.012em
}
[hidden] {
  display:none!important
}
h1,h2,h3 {
  color:var(--ink);
  font-weight:700
}
h1 {
  font-size:clamp(26px,3vw,38px);
  letter-spacing:-.045em;
  line-height:1.15;
  margin-bottom:10px
}
h2 {
  font-size:19px;
  letter-spacing:-.035em
}
p {
  line-height:1.65
}
.eyebrow {
  font-size:10px;
  letter-spacing:.15em;
  text-transform:uppercase;
  font-weight:700;
  margin-bottom:8px
}
.muted,.help,.small {
  color:var(--muted)
}
.help {
  font-size:12px;
  line-height:1.65
}
.icon {
  width:19px;
  height:19px
}
a,button,input,select,textarea,summary {
  touch-action:manipulation
}
button,.button {
  border-radius:9px;
  font-weight:700;
  font-size:12px;
  min-height:44px;
  padding:12px 17px;
  background:var(--red);
  box-shadow:none
}
button:hover,.button:hover {
  background:var(--red-hover)
}
button.secondary,.button.secondary {
  background:var(--surface);
  color:var(--ink);
  border:1px solid var(--line)
}
button.secondary:hover {
  background:var(--surface-soft)
}
.button-text {
  background:transparent;
  color:var(--muted)
}
input,select,textarea {
  color:var(--ink);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:9px;
  padding:12px;
  min-width:0;
  max-width:100%
}
input:focus,textarea:focus,select:focus {
  border-color:var(--muted)
}
input::placeholder,textarea::placeholder {
  color:var(--muted);
  opacity:.8
}
label {
  font-weight:650;
  font-size:12px;
  color:var(--ink)
}
input,select {
  min-height:44px
}
textarea {
  font-size:14px;
  line-height:1.7
}
fieldset {
  min-width:0
}
.stack {
  gap:18px
}
summary {
  min-height:44px;
  align-content:center;
  cursor:pointer
}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline:3px solid #cc5362;
  outline-offset:3px
}
.product-brand {
  display:flex;
  align-items:center;
  gap:11px;
  white-space:nowrap
}
.product-mark {
  width:48px;
  height:48px;
  display:block;
  flex:none
}
.product-mark img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1
}
.mark-dark {
  display:none!important
}
[data-theme=dark] .mark-light {
  display:none!important
}
[data-theme=dark] .mark-dark {
  display:block!important
}
.product-name {
  font-size:20px;
  font-weight:700;
  letter-spacing:.18em;
  line-height:1.1
}
.product-name small {
  display:block;
  color:var(--muted);
  font-size:8px;
  letter-spacing:.045em;
  margin-top:5px;
  font-weight:400
}
.product-header {
  height:86px;
  padding:0 max(28px,calc((100vw - 1360px)/2));
  display:flex;
  align-items:center;
  gap:48px;
  border-bottom:1px solid var(--line);
  background:var(--canvas);
  position:relative;
  z-index:30
}
.product-home {
  flex-shrink:0
}
.product-nav {
  display:flex;
  gap:8px;
  align-items:center;
  flex:1;
  height:100%
}
.product-nav a {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 16px;
  min-height:44px;
  font-size:12px;
  font-weight:650;
  color:var(--muted);
  border-radius:9px
}
.product-nav a[aria-current=page] {
  color:var(--ink);
  background:var(--surface);
  box-shadow:0 2px 8px #00000005
}
.product-nav a[aria-current=page] .icon {
  color:var(--red)
}
.product-nav a:hover {
  background:var(--surface-soft);
  color:var(--ink)
}
.account-menu {
  position:relative;
  margin-left:auto
}
.account-menu>summary {
  display:flex;
  gap:10px;
  align-items:center;
  list-style:none;
  font-size:11px;
  color:var(--muted)
}
.account-menu summary::-webkit-details-marker {
  display:none
}
.account-panel {
  position:absolute;
  right:0;
  top:54px;
  width:270px;
  padding:20px;
  border:1px solid var(--line);
  background:var(--surface);
  box-shadow:0 16px 50px #0002;
  border-radius:14px;
  z-index:60
}
.account-panel>a {
  display:block;
  padding:10px 0;
  font-size:12px
}
.account-panel hr {
  border:0;
  border-top:1px solid var(--line);
  margin:16px 0
}
.account-panel form button {
  width:100%;
  margin-top:14px
}
.theme-control {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:11px;
  color:var(--muted)
}
.theme-control-label {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0)
}
.theme-control select {
  font-size:11px;
  min-height:38px;
  padding:7px 12px;
  width:100%
}
.main {
  padding:40px 28px 20px;
  margin:0 auto;
  max-width:1360px;
  width:100%;
  min-height:calc(100svh - 86px)
}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:30px;
  flex-wrap:wrap
}
.page-heading p {
  margin-bottom:0
}
.back-link {
  display:inline-block;
  font-size:11px;
  color:var(--muted);
  margin-bottom:18px
}
.card {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:none;
  margin-bottom:20px;
  min-width:0
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:20px
}
.section-heading h2,.section-heading p {
  margin:0
}
.text-link {
  color:var(--ink);
  font-size:11px;
  font-weight:650;
  white-space:normal;
  overflow-wrap:anywhere
}
.text-link .icon {
  width:15px
}
.footer {
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid var(--line);
  font-size:10px;
  color:var(--muted);
  padding:22px 0;
  margin-top:28px;
  flex-wrap:wrap
}
.notice {
  background:var(--surface-soft);
  border:1px solid var(--line);
  color:var(--ink);
  border-radius:12px
}
.notice.error {
  background:#be344012;
  border-color:#be344077;
  color:var(--ink)
}
.notice.success {
  background:#47877412;
  border-color:#47877455;
  color:var(--ink)
}
.badge {
  border-radius:6px;
  font-size:10px;
  font-weight:650;
  background:var(--surface-soft);
  color:var(--muted);
  border:1px solid var(--line)
}
.badge.present,.badge.final {
  background:#367e6515;
  color:#35785f;
  border-color:#367e6540
}
.badge.late,.badge.editing {
  background:#ba852215;
  color:#956c1c;
  border-color:#ba852240
}
[data-theme=dark] .badge.present,[data-theme=dark] .badge.final {
  color:#95d5bc
}
[data-theme=dark] .badge.late,[data-theme=dark] .badge.editing {
  color:#e6c27c
}
.badge.absent {
  color:#d4505d;
  background:#d4505d12
}
/* Login: independent composition, shared product mark, typography and theme tokens. */
.login-page .auth-main {
  max-width:none;
  margin:0;
  padding:0;
  min-height:100svh;
  display:block
}
.login-page .auth-theme {
  position:absolute;
  right:34px;
  top:24px;
  z-index:10;
  width:122px
}
.login-page .auth-theme select {
  background:var(--surface);
  border-color:var(--line);
  color:var(--ink)
}
.login-layout {
  min-height:100svh;
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(420px,.9fr)
}
.login-hero {
  background:#151923;
  color:#fff;
  position:relative;
  min-height:100svh;
  padding:clamp(36px,5vw,80px);
  display:flex;
  flex-direction:column;
  overflow:hidden
}
.login-hero:after {
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse at 90% 78%,#46506a35,transparent 52%),linear-gradient(120deg,transparent 62%,#ffffff03 62.1%,transparent 82%);
  pointer-events:none
}
.hero-brand {
  z-index:1
}
.hero-brand .product-mark {
  width:92px;
  height:92px;
  margin-left:-16px
}
.hero-brand .mark-dark {
  display:block!important
}
.hero-brand .mark-light {
  display:none!important
}
.hero-brand .product-name {
  font-size:34px;
  letter-spacing:.22em;
  color:#fff
}
.hero-brand .product-name small {
  display:none
}
.hero-copy {
  margin-top:clamp(40px,7vh,88px);
  max-width:520px;
  z-index:1
}
.hero-copy .eyebrow {
  color:#aab4c4;
  font-size:10px;
  letter-spacing:.14em;
  margin-bottom:20px
}
.hero-copy h1 {
  font-size:clamp(42px,4.6vw,70px);
  line-height:1.05;
  font-weight:700;
  letter-spacing:-.055em;
  color:#fff;
  margin-bottom:24px
}
.hero-copy h1 span {
  display:block;
  color:#9da9bb
}
.hero-copy>p:last-child {
  font-size:15px;
  color:#aeb9c9;
  line-height:1.8;
  max-width:355px
}
.document-scene {
  position:relative;
  height:270px;
  margin-top:28px;
  margin-left:auto;
  width:min(100%,410px);
  z-index:1
}
.scene-sheet {
  position:absolute;
  top:8px;
  right:18px;
  width:260px;
  height:300px;
  border:1px solid #65718755;
  border-radius:9px;
  background:linear-gradient(145deg,#2e3747,#1e2533);
  padding:22px 26px;
  transform:rotate(-8deg);
  box-shadow:0 30px 50px #0002
}
.sheet-top {
  display:flex;
  justify-content:space-between;
  font-size:8px;
  letter-spacing:.16em;
  color:#9ba8bd;
  margin-bottom:18px
}
.scene-sheet strong {
  display:block;
  font-size:19px;
  font-weight:400;
  color:#d2d8e4;
  margin-bottom:14px
}
.sheet-line {
  height:3px;
  background:#707f9438;
  border-radius:3px;
  display:block;
  width:74%;
  margin-top:8px
}
.sheet-line.long {
  width:100%
}
.sheet-line.short {
  width:48%
}
.sheet-rule {
  height:1px;
  background:#8692a526;
  margin:18px 0 12px
}
.scene-sheet small {
  font-size:8px;
  color:#a3afc2;
  letter-spacing:.08em
}
.scene-label {
  position:absolute;
  left:8px;
  bottom:18px;
  display:flex;
  gap:12px;
  align-items:center;
  border:1px solid #53627955;
  background:#242d3d;
  padding:15px 18px;
  border-radius:10px;
  box-shadow:0 15px 35px #0002;
  font-size:11px;
  color:#dbe1eb
}
.scene-label .icon {
  color:#bdc9d8
}
.hero-foot {
  display:flex;
  justify-content:space-between;
  gap:15px;
  font-size:9px;
  color:#8592a7;
  letter-spacing:.05em;
  position:relative;
  z-index:1;
  margin-top:auto;
  padding-top:45px
}
.login-access {
  background:var(--canvas);
  padding:90px 44px 44px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  min-width:0
}
.access-heading {
  display:flex;
  gap:8px;
  align-items:center;
  color:var(--muted);
  text-transform:uppercase;
  font-size:9px;
  letter-spacing:.16em;
  width:100%;
  max-width:410px;
  margin-bottom:20px
}
.status-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--red)
}
.login-card {
  width:100%;
  max-width:410px;
  padding:34px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:0 20px 70px #18263b08
}
.login-org {
  display:flex;
  align-items:center;
  gap:14px;
  border-bottom:1px solid var(--line);
  padding-bottom:26px;
  margin-bottom:28px
}
.login-org img {
  width:42px;
  height:auto;
  max-height:58px;
  object-fit:contain;
  flex:none
}
.login-org span {
  display:block;
  font-size:10px;
  color:var(--muted);
  margin-bottom:4px
}
.login-org strong {
  display:block;
  font-size:13px;
  line-height:1.5;
  letter-spacing:-.02em
}
.login-card-title h2 {
  font-size:27px;
  margin:0 0 9px;
  letter-spacing:-.04em
}
.login-card-title>p:last-child {
  font-size:11px;
  color:var(--muted);
  margin-bottom:26px
}
.login-card label {
  font-size:11px;
  display:block
}
.login-card input {
  width:100%;
  display:block;
  margin-top:8px;
  height:48px;
  font-size:13px;
  border-color:var(--line);
  background:var(--surface-soft);
  border-radius:9px;
  box-shadow:none
}
.password-field {
  position:relative
}
.password-field input {
  padding-right:48px
}
.login-password-toggle {
  position:absolute;
  right:3px;
  bottom:2px;
  width:44px;
  height:44px;
  min-height:44px;
  background:transparent!important;
  color:var(--muted);
  padding:10px
}
.login-submit {
  width:100%;
  justify-content:space-between;
  min-height:48px;
  margin-top:4px;
  padding-inline:17px
}
.access-note {
  display:flex;
  gap:8px;
  align-items:center;
  font-size:9px;
  color:var(--muted);
  margin:24px 0 0;
  line-height:1.6
}
.access-note .icon {
  width:14px;
  height:14px
}
.access-footer {
  font-size:10px;
  color:var(--muted);
  margin:28px 0 0
}
.access-footer span {
  margin-inline:8px
}
.login-page .footer {
  display:none
}
.login-page .notice {
  position:relative;
  z-index:15;
  margin:70px 30px 0
}
.login-page:has(.notice.error) .login-layout {
  min-height:calc(100svh - 150px)
}
/* Task-oriented overview. */
.dashboard-layout {
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:24px;
  align-items:stretch
}
.next-event {
  background:#1d2635;
  border:1px solid #354155;
  border-radius:18px;
  padding:30px;
  color:#d4dce7;
  position:relative;
  overflow:hidden;
  margin-bottom:20px
}
.next-event:after {
  content:"";
  position:absolute;
  width:210px;
  height:210px;
  border:1px solid #ffffff08;
  right:-45px;
  top:60px;
  transform:rotate(32deg);
  border-radius:30px;
  pointer-events:none
}
.next-event .eyebrow,.next-event .subtle-label {
  color:#a4b2c6
}
.subtle-label {
  font-size:10px
}
.next-date {
  display:flex;
  align-items:center;
  gap:14px;
  margin:25px 0
}
.next-date strong {
  font-size:54px;
  line-height:1;
  letter-spacing:-.07em;
  color:#fff
}
.next-date span {
  font-size:11px;
  color:#a7b4c6;
  line-height:1.7
}
.next-event h2 {
  font-size:23px;
  max-width:390px;
  color:#f0f3f8;
  line-height:1.4;
  margin:0 0 10px
}
.next-event>p {
  font-size:11px;
  color:#aeb9ca
}
.next-actions {
  display:flex;
  gap:20px;
  align-items:center;
  margin-top:26px;
  flex-wrap:wrap
}
.next-actions>a:last-child {
  font-size:11px;
  color:#c5cfdf
}
.dashboard-open {
  padding:28px
}
.count-label {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:28px;
  height:28px;
  background:var(--surface-soft);
  border:1px solid var(--line);
  border-radius:7px;
  font-size:11px;
  color:var(--muted)
}
.task-list,.compact-events {
  list-style:none;
  padding:0;
  margin:0 0 20px
}
.task-list li+li,.compact-events li+li {
  border-top:1px solid var(--line)
}
.task-list a {
  display:flex;
  align-items:center;
  gap:13px;
  padding:18px 0;
  min-width:0
}
.task-symbol {
  width:38px;
  height:42px;
  display:grid;
  place-items:center;
  background:var(--surface-soft);
  border:1px solid var(--line);
  border-radius:9px;
  color:var(--muted);
  flex:none
}
.task-list strong {
  display:block;
  font-size:12px;
  line-height:1.5
}
.task-list small {
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-top:5px
}
.task-state {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0
}
.task-state>.icon {
  width:15px;
  color:var(--muted)
}
.quick-access {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin:4px 0 32px
}
.quick-access>a {
  display:flex;
  align-items:center;
  gap:15px;
  padding:20px 22px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:13px
}
.quick-access>a>.icon:first-child {
  width:23px;
  height:23px;
  color:var(--muted)
}
.quick-access strong {
  display:block;
  font-size:12px
}
.quick-access small {
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-top:4px
}
.quick-access>a>.icon:last-child {
  margin-left:auto;
  width:15px;
  color:var(--muted)
}
.dashboard-bottom {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:24px
}
.compact-events li {
  padding:15px 0
}
.compact-events a {
  display:flex;
  gap:15px;
  align-items:center;
  font-size:11px
}
.compact-events time {
  font-size:10px;
  color:var(--muted);
  flex-shrink:0
}
.compact-events strong {
  font-size:11px
}
.compact-events .icon {
  margin-left:auto;
  flex:none;
  width:15px;
  color:var(--muted)
}
.empty-state {
  padding:35px 0;
  color:var(--muted);
  font-size:12px
}
/* A single event workbench: attendance and notes, no nested primary tabs. */
.event-heading {
  align-items:flex-end
}
.event-heading h1 {
  font-size:clamp(24px,2.7vw,34px);
  max-width:720px
}
.event-meta {
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:11px;
  flex-wrap:wrap;
  margin-top:14px
}
.event-meta .icon {
  width:15px
}
.event-heading .back-link {
  margin-bottom:20px
}
.event-heading>.actions {
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px
}
.event-more {
  position:relative;
  font-size:11px;
  color:var(--muted)
}
.event-more>summary {
  min-height:28px
}
.event-more>div {
  position:absolute;
  top:35px;
  right:0;
  min-width:200px;
  display:grid;
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:0 12px 40px #0002;
  z-index:15;
  border-radius:12px;
  padding:12px
}
.event-more a {
  padding:10px
}
.event-workbench {
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:24px;
  align-items:start
}
.event-workbench>div {
  min-width:0
}
.attendance-panel {
  padding:22px
}
.attendance-panel h2 {
  font-size:20px
}
.attendance-panel .eyebrow {
  display:none
}
.attendance-panel .section-heading {
  margin-bottom:12px
}
.attendance-panel>.help {
  font-size:10px;
  margin-bottom:15px
}
.attendance-list {
  display:block;
  max-height:485px;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  border-top:1px solid var(--line);
  padding-right:6px
}
.attendance-row {
  display:block;
  padding:16px 0;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:transparent;
  margin:0
}
.attendance-summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px
}
.attendance-summary strong {
  font-size:11px
}
.attendance-summary small {
  font-size:9px;
  line-height:1.5;
  margin-top:3px;
  color:var(--muted)
}
.attendance-summary>.badge {
  font-size:8px;
  white-space:normal;
  max-width:110px;
  padding:4px 6px
}
.attendance-quick {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:5px;
  margin:0
}
.attendance-quick button {
  min-width:0;
  min-height:34px;
  padding:6px 2px;
  font-size:8px;
  border:1px solid var(--line);
  background:var(--surface-soft);
  color:var(--muted);
  border-radius:6px;
  font-weight:650
}
.attendance-quick button[aria-pressed=true] {
  border-color:#51866f;
  background:#4b8b7020;
  color:var(--ink)
}
.attendance-feedback {
  font-size:10px;
  margin:5px 0 0
}
.attendance-feedback:empty {
  display:none
}
.attendance-edit>summary {
  font-size:9px;
  min-height:25px;
  color:var(--muted);
  margin-top:4px
}
.attendance-detail {
  padding-top:15px
}
.attendance-detail input,.attendance-detail select {
  font-size:11px
}
.attendance-panel .spaced>summary,.guests-panel summary {
  font-size:11px;
  color:var(--muted)
}
.guests-panel {
  padding:20px 22px
}
.guests-panel h2 {
  font-size:15px
}
.guests-panel .section-heading {
  margin-bottom:0
}
.guests-panel>.help {
  display:none
}
.guests-panel .spaced {
  margin-top:0
}
.guests-panel .spaced>summary {
  color:var(--ink)
}
.workspace {
  padding:26px;
  border-top:3px solid var(--red)
}
.workspace h2 {
  font-size:22px;
  margin-bottom:20px
}
.workspace>p:not(.eyebrow) {
  font-size:11px;
  color:var(--muted);
  margin-top:-7px
}
.workspace textarea {
  min-height:230px;
  font-size:13px;
  line-height:1.8;
  background:var(--surface-soft);
  border-color:var(--line);
  padding:16px;
  resize:vertical
}
.workspace fieldset {
  padding:0;
  margin:0;
  border:0
}
.workspace label[for=central-notes] {
  font-size:11px;
  color:var(--muted)
}
.workspace .actions {
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:12px
}
.workspace button {
  font-size:10px
}
.workspace [data-workspace-status] {
  font-size:10px;
  margin-bottom:0;
  min-height:17px
}
.dictation-info {
  margin-top:16px;
  color:var(--muted)
}
.dictation-info>summary {
  font-size:10px;
  min-height:28px
}
.dictation-info .help {
  font-size:10px
}
.dictation-unavailable {
  font-size:9px;
  color:var(--muted)
}
.draft-divider {
  position:relative;
  border-top:1px solid var(--line);
  margin:24px 0 18px;
  padding-top:20px;
  font-size:10px;
  font-weight:700;
  color:var(--ink);
  text-transform:uppercase;
  letter-spacing:.1em
}
.workspace .checkbox {
  font-size:10px;
  line-height:1.6;
  font-weight:400;
  color:var(--muted)
}
.workspace .stack {
  gap:10px
}
.workspace [data-generate-form] .help {
  font-size:9px;
  line-height:1.6;
  margin-bottom:0
}
.workspace .spaced {
  border-top:1px solid var(--line);
  padding-top:14px;
  margin-top:20px
}
.workspace .spaced>summary {
  font-size:11px
}
.workspace .spaced p {
  font-size:11px;
  color:var(--muted)
}
[data-workspace-conflict] {
  padding:15px;
  border:1px solid var(--red);
  border-radius:9px;
  margin-top:14px
}
.attendance-dialog {
  background:var(--surface);
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:16px;
  max-width:min(480px,calc(100vw - 24px))
}
.attendance-dialog::backdrop {
  background:#050b18aa
}
#event-settings {
  margin-top:10px
}
#event-settings .card {
  background:transparent;
  padding:16px 22px
}
#event-settings summary {
  font-size:11px;
  color:var(--muted)
}
/* Protocol editor, archive and the secondary existing tools share the same system. */
.minutes-editor {
  display:grid;
  grid-template-columns:minmax(200px,.65fr) minmax(0,1.6fr);
  gap:22px;
  align-items:start
}
.minutes-editor>.card {
  position:sticky;
  top:20px;
  padding:22px
}
.minutes-editor>.card label {
  font-size:13px
}
.minutes-editor>.card textarea {
  margin-top:14px;
  min-height:150px;
  background:var(--surface-soft)
}
.minutes-editor>.card button {
  font-size:10px;
  width:100%;
  margin-top:12px
}
.minutes-editor>.card .help {
  font-size:10px
}
.protocol-body {
  min-width:0
}
.protocol-body .agenda-item {
  padding:0;
  overflow:hidden
}
.agenda-item>summary {
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px 22px;
  font-size:12px;
  line-height:1.6
}
.agenda-item>summary>span {
  font-size:9px;
  color:var(--muted);
  white-space:nowrap
}
.agenda-item[open]>summary {
  border-bottom:1px solid var(--line)
}
.agenda-content {
  padding:22px
}
.agenda-title {
  font-size:10px;
  color:var(--muted)
}
.agenda-title input {
  font-size:15px;
  font-weight:700;
  background:var(--surface-soft);
  margin-bottom:18px
}
.agenda-columns {
  display:block
}
.agenda-columns textarea {
  font-size:13px;
  min-height:210px
}
.agenda-columns .help {
  font-size:10px
}
.raw-area {
  border-top:1px solid var(--line);
  margin-top:18px;
  padding-top:6px
}
.raw-area>summary {
  font-size:10px;
  color:var(--muted)
}
.raw-area textarea {
  min-height:90px
}
.save-bar {
  grid-column:1/-1;
  position:sticky;
  bottom:16px;
  z-index:10;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:12px;
  box-shadow:0 8px 30px #0001;
  padding:16px 20px;
  margin-bottom:20px;
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap
}
.save-bar label {
  font-size:10px;
  min-width:160px;
  margin-right:auto
}
.save-bar select {
  font-size:11px;
  min-height:38px
}
.save-bar [data-save-state] {
  font-size:9px;
  color:var(--muted)
}
.archive-filter {
  gap:16px
}
.archive-filter label {
  font-size:10px
}
.archive-filter input,.archive-filter select {
  font-size:11px
}
.event-row {
  background:transparent;
  border-color:var(--line)
}
.event-date {
  background:var(--surface-soft);
  color:var(--ink)
}
.tabs {
  border-color:var(--line);
  flex-wrap:wrap
}
.tabs a {
  font-size:11px;
  color:var(--muted)
}
.tabs a[aria-current=page] {
  color:var(--ink);
  border-bottom-color:var(--red)
}
.table-wrap {
  border-color:var(--line)
}
table {
  background:var(--surface)
}
th {
  background:var(--surface-soft);
  color:var(--muted)
}
td,th {
  border-color:var(--line)
}
.capture-note-item,.document-row {
  border-color:var(--line)
}
pre {
  background:var(--surface-soft);
  color:var(--ink)
}
.filter {
  flex-wrap:wrap
}
.section-heading>* {
  min-width:0
}
.form-grid {
  min-width:0
}
.actions {
  flex-wrap:wrap
}
@media(min-width:1500px) {
  .login-hero {
    padding-inline:max(70px,calc((100vw - 1250px)/2))
  }
  .document-scene {
    margin-top:40px
  }
}
@media(max-width:1100px) {
  .product-header {
    gap:24px;
    padding-inline:24px
  }
  .product-nav {
    gap:0
  }
  .product-nav a {
    padding-inline:12px
  }
  .account-menu>summary>span:first-of-type {
    display:none
  }
  .login-layout {
    grid-template-columns:1fr 1fr
  }
  .login-hero {
    padding:38px
  }
  .login-access {
    padding-inline:28px
  }
  .hero-copy h1 {
    font-size:48px
  }
  .hero-brand .product-mark {
    width:78px;
    height:78px
  }
  .hero-brand .product-name {
    font-size:29px
  }
  .login-card {
    padding:27px
  }
  .document-scene {
    height:260px
  }
  .scene-sheet {
    width:225px;
    right:0
  }
  .scene-label {
    left:0;
    font-size:10px
  }
  .hero-foot {
    font-size:8px
  }
  .event-workbench {
    grid-template-columns:1fr 1.05fr;
    gap:18px
  }
  .attendance-panel {
    padding:18px
  }
  .attendance-quick button {
    font-size:7px
  }
  .workspace {
    padding:22px
  }
  .task-state>.badge {
    display:none
  }
}
@media(max-width:800px) {
  .product-header {
    height:72px;
    padding-inline:22px;
    justify-content:space-between
  }
  .product-mark {
    width:42px;
    height:42px
  }
  .product-name {
    font-size:17px
  }
  .product-nav {
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    height:68px;
    background:var(--surface);
    border-top:1px solid var(--line);
    padding:6px 14px max(6px,env(safe-area-inset-bottom));
    gap:6px;
    z-index:50;
    box-shadow:0 -4px 30px #00000004
  }
  .product-nav a {
    flex:1;
    flex-direction:column;
    gap:4px;
    min-height:48px;
    padding:5px;
    font-size:8px;
    border-radius:8px
  }
  .product-nav a[aria-current=page] {
    background:var(--surface-soft);
    box-shadow:none
  }
  .product-nav .icon {
    width:19px;
    height:19px
  }
  .account-menu {
    margin-left:0
  }
  .main {
    padding:28px 22px 85px
  }
  .page-heading {
    margin-bottom:24px;
    gap:18px
  }
  .page-heading>.button {
    min-height:40px;
    font-size:10px
  }
  .dashboard-layout {
    grid-template-columns:1fr 1fr;
    gap:18px
  }
  .next-event {
    padding:24px
  }
  .next-event h2 {
    font-size:19px
  }
  .next-date strong {
    font-size:45px
  }
  .dashboard-open {
    padding:22px
  }
  .quick-access {
    gap:12px
  }
  .quick-access>a {
    padding:16px 14px;
    gap:10px
  }
  .quick-access>a>.icon:first-child {
    width:19px
  }
  .quick-access strong {
    font-size:10px
  }
  .quick-access small {
    font-size:9px
  }
  .quick-access>a>.icon:last-child {
    display:none
  }
  .dashboard-bottom {
    gap:18px;
    grid-template-columns:1fr
  }
  .task-symbol {
    display:none
  }
  .task-list strong {
    font-size:11px
  }
  .event-heading>.actions {
    flex-direction:row;
    align-items:center;
    gap:18px
  }
  .event-more>div {
    left:0;
    right:auto
  }
  .event-workbench {
    grid-template-columns:1fr
  }
  .attendance-list {
    max-height:285px
  }
  .attendance-quick button {
    font-size:9px;
    min-height:36px
  }
  .attendance-summary strong {
    font-size:12px
  }
  .attendance-summary small {
    font-size:10px
  }
  .attendance-edit>summary {
    font-size:10px
  }
  .attendance-panel .section-heading {
    margin-bottom:6px
  }
  .attendance-column {
    display:contents
  }
  .attendance-panel {
    order:0
  }
  .notes-column {
    order:1
  }
  .guests-panel {
    order:2
  }
  .event-workbench {
    display:flex;
    flex-direction:column;
    gap:0
  }
  .event-workbench .notes-column,.event-workbench .guests-panel,.event-workbench .attendance-panel {
    width:100%
  }
  .minutes-editor {
    grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);
    gap:16px
  }
  .minutes-editor>.card {
    padding:18px
  }
  .agenda-content {
    padding:18px
  }
  .agenda-item>summary {
    padding:14px 18px;
    font-size:11px
  }
  .save-bar {
    bottom:76px
  }
  .footer {
    font-size:9px
  }
}
@media(max-width:650px) {
  .login-layout {
    display:block
  }
  .login-hero {
    min-height:0;
    padding:28px 26px 34px
  }
  .hero-brand .product-mark {
    width:68px;
    height:68px;
    margin-left:-12px
  }
  .hero-brand .product-name {
    font-size:25px
  }
  .hero-copy {
    margin-top:24px
  }
  .hero-copy .eyebrow {
    font-size:8px;
    margin-bottom:12px
  }
  .hero-copy h1 {
    font-size:42px;
    margin-bottom:14px
  }
  .hero-copy>p:last-child {
    font-size:12px;
    margin:0;
    max-width:300px
  }
  .document-scene,.hero-foot {
    display:none
  }
  .login-access {
    padding:28px 22px 30px
  }
  .access-heading {
    font-size:8px;
    margin-bottom:14px
  }
  .login-card {
    max-width:460px;
    padding:25px;
    border-radius:16px
  }
  .login-org {
    padding-bottom:20px;
    margin-bottom:22px
  }
  .login-org img {
    width:34px
  }
  .login-card-title h2 {
    font-size:25px
  }
  .login-card-title>p:last-child {
    margin-bottom:22px
  }
  .login-card .stack {
    gap:17px
  }
  .login-page .auth-theme {
    position:absolute;
    right:22px;
    top:32px;
    width:105px
  }
  .login-page .auth-theme select {
    color:#d1d9e7;
    background:#202735;
    border-color:#3a4353;
    font-size:9px;
    min-height:34px;
    padding:6px 9px
  }
  .login-page .notice {
    margin:80px 18px 12px
  }
  .access-footer {
    margin-top:22px
  }
  .dashboard-layout {
    grid-template-columns:1fr;
    gap:0
  }
  .next-event {
    padding:24px;
    margin-bottom:18px
  }
  .next-date {
    margin:20px 0
  }
  .next-event h2 {
    font-size:21px
  }
  .next-event>p {
    font-size:10px
  }
  .next-actions {
    margin-top:22px;
    gap:16px
  }
  .next-actions .button {
    font-size:10px
  }
  .dashboard-open {
    padding:22px
  }
  .task-symbol {
    display:grid
  }
  .task-state>.badge {
    display:inline-block
  }
  .task-list a {
    gap:11px
  }
  .task-list strong {
    font-size:11px
  }
  .task-list small {
    font-size:9px
  }
  .task-state .badge {
    font-size:8px
  }
  .task-state .icon {
    display:none
  }
  .quick-access {
    grid-template-columns:1fr;
    gap:10px;
    margin:0 0 24px
  }
  .quick-access>a {
    padding:15px 18px;
    gap:15px
  }
  .quick-access strong {
    font-size:11px
  }
  .quick-access small {
    font-size:9px;
    margin-top:2px
  }
  .quick-access>a>.icon:last-child {
    display:block
  }
  .dashboard-bottom .card {
    padding:22px
  }
  .compact-events a {
    flex-wrap:wrap;
    gap:7px 14px
  }
  .compact-events time {
    width:100%;
    font-size:9px
  }
  .main {
    padding-inline:18px
  }
  .page-heading h1 {
    font-size:28px
  }
  .page-heading>.button {
    padding:10px 13px
  }
  .page-heading .muted {
    font-size:11px
  }
  .event-heading h1 {
    font-size:25px
  }
  .event-heading .eyebrow {
    font-size:9px
  }
  .event-meta {
    font-size:10px
  }
  .event-heading>.actions {
    width:100%;
    justify-content:space-between;
    gap:10px
  }
  .event-heading>.actions>.button {
    font-size:10px
  }
  .event-more {
    font-size:10px
  }
  .event-more>div {
    left:auto;
    right:0
  }
  .back-link {
    font-size:10px
  }
  .attendance-panel,.workspace {
    padding:20px
  }
  .attendance-list {
    max-height:280px
  }
  .attendance-quick button {
    font-size:8px
  }
  .attendance-summary strong {
    font-size:11px
  }
  .attendance-summary small {
    font-size:9px
  }
  .attendance-panel .badge[data-attendance-count] {
    font-size:8px
  }
  .workspace h2 {
    font-size:21px;
    margin-bottom:16px
  }
  .workspace textarea {
    min-height:210px;
    font-size:14px;
    padding:13px
  }
  .workspace .actions button {
    font-size:9px;
    padding:10px 12px
  }
  .workspace .dictation-unavailable {
    font-size:8px
  }
  .workspace .spaced>summary {
    font-size:10px
  }
  .minutes-editor {
    display:block
  }
  .minutes-editor>.card {
    position:static
  }
  .minutes-editor>.card textarea {
    min-height:110px
  }
  .agenda-item>summary {
    font-size:10px;
    gap:10px
  }
  .agenda-columns textarea {
    font-size:14px;
    min-height:190px
  }
  .save-bar {
    bottom:77px;
    gap:12px;
    padding:14px
  }
  .save-bar label {
    min-width:110px;
    flex:1;
    font-size:9px
  }
  .save-bar button {
    font-size:9px;
    flex:1;
    padding:10px
  }
  .save-bar [data-save-state] {
    flex-basis:100%;
    font-size:8px
  }
  .card {
    padding:20px
  }
  .section-heading {
    gap:12px
  }
  .section-heading h2 {
    font-size:17px
  }
  .section-heading .text-link {
    font-size:9px
  }
  .footer {
    margin-top:20px;
    padding-top:20px
  }
  .archive-filter {
    display:grid;
    grid-template-columns:1fr 1fr
  }
  .archive-filter .grow {
    grid-column:1/-1
  }
  .archive-filter input,.archive-filter select {
    font-size:12px
  }
  .filter button {
    min-width:0
  }
  .login-page .login-layout:has(.login-card) {
    width:100%
  }
}
@media(max-width:359px) {
  .main {
    padding-inline:14px
  }
  .product-header {
    padding-inline:14px
  }
  .product-name {
    font-size:15px
  }
  .product-name small {
    font-size:7px
  }
  .product-mark {
    width:38px;
    height:38px
  }
  .account-menu>summary .icon {
    display:none
  }
  .task-state>.badge {
    display:none
  }
  .task-symbol {
    width:31px
  }
  .workspace,.attendance-panel {
    padding:16px
  }
  .attendance-quick button {
    font-size:7px
  }
  .login-hero {
    padding-inline:22px
  }
  .hero-copy h1 {
    font-size:37px
  }
  .hero-copy>p:last-child {
    font-size:11px
  }
  .login-access {
    padding-inline:16px
  }
  .login-card {
    padding:22px
  }
  .login-org strong {
    font-size:11px
  }
  .login-page .auth-theme {
    right:18px;
    width:96px
  }
  .hero-brand .product-name {
    font-size:22px
  }
}
@media(prefers-reduced-motion:no-preference) {
  a,button {
    transition:background .15s ease,border-color .15s ease
  }
  .login-card {
    animation:proto-enter .45s ease both
  }
  @keyframes proto-enter {
    from {
      opacity:0;
      transform:translateY(8px)
    }
    to {
      opacity:1;
      transform:translateY(0)
    }
  }
}
.attendance-quick button {
  font-size:10px;
  min-height:44px
}
.attendance-panel .attendance-quick button {
  font-size:10px
}
.notes-column {
  scroll-margin-top:20px
}
.count-label {
  width:28px;
  flex:none
}
.raw-area {
  background:var(--surface-soft);
  border:1px solid var(--line);
  padding:6px 14px;
  border-radius:9px
}
.raw-area textarea {
  background:var(--surface)
}
.agenda-title input {
  border:1px solid var(--line);
  border-radius:8px;
  padding:11px 12px
}
.badge.unrecorded {
  background:var(--surface-soft);
  color:var(--muted);
  border-color:var(--line)
}
.event-workbench .attendance-list .attendance-row {
  display:block;
  padding:13px 0
}
.event-workbench .attendance-summary {
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  margin-bottom:9px
}
.event-workbench .attendance-summary>span:first-child {
  flex:1
}
.event-workbench .attendance-edit>summary {
  max-width:none;
  min-height:28px;
  padding:0;
  font-size:9px
}
.event-workbench .attendance-quick {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:5px
}
.event-workbench .attendance-quick button {
  min-width:0;
  font-size:10px;
  padding:8px 2px
}
.event-workbench .attendance-quick button[aria-pressed=true] {
  background:#367e6524;
  color:var(--ink);
  border-color:#478774
}
@media(max-width:650px) {
  .event-heading .back-link {
    margin-bottom:12px
  }
  .event-heading {
    margin-bottom:20px
  }
  .event-heading .event-meta {
    margin-top:10px
  }
  .event-heading h1 {
    font-size:23px
  }
  .event-workbench .attendance-list .attendance-row {
    padding:10px 0
  }
  .event-workbench .attendance-list {
    max-height:245px
  }
  .event-workbench .attendance-summary>span:first-child {
    max-width:none
  }
  .event-workbench .attendance-quick button {
    font-size:9px
  }
  .event-workbench .attendance-edit>summary {
    min-height:27px
  }
  .event-workbench .attendance-panel>.help {
    font-size:9px;
    line-height:1.5
  }
  .event-workbench .attendance-panel {
    padding-top:18px;
    padding-bottom:12px
  }
}
.event-row {
  grid-template-columns:64px 86px minmax(0,1fr) minmax(150px,220px) 20px;
  gap:20px;
  padding:22px;
  min-width:0;
  border:1px solid var(--line);
  border-radius:13px;
  background:var(--surface);
  margin-bottom:12px
}
.event-row:last-child {
  border-bottom:1px solid var(--line)
}
.event-row-title {
  min-width:0
}
.event-row-title strong {
  font-size:13px;
  overflow-wrap:anywhere
}
.list-date {
  display:flex;
  flex-direction:column;
  align-items:center;
  border-right:1px solid var(--line);
  padding-right:18px;
  min-width:0
}
.list-date strong {
  font-size:26px;
  line-height:1.2
}
.list-date span {
  font-size:9px;
  white-space:nowrap
}
.event-start {
  font-size:10px;
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--muted)
}
.event-start .icon {
  width:14px
}
.event-location {
  display:flex!important;
  gap:5px;
  align-items:center;
  color:var(--muted)
}
.event-location .icon {
  width:13px;
  height:13px
}
.event-location span {
  font-size:10px
}
.event-row-labels {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  justify-content:flex-start;
  min-width:0
}
.event-kind {
  font-size:9px;
  color:var(--muted);
  background:var(--surface-soft);
  border:1px solid var(--line);
  border-radius:6px;
  padding:5px 8px;
  max-width:100%;
  overflow-wrap:anywhere;
  line-height:1.5
}
.event-row-action .icon {
  color:var(--muted);
  width:16px
}
.event-row .badge {
  max-width:100%;
  white-space:normal;
  line-height:1.5;
  font-size:9px
}
.event-list {
  min-width:0
}
.archive-filter~.event-list {
  margin-top:12px
}
@media(max-width:900px) {
  .event-row {
    grid-template-columns:55px minmax(0,1fr) 20px;
    gap:8px 16px;
    padding:18px
  }
  .list-date {
    grid-column:1;
    grid-row:1/4;
    align-self:center;
    padding-right:12px
  }
  .event-row-title {
    grid-column:2;
    grid-row:1
  }
  .event-start {
    grid-column:2;
    grid-row:2
  }
  .event-row-labels {
    grid-column:2;
    grid-row:3;
    margin-top:4px
  }
  .event-row-action {
    grid-column:3;
    grid-row:1/4
  }
  .event-row .badge {
    margin:0;
    font-size:8px;
    grid-column:auto
  }
  .event-kind {
    font-size:8px
  }
  .event-row-title strong {
    font-size:12px
  }
}
@media(max-width:359px) {
  .event-row {
    padding:14px;
    gap:8px 10px;
    grid-template-columns:42px minmax(0,1fr) 15px
  }
  .list-date {
    padding-right:8px
  }
  .list-date strong {
    font-size:23px
  }
  .list-date span {
    font-size:8px
  }
  .event-kind {
    font-size:8px;
    padding:4px 6px
  }
}
.more-icon {
  display:none
}
@media(max-width:650px) {
  .event-heading>.actions {
    display:flex;
    flex-direction:row;
    flex-wrap:nowrap;
    justify-content:space-between;
    align-items:center;
    gap:10px
  }
  .event-heading>.actions>.button {
    padding:10px 12px;
    font-size:9px;
    gap:7px
  }
  .event-heading>.actions>.notes-shortcut {
    font-size:10px;
    white-space:nowrap
  }
  .event-more .more-label {
    display:none
  }
  .event-more .more-icon {
    display:block;
    font-size:18px;
    line-height:1
  }
  .event-more>summary {
    display:grid;
    place-items:center;
    list-style:none;
    width:36px;
    height:44px;
    min-height:44px;
    border:1px solid var(--line);
    border-radius:8px;
    background:var(--surface)
  }
  .event-more>summary::-webkit-details-marker {
    display:none
  }
  .event-heading .back-link {
    margin-bottom:9px
  }
  .event-heading>.actions .icon {
    width:15px;
    height:15px
  }
  .event-heading .eyebrow {
    font-size:8px
  }
  .event-heading h1 {
    font-size:22px
  }
  .event-heading .event-meta {
    font-size:9px
  }
}
.offline-page { min-height:100svh;display:grid;place-items:center;margin:0;padding:24px;box-sizing:border-box; }
.offline-panel { max-width:480px;padding:36px;border:1px solid var(--line);border-radius:18px;background:var(--surface); }
.offline-panel .product-brand { margin-bottom:40px; }
.offline-panel>p:not(.eyebrow) { color:var(--muted);font-size:13px;line-height:1.8; }
.offline-panel .button { display:inline-flex;text-decoration:none;color:white;margin-top:12px; }
