.issue-summary {
  flex: 1;
  min-width: 0;
}

.title-editor { margin-top: 4px; max-width: 780px; }
.title-editor summary { display: flex; align-items: center; gap: 12px; color: #d7e2e1; cursor: pointer; border-radius: 8px; padding: 5px 9px; margin-left: -9px; list-style: none; }
.title-editor summary::-webkit-details-marker { display: none; }
.title-editor summary span { font: 600 20px 'DM Sans', sans-serif; flex: 1; }
.title-editor summary b { color: #8fd271; font-size: 12px; opacity: 0; transition: .15s; }
.title-editor summary:hover { background: rgba(255,255,255,.08); color: #fff; }
.title-editor summary:hover b { opacity: 1; }
.title-editor[open] summary { display: none; }
.title-editor form { display: grid; gap: 10px; }

.description-editor {
  margin-top: 14px;
  max-width: 780px;
}

.description-editor summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #abbdbc;
  cursor: pointer;
  border-radius: 8px;
  padding: 7px 9px;
  margin-left: -9px;
  list-style: none;
}

.description-editor summary::-webkit-details-marker { display: none; }
.description-editor summary:hover { background: rgba(255,255,255,.08); color: #fff; }
.description-editor summary span { flex: 1; white-space: pre-wrap; }
.description-editor summary b { color: #ff8c70; font-size: 12px; opacity: 0; transition: .15s; }
.description-editor summary:hover b { opacity: 1; }
.description-editor[open] summary { display: none; }
.description-editor form { display: grid; gap: 10px; }
.description-editor textarea { background: #fff; color: var(--ink); resize: vertical; }
.inline-actions { display: flex; justify-content: flex-end; gap: 8px; }
.timeline-heading { font-family: 'Space Grotesk', sans-serif; }
.timeline-entry-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.timeline-toggle { border: 0; background: none; color: var(--accent2); padding: 1px 4px; font: 700 11px 'DM Sans', sans-serif; cursor: pointer; }
.timeline-toggle:hover { text-decoration: underline; }
.timeline article.is-collapsed { padding-bottom: 14px; }
.timeline article.is-collapsed p { display: none; }
.timeline-actor { color: var(--muted); font-weight: 600; white-space: nowrap; }
.attachment-form { display: grid; gap: 14px; margin-top: 18px; }
.optional { color: var(--muted); font-weight: 400; }
.gallery .filename { font-weight: 700; }
.attachment-caption { display: block; padding: 0 8px 10px; color: var(--muted); font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.pdf-preview { position: relative; display: block; width: 100%; height: 125px; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.pdf-preview embed { width: 100%; height: 170px; pointer-events: none; border: 0; }
.pdf-preview b { position: absolute; right: 7px; bottom: 7px; padding: 3px 6px; border-radius: 4px; background: rgba(18,38,42,.82); color: #fff; font-size: 10px; letter-spacing: .06em; }
.case-schedule-card h3 { margin-top: 4px; }
.schedule-intro { color: var(--muted); margin: 6px 0 16px; font-size: 13px; }
.case-schedule-item { border-top: 1px solid var(--line); padding: 14px 0; }
.case-schedule-summary { display: flex; gap: 10px; align-items: flex-start; }
.schedule-icon { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 7px; color: #326d1c; background: #e8f5e2; }
.case-schedule-summary strong,.case-schedule-summary time,.case-schedule-summary small { display: block; }
.case-schedule-summary time { color: var(--ink); font-weight: 700; margin-top: 3px; }
.case-schedule-summary small { color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; }
.schedule-editor { margin: 9px 0 0 38px; }
.schedule-editor>summary { color: var(--accent2); font-size: 12px; font-weight: 700; cursor: pointer; }
.schedule-editor .stack { margin-top: 10px; }
.schedule-clear { margin-top: 10px; color: var(--red); }
