* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --mv-grad: linear-gradient(135deg, #FF8A1E 0%, #F5331E 100%);
  --mv-orange: #FF8A1E;
  --mv-orange-soft: #FFB37A;
  --mv-cream: #F8F5F0;
  --mv-tan: #B8AFA4;
}
body {
  background: #15110F;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--mv-cream);
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
.shell { max-width: 1100px; margin: 0 auto; padding: 0 20px 48px; }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; border-bottom: 1px solid #2E2620; margin-bottom: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px; background: var(--mv-grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: #FFFDF9;
}
.brand-name { font-size: 15px; font-weight: 600; }
.brand-sub { font-size: 11px; color: var(--mv-tan); }
.topbar-meta { font-size: 12px; color: var(--mv-tan); display: flex; align-items: center; gap: 14px; }
.nav-link { font-size: 13px; color: var(--mv-tan); padding: 6px 12px; border-radius: 8px; }
.nav-link:hover { background: #241D19; color: var(--mv-cream); }

.section-label {
  font-size: 12px; font-weight: 600; color: var(--mv-tan);
  letter-spacing: 0.06em; text-transform: uppercase; margin: 26px 0 12px;
}
h1.page-title { font-size: 21px; font-weight: 600; margin: 4px 0 2px; }
.page-sub { font-size: 13px; color: #9BA0AB; }

.grid { display: grid; gap: 12px; }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.tool-card {
  background: #241D19; border: 1px solid #3A2D24; border-radius: 12px;
  padding: 18px; display: block; transition: border-color 0.15s;
}
.tool-card:hover { border-color: var(--mv-orange); }
.tool-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.tool-title { font-size: 14px; font-weight: 600; }
.tool-desc { font-size: 12px; color: var(--mv-tan); line-height: 1.55; margin-top: 4px; }
.tool-foot { font-size: 11px; color: #8A8076; margin-top: 12px; }
.pill { font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: 9px; white-space: nowrap; }
.pill-teal { background: #142420; color: #5DCAA5; }
.empty { grid-column: 1 / -1; background: #241D19; border: 1px dashed #3A2D24; border-radius: 12px; padding: 22px; font-size: 13px; color: var(--mv-tan); text-align: center; }

/* Auth */
.auth-card {
  max-width: 380px; margin: 64px auto 0; background: #1D1714;
  border: 1px solid #2E2620; border-radius: 16px; padding: 28px 26px;
}
.auth-title { font-size: 20px; font-weight: 600; }
.auth-sub { font-size: 13px; color: var(--mv-tan); margin: 4px 0 22px; }
.btn-google {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px;
  background: #F8F5F0; color: #15110F; border: 0; border-radius: 10px;
  padding: 11px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.btn-google:hover { background: #fff; }
.btn-google .ti { font-size: 18px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #6F665E; font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: #2E2620; }
.auth-form { display: flex; flex-direction: column; gap: 10px; }
.auth-form input {
  background: #15110F; border: 1px solid #3A2D24; border-radius: 10px;
  padding: 11px 13px; color: var(--mv-cream); font-size: 14px;
}
.auth-form input:focus { outline: none; border-color: var(--mv-orange); }
.btn-primary {
  background: var(--mv-grad); color: #FFFDF9; border: 0; border-radius: 10px;
  padding: 11px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.btn-primary:disabled { opacity: 0.6; cursor: default; }
.auth-msg { font-size: 12px; margin-top: 10px; min-height: 16px; }
.auth-msg.ok { color: #5DCAA5; }
.auth-msg.err { color: #F09595; }
.auth-foot { font-size: 11px; color: #6F665E; margin-top: 18px; line-height: 1.5; }

.hide-sm { }
@media (max-width: 640px) { .hide-sm { display: none; } }
