/* Biblioteca de Documentos — estilos públicos (usa los colores del tema si existen) */
.jcbd, .jcbd-modal, .jcbd-recent, .jcbd-single {
	--b-primary: var(--jc-primary, #0b4f6c);
	--b-dark: var(--jc-dark, #062c4a);
	--b-darker: var(--jc-darker, #041d31);
	--b-gold: var(--jc-gold, #d4a72c);
	--b-gold-grad: var(--jc-gold-grad, linear-gradient(135deg, #f7e09a, #d4a72c 50%, #a67c12));
	--b-ink: var(--jc-ink, #0e2233);
	--b-text: var(--jc-text, #3b4a58);
	--b-muted: var(--jc-muted, #6a7987);
	--b-line: var(--jc-line, #e2e9ef);
	--b-tint: var(--jc-tint, #f3f7fa);
	--b-radius: var(--jc-radius, 16px);
	--b-shadow: var(--jc-shadow, 0 10px 30px -12px rgba(6, 44, 74, .25));
	--b-head: var(--jc-font-head, "Montserrat", system-ui, sans-serif);
	--b-ease: cubic-bezier(.22, .8, .24, 1);
}
.jcbd *, .jcbd-modal * { box-sizing: border-box; }
.jcbd .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Colores por tipo */
.jcbd-badge, .jcbd-chip { --t: #5f6b76; }
.jcbd-badge--aviso-de-convocatoria, .jcbd-chip--aviso-de-convocatoria { --t: #0e7490; }
.jcbd-badge--requisicion, .jcbd-chip--requisicion { --t: #5b4bc4; }
.jcbd-badge--adjudicacion, .jcbd-chip--adjudicacion { --t: #1f8a5b; }
.jcbd-badge--declarado-desierto, .jcbd-chip--declarado-desierto { --t: #c0392b; }
.jcbd-badge--presupuesto, .jcbd-chip--presupuesto { --t: #a87910; }
.jcbd-badge--planilla, .jcbd-chip--planilla { --t: #2d6cdf; }
.jcbd-badge--informes, .jcbd-chip--informes { --t: #0b4f6c; }
.jcbd-badge--actas, .jcbd-chip--actas { --t: #7a4e2d; }
.jcbd-badge--gastos, .jcbd-chip--gastos { --t: #d35400; }

.jcbd-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--t); color: #fff; font-family: var(--b-head); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; box-shadow: 0 6px 14px -6px var(--t); }

/* Botones */
.jcbd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent; font-family: var(--b-head); font-weight: 700; font-size: .92rem; cursor: pointer; text-decoration: none; transition: .25s var(--b-ease); line-height: 1.1; }
.jcbd-btn--sm { padding: .62em 1.05em; font-size: .84rem; }
.jcbd-btn--primary { background: var(--b-primary); color: #fff; }
.jcbd-btn--primary:hover { background: var(--b-dark); color: #fff; transform: translateY(-1px); }
.jcbd-btn--outline { border-color: var(--b-primary); color: var(--b-primary); background: #fff; }
.jcbd-btn--outline:hover { background: var(--b-primary); color: #fff; }

.jcbd-title { font-family: var(--b-head); font-weight: 900; color: var(--b-dark); font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0 0 20px; }

/* Panel de búsqueda */
.jcbd-panel { position: relative; background: #fff; border-radius: calc(var(--b-radius) + 4px); padding: 20px; box-shadow: 0 25px 50px -25px rgba(6, 44, 74, .35); border: 1px solid var(--b-line); margin-bottom: 20px; }
.jcbd-panel::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 4px; border-radius: 0 0 6px 6px; background: var(--b-gold-grad); }
.jcbd-toolbar { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.jcbd-search { flex: 1 1 320px; position: relative; display: flex; align-items: center; gap: 10px; padding: 0 14px 0 18px; border-radius: 14px; background: var(--b-tint); border: 2px solid transparent; transition: border-color .2s, background .2s, box-shadow .2s; min-height: 56px; }
.jcbd-search:focus-within { background: #fff; border-color: var(--b-primary); box-shadow: 0 0 0 5px rgba(11, 79, 108, .1); }
.jcbd-search > svg { color: var(--b-primary); flex: none; }
.jcbd-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.05rem; color: var(--b-ink); padding: 14px 0; }
.jcbd-search input::-webkit-search-cancel-button { display: none; }
.jcbd-search__clear { border: 0; background: #fff; color: var(--b-muted); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.jcbd-search__clear:hover { color: var(--b-dark); }
.jcbd-search__clear[hidden], .jcbd [hidden] { display: none !important; }
.jcbd-select { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 6px 14px; border-radius: 14px; background: var(--b-tint); min-width: 150px; }
.jcbd-select span { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--b-muted); }
.jcbd-select select { border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--b-ink); padding: 2px 0; cursor: pointer; outline: 0; }
.jcbd-view { display: flex; background: var(--b-tint); border-radius: 14px; padding: 5px; gap: 4px; }
.jcbd-view button { border: 0; background: transparent; width: 46px; border-radius: 10px; color: var(--b-muted); cursor: pointer; display: grid; place-items: center; transition: .2s; }
.jcbd-view button.is-active { background: #fff; color: var(--b-primary); box-shadow: 0 4px 12px -4px rgba(6, 44, 74, .3); }
.jcbd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.jcbd-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--b-line); background: #fff; color: var(--b-ink); font-family: var(--b-head); font-weight: 700; font-size: .84rem; cursor: pointer; transition: .2s var(--b-ease); }
.jcbd-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--t); }
.jcbd-chip span { font-size: .75rem; padding: 1px 8px; border-radius: 99px; background: var(--b-tint); color: var(--b-muted); }
.jcbd-chip:hover { border-color: var(--t); transform: translateY(-1px); }
.jcbd-chip.is-active { background: var(--t); border-color: var(--t); color: #fff; box-shadow: 0 8px 18px -8px var(--t); }
.jcbd-chip:first-child.is-active { background: var(--b-dark); border-color: var(--b-dark); }
.jcbd-chip.is-active i { background: #fff; }
.jcbd-chip.is-active span { background: rgba(255, 255, 255, .22); color: #fff; }
.jcbd-status { margin: 0 0 18px; color: var(--b-muted); font-size: .95rem; }
.jcbd-status strong { color: var(--b-ink); }

/* Resultados */
.jcbd-year { margin-bottom: 34px; }
.jcbd-year__title { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font-family: var(--b-head); }
.jcbd-year__title span { font-size: 1.5rem; font-weight: 900; color: var(--b-dark); }
.jcbd-year__title small { font-size: .8rem; font-weight: 700; color: var(--b-muted); padding: 4px 10px; border-radius: 99px; background: var(--b-tint); }
.jcbd-year__title::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--b-line), transparent); }
.jcbd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.jcbd-results.is-anim .jcbd-card { animation: jcbdIn .5s var(--b-ease) both; }
.jcbd-results.is-anim .jcbd-card:nth-child(2) { animation-delay: .04s; }
.jcbd-results.is-anim .jcbd-card:nth-child(3) { animation-delay: .08s; }
.jcbd-results.is-anim .jcbd-card:nth-child(4) { animation-delay: .12s; }
.jcbd-results.is-anim .jcbd-card:nth-child(n+5) { animation-delay: .16s; }
@keyframes jcbdIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.jcbd-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--b-radius); border: 1px solid var(--b-line); box-shadow: var(--b-shadow); overflow: hidden; transition: transform .35s var(--b-ease), box-shadow .35s var(--b-ease), border-color .35s; scroll-margin-top: 120px; }
.jcbd-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -22px rgba(6, 44, 74, .45); border-color: rgba(212, 167, 44, .5); }
.jcbd-card__cover { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: linear-gradient(135deg, #e9eff3, #dbe5ec); }
.jcbd-card__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s var(--b-ease), filter .4s; }
.jcbd-card:hover .jcbd-card__cover img { transform: scale(1.06); }
.jcbd-card__cover .jcbd-badge { position: absolute; left: 12px; top: 12px; }
.jcbd-card__pages { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 8px; background: rgba(4, 29, 49, .78); color: #fff; font-size: .74rem; font-weight: 700; backdrop-filter: blur(4px); }
.jcbd-card__hover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(0deg, rgba(4, 29, 49, .82), rgba(4, 29, 49, .35)); color: #fff; font-family: var(--b-head); font-weight: 800; opacity: 0; transition: opacity .3s; }
.jcbd-card__cover:hover .jcbd-card__hover, .jcbd-card__cover:focus-visible .jcbd-card__hover { opacity: 1; }
.jcbd-card__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--b-primary); }
.jcbd-card__ph b { font-family: var(--b-head); font-size: .8rem; letter-spacing: .15em; }
.jcbd-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.jcbd-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 8px; font-size: .8rem; font-weight: 700; color: var(--b-muted); }
.jcbd-card__meta svg { color: var(--b-gold); }
.jcbd-card__num { padding: 2px 8px; border-radius: 6px; background: #fbf7ec; color: #8a6510; }
.jcbd-card__title { font-family: var(--b-head); font-size: 1rem; font-weight: 800; line-height: 1.35; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jcbd-card__title a { color: var(--b-ink); text-decoration: none; }
.jcbd-card__title a:hover { color: var(--b-primary); }
.jcbd-card__desc { font-size: .88rem; color: var(--b-muted); margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jcbd-card__actions { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.jcbd-iconlink { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--b-line); color: var(--b-primary); transition: .2s; }
.jcbd-iconlink:hover { background: var(--b-gold); border-color: var(--b-gold); color: var(--b-darker); }
mark { background: linear-gradient(transparent 45%, rgba(212, 167, 44, .45) 45%); color: inherit; padding: 0 1px; }

/* Vista de lista */
.jcbd.is-list .jcbd-grid { grid-template-columns: 1fr; gap: 12px; }
.jcbd.is-list .jcbd-card { flex-direction: row; align-items: stretch; }
.jcbd.is-list .jcbd-card:hover { transform: translateY(-2px); }
.jcbd.is-list .jcbd-card__cover { width: 150px; flex: none; aspect-ratio: auto; min-height: 120px; }
.jcbd.is-list .jcbd-card__cover .jcbd-badge, .jcbd.is-list .jcbd-card__pages { display: none; }
.jcbd.is-list .jcbd-card__body { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.jcbd.is-list .jcbd-card__meta { width: 100%; margin: 0; }
.jcbd.is-list .jcbd-card__title { flex: 1 1 340px; margin: 0; -webkit-line-clamp: 2; }
.jcbd.is-list .jcbd-card__desc { display: none; }
.jcbd.is-list .jcbd-card__actions { margin: 0; }

.jcbd-more { text-align: center; margin-top: 8px; }
.jcbd-empty { text-align: center; padding: 56px 20px; background: #fff; border: 2px dashed var(--b-line); border-radius: var(--b-radius); color: var(--b-muted); }
.jcbd-empty svg { color: var(--b-primary); opacity: .7; }
.jcbd-empty h3 { font-family: var(--b-head); color: var(--b-ink); margin: 10px 0 6px; }
.jcbd-loading { display: flex; justify-content: center; gap: 8px; padding: 40px; }
.jcbd-loading span { width: 12px; height: 12px; border-radius: 50%; background: var(--b-gold); animation: jcbdDot 1s infinite alternate; }
.jcbd-loading span:nth-child(2) { animation-delay: .2s; }
.jcbd-loading span:nth-child(3) { animation-delay: .4s; }
@keyframes jcbdDot { to { opacity: .2; transform: translateY(-6px); } }
.jcbd-noscript { line-height: 1.8; }

/* Visor modal */
html.jcbd-lock, html.jcbd-lock body { overflow: hidden; }
.jcbd-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 2.5vh 2.5vw; }
.jcbd-modal[hidden] { display: none; }
.jcbd-modal__backdrop { position: absolute; inset: 0; background: rgba(3, 15, 26, .86); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.jcbd-modal__panel { position: relative; width: min(1200px, 100%); height: 100%; display: flex; flex-direction: column; background: #0b1a27; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); transform: translateY(24px) scale(.98); opacity: 0; transition: transform .35s var(--b-ease), opacity .3s; }
.jcbd-modal.is-open .jcbd-modal__backdrop { opacity: 1; }
.jcbd-modal.is-open .jcbd-modal__panel { transform: none; opacity: 1; }
.jcbd-modal__head { display: flex; align-items: center; gap: 18px; padding: 14px 16px 14px 22px; background: linear-gradient(90deg, var(--b-darker), var(--b-dark)); color: #fff; border-bottom: 3px solid transparent; border-image: var(--b-gold-grad) 1; }
.jcbd-modal__info { flex: 1; min-width: 0; }
.jcbd-modal__info h2 { font-family: var(--b-head); color: #fff; font-size: 1.05rem; font-weight: 800; margin: 6px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jcbd-modal__meta { margin: 0; font-size: .82rem; color: rgba(255, 255, 255, .65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jcbd-modal__tools { display: flex; gap: 6px; flex: none; }
.jcbd-tool { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; transition: .2s; text-decoration: none; }
.jcbd-tool:hover { background: var(--b-gold); border-color: var(--b-gold); color: var(--b-darker); }
.jcbd-tool[hidden] { display: none; }
.jcbd-tool--close { background: rgba(255, 255, 255, .14); }
.jcbd-stage { position: relative; flex: 1; min-height: 0; background: radial-gradient(circle at 50% 30%, #1b3347, #0b1a27 70%); }
.jcbd-stage__inner { position: absolute; inset: 0; overflow: auto; display: flex; align-items: center; justify-content: center; padding: 22px 80px; }
.jcbd-stage__inner img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .55); cursor: zoom-in; opacity: 0; transform: scale(.98); transition: opacity .35s, transform .35s var(--b-ease); }
.jcbd-stage__inner.is-loaded img { opacity: 1; transform: none; }
.jcbd-modal.is-zoom .jcbd-stage__inner { display: block; padding: 22px; }
.jcbd-modal.is-zoom .jcbd-stage__inner img { max-width: none; max-height: none; width: min(1800px, 220%); cursor: zoom-out; margin: 0 auto; }
.jcbd-stage__inner iframe { width: 100%; height: 100%; border: 0; border-radius: 6px; background: #fff; }
.jcbd-modal.is-pdf .jcbd-stage__inner { padding: 14px; }
.jcbd-stage__pdf { position: absolute; right: 26px; bottom: 26px; display: none; }
.jcbd-stage__msg { text-align: center; color: rgba(255, 255, 255, .8); }
.jcbd-spinner { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .15); border-top-color: var(--b-gold); animation: jcbdSpin .8s linear infinite; }
.jcbd-stage__inner.is-loaded .jcbd-spinner { display: none; }
@keyframes jcbdSpin { to { transform: rotate(360deg); } }
.jcbd-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: .2s; z-index: 2; }
.jcbd-nav:hover { background: var(--b-gold); color: var(--b-darker); border-color: var(--b-gold); }
.jcbd-nav[hidden] { display: none; }
.jcbd-nav--prev { left: 14px; }
.jcbd-nav--next { right: 14px; }
.jcbd-modal.is-zoom .jcbd-nav { opacity: .5; }
.jcbd-stage__count { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 6px 14px; border-radius: 99px; background: rgba(4, 29, 49, .85); color: #fff; font-family: var(--b-head); font-size: .8rem; font-weight: 700; pointer-events: none; }
.jcbd-stage__count:empty { display: none; }
.jcbd-thumbs { display: none; gap: 10px; padding: 12px 16px; overflow-x: auto; background: #08131d; scrollbar-width: thin; }
.jcbd-modal.has-thumbs .jcbd-thumbs { display: flex; }
.jcbd-thumbs button { position: relative; flex: none; width: 70px; height: 86px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: #1b2b3a; cursor: pointer; opacity: .55; transition: .2s; color: #fff; }
.jcbd-thumbs button:hover { opacity: .9; }
.jcbd-thumbs button.is-active { opacity: 1; border-color: var(--b-gold); box-shadow: 0 0 0 3px rgba(212, 167, 44, .25); }
.jcbd-thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.jcbd-thumbs b { position: absolute; right: 4px; bottom: 4px; min-width: 20px; height: 20px; border-radius: 6px; background: rgba(4, 29, 49, .85); font-size: .7rem; display: grid; place-items: center; }
.jcbd-toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 100000; background: var(--jc-dark, #062c4a); color: #fff; padding: 12px 22px; border-radius: 99px; font-weight: 700; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); animation: jcbdIn .3s; transition: opacity .4s; }
.jcbd-toast.is-out { opacity: 0; }

/* Recientes (portada) */
.jcbd-recent { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.jcbd-recent__item { display: flex; flex-direction: column; background: #fff; border-radius: var(--b-radius); overflow: hidden; border: 1px solid var(--b-line); box-shadow: var(--b-shadow); color: var(--b-ink); text-decoration: none; transition: transform .35s var(--b-ease), box-shadow .35s; }
.jcbd-recent__item:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -22px rgba(6, 44, 74, .45); color: var(--b-ink); }
.jcbd-recent__cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #e9eff3, #dbe5ec); }
.jcbd-recent__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s var(--b-ease); }
.jcbd-recent__item:hover .jcbd-recent__cover img { transform: scale(1.06); }
.jcbd-recent__cover .jcbd-badge { position: absolute; left: 12px; top: 12px; }
.jcbd-recent__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--b-primary); }
.jcbd-recent__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.jcbd-recent__meta { font-size: .8rem; font-weight: 700; color: var(--b-muted); }
.jcbd-recent__body strong { font-family: var(--b-head); font-size: 1rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jcbd-recent__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--b-head); font-weight: 800; font-size: .85rem; color: var(--b-primary); }
.jcbd-recent__item:hover .jcbd-recent__more { color: #9c7414; }
.jcbd-empty-inline { color: var(--b-muted); }

/* Documento individual */
.jcbd-single { margin-top: 20px; }
.jcbd-single__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; font-weight: 700; color: var(--b-muted); }
.jcbd-single__page { margin: 0 0 24px; }
.jcbd-single__page img { width: 100%; border-radius: 8px; box-shadow: var(--b-shadow); border: 1px solid var(--b-line); }
.jcbd-single__page iframe { width: 100%; height: 80vh; border: 1px solid var(--b-line); border-radius: 8px; }
.jcbd-single__page figcaption { margin-top: 8px; font-size: .9rem; }

@media (max-width: 900px) {
	.jcbd-recent { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
	.jcbd-panel { padding: 14px; }
	.jcbd-select { flex: 1 1 40%; min-width: 0; }
	.jcbd-view { display: none; }
	.jcbd-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -14px; padding-inline: 14px; scrollbar-width: none; }
	.jcbd-chip { flex: none; }
	.jcbd-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.jcbd-card__body { padding: 12px; }
	.jcbd-card__title { font-size: .9rem; }
	.jcbd-card__desc { display: none; }
	.jcbd-card__actions .jcbd-btn { padding: .55em .8em; font-size: .78rem; flex: 1; }
	.jcbd-card__actions .jcbd-btn svg { display: none; }
	.jcbd-iconlink { width: 34px; height: 34px; }
	.jcbd-card__cover .jcbd-badge { font-size: .6rem; padding: 4px 8px; left: 8px; top: 8px; }
	.jcbd-card__pages { display: none; }
	.jcbd-recent { grid-template-columns: 1fr; }
	.jcbd-modal { padding: 0; }
	.jcbd-modal__panel { border-radius: 0; }
	.jcbd-modal__head { flex-wrap: wrap; padding: 10px 12px; gap: 10px; }
	.jcbd-modal__info { flex-basis: 100%; order: 2; }
	.jcbd-modal__tools { order: 1; width: 100%; justify-content: flex-end; }
	.jcbd-tool { width: 38px; height: 38px; }
	.jcbd-stage__inner { padding: 10px; }
	.jcbd-nav { width: 42px; height: 42px; top: auto; bottom: 10px; transform: none; }
	.jcbd-stage__count { bottom: 18px; }
	.jcbd-stage__pdf { display: inline-flex; }
}
@media (max-width: 420px) {
	.jcbd-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.jcbd *, .jcbd-modal * { animation: none !important; transition: none !important; }
}
