:root {
  color-scheme: light;
  --color-bg: #f3efe6;
  --color-surface: #fdfcf8;
  --color-surface-2: #f7f3ea;
  --color-border: #e3dccb;
  --color-border-strong: #cfc5ae;
  --color-text: #1d1b17;
  --color-text-muted: #6e685c;
  --color-primary: #1d1b17;
  --color-primary-text: #fdfcf8;
  --color-accent: #f59e0b;
  --color-accent-soft: #f6d996;
  --color-success-bg: #e9f3e8;
  --color-success-text: #2c6b3f;
  --color-danger-bg: #fae9e7;
  --color-danger-text: #b0261b;
  --color-draft-bg: #ece7db;
  --color-draft-text: #5f594b;
  --color-super-bg: #f3e4c7;
  --color-super-text: #855d0f;
  --color-organizer-bg: #e6ecf1;
  --color-organizer-text: #33576e;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;

  --radius: 0.23rem;
  --radius-sm: 0.17rem;
  --menubar-height: 3.75rem;
  --shadow: 0 1px 2px rgba(29, 27, 23, 0.05), 0 8px 24px rgba(29, 27, 23, 0.06);
}

html.dark {
  color-scheme: dark;
  --color-bg: #13120e;
  --color-surface: #1b1914;
  --color-surface-2: #232019;
  --color-border: #322e26;
  --color-border-strong: #45403a;
  --color-text: #ebe7dc;
  --color-text-muted: #9b958a;
  --color-primary: #ebe7dc;
  --color-primary-text: #1b1914;
  --color-accent: #f59e0b;
  --color-accent-soft: #4a3b18;
  --color-success-bg: #17251a;
  --color-success-text: #7fc38e;
  --color-danger-bg: #2c1a17;
  --color-danger-text: #e08a80;
  --color-draft-bg: #26231c;
  --color-draft-text: #a89f8e;
  --color-super-bg: #2f2615;
  --color-super-text: #e2b55b;
  --color-organizer-bg: #16232a;
  --color-organizer-text: #8fb6cc;

  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

h1 { font-size: 1.875rem; }
h2 { font-size: 1.375rem; }
h3 { font-size: 1.125rem; }

::selection {
  background: var(--color-accent);
  color: var(--color-primary-text);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.menubar {
  height: var(--menubar-height);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 1.5rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 40;
}

.menubar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

.brand-mark svg {
  width: 1.25rem;
  height: 1.25rem;
}

.menubar__spacer {
  flex: 1;
}

.menubar__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.75rem;
}

.menubar__link {
  padding: 0.4375rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.menubar__link:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

.menubar__link--active {
  color: var(--color-text);
  background: var(--color-accent-soft);
}

.menubar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menubar__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0.5rem;
  margin-left: 0.25rem;
}

.menubar__toggle span {
  width: 1.1rem;
  height: 2px;
  background: var(--color-text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 550;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.button:hover {
  background: var(--color-surface-2);
  border-color: var(--color-border-strong);
}

.button--ghost {
  background: none;
  border-color: transparent;
  color: var(--color-text-muted);
}

.button--ghost:hover {
  color: var(--color-text);
  border-color: var(--color-border);
  background: var(--color-surface-2);
}

.button--primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-primary-text);
}

.button--primary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  opacity: 0.88;
}

.button--danger {
  color: var(--color-danger-text);
}

.button--sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}

.app-shell {
  padding: 1.75rem 1.5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.app-shell--solo {
  max-width: 880px;
}

.anonymouse-card {
  max-width: 440px;
  margin: 3rem auto;
  padding: 2.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.anonymouse-card p {
  color: var(--color-text-muted);
}

.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.auth-header__title {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0;
}

.auth-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.auth-footer a {
  color: var(--color-text);
  font-weight: 550;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.field__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.field__input,
.field textarea,
.field select {
  padding: 0.5625rem 0.75rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  width: 100%;
  transition: border-color 0.12s ease;
}

.field__input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--color-text);
}

.form_actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.field textarea {
  resize: vertical;
}

.field__input[type="datetime-local"],
.field__input[type="date"],
.field__input[type="time"] {
  min-height: 2.375rem;
  line-height: normal;
}

.field__control {
  display: flex;
  gap: 0.375rem;
  align-items: center;
}

.field__control .field__input {
  flex: 1 1 auto;
  min-width: 0;
}

.field__clear {
  flex: 0 0 auto;
  width: 2.375rem;
  height: 2.375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.12s ease, color 0.12s ease;
}

.field__clear:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

.field__clear:focus {
  outline: none;
  border-color: var(--color-text);
}

.field .field__hint {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}


.alert {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.6875rem 0.875rem;
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-text-muted);
  border-radius: var(--radius-sm);
  margin: 1rem auto;
  max-width: 1200px;
  font-size: 0.875rem;
  transform: translateY(0);
  opacity: 1;
  max-height: 8rem;
  overflow: hidden;
  transition: opacity 180ms ease, transform 180ms ease, max-height 180ms ease, margin 180ms ease, padding 180ms ease;
}

.alert__message {
  margin: 0;
  flex: 1 1 auto;
}

.alert__dismiss {
  flex: 0 0 auto;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: currentColor;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.25rem 0.35rem;
  cursor: pointer;
}

.alert__dismiss:hover {
  text-decoration: underline;
}

.alert__dismiss:focus {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.alert--dismissing {
  opacity: 0;
  transform: translateY(-0.75rem);
  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.alert--notice {
  background: var(--color-success-bg);
  border-color: transparent;
  border-left-color: var(--color-success-text);
  color: var(--color-success-text);
}

.alert--error {
  background: var(--color-danger-bg);
  border-color: transparent;
  border-left-color: var(--color-danger-text);
  color: var(--color-danger-text);
}

.errors {
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--color-danger-text);
  border-radius: var(--radius);
  background: var(--color-danger-bg);
  color: var(--color-danger-text);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.errors__title {
  font-family: var(--font-sans);
  font-weight: 650;
  margin-bottom: 0.25rem;
}

.errors ul {
  margin: 0.25rem 0 0;
  padding-left: 1.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.4375rem;
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.4;
}

.badge--published {
  background: var(--color-success-bg);
  color: var(--color-success-text);
}

.badge--draft {
  background: var(--color-draft-bg);
  color: var(--color-draft-text);
}

.badge--super {
  background: var(--color-super-bg);
  color: var(--color-super-text);
}

.badge--organizer {
  background: var(--color-organizer-bg);
  color: var(--color-organizer-text);
}

.app-shell:has(.two-pane) {
  max-width: none;
  margin: 0;
  padding: 0;
}

.two-pane {
  display: grid;
  grid-template-columns: var(--list-w, 22rem) 0.5rem minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  height: calc(100vh - var(--menubar-height));
  height: calc(100dvh - var(--menubar-height));
}

turbo-frame {
  display: block;
  height: 100%;
}

.pane {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}

.pane--list {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.pane--detail {
  overflow-y: auto;
}

.pane-sash {
  cursor: col-resize;
  touch-action: none;
  position: relative;
  height: 100%;
  width: 100%;
}

.pane-sash:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--color-border);
}

.pane-sash:hover:after,
.is-resize-active .pane-sash:after {
  background: var(--color-accent);
}

.is-resize-active {
  user-select: none;
  cursor: col-resize;
}

.pane__header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--color-surface);
  padding: 1rem 1.125rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.pane__header h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0;
}

.pane__body {
  padding: 1rem 1.125rem;
}

.sign_up_row,
.sign_up__empty {
  display: block;
  padding: 0.8125rem 1.125rem;
  text-decoration: none;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.1s ease;
}

.sign_up_row:hover {
  background: var(--color-surface-2);
}

.sign_up_row--placeholder {
  border-left: 3px solid var(--color-border-strong);
}

.sign_up_row--selected,
.sign_up_row--selected:hover {
  background: var(--color-surface-2);
  box-shadow: inset 3px 0 0 var(--color-primary);
}

.sign_up_row__title {
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sign_up_row__heading {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.sign_up_row__date {
  margin-left: auto;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.sign_up_row__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.sign_up_row__status {
  font-size: 0.75rem;
}

.sign_up_list__section {
  padding-top: 0.75rem;
}

.sign_up_list__section:first-of-type {
  padding-top: 0.5rem;
}

.sign_up_list__title {
  margin: 0 1.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.sign_up__detail {
  padding: 1.5rem 1.75rem 2rem;
}

.sign_up__meta {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.625rem;
  align-items: center;
  flex-wrap: wrap;
}

.sign_up__meta .badge {
  font-size: 0.6875rem;
}

.sign_up__title {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 0.375rem;
}

.sign_up__description {
  margin: 0 0 1.5rem;
  white-space: pre-wrap;
  color: var(--color-text);
}

.sign_up__actions {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.sign_up__actions > * {
  align-self: stretch;
}

.sign_up__actions > form {
  display: flex;
}

.sign_up__actions > form .button {
  width: 100%;
  height: 100%;
}

.sign_up__actions .button {
  min-height: 2.375rem;
}

.detail-back {
  padding: 0.1875rem 0.4375rem;
  font-size: 0.75rem;
  border: none;
  background: none;
  color: var(--color-text-muted);
}

.detail-back:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}

.share_box {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0.625rem 0.75rem;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius);
  background: var(--color-surface-2);
  font-size: 0.875rem;
  word-break: break-all;
}

.share_box__label {
  font-weight: 600;
  flex: 0 0 auto;
}

.share_box__url {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.share_box__copy {
  flex: 0 0 auto;
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: border-color 0.12s ease, background-color 0.12s ease;
}

.share_box__copy:hover {
  border-color: var(--color-text);
  background: var(--color-surface-2);
}

.respondents {
  margin-top: 2rem;
}

.respondents__title {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.875rem;
}

.data-table th,
.data-table td {
  padding: 0.625rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.data-table th {
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--color-surface-2);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  height: 100%;
}

.empty-state__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text-muted);
}

.empty-state__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.empty-state h2 {
  color: var(--color-text);
  margin: 0 0 0.375rem;
}

.empty-state p {
  margin: 0;
}

.time_slot_option {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: border-color 0.12s ease, background-color 0.12s ease;
}

.time_slot_option:hover {
  border-color: var(--color-border-strong);
  background: var(--color-surface-2);
}

.time_slot_option input {
  accent-color: var(--color-text);
}

.time_slot_option__label {
  flex: 1 1 auto;
  font-weight: 600;
}

.time_slot_option__status {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.time_slot_option--disabled,
.time_slot_option--disabled:hover {
  opacity: 0.55;
  cursor: not-allowed;
  background: var(--color-surface);
  border-color: var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.125rem 1.25rem;
}

.stat-card__value {
  font-family: var(--font-serif);
  font-size: 2.125rem;
  font-weight: 600;
  line-height: 1.1;
}

.stat-card__label {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

.table-list {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.table-list th,
.table-list td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.table-list th {
  color: var(--color-text-muted);
  font-weight: 650;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.theme-switcher {
  position: relative;
}

.theme-switcher__button {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}

.theme-switcher__button:hover {
  background: var(--color-surface-2);
  border-color: var(--color-border-strong);
}

.theme-switcher__button svg {
  width: 1.125rem;
  height: 1.125rem;
}

.theme-switcher__icon--moon {
  display: none;
}

html.dark .theme-switcher__icon--sun {
  display: none;
}

html.dark .theme-switcher__icon--moon {
  display: block;
}

.theme-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 9.5rem;
  padding: 0.3125rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.theme-menu__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.4375rem 0.625rem;
  border: none;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  cursor: pointer;
  text-align: left;
}

.theme-menu__option:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}

.theme-menu__option--active {
  color: var(--color-text);
  font-weight: 600;
}

.theme-menu__option svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-accent);
  visibility: hidden;
}

.theme-menu__option--active svg {
  visibility: visible;
}

.user-menu-root {
  position: relative;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}

.avatar:hover {
  background: var(--color-surface-2);
  border-color: var(--color-border-strong);
  color: var(--color-text);
}

.avatar svg {
  width: 1.25rem;
  height: 1.25rem;
}

.user-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 14rem;
  padding: 0.3125rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.user-menu__header {
  padding: 0.5625rem 0.625rem 0.6875rem;
}

.user-menu__name {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
}

.user-menu__email {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  margin-top: 0.125rem;
  overflow-wrap: anywhere;
}

.user-menu__divider {
  height: 1px;
  background: var(--color-border);
  margin: 0.25rem 0;
}

.user-menu__item {
  display: block;
  width: 100%;
  padding: 0.5rem 0.625rem;
  border: none;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.user-menu__item:hover {
  background: var(--color-surface-2);
}

.user-menu__item--danger {
  color: var(--color-danger-text);
}

@media (max-width: 768px) {
  .menubar__toggle {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .menubar {
    flex-wrap: nowrap;
    height: var(--menubar-height);
    padding: 0.625rem 1rem;
    gap: 0.5rem;
    position: sticky;
  }

  .menubar__spacer {
    display: none;
  }

  .menubar__brand {
    order: 0;
    min-width: 0;
    flex: 1 1 auto;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .theme-switcher,
  .user-menu-root {
    order: 3;
    flex: 0 0 auto;
  }

  .menubar__nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.125rem;
    margin-left: 0;
    display: none;
    padding: 0.5rem 1rem 0.75rem;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    z-index: 45;
  }

  .menubar__nav--open {
    display: flex;
  }

  .menubar__nav .menubar__link {
    padding: 0.5rem 0.625rem;
  }

  .user-menu {
    right: 0;
    max-width: calc(100vw - 1.5rem);
  }

  .two-pane {
    grid-template-columns: 1fr;
    position: relative;
    overflow: hidden;
  }

  .two-pane .pane {
    grid-column: 1;
    grid-row: 1;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .pane-sash {
    display: none;
  }

  .two-pane[data-pane="list"] .pane--list {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .two-pane[data-pane="list"] .pane--detail {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
  }

  .two-pane[data-pane="detail"] .pane--list {
    transform: translateX(-28%);
    opacity: 0;
    pointer-events: none;
  }

  .two-pane[data-pane="detail"] .pane--detail {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .anonymouse-card {
    margin: 1.5rem auto;
    padding: 1.5rem;
  }

  .app-shell {
    padding: 1rem 1rem 2.5rem;
  }

  .sign_up__detail {
    padding: 1.25rem 1rem;
  }

  .sign_up__title {
    font-size: 1.5rem;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    display: none;
  }

  .menubar__brand {
    font-size: 0.95rem;
  }
}

.profile-list {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin: 0;
}

.profile-row {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.profile-row:last-child {
  border-bottom: none;
}

.profile-row dt {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  padding-top: 0.1rem;
}

.profile-row dd {
  margin: 0;
}
