.flash-schedule-settings,.flash-community-dialog{border:1px solid #cbd6df;border-top:3px solid #0b2942;border-radius:2px;background:#fff;color:#0b2942;padding:24px}.flash-schedule-settings p,.flash-community-dialog p{line-height:1.5}.flash-schedule-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:18px}.flash-schedule-grid label{display:grid;gap:8px;font-size:14px}.flash-stepper{display:flex;align-items:stretch;gap:0}.flash-stepper input{min-width:60px;width:100%;border:1px solid #b7c7d2;border-radius:0;text-align:center;padding:10px}.flash-stepper button{border:1px solid #b7c7d2;border-radius:0;min-width:42px;background:#edf4f5;color:#0b2942;font-size:20px}.flash-schedule-settings button,.flash-community-dialog button{border-radius:2px;min-height:42px}.flash-community-dialog{width:min(760px,calc(100vw - 24px));max-height:85vh;box-sizing:border-box}.flash-community-dialog::backdrop{background:#0b294299}.flash-community-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.flash-community-dialog h2{margin:0}.flash-community-dialog article{padding:18px 0;border-top:1px solid #d4dfe3}.flash-community-status{font-weight:600}.flash-schedule-result:empty,.flash-community-status:empty{display:none}@media(max-width:480px){.flash-schedule-settings,.flash-community-dialog{padding:16px}.flash-schedule-grid{grid-template-columns:1fr}.flash-community-dialog header{align-items:flex-start}.flash-community-dialog h2{font-size:23px}}
.flash-schedule-advanced{margin-top:20px;border-top:1px solid #d5dfe5;padding-top:14px}.flash-schedule-advanced summary{cursor:pointer;min-height:38px;font-weight:600}.flash-schedule-advanced[open] summary{margin-bottom:12px}.flash-schedule-actions{display:flex;gap:10px;flex-wrap:wrap}.flash-schedule-note{font-size:13px;color:#4d6477}.flash-schedule-dialog>.flash-community-close{display:block;margin-left:auto}.flash-schedule-dialog .flash-schedule-settings{border:0;padding:8px 0}.flash-schedule-dialog .flash-schedule-settings h2{margin-bottom:12px}
.settings-fields>.flash-schedule-settings{grid-column:1/-1;margin-top:12px}
/* Library navigation stays separate from card creation and review settings. */
.flash-library-switch{display:flex;gap:0;margin:16px 0;border-bottom:1px solid #cddbe3}.flash-library-switch>span,.flash-library-switch>button{padding:12px 18px;border:0;border-radius:0;background:transparent;font:inherit;color:#526879}.flash-library-switch>span{border-bottom:3px solid #06234a;color:#06234a;font-weight:700}.flash-library-switch>button:hover,.flash-library-switch>button:focus-visible{background:#edf3f6;color:#06234a}.community-search{display:grid;gap:7px;margin:16px 0;font-size:.875rem}.community-search input{width:100%;min-height:44px;padding:10px;border:1px solid #bbccd7;border-radius:3px}.flash-community-list article[hidden]{display:none}
.community-copy-notices:empty{display:none}.community-copy-notices>div{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:14px;border:1px solid #c4d4dc;margin:10px 0;background:#fff}.community-copy-progress{font-weight:600}.study-control-bindings label{min-width:0;display:grid;gap:8px}.study-control-bindings input,.study-control-bindings select,.deck-manage-choice{width:100%;min-width:0;box-sizing:border-box;padding:10px;border:1px solid #bdcbd5;border-radius:2px}.study-control-bindings{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}.study-controls-help{line-height:1.5}.flash-community-dialog .deck-manage-apply{margin-top:16px}
.deck-manage-summary{overflow-wrap:anywhere;font-weight:600}.flash-community-dialog input[type=search]{box-sizing:border-box;width:100%;padding:10px;margin:8px 0;border:1px solid #bdcbd5;border-radius:2px}
/* Catalog chrome is scoped: settings, deck management and the study reader stay intact. */
.community-catalog{width:min(1160px,calc(100vw - 32px));max-height:92dvh;overflow:auto;border-radius:18px;border:1px solid #c7d4db;padding:28px;background:var(--paper,#f7f5ef);color:var(--ink,#0b2942);scrollbar-gutter:stable}
.community-catalog>header{align-items:flex-start}.community-catalog h2{font:800 clamp(24px,3vw,36px)/1.15 Arial,sans-serif;letter-spacing:-.7px;margin:8px 0}.community-catalog header p{margin:10px 0 0;font-size:15px;color:#536879}.community-eyebrow{font:700 11px/1.3 Arial,sans-serif;letter-spacing:1.6px}.community-catalog .flash-community-close{flex:0 0 44px;border:1px solid #c2d0d8;background:#fff;font-size:25px;color:#0b2942;border-radius:50%;width:44px}
.community-tools{display:flex;align-items:end;gap:12px;margin:22px 0 14px}.community-tools .community-search{flex:1;margin:0}.community-catalog input[type=search]{margin:0;min-height:46px;background:#fff;color:#0b2942;border-radius:9px;font:inherit}.community-catalog .community-refresh{background:transparent;border:1px solid #bacbd4;border-radius:9px;padding:11px 15px;color:inherit}
.community-filters{display:flex;flex-wrap:wrap;gap:8px}.community-catalog .community-filters button{padding:9px 15px;border-radius:24px;background:#fff;border:1px solid #c5d2da;color:#344d60;font:600 13px/1.3 Arial,sans-serif}.community-catalog .community-filters [aria-pressed=true]{background:var(--navy,#0b2942);color:#fff;border-color:transparent}.community-results{font-size:13px;color:#536879;margin:18px 0 12px}
.community-catalog .flash-community-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 18px}.community-catalog article.community-deck{display:flex;flex-direction:column;min-width:0;padding:0;border:1px solid #ccd7dd;border-radius:13px;overflow:hidden;background:#fff;color:#0b2942;box-shadow:0 3px 10px #0b294208}.community-catalog article[hidden]{display:none}.community-cover{position:relative;aspect-ratio:3/2;overflow:hidden;background:#132d43}.community-cover img{width:100%;height:100%;display:block;object-fit:cover}.community-category{position:absolute;bottom:12px;left:14px;background:#082237e8;color:white;padding:5px 9px;border-radius:5px;font:600 11px/1.3 Arial,sans-serif;letter-spacing:.2px}.community-deck-body{padding:18px;display:flex;flex-direction:column;flex:1;min-width:0}.community-catalog .community-origin{font:700 11px/1.3 Arial,sans-serif;letter-spacing:1px;text-transform:uppercase;color:#607281;margin:0 0 7px}.community-catalog h3{font:750 21px/1.2 Arial,sans-serif;letter-spacing:-.3px;margin:0;overflow-wrap:anywhere}.community-catalog .community-subtitle{font-size:13px;margin:8px 0 14px;color:#536879}.community-catalog .community-size{font-size:13px;margin:0 0 13px}.community-size b{font-size:16px}.community-size span{white-space:nowrap}.community-details{font-size:13px;margin:0 0 16px}.community-details summary{cursor:pointer;padding:7px 0;min-height:28px;box-sizing:border-box;color:#315668}.community-details p{margin:8px 0}.community-source-name{font-size:11px;overflow-wrap:anywhere;color:#607281}.community-catalog .community-deck-body>.primary{margin-top:auto;min-height:44px;padding:10px 12px;border-radius:7px;font:700 13px/1.4 Arial,sans-serif;white-space:normal;background:var(--navy,#0b2942);color:white;border:0}.community-catalog .community-copy-progress{font-size:12px;color:#146955;margin:0 0 12px}.community-library-note{font-size:12px;color:#536879;margin:22px 0 0}.community-catalog button:focus-visible,.community-catalog summary:focus-visible,.community-catalog input:focus-visible{outline:3px solid #007d8b;outline-offset:3px}.community-catalog button:disabled{opacity:.6;cursor:wait}.community-skeleton{height:330px;background:#e6ecee;border-radius:13px}.community-no-results{padding:26px;background:#fff;border-radius:10px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.community-cover img{transition:transform .18s ease}.community-deck:hover .community-cover img{transform:scale(1.025)}}
@media(max-width:850px){.community-catalog .flash-community-list{grid-template-columns:repeat(2,minmax(0,1fr))}.community-catalog{padding:22px}}
@media(max-width:540px){.community-catalog{width:calc(100vw - 16px);padding:16px;max-height:94dvh;border-radius:14px}.community-catalog .flash-community-list{grid-template-columns:1fr;gap:18px}.community-catalog h2{font-size:26px}.community-deck-body{padding:16px}.community-tools{gap:8px}.community-catalog .community-refresh{padding:11px 9px;font-size:12px}.community-filters{gap:6px}.community-catalog .community-filters button{font-size:12px;padding:9px 11px}.community-catalog .community-size{font-size:14px}.community-catalog .community-deck-body>.primary{min-height:46px}}
