:root { font-family: system-ui, -apple-system, sans-serif; color: #202124; background: #fff; font-size: 16px; line-height: 1.5; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.wrap { max-width: 850px; margin: auto; padding: 0 24px 48px; }
a { color: #1858b8; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; }
button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; border: 1px solid #b8bdc5; border-radius: 5px; background: #fff; color: #202124; text-decoration: none; cursor: pointer; }
button:hover:not(:disabled), .button:hover { background: #f2f4f7; }
button:disabled { color: #626974; border-color: #d3d6dc; background: #f2f4f7; cursor: not-allowed; }
button.primary, a.primary { background: #1858b8; border-color: #1858b8; color: #fff; }
button.primary:hover:not(:disabled), a.primary:hover { background: #10458f; }
button.primary:disabled { color: #626974; border-color: #d3d6dc; background: #f2f4f7; }
button.text-button { padding: 8px 0; border: 0; color: #1858b8; background: transparent; text-align: left; justify-content: flex-start; }
button.text-button:hover { text-decoration: underline; background: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #1858b8; outline-offset: 3px; }
input:not([type="checkbox"]), textarea, select { padding: 10px; border: 1px solid #a6acb5; border-radius: 4px; color: inherit; background: #fff; min-height: 44px; max-width: 100%; }
input:not([type="checkbox"]), textarea { width: 100%; }
textarea { display: block; resize: vertical; line-height: 1.55; }
label { display: block; margin: 12px 0; }
label > input, label > textarea { margin-top: 5px; }
form > .row { margin-top: 10px; }
h1 { font-size: 26px; line-height: 1.25; margin: 24px 0 16px; font-weight: 650; }
h2 { font-size: 20px; line-height: 1.3; margin: 0; font-weight: 650; }
h3 { font-size: 16px; line-height: 1.5; margin: 0; font-weight: 650; }
p { margin: 10px 0; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.header { justify-content: space-between; padding: 12px 0; }
.brand { font-size: 20px; font-weight: 650; color: inherit; text-decoration: none; }
.tabs { border-bottom: 1px solid #d3d6dc; gap: 20px; }
.tabs button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 10px 0; color: #555d68; background: transparent; }
.tabs button.active { border-bottom-color: #202124; color: #202124; font-weight: 650; }
.connection-note { margin: 16px 0; padding: 10px 12px; border: 1px solid #d3d6dc; border-radius: 4px; font-size: 14px; color: #555d68; }
.connection-note.connected { padding: 0; border: 0; }
.muted, .status { font-size: 14px; color: #555d68; }
.section-title { margin-top: 28px; justify-content: space-between; }
.filter { margin: 0; }
.item { padding: 20px 0; border-bottom: 1px solid #d3d6dc; }
.item-head { display: flex; gap: 10px; justify-content: space-between; align-items: baseline; margin-bottom: 10px; flex-wrap: wrap; }
.item .row { margin-top: 10px; }
.body { white-space: pre-wrap; overflow-wrap: anywhere; }
.item textarea { min-height: 160px; }
.error { color: #a12724; overflow-wrap: anywhere; }
.empty { margin: 24px 0; color: #555d68; }
details { margin: 16px 0; }
summary { cursor: pointer; min-height: 44px; display: list-item; padding: 10px 0; }
details form { margin: 8px 0 16px; }
.search-row { flex-wrap: nowrap; }
.search-row input { flex: 1; min-width: 0; }
.check { display: flex; align-items: flex-start; gap: 8px; }
.check input { width: 18px; height: 18px; margin: 4px 0 0; flex: 0 0 auto; }
.reply-box { margin-top: 16px; padding: 12px; border: 1px solid #d3d6dc; border-radius: 4px; }
.reply-box textarea { min-height: 120px; }
.scheduled-date { width: auto !important; }
#notice { position: sticky; top: 8px; padding: 12px; background: #fff; border: 1px solid #697180; border-radius: 4px; z-index: 2; }
.back { margin-top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 600px) {
  .wrap { padding: 0 16px 32px; }
  h1 { font-size: 24px; }
  .section-title { align-items: flex-start; }
  .item-head { display: block; }
  .status { display: block; margin-top: 3px; }
}
