/* MX-01 · панель «Время · место · матрицы» */
.tm-panel{position:fixed;z-index:120;top:88px;right:16px;width:min(460px,calc(100vw - 32px));max-height:calc(100vh - 110px);overflow:auto;background:#0b111af2;border:1px solid #c9a84c44;border-radius:14px;box-shadow:0 18px 60px #000a,inset 0 0 40px #c9a84c0a;color:#d9e1e6;font-size:13px;backdrop-filter:blur(8px)}
.tm-panel[hidden]{display:none}
.tm-panel header{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#0b111a;border-bottom:1px solid #c9a84c2a;z-index:1}
.tm-panel header strong{font-family:Cinzel,serif;letter-spacing:.08em;color:#e8d6a4;font-weight:500}
.tm-x{background:none;border:1px solid #34444f;color:#d5dfe7;border-radius:8px;width:30px;height:30px;cursor:pointer}
.tm-body{padding:4px 16px 8px}
.tm-panel h3{margin:16px 0 8px;font-size:11px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:#c9a84c}
.tm-row{display:flex;flex-wrap:wrap;gap:8px}
.tm-field{display:flex;flex-direction:column;gap:3px;flex:1 1 110px;min-width:0;color:#93a3ae;font-size:11px}
.tm-field input,.tm-field select{background:#121c27;border:1px solid #2f3f4b;color:#e3e9ed;border-radius:7px;padding:7px 8px;font:inherit;font-size:13px;min-width:0}
.tm-check{display:flex;gap:7px;align-items:center;padding:6px 10px;border:1px solid #2f3f4b;border-radius:8px;cursor:pointer}
.tm-check input{accent-color:#c9a84c}
.tm-hint,.tm-meta{color:#8c9ca7;font-size:12px;margin:6px 0}
.tm-later{margin:8px 0 0;padding-left:18px;color:#8796a3;font-size:12px}.tm-later li{margin:3px 0}.tm-later b{color:#b6c2ca;font-weight:500}
.tm-birth{margin-top:14px;border:1px solid #2f3f4b;border-radius:10px;padding:8px 10px}.tm-birth summary{cursor:pointer;color:#c9d5dc}
.tm-card{border:1px solid #2b3a46;border-radius:10px;padding:10px 12px;margin:8px 0;background:#0f1822}
.tm-card h4{margin:0 0 8px;font-weight:500;color:#f0e2bb;font-size:14px}
.tm-pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:6px}
.tm-pillar{display:flex;flex-direction:column;align-items:center;text-align:center;padding:6px 2px;border:1px solid #c9a84c2a;border-radius:8px;background:#c9a84c08}
.tm-pillar small{color:#8796a3;font-size:10px}.tm-pillar b{font-size:20px;font-weight:400;color:#f3e6bf;letter-spacing:.05em}.tm-pillar span{font-size:10px;color:#a8b6bf;line-height:1.25}
.tm-prov summary{cursor:pointer;color:#93a3ae;font-size:12px}.tm-prov p{margin:4px 0;font-size:11px;color:#8c9ca7}
.tm-warn{color:#e2c27c;font-size:12px;margin:6px 0}
.tm-rel{margin:6px 0}.tm-rel small{color:#8c9ca7}
.tm-map{list-style:none;padding:0;margin:0}.tm-map li{display:flex;align-items:center;gap:6px;margin:4px 0;font-size:12px}
.tm-sw{display:inline-block;width:14px;height:14px;border-radius:50%;border:1px solid #fff3;flex:0 0 auto}
.tm-actions{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.tm-btn{background:#15212d;color:#d5dfe7;border:1px solid #34444f;border-radius:8px;padding:8px 12px;cursor:pointer;font:inherit;font-size:12px}
.tm-btn.primary{background:linear-gradient(180deg,#e6d6a8,#c9a84c);color:#15110a;border-color:#c9a84c}
.tm-btn.ghost{background:transparent;color:#a4b2bb}
.tm-btn:focus-visible,.tm-x:focus-visible{outline:2px solid #ffd77a;outline-offset:2px}
.tm-journal{padding-left:20px;margin:4px 0;color:#b4c0c8;font-size:12px}
.tm-note{margin:0;padding:8px 16px 12px;color:#8796a3;font-size:11px;border-top:1px solid #1f2b35}
@media(max-width:560px){.tm-panel{top:auto;bottom:0;right:0;left:0;width:auto;max-height:78vh;border-radius:14px 14px 0 0}}
/* EL-5 и реестр матриц времени */
.tm-registry{margin-top:10px;border:1px solid #2f3f4b;border-radius:10px;padding:8px 10px}
.tm-registry summary{cursor:pointer;color:#e8d6a4}
.tm-reg-status{margin:12px 0 4px;font-size:11px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:#93a3ae}
.tm-st-verified{color:#8fd0b0}.tm-st-approximate,.tm-st-stub{color:#e2c27c}
.tm-reg{list-style:none;padding:0;margin:0}.tm-reg li{padding:6px 0;border-bottom:1px solid #ffffff0d;font-size:12px;color:#b9c6ce}
.tm-reg b{color:#e3e9ed;font-weight:500}.tm-reg small{color:#8796a3}
.tm-reg-gives{color:#c9a84c}.tm-reg-next{color:#8796a3}
/* TS-023 · тонкие меры и большие циклы */
.tm-panel .tm-scales .tm-units{width:100%;border-collapse:collapse;font-size:12px;margin:4px 0 6px}
.tm-panel .tm-scales .tm-units th{text-align:left;font-weight:500;color:#e8d6a4;padding:3px 6px 3px 0;white-space:nowrap}
.tm-panel .tm-scales .tm-units td{color:#b9c6ce;padding:3px 6px;border-bottom:1px solid #ffffff0d}
.tm-panel .tm-scales .tm-units td:last-child{text-align:right;font-family:'JetBrains Mono',monospace;white-space:nowrap}
.tm-panel .tm-scales-live{border:1px solid #c9a84c44;border-radius:8px;padding:6px 9px;margin:6px 0;background:#c9a84c08}
.tm-panel .tm-scales-live p{margin:3px 0;font-size:12px}
.tm-panel .tm-mono{font-family:'JetBrains Mono',monospace;font-size:11px}
@media(max-width:560px){.tm-panel .tm-scales .tm-units{font-size:11px}.tm-panel .tm-scales .tm-units th{white-space:normal}}
.tm-panel .tm-units tr.tm-now th,.tm-panel .tm-units tr.tm-now td{color:#ffd77a;background:#c9a84c14}
