#calc-brief { scroll-margin-top: 104px; }
.brief-intake {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: 20px 34px;
  align-items: start;
  overflow-anchor: none;
  padding-block: clamp(30px, 5vw, 65px);
  color: #f0eee2;
}
.brief-intro { grid-column: 1 / -1; }
.brief-intro h2 { margin: 0; font: 400 clamp(35px, 5vw, 58px)/1.08 Anton, sans-serif; }
.brief-intro em { color: #a4f3bf; font-style: normal; }
.brief-intro > p:last-child { color: #d2e3d7; max-width: 63ch; line-height: 1.55; margin-bottom: 0; }
.brief-editor { display: grid; gap: 9px; align-content: start; }
.brief-log { display: grid; align-content: start; gap: 9px; block-size: clamp(12rem, 30dvh, 18rem); overflow-y: auto; padding: 12px; background: #0a1e15; border: 1px solid #486858; }
.brief-log:empty { display: none; }
.brief-call { margin: 0; color: #d2e3d7; font-size: 15px; line-height: 1.5; }
.brief-call a { display: inline-flex; align-items: center; min-height: 44px; color: #a4f3bf; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.brief-bubble { max-width: 88%; margin: 0; padding: 9px 12px; background: #17362a; color: #eef5ef; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.brief-bubble strong { display: block; color: #a4f3bf; margin-bottom: 4px; font-size: 12px; }
.brief-client { justify-self: end; background: #c4e9d0; color: #10291e; }
.brief-client strong { color: #224c38; }
.brief-editor label { font-size: 15px; font-weight: 700; }
.brief-question { margin: 0; color: #a4f3bf; line-height: 1.45; font-weight: 600; }
.brief-question:empty { display: none; }
.brief-editor textarea {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid #759783;
  color: #142b20;
  background: #f4f1e8;
  font: inherit;
}
.brief-editor textarea { resize: vertical; min-height: 100px; font-size: 16px; }
.brief-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 15px; }
.brief-actions button[data-brief-example] { background: transparent; color: #a4f3bf; border: 0; padding: 8px 0; min-height: 44px; text-decoration: underline; cursor: pointer; }
.brief-feedback { margin: 0; color: #d2e3d7; font-size: 14px; }
.brief-feedback.is-working {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #648976;
  background: #122a20;
  line-height: 1.45;
}
.brief-feedback.is-working::before {
  content: '';
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 2px solid #648976;
  border-top-color: #a4f3bf;
  border-radius: 50%;
  animation: brief-wait 900ms linear infinite;
}
@keyframes brief-wait { to { transform: rotate(1turn); } }
.brief-inspiration {
  display: grid;
  grid-template-columns: clamp(68px, 22%, 112px) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 136px;
  margin: 0;
  padding: 8px;
  border: 1px solid #466957;
  background: #0e2118;
}
.brief-inspiration[hidden] { display: none; }
.brief-inspiration img {
  width: 100%;
  height: clamp(70px, 10vw, 94px);
  object-fit: cover;
  display: block;
  background: #18352a;
}
.brief-inspiration figcaption { display: grid; gap: 4px; padding-right: 4px; }
.brief-inspiration-kicker { color: #a4f3bf; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.brief-inspiration strong { color: #f0eee2; font-size: 16px; line-height: 1.25; }
.brief-inspiration [data-idea-detail] { color: #d2e3d7; font-size: 13px; line-height: 1.35; }
.brief-inspiration small { color: #a2bbac; font-size: 11px; }
@media (prefers-reduced-motion: reduce) {
  .brief-feedback.is-working::before { animation: none; }
}
.brief-results { padding: clamp(13px, 3vw, 26px); border: 1px solid #648976; background: #122a20; }
.brief-results[hidden] { display: none; }
.brief-results h3 { margin: 0 0 12px; font: 400 25px Anton, sans-serif; }
.brief-rows { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.brief-rows > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; align-items: center; border: 1px solid #557866; padding: 12px; }
.brief-rows > li strong { grid-column: 1 / -1; }
.brief-rows > li b, .brief-actions > a:not(.c-button) { color: #a4f3bf; }
.brief-actions > a:not(.c-button) { text-decoration: underline; }
.brief-note { color: #d2e3d7; font-size: 14px; }
.brief-estimate { margin: 16px 0 0; color: #a4f3bf; font-size: clamp(19px, 3vw, 26px); font-weight: 700; }
.brief-contact { padding: 12px; margin-bottom: 12px; border: 1px solid #729984; }
.brief-contact p { overflow-wrap: anywhere; }
.brief-contact pre { max-height: 19rem; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 14px; }
@media (max-width: 700px) {
  #calc-brief { scroll-margin-top: 84px; }
  .brief-intake { grid-template-columns: minmax(0, 1fr); }
}

