.brief-anchor { display: block; height: 0; }
#brief label { display: grid; align-content: start; gap: .35rem; font-size: 1rem; font-weight: 600; color: #24395a; }
#brief input, #brief select, #brief textarea { font: inherit; font-weight: 400; width: 100%; min-width: 0; color: #172947; border: 1px solid #a5b4cd; border-radius: 5px; background: white; padding: .65rem .75rem; }
#brief textarea { resize: vertical; }
#brief :focus-visible { outline: 3px solid #335eca; outline-offset: 2px; }
.brief-row { margin: 0 0 1rem; min-width: 0; padding: .55rem 1.2rem 1.2rem; background: #f0f4fb; border: 1px solid #bccbe2; border-radius: 8px; }
.brief-row legend { padding: 0 .4rem; font-weight: 700; color: #233f7e; }
.brief-fields { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: .8rem 1rem; margin: .5rem 0 1rem; }
.brief-row .brief-fields { margin-bottom: 0; }
.brief-more, .brief-remove { color: #254687; cursor: pointer; font: inherit; border: 0; padding: .45rem 0; background: transparent; text-decoration: underline; text-underline-offset: .2em; }
.brief-more { margin-bottom: 1rem; font-weight: 650; }
.brief-overview { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; padding: .8rem 1rem; margin-bottom: 1rem; background: #e5edf9; border-radius: 6px; }
.brief-overview strong, .brief-overview small { display: block; }
.brief-overview small { color: #425672; }
.brief-overview .brief-more, .brief-navigation .brief-more { margin: 0; }
.brief-navigation { display: flex; align-items: center; flex-wrap: wrap; gap: .15rem 1.1rem; margin-bottom: 1rem; }
.brief-navigation a { font-size: .95rem; }
.brief-remove { margin-top: .6rem; font-size: .92rem; }
.brief-send { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #bccbe2; }
.brief-send summary { cursor: pointer; color: #254687; }
.brief-send pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; padding: 1rem; background: #edf2fa; }
.brief-buttons { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1rem 0 .55rem; }
.brief-buttons button { cursor: pointer; }
.brief-status:empty { display: none; }
@media (max-width: 600px) { .brief-fields { grid-template-columns: 1fr; } }
