@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root { --bg:#eef1ed; --panel:#fbfcf8; --ink:#17211b; --muted:#718078; --line:#d8dfd8; --accent:#d7f36b; --accent-ink:#243000; --shadow:0 18px 50px rgba(25,45,30,.08); }
:root[data-theme="dark"] { --bg:#17211b; --panel:#202d24; --ink:#eef5e9; --muted:#a3b2a5; --line:#35463a; --accent:#d7f36b; --accent-ink:#243000; --shadow:0 18px 50px rgba(0,0,0,.2); }
* { box-sizing:border-box; } body { margin:0; background:var(--bg); color:var(--ink); font:15px 'Space Grotesk', sans-serif; } button,input { font:inherit; } button { cursor:pointer; }
.shell { max-width:1220px; margin:auto; padding:52px 28px 70px; } .topbar,.detail-header,.panel-heading,.toolbar,.auth-panel,.actions,.stats { display:flex; align-items:center; justify-content:space-between; gap:20px; } .kicker,.section-label { color:var(--muted); font:500 11px 'DM Mono', monospace; letter-spacing:1.5px; margin:0 0 10px; } h1,h2,h3,p { margin-top:0; } h1 { font-size:clamp(36px,6vw,68px); letter-spacing:-2px; margin-bottom:8px; } h2 { font-size:21px; margin-bottom:8px; } h3 { font-size:15px; } .lede,.muted { color:var(--muted); } .panel { background:var(--panel); border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); } .auth-panel { margin:38px 0 22px; padding:22px 24px; } .auth-controls { display:flex; gap:10px; } input { background:transparent; color:var(--ink); border:1px solid var(--line); border-radius:8px; padding:12px 14px; min-width:260px; outline:none; } input:focus { border-color:#8da35c; } button,.link-button { border:1px solid var(--line); background:transparent; color:var(--ink); border-radius:8px; padding:11px 15px; text-decoration:none; } button:hover,.link-button:hover { border-color:#8da35c; } .primary { background:var(--accent); color:var(--accent-ink); border-color:var(--accent); font-weight:600; } .quiet { background:var(--panel); } .icon-button { border:0; font-size:24px; padding:4px 10px; } .toolbar { margin:26px 0 14px; } .search { display:flex; align-items:center; gap:8px; border:1px solid var(--line); border-radius:8px; padding-left:12px; background:var(--panel); } .search input { border:0; min-width:280px; } .layout { display:grid; grid-template-columns:340px 1fr; gap:18px; } .repo-panel,.detail-panel { padding:22px; min-height:520px; } .count { font:14px 'DM Mono'; color:var(--muted); } .repo-list { margin:18px -10px 0; } .repo-item { width:100%; border:0; border-left:3px solid transparent; border-radius:0; display:flex; text-align:left; gap:12px; padding:14px 10px; background:transparent; } .repo-item.active { background:rgba(215,243,107,.12); border-left-color:var(--accent); } .repo-item small { display:block; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:240px; margin-top:5px; } .repo-icon { color:#8da35c; font-size:20px; } .empty { display:grid; place-content:center; text-align:center; height:470px; } .empty-mark { margin:auto auto 18px; border:1px solid var(--line); padding:12px; border-radius:50%; font:12px 'DM Mono'; } .detail-panel { padding:30px; } .detail-header { align-items:flex-start; } .detail-header h2 { font-size:28px; } .stats { justify-content:flex-start; border-block:1px solid var(--line); margin:28px 0; padding:18px 0; } .stats div { min-width:140px; } .stats span { display:block; color:var(--muted); font-size:12px; margin-bottom:5px; } .stats strong { font:500 14px 'DM Mono'; } .actions { justify-content:flex-start; flex-wrap:wrap; } .result { margin-top:26px; border-top:1px solid var(--line); padding-top:22px; } .result-row { display:flex; justify-content:space-between; border-bottom:1px solid var(--line); padding:13px 0; } .badge { color:#64803b; font:12px 'DM Mono'; } .notice { position:fixed; right:24px; bottom:24px; background:var(--ink); color:var(--panel); padding:13px 17px; border-radius:8px; transform:translateY(20px); opacity:0; pointer-events:none; transition:.2s; } .notice.visible,.notice.error { opacity:1; transform:none; } .notice.error { background:#a23d32; color:white; }
@media (max-width:760px) { .shell { padding:30px 16px; } .auth-panel,.auth-controls,.topbar { align-items:stretch; flex-direction:column; } .auth-controls input { min-width:0; width:100%; } .layout { grid-template-columns:1fr; } .repo-panel { min-height:auto; } .detail-panel { min-height:460px; padding:22px; } .stats { flex-wrap:wrap; } .search { width:100%; } .search input { min-width:0; width:100%; } .toolbar { align-items:stretch; flex-direction:column; } .detail-header { flex-direction:column; } }


/* Compact desktop & Windows 125%-150% scaling (1280x600 - 1536x750) */
@media (min-width: 761px) and (max-width: 1440px), (min-width: 761px) and (max-height: 820px) {
  .shell { padding: 20px 16px 32px; }
  .layout { grid-template-columns: clamp(240px, 25vw, 320px) 1fr; }
  .repo-panel, .detail-panel { padding: 18px; min-height: 380px; }
  h1 { font-size: clamp(28px, 4vw, 44px); }
}
