.cr-card-export-control{display:flex;justify-content:flex-end;clear:both;margin-top:1rem;padding-top:.65rem;border-top:1px solid rgba(180,195,206,.2)}
.cr-card-export-button{display:inline-flex!important;align-items:center;justify-content:center;gap:.5rem;min-height:40px;max-width:100%;padding:.55rem .8rem;border:1px solid var(--color-border,#50616a);border-radius:.5rem;background:var(--color-surface,#172129);color:var(--color-text,#edf3f6);font:500 .85rem/1.35 Tektur,sans-serif;cursor:pointer;white-space:normal}
.cr-card-export-button:hover{border-color:var(--color-accent,#73dce6);color:var(--color-accent,#73dce6)}
.cr-card-export-button:focus-visible,.cr-export-dialog :is(a,button):focus-visible{outline:2px solid #73dce6;outline-offset:3px}
.cr-card-export-button:disabled{opacity:.65;cursor:progress}.cr-card-export-button svg{flex:none}
.cr-card-export-wrap{display:flex;flex-direction:column;min-width:0}.cr-card-export-wrap>a{flex:1;margin-bottom:0!important}.cr-card-export-wrap>.cr-card-export-control{margin:0;padding:.5rem;border:1px solid var(--color-border,#50616a);border-top:0;border-radius:0 0 .5rem .5rem;background:var(--color-surface,#172129)}
.cr-export-dialog{box-sizing:border-box;margin:auto;width:min(760px,calc(100vw - 24px));max-width:100%;max-height:90vh;max-height:90dvh;overflow:auto;padding:1.25rem;background:#172129;color:#edf3f6;border:1px solid #50616a;border-radius:.8rem;font-family:Tektur,sans-serif;z-index:99999}
.cr-export-dialog::backdrop{background:rgba(0,0,0,.8)}.cr-export-dialog-top{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.cr-export-dialog h2{font:700 1.25rem/1.35 Tektur,sans-serif;color:#edf3f6;margin:0}.cr-export-dialog p{font-size:.9rem;line-height:1.6}.cr-export-dialog section{margin-top:1rem}.cr-export-dialog button,.cr-export-dialog a{font:500 .9rem/1.4 Tektur,sans-serif}.cr-export-dialog button{padding:.5rem .75rem;border:1px solid #50616a;border-radius:.4rem;background:#101a21;color:#edf3f6;cursor:pointer}.cr-export-dialog a{display:inline-block;margin:0 .8rem .7rem 0;color:#73dce6}.cr-export-dialog a.cr-export-download{padding:.55rem .8rem;background:#73dce6;color:#101a21;border-radius:.4rem}.cr-export-dialog img{display:block;width:100%;height:auto;border:1px solid #50616a;border-radius:.4rem}
.cr-export-staging{position:absolute!important;left:-10000px!important;top:0!important;width:760px!important;pointer-events:none!important;z-index:-1!important}
.cr-export-sheet{box-sizing:border-box!important;width:760px!important;min-width:760px!important;max-width:760px!important;padding:28px!important;margin:0!important;background:var(--export-bg)!important;color:#edf3f6!important;border:2px solid var(--export-accent)!important;border-radius:12px!important;font:400 18px/1.55 Tektur,sans-serif!important;overflow:visible!important;word-break:normal!important;overflow-wrap:anywhere!important}
.cr-export-sheet *{box-sizing:border-box;font-family:Tektur,sans-serif!important;animation:none!important;transition:none!important;text-shadow:none!important;box-shadow:none!important;max-width:100%!important;content-visibility:visible!important}
.cr-export-sheet :is(h1,h2,h3,h4,.card-title,.cp-card-title,.rb-card-title){color:var(--export-accent)!important;font-family:Tektur,sans-serif!important;line-height:1.3!important;letter-spacing:normal!important;overflow-wrap:anywhere!important}
.cr-export-sheet h1{font-size:30px!important}.cr-export-sheet h2{font-size:24px!important}.cr-export-sheet h3{font-size:21px!important}.cr-export-sheet :is(p,li,td,th,dd,dt,.value,.label,.feat-body,.dnd-detail-body){font-family:Tektur,sans-serif!important;line-height:1.55!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;-webkit-line-clamp:unset!important}
.cr-export-sheet :is(a,.pf2-tooltip-trigger){color:var(--export-accent)!important}.cr-export-sheet :is(.pf2-tab-panel,.pf2-tab-panel.active,.dnd-tab-content.active){display:block!important;opacity:1!important;visibility:visible!important;height:auto!important;max-height:none!important;overflow:visible!important;margin-top:1rem!important}
.cr-export-sheet :is(.cr-card-export-control,.download_icon_top_right,button){display:none!important}
.cr-export-sheet :is(.pf2-container,.dnd-detail,.coc-item-card,.cr-catalog-detail,.helper-section,.item-card,.keyword-card,.race-card,.cp-card,.rb-card,.pf2-item-card){display:block!important;position:static!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:12px!important;height:auto!important;max-height:none!important;background:transparent!important;color:#edf3f6!important;border:0!important;overflow:visible!important;transform:none!important}
.cr-export-sheet :is(.dnd-detail-stats,.pf2-info-grid,.race-stats){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}.cr-export-sheet :is(.meta-row,.pf2-meta-row,.coc-meta-row){display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;gap:8px!important;padding:7px 0!important;border-bottom:1px solid rgba(200,215,220,.18)!important}
.cr-export-sheet :is(.value,dd){min-width:0!important;text-align:left!important}.cr-export-sheet table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important}.cr-export-sheet :is(td,th){padding:8px!important;font-size:18px!important;border:1px solid #50616a!important;overflow-wrap:break-word!important}.cr-export-sheet :is(.table-responsive,.table-scroll,.cr-guide-table-wrap){overflow:visible!important;width:100%!important;max-height:none!important}
.cr-export-sheet .cr-export-sheet-meta,.cr-export-sheet .cr-export-sheet-source{font:400 14px/1.5 Tektur,sans-serif!important;color:#bfc9ce!important;white-space:pre-line!important;overflow-wrap:anywhere!important}.cr-export-sheet .cr-export-sheet-source{margin-top:24px!important;padding-top:14px!important;border-top:1px solid var(--export-accent)!important}
.cr-export-sheet .feat-title{color:var(--export-accent)!important;cursor:default!important}.cr-export-sheet .feat-title::after{display:none!important}.cr-export-sheet .pf2-class-card{display:block!important;width:100%!important;min-width:0!important;height:auto!important}.cr-export-sheet .expand-content{display:block!important;max-height:none!important;height:auto!important;overflow:visible!important}
.cr-export-sheet :is(.item-header,.keyword-header,.race-header,.cp-card-header){display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;position:static!important}.cr-export-sheet :is(.item-header,.keyword-header,.cp-card-header) :is(h2,h3){margin:0!important;min-width:0!important}.cr-export-sheet :is(.cost-badge,.setting-badge,.item-level,.dnd-badge){position:static!important;transform:none!important;flex:none!important;margin:0!important}
@media(max-width:480px){.cr-card-export-button{min-height:44px}.cr-export-dialog{padding:1rem}.cr-export-dialog-top{gap:.5rem}.cr-export-dialog h2{font-size:1.1rem}}
@media print{.cr-card-export-control,.cr-export-dialog,.cr-export-staging{display:none!important}}
/* One continuous frame, irrespective of internal rendering stripes. */
.cr-export-sheet{border:0!important;border-radius:0!important}
.cr-export-sheet :is(.cost-badge,.setting-badge,.item-level,.dnd-badge){display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;min-height:36px!important;height:auto!important;padding:8px 10px!important;font:600 16px/1.25 Tektur,sans-serif!important;vertical-align:middle!important;white-space:normal!important}
.cr-export-sheet summary{display:block!important;list-style:none!important}.cr-export-sheet summary::marker{content:""!important}
.cr-export-dialog .cr-export-zoom{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px}.cr-export-zoom output{font-size:14px;min-width:4ch;color:#bfc9ce}
.cr-export-dialog .cr-export-viewport{max-height:58vh;max-height:58dvh;overflow:auto;overscroll-behavior:contain;border:1px solid #50616a;border-radius:6px;touch-action:pan-x pan-y pinch-zoom;background:#0d151b}
.cr-export-dialog .cr-export-preview{max-width:none!important;min-width:0;margin:0 auto;line-height:0;font-size:0}
.cr-export-dialog .cr-export-preview img{display:block!important;width:100%!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;image-rendering:auto}
.cr-export-dialog .cr-export-viewport:focus-visible{outline:2px solid #73dce6;outline-offset:3px}
.cr-export-sheet .cr-export-tab-heading{display:block!important;margin:28px 0 18px!important;padding:12px 0!important;border-top:2px solid var(--export-accent)!important;font-size:26px!important}
.cr-export-sheet .cr-export-table-row{display:block!important;margin:14px 0!important;padding:16px!important;border:1px solid #50616a!important;border-radius:8px!important;background:rgba(255,255,255,.025)!important}
.cr-export-sheet .cr-export-table-row>h3{margin:0 0 12px!important;font-size:22px!important}
.cr-export-sheet .cr-export-table-row dl{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 18px!important;margin:0!important;padding:0!important}
.cr-export-sheet .cr-export-table-row dl>div{display:block!important;min-width:0!important;padding:6px 0!important;border-top:1px solid rgba(200,215,220,.18)!important}
.cr-export-sheet .cr-export-table-row .cr-export-wide-field{grid-column:1/-1!important}
.cr-export-sheet .cr-export-table-row dt{display:block!important;font-size:16px!important;color:#bfc9ce!important;font-weight:400!important;margin:0 0 4px!important}
.cr-export-sheet .cr-export-table-row dd{display:block!important;font-size:18px!important;color:#edf3f6!important;font-weight:500!important;margin:0!important;padding:0!important;float:none!important}
.cr-export-sheet :is(.foba-section-block,.pf2-level-block,.pf2-feat-card,.feature-block,.dnd-detail-section){height:auto!important;max-height:none!important;overflow:visible!important}
.cr-export-sheet :is(.foba-ranks-grid,.foba-nck-grid,.foba-spells-grid,.foba-spell-grid,.foba-scripts-grid){display:block!important;grid-template-columns:none!important}
.cr-export-sheet :is(.foba-rank-card,.foba-nck-card,.foba-spell-card){width:100%!important;min-width:0!important;margin:14px 0!important}
.cr-export-sheet :is(.feat-body,.dnd-detail-body,.foba-rank-card-body,.foba-nck-desc,.pf2-description){font-size:18px!important;line-height:1.55!important}
/* Catalogue typography must not turn into thumbnail typography in the PNG. */
.cr-export-sheet *{min-width:0!important;line-height:1.55!important;word-break:normal!important;overflow-wrap:anywhere!important;white-space:normal!important}
.cr-export-sheet :is(.subtitle,.card-subtitle,.cp-card-subtitle,.pf2-name-en){display:block!important;font-size:18px!important;line-height:1.55!important;margin:8px 0!important}
.cr-export-sheet :is(.dnd-detail-header,.pf2-detail-header,.foba-detail-header){display:block!important;height:auto!important;max-height:none!important;overflow:visible!important;margin-bottom:22px!important}
.cr-export-sheet .dnd-detail-header>.dnd-badge{margin-top:12px!important}
.cr-export-sheet :is(.rank-badge,.level-badge,.type-badge){display:inline-flex!important;position:static!important;align-items:center!important;justify-content:center!important;min-height:36px!important;padding:8px 10px!important;height:auto!important;max-width:100%!important;font-size:18px!important}
.cr-export-sheet :is(.cp-property-row,.meta-row,.pf2-meta-row,.coc-meta-row){display:grid!important;grid-template-columns:minmax(160px,1fr) minmax(0,2fr)!important;align-items:start!important;gap:10px 18px!important}
.cr-export-sheet :is(.label,.value,.cp-property-label,.cp-property-value){font-size:18px!important;white-space:normal!important;overflow-wrap:anywhere!important;min-width:0!important;line-height:1.55!important}
.cr-export-sheet a{text-decoration:none!important;border-bottom:0!important}
.cr-export-sheet img{display:block!important;position:static!important;float:none!important;transform:none!important;max-width:100%!important;max-height:none!important;height:auto!important;object-fit:contain!important}
.cr-equipment-diagram-caption{display:block;margin:.35rem 0 .75rem;color:#b4c3ce;font:400 .8rem/1.5 Tektur,sans-serif}
.cr-export-sheet .cr-equipment-diagram-caption{font-size:18px!important}
.cr-export-sheet li.card-img__block{display:block!important;list-style:none!important}
/* Real text markers share the first text baseline; no browser-marker raster bug. */
.cr-export-sheet li.cr-export-list-item{display:grid!important;grid-template-columns:max-content minmax(0,1fr)!important;column-gap:.6em!important;align-items:baseline!important;list-style:none!important;padding:0!important;margin:.35em 0!important}
.cr-export-sheet .cr-export-list-marker{display:block!important;align-self:baseline!important;font:inherit!important;line-height:1.55!important;color:inherit!important;white-space:nowrap!important;margin:0!important;padding:0!important}
.cr-export-sheet .cr-export-list-body{display:block!important;min-width:0!important;margin:0!important;padding:0!important;line-height:1.55!important}
.cr-export-sheet .cr-export-list-body>a:not(.cr-export-navigation-link){display:inline!important;margin:0!important;padding:0!important;vertical-align:baseline!important}
/* Web-only click/tooltip affordances cross Tektur glyphs in html2canvas. */
.cr-export-sheet :is(.dice,.dnd-dice,.tooltip,.tooltipstered,.pf2-tooltip-trigger,[tooltip-for],[data-tooltip]){border-bottom:0!important;text-decoration:none!important;background-image:none!important;cursor:default!important}

/* Export-only: do not rely on nav selectors or inline whitespace from the site. */
.cr-export-sheet .cr-export-navigation{display:block!important;position:static!important;clear:both!important;max-width:100%!important;margin:18px 0!important;padding:10px 0!important;border-top:1px solid var(--export-accent)!important}
.cr-export-sheet .cr-export-navigation .cr-export-navigation-link{display:block!important;position:static!important;float:none!important;width:auto!important;max-width:100%!important;margin:8px 0!important;padding:0!important;font-size:18px!important;line-height:1.55!important;white-space:normal!important;overflow-wrap:anywhere!important}

/* Preview uses width-fit PNG or reflowed complete text. Never hide bitmap content. */
.cr-export-dialog .cr-export-preview{width:100%!important;max-width:100%!important;min-width:0!important}
.cr-export-dialog .cr-export-preview[hidden],.cr-export-dialog .cr-export-reader[hidden]{display:none!important}
.cr-export-dialog .cr-export-zoom button{min-height:44px}
.cr-export-dialog .cr-export-zoom button[aria-pressed="true"]{border-color:#73dce6;background:#183b45;color:#a9f5fc}
.cr-export-dialog .cr-export-viewport{touch-action:pan-y pinch-zoom}
.cr-export-dialog .cr-export-reader.cr-export-sheet{width:100%!important;min-width:0!important;max-width:100%!important;padding:16px!important;font-size:18px!important;line-height:1.6!important}
.cr-export-dialog .cr-export-reader *{max-width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
.cr-export-dialog .cr-export-reader :is(.dnd-detail-stats,.pf2-info-grid,.race-stats,.cp-property-row,.meta-row,.pf2-meta-row,.coc-meta-row,.cr-export-table-row dl){grid-template-columns:minmax(0,1fr)!important}
.cr-export-dialog .cr-export-reader :is(.item-header,.keyword-header,.race-header,.cp-card-header){display:block!important}
.cr-export-dialog .cr-export-reader :is(.value,dd){text-align:left!important;margin-left:0!important}
.cr-export-dialog .cr-export-reader h1{font-size:26px!important}
.cr-export-dialog .cr-export-reader h2{font-size:23px!important}
.cr-export-dialog .cr-export-reader h3{font-size:21px!important}
.cr-export-dialog .cr-export-reader .cr-export-sheet-meta,.cr-export-dialog .cr-export-reader .cr-export-sheet-source{font-size:15px!important}
.cr-export-dialog .cr-export-reader :is(.cr-export-table-row,.cr-export-tab-heading){padding:12px!important}
.cr-export-dialog .cr-export-reader a[href]{text-decoration:underline!important;text-underline-offset:.2em!important}

/* Reader typography must not inherit .cr-export-dialog p's 0.9rem. */
.cr-export-dialog .cr-export-reader :is(p,li,a,dd,dt,td,th){font-size:18px!important}
/* Keep the title/actions visible; only the reading pane scrolls. */
.cr-export-dialog[open]:has(.cr-export-viewport){display:flex;flex-direction:column;height:90vh;height:90dvh;overflow:visible}
.cr-export-dialog:has(.cr-export-viewport)>.cr-export-dialog-top{flex:none}
.cr-export-dialog:has(.cr-export-viewport)>p{flex:none;margin:10px 0;line-height:1.45}
.cr-export-dialog:has(.cr-export-viewport)>section{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto auto minmax(0,1fr);gap:8px 12px;flex:1;min-height:0;margin-top:4px}
.cr-export-dialog:has(.cr-export-viewport)>section>a{align-self:center;margin:0;max-width:100%;overflow-wrap:anywhere}
.cr-export-dialog:has(.cr-export-viewport)>section>.cr-export-download{grid-column:1;grid-row:1}
.cr-export-dialog:has(.cr-export-viewport)>section>a:not(.cr-export-download){grid-column:2;grid-row:1}
.cr-export-dialog:has(.cr-export-viewport)>section>p{grid-column:1/-1;grid-row:2;margin:0}
.cr-export-dialog:has(.cr-export-viewport)>section>.cr-export-zoom{grid-column:1/-1;grid-row:3;margin:0}
.cr-export-dialog:has(.cr-export-viewport)>section>.cr-export-viewport{grid-column:1/-1;grid-row:4;min-height:0;max-height:none}
@media(max-width:480px){
 .cr-export-dialog:has(.cr-export-viewport)>section{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto minmax(0,1fr);gap:6px}
 .cr-export-dialog:has(.cr-export-viewport)>section>a{grid-column:1!important;grid-row:auto!important}
 .cr-export-dialog:has(.cr-export-viewport)>section>p{grid-row:3}
 .cr-export-dialog:has(.cr-export-viewport)>section>.cr-export-zoom{grid-row:4}
 .cr-export-dialog:has(.cr-export-viewport)>section>.cr-export-viewport{grid-row:5}
 .cr-export-dialog .cr-export-zoom{gap:6px}
 .cr-export-dialog .cr-export-zoom button{padding:.45rem .55rem}
}
