.rr-brief {
  --brief-ink: #161c25;
  --brief-muted: #59616a;
  --brief-rule: #d1d5d6;
  --brief-accent: #bf1835;
  color: var(--brief-ink);
  background: #fafaf8;
  padding-bottom: clamp(56px, 6.5vw, 100px);
}
.rr-brief-crumb {
  display: flex;
  gap: 11px;
  align-items: center;
  color: var(--brief-muted);
  padding-top: clamp(17px, 2.2vw, 34px);
  font-size: 13px;
}
.rr-brief-crumb a:hover { color: var(--brief-accent); }
.rr-brief-intro {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid #a8afb2;
  padding-block: clamp(28px, 3.3vw, 55px) clamp(25px, 3vw, 48px);
}
.rr-brief h1 {
  margin: 0;
  color: var(--brief-ink);
  font-size: clamp(42px, 5.1vw, 80px);
  font-weight: 680;
  line-height: 1.12;
  letter-spacing: -.05em;
}
.rr-brief-intro p {
  margin: 0;
  max-width: 22em;
  color: var(--brief-muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.8;
}
.rr-brief-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .78fr);
  gap: clamp(38px, 7vw, 118px);
  padding-top: clamp(30px, 3.6vw, 56px);
  align-items: start;
}
.rr-brief-editor, .rr-brief-topics { min-width: 0; border: 0; margin: 0; padding: 0; }
.rr-brief-topics legend, .rr-brief-field {
  display: block;
  padding: 0;
  margin: 0 0 12px;
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 620;
}
.rr-brief-options { display: flex; gap: 8px; flex-wrap: wrap; }
.rr-brief-options label { position: relative; }
.rr-brief-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rr-brief-options span {
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid #b8bec2;
  padding: 10px 13px;
  min-height: 44px;
  line-height: 1.5;
  font-size: 14px;
}
.rr-brief-options span::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #777f88;
}
.rr-brief-options input:checked + span {
  color: var(--brief-ink);
  border-color: var(--brief-accent);
  background: #fff6f6;
}
.rr-brief-options input:checked + span::before {
  background: var(--brief-accent);
  border-color: var(--brief-accent);
  box-shadow: inset 0 0 0 2px #fff6f6;
}
.rr-brief-options input:focus-visible + span,
.rr-brief textarea:focus-visible, .rr-brief button:focus-visible { outline: 2px solid var(--brief-accent); outline-offset: 3px; }
.rr-brief-field { margin-top: 27px; }
.rr-brief-field span { color: var(--brief-muted); margin-left: 7px; font-size: 12px; font-weight: 400; }
.rr-brief textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 86px;
  resize: vertical;
  border: 1px solid #b8bec2;
  border-radius: 0;
  background: white;
  color: var(--brief-ink);
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  line-height: 1.65;
}
.rr-brief textarea::placeholder { color: #666d74; opacity: 1; }
.rr-brief-draft { min-width: 0; }
.rr-brief-sheet {
  background: #fff;
  border: 1px solid var(--brief-rule);
  border-top: 3px solid var(--brief-accent);
  padding: clamp(20px, 2.45vw, 40px);
}
.rr-brief-sheet-head { padding-bottom: 18px; border-bottom: 1px solid var(--brief-rule); }
.rr-brief-sheet-head h2 { margin: 0; font-size: clamp(23px, 2vw, 32px); font-weight: 650; letter-spacing: -.035em; line-height: 1.35; }
.rr-brief-sheet dl { margin: 0 0 22px; }
.rr-brief-sheet dt { margin: 18px 0 4px; font-size: 12px; color: var(--brief-muted); }
.rr-brief-sheet dd { margin: 0; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; white-space: pre-wrap; }
.rr-brief-sheet dd.is-empty { color: #666d74; }
.rr-brief-actions { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--brief-rule); padding-top: 20px; }
.rr-brief-actions button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--brief-ink);
  border: 1px solid var(--brief-ink);
  border-radius: 0;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  min-height: 44px;
  padding: 9px 15px;
  cursor: pointer;
}
.rr-brief-actions button:first-child { background: var(--brief-ink); color: #fff; }
.rr-brief-actions button:hover:enabled { border-color: var(--brief-accent); color: var(--brief-accent); }
.rr-brief-actions button:first-child:hover:enabled { background: var(--brief-accent); color: white; }
.rr-brief-actions button:disabled { color: #737981; background: #f3f3f1; border-color: #dcdfdf; cursor: default; }
.rr-brief-actions svg { width: 16px; height: 16px; }
.rr-brief-status, #rr-brief-manual label { color: var(--brief-muted); font-size: 13px; line-height: 1.65; }
.rr-brief-status { margin: 12px 0 0; }
.rr-brief-status:empty { margin: 0; }
#rr-brief-manual label { display: block; margin: 12px 0 6px; }
@media (max-width: 800px) {
  .rr-brief-grid { grid-template-columns: 1fr; gap: 30px; }
  .rr-brief-intro { display: grid; gap: 15px; }
  .rr-brief-intro p { max-width: 34em; }
}
@media (max-width: 420px) {
  .rr-brief-options { gap: 6px; }
  .rr-brief-options span { padding-inline: 9px; font-size: 13px; gap: 5px; }
}
