/* The Figma dark variant uses the PTS mark as a white monochrome symbol. */
body[data-theme="dark"] .brand-mark { width:40px; height:40px; padding:0; filter:none; }
body[data-theme="dark"] .brand-text { font-size:10px; line-height:1.18; }

/* Compact, finger-friendly viewer controls. */
.toolbar-right { gap: 10px; }
.fit-button { min-height:28px; border:1px solid var(--line); border-radius:5px; background:var(--bar); padding:4px 8px; text-transform:none; }
.fit-button:hover { background:#e8e8e8; }
.fit-button i { width:12px; transform:none; letter-spacing:0; font-size:0; line-height:1; }
.fit-button i::before { content:'↕'; font-size:14px; }
.zoom-controls { gap:0; min-height:28px; border:1px solid var(--line); border-radius:5px; overflow:hidden; background:var(--bar); }
.zoom-controls button { width:26px; height:26px; color:var(--ink); }
.zoom-controls button:hover:not(:disabled) { background:#e8e8e8; }
.zoom-controls output { min-width:44px; padding:0 5px; line-height:26px; border-left:1px solid var(--line); border-right:1px solid var(--line); }
.theme-button { min-height:28px; padding:4px 0 4px 5px; }
.theme-button i { position:relative; width:34px; height:18px; border:0; border-radius:999px; background:#6d7880; }
.theme-button i::after { content:''; position:absolute; top:3px; left:3px; width:12px; height:12px; border-radius:50%; background:#fff; box-shadow:0 1px 2px #0004; transition:transform .18s ease; }
body[data-theme="dark"] .theme-button i { background:#0b75bd; }
body[data-theme="dark"] .theme-button i::after { transform:translateX(16px); }
body[data-theme="dark"] .fit-button,body[data-theme="dark"] .zoom-controls { border-color:#515151; background:#2b2b2b; }
body[data-theme="dark"] .fit-button:hover,body[data-theme="dark"] .zoom-controls button:hover:not(:disabled) { background:#424242; }
body[data-theme="dark"] .zoom-controls output { border-color:#515151; }
@media(max-width:760px) { .fit-button { min-height:26px; padding:4px 6px; }.zoom-controls { min-height:26px; }.zoom-controls button { height:24px; }.zoom-controls output { line-height:24px; }.theme-button { padding-left:0; }.theme-button i { width:30px; height:17px; }.theme-button i::after { width:11px; height:11px; }body[data-theme="dark"] .theme-button i::after { transform:translateX(13px); } }

/* Page zoom is controlled only by the toolbar; the press-and-hold lens is disabled. */
figure img { cursor:default; }
.magnifier { display:none !important; }
.download-all { flex:0 0 auto; margin-left:auto; padding:5px 12px; border:1px solid #777; border-radius:4px; color:inherit; font:600 11px Montserrat,Arial,sans-serif; text-decoration:none; white-space:nowrap; }
.download-all:hover { background:#ffffff22; }
.download-all[hidden] { display:none; }
#title { flex:0 1 auto; max-width:42%; }
@media(max-width:760px) { .download-all { padding:5px 7px; font-size:10px; } #title { max-width:27%; } }
