main { max-width: 640px; padding-top: 40px; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); margin: 30px 0 8px; font-weight: 700; }
.row-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.row-head h2 { margin: 30px 0 8px; }
.linkish { font: inherit; font-size: 13px; color: var(--accent); background: none; border: 0; cursor: pointer; padding: 0; }
button.small { font-size: 13px; padding: 7px 12px; }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; margin: 12px 0 0; background: var(--paper); }
.field-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 10px 0; }
.field-row label { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.field-row select, .field-row input { font: inherit; font-size: 14px; padding: 7px 10px; border: 1px solid #cfd7df; border-radius: 6px; background: var(--paper); color: var(--ink); min-width: 0; }
.field-row input { flex: 1; }
.group { margin: 8px 0 14px; }
.group-title { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-soft); margin: 0 0 4px; }
.group-title strong { color: var(--ink); }
.person { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.person:first-of-type { border-top: 0; }
.person .name { font-weight: 600; }
.person .sub { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.person .sub .mono { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #c7ced8; margin: 0 5px 1px 0; }
.dot.on { background: var(--ok); box-shadow: 0 0 0 3px rgba(14,159,110,.15); }
.actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.actions button { font: inherit; font-size: 12px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink-soft); cursor: pointer; }
.actions button:hover { border-color: #b8c2cf; color: var(--ink); }
.actions button.danger:hover { color: #c0392b; border-color: #e8b4ad; }
.msg { display: grid; grid-template-columns: 18px minmax(0,1fr) auto; gap: 10px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.msg:first-of-type { border-top: 0; }
.msg .arrow { color: var(--ink-mute); font-family: var(--mono); }
.msg .when { font-size: 12px; color: var(--ink-mute); white-space: nowrap; }
.msg .subj { font-weight: 600; }
.msg .meta { font-size: 12px; color: var(--ink-soft); }
details.quiet { border-top: 0; margin-top: 16px; }
details.quiet summary { font-size: 13px; color: var(--ink-mute); font-weight: 600; }
.mono { font-family: var(--mono); }
