:root {
  --bg: #0b0f19; --surface: #111722; --surface-2: #161d2b; --surface-3: #1c2637; --line: rgba(255,255,255,.09);
  --text: #f4f7fb; --muted: #8793a8; --dim: #5d6a7e; --lime: #c4f56d; --lime-soft: rgba(196,245,109,.12); --violet: #a896ff;
  --danger: #ff8a92; --shadow: 0 24px 80px rgba(0,0,0,.24); --ease: cubic-bezier(.23,1,.32,1);
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; --mono: 'DM Mono', monospace;
}
[data-theme="light"] { --bg:#f5f7fb; --surface:#fff; --surface-2:#f0f3f8; --surface-3:#e8edf5; --line:rgba(12,20,35,.1); --text:#111827; --muted:#68748a; --dim:#8f9aae; --lime:#76a51d; --lime-soft:rgba(118,165,29,.12); --violet:#755ee6; --shadow:0 24px 60px rgba(25,38,65,.12); }
* { box-sizing:border-box; margin:0; padding:0; }
html { min-width:320px; scroll-behavior:smooth; }
body { min-height:100vh; background:var(--bg); color:var(--text); font-family:var(--sans); line-height:1.5; overflow-x:hidden; transition:background .25s ease,color .25s ease; }
button,input,select { font:inherit; }
button,a { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
a { color:inherit; text-decoration:none; }
.ambient { position:fixed; border-radius:50%; filter:blur(80px); opacity:.13; pointer-events:none; z-index:-1; }
.ambient-one { width:420px; height:420px; right:-180px; top:-180px; background:var(--violet); }.ambient-two { width:340px; height:340px; left:-220px; bottom:2%; background:var(--lime); }
.app-shell { width:min(1340px,100%); margin:auto; padding:0 44px; }
.topbar { height:88px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid var(--line); }
.brand { display:flex; align-items:center; gap:10px; font-size:20px; font-weight:800; letter-spacing:-.06em; }.brand-dot { color:var(--lime); }.brand-mark { width:26px; height:26px; display:flex; gap:3px; align-items:end; padding:5px; border:1px solid var(--line); border-radius:8px; background:var(--surface-2); }.brand-mark span { flex:1; border-radius:2px 2px 1px 1px; background:var(--lime); }.brand-mark span:nth-child(1){height:45%;opacity:.6}.brand-mark span:nth-child(2){height:75%;opacity:.82}.brand-mark span:nth-child(3){height:100%}
.topbar-actions,.repo-actions { display:flex; gap:10px; align-items:center; }.status-chip { color:var(--muted); font-size:11px; letter-spacing:.05em; display:flex; align-items:center; gap:8px; }.status-chip i { width:6px;height:6px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 4px var(--lime-soft); }
.icon-button { width:36px;height:36px;border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:10px;display:grid;place-items:center;transition:.18s var(--ease); }.icon-button:hover,.ghost-button:hover { border-color:var(--lime); color:var(--text); transform:translateY(-1px); }.icon-button svg,.search-icon svg,.search-submit svg { width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
.hero-section { max-width:760px; padding:82px 0 68px; }.eyebrow { display:flex; align-items:center; gap:10px; color:var(--lime); font:500 10px var(--mono); letter-spacing:.13em; }.eyebrow-line { width:24px;height:1px;background:var(--lime); }.eyebrow.small { font-size:9px; letter-spacing:.14em; }.hero-section h1 { margin-top:20px; font-size:clamp(46px,6vw,76px); letter-spacing:-.075em; line-height:.99; font-weight:800; }.hero-section h1 em { color:var(--lime); font-style:normal; }.hero-copy { max-width:540px; color:var(--muted); margin:25px 0 34px; font-size:16px; line-height:1.75; }
.search-bar { width:min(720px,100%); height:62px; display:flex; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:15px; padding-left:20px; box-shadow:var(--shadow); transition:.2s var(--ease); }.search-bar:focus-within { border-color:var(--lime); box-shadow:0 0 0 4px var(--lime-soft),var(--shadow); }.search-icon { display:grid; color:var(--muted); }.search-bar input { min-width:0; flex:1; border:0; outline:0; padding:0 15px; background:none; color:var(--text); font-size:15px; }.search-bar input::placeholder { color:var(--dim); }.search-submit { height:46px; margin-right:8px; padding:0 17px; display:flex; align-items:center; gap:10px; border:0; border-radius:10px; background:var(--lime); color:#192008; font-weight:800; font-size:12px; transition:.18s var(--ease); }.search-submit:hover { filter:brightness(1.08); transform:translateY(-1px); }.search-submit:active,.wide-button:active,.icon-button:active { transform:scale(.97); }.search-submit svg { width:15px; }.search-meta { display:flex; gap:10px; align-items:center; color:var(--dim); font:11px var(--mono); margin-top:14px; }.example-link { border:0;background:none;color:var(--muted);text-decoration:underline;text-underline-offset:3px; }.example-link:hover { color:var(--lime); }.meta-separator { color:var(--dim); }
.workspace-grid { display:grid; grid-template-columns:220px 1fr; gap:28px; align-items:start; padding-bottom:80px; }.sidebar-card { padding:7px 0; position:sticky; top:20px; }.side-heading { display:flex; justify-content:space-between; align-items:center; color:var(--muted); font-size:11px; font-weight:700; letter-spacing:.04em; }.text-button { border:0;background:none;color:var(--dim);font-size:11px; }.text-button:hover { color:var(--lime); }.history-list { margin-top:12px; display:flex; flex-direction:column; gap:3px; }.history-item { border:0;background:none;display:flex;align-items:center;gap:9px;width:100%;padding:9px 7px;text-align:left;color:var(--muted);border-radius:8px;font-size:12px;transition:.15s; }.history-item:hover { background:var(--surface);color:var(--text); }.history-item .history-dot { width:5px;height:5px;border-radius:50%;background:var(--dim);flex:none; }.history-item strong { font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }.history-item small { margin-left:auto;color:var(--dim);font:9px var(--mono); }.empty-side { padding:11px 7px;color:var(--dim);font-size:11px;line-height:1.7; }.side-divider { height:1px;background:var(--line);margin:27px 0 20px; }.count-pill { background:var(--surface-2);color:var(--muted);font:10px var(--mono);padding:2px 6px;border-radius:5px; }.sidebar-footer { display:flex;gap:8px;align-items:center;margin-top:34px;color:var(--dim);font-size:10px;line-height:1.4; }.pulse-ring { width:7px;height:7px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 4px var(--lime-soft);flex:none; }
.content-column { min-width:0; }.welcome-card,.insight-card,.quick-card,.metric-card,.state-card,.error-card { background:var(--surface); border:1px solid var(--line); border-radius:16px; }.welcome-card { min-height:272px; padding:32px; display:grid;grid-template-columns:180px 1fr 150px;align-items:center;gap:30px;overflow:hidden;position:relative; }.welcome-card:after { content:'';position:absolute;width:280px;height:280px;border-radius:50%;border:1px solid var(--line);right:-105px;top:-120px; }.welcome-card h2 { font-size:24px;letter-spacing:-.05em;margin:13px 0 9px; }.welcome-card p { color:var(--muted);font-size:13px;max-width:400px;line-height:1.7; }.welcome-note { border-left:1px solid var(--line);padding-left:20px;z-index:1; }.welcome-note span { display:block;color:var(--lime);font:10px var(--mono);margin-bottom:18px; }.welcome-note strong { display:block;font-size:12px;margin-bottom:4px; }.welcome-note small { color:var(--muted);font-size:10px;line-height:1.4;display:block; }.welcome-visual { width:150px;height:150px;position:relative;display:grid;place-items:center; }.orbit { position:absolute;border:1px solid var(--line);border-radius:50%;transform:rotate(-25deg); }.orbit-a{width:140px;height:70px}.orbit-b{width:110px;height:140px;transform:rotate(35deg)}.orbit-core{width:55px;height:55px;border-radius:18px;background:var(--lime);color:#18210a;display:grid;place-items:center;font-size:24px;font-weight:800;z-index:1;box-shadow:0 0 35px rgba(196,245,109,.22)}.orbit-dot{width:7px;height:7px;background:var(--violet);border-radius:50%;position:absolute}.dot-a{top:19px;right:22px}.dot-b{bottom:19px;left:22px;background:var(--lime)}.dot-c{top:42px;left:8px;background:var(--text)}
.hidden { display:none!important; }.state-card,.error-card { padding:24px;display:flex;gap:15px;align-items:center;margin-bottom:18px; }.state-card strong,.error-card strong { display:block;font-size:13px; }.state-card span,.error-card span { color:var(--muted);font-size:11px;display:block;margin-top:3px; }.spinner { width:25px;height:25px;border:2px solid var(--line);border-top-color:var(--lime);border-radius:50%;animation:spin .8s linear infinite; }.error-card { border-color:rgba(255,138,146,.24); }.error-icon { width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:rgba(255,138,146,.12);color:var(--danger);font-weight:800; }.error-card .text-button { margin-left:auto;color:var(--danger); }
.repo-header { display:flex;justify-content:space-between;align-items:center;margin:0 0 22px;gap:20px; }

.repo-identity { display:flex;align-items:center;gap:14px;min-width:0; }.repo-avatar { width:43px;height:43px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,var(--lime),#718e34);color:#1d260e;font-weight:800;font-size:13px; }.repo-path { color:var(--lime);font:10px var(--mono);margin-bottom:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }.repo-identity h2 { font-size:21px;letter-spacing:-.05em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }.repo-identity span:last-child { display:block;color:var(--muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:450px; }.ghost-button { height:34px;padding:0 11px;background:var(--surface);color:var(--muted);border:1px solid var(--line);border-radius:8px;font-size:10px;transition:.15s var(--ease);white-space:nowrap; }.favorite-button span { color:var(--lime);font-size:16px;vertical-align:-1px;margin-right:3px; }.favorite-button.is-saved { color:var(--lime);border-color:var(--lime); }
.stats-grid { display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:12px;margin-bottom:16px; }.metric-card { min-height:163px;padding:19px;position:relative;overflow:hidden; }.metric-primary { background:linear-gradient(145deg,rgba(196,245,109,.13),var(--surface) 65%);border-color:rgba(196,245,109,.22); }.metric-top { display:flex;justify-content:space-between;color:var(--muted);font-size:10px;letter-spacing:.02em; }.metric-icon { color:var(--lime);font-size:16px; }.mini-icon { color:var(--dim);font:13px var(--mono); }.metric-card strong { display:block;font-size:28px;letter-spacing:-.07em;margin-top:17px;line-height:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }.metric-card small { color:var(--dim);font-size:10px;display:block;margin-top:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }.metric-rule { height:2px;background:var(--line);position:absolute;bottom:0;left:19px;right:19px; }.metric-rule.accent { background:linear-gradient(90deg,var(--violet),transparent); }.sparkline { position:absolute;bottom:0;right:18px;display:flex;align-items:end;gap:3px;height:42px;opacity:.75; }.sparkline i { width:3px;border-radius:3px 3px 0 0;background:var(--lime);height:20%; }.sparkline i:nth-child(2){height:38%}.sparkline i:nth-child(3){height:31%}.sparkline i:nth-child(4){height:56%}.sparkline i:nth-child(5){height:44%}.sparkline i:nth-child(6){height:70%}.sparkline i:nth-child(7){height:53%}.sparkline i:nth-child(8){height:82%}.sparkline i:nth-child(9){height:68%}.sparkline i:nth-child(10){height:100%}
.insight-row { display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px; }.insight-card,.quick-card { padding:21px; }.section-heading { display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:20px; }.section-heading h3 { font-size:16px;letter-spacing:-.04em;margin-top:5px; }.section-heading select { background:var(--surface-2);border:1px solid var(--line);color:var(--muted);border-radius:7px;font-size:10px;padding:7px 9px;outline:0; }.releases-list { display:flex;flex-direction:column;gap:8px; }.release-item { display:grid;grid-template-columns:1fr auto;gap:15px;padding:14px 0;border-top:1px solid var(--line); }.release-main { min-width:0; }.release-title { display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700; }.release-title span { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }.release-title i { color:var(--lime);font:9px var(--mono);font-style:normal;background:var(--lime-soft);padding:2px 5px;border-radius:4px; }.release-date { color:var(--dim);font:9px var(--mono);margin-top:5px; }.release-total { color:var(--text);font:500 12px var(--mono);text-align:right;white-space:nowrap; }.release-total small { display:block;color:var(--dim);font:9px var(--sans);margin-top:3px; }.asset-bar { height:4px;background:var(--surface-3);border-radius:10px;margin-top:11px;overflow:hidden; }.asset-bar span { display:block;height:100%;background:linear-gradient(90deg,var(--lime),var(--violet));border-radius:10px; }.asset-list { margin-top:9px;display:flex;flex-direction:column;gap:5px; }.asset-line { display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:10px; }.asset-line span:first-child { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }.asset-line span:last-child { color:var(--text);font-family:var(--mono); }.quick-card { display:flex;flex-direction:column; }.phone-icon { color:var(--lime);font-size:23px;line-height:1; }.quick-card p { color:var(--muted);font-size:12px;line-height:1.75;margin:12px 0 22px; }.wide-button { width:100%;border:0;background:var(--lime);color:#192008;border-radius:8px;padding:11px;font-size:11px;font-weight:800;display:flex;justify-content:space-between;align-items:center;transition:.18s var(--ease); }.wide-button:hover { filter:brightness(1.07); }.privacy-note { color:var(--dim);font-size:9px;margin-top:auto;padding-top:19px;border-top:1px solid var(--line); }.privacy-note span { color:var(--lime);margin-right:5px; }.results-footer { display:flex;justify-content:space-between;color:var(--dim);font:9px var(--mono);padding:15px 2px; }.toast { position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:var(--text);color:var(--bg);padding:11px 16px;border-radius:8px;font-size:11px;opacity:0;pointer-events:none;transition:.25s var(--ease);z-index:10; }.toast.show { opacity:1;transform:translate(-50%,0); }.app-footer { display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:23px 0 30px;color:var(--dim);font-size:10px; }.app-footer span:first-child { color:var(--text);font-weight:800;letter-spacing:-.04em; }
@keyframes spin { to{transform:rotate(360deg)} } @media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media (max-width:1050px){.app-shell{padding:0 26px}.welcome-card{grid-template-columns:130px 1fr}.welcome-note{display:none}.stats-grid{grid-template-columns:repeat(2,1fr)}.insight-row{grid-template-columns:1fr 230px}}
@media (max-width:720px){.topbar{height:72px}.status-chip{display:none}.hero-section{padding:55px 0 42px}.hero-section h1{font-size:52px}.workspace-grid{grid-template-columns:1fr;gap:17px}.sidebar-card{position:static;order:2;display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.side-divider{display:none}.sidebar-footer{grid-column:1/-1;margin-top:20px}.content-column{order:1}.welcome-card{padding:25px;grid-template-columns:1fr;min-height:0;}.welcome-visual{display:none}.insight-row{grid-template-columns:1fr}.repo-header{align-items:flex-start;flex-direction:column}.repo-actions{width:100%}.repo-actions .ghost-button:first-child{flex:1}.app-footer{gap:14px;flex-wrap:wrap}.app-footer span:last-child{margin-left:auto}}
@media (max-width:480px){.app-shell{padding:0 17px}.hero-section h1{font-size:45px}.hero-copy{font-size:14px}.search-bar{height:56px;padding-left:15px}.search-submit{padding:0 12px}.search-submit span{display:none}.search-meta{font-size:9px}.stats-grid{grid-template-columns:1fr 1fr;gap:8px}.metric-card{min-height:142px;padding:15px}.metric-card strong{font-size:22px;margin-top:14px}.metric-card small{font-size:9px}.metric-primary{grid-column:1/-1}.insight-card,.quick-card{padding:17px}.section-heading{align-items:flex-start}.section-heading select{max-width:110px}.results-footer{font-size:8px;gap:10px}.results-footer span:last-child{text-align:right}.sidebar-card{grid-template-columns:1fr}.side-divider{display:block;margin:19px 0}.hero-section{padding-top:42px}}
/* Correção de estouro no Header do Repositório */
.repo-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  width: 100%; /* Garante que o container respeite o limite do elemento pai */
}

.repo-identity > div {
  min-width: 0;
  flex: 1; /* Força o bloco de texto a encolher e se ajustar à tela */
}

.repo-path {
  color: var(--lime);
  font: 10px var(--mono);
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.repo-identity h2 {
  font-size: 21px;
  letter-spacing: -.05em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Permite que descrições longas quebrem linha sem vazar na tela */
.repo-identity span:last-child {
  display: block;
  color: var(--muted);
  font-size: 11px;
  max-width: 100%;
  white-space: normal; /* Permite a quebra de texto em múltiplas linhas */
  word-break: break-word; /* Quebra palavras muito longas para evitar rolar para o lado */
}
