/* Photographic studies: preserve the complete comparison without cropping. */
.category-chips{scrollbar-width:thin;scrollbar-color:#2c4264 transparent}
.visual-library-note{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:10px;line-height:1.7;color:#b0c7e5;margin:0 0 20px}
.visual-library-note>span{color:#7f97b8;margin-left:auto}
.study-card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 13px;min-height:46px}
.study-card-heading>span{display:flex;align-items:center;gap:6px;font-size:9px;color:#a8bdd9;line-height:1.4}
.study-card-heading .favorite-button{position:static;flex-shrink:0;width:28px;height:28px;border-color:#2d4362;background:#132239}
.study-preview{display:block;position:relative;padding:0;width:100%;text-align:left;overflow:hidden;background:#080e17;cursor:zoom-in}
.study-image{position:relative;isolation:isolate;width:100%;background:#080e17;aspect-ratio:3/2}
.study-image img{display:block;width:100%;height:100%;object-fit:contain}
.study-labels{position:absolute;display:grid;grid-template-columns:1fr 1fr;inset:auto 0 0;padding:21px 7px 7px;gap:8px;background:linear-gradient(transparent,#020812aa);pointer-events:none}
.study-labels span{justify-self:start;max-width:100%;padding:4px 7px;border:1px solid #d2e4ff45;background:#081421d9;border-radius:4px;color:#f1f6ff;font-family:Consolas,monospace;font-size:9px;line-height:1.4;overflow-wrap:anywhere}
.study-labels span+span{color:#c6e5ff;border-color:#75baff80;background:#102c50dd}
.study-zoom{position:absolute;display:flex;align-items:center;gap:5px;top:9px;right:9px;background:#091a2cdd;border:1px solid #aecfff55;border-radius:5px;color:#e6f2ff;font-size:9px;padding:6px 8px;opacity:0;transition:opacity .18s;pointer-events:none}
.study-preview:hover .study-zoom,.study-preview:focus-visible .study-zoom{opacity:1}
.study-preview:focus-visible{outline:2px solid #8ac5ff;outline-offset:-3px}
.command-study,.study-full{margin:20px 0 27px;overflow:hidden;border-radius:8px;border:1px solid #304a6c;background:#0b1422}
.command-study figcaption,.study-full figcaption{padding:13px 16px;color:#bdd2ef;font-size:12px;line-height:1.65}
.command-study figcaption small{display:block;font-size:10px;color:#7f99bc;margin-top:5px}
.command-study .study-labels,.study-full .study-labels{padding:35px 13px 13px;gap:16px}
.command-study .study-labels span,.study-full .study-labels span{font-size:11px;padding:5px 10px}
.modal.study-viewer{width:min(1080px,calc(100vw - 40px));max-width:1080px;padding:27px;max-height:94dvh}
.study-viewer-heading{padding-right:35px;display:flex;align-items:baseline;gap:15px;flex-wrap:wrap}
.study-viewer-heading .eyebrow{font-size:9px}
.study-viewer-heading h2{font-family:Consolas,monospace;color:#9bcbff;font-size:23px;margin:0;letter-spacing:-1px}
.study-viewer-heading p{font-size:12px;margin:0}
.study-full{margin:20px 0 15px}
.study-viewer-footer{display:flex;align-items:center;justify-content:space-between;gap:20px}
.study-viewer-footer p{font-size:10px;line-height:1.7;color:#92a9c8;margin:0;max-width:390px}
.study-viewer-footer .btn{white-space:nowrap}
@media(hover:none){.study-zoom{opacity:1;font-size:8px;padding:4px 6px;top:7px;right:7px}.study-zoom svg{width:12px}}
@media(max-width:600px){.command-grid{grid-template-columns:1fr;gap:20px}.study-card-heading{padding:11px 15px}.study-card-heading>span{font-size:10px}.study-labels{padding:24px 10px 10px;gap:12px}.study-labels span{font-size:10px}.has-study .card-body{padding:18px 18px 0}.has-study .command-code code{font-size:12px}.has-study .card-body h3{font-size:19px}.has-study .card-body p{font-size:12px;margin-bottom:16px}.has-study .card-footer{padding:12px 0}.has-study .card-footer>button:first-child{font-size:11px;gap:10px}.has-study .level-tag,.has-study .free-tag{font-size:8px}.visual-library-note{font-size:10px;gap:6px}.visual-library-note>span{margin-left:20px;width:100%;font-size:9px}.modal.study-viewer{width:calc(100vw - 20px);padding:22px 14px}.study-viewer-heading{gap:8px;display:block}.study-viewer-heading h2{font-size:21px;margin:9px 0}.study-viewer-heading p{font-size:11px}.study-full{margin-top:17px}.study-full figcaption,.command-study figcaption{padding:12px;font-size:11px}.study-viewer-footer{align-items:stretch;flex-direction:column;gap:15px}.study-viewer-footer .btn{align-self:flex-start}.command-study .study-labels span,.study-full .study-labels span{font-size:9px;padding:4px 6px}.command-study .study-labels,.study-full .study-labels{padding:25px 7px 7px;gap:10px}}
