:root{color-scheme:dark;--black:#000;--panel:#a3a49e;--panel2:#94958f;--line:#292b29;--muted:#818781;--text:#e5e9e3;--accent:#a673f8}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden;background:#000}body{color:var(--text);font-family:"IBM Plex Mono","SFMono-Regular",Consolas,monospace}button,a{font:inherit}.shell{display:grid;grid-template-columns:minmax(460px,56vw) minmax(0,1fr);width:100vw;height:100vh;padding:14px;gap:14px;background:#000}.left{display:grid;grid-template-rows:minmax(330px,53%) minmax(0,1fr);min-height:0;gap:14px}
.explorer{display:grid;grid-template-rows:auto auto 1fr auto;min-height:0;overflow:hidden;color:#151714;background:var(--panel);border:1px solid #c3c4be}.repo-head{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;min-width:0;gap:10px;padding:13px 14px 12px;border-bottom:1px solid #777973}.mark{display:grid;width:36px;height:36px;place-items:center;overflow:hidden;background:transparent;color:var(--accent);font-size:18px}.mark img{display:block;width:100%;height:100%;object-fit:contain;transform:none}.repo-head small{display:block;margin:0 0 2px;color:#565951;font-size:9px;letter-spacing:.13em}.repo-head h1{margin:0;overflow:hidden;font-size:16px;letter-spacing:-.03em;text-overflow:ellipsis}.repo-head em{padding:4px 6px;border:1px solid #6f716b;border-radius:20px;font-size:8px;font-style:normal;letter-spacing:.1em}.repo-actions{display:flex;align-items:center;gap:7px}.repo-actions a{padding:5px 7px;color:#111;background:#a673f8;border:1px solid #111;text-decoration:none;font-size:8px;letter-spacing:.07em;white-space:nowrap}.repo-actions a:hover{color:#a673f8;background:#111}.repo-actions .download-source{position:relative;padding-left:20px}.repo-actions .download-source:before{content:"↓";position:absolute;left:7px;top:4px;font-size:10px}.repo-actions .open-system{color:#d8ddd6;background:#111;border-color:#111}.repo-actions .open-system:hover{color:#111;background:#a673f8}.repo-meta{display:flex;gap:16px;padding:8px 14px;background:var(--panel2);border-bottom:1px solid #777973;font-size:9px}.repo-meta i{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#6d38b3}
.tree{overflow-y:auto;padding:8px 7px 12px;scrollbar-color:#666862 transparent;scrollbar-width:thin}.row{display:flex;width:100%;min-height:29px;align-items:center;gap:7px;padding:4px 8px;color:#20221e;background:transparent;border:0;text-align:left;cursor:pointer}.row:hover{background:#ffffff33}.row.active{background:#111;color:#e8ece5}.row[data-depth="1"]{padding-left:27px}.row[hidden]{display:none}.chev{width:9px;color:#4a4c47;font-size:9px;transition:transform .15s}.row.open .chev{transform:rotate(90deg)}.icon{width:14px;color:#4d504a;font-size:10px}.row.active .icon{color:var(--accent)}.name{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.kind{margin-left:auto;color:#60635d;font-size:8px}.row.active .kind{color:#7f857d}.repo-foot{display:flex;gap:12px;padding:8px 13px;color:#555851;border-top:1px solid #777973;font-size:8px;letter-spacing:.09em}.repo-foot span:last-child{margin-left:auto}.repo-foot span:nth-child(2){color:#57327f}
.notes{min-height:0;overflow-y:auto;padding:17px 19px 20px;background:#0a0b0a;border:1px solid #242624;scrollbar-color:#343834 transparent;scrollbar-width:thin}.label{display:flex;align-items:center;gap:10px;color:var(--accent);font-size:9px;letter-spacing:.16em}.label:after{content:"";height:1px;flex:1;background:#2b3028}.label span{color:#626862}.notes p{margin:10px 0 0;color:#8e948e;font:11px/1.55 Arial,sans-serif}.notes .lead{color:#e0e4de;font:600 14px/1.35 Arial,sans-serif;letter-spacing:-.01em}.project{margin-top:22px}.tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}.tags span{padding:4px 6px;color:#aeb3ad;border:1px solid #303330;font-size:8px;letter-spacing:.07em}.enter{display:flex;justify-content:space-between;margin-top:17px;padding:10px 0 4px;color:var(--accent);border-top:1px solid #252925;text-decoration:none;font-size:9px;letter-spacing:.12em}
.notes h2{margin:12px 0 0;color:#e5e9e3;font:600 15px/1.35 Arial,sans-serif;letter-spacing:-.01em}.notes h3{margin:21px 0 0;color:#a673f8;font-size:9px;font-weight:500;letter-spacing:.14em}.notes .plain{margin:11px 0 2px;padding:11px 12px;color:#dce2da;background:#101310;border-left:2px solid #a673f8;font:600 12px/1.55 Arial,sans-serif}.notes ul,.notes ol{margin:10px 0 0;padding:0;list-style:none}.notes li{position:relative;margin:7px 0;padding-left:18px;color:#929892;font:11px/1.5 Arial,sans-serif}.notes ul li:before{content:"+";position:absolute;left:0;color:#a673f8;font-family:monospace}.notes ol{counter-reset:flow}.notes ol li{counter-increment:flow;padding-left:27px}.notes ol li:before{content:counter(flow,decimal-leading-zero);position:absolute;left:0;color:#626862;font:9px/1.8 monospace}.notes li b{color:#cbd0ca;font-weight:600}.notes .signature{margin-top:22px;padding-top:12px;color:#626862;border-top:1px solid #252925;font-family:monospace;font-size:9px;letter-spacing:.06em}.notes::-webkit-scrollbar{width:8px}.notes::-webkit-scrollbar-track{background:#080908}.notes::-webkit-scrollbar-thumb{background:#3c413c;border:2px solid #080908}.notes::-webkit-scrollbar-thumb:hover{background:#a673f8}
.workspace{display:grid;grid-template-rows:45px 32px 1fr 26px;min-width:0;min-height:0;overflow:hidden;background:#080908;border:1px solid #242624}.work-head{display:grid;grid-template-columns:100px 1fr 100px;align-items:center;border-bottom:1px solid var(--line)}.lights{display:flex;gap:6px;padding-left:15px}.lights i{width:7px;height:7px;border-radius:50%;background:#323632}.lights i:first-child{background:var(--accent)}#currentPath{overflow:hidden;color:#d9ddd7;font-size:11px;text-align:center;text-overflow:ellipsis;white-space:nowrap}#copyButton{justify-self:end;margin-right:12px;padding:5px 9px;color:#909690;background:transparent;border:1px solid #343734;cursor:pointer;font-size:8px;letter-spacing:.1em}#copyButton:hover{color:#000;background:var(--accent);border-color:var(--accent)}
.toolbar{display:flex;align-items:center;gap:18px;padding:0 14px;color:#656a65;background:#0c0d0c;border-bottom:1px solid #202220;font-size:8px;letter-spacing:.1em}.toolbar span:first-child{color:#abb0aa}.toolbar span:nth-child(2){margin-left:auto}.code-scroll{min-width:0;min-height:0;overflow:auto;scrollbar-color:#303430 #0a0b0a;scrollbar-width:thin}#codeView{min-width:max-content;margin:0;padding:16px 0 80px;color:#c6cbc4;font:13px/1.65 "SFMono-Regular",Consolas,monospace;tab-size:2}.code-line{display:block;min-height:21px;padding-right:28px}.code-line:hover{background:#0e110e}.num{display:inline-block;width:58px;margin-right:18px;color:#414641;border-right:1px solid #1c1f1c;text-align:right;padding-right:13px;user-select:none}.comment{color:#596359;font-style:italic}.string{color:#cbb0f2}.keyword{color:#a673f8}.number{color:#d6b878}.type{color:#8eb8ae}.work-foot{display:flex;align-items:center;justify-content:space-between;padding:0 12px;color:#555a55;background:#0c0d0c;border-top:1px solid #202220;font-size:8px;letter-spacing:.08em}
@media(max-width:820px){html,body{overflow:auto}.shell{grid-template-columns:1fr;height:auto;min-height:100vh}.left{grid-template-rows:440px auto}.workspace{height:72vh;min-height:520px}}@media(max-width:480px){.shell{padding:8px;gap:8px}.left{gap:8px}.repo-meta span:last-child{display:none}.work-head{grid-template-columns:55px 1fr 65px}.num{width:42px;margin-right:12px}}
.ca-banner{display:grid;grid-template-columns:1fr auto 1fr;width:100%;height:36px;align-items:center;padding:0 15px;color:#777d77;background:#080908;border-bottom:1px solid #262a26;font-size:8px;letter-spacing:.11em}.ca-value{display:flex;align-items:center;gap:10px;justify-self:center}.ca-value span{color:#4f554f}.ca-value b{color:#dfe4dd;font-weight:500;letter-spacing:.08em}.x-link{display:grid;width:24px;height:24px;place-items:center;justify-self:end;color:#a673f8;border:1px solid #303530;transition:.15s}.x-link:hover{color:#000;background:#a673f8;border-color:#a673f8}.x-link svg{width:11px;height:11px;fill:currentColor}.shell{height:calc(100vh - 36px)}@media(max-width:820px){.shell{height:auto;min-height:calc(100vh - 36px)}}@media(max-width:480px){.ca-banner{padding:0 9px}.ca-value span{display:none}}
@media(max-width:480px){.repo-head{grid-template-columns:36px minmax(0,1fr);padding:10px}.repo-actions{grid-column:1/-1;justify-content:flex-end}}

/* Kernum liquid glass system */
:root{
  --glass-edge:rgba(225,205,255,.24);
  --glass-shine:rgba(255,255,255,.22);
  --glass-shadow:rgba(0,0,0,.55);
}
html,body{
  background:
    radial-gradient(circle at 12% 8%,rgba(166,115,248,.24),transparent 28%),
    radial-gradient(circle at 88% 78%,rgba(101,52,174,.2),transparent 34%),
    radial-gradient(circle at 52% 42%,rgba(199,161,248,.08),transparent 38%),
    linear-gradient(145deg,#07040d 0%,#0c0812 46%,#030205 100%);
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    linear-gradient(115deg,transparent 0 42%,rgba(255,255,255,.025) 48%,transparent 55%),
    repeating-linear-gradient(90deg,rgba(255,255,255,.012) 0 1px,transparent 1px 72px),
    repeating-linear-gradient(0deg,rgba(255,255,255,.01) 0 1px,transparent 1px 72px);
}
.ca-banner,.shell{position:relative;z-index:1}
.ca-banner{
  width:calc(100% - 20px);
  margin:0 10px;
  border:1px solid rgba(216,190,255,.17);
  border-top:0;
  border-radius:0 0 16px 16px;
  background:linear-gradient(110deg,rgba(255,255,255,.08),rgba(20,13,29,.48) 38%,rgba(9,7,14,.58));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 14px 38px rgba(0,0,0,.24);
  backdrop-filter:blur(24px) saturate(155%);
  -webkit-backdrop-filter:blur(24px) saturate(155%);
}
.shell{background:transparent;padding:16px;gap:16px}
.explorer,.notes,.workspace{
  position:relative;
  border:1px solid var(--glass-edge);
  border-radius:18px;
  box-shadow:
    inset 0 1px 0 var(--glass-shine),
    inset 1px 0 0 rgba(255,255,255,.06),
    0 24px 58px var(--glass-shadow),
    0 3px 12px rgba(103,56,177,.12);
  backdrop-filter:blur(26px) saturate(145%);
  -webkit-backdrop-filter:blur(26px) saturate(145%);
}
.explorer{
  background:
    linear-gradient(135deg,rgba(255,255,255,.34),transparent 28%),
    linear-gradient(145deg,rgba(225,220,234,.78),rgba(166,162,177,.64));
}
.notes,.workspace{
  background:
    linear-gradient(135deg,rgba(255,255,255,.09),transparent 27%),
    linear-gradient(155deg,rgba(28,20,39,.74),rgba(6,6,9,.68) 58%,rgba(15,9,22,.72));
}
.repo-head{
  background:linear-gradient(90deg,rgba(255,255,255,.18),rgba(255,255,255,.035));
  border-bottom-color:rgba(55,46,67,.28);
}
.repo-meta{
  background:rgba(255,255,255,.11);
  border-bottom-color:rgba(55,46,67,.24);
}
.repo-foot{
  background:rgba(255,255,255,.07);
  border-top-color:rgba(55,46,67,.24);
}
.row{margin:1px 5px;width:calc(100% - 10px);border-radius:9px}
.row:hover{background:rgba(255,255,255,.24)}
.row.active{
  background:linear-gradient(100deg,rgba(18,14,24,.94),rgba(34,22,47,.88));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 7px 18px rgba(31,15,50,.2);
}
.repo-actions a,.x-link,#copyButton{
  border-radius:9px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 5px 14px rgba(25,10,43,.16);
}
.repo-actions a{
  border-color:rgba(30,18,45,.5);
  background:linear-gradient(135deg,#c7a1f8,#9f62f3);
}
.repo-actions .open-system{
  color:#eee8f5;
  background:linear-gradient(145deg,rgba(22,17,29,.92),rgba(8,7,11,.9));
  border-color:rgba(218,193,255,.24);
}
.notes{padding:20px 22px 24px}
.notes .plain{
  border:1px solid rgba(206,174,255,.14);
  border-left:2px solid var(--accent);
  border-radius:0 12px 12px 0;
  background:linear-gradient(110deg,rgba(166,115,248,.12),rgba(255,255,255,.035));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.tags span{
  border-color:rgba(206,174,255,.2);
  border-radius:999px;
  background:rgba(166,115,248,.055);
}
.workspace{background-color:rgba(4,4,7,.66)}
.work-head,.toolbar,.work-foot{
  background:rgba(10,8,14,.36);
  border-color:rgba(207,178,249,.11);
}
.code-scroll{background:rgba(0,0,0,.11)}
.code-line:hover{background:linear-gradient(90deg,rgba(166,115,248,.09),transparent 72%)}
#copyButton:hover,.x-link:hover{
  background:linear-gradient(135deg,#c7a1f8,#9f62f3);
  box-shadow:0 0 22px rgba(166,115,248,.24),inset 0 1px 0 rgba(255,255,255,.38);
}
@media(max-width:820px){
  .shell{padding:12px;gap:12px}
  .explorer,.notes,.workspace{border-radius:15px}
}
@media(max-width:480px){
  .ca-banner{width:calc(100% - 12px);margin:0 6px;border-radius:0 0 13px 13px}
  .shell{padding:8px;gap:9px}
  .explorer,.notes,.workspace{border-radius:13px}
}
/* Left-aligned CA header */
.ca-banner{
  grid-template-columns:minmax(0,1fr) auto;
  height:48px;
  padding:0 17px;
}
.banner-spacer{display:none}
.ca-value{
  justify-self:start;
  gap:13px;
}
.ca-value span{
  display:inline-block;
  color:#a673f8;
  font-size:10px;
  font-weight:700;
  letter-spacing:.16em;
}
.ca-value b{
  color:#f0e7ff;
  font-size:14px;
  font-weight:600;
  letter-spacing:.12em;
  text-shadow:0 0 16px rgba(166,115,248,.3);
}
.shell{height:calc(100vh - 48px)}
@media(max-width:820px){.shell{min-height:calc(100vh - 48px)}}
@media(max-width:480px){
  .ca-banner{height:44px;padding:0 12px}
  .ca-value span{display:inline-block;font-size:9px}
  .ca-value b{font-size:13px}
  .shell{min-height:calc(100vh - 44px)}
}