:root{color-scheme:dark;--bg:#091017;--panel:#101a24;--muted:#8f9fad;--border:#243443;--white:#ecf5f6;--accent:#5df1b7;--accent2:#399ba0;--main:#0b141c;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--main);color:var(--white);font-size:14px;line-height:1.45}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.shell{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;width:240px;min-height:100vh;background:#0b121a;border-right:1px solid #1c2d38;display:flex;flex-direction:column;padding:30px 18px;flex-shrink:0}.brand{display:flex;align-items:center;gap:14px;margin:3px 7px 54px}.brandmark{display:flex;align-items:center;justify-content:center;border:1px solid rgba(93,241,183,.45);border-radius:13px;color:#f4fff9;font-size:23px;font-weight:900;letter-spacing:-2px;width:46px;height:46px;box-shadow:inset 0 0 20px rgba(93,241,183,.08)}.brandmark span{color:var(--accent)}.brandmark.big{width:56px;height:56px;font-size:28px;margin:0 auto 26px}.brand b{display:block;font-size:15px;letter-spacing:.2em}.brand small{display:block;font-size:8px;letter-spacing:.26em;color:#6d8995;margin-top:4px}.sidebar nav{display:grid;gap:7px}.nav{width:100%;text-align:left;background:transparent;border:0;color:#899ba7;border-radius:10px;padding:14px 16px;display:flex;gap:13px;align-items:center;font-size:14px}.nav:hover,.nav.active{color:var(--accent);background:rgba(93,241,183,.08)}.sidebar-foot{margin-top:auto;border-top:1px solid var(--border);padding:20px 14px 0;color:#9aabb6;font-size:10px;letter-spacing:.16em;font-weight:750}.sidebar-foot small{display:block;color:#687a88;font-size:10px;letter-spacing:0;margin-top:7px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 12px rgba(93,241,183,.35);margin-right:7px}.muted-dot{background:#67838c;box-shadow:none}.main{padding:34px clamp(18px,3.4vw,54px);width:100%;max-width:1700px;margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:12px}.eyebrow{font-size:10px;letter-spacing:.18em;color:#71c3af;font-weight:750}.topbar h1{font-size:26px;margin:5px 0 0;font-weight:690;letter-spacing:-.05em}.header-actions{display:flex;align-items:center;gap:12px}.connection{color:#9bb3b9;font-size:12px;white-space:nowrap}.icon-btn,.ghost{background:#142330;color:#c5d8d9;border:1px solid var(--border);border-radius:9px;padding:9px 13px}.icon-btn{font-size:20px;line-height:1}.ghost:hover,.icon-btn:hover{border-color:var(--accent)}.view{display:grid;gap:18px}.hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px 35px;background:radial-gradient(ellipse at 80% 20%,rgba(45,154,131,.18),transparent 55%),linear-gradient(110deg,#152c31,#101e2b);border:1px solid #285047;border-radius:18px;min-height:175px}.hero h2{font-size:27px;letter-spacing:-.045em;margin:8px 0 8px;font-weight:720}.hero p{color:#99afb6;margin:0;max-width:560px}.hero-stamp{border:1px solid #397567;border-radius:12px;color:var(--accent);text-align:center;padding:12px 18px;font-size:11px;letter-spacing:.15em;min-width:90px}.hero-stamp strong{display:block;font-size:25px;letter-spacing:-.05em;margin-top:4px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.stat{background:var(--panel);border:1px solid var(--border);border-radius:14px;padding:22px;min-height:145px}.stat-label{font-size:12px;color:#a2b4be}.stat-number{font-size:29px;font-weight:750;letter-spacing:-.055em;color:var(--white);margin:14px 0 2px;font-variant-numeric:tabular-nums}.stat:nth-child(3) .stat-number{color:var(--accent)}.stat small,.panel-note{color:#788e9d;font-size:11px}.twocol{display:grid;grid-template-columns:1.25fr 1fr;gap:18px}.panel{border:1px solid var(--border);border-radius:14px;background:var(--panel);padding:23px;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.panel h3{font-size:17px;letter-spacing:-.02em;margin:4px 0 0}.tag{border:1px solid #326e5d;background:rgba(93,241,183,.08);color:#82dfbe;border-radius:7px;font-size:10px;font-weight:730;padding:6px 8px;white-space:nowrap;letter-spacing:.06em}.tag.subtle{border-color:#314754;color:#9fb3bc;background:transparent}.tablewrap{overflow:auto}.table{width:100%;border-collapse:collapse}.table th{text-align:left;color:#718999;font-size:11px;font-weight:500;padding:10px 10px;border-bottom:1px solid var(--border)}.table td{padding:16px 10px;border-bottom:1px solid rgba(255,255,255,.055);font-size:12px}.table td:first-child{font-weight:700}.table tr:last-child td{border-bottom:0}.panel-note{margin-top:20px;line-height:1.6}.empty{border:1px dashed #2b4250;border-radius:12px;padding:35px 20px;color:#7f99a8;text-align:center}.ticker-form label,.login label{color:#aabdc5;font-size:11px;display:block;margin-bottom:7px}.ticker-row{display:flex;gap:9px}.ticker-row input,.login input{background:#0c161e;border:1px solid #2d4350;color:var(--white);padding:12px;border-radius:9px;min-width:0;width:100%;font-size:13px}.primary{border:0;border-radius:9px;background:var(--accent);color:#05251c;font-weight:750;padding:12px 20px;white-space:nowrap}.primary:hover{background:#8df6cd}.ticker-result{margin-top:18px;background:#0d1821;border-radius:10px;padding:19px}.price{font-weight:800;color:var(--accent);font-size:26px;letter-spacing:-.05em;font-variant-numeric:tabular-nums}.ticker-sub{margin-top:8px;font-size:12px;color:#9cb1bc}.muted{color:var(--muted)}.statusgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.statusgrid>div{display:flex;align-items:center;gap:5px;color:#91abb6;background:#0e1b25;border-radius:9px;padding:12px}.statusgrid b{margin-left:auto;color:#cededb;font-size:11px}.list-content{display:grid;gap:10px}.list-item{background:#0d1b24;border:1px solid #223643;border-radius:9px;padding:15px;display:flex;justify-content:space-between;gap:12px;align-items:center}.list-item strong{font-size:13px}.list-item small{display:block;color:#879eac;margin-top:5px}.caution{background:#162922;border:1px solid #285e48;color:#adcfbc;border-radius:10px;padding:18px;margin-top:23px;line-height:1.6}.panel p{color:#a4b6bf}footer{color:#577080;font-size:11px;text-align:center;margin:16px 0 3px}.notice{background:#402a25;border:1px solid #9b6856;padding:13px;border-radius:9px;color:#ffe4d8;margin-bottom:16px}.overlay{position:fixed;inset:0;z-index:5;background:rgba(5,10,14,.94);display:flex;align-items:center;justify-content:center;padding:16px}.overlay[hidden],.view[hidden],.notice[hidden]{display:none!important}.login{background:#12202a;border:1px solid #315447;border-radius:16px;padding:36px;width:min(100%,420px);box-shadow:0 30px 120px #0008}.login{text-align:center}.login h2{font-size:25px;letter-spacing:-.04em;margin:10px 0}.login p{color:#99abb5;font-size:13px;line-height:1.5;margin-bottom:25px}.login label{text-align:left}.login input{margin-bottom:14px}.block{width:100%}.login-error{color:#ffb29d;min-height:23px;margin-top:12px;font-size:12px}.login small{color:#6b8996;font-size:11px}@media(max-width:950px){.sidebar{width:74px;padding:22px 8px}.brand{margin:4px auto 40px}.brand>div,.nav span,.sidebar-foot small{display:none}.brandmark{width:42px;height:42px}.nav{justify-content:center;padding:14px 4px;font-size:20px}.sidebar-foot{padding:18px 0;text-align:center;font-size:0}.sidebar-foot .dot{margin:0}.twocol{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.shell{display:block}.sidebar{position:fixed;z-index:3;left:0;right:0;bottom:0;top:auto;width:100%;min-height:0;height:66px;padding:8px 12px;border-right:0;border-top:1px solid #30434d;flex-direction:row;background:#101b25}.sidebar .brand,.sidebar-foot{display:none}.sidebar nav{display:flex;justify-content:space-around;width:100%;gap:3px}.nav{flex:1;display:grid;justify-items:center;align-content:center;gap:0;font-size:19px;border-radius:10px;padding:4px}.nav span{display:block;font-size:10px}.main{padding:22px 15px 94px}.topbar h1{font-size:21px}.connection{font-size:0}.connection .dot{margin:0}.hero{padding:23px;min-height:auto}.hero h2{font-size:23px}.hero-stamp{display:none}.stats{gap:9px}.stat{padding:16px;min-height:122px}.stat-number{font-size:25px}.stat-label{font-size:11px}.panel{padding:18px}.panel-head{flex-wrap:wrap}.statusgrid{grid-template-columns:1fr}.header-actions{gap:7px}.ghost{font-size:11px;padding:9px}.ticker-row{flex-wrap:wrap}.ticker-row button{width:100%}} 

/* Telegram OIDC landing page (no external scripts or assets). */
.telegram-entry {min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 20%, #173b3c 0%, #0c1920 44%, #081117 100%);color:#e7f7f2;}
.telegram-entry-card {width:min(430px,100%);display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;background:#101f26;border:1px solid rgba(95,231,191,.18);padding:48px 30px;border-radius:25px;box-shadow:0 30px 100px #0005;}
.telegram-entry-logo {display:grid;place-items:center;width:68px;height:68px;background:#152e30;border:1px solid #215454;border-radius:20px;font-size:26px;font-weight:800;letter-spacing:-2px;}
.telegram-entry-logo span {color:#56deb0;}
.telegram-entry-card h1 {font-size:30px;line-height:1.15;margin:0;}
.telegram-entry-card p {color:#a1b5b7;font-size:14px;line-height:1.6;margin:0 0 10px;}
.telegram-entry-card .eyebrow {letter-spacing:2px;color:#57d9b0;font-size:10px;}
.telegram-login-button {display:flex;gap:12px;align-items:center;justify-content:center;width:100%;min-height:52px;background:#2588c4;color:#fff;text-decoration:none;font-weight:700;font-size:15px;border-radius:12px;transition:background .2s;}
.telegram-login-button:hover {background:#379ed4;}
.telegram-login-button:focus-visible {outline:2px solid #e2fffa;outline-offset:3px;}
.telegram-entry-card small {font-size:11px;color:#6e9398;}

/* EXILIX V5: stand-alone read-only journal tab */
.journal-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0 20px}
.journal-controls label{color:#9db4be;font-size:12px}
.journal-controls select{background:#0c161e;color:#eef6f6;border:1px solid #314651;border-radius:9px;padding:10px 12px;min-width:170px;max-width:100%;font:inherit}
.journal-entry{background:#0c1a23;border:1px solid #253746;border-radius:10px;padding:14px 16px;min-width:0}
.journal-entry-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.journal-entry-head strong{font-size:13px;overflow-wrap:anywhere}
.journal-date{font-size:11px;color:#8da3b1;margin-left:auto}
.journal-entry-detail{margin-top:9px;color:#b2c6cb;font-size:12px;overflow-wrap:anywhere}
.journal-state{font-size:11px;color:#70cfac;margin-top:6px}
.journal-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;font-size:12px;color:#99abb5}
.journal-pagination button:disabled{opacity:.38;cursor:not-allowed}
@media(max-width:600px){.sidebar nav{justify-content:flex-start;overflow-x:auto;scrollbar-width:thin}.sidebar .nav{flex:0 0 64px;min-width:64px}.journal-date{margin-left:0}.journal-controls select{flex:1;min-width:135px}.journal-entry{padding:13px}}
