/* Site Builder Builder — Google Search Console
   The page is the daylight-glass system from app.css: glass rows, the same
   pills and press contract. The one exception is .gsc-btn — the header button
   and the Connect button wear Google's own look (white, Google grey text, the
   Search Console mark in Google blue) so they read as Google at a glance. */

.btn.gsc-btn {
  background: #FFFFFF; color: #3C4043; border-color: #DADCE0;
  font-weight: 600; text-decoration: none;
}
.btn.gsc-btn img { width: 16px; height: 16px; flex-shrink: 0; }
.btn.gsc-btn:hover { background: #F8FAFF; border-color: #458CF5; color: #1F1F1F; box-shadow: 0 6px 18px rgba(26, 26, 26, .12), 0 2px 18px rgba(69, 140, 245, .22); }
.btn.gsc-btn:disabled:hover { background: #FFFFFF; border-color: #DADCE0; }

.gsc-main { padding: 38px 28px 90px; max-width: 1100px; width: 100%; margin: 0 auto; }
.gsc-main .sub { margin-bottom: 20px; max-width: 64ch; }
.gsc-title { display: flex; align-items: center; gap: 12px; }
.gsc-title img { width: 30px; height: 30px; }

.gsc-note { font-size: 12.5px; color: var(--muted); margin: 0; }
.gsc-note.err { color: var(--danger-ink); }

.gsc-account {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 16px; margin-bottom: 16px;
  background: var(--glass); border: 1px solid var(--line); border-radius: 14px;
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow-rest), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.gsc-account > span { flex: 1; min-width: 220px; font-size: 13.5px; }
.gsc-account > img { width: 18px; height: 18px; }

.gsc-sites { display: flex; flex-direction: column; gap: 10px; }
.gsc-site {
  background: var(--glass); border: 1px solid var(--line); border-radius: 18px;
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow-rest), inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.gsc-site.open { border-color: rgba(123, 30, 46, .32); box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(255, 255, 255, .85); }
.gsc-site.archived .gsc-name b { color: var(--muted); }

.gsc-row {
  display: grid; grid-template-columns: minmax(0, 1.6fr) auto minmax(0, 1fr) auto;
  align-items: center; gap: 14px; padding: 14px 18px;
}
.gsc-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; min-width: 0; }
.gsc-name b { font-size: 15px; }
.gsc-name a { flex-basis: 100%; font: 12px var(--mono); color: var(--muted); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gsc-name a:hover { color: var(--accent); }
.gsc-figs { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); }
.gsc-fig b { color: var(--ink); font-variant-numeric: tabular-nums; font-size: 14px; }
.gsc-fig.muted { opacity: .6; }
.gsc-act { display: flex; justify-content: flex-end; }
.gsc-busy { font-size: 12.5px; color: var(--accent-deep); white-space: nowrap; }
.gsc-busy::before {
  content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 7px; vertical-align: -1px;
  border: 2px solid var(--accent-soft); border-top-color: var(--accent); border-radius: 50%;
  animation: gsc-spin .8s linear infinite;
}
@keyframes gsc-spin { to { transform: rotate(360deg); } }

.gsc-pill {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
  background: rgba(255, 255, 255, .55); color: var(--muted); border: 1px solid var(--line-soft);
}
.gsc-pill.ok { color: var(--ok); background: rgba(14, 138, 95, .08); border-color: rgba(14, 138, 95, .25); }
.gsc-pill.warn { color: var(--warn); background: rgba(154, 106, 18, .08); border-color: rgba(154, 106, 18, .28); }
.gsc-pill.err { color: var(--danger-ink); background: var(--danger-bg); border-color: var(--danger-line); }

/* Private / Password on Netlify — the row's pill opens the visibility setting. */
.gsc-status { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.gsc-pill.gsc-lock { gap: 6px; text-decoration: none; }
a.gsc-pill.gsc-lock:hover { border-color: var(--warn); }
.gsc-pill.gsc-lock img { width: 13px; height: 11px; display: block; flex-shrink: 0; }
.gsc-private-head { display: flex; gap: 10px; align-items: flex-start; }
.gsc-private-head img { width: 20px; height: 17px; flex-shrink: 0; margin-top: 1px; }
.gsc-ask .btn.gsc-nf { gap: 7px; text-decoration: none; }
.gsc-ask .btn.gsc-nf img { width: 15px; height: 13px; display: block; flex-shrink: 0; }

.gsc-ask {
  margin: 0 18px 14px; padding: 12px 14px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(123, 30, 46, .1), rgba(123, 30, 46, .03)); border: 1px solid rgba(123, 30, 46, .25);
  animation: gsc-in .3s var(--ease-out) both;
}
.gsc-ask p { margin: 0 0 10px; font-size: 13px; }
.gsc-ask-actions { display: flex; justify-content: flex-end; gap: 8px; }

.gsc-detail {
  border-top: 1px solid var(--line-soft); padding: 4px 18px 16px;
  animation: gsc-in .3s var(--ease-out) both;
}
@keyframes gsc-in { from { opacity: 0; transform: translateY(-4px); } }
.gsc-detail section { padding: 14px 0 6px; }
.gsc-detail h3 { font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; margin: 0 0 10px; display: flex; gap: 8px; align-items: baseline; }
.gsc-detail h3 .gsc-note { text-transform: none; letter-spacing: 0; font-weight: 400; }

.gsc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.gsc-stat {
  display: flex; flex-direction: column; gap: 3px; padding: 12px 15px 10px;
  background: var(--glass-2); border: 1px solid var(--line); border-radius: 14px;
}
.gsc-stat .lab { font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.gsc-stat b { font: 800 22px/1.15 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.gsc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gsc-table { width: 100%; border-collapse: collapse; font-size: 12.5px; table-layout: fixed; }
.gsc-table th { text-align: right; font-size: 11px; font-weight: 700; color: var(--muted); padding: 4px 6px; border-bottom: 1px solid var(--line); width: 58px; }
.gsc-table th:first-child { text-align: left; width: auto; }
.gsc-table td { text-align: right; padding: 5px 6px; border-bottom: 1px solid var(--line-soft); font-variant-numeric: tabular-nums; }
.gsc-table td:first-child { text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.gsc-maps { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gsc-maps li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.gsc-map-path { font-family: var(--mono); font-size: 12px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gsc-maps li .btn { margin-left: auto; }

.gsc-inline { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; }
.gsc-inline input {
  flex: 1; min-width: 0; padding: 7px 12px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .75); font: 12.5px var(--mono); color: var(--ink);
}
.gsc-inline input:focus { outline: none; border-color: rgba(123, 30, 46, .45); box-shadow: 0 0 0 3px var(--accent-soft); }
.gsc-prefix { font: 12px var(--mono); color: var(--muted); white-space: nowrap; max-width: 40%; overflow: hidden; text-overflow: ellipsis; }

.gsc-verdict { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 8px; font-size: 12.5px; }
.gsc-verdict a { color: var(--accent); }
.gsc-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0; font-size: 12.5px; }
.gsc-facts dt { color: var(--muted); }
.gsc-facts dd { margin: 0; overflow-wrap: anywhere; }

.gsc-detail-foot { display: flex; gap: 8px; align-items: center; padding-top: 10px; }
.gsc-detail-foot .btn img { width: 14px; height: 14px; }
.gsc-detail-foot .btn.danger { margin-left: auto; }

@media (max-width: 760px) {
  .gsc-main { padding-left: 16px; padding-right: 16px; }
  .gsc-row { grid-template-columns: minmax(0, 1fr) auto; }
  .gsc-figs { grid-column: 1; order: 3; }
  .gsc-act { order: 4; }
  .gsc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gsc-cols { grid-template-columns: 1fr; }
  .gsc-prefix { display: none; }
}
@media (max-width: 640px) {
  /* the header's labels give way at phone width; the Google mark stays */
  #gsc-btn .hl { display: none; }
  #gsc-btn { padding: 7px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .gsc-ask, .gsc-detail { animation: none; }
}
