/* The builder's own pages (sign-in, your sites), on top of site.css. */
.narrow-page { max-width: 520px; padding-top: 40px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; }
.narrow-page h1 { font-size: 40px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.app-main { padding-top: 24px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 24px; }
.app-main h1 { font-size: 36px; }
.top form { margin: 0; }
/* Phones: the logo and a small Sign out on one row, the menu on its own row under them. */
@media (max-width: 640px) {
  .top { gap: 10px 16px; padding: 12px 0; }
  .top nav { order: 3; flex-basis: 100%; gap: 22px; }
  .top form { margin-left: auto; }
  .top form .btn { min-height: 38px; padding: 6px 12px; font-size: 14px; }
  .top-email { display: none; }
}
.site-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.site-card { background: var(--raised); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.site-card__thumb { height: 120px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; }
.site-card__thumb i { display: block; height: 8px; width: 70%; border-radius: 4px; }
.site-card__thumb i:first-child { height: 13px; width: 48%; }
.site-card__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.site-card__row { display: flex; align-items: center; gap: 8px; }
.site-card__row b { flex: 1; font-size: 18px; }
.site-card__actions { display: flex; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; }
.site-card__actions .btn { min-height: 40px; padding: 8px 14px; }

/* Send feedback (public/assets/feedback.js): a button on every page, a form in a dialog. */
.fb-open { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--raised); color: var(--ink); font: inherit; font-weight: 650; box-shadow: var(--shadow); cursor: pointer; }
.fb-open:hover { border-color: var(--ink-2); }
.fb-open:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (max-width: 640px) { .fb-open { padding: 10px 12px; right: 12px; bottom: 12px; } .fb-open__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media print { .fb { display: none; } }
.fb-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--raised); color: var(--ink); box-shadow: var(--shadow); }
.fb-dialog::backdrop { background: rgba(10, 11, 14, 0.45); }
.fb-form { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.fb-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fb-head h2 { font-size: 24px; margin: 0; }
.fb-x { border: 0; background: none; color: var(--muted); font-size: 28px; line-height: 1; width: 44px; height: 44px; cursor: pointer; border-radius: 10px; }
.fb-x:hover { background: var(--sunk); color: var(--ink); }
.fb-small { font-size: 14px; margin: 0; }
.fb-kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.fb-kind { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; }
.fb-kind input { margin: 0; accent-color: var(--ink); }
.fb-kind:has(input:checked) { background: var(--sun-soft); color: var(--sun-soft-ink); border-color: var(--sun); }
.fb-form textarea { resize: vertical; min-height: 110px; width: 100%; }
.fb-shot { display: flex; gap: 12px; align-items: center; }
.fb-shot img { width: 120px; max-height: 80px; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 8px; }
.fb-link { border: 0; background: none; padding: 0; color: var(--blue); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.fb-files input[type="file"] { font: inherit; font-size: 14px; max-width: 100%; }
.fb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.fb-foot { display: flex; justify-content: flex-end; gap: 10px; }
.fb-thanks { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60; background: var(--dark); color: var(--dark-ink); padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow); font-weight: 600; max-width: calc(100vw - 32px); }
.fb-thanks a { color: inherit; }
