/* Layout refinements for briefing and recruitment. */
.briefing.section{grid-template-columns:minmax(0,1fr);gap:32px}
.briefing h2{margin:0;line-height:1.08}
.briefing>div>p{margin-top:16px}
.briefing .faq-list{width:100%;min-width:0}
.briefing .faq-list details{margin:0 0 16px}
.briefing .faq-list details:last-child{margin-bottom:0}
.briefing .faq-list summary{min-height:64px;gap:16px;padding:18px 26px;text-align:left}
.briefing .faq-list summary:before{margin-right:0;flex-shrink:0}
.briefing .faq-list summary>span{margin-left:auto;flex-shrink:0}
.briefing .faq-list details p{padding:18px 26px 8px;font-size:14px;max-width:90ch}
/* A stable gradient avoids interpolating between a gradient and a solid hover fill. */
.header-actions .button.purple{background:linear-gradient(135deg,#dac7f5,#ad88d1);transition:box-shadow .2s,border-color .2s;color:#21132c;transform:none}
.header-actions .button.purple:hover:not(:disabled),.header-actions .button.purple:focus-visible{background:linear-gradient(135deg,#dac7f5,#ad88d1);color:#21132c;transform:none;border-color:#e4cff6;box-shadow:0 6px 28px #b58ade55}
.recruit-controls{display:grid;gap:18px;border-radius:24px;background:linear-gradient(145deg,#14121ced,#1d1726dc 65%,#14121cbd);padding:32px;max-width:480px;min-width:0}
.recruit-controls>h2,.recruit-controls>p,.recruit-controls>.button,.recruit-controls>.preview-button{margin:0}
.recruit-controls>#mint-status{justify-self:start}
.recruit-controls h2{line-height:1.2}
.recruit-controls p{line-height:1.7}
.recruit-controls .supply{padding:4px 0}
.recruit-controls .supply>div:first-child{font-size:10px}
.recruit-controls .wallet-balances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;font-size:11px}
.recruit-controls .wallet-balances>span{padding:14px 16px;border-radius:18px;gap:8px}
.recruit-controls .wallet-balances b{font-size:13px;color:#ece0f6;overflow-wrap:anywhere}
.recruit-controls>.button{min-height:54px}
.recruit-controls>#mint-feedback{min-height:0;color:#e5d9ee}
.recruit-controls>.preview-button{justify-self:start;text-align:left;line-height:1.5;padding:10px 16px;min-height:44px}
.recruit-controls>.metadata-note{font-size:12px;color:#cdbbdf}
.office-squad.test-controls{display:grid;gap:20px;border-radius:26px;background:linear-gradient(115deg,#11121af5,#21182bea 65%,#14131de0);padding:36px;color:#f2e9f8;box-shadow:0 12px 40px #0003}
.test-controls>h2,.test-controls>p{margin:0}
.test-controls>h2{line-height:1.3}
.test-controls p{line-height:1.8;max-width:88ch}
.test-controls .test-buttons{margin:4px 0;gap:14px}
.test-controls label{margin:8px 0 0;font-size:13px}
.test-controls .test-resume{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;margin:0}
.test-controls .test-resume input{width:100%}
.test-controls .metadata-note{color:#d0bfdf}
.test-controls a{color:#ddc4fa}
@media(max-width:700px){
 .briefing.section{gap:26px}
 .briefing .faq-list summary{padding:16px 18px;gap:12px;line-height:1.5}
 .briefing .faq-list details p{padding:14px 18px 8px;font-size:13px}
 .recruit-controls{max-width:none;padding:26px 20px;gap:16px}
 .office-squad.test-controls{padding:28px 20px;gap:18px}
 .test-controls .test-buttons{display:grid;grid-template-columns:1fr}
 .test-controls .test-resume{grid-template-columns:1fr}
 .test-controls .test-resume button{min-height:44px}
}

/* The closed cover must never inherit the full personnel record's height. */
.dossier:not(.open){min-height:0;height:360px;align-self:start}
.dossier:not(.open) .dossier-paper{display:none}
.dossier:not(.open) .folder-cover{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:14px;padding:28px}
.dossier:not(.open) .folder-cover h2{font-size:36px;line-height:1.1;margin:0}
.dossier:not(.open) .folder-cover p{margin:0;line-height:1.5}
.dossier:not(.open) .folder-cover b{margin:0;font-size:0;flex-shrink:0}
.dossier:not(.open) .folder-cover b img{width:84px;height:72px}
@media(max-width:700px){
 .dossier:not(.open){height:260px;margin-block:16px}
 .dossier:not(.open) .folder-cover{padding:22px;gap:10px}
 .dossier:not(.open) .folder-cover h2{font-size:28px}
 .dossier:not(.open) .folder-cover b img{width:68px;height:58px}
}
