.document-result {
  width: min(860px, calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.document-result > * { min-width: 0; margin-block: 0; }
.document-result > .back { justify-self: start; }
.document-result > h1 { font-size: clamp(26px, 5vw, 40px); line-height: 1.12; }
.report-cover, .report-section, .document-result > .vin-sources {
  padding: clamp(15px, 3vw, 24px);
  border: 1px solid #e1ddd6;
  border-radius: 17px;
  overflow-wrap: anywhere;
}
.report-cover { border-color: #dfd5c8; background: linear-gradient(118deg,#fffaf1,#fff 72%); }
.report-identity { display: flex; align-items: center; gap: 14px; }
.report-paper { display: grid; place-items: center; flex: 0 0 48px; height: 55px; color: #fdf9eb; background: #363832; border-radius: 11px; }
.report-paper .ico { width: 30px; height: 30px; }
.report-ref, .report-hint, .report-limit { color: #575950; font-size: .85rem; line-height: 1.45; }
.report-ref { margin: 0 0 3px; }
.report-cover h2 { margin: 0; font-size: clamp(18px, 3vw, 23px); line-height: 1.25; }
.report-formats, .report-actions, .report-utilities { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.report-formats { margin-top: 15px; }
.report-formats a, .report-offer, .report-picker, .report-actions .btn, .report-utilities .btn { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 10px; line-height: 1.3; font-weight: 700; text-decoration: none; }
.report-formats .ico, .report-section h2 .ico, .report-support .ico, .report-offer .ico, .report-utilities .ico { flex: 0 0 20px; width: 20px; height: 20px; }
.format-pdf { background: #33382f; color: #fff; }
.format-word { background: #fff; color: #243d54; border: 1px solid #a9bbca; }
.report-formats .format-read { color: #485448; font-weight: 600; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; }
.report-limit, .report-hint { margin: 9px 0 0; }
.report-section h2, .document-result .vin-sources h2 { display: flex; gap: 9px; align-items: center; margin: 0 0 9px; font-size: 1.08rem; line-height: 1.35; }
.section-offer { background: linear-gradient(130deg,#edf5e9,#fafcf6); border-color: #cedcca; }
.report-offer { padding-inline: 0; color: #28482d; }
.report-offer .offer-emoji { font-size: 1.3rem; }
.section-upload { background: linear-gradient(130deg,#f4f0fb,#fcfbff); border-color: #dcd4e8; }
.report-picker { position: relative; background: #fff; border: 1px dashed #917caa; color: #453352; cursor: pointer; }
.report-picker input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.report-picker:focus-within { outline: 3px solid #6e548a; outline-offset: 2px; }
.report-file { display: grid; gap: 3px; margin-top: 10px; font-size: .88rem; }
.report-file select { max-width: 100%; min-height: 40px; padding: 4px 8px; background: #fff; color: #352e3a; border: 1px solid #b6aabe; border-radius: 8px; font: inherit; }
.section-upload [hidden] { display: none; }
.section-upload .status:empty { display: none; }
.section-source { background: linear-gradient(130deg,#edf4f8,#fbfdfe); border-color: #d2e1e9; }
.report-source-list { display: grid; gap: 7px 20px; margin: 0; padding: 0; list-style: none; }
.report-source-list li { display: flex; align-items: baseline; gap: 8px; }
.report-source-list .ico { width: 15px; height: 15px; flex: 0 0 15px; color: #587385; }
.report-source-list a { color: #254c61; text-underline-offset: 3px; }
.report-source-list small { display: block; color: #526772; font-size: .76rem; }
.document-result > .vin-sources { background: #f1f7f5; border-color: #c7ded8; }
.document-result .report-support { display: flex; gap: 8px; align-items: center; font-size: .9rem; padding: 6px 2px; }
.report-support a { color: #4d423b; font-weight: 700; }
.document-result .review-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.document-result .review-actions .btn, .report-utilities .btn { width: 100%; justify-content: center; min-height: 45px; margin: 0; white-space: normal; text-align: center; }
.document-result .review-actions .expert-action { background: linear-gradient(110deg,#ff4b24,#ff7541); border-color: #dc491f; color: #28150e; }
.document-result .review-actions .organizer-action { color: #463b30; border: 1px solid #a58d79; background: transparent; }
.participation-actions { container-type:inline-size; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; min-width:0; grid-column:1/-1; }
main > .participation-actions { margin-block:14px 6px; }
.participation-tile { --ink:#5d3043; --edge:#dcc1c7; --wash:linear-gradient(118deg,#f5dde4,#fff2e9 55%,#efd6dd); position:relative; isolation:isolate; overflow:hidden; display:grid; grid-template:'symbol arrow' auto 'title title' 1fr / 1fr auto; align-items:center; gap:6px 10px; min-height:60px; padding:10px 13px; border:1px solid var(--edge); border-radius:15px; background:var(--wash); box-shadow:inset 0 1px 0 #ffffffd9; color:var(--ink); text-decoration:none; text-align:left; }
.participation-tile.training { --ink:#383d64; --edge:#bfc9e1; --wash:linear-gradient(118deg,#e2e2f6,#eff4ff 55%,#d4ebe9); }
.participation-tile::before { content:''; position:absolute; z-index:-1; inset:0; pointer-events:none; background:linear-gradient(110deg,transparent 36%,#ffffffb8 49%,transparent 63%); transform:translateX(-115%); animation:participation-glint 8s ease-in-out infinite; }
.participation-tile.training::before { animation-delay:1s; }
.participation-icon { grid-area:symbol; display:grid; place-items:center; width:33px; height:33px; background:#ffffffa8; border:1px solid var(--edge); border-radius:10px; }
.participation-icon .ico { width:18px; height:18px; }
.participation-arrow { grid-area:arrow; display:grid; place-items:center; }
.participation-arrow .ico { width:16px; height:16px; }
.participation-tile strong { grid-area:title; font-size:clamp(.88rem,2.4vw,1.04rem); line-height:1.22; }
.participation-tile:focus-visible,.warning-actions a:focus-visible { outline:3px solid #62437a; outline-offset:3px; }
@media (hover:hover) { .participation-tile:hover { border-color:var(--ink); box-shadow:0 3px 12px #392d4714; } }
@container (min-width:510px) { .participation-tile { grid-template:'symbol title arrow' auto / auto 1fr auto; } }
@keyframes participation-glint { 0%,70% { transform:translateX(-115%); } 100% { transform:translateX(115%); } }
@media (prefers-reduced-motion:reduce) { .participation-tile::before { animation:none; } }
.report-file-warning { grid-column:1/-1; padding:clamp(14px,3vw,22px); border:1px solid #ebb8c4; border-left:5px solid #a93055; border-radius:15px; background:linear-gradient(120deg,#fff0f3,#fffbf8); color:#41252c; }
.report-file-warning h2 { display:flex; gap:9px; align-items:flex-start; margin:0; font-size:clamp(1.12rem,3vw,1.38rem); line-height:1.26; color:#861b40; }
.report-file-warning h2 .ico { width:23px; height:23px; flex:none; }
.report-file-warning p { margin:8px 0; line-height:1.5; }
.report-cover .report-file-warning { margin-top:14px; }
.warning-actions { display:flex; flex-wrap:wrap; align-items:center; gap:2px 16px; }
.warning-actions a { display:inline-flex; align-items:center; min-height:44px; color:#6c2541; text-underline-offset:3px; }
.warning-actions button { min-height:44px; }
.report-utilities { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; }
.report-utilities .tool-bid { color: #31583e; background: linear-gradient(120deg,#e4f1df,#f6faf1); border: 1px solid #c7d8c0; }
.report-utilities .tool-calendar { color: #3c4566; background: linear-gradient(120deg,#e9edf9,#f7f8fd); border: 1px solid #cdd4e6; }
.document-result a:focus-visible { outline: 3px solid #73522b; outline-offset: 3px; }
.report-edition { display:flex; flex-wrap:wrap; align-items:baseline; gap:.25rem .65rem; margin:0 0 .8rem; overflow-wrap:anywhere; }
.report-edition strong { color:#245448; }
.report-edition time,.report-edition small { color:#484b49; font-size:.85rem; }
.report-edition small { flex-basis:100%; }
[data-form="offer-email"] { padding-bottom:.65rem; }
[data-form="offer-email"] label { display:block; margin:.5rem 0; cursor:pointer; }
[data-form="offer-email"] [hidden] { display:none; }
.choice-status { margin:.35rem 0 0; font-size:.9rem; }
.choice-status:empty { margin:0; }
.choice-status[data-tone="success"] { color:#185339; }
.choice-status[data-tone="error"] { color:#943123; }
.report-formats a:hover, .report-offer:hover, .document-result .review-actions a:hover, .report-utilities a:hover { filter: brightness(.95); }
@media (min-width: 720px) {
  .document-result { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .document-result > * { grid-column: 1 / -1; }
  .document-result:has(> .section-offer) > :is(.section-offer,.section-upload) { grid-column: auto; }
  .report-source-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 450px) {
  .report-formats { gap: 6px; }
  .report-formats a { padding-inline: 10px; }
  .report-paper { flex-basis: 38px; height: 46px; }
  .document-result .review-actions .btn, .report-utilities .btn { padding: 8px; font-size: .87rem; }
}
.document-receipt {
  padding: .85rem 1rem;
  border-inline-start: 3px solid #8a6359;
  background: #faf6f3;
  overflow-wrap: anywhere;
}
.document-receipt strong { display: flex; align-items: center; gap: .4rem; }
.document-receipt p { margin: .35rem 0; }
.document-receipt small { color: #554e50; }
.report-file-warning { overflow-wrap: anywhere; }
