.test-builder,.test-history{background:var(--brand-white);border:1px solid var(--brand-border);border-radius:22px;padding:clamp(22px,4vw,42px);margin:24px 0}.test-builder h1{font-size:clamp(1.9rem,3vw,2.6rem);margin:10px 0}.test-lead{max-width:65ch;color:var(--brand-muted)}.test-builder-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr);gap:40px;margin-top:32px}.test-topic-group{border-top:1px solid var(--brand-border);padding:16px 0}.test-topic-group summary{font-weight:800;cursor:pointer}.test-topic-group summary span{font-size:.85rem;color:var(--brand-muted);font-weight:500;display:inline-block;margin-left:8px}.test-topic-group label{display:flex;align-items:flex-start;gap:12px;padding:12px 0;cursor:pointer}.test-topic-group input{width:20px;height:20px;flex:0 0 20px;accent-color:var(--brand-indigo);margin-top:3px}.test-settings{background:var(--brand-soft);border-radius:16px;padding:24px;align-self:start}.test-settings>label{display:block;font-weight:800;margin:22px 0 8px}.test-settings select{width:100%;padding:12px;background:var(--brand-white);color:var(--brand-navy);border:1px solid var(--brand-border);border-radius:10px;font:inherit}.test-settings .primary{width:100%}.test-history-row{display:flex;gap:16px;justify-content:space-between;color:var(--brand-navy);text-decoration:none;border-top:1px solid var(--brand-border);padding:20px 0}.test-history-row small{display:block;color:var(--brand-muted);margin-top:6px}.personal-test-invite{display:flex;justify-content:space-between;gap:24px;align-items:center;border:1px solid var(--brand-border);background:var(--brand-soft);padding:24px;border-radius:18px;margin-bottom:28px}.personal-test-invite h2{margin:0 0 6px}.personal-test-invite p{margin:0;color:var(--brand-muted);max-width:65ch}.personal-test-invite a{flex-shrink:0}.helder-coach{margin:22px 0;border:1px solid var(--brand-border);border-radius:14px;background:var(--brand-soft);padding:18px}.helder-coach summary{cursor:pointer;font-weight:800}.helder-coach .coach-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.helder-coach button{background:var(--brand-white);color:var(--brand-indigo);border:1px solid var(--brand-border);border-radius:10px;padding:10px 14px;font:inherit;font-weight:700;cursor:pointer}.helder-coach button:disabled{opacity:.55;cursor:wait}.helder-coach label{display:block;margin:14px 0 8px}.helder-coach textarea{width:100%;font:inherit}.coach-answer{white-space:pre-wrap;line-height:1.7}.helder-coach .small{font-size:.85rem}.test-builder :focus-visible,.helder-coach :focus-visible{outline:3px solid var(--brand-indigo);outline-offset:3px}@media(max-width:720px){.test-builder-grid{grid-template-columns:1fr;gap:24px}.personal-test-invite{align-items:stretch;flex-direction:column}.test-history-row{flex-direction:column}.test-topic-group summary span{display:block;margin:4px 0 0 20px}}
