* { box-sizing:border-box; }
html,body { margin:0; height:100%; background:var(--bg); color:var(--ink); font:14px/1.5 var(--font); }
a { color:inherit; text-decoration:none; }
svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linejoin:round; stroke-linecap:round; }
:focus-visible { outline:2px solid var(--accent-text); outline-offset:3px; }
.explorer { height:100dvh; display:grid; grid-template-columns:178px minmax(0,1fr); overflow:hidden; }
.explorer-sidebar { background:var(--side); border-right:1px solid var(--line); display:flex; flex-direction:column; padding:24px 13px; }
.explorer-home { display:flex; gap:9px; align-items:center; font-size:11px; font-weight:600; margin:0 3px 32px; }
.explorer-home small { display:block; font-size:10px; color:var(--muted); font-weight:400; margin-top:2px; }
.explorer-avatar { width:31px; height:31px; background:var(--selected); display:grid; place-items:center; border:1px solid var(--line); border-radius:10px; flex-shrink:0; font-size:10px; }
.explorer-label { margin:0 12px 8px; font-size:10px; font-weight:600; color:var(--muted); }
.explorer-sidebar nav { display:grid; gap:3px; }
.explorer-sidebar nav a { display:flex; gap:10px; align-items:center; padding:9px 12px; font-size:12px; border-radius:7px; }
.explorer-sidebar nav a:hover { background:var(--field); }
.explorer-sidebar nav a[aria-current="page"] { background:var(--selected); font-weight:600; }
.explorer-sidebar nav svg { fill:var(--folder-fill); stroke:var(--folder-ink); }
.explorer-hint { margin:auto 10px 0; padding-top:32px; font-size:10px; color:var(--muted); line-height:1.7; }
.explorer-main { min-width:0; min-height:0; display:flex; flex-direction:column; }
.explorer-toolbar { flex:none; display:flex; gap:18px; align-items:center; min-height:52px; border-bottom:1px solid var(--line); padding:9px 22px; }
.explorer-history { display:flex; gap:4px; }
.explorer-history button { display:grid; place-items:center; border:0; border-radius:5px; background:transparent; color:var(--ink); width:27px; height:27px; cursor:pointer; }
.explorer-history button:hover:not(:disabled) { background:var(--field); }
.explorer-history button:disabled { opacity:.25; cursor:default; }
.explorer-history svg { width:16px; height:16px; }
.explorer-path { display:flex; align-items:center; gap:12px; color:var(--muted); font-size:11px; }
.explorer-path h1 { font-size:12px; font-weight:600; color:var(--ink); margin:0; }
.explorer-content { position:relative; flex:1; min-height:0; }
.folder-view { display:block; width:100%; height:100%; border:0; background:var(--bg); }
.folder-view[hidden] { display:none; }
.explorer-status { flex:none; display:flex; justify-content:space-between; gap:12px; padding:8px 22px; font-size:9px; color:var(--muted); border-top:1px solid var(--line); }
@media(max-width:680px) { .explorer { grid-template-columns:140px minmax(0,1fr); } .explorer-sidebar { padding:20px 9px; } .explorer-home { font-size:10px; } .explorer-avatar { width:25px; height:25px; border-radius:8px; } .explorer-home small { font-size:9px; } .explorer-toolbar { padding:9px 14px; gap:10px; } }
@media(max-width:480px) { .explorer { grid-template-columns:1fr; grid-template-rows:auto minmax(0,1fr); } .explorer-sidebar { padding:7px 12px; border-right:0; border-bottom:1px solid var(--line); } .explorer-home,.explorer-label,.explorer-hint { display:none; } .explorer-sidebar nav { display:flex; gap:6px; } .explorer-sidebar nav a { flex:1; justify-content:center; padding:9px 7px; font-size:11px; gap:7px; } .explorer-sidebar nav svg { width:15px; height:15px; } .explorer-status { padding:8px 14px; } }
