/* Техническая панель прототипа (не часть сайта) */
.tp-toggle { position: fixed; left: 16px; bottom: 16px; z-index: 200; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: #1e6bd6; color: #fff; font: 600 13px/1 system-ui, sans-serif; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.tp { position: fixed; left: 16px; bottom: 72px; z-index: 200; width: 340px; max-height: calc(100vh - 100px); overflow: auto; background: #fff; color: #1b1b1b; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.25); font: 13px/1.4 system-ui, sans-serif; padding: 14px 16px 18px; display: none; }
.tp.is-open { display: block; }
.tp h4 { margin: 14px 0 8px; font: 700 11px/1 system-ui; letter-spacing: .08em; text-transform: uppercase; color: #777; }
.tp h4:first-child { margin-top: 0; }
.tp label { display: grid; grid-template-columns: 110px 1fr; gap: 8px; align-items: center; margin: 6px 0; }
.tp select, .tp input[type=range] { width: 100%; }
.tp select { padding: 4px; border: 1px solid #ccc; border-radius: 6px; background: #fff; }
.tp .row { display: flex; gap: 6px; flex-wrap: wrap; }
.tp .sw { width: 28px; height: 28px; border-radius: 6px; border: 1px solid rgba(0,0,0,.2); cursor: pointer; padding: 0; }
.tp .sw[aria-pressed=true] { outline: 2px solid #1e6bd6; outline-offset: 2px; }
.tp input[type=color] { width: 36px; height: 28px; border: 1px solid #ccc; border-radius: 6px; padding: 0; background: none; }
.tp .chk { grid-template-columns: auto 1fr; }
.tp .btnrow { display: flex; gap: 8px; margin-top: 14px; }
.tp .btnrow button { flex: 1; min-height: 34px; border-radius: 8px; border: 1px solid #ccc; background: #f6f6f6; cursor: pointer; font: inherit; }
.tp .val { font-variant-numeric: tabular-nums; color: #555; font-size: 12px; }
.tp .hint { color: #888; font-size: 11px; margin: 2px 0 6px; }
.tp-pages { position: fixed; right: 16px; bottom: 16px; z-index: 200; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; color: #1b1b1b; border: 1px solid #ddd; display: inline-flex; align-items: center; font: 600 13px/1 system-ui, sans-serif; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
