/* Cloud Xolution brief page (loaded after style.css) */
.brief-page { background: var(--surface); }
.top__title { color: var(--muted-dark); font-weight: 600; font-size: 15px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .2); }
.top__back { margin-left: auto; color: var(--paper); text-decoration: none; font-weight: 700; font-size: 15px; }
.top__back:hover { text-decoration: underline; text-decoration-color: var(--neon); text-decoration-thickness: 3px; text-underline-offset: 6px; }

.brief { max-width: 860px; padding-top: 56px; padding-bottom: 96px; }
.brief__intro h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
.bform { display: grid; gap: 20px; margin-top: 40px; }

.bcard { margin: 0; min-width: 0; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px 30px 30px; }
.bcard legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 18px; padding: 0; }
.bcard legend + * { clear: both; }
.bcard__n { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 15px; box-shadow: inset 0 -4px 0 var(--neon); }
.req { color: #B42318; font-weight: 800; }
.opt { color: var(--muted); font-weight: 500; font-size: 13.5px; }
.help { color: var(--muted); font-size: 15px; font-weight: 500; }
.help--gap { margin-top: 22px; }
.field--gap { margin-top: 18px; }

.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.field { display: grid; gap: 6px; font-size: 15px; font-weight: 700; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); width: 100%;
  background: var(--paper); border: 1px solid #C9CDD2; border-radius: var(--radius-sm); padding: 11px 14px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0, 240, 122, .35); }
.field [aria-invalid="true"] { border-color: #B42318; box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chipbox { position: relative; cursor: pointer; }
.chipbox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chipbox span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border: 1px solid #C9CDD2; border-radius: 999px; font-size: 15px; font-weight: 600; background: var(--paper);
  transition: background-color .15s, border-color .15s, color .15s;
}
.chipbox span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid #9AA0A7; transition: background-color .15s, border-color .15s; }
.chipbox:hover span { border-color: var(--ink); }
.chipbox input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chipbox input:checked + span::before { background: var(--neon); border-color: var(--neon); }
.chipbox input:focus-visible + span { outline: 3px solid var(--neon); outline-offset: 2px; }
#needsSet.is-invalid { border-color: #B42318; }

.berror { color: #B42318; font-weight: 600; background: #FEF3F2; border: 1px solid #FBD5D0; border-radius: var(--radius-sm); padding: 12px 16px; }
.bactions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bsaved { color: var(--muted); font-size: 14px; }

.bdone { margin-top: 40px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 34px 30px; outline: none; }
.bdone h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.bdone > p:not(.kicker) { color: #2A2E33; margin: 14px 0 24px; max-width: 40em; }
.bpreview {
  margin: 26px 0 0; padding: 20px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-sm);
  font: 14px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow: auto;
}

.foot--slim { padding: 22px 0; }
.foot--slim .foot__base { margin-top: 0; padding-top: 0; border-top: 0; }

@media (max-width: 860px) {
  .top__title { display: none; }
}
@media (max-width: 600px) {
  .brief { padding-top: 36px; }
  .bcard { padding: 22px 18px 24px; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .bactions .btn { width: 100%; }
  .bdone { padding: 26px 18px; }
}
