dialog.filter-editor{width:min(880px,calc(100vw - 24px));max-width:none;max-height:92dvh;overflow:auto}
.filter-builder{min-width:0}.filter-builder label{display:grid;gap:7px}.filter-builder input,.filter-builder select{width:100%;min-width:0;max-width:100%;box-sizing:border-box}.filter-builder button{min-height:42px}.filter-intro{margin-top:0;color:var(--muted,#bdc7bc)}
.filter-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}.filter-presets{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}.filter-presets button{font-size:.88rem}
.filter-selection-tools{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin:20px 0}.filter-selection-tools label{width:130px;font-size:.85rem;margin:0}.filter-selection-tools input{margin:0;height:52px}.filter-selection-tools button{margin:0;min-height:52px}
.filter-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(0,2fr);gap:18px;padding:16px 0;border-top:1px solid #ffffff20;min-width:0}.filter-row .filter-pick{display:flex;align-items:start;gap:10px}.filter-pick input{width:20px;height:20px;flex:0 0 20px;margin-top:6px}.filter-pick strong{display:block;font-size:1.35rem;overflow-wrap:anywhere}.filter-reading{display:block;color:#c7d4b8;font-size:.92rem;overflow-wrap:anywhere}.filter-card-body{min-width:0;overflow-wrap:anywhere}.filter-card-body p{margin-top:0}.filter-card-body details{margin-top:10px;font-size:.92rem}.filter-card-body select{white-space:normal}.filter-card-body option{white-space:normal}.filter-card-body label{font-size:.85rem}
#filter-save-form{border-top:1px solid #ffffff30;margin-top:22px;padding-top:20px;display:grid;gap:16px}.filter-count{background:#243528;border:1px solid #6c8f58;border-radius:12px;padding:14px;margin:0;font-weight:600}.filter-builder .form-message{overflow-wrap:anywhere}.filter-builder [hidden]{display:none!important}.filter-builder .page-controls{gap:10px;align-items:center}.filter-builder .page-controls span{font-size:.88rem;text-align:center}
@media(max-width:560px){dialog.filter-editor{padding:16px;max-height:94dvh}.filter-shortcuts{gap:8px}.filter-row{grid-template-columns:1fr;gap:9px}.filter-selection-tools{display:grid;grid-template-columns:1fr 1fr}.filter-selection-tools label{width:auto}.filter-selection-tools button{font-size:.85rem}.filter-builder .page-controls button{font-size:.78rem;padding:8px}.filter-builder .page-controls{grid-template-columns:1fr auto 1fr}.filter-editor .dialog-top h2{font-size:1.25rem}.filter-row .filter-pick span{min-width:0}}

.deck-tests-promo{position:relative;isolation:isolate;overflow:hidden;border:1px solid #a88c5a;border-radius:18px;margin:24px 0 32px;background:#15251d url('/assets/deck-tests-cover-20261018.png') right 45% center/cover no-repeat;color:#fff6e4}.deck-tests-promo:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(15,29,22,.98) 0%,rgba(15,29,22,.95) 46%,rgba(15,29,22,.68) 66%,rgba(15,29,22,.04) 100%)}.deck-tests-copy{padding:30px 36px;max-width:680px}.deck-tests-copy h2{margin:8px 0 12px;font-size:clamp(1.7rem,3vw,2.3rem);line-height:1.2;color:#fff7e6}.deck-tests-copy p{line-height:1.6}.deck-tests-copy ul{padding-left:20px;margin:18px 0;line-height:1.65}.deck-tests-copy li+li{margin-top:7px}.deck-tests-copy .eyebrow{color:#e7c58d;margin:0}.deck-tests-cta{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:24px}.decks-main a.deck-test-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:52px;padding:12px 22px;border:1px solid #efd2a2;border-radius:9px;background:#e9c78f;color:#17251d;font-weight:750;text-decoration:none;box-shadow:0 4px 18px #0003;line-height:1.35;box-sizing:border-box}.decks-main a.deck-test-button:hover{background:#f6dba9}.decks-main a.deck-test-button:focus-visible{outline:3px solid #fff7e6;outline-offset:4px}.deck-tests-cta p{margin:0;font-size:.95rem}.deck-tests-cta span:not([aria-hidden]){display:block;color:#e0dfd0;font-size:.83rem}.deck-tests-copy .deck-tests-note{font-size:.9rem;color:#e1e6db;margin:18px 0 0}.deck-actions a.deck-test-button{min-height:44px;padding:10px 16px}.deck-tests-promo[hidden]{display:none!important}@media(max-width:650px){.deck-tests-promo{background-position:center top;background-size:100% auto;padding-top:120px}.deck-tests-promo:before{background:linear-gradient(180deg,rgba(15,29,22,.05),rgba(15,29,22,.76) 120px,#0f1d16 230px)}.deck-tests-copy{padding:22px}.deck-tests-copy ul{padding-left:17px}.deck-tests-cta{display:grid;gap:12px}.deck-tests-cta p{font-size:.9rem}.deck-tests-copy .deck-tests-note{font-size:.85rem}.deck-actions a.deck-test-button{flex:1;white-space:normal;text-align:center}}

.deck-tests-ready{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:24px 0;padding:24px 28px;border:1px solid #696344;border-radius:16px;background:linear-gradient(120deg,#2a3027,#1c241f)}
.deck-tests-ready h2{margin:4px 0 10px}.deck-tests-ready p{margin:8px 0;line-height:1.5}.deck-tests-ready .eyebrow{color:#e7c58d}
.deck-tests-ready .deck-test-button{flex-shrink:0;white-space:nowrap}.deck-tests-ready[hidden]{display:none!important}
@media(max-width:650px){.deck-tests-ready{align-items:stretch;flex-direction:column;gap:16px;padding:20px}.deck-tests-ready .deck-test-button{text-align:center;white-space:normal}}
